* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* 전체 헤더 */
.header {
  border-bottom: 1px solid #eee;
  padding: 20px 40px;
  background-color: #f2f2f2;
}

/* 상단 정렬 */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 로고 */
.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ff385c;
}

/* 카테고리 */
.category {
  display: flex;
  margin-top: 10px;
  gap: 32px;
  /* flex-direction: column; */
}
.cat {
  display: flex;
  align-items: center;
}

.cat.active {
  border-bottom: 2px solid #edecec;
}
.cat img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

/* 오른쪽 */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;

  display: flex;
  align-items: center;
  justify-content: center;
}
.underline {
}
/* 검색창 */
.search-bar {
  background-color: #fff;
  margin: 30px auto;
  max-width: 720px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 1px solid #ddd;
  border-radius: 40px;
  padding: 12px 20px;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.search-bar div {
  flex: 1;
  text-align: center;
  font-size: 14px;
}
.search-bar button {
  background: #ff385c;
  border: none;
  color: white;

  width: 36px;
  height: 36px;
  border-radius: 50%;

  cursor: pointer;
}

.search-bar div:not(:last-child) {
  border-right: 1px solid #eee;
}

/* 필터바 */
.filter-wrap {
  margin-top: 20px;
}

.filter-list {
  display: flex;
  gap: 30px;
  overflow-x: auto;
}

/* 전체 */
.section {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 40px;
}

/* 헤더 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 22px;
  font-weight: 600;
}

/* 화살표 버튼 */
.nav {
  display: flex;
  gap: 8px;
}

.btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

/* 카드 리스트 */
.card-list {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 카드 */
.card {
  /* min-width: 260px; */
  width: calc(100% / 6);
}

/* 이미지 */
.card-img {
  width: 100%;
  position: relative;
}

.card-img img {
  width: 100%;

  height: 120px;
  object-fit: cover;
  border-radius: 20px;
}

/* 뱃지 */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;

  background: #fff;
  padding: 5px 10px;
  border-radius: 14px;

  font-size: 12px;
  font-weight: 600;
}

/* 하트 */
.like {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* 텍스트 */
.card-info {
  margin-top: 10px;
}

.title {
  font-size: 15px;
  font-weight: 600;
}

.date {
  font-size: 13px;
  color: #717171;
  margin-top: 2px;
}

.price {
  font-size: 14px;
  margin-top: 2px;
}
.footer {
  background: #f7f7f7;
  padding: 48px 80px 20px;
  font-size: 14px;
}

/* 상단 */
.footer-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid #ddd;
}

.col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.col p {
  margin: 10px 0;
  color: #555;
  cursor: pointer;
}

.col p:hover {
  text-decoration: underline;
}

/* 하단 */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  font-size: 13px;
  color: #555;
}

.right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 언어 */
.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* 아이콘 공통 */
.icon {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.icon svg {
  width: 18px;
  height: 18px;
}

/* 언어 아이콘 */
.lang svg {
  width: 16px;
  height: 16px;
}

/* hover */
.lang:hover,
.currency:hover,
.icon:hover {
  opacity: 0.7;
}

/* 아이콘 + 텍스트 */
.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.lang svg {
  width: 16px;
  height: 16px;
}

.currency {
  cursor: pointer;
}

/* hover */
.lang:hover,
.currency:hover {
  text-decoration: underline;
}
.footer-legal {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #ddd;

  font-size: 12px;
  color: #717171;
  line-height: 1.6;

  max-width: 1494px;
}
/* 전체 */
.travel-section {
  padding: 48px 80px;
  border-bottom: 1px solid #ddd;
  background-color: #f7f7f7;
}

/* 제목 */
.travel-section h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

/* 탭 */
.tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 14px;
}

.tabs span {
  cursor: pointer;
  color: #717171;
  padding-bottom: 6px;
}

.tabs .active {
  color: #000;
  border-bottom: 2px solid #000;
}

/* 그리드 */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 40px;
}

/* 아이템 */
.city {
  font-size: 14px;
  font-weight: 600;
}

.type {
  font-size: 13px;
  color: #717171;
  margin-top: 4px;
}
