/* 공통 변수 */

:root {
  --ink: #141414;
  --muted: #6b6b6b;
  --muted2: #9d9d9d;
  --line: #e8e8e6;
  --bg: #ffffff;
  --bg-soft: #f6f6f5;
  --accent: #d6303f;
  --accent-soft: #fbe9ea;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1440px;
  --section-padding-x: 40px;
  --transition: 0.2s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Pretendard',-apple-system,"Malgun Gothic",sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  /* 한글 단어(예: 세트, 전체보기)가 글자 단위로 쪼개져 줄바꿈되지 않도록 합니다 */
  word-break: keep-all;
  width: 100%;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

/* ---- 공통 글자 크기 ---- */

h1 {
  font-size: clamp(40px,4.4vw,56px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -1.2px;
}

h2 {
  font-size: clamp(28px,3vw,38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.8px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
}

h4 {
  font-size: 15px;
  font-weight: 600;
}

.section_label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ---- 공통 아이콘: HTML에서는 icon-이름 클래스로 사용 ---- */

[class^="icon-"] {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 실제 마크업의 아이콘 클래스는 밑줄 표기이므로 공통 크기를 명시합니다 */
.icon_search,.icon_heart,.icon_cart {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon_search {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.2' y2='16.2'/%3E%3C/svg%3E");
}

.icon_heart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.5-9.3-9C1 7.5 2.7 4 6.3 4c2 0 3.4 1.1 4.2 2.3C11.3 5.1 12.7 4 14.7 4 18.3 4 20 7.5 18.3 11c-2.3 4.5-6.3 9-6.3 9z'/%3E%3C/svg%3E");
}

.icon_cart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.3'/%3E%3Ccircle cx='18' cy='20' r='1.3'/%3E%3Cpath d='M2 3h2.6l2.2 12.2a2 2 0 0 0 2 1.6h8.6a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E");
}

.icon_fast_delivery {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23141414'%3E%3Cpath d='M13 2 3 14h7l-1 8 10-13h-7z'/%3E%3C/svg%3E");
  width: 26px;
  height: 26px;
}

.icon_delivery {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='6' width='13' height='10'/%3E%3Cpath d='M14 10h4l4 4v2h-8z'/%3E%3Ccircle cx='6' cy='19' r='1.7'/%3E%3Ccircle cx='17' cy='19' r='1.7'/%3E%3C/svg%3E");
  width: 26px;
  height: 26px;
}

.icon_card {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cline x1='2' y1='10' x2='22' y2='10'/%3E%3C/svg%3E");
  width: 26px;
  height: 26px;
}

.icon_payment {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='13' rx='2.5'/%3E%3Cline x1='2' y1='10.5' x2='22' y2='10.5'/%3E%3Cline x1='5.5' y1='15' x2='9.5' y2='15'/%3E%3C/svg%3E");
  width: 26px;
  height: 26px;
}

.icon_gift {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='9' width='18' height='12' rx='1'/%3E%3Cline x1='12' y1='9' x2='12' y2='21'/%3E%3Cpath d='M3 9h18v-1a2 2 0 0 0-2-2h-2c-2 0-3-3-5-3s-3 3-5 3H5a2 2 0 0 0-2 2z'/%3E%3C/svg%3E");
  width: 26px;
  height: 26px;
}

/* ---- 페이지 맨 위 앱 추가 안내 ---- */

.coupon_popup {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease,visibility .25s ease;
}

.coupon_popup.is_visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.coupon_popup_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.coupon_popup_card {
  position: relative;
  z-index: 1;
  width: min(430px,100%);
  padding: 42px 38px 28px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff9f4;
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
  text-align: center;
  transform: translateY(14px) scale(.98);
  transition: transform .3s cubic-bezier(.2,.75,.3,1);
}

.coupon_popup.is_visible .coupon_popup_card {
  transform: translateY(0) scale(1);
}

.coupon_popup_card::before {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  top: -145px;
  left: -75px;
  border-radius: 50%;
  background: #f5c9c9;
  opacity: .6;
}

.coupon_popup_close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  width: 32px;
  height: 32px;
  color: var(--muted);
  font-size: 25px;
  line-height: 1;
}

.coupon_popup_eyebrow {
  position: relative;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.coupon_popup_card h2 {
  position: relative;
  margin-top: 12px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.coupon_popup_card h2 strong {
  color: var(--accent);
}

.coupon_popup_description {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.coupon_ticket {
  position: relative;
  margin: 28px 0 20px;
  padding: 22px 74px 22px 24px;
  border: 1px solid #efb7bc;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  box-shadow: 0 12px 28px rgba(214,48,63,.08);
}

.coupon_ticket::before,.coupon_ticket::after {
  content: '';
  position: absolute;
  right: 58px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff9f4;
}

.coupon_ticket::before { top: -11px; }
.coupon_ticket::after { bottom: -11px; }

.coupon_ticket div > span {
  color: var(--muted2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.coupon_ticket div > strong {
  display: block;
  color: var(--accent);
  font-size: 48px;
  line-height: 1;
}

.coupon_ticket strong em {
  font-size: 22px;
  font-style: normal;
}

.coupon_ticket p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.coupon_ticket > i {
  position: absolute;
  top: 50%;
  right: 20px;
  color: #efb7bc;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 1px;
  transform: translateY(-50%) rotate(90deg);
}

.coupon_download_button {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.coupon_download_button.is_downloaded {
  background: var(--accent);
}

.coupon_download_button span {
  margin-left: 5px;
}

.coupon_today_close {
  margin-top: 17px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- 상단 앱 설치 · 무료배송 한 줄 스와이퍼 ---- */
.top_promo_swiper {
  height: 40px;
  overflow: hidden;
  color: #fff;
}

.top_promo_track {
  height: 100%;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}

.top_promo_slide {
  width: 100%;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: inherit;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.top_promo_app {
  background: var(--ink);
}

.top_promo_delivery {
  background: var(--accent);
  font-weight: 600;
}

.top_promo_slide img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.top_promo_button {
  margin-left: 3px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.top_promo_button.is_outline {
  margin-left: 8px;
  border: 1px solid rgba(255,255,255,.6);
  background: transparent;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .top_promo_track { transition: none; }
}

/* ---- 공통 헤더 ---- */

.site_header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease,box-shadow .3s ease;
}

.site_header.is_scrolled {
  border-color: var(--line);
  box-shadow: 0 2px 18px rgba(0,0,0,.04);
}

.header_content {
  max-width: var(--container);
  margin: auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
}

.logo {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.4px;
  flex: 0 0 auto;
}

.logo span {
  color: var(--accent);
}

.main_menu {
  display: flex;
  gap: 34px;
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
}

.main_menu a {
  position: relative;
  padding-bottom: 4px;
  color: var(--muted);
  transition: color .2s ease;
}

.main_menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.main_menu a:hover {
  color: var(--ink);
}

.main_menu a:hover::after {
  transform: scaleX(1);
}

.main_menu a.is_active {
  color: var(--ink);
  font-weight: 600;
}

.main_menu a.is_active::after {
  transform: scaleX(1);
}

/* 헤더 카테고리: 이미지 없이 대분류와 소분류를 글자 크기로 구분합니다 */

.menu_category {
  position: relative;
}

.header_category_menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 1100;
  width: min(920px,calc(100vw - 48px));
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(20,20,20,.14);
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 26px 30px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%,-8px);
  transition: opacity .2s ease,transform .2s ease,visibility .2s;
}

/* 메뉴와 펼침 영역 사이의 빈 공간에서도 hover가 끊기지 않게 연결합니다 */

.header_category_menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.menu_category.is_open .header_category_menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%,0);
}

.header_category_menu .header_category_title {
  display: inline-block;
  padding: 0 0 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.header_category_menu .header_category_title::after {
  display: none;
}

.header_subcategory {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

.header_subcategory_link {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: color .15s ease;
}

.header_subcategory_link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.header_subcategory_link:hover,.header_subcategory_link:focus-visible {
  color: var(--accent);
}

.header_subcategory_link:hover::after,.header_subcategory_link:focus-visible::after {
  transform: scaleX(1);
}

.header_actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.icon_button {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s ease;
}

.icon_button:hover {
  background: var(--bg-soft);
}

.icon_button .badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}

/* ---- 각 섹션의 제목 영역 ---- */

.section_heading {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: 0 auto 34px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.more_link {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  white-space: nowrap;
}

.more_link i {
  font-style: normal;
  transition: transform .2s ease;
  display: inline-block;
}

.more_link:hover i {
  transform: translateX(3px);
}

/* 이동할 곳이 없는 안내 문구용: 링크처럼 보이지 않도록 흐리게 표시합니다 */

.more_link.is_static {
  color: var(--muted);
  cursor: default;
}

/* ---- 메인 히어로 슬라이드 ---- */

.hero {
  position: relative;
  background: var(--bg-soft);
  overflow: hidden;
}

.hero_track {
  display: flex;
  transition: transform .55s cubic-bezier(.22,.7,.3,1);
}

.hero_slide {
  min-width: 100%;
}

.hero_slide_inner {
  max-width: var(--container);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(360px,.72fr) minmax(0,1.28fr);
  align-items: stretch;
  gap: 0;
  padding: 86px 64px 104px;
  min-height: 82vh;
  width: 100%;
  min-width: 0;
}

.hero_copy,.hero_media {
  min-width: 0;
}

/* 정보 박스와 사진을 겹치지 않아 상품과 문구가 각각 또렷하게 보입니다 */

.hero_copy {
  position: relative;
  z-index: 2;
  max-width: none;
  height: 100%;
  margin-right: 0;
  padding: 52px 48px;
  background: #fff;
  box-shadow: 0 18px 48px -38px rgba(20,20,20,.34);
  border: 1px solid rgba(20,20,20,.05);
  border-radius: var(--radius) 0 0 var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero_badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.hero_brand {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--muted2);
  margin-bottom: 10px;
}

.hero_copy .rating_row {
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.hero_copy .rating_count {
  text-decoration: none;
  color: var(--muted);
}

.sold_count {
  font-size: 13px;
  color: var(--muted);
}

.badge_live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px 6px 10px;
  border-radius: 100px;
  letter-spacing: .4px;
}

.badge_live.sm {
  padding: 4px 10px 4px 8px;
  font-size: 10.5px;
}

.live_dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% {
    box-shadow: 0 0 0 0 rgba(255,255,255,.45);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(255,255,255,0);
  }

}

.badge_best {
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}

.badge_new {
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}

.broadcast_status {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
}

.hero_slide h1 {
  margin-bottom: 14px;
  max-width: 430px;
}

.hero_sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 34px;
}

.hero_price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.hero_price strong {
  font-size: 30px;
  font-weight: 700;
}

.hero_price del {
  color: var(--muted2);
  font-size: 15px;
  font-weight: 400;
}

.hero_price em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
}

.hero_tags {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.hero_tags li {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 100px;
  background: #fff;
}

.hero_buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 구매 버튼류는 짧은 문구가 두 줄로 쪼개지지 않도록 nowrap을 줍니다 */

.button {
  position: relative;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  transition: transform .18s ease,box-shadow .18s ease;
}

.button_primary {
  background: var(--ink);
  color: #fff;
}

.button_primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}

.button_outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button_outline:hover {
  border-color: var(--ink);
}

.hero_media {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff;
  box-shadow: 0 28px 64px -38px rgba(20,20,20,.3);
}

.hero_media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-radius: inherit;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
}

.hero_media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,0) 60%,rgba(0,0,0,.26) 100%);
  pointer-events: none;
}

.hero_media:hover img {
  transform: scale(1.025);
}

.live_stat_card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 4;
  background: #fff;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(20,20,20,.16);
  display: flex;
  align-items: center;
  gap: 16px;
}

