@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

.main-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
}
.box01 {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.txt {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  margin-top: 54px;
  margin-bottom: 36px;
  letter-spacing: -1.2px;
}
.sub {
  display: flex;
  height: 48px;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 54px;
}
.item {
  font-size: 18px;
  font-weight: 700;
  color: #b5b5b2;
  background: none;
  border-radius: 0;
  padding: 0;
  transition: color 0.2s;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}
.item.active {
  color: #111;
}
.contents {
  width: 100%;
  display: flex;
  justify-content: center;
}
.card-list {
  display: flex;
  justify-content: center;
  gap: 28px; /* 카드 사이 간격 */
  padding: 0;
  margin: 0 auto;
  list-style: none;
  max-width: 1400px; /* 콘텐츠 최대 너비 */
  width: 100%;
  flex-wrap: nowrap; /* 한 줄에 4개 고정 */
}

.content-card {
  width: calc((1400px - (28px * 3)) / 4); /* 4개 카드 크기 자동계산 */
  background: #fff;
  border-radius: 0; /* 각 카드 네모 모양 유지 */
  box-shadow: 0 1px 10px rgba(30, 25, 99, 0.075);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.18s;
  position: relative;
  min-width: 0;
}

.img-wrap {
  position: relative;
  width: 100%;
  /* 이미지 높이는 가로세로비율에 맞게 조절하거나 고정 */
  height: 300px; /* 이미지 높이 조절 가능 */
  background: #e3e3e3;
  overflow: hidden;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* 오버레이 (이미지 안 왼쪽 하단) */
.img-side-overlay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 8px 12px;
  position: absolute;
  left: 40px; /* 원하는 만큼 왼쪽 */
  bottom: 32px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.prod-title {
  color: #fff;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
}
.prod-price {
  color: #fff;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
  margin-top: 3px;
}

/* 아래 info */
.info {
  display: flex;
  padding: 8px 4px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.tag {
  color: #e7402d;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}
.tag.item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.coupon-icon {
  width: 22px;
  height: 22px;
  margin-right: 2px;
  vertical-align: middle;
}
.coupon-text {
  color: #f8312f;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
}
.benefit-text {
  color: #000;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
  margin-left: 1px;
}
.desc.item {
  color: #000;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}
.price-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 8px;
}
.price-column .old {
  color: #b5b2b2;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: line-through;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}
.price-column .new {
  color: #000;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  margin-top: 0;
}

/* 반응형 */
@media (max-width: 1400px) {
  .card-list {
    flex-wrap: wrap;
    gap: 24px;
  }
  .content-card,
  .img-wrap {
    width: 47vw;
    min-width: 210px;
  }
}
@media (max-width: 900px) {
  .card-list {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .content-card,
  .img-wrap {
    width: 98vw;
  }
}

@media (max-width: 1200px) {
  .card-list {
    flex-wrap: wrap;
  }
  .content-card {
    width: calc(50% - 14px); /* 2개씩 줄바꿈, gap 반영 */
  }
}
@media (max-width: 700px) {
  .content-card {
    width: 100%;
    max-width: 400px; /* 모바일서 최대폭 제한 */
  }
}

/* 두번째 섹션 */
.box02 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 150px;
  align-self: stretch;
  background: #fff;
  padding: 0 0 60px 0;
}

.box02 .txt {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  margin-top: 54px;
  margin-bottom: 36px;
  letter-spacing: -1.2px;
  width: 100%;
}

.best-list {
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
}
.best-list li {
  flex: 0 0 350px; /* 각 카드 width */
}
.best-img-box {
  position: relative;
  width: 350px;
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  background: lightgray;
  box-shadow: 0px 100px 50px 0px rgba(0, 0, 0, 0.4) inset;
  display: flex;
  align-items: flex-end;
}
.best-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.img-text {
  position: absolute;
  top: 26px; /* 이미지 상단에서부터의 여백 (원하는 만큼 조절) */
  left: 50%;
  transform: translateX(-50%);
  width: 80%; /* 글자의 폭, 필요 시 조절 */
  display: flex;
  flex-direction: column;
  align-items: center; /* 내용 가로 중앙 정렬 */
  text-align: center;
  padding: 0;
  background: none; /* 필요 시 투명, 배경 제거 */
}
.text-place {
  color: #fff;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.text-desc {
  color: #fff;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.2px;
}

/* 세번째 섹션 */

.box03 {
  width: 100%;
  max-width: 1400px;
  margin: 90px auto 70px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
}

.box03 .title {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -1.2px;
  width: 100%;
}

.box03 .sub {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 19px;
  margin-bottom: 44px;
  font-size: 18px;
}

.box03 .sub-list {
  display: flex;
  gap: 19px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.box03 .sub-list .item {
  font-size: 18px;
  font-weight: 700;
  color: #b5b5b2;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  transition: color 0.18s;
  cursor: pointer;
  text-decoration: none;
}
.box03 .sub-list .item.active,
.box03 .sub-list .item:hover {
  color: #222;
}

.box03 .content {
  width: 100%;
  display: flex;
  flex-direction: row;
  /* gap: 46px; 흰색 공간 생겨서 없앰*/
  justify-content: center;
  align-items: stretch;
}

/* --- Location 리스트 (좌측) --- */
nav.location {
  display: flex;
  flex-direction: column;
  width: 400px;
  justify-content: center;
  align-items: flex-start;
}
.location-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
}
.location-list .item {
  display: flex;
  flex-direction: column;
  width: 400px;
  align-items: flex-start;
  align-self: stretch;
  padding: 30px 10px;
  font-size: 17px;
  font-weight: 600;
  color: #000;
  border-bottom: 1px solid #bcbcbc;
  background: none;
  justify-content: center;
  transition: background 0.18s, color 0.16s;
}
.location-list .item.selected {
  border-top: 1px solid #bcbcbc;
  /* 보라(#C296FF, 80%) */
  background: #d9d9d94d 30%;
  color: #000000;
  font-weight: 700;
}

/* --- 가운데 라벤더 이미지 + 하단 안내 --- */
.left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  width: 660px;
  height: 480px;
  background: linear-gradient(to bottom, rgba(194, 150, 255, 0.8) 80%, #fff 80%);
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
}
.image-box {
  width: 100%;
  height: 450px;
  align-self: stretch;
  background: lightgray;
  position: relative;
}
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* border-top-left-radius: 18px;
  border-top-right-radius: 18px; */
}
.image-desc-box {
  display: flex;
  padding: 5px 24px 5px 0px;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  background: rgba(194, 150, 255, 0.8);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  color: #fff;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

/* --- 오른쪽 상세 프레임 --- */
.right {
  width: 640px;
  height: 480px;
  display: flex;
  padding: 0px 25px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  flex: 1 0 0;
  align-self: stretch;
  background-color: #f9f3ff;
  box-sizing: border-box;
}
.frame {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.title-main {
  color: #000;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 36px; /* 두줄일 때 이미지와 동일 */
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 0;
}
.lavender-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lavender-icon {
  width: 24px;
  height: 24px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}
.font-desc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #373737;
  font-size: 16px;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
/* 상품 row */
.item-group {
  list-style: none;
  margin: 0;
  padding: 0;
}

.item1 {
  width: 100%;
  min-width: 320px;
  max-width: 500px;
  background: #f6f4fa;
  border-radius: 10px;
  padding: 0;
  margin-bottom: 16px;
}

.item-cell {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  width: 100%;
  height: 100px; /* 필요하다면 맞춤 */
  box-sizing: border-box;
  padding: 25px;
  /* 나머지 기존 스타일(배경, radius 등) 필요시 추가 */
}

.item-thumb {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #ddd;
}

.item-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.item-title {
  color: #000;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.item-tags {
  color: #000;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 12px;
  font-weight: 300;
}

.item-price {
  color: #000;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-top: 5px;
}

.box04 {
  width: 100%;
  max-width: 1920px;
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 100px;
  gap: 50px;
  background: #fff;
}
.box04 > .txt {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}
.box04 > .txt .title {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
}
.box04 > .txt .more {
  position: absolute;
  right: 100px;
  font-size: 1.2rem;
  font-weight: 400;
  color: #666;
}
.box04 .contents {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.box04 .contents .content {
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 12px;
}
.box04 .contents .content .img-2 {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}