.live_stat_card .viewers {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
}

.live_stat_card .viewers .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.live_progress {
  display: none;
}

.live_stat_card .ends {
  font-size: 12px;
  color: var(--muted);
}

.live_stat_card .ends strong {
  margin-left: 4px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.coffee_gift_card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  width: min(29%,210px);
  padding: 8px;
  background-color: #fff;
  background-image: linear-gradient(#f0f0ee 1px,transparent 1px),linear-gradient(90deg,#f0f0ee 1px,transparent 1px);
  background-size: 14px 14px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(20,20,20,.16);
}

.coffee_gift_card span {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  padding: 4px 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .8px;
}

.hero_media .coffee_gift_card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  transform: none;
}

.hero_media:hover .coffee_gift_card img {
  transform: none;
}

.hero_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  font-size: 19px;
  color: var(--ink);
  z-index: 5;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .18s ease;
}

.hero_nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.hero_nav.prev {
  left: 24px;
}

.hero_nav.next {
  right: 24px;
}

.hero_dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.hero_dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(20,20,20,.22);
  transition: width .25s ease,background .25s ease;
}

.hero_dots button.is_active {
  background: var(--ink);
  width: 20px;
  border-radius: 4px;
}

/* ---- 오늘의 방송 편성표 ---- */

.schedule {
  max-width: var(--container);
  margin: 142px auto 92px;
  padding: 0 40px;
}

.timeline {
  height: 56px;
  position: relative;
  margin: 38px 0 30px;
}

.timeline_line {
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  border-top: 1px solid var(--line);
}

.timeline_progress {
  position: absolute;
  left: 0;
  top: 19px;
  height: 2px;
  background: var(--accent);
}

.timeline span {
  position: absolute;
  top: 0;
  font-size: 11px;
  color: var(--muted2);
  font-variant-numeric: tabular-nums;
}

.timeline span:last-child {
  transform: translateX(-100%);
}

.schedule_grid {
  display: grid;
  grid-template-columns: 1.26fr .9fr;
  gap: 34px;
  align-items: start;
}

.now_card {
  position: sticky;
  top: 104px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.now_card .badge_live {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

.now_card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.now_body {
  padding: 24px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.now_time {
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  font-weight: 500;
}

.now_brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--accent);
  margin-bottom: 6px;
}

.now_card h3 {
  color: #fff;
  font-size: 21px;
  margin-bottom: 6px;
}

.now_sub {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 14px;
}

.now_price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.now_price strong {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
}

.now_price del {
  color: rgba(255,255,255,.4);
  font-size: 13px;
  font-weight: 400;
}

.now_price em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
}

.now_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 16px;
}

.now_viewers {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
}

.now_viewers .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.now_timer {
  font-size: 12px;
  color: rgba(255,255,255,.75);
}

.now_timer b {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.next_list {
  display: grid;
  gap: 12px;
  padding-top: 28px;
}

.next_card:nth-child(2),.next_card:nth-child(4) {
  margin-left: 34px;
}

.next_card {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0,1fr) auto;
  grid-template-rows: 88px 74px;
  align-items: center;
  align-content: start;
  gap: 6px 14px;
  height: 188px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease,transform .2s ease;
}

.next_card:hover {
  border-color: var(--ink);
  transform: translateX(3px);
}

.next_card img {
  width: 108px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
}

.next_time {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 3px;
}

.next_card h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.next_price {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.next_price strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.next_price em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
}

.next_card.event .next_time {
  color: var(--accent);
}

.next_card.event {
  grid-template-columns: 116px minmax(0,1fr) auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

.next_card.event img {
  width: 116px;
  height: 90px;
}

.notify_button {
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 100px;
  transition: background .2s ease,color .2s ease,border-color .2s ease;
}

.next_card_actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.next_card_actions .schedule_toggle {
  margin-top: 0;
  justify-content: center;
}

.notify_button:hover,.notify_button.is_on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.schedule_toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.schedule_toggle:hover {
  color: var(--ink);
}

.schedule_toggle i {
  font-style: normal;
  font-size: 14px;
  line-height: 1;
  transition: transform .2s ease;
}

.next_card.is_expanded .schedule_toggle i {
  transform: rotate(45deg);
}

.schedule_menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(20,20,20,.14);
  padding: 14px 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease,transform .2s ease,visibility .2s;
  z-index: 15;
  text-align: left;
  pointer-events: none;
}

.schedule_menu_title {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--accent);
  background: var(--bg-soft);
  padding: 5px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.schedule_links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.schedule_links a {
  font-size: 12.5px;
  color: var(--muted);
  padding: 2px 0;
  transition: color .15s ease;
}

.schedule_links a:hover {
  color: var(--ink);
}

.now_card:hover .schedule_menu,.now_card:focus-within .schedule_menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.next_card .schedule_menu {
  position: relative;
  grid-column: 1/-1;
  grid-row: 2;
  align-self: stretch;
  top: auto;
  left: auto;
  right: auto;
  margin: 0;
  padding: 10px 16px;
  border-width: 1px;
  box-shadow: none;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: opacity .2s ease,visibility .2s ease;
  pointer-events: none;
}

.next_card.is_expanded .schedule_menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---- 에디토리얼: 홀수는 글-이미지, 짝수는 이미지-글 ---- */

.editorial_stories {
  max-width: var(--container);
  margin: 0 auto 176px;
  padding: 0 40px;
}

.editorial_heading {
  margin-bottom: 112px;
}

.editorial_heading p {
  margin-bottom: 12px;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
}

.editorial_heading h2 {
  font-size: clamp(28px,3vw,40px);
  font-weight: 600;
}

.editorial_story {
  display: grid;
  grid-template-columns: minmax(280px,40fr) minmax(0,60fr);
  align-items: center;
  gap: clamp(80px,7vw,112px);
  margin-bottom: 160px;
}

.editorial_story:nth-child(even) {
  grid-template-columns: minmax(0,60fr) minmax(280px,40fr);
}

.editorial_story:last-child {
  margin-bottom: 0;
}

.editorial_story:nth-child(even) .editorial_copy {
  order: 2;
}

.editorial_story:nth-child(even) .editorial_image {
  order: 1;
  grid-template-columns: minmax(140px,1fr) minmax(0,1.65fr);
}

.editorial_copy {
  max-width: 520px;
}

.editorial_label {
  margin-bottom: 18px;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
}

.editorial_copy h3 {
  font-size: clamp(48px,4vw,56px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -1.4px;
}

.editorial_description {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.editorial_action_row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 26px;
}

.editorial_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  transition: background .25s ease,color .25s ease,transform .25s ease;
}

.editorial_button:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.editorial_image {
  height: clamp(440px,42vw,620px);
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(140px,1fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.editorial_image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}

.editorial_image_main {
  grid-row: 1/3;
  border-radius: 24px!important;
}

.editorial_story:nth-child(even) .editorial_image_main {
  grid-column: 2;
  grid-row: 1/3;
}

.editorial_story:nth-child(even) .editorial_image_small {
  grid-column: 1;
}

.editorial_image img:hover {
  transform: scale(1.02);
}

/* ---- 배송과 결제 혜택 ---- */

.benefits {
  background: var(--bg-soft);
  padding: 72px 40px;
  margin: 0 0 204px;
}

.benefits_inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5,1fr);
}

.benefits article {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 28px;
  border-left: 1px solid var(--line);
}

.benefits article:first-child {
  border-left: 0;
  padding-left: 0;
}

.icon_circle {
  width: 44px;
  height: 44px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(20,20,20,.06);
}

.benefits h4 {
  margin-top: 2px;
}

.benefits p {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

/* ---- 화면을 가득 채우는 스토리 배너 ---- */

.story_banner {
  position: relative;
  height: 76vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  margin: 0 0 188px;
}

.story_track {
  display: flex;
  height: 100%;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.story_track.is_dragging {
  cursor: grabbing;
}

.story_slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.story_slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  -webkit-user-drag: none;
  transition: transform .9s cubic-bezier(.2,.7,.3,1);
}

.story_slide img.pos_right_85 {
  object-position: 85% 32%;
}

.story_slide img.pos_right_70 {
  object-position: 72% 40%;
}

.story_slide img.pos_right_75 {
  object-position: 78% 52%;
}

.story_banner:hover .story_slide img {
  transform: scale(1.045);
}

.story_slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(10,10,10,0) 30%,rgba(10,10,10,.6) 100%),linear-gradient(90deg,rgba(10,10,10,.5) 0%,rgba(10,10,10,.18) 38%,rgba(10,10,10,0) 62%);
}

.story_banner_copy {
  position: absolute;
  left: max(5vw,40px);
  bottom: 9%;
  padding: 0;
  max-width: 580px;
  color: #fff;
  z-index: 1;
}

.story_banner_copy h2 {
  font-size: clamp(38px,5vw,70px);
  line-height: 1.06;
  letter-spacing: -1.8px;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.story_banner_copy .section_label {
  color: #fff;
  opacity: .85;
}

.story_banner_copy .more_link {
  color: #fff;
}

.story_dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}

.story_dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: width .25s ease,background .25s ease;
}

.story_dots button.is_active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

/* ---- 상품 카테고리 ---- */

.category {
  position: relative;
  z-index: 100;
  max-width: var(--container);
  margin: 0 auto 78px;
  padding: 0 40px;
}

.category_grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 4px 34px;
}

.category_card:nth-child(3n+2) {
  transform: translateY(18px);
}

.category_card:nth-child(4n) {
  transform: translateY(34px);
}

.category_card {
  position: relative;
  flex: 0 0 auto;
  width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.category_card .category_image {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  transition: box-shadow .3s ease,transform .3s ease;
}

.category_card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}

.category_card:hover .category_image {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(20,20,20,.16);
}

.category_card:hover img {
  transform: scale(1.08);
}

.category_name {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
}

.mood_fashion .category_image {
  background: #14161c;
}

.mood_beauty .category_image {
  background: #f6d9df;
}

.mood_food .category_image {
  background: #f3ead2;
}

.mood_kitchen .category_image {
  background: #dfe2e4;
}

.mood_living .category_image {
  background: #dbe5ee;
}

.mood_bedding .category_image {
  background: #efe7db;
}

.mood_health .category_image {
  background: #dcecdf;
}

.mood_digital .category_image {
  background: #20242b;
}

.mood_sport .category_image {
  background: linear-gradient(160deg,#f5a35c,#e8734a);
}

.mood_travel .category_image {
  background: linear-gradient(160deg,#8fc6e8,#4f8fb8);
}

.mood_pet .category_image {
  background: linear-gradient(160deg,#d9b98a,#b8925f);
}

/* category subcategory flyout: shows on hover (desktop) / focus (keyboard tab) */

.category_menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  width: 172px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(20,20,20,.14);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .2s ease,transform .2s ease,visibility .2s;
  z-index: 1200;
}

.category_menu a {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  transition: background .15s ease,color .15s ease;
}

.category_menu a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.category_card:hover .category_menu,.category_card:focus-within .category_menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ---- 오늘의 픽: product_grid 안에 product_card가 반복됩니다 ---- */

.today_pick {
  max-width: var(--container);
  margin: 0 auto 184px;
  padding: 0 40px;
}

/* PC 4열 / 태블릿 2열 / 모바일 1열 */

.product_grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 38px 24px;
  overflow: visible;
  padding: 0;
}

.product_card {
  position: relative;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}

/* 상세페이지가 있는 상품만 이 링크로 카드 내용을 감쌉니다. 찜 버튼은 카드 기준으로 오른쪽 위에 그대로 남습니다 */

.product_card_link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  color: inherit;
}

.product_card_link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
  border-radius: var(--radius);
}

.today_pick:not(.related) .product_grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.today_pick:not(.related) .product_grid::-webkit-scrollbar {
  display: none;
}

.today_pick:not(.related) .product_card {
  flex: 0 0 calc((100% - 72px)/4);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.product_card:hover {
  transform: translateY(-4px);
}

.product_image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-soft);
}

.product_image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
}

.product_card:hover .product_image img {
  transform: scale(1.03);
}

.product_badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 100px;
}

.wish_button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  font-size: 16px;
  color: var(--ink);
  transition: color .2s ease,transform .15s ease;
}

.wish_button:hover {
  transform: scale(1.08);
}

.wish_button.is_on {
  color: var(--accent);
}

.card_cart_button {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; min-height: 42px; margin-top: 16px; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
  transition: background .2s ease, transform .15s ease;
}
.card_cart_button .icon_cart { width: 17px; height: 17px; filter: invert(1); }
.card_cart_button:hover { background: #bd2432; transform: translateY(-1px); }
.card_cart_button.is_added { background: var(--ink); }
.card_cart_button.is_added .icon_cart { filter: invert(1); }

/* ---- 찜한 상품 모아보기 ---- */
.wishlist_floating_button {
  position: fixed !important;
  right: 18px;
  bottom: 74px;
  z-index: 1190;
  width: 52px !important;
  height: 52px !important;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
}
.wishlist_floating_button:hover { background: var(--accent-soft); transform: translateY(-2px); }
.wishlist_floating_button .icon_heart { width: 23px; height: 23px; }
.wishlist_floating_button .wishlist_count { top: -3px; right: -3px; }
.wishlist_count {
  position: absolute; top: -4px; right: -5px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 20px; background: var(--accent); color: #fff;
  font-size: 10px; font-style: normal; font-weight: 700; line-height: 17px; text-align: center;
}
.icon_button .badge[hidden],.wishlist_count[hidden] { display: none; }
.wishlist_overlay {
  position: fixed; inset: 0; z-index: 1200; background: rgba(20,20,20,.36);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.wishlist_drawer {
  position: fixed; top: 0; right: 0; z-index: 1201; width: min(440px,100%); height: 100dvh;
  padding: 34px 28px; background: #fff; box-shadow: -18px 0 50px rgba(0,0,0,.12);
  transform: translateX(102%); transition: transform .3s ease; overflow-y: auto;
}
.wishlist_drawer.is_open { transform: translateX(0); }
.wishlist_open { overflow: hidden; }
.wishlist_open .wishlist_overlay { opacity: 1; visibility: visible; }
.wishlist_head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.wishlist_head small { display: block; margin-bottom: 5px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.wishlist_head h2 { font-size: 25px; }
.wishlist_close { width: 38px; height: 38px; font-size: 28px; font-weight: 200; line-height: 1; }
.wishlist_item { position: relative; padding: 18px 38px 18px 0; border-bottom: 1px solid var(--line); }
.wishlist_item a,.wishlist_item>div { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; }
.wishlist_item img { width: 92px; height: 92px; border-radius: 10px; background: var(--bg-soft); object-fit: cover; }
.wishlist_item span { display: grid; gap: 4px; min-width: 0; }
.wishlist_item small { color: var(--muted2); font-size: 11px; }
.wishlist_item strong { overflow: hidden; font-size: 14px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.wishlist_item em { color: var(--accent); font-size: 14px; font-style: normal; font-weight: 700; }
.wishlist_remove { position: absolute; top: 50%; right: 2px; width: 30px; height: 30px; color: var(--muted); font-size: 22px; transform: translateY(-50%); }
.wishlist_empty { display: grid; justify-items: center; gap: 8px; padding: 100px 12px; color: var(--muted); text-align: center; }
.wishlist_empty span { color: var(--muted2); font-size: 42px; }
.wishlist_empty strong { color: var(--ink); font-size: 16px; }
.wishlist_empty p { font-size: 13px; }

.cart_overlay {
  position: fixed; inset: 0; z-index: 1200; background: rgba(20,20,20,.36);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.cart_drawer {
  position: fixed; top: 0; right: 0; z-index: 1201; display: grid;
  grid-template-rows: auto 1fr auto; width: min(480px,100%); height: 100dvh;
  padding: 34px 28px; background: #fff; box-shadow: -18px 0 50px rgba(0,0,0,.12);
  transform: translateX(102%); transition: transform .3s ease;
}
.cart_drawer.is_open { transform: translateX(0); }
.cart_open { overflow: hidden; }
.cart_open .cart_overlay { opacity: 1; visibility: visible; }
.cart_close { width: 38px; height: 38px; font-size: 28px; font-weight: 200; line-height: 1; }
.cart_list { min-height: 0; overflow-y: auto; }
.cart_item { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 18px 36px 18px 0; border-bottom: 1px solid var(--line); }
.cart_item>img { width: 92px; height: 92px; border-radius: 10px; background: var(--bg-soft); object-fit: cover; }
.cart_item_info { display: grid; align-content: center; justify-items: start; gap: 3px; min-width: 0; }
.cart_item_info small { color: var(--muted2); font-size: 11px; }
.cart_item_info strong { overflow: hidden; max-width: 100%; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.cart_item_info em { color: var(--accent); font-size: 14px; font-style: normal; font-weight: 700; }
.cart_remove { position: absolute; top: 19px; right: 2px; width: 30px; height: 30px; color: var(--muted); font-size: 22px; }
.cart_quantity { display: flex; align-items: center; margin-top: 5px; border: 1px solid var(--line); border-radius: 7px; }
.cart_quantity button { width: 27px; height: 25px; font-size: 15px; }
.cart_quantity span { min-width: 25px; font-size: 12px; text-align: center; }
.cart_summary { padding-top: 20px; border-top: 1px solid var(--line); background: #fff; }
.cart_total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cart_total span { color: var(--muted); font-size: 13px; }
.cart_total strong { font-size: 21px; }
.cart_checkout { width: 100%; }
.cart_checkout:disabled { cursor: default; opacity: .4; }

.product_brand {
  min-height: 18px;
  font-size: 11.5px;
  color: var(--muted2);
  font-weight: 600;
  margin-bottom: 5px;
}

.product_card h4 {
  min-height: 45px;
  margin-bottom: 7px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product_rating {
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 9px;
  white-space: nowrap;
}

.review_count {
  color: var(--muted2);
  font-weight: 400;
}

.product_price {
  min-height: 26px;
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product_price strong {
  font-size: 16px;
  font-weight: 700;
}

.product_price em {
  color: var(--accent);
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
}

/* ---- 브랜드 소개 ---- */

.brand {
  background: var(--ink);
  color: #fff;
  padding: 158px 40px 112px;
  margin: 0 0 72px;
}

.brand_inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.brand .section_label {
  display: block;
}

.brand h2 {
  margin-bottom: 26px;
  color: #fff;
}

.brand_tagline {
  font-size: 13px;
  letter-spacing: .4px;
  color: rgba(255,255,255,.5);
  margin-bottom: 48px;
}

.brand_stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 56px;
}

.brand_stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand_stats strong {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.brand_stats span {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

.brand_grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: left;
  border-top: 1px solid rgba(255,255,255,.18);
}

.brand_grid article {
  padding: 34px 28px;
  border-right: 1px solid rgba(255,255,255,.14);
}

.brand_grid article:last-child {
  border-right: 0;
}

.brand_grid span {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  font-weight: 600;
}

.brand_grid h3 {
  margin: 20px 0 10px;
  color: #fff;
}

.brand_grid p {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}

/* ---- 푸터 ---- */

.site_footer {
  max-width: var(--container);
  margin: auto;
  padding: 44px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.site_footer .logo {
  font-size: 16px;
  color: var(--ink);
}

.site_footer .nn_copyright {
  max-width: 320px;
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
}

/* ---- 스크롤 등장 효과: JavaScript가 in_view를 붙이면 표시 ---- */

html.js_ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease,transform .6s ease;
}

html.js_ready .reveal.in_view {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================================
   PRODUCT DETAIL PAGE
   ===================================================================== */

/* ---- 상품 상세: 현재 위치 경로 ---- */

.breadcrumb_nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 40px 0;
  font-size: 12.5px;
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb_nav a {
  color: var(--muted2);
  transition: color .15s ease;
}

.breadcrumb_nav a:hover {
  color: var(--ink);
}

.breadcrumb_nav i {
  font-style: normal;
  opacity: .6;
}

.breadcrumb_nav span {
  color: var(--ink);
  font-weight: 500;
}

/* ---- 상품 상세: 대표 이미지와 구매 정보 ---- */

.product_hero {
  max-width: var(--container);
  margin: 0 auto 90px;
  padding: 26px 40px 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.product_gallery {
  position: sticky;
  top: 100px;
  width: 100%;
  min-width: 0;
}

.gallery_main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--bg-soft);
  margin-bottom: 14px;
}

.gallery_main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery_thumbs {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  border: 2px solid transparent;
  transition: border-color .18s ease;
  opacity: .65;
  width: 100%;
  min-width: 0;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  opacity: 1;
}

.thumb.is_active {
  border-color: var(--ink);
  opacity: 1;
}

.product_info {
  padding-top: 4px;
}

.product_info .hero_tags {
  margin-bottom: 28px;
}

.purchase_box {
  position: sticky;
  top: 100px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.rating_row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
}

.stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 1px;
}

.stars.sm {
  font-size: 12px;
}

.rating_row strong {
  font-weight: 700;
}

.rating_count {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.option_section,.quantity_section {
  margin-bottom: 22px;
}

.option_label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}

.option_buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option_button {
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color .15s ease,background .15s ease;
}

.option_button:hover {
  border-color: var(--muted2);
}

.option_button.is_selected {
  border-color: var(--ink);
  background: var(--bg-soft);
  font-weight: 600;
}

.quantity_control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.quantity_button {
  width: 38px;
  height: 38px;
  font-size: 16px;
  color: var(--ink);
  transition: background .15s ease;
}

.quantity_button:hover {
  background: var(--bg-soft);
}

.quantity_control span {
  width: 42px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.total_row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.total_row span {
  font-size: 13px;
  color: var(--muted);
}

.total_row strong {
  font-size: 22px;
  font-weight: 700;
}

.product_buttons {
  position: relative;
  margin-bottom: 22px;
}

.product_buttons .button {
  flex: 1;
}

.detail_wish {
  position: static;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 19px;
}

.detail_wish:hover {
  transform: none;
  border-color: var(--ink);
}

.product_info .live_stat_card {
  position: static;
  width: 100%;
  box-shadow: 0 6px 20px rgba(20,20,20,.08);
  margin-bottom: 22px;
}

.delivery_info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.delivery_info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.delivery_info span {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* ---- 상품 상세: 정보 / 리뷰 / 질문 탭 ---- */

.product_tabs {
  max-width: var(--container);
  margin: 0 auto 110px;
  padding: 0 40px;
}

.tabs_nav {
  display: flex;
  gap: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.tab_button {
  padding: 16px 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s ease,border-color .15s ease;
}

.tab_button.is_active {
  color: var(--ink);
  border-color: var(--ink);
}

.tab_panel {
  display: none;
}

.tab_panel.is_active {
  display: block;
}

.detail_benefits {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 56px;
}

.detail_benefits article {
  background: #fff;
  padding: 26px 20px;
  text-align: center;
}

.detail_benefits span {
  width: 26px;
  height: 26px;
  margin: 0 auto 12px;
}

.detail_benefits h4 {
  font-size: 14px;
  margin-bottom: 6px;
}

.detail_benefits p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.detail_media {
  max-width: 760px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail_media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16/11;
  object-fit: cover;
}

.detail_caption {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  padding: 0 20px;
}

.spec_table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 13.5px;
}

.spec_table tr {
  border-top: 1px solid var(--line);
}

.spec_table th {
  width: 140px;
  text-align: left;
  padding: 16px 20px;
  color: var(--muted);
  font-weight: 600;
  background: var(--bg-soft);
}

.spec_table td {
  padding: 16px 20px;
  color: var(--ink);
}

.review_summary {
  display: flex;
  gap: 56px;
  align-items: center;
  padding: 32px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  margin-bottom: 36px;
}

.review_score {
  text-align: center;
  flex: 0 0 auto;
}

.review_score strong {
  display: block;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 6px;
}

.review_score .stars {
  display: block;
  margin-bottom: 6px;
}

.review_score p {
  font-size: 12.5px;
  color: var(--muted);
}

.review_bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review_bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.review_bar span {
  width: 26px;
  flex: 0 0 auto;
}

.review_bar .bar_track {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.review_bar .bar_track i {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 3px;
}

.review_list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.review_card {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.review_head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex: 0 0 auto;
}

.review_name {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

.review_head time {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted2);
}

.review_card p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 14px;
}

.helpful_button {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  transition: border-color .15s ease,color .15s ease;
}

.helpful_button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.question_list {
  display: flex;
  flex-direction: column;
}

.question_item {
  border-bottom: 1px solid var(--line);
}

.question_button {
  width: 100%;
  text-align: left;
  padding: 22px 4px;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question_button::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: var(--muted2);
  transition: transform .2s ease;
}

.question_item.is_open .question_button::after {
  transform: rotate(45deg);
}

.question_answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.question_answer p {
  padding: 0 4px 22px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.question_item.is_open .question_answer {
  max-height: 200px;
}

/* ---- 상품 상세: 함께 보면 좋은 상품 ---- */

.related_grid {
  overflow-x: visible;
  scroll-snap-type: none;
  display: grid;
  grid-template-columns: repeat(5,1fr);
}

/* ---- 상품 상세: 모바일 하단 고정 구매 바 ---- */

.sticky_buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 14px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -8px 24px rgba(20,20,20,.08);
  transform: translateY(100%);
  transition: transform .25s ease;
}

.sticky_buy.is_visible {
  transform: translateY(0);
}

.sticky_buy_price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sticky_buy_price em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
}

.sticky_buy_price strong {
  font-size: 17px;
  font-weight: 700;
}

.sticky_buy .button {
  padding: 13px 26px;
  flex: 1;
  white-space: nowrap;
}

.sticky_buy .quantity_control {
  flex: 0 0 auto;
}
