/* ──────────────────────────────────────
   homepage.css — 홈페이지 전용 스타일
   오방색 디자인 시스템 기반, 모바일 퍼스트
   한복남(hanboknam.com) 참조 개편
   ────────────────────────────────────── */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. 이벤트 상단 띠
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.event-strip {
  font-size: 11px;
  letter-spacing: .3px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. 히어로 캐러셀
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero-section {
  background-color: var(--color-jjok-mist);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(60,53,48,.12);
  position: relative;
  z-index: 1;
}

/* 슬라이드 기본 — 모바일 4:5 세로 비율 (한 손 엄지 시야), 태블릿/PC 고정 높이
   배경 이미지는 inline CSS variable (--bg-desktop / --bg-mobile) 로 받음.
   --bg-mobile 있으면 모바일에서 그것 사용, 없으면 --bg-desktop 폴백. */
.hero-slide {
  --hero-h: 500px;
  background-color: var(--color-jjok-mist);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: var(--bg-desktop);
  padding: 60px 0;
  position: relative;
  min-height: var(--hero-h);
}
/* 모바일(<768) — 모바일 전용 이미지 사용 + 비율도 세로형 복원 가능
   ※ 모바일 이미지가 세로형(4:5 등) 으로 업로드되면 비율과 잘 맞아 잘림 없음
   ※ 모바일 이미지 없으면 PC 가로 이미지 → 16:10 박스 + 60% 우측 보호로 잘림 최소화 */
@media (max-width: 767.98px) {
  .hero-slide {
    background-image: var(--bg-mobile, var(--bg-desktop));
    aspect-ratio: 16 / 10;
    min-height: 380px;
    max-height: 560px;
    padding: 32px 0;
    display: flex;
    align-items: center;
    background-position: 60% center;
  }
  .hero-slide > .container-xl { width: 100%; }
}
/* 더 작은 모바일 폰(<480) 은 살짝 더 세로형(5:4) — 폰 한 손 시야 */
@media (max-width: 479.98px) {
  .hero-slide {
    aspect-ratio: 5 / 4;
    min-height: 360px;
    max-height: 520px;
  }
}
@media (min-width: 768px)  { .hero-slide { --hero-h: 562px; padding: 72px 0; } }
@media (min-width: 992px)  {
  .hero-slide {
    --hero-h: 656px;
    height: var(--hero-h);
    min-height: 0;
    padding: 0;
  }
}

/* 이미지 없을 때 그라디언트 폴백 */
.hero-slide--gradient {
  background: linear-gradient(135deg, #C8D8F0 0%, #D0C8E8 50%, #E0B8C8 100%);
}

/* 좌→우 화이트/크림 오버레이 (텍스트 가독성) */
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(252,248,241,.96) 0%,
      rgba(252,248,241,.82) 36%,
      rgba(252,248,241,.26) 68%,
      rgba(252,248,241,.04) 100%),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,0) 28%);
  pointer-events: none;
}

/* 슬라이드 내부 레이아웃 */
.hero-slide > .container-xl { position: relative; z-index: 1; }
@media (min-width: 992px) {
  .hero-slide > .container-xl,
  .hero-slide .row { height: 100%; }
  .hero-text-col {
    padding-top: 56px;
    padding-bottom: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* 데스크톱에서 우측 시각 컬럼 숨김 */
@media (min-width: 992px) { .hero-visual-col { display: none !important; } }

/* 광폭 PC — 히어로 폭 FHD(1920) 으로 제한 + 좌우 대칭 가장자리 페이드
   Why: 4K 등 광폭 viewport 에서 cover 배경이 무한 확장되어 피사체가 우측 치우침.
        max-width 만 적용 시 띠 경계가 또렷해 "이미지가 절단된 듯" 보임.
   How: hero-section max-width 1920 (FHD 풀폭, 4K 양옆 ~960 띠) + hero-slide 좌우 100px mask-image 페이드.
        100px 는 가장 작은 광폭(1500)에서도 텍스트 시작점(≈126px)과 충분한 간격 유지.
   1500px 경계는 프로젝트 표준. */
@media (min-width: 1500px) {
  .hero-section {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-slide {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 100px, #000 calc(100% - 100px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 100px, #000 calc(100% - 100px), transparent 100%);
  }
}

/* 아이브로우 */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.eyebrow-line {
  width: 24px; height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}
.eyebrow-text {
  font-size: .72rem;
  color: var(--color-jjok-dk);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(79,145,186,.26);
  border-radius: 999px;
  padding: 5px 12px;
}

/* 제목 */
.hero-h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #27211F;
  line-height: 1.35;
  margin-bottom: 16px;
  text-shadow: 0 2px 14px rgba(255,255,255,.82);
}
@media (min-width: 768px) { .hero-h1 { font-size: 2.1rem; } }
@media (min-width: 992px) { .hero-h1 { font-size: 2.9rem; } }

/* 제목 강조 — 텍스트·배경 블록 모두 배너별 CSS 변수로 지정 */
.hero-accent {
  color: var(--accent-text, #3D5799);
  background: linear-gradient(
    to bottom,
    transparent 52%,
    color-mix(in srgb, var(--accent-bg, #C4A050) 45%, transparent) 52%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 3px;
}

/* 서브타이틀 */
.hero-sub {
  font-size: .96rem;
  color: #4C423E;
  line-height: 1.82;
  margin-bottom: 28px;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(255,255,255,.68);
  white-space: pre-line;
}

/* CTA — 골드 버튼 */
.btn-gold-hero {
  background: var(--color-gold);
  color: var(--color-ink);
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: .94rem;
  padding: 12px 24px;
  transition: background .2s, box-shadow .2s, transform .2s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 12px 24px rgba(139,100,25,.18);
}
.btn-gold-hero:hover {
  background: var(--color-gold-lt);
  color: var(--color-ink);
  box-shadow: 0 16px 30px rgba(139,100,25,.24);
  transform: translateY(-1px);
}

/* CTA — 고스트 버튼 */
.btn-ghost-hero {
  background: rgba(255,255,255,.62);
  color: var(--color-jjok-dk);
  border: 1px solid rgba(79,145,186,.34);
  border-radius: 8px;
  font-size: .94rem;
  font-weight: 800;
  padding: 11px 24px;
  transition: background .2s, box-shadow .2s, transform .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost-hero:hover {
  background: var(--color-jjok-mist);
  color: var(--color-jjok-dk);
  box-shadow: 0 12px 24px rgba(39,99,132,.12);
  transform: translateY(-1px);
}

/* 히어로 버튼 — 모바일에서도 한 줄(가로 2버튼) 노출, 좁은 폭에 맞춰 컴팩트 */
.d-grid-hero {
  display: flex;
  flex-wrap: nowrap;
  gap: .5rem;
}
.d-grid-hero > .btn-gold-hero,
.d-grid-hero > .btn-ghost-hero {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .d-grid-hero > .btn-gold-hero,
  .d-grid-hero > .btn-ghost-hero {
    font-size: .82rem;
    padding: 10px 10px;
    letter-spacing: -.01em;
  }
}
@media (min-width: 576px) {
  .d-grid-hero {
    flex-wrap: wrap;
    gap: .65rem;
  }
  .d-grid-hero > .btn-gold-hero,
  .d-grid-hero > .btn-ghost-hero {
    flex: 0 0 auto;
  }
}

/* 인디케이터 — 프로스티드 글라스 필 */
#heroCarousel .carousel-indicators {
  right: auto;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: auto;
  margin: 0;
  gap: 9px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 999px;
  padding: 8px 11px;
  box-shadow: 0 14px 28px rgba(39,33,31,.14);
  backdrop-filter: blur(10px);
}
#heroCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(39,99,132,.36);
  border: 0;
  opacity: 1;
  margin: 0;
  transition: width .22s, background .22s, transform .22s;
}
#heroCarousel .carousel-indicators [data-bs-target]:hover {
  background: var(--color-jjok);
  transform: scale(1.12);
}
#heroCarousel .carousel-indicators .active {
  width: 30px;
  background: linear-gradient(90deg, var(--color-jjok-dk), var(--color-gold));
}

/* Prev / Next — 흰 원형 버튼 */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 64px;
  opacity: 1;
}
#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  width: 48px;
  height: 48px;
  background-size: 20px 20px;
  background-position: center;
  border-radius: 50%;
  background-color: rgba(255,255,255,.94);
  border: 1.5px solid rgba(79,145,186,.32);
  box-shadow: 0 2px 8px rgba(39,33,31,.13), 0 1px 3px rgba(39,33,31,.08);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), background-color .18s, box-shadow .18s;
}
#heroCarousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23276384'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
#heroCarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23276384'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
#heroCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#heroCarousel .carousel-control-next:hover .carousel-control-next-icon {
  transform: scale(1.12);
  background-color: #fff;
  border-color: rgba(39,99,132,.65);
  box-shadow: 0 4px 18px rgba(39,33,31,.2), 0 2px 6px rgba(39,33,31,.12);
}
#heroCarousel .carousel-control-prev:active .carousel-control-prev-icon,
#heroCarousel .carousel-control-next:active .carousel-control-next-icon {
  transform: scale(.96);
}

/* 태블릿(768~991) — 컴팩트 + 살짝 투명 + chevron 굵게 */
@media (min-width: 768px) and (max-width: 991.98px) {
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next { width: 44px; }
  #heroCarousel .carousel-control-prev-icon,
  #heroCarousel .carousel-control-next-icon {
    width: 36px;
    height: 36px;
    background-size: 15px 15px;
    background-color: rgba(255, 255, 255, 0.62);
    border-color: rgba(79, 145, 186, 0.24);
    box-shadow: 0 1px 6px rgba(39, 33, 31, 0.10);
  }
  /* chevron stroke 1.2px 추가 — 두께 강화 */
  #heroCarousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23276384' stroke='%23276384' stroke-width='1.2' stroke-linejoin='round'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
  }
  #heroCarousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23276384' stroke='%23276384' stroke-width='1.2' stroke-linejoin='round'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }
}

/* 모바일(<768) — 더 작게 + 더 투명 + chevron 굵게 */
@media (max-width: 767.98px) {
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next { width: 38px; }
  #heroCarousel .carousel-control-prev-icon,
  #heroCarousel .carousel-control-next-icon {
    width: 32px;
    height: 32px;
    background-size: 14px 14px;
    background-color: rgba(255, 255, 255, 0.58);
    border-color: rgba(79, 145, 186, 0.22);
    box-shadow: 0 1px 5px rgba(39, 33, 31, 0.10);
  }
  #heroCarousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23276384' stroke='%23276384' stroke-width='1.3' stroke-linejoin='round'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
  }
  #heroCarousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23276384' stroke='%23276384' stroke-width='1.3' stroke-linejoin='round'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }
  #heroCarousel .carousel-indicators { bottom: 14px; padding: 7px 10px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. 카테고리 빠른 진입 바
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cat-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-header-bg);             /* 변수 사용 → 토글 자동 추종 */
  border-top: 2.5px solid var(--color-gold);
  border-bottom: 1px solid var(--color-border-trad);
  box-shadow: 0 4px 18px rgba(60,53,48,.10);
}
[data-theme="dark"] .cat-bar {
  background: var(--color-header-bg);             /* 다크 hanji */
  box-shadow: 0 4px 18px rgba(0,0,0,.4);
}
.cat-scroll-wrap {
  position: relative;
}
.cat-scroll-wrap::before,
.cat-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 28px;
  z-index: 2;
  pointer-events: none;
}
.cat-scroll-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--color-header-bg) 60%, transparent);
}
.cat-scroll-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--color-header-bg) 60%, transparent);
}
.cat-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 14px 0;
  gap: 10px;
  align-items: center;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--color-ink-mid);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,.08);
  background: var(--color-hanji);
  transition: color .16s, background .16s, border-color .16s, box-shadow .16s;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}
.cat-item__icon {
  font-size: 1.1rem;
  opacity: .8;
  transition: opacity .16s;
}
.cat-item--active {
  color: #fff;
  font-weight: 700;
  background: var(--color-jjok-dk);
  border-color: var(--color-jjok-dk);
  box-shadow: 0 2px 10px rgba(92,112,172,.32);
}
.cat-item--active .cat-item__icon { opacity: 1; }
.cat-item:hover:not(.cat-item--active) {
  color: var(--color-jjok-dk);
  background: var(--color-jjok-mist);
  border-color: rgba(92,112,172,.22);
  box-shadow: 0 1px 6px rgba(92,112,172,.12);
  text-decoration: none;
}
.cat-item:hover:not(.cat-item--active) .cat-item__icon { opacity: 1; }

/* ── 다크 모드 — 카테고리 퀵 칩 (cat-bar 전체 톤 추종) ── */
[data-theme="dark"] .cat-item {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  color: var(--color-ink-mid);
}
[data-theme="dark"] .cat-item--active {
  background: var(--color-jjok-dk);
  border-color: var(--color-jjok-dk);
  color: #fff;
  box-shadow: 0 2px 10px rgba(92, 112, 172, .42);
}
[data-theme="dark"] .cat-item:hover:not(.cat-item--active) {
  background: rgba(164, 179, 216, .12);
  border-color: rgba(164, 179, 216, .35);
  color: var(--color-jjok-lt);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. 섹션 공통 타이틀
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sec-heading {
  border-left: 3px solid var(--color-gold);
  padding-left: 14px;
}
.sec-heading__en {
  font-size: .68rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--color-gold-dk);
  font-weight: 600;
  margin: 0 0 4px;
}
.sec-heading__ko {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  letter-spacing: -.02em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. BEST ITEM 탭 섹션
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.prod-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid var(--color-border-trad);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: .5rem;
}
.prod-tab-nav::-webkit-scrollbar { display: none; }
.prod-tab-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
  padding: .7rem 1.3rem;
  font-size: .96rem;
  font-weight: 400;
  color: var(--color-ink-mid);
  cursor: pointer;
  transition: color .18s, border-color .18s, transform .2s cubic-bezier(.34,1.56,.64,1);
  letter-spacing: .2px;
  font-family: var(--font-sans);
}
.prod-tab-btn:hover {
  color: var(--color-jjok);
  transform: translateY(-3px);
}
.prod-tab-btn.active {
  color: var(--color-jjok);
  font-weight: 500;
  border-bottom-color: var(--color-jjok);
  transform: translateY(-2px);
}

/* 탭 패널 */
.prod-tab-panel {
  display: none;
}
.prod-tab-panel.active {
  display: block;
  animation: fadeIn .22s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. 상품 카드
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.product-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  /* 기본: 연한 테두리 효과를 box-shadow로 — 하드 라인 없이 부드럽게 */
  box-shadow:
    0 0 0 1px rgba(224,216,204,.75),
    0 2px 10px rgba(60,53,48,.07),
    0 1px 2px rgba(60,53,48,.04);
  transition: box-shadow .28s ease, transform .28s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow:
    0 0 0 1.5px rgba(92,112,172,.22),
    0 10px 30px rgba(44,62,107,.13),
    0 4px 10px rgba(60,53,48,.07);
  transform: translateY(-5px);
}

/* 이미지 영역 */
.product-card__img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: #F0EBE3;
}
.product-card__img-link { display: block; }
.product-card__img img {
  display: block;
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  transition: transform .40s ease;
}
.product-card:hover .product-card__img img {
  transform: scale(1.06);
}
/* 이미지 위 인셋 레이어: 연한 내부 테두리 + 하단 미세 그라디언트 */
.product-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.07);
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(30,20,10,.055) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity .28s;
}
.product-card:hover .product-card__img::after {
  opacity: .6;
}

/* 이미지 없을 때 */
.product-card__noimg {
  width: 100%;
  aspect-ratio: 2/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-mosi);
  color: var(--color-ink-lt);
  font-size: 1.6rem;
}
.product-card__noimg span {
  font-size: .7rem;
  letter-spacing: .02em;
}

/* 배지 */
.product-card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.product-card__badge {
  display: inline-block;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 3px;
  line-height: 1.5;
}
.product-card__badge--best {
  background: var(--color-jjok-dk);
  color: #fff;
}
.product-card__badge--type {
  background: rgba(196,160,80,.18);
  color: var(--color-gold-dk);
  border: 1px solid rgba(196,160,80,.3);
}
.product-card__badge--sale {
  background: rgba(200,144,152,.15);
  color: var(--color-jaju);
  border: 1px solid rgba(200,144,152,.3);
}

/* 찜 버튼 */
.btn-wish {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: .85rem;
  color: var(--color-ink-lt);
  transition: color .15s, background .15s, transform .15s;
}
.btn-wish:hover { color: var(--color-jaju); transform: scale(1.12); }
.btn-wish .bi-heart-fill { color: var(--color-jaju); }

/* 카드 본문 */
.product-card__body {
  padding: .85rem .9rem .95rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.product-card__cat {
  font-size: .7rem;
  font-weight: 700;
  color: var(--color-jjok-dk);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 5px;
  opacity: .82;
}
.product-card__name-row {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 0 0 .4rem;
  /* summary 가 이름 바로 아래(상단)에 붙도록 — 빈 공간은 price-row 의 margin-top:auto 가 흡수 */
}
.product-card__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1;
  min-width: 0;
  color: var(--color-ink);
}
.product-card__name a {
  color: inherit;
  text-decoration: none;
}
.product-card__name a:hover { color: var(--color-jjok-dk); }

.product-card__type-tag {
  display: inline-block;
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.55;
  white-space: nowrap;
  /* price-row 안에서 가격 오른쪽 끝으로 push */
  margin-left: auto;
  align-self: center;
}
.product-card__type-tag--rental {
  background: rgba(196,160,80,.15);
  color: var(--color-gold-dk);
  border: 1px solid rgba(196,160,80,.28);
}
.product-card__type-tag--sale {
  background: rgba(200,144,152,.13);
  color: var(--color-jaju);
  border: 1px solid rgba(200,144,152,.28);
}

/* 외부 슬롯 — 2줄 높이 고정 + flex 로 자식 상단 강제 정렬
   (block 만으론 일부 브라우저/상속 컨텍스트에서 텍스트가 하단에 표시되는 케이스가 있음) */
.product-card__summary-slot {
  min-height: calc(.8rem * 1.5 * 2);
  margin-bottom: .55rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  align-items: stretch;
}
.product-card__summary {
  font-size: .8rem;
  color: var(--color-ink-mid);
  line-height: 1.5;
  margin: 0;
  align-self: flex-start;
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: .55rem;
  border-top: 1px solid rgba(0,0,0,.08);
}
.product-card__price {
  font-size: 1.08rem;
  color: var(--color-jjok-dk);
  font-weight: 800;
  letter-spacing: -.01em;
}
.product-card__unit {
  font-size: .76rem;
  color: var(--color-ink-lt);
  font-weight: 500;
  margin-left: 2px;
}
.product-card__price-sale {
  font-size: .8rem;
  color: var(--color-ink-lt);
  text-decoration: line-through;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   카테고리 쇼케이스 배너 (실사 이미지)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cat-showcase-section {
  background: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 992px) {
  .cat-showcase-section { padding-top: 6rem; padding-bottom: 6rem; }
}

/* ── 다크 모드 — 컬렉션·코디네이션 둘러보기 섹션 ──────────────── */
[data-theme="dark"] .cat-showcase-section {
  background: #1A1814;
}
[data-theme="dark"] .cat-showcase-head__en {
  color: #A4B3D8;                 /* jjok-lt */
}
[data-theme="dark"] .cat-showcase-head__ko {
  color: #EDE8E0;                 /* ink (다크) */
}
[data-theme="dark"] .coll-row {
  background-color: #2E2A26;      /* 이미지 미설정 시 fallback */
}
[data-theme="dark"] .coll-row__arrow {
  background: rgba(30, 28, 22, .85);
  color: #EDE8E0;
}
[data-theme="dark"] .coll-row:hover .coll-row__arrow {
  background: var(--color-gold-lt, #e0c178);
  color: #3C3530;
}

.cat-showcase-head {
  margin-bottom: 1.4rem;
}
.cat-showcase-head__en {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-jjok);
  margin: 0 0 4px;
}
.cat-showcase-head__ko {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  letter-spacing: -.01em;
}
@media (min-width: 768px) {
  .cat-showcase-head__ko { font-size: 1.6rem; }
}

/* 전체 폭 컨테이너 — 브라우저 폭 + 좌우 여백 */
.collection-wide {
  width: 100%;
  padding: 0 clamp(20px, 4.5vw, 80px);
}

/* 분할 레이아웃: 좌 = 항목 세로 / 우 = 이미지 세로 스크롤 */
.collection-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  height: 990px;            /* 섹터 세로 50% 확대 (660→990) */
}
/* 모바일 + 태블릿 세로 — 좌우 분할 해제하고 세로 스택
   (Galaxy Tab S7 등 viewport 가 ≤767 로 보고돼도 portrait 면 동일 패턴 적용) */
@media (max-width: 767.98px),
       (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
  .collection-split {
    grid-template-columns: 1fr;
    gap: 18px;
    height: auto;
  }
}

/* ── 왼쪽: 컬렉션 항목 세로 리스트 (이미지 카드) ── */
.collection-split__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.coll-row {
  position: relative;
  flex: 1;                  /* 3개 카드가 높이를 균등 분할 → 세로로 크게 */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  background-color: #c8c0b8;
  background-image: var(--bg);
  background-size: cover;
  background-position: center 22%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.coll-row:hover {
  transform: scale(1.012);
  box-shadow: 0 12px 30px rgba(60,53,48,.22);
}
@media (max-width: 767px) {
  .coll-row { min-height: 150px; }
}
/* 텍스트 가독성용 다크 그라디언트 */
.coll-row__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,8,6,.78) 0%,
    rgba(10,8,6,.55) 38%,
    rgba(10,8,6,.18) 70%,
    rgba(10,8,6,.05) 100%
  );
  transition: opacity .3s;
  pointer-events: none;
}
.coll-row:hover .coll-row__overlay { opacity: .82; }
.coll-row__text {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.7rem;
  width: 100%;
}
.coll-row__en {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-gold-lt, #e0c178);
  margin: 0 0 7px;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.coll-row__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -.01em;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
@media (min-width: 768px) {
  .coll-row__title { font-size: 1.6rem; }
}
.coll-row__desc {
  font-size: .85rem;
  color: rgba(255,255,255,.88);
  margin: 0;
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.coll-row__arrow {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.92);
  color: var(--color-ink, #3C3530);
  font-size: 1.1rem;
  transition: background .2s, color .2s, transform .2s;
}
.coll-row:hover .coll-row__arrow {
  background: var(--color-gold-lt, #e0c178);
  color: #3C3530;
  transform: translateX(3px);
}

/* ── 오른쪽: 이미지 세로 스크롤 (2열 마퀴) ── */
.collection-split__media {
  position: relative;
  height: 100%;             /* 좌측 리스트와 동일 높이 */
  border-radius: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
}
/* 모바일 + 태블릿 세로 — 마퀴 영역 충분히 길게 (이미지 1장만 보이던 문제 해결)
   기존 420px → vh 비례로 700~1100px (약 2~2.6배 확장) */
@media (max-width: 767.98px),
       (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
  .collection-split__media {
    height: clamp(700px, 85vh, 1100px);
  }
}
.coll-marquee {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
  align-items: start;
  height: 100%;
}
.coll-marquee__col {
  display: block;
  will-change: transform;
  animation: coll-scroll-up 34s linear infinite;
}
.coll-marquee__col--down {
  animation-name: coll-scroll-down;
  animation-duration: 28s;
}
/* 균일한 비율(3:4) + margin-bottom → 그룹 2배 복제 시 -50%가 정확히 한 그룹 = 이음매 없음 */
.coll-marquee__col img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 12px;
  display: block;
}
.collection-split__media:hover .coll-marquee__col {
  animation-play-state: paused;
}
@keyframes coll-scroll-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes coll-scroll-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .coll-marquee__col { animation: none; }
  .collection-split__media { overflow-y: auto; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. 카테고리 배너 그리드
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cat-banner-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 992px) {
  .cat-banner-section { padding-top: 7rem; padding-bottom: 7rem; }
}
.cat-banner-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}
@media (min-width: 640px) {
  .cat-banner-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cat-banner-item--tall {
    grid-row: span 2;
  }
}
@media (min-width: 992px) {
  .cat-banner-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
  }
  .cat-banner-item--tall {
    grid-row: span 2;
    grid-column: 1;
  }
  .cat-banner-item:nth-child(2) { grid-column: 2; }
  .cat-banner-item:nth-child(3) { grid-column: 3; }
}

.cat-banner-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-radius: 3px;
  overflow: hidden;
  min-height: 160px;
  text-decoration: none;
  cursor: pointer;
}
@media (min-width: 992px) {
  .cat-banner-item--tall { min-height: 412px; }
  .cat-banner-item:not(.cat-banner-item--tall) { min-height: 196px; }
}
.cat-banner-item__bg {
  position: absolute;
  inset: 0;
  transition: transform .5s ease;
}
.cat-banner-item:hover .cat-banner-item__bg { transform: scale(1.04); }
.cat-banner-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
  transition: opacity .3s;
}
.cat-banner-item:hover::after { opacity: .8; }
.cat-banner-item__body {
  position: relative;
  z-index: 1;
  padding: 1.2rem 1.2rem;
}
.cat-banner-item__en {
  font-size: .6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-lt);
  opacity: .8;
  margin: 0 0 4px;
  font-weight: 400;
}
.cat-banner-item__title {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}
@media (min-width: 992px) {
  .cat-banner-item--tall .cat-banner-item__title { font-size: 1.5rem; }
}
.cat-banner-item__link {
  font-size: .72rem;
  color: var(--color-gold-lt);
  opacity: .8;
  transition: opacity .2s;
}
.cat-banner-item:hover .cat-banner-item__link { opacity: 1; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. 렌탈 프로세스
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* 예약 가이드 2열 (렌탈 + 코디네이션 한 줄) */
.guide-duo-section {
  padding: 3rem 0;
}
@media (min-width: 992px) {
  .guide-duo-section { padding: 6rem 0; }
}
.guide-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 767px) {
  .guide-duo { grid-template-columns: 1fr; gap: 1rem; }
}
.guide-panel {
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,.12);
}
.guide-panel--rental {
  background: linear-gradient(135deg, #7B8EC4 0%, #9098C8 100%);
}
.guide-panel--coord {
  background: linear-gradient(135deg, #3C3530 0%, #574b41 100%);
}

.rental-process-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.r-step {
  text-align: center;
}
.r-step__num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  background: rgba(184,145,63,.12);
  color: var(--color-gold-lt);
  font-size: .85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 5px;
}
.r-step__label {
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
}
.r-step__arrow {
  color: var(--color-gold);
  opacity: .4;
  font-size: 1rem;
  margin-bottom: 20px;
}
@media (max-width: 575px) {
  .r-step__num { width: 32px; height: 32px; font-size: .75rem; }
  .r-step__label { font-size: .62rem; }
}

/* RENTAL 패널은 보라 배경 — 단계 원/라벨/화살표를 흰색 톤으로 가독성 ↑
   (코디 패널은 다크 갈색이라 기존 gold 톤 유지) */
.guide-panel--rental .r-step__num {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
}
.guide-panel--rental .r-step__label {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}
.guide-panel--rental .r-step__arrow {
  color: rgba(255, 255, 255, 0.75);
  opacity: 1;
}

/* 가이드 패널(렌탈/코디) — 버튼 톤다운 + 글자 700 으로 가독성 ↑
   보라 배경 + 다크 갈색 배경 둘 다 같은 처리로 일관성 확보 */
.guide-panel .btn-gold {
  background-color: var(--color-gold-lt, #d9b87a);
  color: #2a221a;
  font-weight: 700;
  letter-spacing: -.01em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}
.guide-panel .btn-gold:hover,
.guide-panel .btn-gold:focus-visible {
  background-color: #e5c794;
  color: #1c1612;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. 서비스 카드
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.svc-card {
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.svc-card:hover {
  box-shadow: 0 4px 16px rgba(44,62,107,.1);
  transform: translateY(-2px);
}
.svc-card--gold-accent { border-top: 2px solid var(--color-gold, #b88a3a); }

.svc-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
/* 아이콘 색상 변형 */
.svc-card__icon--mist { background: var(--color-jjok-mist, #e0e6f1); color: var(--color-jjok, #2f3a5e); }
.svc-card__icon--gold { background: var(--color-gold-tint, #f4ecd8); color: var(--color-gold-dk, #826b47); }
.svc-card__icon--jaju { background: var(--color-jaju-lt, #f3e6ed); color: var(--color-jaju, #a35585); }

.svc-card__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink, #1a1a1a);
  margin-bottom: .55rem;
}
.svc-card__desc {
  font-size: .82rem;
  line-height: 1.55;
  color: var(--color-ink-lt, #888);
  margin: 0;
}

/* 다크 모드 */
[data-theme="dark"] .svc-card {
  background: var(--color-surface-card, #232323);
  border-color: var(--color-border, #3a3a3a);
}
[data-theme="dark"] .svc-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .svc-card--gold-accent { border-top-color: var(--color-gold, #b88a3a); }
[data-theme="dark"] .svc-card__title { color: var(--color-ink, #f0eee9); }
[data-theme="dark"] .svc-card__desc { color: var(--color-ink-muted, #b8b8b8); }
[data-theme="dark"] .svc-card__icon--mist { background: rgba(123, 142, 196, 0.22); color: var(--color-jjok-mist, #c5cde2); }
[data-theme="dark"] .svc-card__icon--gold { background: rgba(184, 138, 58, 0.22); color: var(--color-gold-lt, #e3c989); }
[data-theme="dark"] .svc-card__icon--jaju { background: rgba(163, 85, 133, 0.22); color: #c987ad; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   10. 포토 갤러리 — 인터랙티브 뷰어
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.photo-gallery-section {
  background: #f8f6f3;
}

/* ── 다크 모드 — 포토 갤러리 섹션 ───────────────────────────── */
[data-theme="dark"] .photo-gallery-section {
  background: #1A1814;
}
[data-theme="dark"] .photo-gallery-section .sec-heading {
  border-left-color: var(--color-gold-lt, #e0c178);
}
[data-theme="dark"] .photo-gallery-section .sec-heading__en {
  color: #E0C178;                       /* gold-lt — 다크 배경 위에서 또렷 */
}
[data-theme="dark"] .photo-gallery-section .sec-heading__ko {
  color: #EDE8E0;                       /* ink (다크) */
}
[data-theme="dark"] .photo-gallery-section .sec-more-link {
  color: #A4B3D8;                       /* jjok-lt */
  border-color: rgba(164,179,216,.4);
}
[data-theme="dark"] .photo-gallery-section .sec-more-link:hover {
  background: rgba(164,179,216,.12);
  border-color: #A4B3D8;
  color: #EDE8E0;
}
/* 뷰어 — 메인 이미지 박스는 이미 어두운(#111) 배경이라 그대로 OK */
[data-theme="dark"] .gallery-viewer__main {
  background: #0E0C08;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.55);
}
/* 썸네일 — 다크에서 더 깊은 톤 + 활성 테두리 밝게 */
[data-theme="dark"] .gallery-viewer__thumb {
  background: #0E0C08;
  opacity: .55;                         /* 비활성 살짝 더 흐리게(대비 강조) */
}
[data-theme="dark"] .gallery-viewer__thumb:hover {
  opacity: 1;
}
[data-theme="dark"] .gallery-viewer__thumb.is-active {
  border-color: #A4B3D8;                /* jjok-lt — 활성 강조 */
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(164,179,216,.18);
}
/* 썸네일 스크롤바 색 다크 톤 */
[data-theme="dark"] .gallery-viewer__thumbs-wrap {
  scrollbar-color: #5A5550 transparent;
}
[data-theme="dark"] .gallery-viewer__thumbs-wrap::-webkit-scrollbar-thumb {
  background: #5A5550;
}
/* 진행바 색 — 다크에서도 jjok-lt 로 또렷하게 */
[data-theme="dark"] .gallery-player__progress-fill {
  background: #A4B3D8;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   코디 갤러리 섹션 (포토 갤러리 하단)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.coord-gallery-section {
  background: #fff;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
@media (min-width: 992px) {
  .coord-gallery-section { padding-top: 4rem; padding-bottom: 5rem; }
}

.coord-gallery-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 1rem 0 1.25rem;
  padding: .5rem .9rem;
  font-size: .8rem;
  color: var(--color-ink-mid);
  background: rgba(123, 142, 196, .08);
  border: 1px solid rgba(123, 142, 196, .18);
  border-radius: 999px;
  line-height: 1.2;
}
.coord-gallery-hint i {
  color: var(--color-jjok-dk);
  font-size: .9rem;
}
.coord-gallery-hint strong {
  color: var(--color-jjok-dk);
  font-weight: 600;
}

.coord-gallery-card__zoom {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
}
.coord-gallery-card__zoom i {
  font-size: .82rem;
  opacity: .95;
}

/* 코디 갤러리 — 상품 섹션과 동일 분기 매트릭스로 통일
   <992 : 2열 (모바일·태블릿 세로)
   992~1499 : 3열 (태블릿 가로 + 작은 노트북)
   ≥1500 : 4열 (데스크톱)
   + 안전: 768~1499 + orientation:landscape 도 3열 */
.coord-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 992px) and (max-width: 1499.98px) {
  .coord-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (min-width: 768px) and (max-width: 1499.98px) and (orientation: landscape) {
  .coord-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (min-width: 1500px) {
  .coord-gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

.coord-gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  background: #F0EBE3;
  box-shadow:
    0 1px 4px rgba(60,50,40,.06),
    0 2px 12px rgba(60,50,40,.05);
  transition: transform .22s ease, box-shadow .22s ease;
}
.coord-gallery-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 6px 18px rgba(60,50,40,.13),
    0 2px 6px rgba(60,50,40,.07);
}
.coord-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.coord-gallery-card:hover img {
  transform: scale(1.05);
}

.coord-gallery-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: .9rem 1rem;
  background: linear-gradient(
    to top,
    rgba(10,8,6,.72) 0%,
    rgba(10,8,6,.30) 45%,
    rgba(10,8,6,.05) 75%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity .22s ease;
  color: #fff;
}
.coord-gallery-card:hover .coord-gallery-card__overlay {
  opacity: 1;
}
.coord-gallery-card__title {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1;
  margin-right: .5rem;
}
.coord-gallery-card__icon {
  font-size: .95rem;
  opacity: .9;
  flex-shrink: 0;
}

/* ── 다크 모드 ── */
[data-theme="dark"] .coord-gallery-section {
  background: #1A1814;
}
[data-theme="dark"] .coord-gallery-section .sec-heading__en {
  color: #A4B3D8;
}
[data-theme="dark"] .coord-gallery-section .sec-heading__ko {
  color: #EDE8E0;
}
[data-theme="dark"] .coord-gallery-section .sec-more-link {
  color: #A4B3D8;
  border-color: rgba(164,179,216,.4);
}
[data-theme="dark"] .coord-gallery-section .sec-more-link:hover {
  background: rgba(164,179,216,.12);
  border-color: #A4B3D8;
  color: #EDE8E0;
}
[data-theme="dark"] .coord-gallery-card {
  background: #2A2620;
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow:
    0 10px 28px -10px rgba(0, 0, 0, .55),
    0 4px 10px -3px rgba(0, 0, 0, .32);
}
[data-theme="dark"] .coord-gallery-card:hover {
  box-shadow:
    0 16px 36px -10px rgba(0, 0, 0, .65),
    0 6px 14px -4px rgba(0, 0, 0, .40);
}
/* 이미지 자체에 미세한 inset outline — 다크 배경 위에서 카드 경계 또렷 */
[data-theme="dark"] .coord-gallery-card img {
  outline: 1px solid rgba(255, 255, 255, .04);
  outline-offset: -1px;
}
/* 호버 오버레이 — 다크에서도 충분히 어둡게 유지 (그대로 OK) +
   제목 텍스트는 다크 본문 cascade 받지 않도록 #fff 강제 */
[data-theme="dark"] .coord-gallery-card__title {
  color: #fff;
}
[data-theme="dark"] .coord-gallery-card__icon {
  color: #fff;
}
[data-theme="dark"] .coord-gallery-hint {
  color: #C0B8AC;                                /* ink-mid 다크 */
  background: rgba(164, 179, 216, .10);
  border-color: rgba(164, 179, 216, .26);
}
[data-theme="dark"] .coord-gallery-hint i,
[data-theme="dark"] .coord-gallery-hint strong {
  color: #A4B3D8;                                /* jjok-lt */
}

/* ─ 뷰어 레이아웃: 메인 : 썸네일 = 55 : 45 (메인 약 10% 확대) ─ */
/* 높이는 JS(fitRows)가 썸네일 행 단위로 스냅해 인라인 지정. 아래는 폴백값. */
.gallery-viewer {
  display: grid;
  grid-template-columns: 11fr 9fr;
  gap: 10px;
  align-items: stretch;
}

/* ─ 메인 확대 이미지 ─ */
.gallery-viewer__main {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  background: #111;
  height: 480px;            /* JS 미동작 시 폴백 */
}
@media (max-width: 991px) {
  .gallery-viewer__main { height: 360px; }
}
.gallery-viewer__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, opacity .2s ease;
}
.gallery-viewer__main-img { cursor: zoom-in; }

/* ─ 플레이어 컨트롤 ─ */
.gallery-player__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s, background .2s;
  z-index: 3;
}
.gallery-viewer__main:hover .gallery-player__nav { opacity: 1; }
.gallery-player__nav:hover { background: rgba(0,0,0,.72); }
.gallery-player__nav--prev { left: 12px; }
.gallery-player__nav--next { right: 12px; }

/* 하단 컨트롤 바 */
.gallery-player__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 16px 13px;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0));
  color: #fff;
  z-index: 3;
}
.gallery-player__btn {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: background .2s;
}
.gallery-player__btn:hover { background: rgba(255,255,255,.2); }
.gallery-player__title {
  flex: 1 1 auto;
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-player__count {
  flex: 0 0 auto;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .3px;
  opacity: .92;
  white-space: nowrap;
}

/* 진행 바 */
.gallery-player__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,.22);
  z-index: 4;
  opacity: 0;
  transition: opacity .2s;
}
.gallery-player.is-playing .gallery-player__progress { opacity: 1; }
.gallery-player__progress-fill {
  height: 100%;
  width: 0;
  background: var(--jjok-main, #8b1a2f);
}
.gallery-player.is-playing .gallery-player__progress-fill {
  animation: gallery-player-progress 3500ms linear forwards;
}
@keyframes gallery-player-progress {
  from { width: 0; }
  to { width: 100%; }
}

/* ─ 썸네일 스크롤 래퍼 (행 단위 스냅 높이 → 오버플로 스크롤) ─ */
.gallery-viewer__thumbs-wrap {
  height: 480px;            /* JS 미동작 시 폴백, fitRows가 인라인으로 덮어씀 */
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
@media (max-width: 991px) {
  .gallery-viewer__thumbs-wrap { height: 360px; }
}
.gallery-viewer__thumbs-wrap::-webkit-scrollbar { width: 4px; }
.gallery-viewer__thumbs-wrap::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

/* ─ 썸네일 그리드 (높이 미지정 → 행이 이미지 크기로 자연 결정됨) ─ */
.gallery-viewer__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  align-content: start;
}

.gallery-viewer__thumb {
  display: block;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  background: #111;
  transition: border-color .2s, opacity .2s;
  opacity: .7;
  padding: 0;
}
.gallery-viewer__thumb.is-active {
  border-color: var(--jjok-main, #8b1a2f);
  opacity: 1;
}
.gallery-viewer__thumb:hover { opacity: 1; }
.gallery-viewer__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.gallery-viewer__thumb:hover img { transform: scale(1.06); }

/* ─ 모바일·태블릿 세로: 세로 스택, 썸네일 가로 스크롤 스트립 ─
   기존 좌우 분할 11fr/9fr 그대로면 우측 좁은 영역에 썸네일 2열 → 각 썸네일이 매우 큼.
   메인 위 / 썸네일 아래 가로 스크롤 패턴(인스타·네이버 갤러리 스타일) 으로 전환. */
@media (max-width: 767.98px),
       (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
  .gallery-viewer {
    grid-template-columns: 1fr !important;
    height: auto;
  }
  .gallery-viewer__main {
    height: auto !important;
    aspect-ratio: 4 / 3;
  }
  .gallery-viewer__thumbs-wrap {
    height: auto !important;
    max-height: 100px;
    overflow-y: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-viewer__thumbs {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(70px, 18vw, 100px);   /* 화면 폭 비례 썸네일 */
    gap: 6px;
    padding-bottom: 4px;
  }
  .gallery-viewer__thumb img {
    aspect-ratio: 4 / 3;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11. 룩북 카드
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.lookbook-card {
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s;
}
.lookbook-card:hover { box-shadow: 0 4px 16px rgba(44,62,107,.12); }
.lookbook-card__img {
  height: 220px;
  overflow: hidden;
}
.lookbook-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}
.lookbook-card:hover .lookbook-card__img img { transform: scale(1.05); }
.lookbook-card__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-mosi);
  color: var(--color-ink-lt);
  font-size: 2rem;
}
.lookbook-card__body { padding: .9rem 1rem; }
.lookbook-card__title {
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-jjok);
  margin-bottom: 4px;
}
.lookbook-card__desc {
  font-size: .78rem;
  color: var(--color-ink-lt);
  margin: 0;
  line-height: 1.5;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   12. 카카오 배너
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.kakao-banner-section {
  background: linear-gradient(135deg, #C89098 0%, #D8A0AA 100%);
  padding: 1.5rem 0;
}
@media (min-width: 992px) {
  .kakao-banner-section { padding: 4.5rem 0; }
}
.kakao-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .kakao-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.sns-btn {
  background: rgba(255,255,255,.14);
  border: .5px solid rgba(255,255,255,.28);
  color: #fff;
  border-radius: 2px;
  transition: background .15s;
}
.sns-btn:hover {
  background: rgba(255,255,255,.24);
  color: #fff;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   13. 리뷰 카드
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.review-card {
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: #fff;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  box-shadow: 0 4px 14px rgba(44,62,107,.1);
  transform: translateY(-2px);
}
.review-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: .65rem;
}
.review-stars {
  color: var(--color-gold);
  font-size: .9rem;
  letter-spacing: 1px;
}
.review-badge {
  font-size: .62rem;
  background: var(--color-jjok);
  color: var(--color-gold-lt);
  padding: 2px 6px;
  border-radius: 1px;
  letter-spacing: .5px;
}
.review-card__content {
  font-size: .85rem;
  line-height: 1.7;
  color: var(--color-ink, #1a1a1a);
  margin-bottom: .85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}
.review-card__images {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: .65rem;
}
.review-card__images img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 4px;
}
.review-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px solid var(--color-border-trad, #ebe6dc);
  font-size: .78rem;
}
.review-card__product {
  color: var(--color-ink-lt, #888);
  text-decoration: none;
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .15s ease;
}
.review-card__product:hover {
  color: var(--color-jjok-dk, #232a44);
}
.review-card__author {
  color: var(--color-ink-lt, #888);
  flex-shrink: 0;
}

/* 다크 모드 */
[data-theme="dark"] .review-card {
  background: var(--color-surface-card, #232323);
  border-color: var(--color-border, #3a3a3a);
}
[data-theme="dark"] .review-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .review-card__content { color: var(--color-ink, #f0eee9); }
[data-theme="dark"] .review-card__footer {
  border-top-color: var(--color-border, #3a3a3a);
}
[data-theme="dark"] .review-card__product,
[data-theme="dark"] .review-card__author { color: var(--color-ink-muted, #b8b8b8); }
[data-theme="dark"] .review-card__product:hover { color: var(--color-gold-lt, #e3c989); }
[data-theme="dark"] .review-stars { color: var(--color-gold-lt, #e3c989); }
[data-theme="dark"] .review-badge {
  background: var(--color-gold-dk, #826b47);
  color: var(--color-gold-lt, #e3c989);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WORLD COSTUME 섹션
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.world-section {
  background: #1c2b3a;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}
@media (min-width: 992px) {
  .world-section { padding-top: 4.5rem; padding-bottom: 5.5rem; }
}

/* 헤더 */
.world-sec-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .world-sec-head { align-items: flex-end; margin-bottom: 2.5rem; }
}
.world-sec-head__en {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(196,160,80,.9);
  margin: 0 0 6px;
}
.world-sec-head__ko {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}
@media (min-width: 768px) {
  .world-sec-head__ko { font-size: 1.7rem; }
}
.world-sec-head__sub {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin: 0;
  line-height: 1.6;
}

/* 더보기 버튼 (다크 배경용) */
.world-more-btn {
  border-color: rgba(196,160,80,.5);
  color: rgba(196,160,80,.9);
}
.world-more-btn:hover {
  background: rgba(196,160,80,.15);
  color: var(--color-gold-lt);
  border-color: var(--color-gold-lt);
}

/* 그리드 */
.world-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 576px) {
  .world-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 992px) {
  .world-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

/* 카드 다크 테마 */
.world-section .product-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.world-section .product-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.08);
  border-color: rgba(196,160,80,.3);
}
.world-section .product-card__img {
  padding: 0;
  background: transparent;
  border-radius: 14px 14px 0 0;
}
.world-section .product-card__img img {
  border-radius: 14px 14px 0 0;
  outline: 1px solid rgba(255,255,255,.08);
  transition: transform .38s ease;
}
.world-section .product-card:hover .product-card__img img {
  transform: scale(1.04);
}
.world-section .product-card__body {
  background: transparent;
  border-radius: 0 0 14px 14px;
}
.world-section .product-card__cat {
  color: rgba(196,160,80,.85);
}
.world-section .product-card__name {
  color: rgba(255,255,255,.9);
}
.world-section .product-card__name a {
  color: inherit;
}
.world-section .product-card__name a:hover {
  color: var(--color-gold-lt);
}
.world-section .product-card__summary {
  color: rgba(255,255,255,.45);
}
.world-section .product-card__price-row {
  border-top-color: rgba(255,255,255,.08);
}
.world-section .product-card__price {
  color: var(--color-gold-lt);
}
.world-section .product-card__unit {
  color: rgba(255,255,255,.4);
}
.world-section .product-card__noimg {
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.3);
  border-radius: 14px 14px 0 0;
}
.world-section .product-card__type-tag--rental {
  background: rgba(196,160,80,.18);
  color: var(--color-gold-lt);
  border-color: rgba(196,160,80,.3);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BEST ITEM — 가로 슬라이드 섹션
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.best-slide-section {
  background: #fff;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  overflow: hidden;
}
@media (min-width: 992px) {
  .best-slide-section { padding-top: 4rem; padding-bottom: 5rem; }
}

/* 헤더 */
.best-slide-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}
.best-slide-head__en {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--color-jjok);
  margin: 0 0 4px;
  text-transform: uppercase;
}
.best-slide-head__ko {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  letter-spacing: -.01em;
}
@media (min-width: 768px) {
  .best-slide-head__ko { font-size: 1.7rem; }
}

/* 슬라이드 화살표 — 데스크톱: 좌우 외곽 / 태블릿·모바일: 카드 이미지 위 반투명 오버레이 */
.best-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #2E2A26;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.30), 0 2px 6px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.45rem;
  transition: background .16s, color .16s, box-shadow .16s, transform .16s;
  flex-shrink: 0;
}
.best-slide-arrow > i { -webkit-text-stroke: 0.5px currentColor; }
.best-slide-arrow--prev { left: -16px; }
.best-slide-arrow--next { right: -16px; }
.best-slide-arrow:hover:not(:disabled) {
  background: var(--color-jjok-dk);
  color: #fff;
  box-shadow: 0 6px 22px rgba(60,50,40,.34);
  transform: translateY(-50%) scale(1.1);
}
.best-slide-arrow:focus-visible {
  outline: 3px solid var(--color-jjok);
  outline-offset: 2px;
}
.best-slide-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

/* 태블릿·모바일(<992px) — 컬렉션 화살표(15f56c0/1581209) 와 동일 패턴
   흰 반투명 + 컴팩트 + chevron stroke + 카드 가장자리 50/50 걸침 */
@media (max-width: 991px) {
  .best-slide-section { overflow: visible; }
  .best-slide-viewport {
    overflow: visible;
    padding: 0;
    --best-arrow-half: clamp(16px, 2.6vw, 23px);
  }
  .best-slide-arrow {
    width: clamp(32px, 5.2vw, 46px);
    height: clamp(32px, 5.2vw, 46px);
    font-size: clamp(0.95rem, 2.1vw, 1.4rem);
    color: var(--color-ink, #2e2a26);
    top: clamp(120px, 36vw, 360px);   /* 첫 카드 이미지(2/3 비율) 세로 중앙 */
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(60, 50, 40, 0.14);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14), 0 1px 4px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  /* chevron 두께 강화 — 작아져도 또렷 */
  .best-slide-arrow > i {
    -webkit-text-stroke: 1px currentColor;
  }
  /* 카드 위 60% / 바깥 40% — half × 0.8 = 폭 × 0.4 = 바깥 비율 */
  .best-slide-arrow--prev { left: calc(-0.8 * var(--best-arrow-half)); }
  .best-slide-arrow--next { right: calc(-0.8 * var(--best-arrow-half)); }
  .best-slide-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-jjok-dk, #232a44);
    border-color: rgba(60, 50, 40, 0.22);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    transform: translateY(-50%) scale(1.06);
  }
}

/* 슬라이드 뷰포트 — 넘치는 카드 클리핑 + 화살표 기준점
   <992px (태블릿·모바일): 카테고리별 의상과 동일하게 풀폭 + 화살표 오버레이
   ≥992px (데스크톱): 좌우 28px 여백으로 화살표 외곽 배치 */
.best-slide-viewport {
  position: relative;
  overflow: hidden;
  padding: 0;
}
@media (min-width: 992px) {
  .best-slide-viewport { padding: 0 28px; }
}

.best-slide-track {
  display: flex;
  gap: 8px;                          /* <992px 카테고리별 의상과 동일 */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.best-slide-track::-webkit-scrollbar { display: none; }
@media (min-width: 992px) {
  .best-slide-track { gap: 12px; }   /* 슬라이더 느낌 — 카드 사이 시각 분리 */
}

/* 슬라이더 시각 신호 — 양쪽 가장자리 부드러운 fade (992+ 만 — 모바일은 화살표 오버레이) */
@media (min-width: 992px) {
  .best-slide-viewport::before,
  .best-slide-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 56px;
    z-index: 5;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  .best-slide-viewport::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.85) 35%, rgba(255,255,255,0) 100%);
  }
  .best-slide-viewport::after {
    right: 0;
    background: linear-gradient(-90deg, #fff 0%, rgba(255,255,255,0.85) 35%, rgba(255,255,255,0) 100%);
  }
  /* 양 끝 도달 시 해당 fade 숨김 (JS 가 .is-at-start / .is-at-end 토글) */
  .best-slide-viewport.is-at-start::before { opacity: 0; }
  .best-slide-viewport.is-at-end::after   { opacity: 0; }
}

/* 슬라이더 진행 바 — 트랙 하단 얇은 라인, 스크롤 위치 시각화 */
.best-slide-progress {
  position: relative;
  height: 3px;
  margin: .85rem auto 0;
  max-width: 280px;
  background: rgba(60, 50, 40, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.best-slide-progress__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  background: var(--color-gold, #c4a050);
  border-radius: 999px;
  transition: width .2s ease, transform .2s ease;
  transform: translateX(0);
}
@media (min-width: 992px) {
  .best-slide-progress { max-width: 360px; }
}
@media (min-width: 1500px) {
  .best-slide-progress { max-width: 440px; }
}

/* 모바일·태블릿 세로(<992px): 한 화면에 2개 — 카테고리별 의상과 가로 폭 통일 */
.best-slide-item {
  flex: 0 0 calc((100% - 8px) / 2);
  min-width: 0;
  scroll-snap-align: start;
}
/* 태블릿 가로(992~1499px): 한 화면에 3개
   범위: iPad Pro 11/12.9"(1194~1366) /
         Galaxy Tab S7(1280) / Tab S7+(1400) / Tab S8 Ultra(1480) 모두 포함 */
@media (min-width: 992px) and (max-width: 1499.98px) {
  .best-slide-item { flex: 0 0 calc((100% - 2 * 4px) / 3); }
}

/* 안전 분기 — viewport 가 작게 보고돼도 '가로 모드 + 태블릿 폭' 이면 3개
   (Samsung Internet 등 viewport 처리 이슈 보완) */
@media (min-width: 768px) and (max-width: 1499.98px) and (orientation: landscape) {
  .best-slide-item { flex: 0 0 calc((100% - 2 * 4px) / 3); }
}

/* 일반 PC(992~1499) — 모바일/태블릿과 동일 톤 (흰 반투명 + 컴팩트 + 50/50 걸침) */
@media (min-width: 992px) and (max-width: 1499.98px) {
  .best-slide-section { overflow: visible; }
  .best-slide-viewport {
    padding: 0;
    overflow: visible;
    --best-arrow-half-pc: 22px;  /* 화살표 폭 44 / 2 */
  }
  .best-slide-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    color: var(--color-ink, #2e2a26);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(60, 50, 40, 0.14);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14), 0 1px 4px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .best-slide-arrow > i { -webkit-text-stroke: 1px currentColor; }
  /* 카드 위 60% / 바깥 40% */
  .best-slide-arrow--prev { left: calc(-0.8 * var(--best-arrow-half-pc)); }
  .best-slide-arrow--next { right: calc(-0.8 * var(--best-arrow-half-pc)); }
  .best-slide-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-jjok-dk, #232a44);
    border-color: rgba(60, 50, 40, 0.22);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    transform: translateY(-50%) scale(1.06);
  }
}

/* 광폭 PC(≥1500px): 5개 한 화면 + 컨테이너 폭 확장 + 화살표 컨테이너 바깥 + 톤다운 */
@media (min-width: 1500px) {
  .best-slide-item { flex: 0 0 calc((100% - 4 * 4px) / 5); }
  /* overflow visible — 화살표가 컨테이너 바깥에 보이게 (트랙 자체 overflow-x:auto 는 그대로) */
  .best-slide-section { overflow: visible; }
  .best-slide-viewport { padding: 0; overflow: visible; }
  /* 컨테이너 폭 확장 (1320 → 1680) */
  .best-slide-section > .container-xl { max-width: 1680px; }
  /* 화살표 컨테이너 바깥 */
  .best-slide-arrow--prev { left: -64px; }
  .best-slide-arrow--next { right: -64px; }
  /* 톤다운 — 흰색 + 옅은 보더 + 부드러운 그림자 */
  .best-slide-arrow {
    background: #ffffff;
    color: var(--color-ink, #2e2a26);
    border: 1px solid rgba(60, 50, 40, 0.10);
    box-shadow: 0 3px 14px rgba(60, 50, 40, 0.10);
  }
  .best-slide-arrow:hover:not(:disabled) {
    background: #f8f5ef;
    color: var(--color-jjok-dk, #232a44);
    border-color: rgba(60, 50, 40, 0.18);
    box-shadow: 0 6px 20px rgba(60, 50, 40, 0.14);
    transform: translateY(-50%) scale(1.06);
  }
  .best-slide-arrow:focus-visible {
    outline-color: var(--color-jjok, #4f91ba);
  }
}
/* 1700+ — 화살표를 좀 더 멀리 */
@media (min-width: 1700px) {
  .best-slide-arrow--prev { left: -76px; }
  .best-slide-arrow--next { right: -76px; }
}

/* 슬라이드 내 카드 스타일 — 카테고리별 의상과 통일 (보더·그림자) */
.best-slide-section .product-card {
  background: #fff;
  border: 1px solid rgba(60, 53, 48, .08);
  border-radius: 14px;
  box-shadow:
    0 1px 4px rgba(60,50,40,.06),
    0 2px 12px rgba(60,50,40,.05);
  transition: transform .22s ease, box-shadow .22s ease;
  height: 100%;
}
/* <992px 에선 카테고리별 의상과 동일하게 더 또렷한 그림자 */
@media (max-width: 991px) {
  .best-slide-section .product-card {
    box-shadow:
      0 6px 22px rgba(60,50,40,.10),
      0 2px 10px rgba(60,50,40,.06);
  }
}
.best-slide-section .product-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 6px 24px rgba(60,50,40,.11),
    0 2px 8px rgba(60,50,40,.06);
}
.best-slide-section .product-card__img {
  padding: 0;
  background: transparent;
  border-radius: 14px 14px 0 0;
}
.best-slide-section .product-card__img img {
  border-radius: 14px 14px 0 0;
  outline: 1px solid rgba(180,160,130,.15);
  transition: transform .38s ease;
}
.best-slide-section .product-card:hover .product-card__img img {
  transform: scale(1.04);
}
.best-slide-section .product-card__body {
  background: #fff;
  border-radius: 0 0 14px 14px;
}
.best-slide-section .product-card__price-row {
  border-top-color: rgba(0,0,0,.06);
}
.best-slide-section .product-card__noimg {
  border-radius: 8px;
  outline: 1px solid rgba(180,160,130,.18);
}

/* ── 다크 모드 — 인기 상품 (BEST ITEM) 섹션 ───────────────────── */
[data-theme="dark"] .best-slide-section {
  background: #1A1814;
}
[data-theme="dark"] .best-slide-head__en {
  color: #A4B3D8;                /* jjok-lt */
}
[data-theme="dark"] .best-slide-head__ko {
  color: #EDE8E0;                /* ink (다크) */
}
[data-theme="dark"] .best-slide-section .sec-more-link {
  color: #A4B3D8;
  border-color: rgba(164,179,216,.4);
}
[data-theme="dark"] .best-slide-section .sec-more-link:hover {
  background: rgba(164,179,216,.12);
  border-color: #A4B3D8;
  color: #EDE8E0;
}
[data-theme="dark"] .best-slide-arrow {
  border-color: #5A5550;
  background: #1E1C16;
  color: #EDE8E0;
}
[data-theme="dark"] .best-slide-arrow:hover:not(:disabled) {
  background: var(--color-jjok);
  color: #fff;
}
/* 카드는 흰 박스 그대로 유지 (다크 섹션 위 가독성 보장) */
[data-theme="dark"] .best-slide-section .product-card {
  background: #fff;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow:
    0 10px 28px -10px rgba(0, 0, 0, .55),
    0 4px 10px -3px rgba(0, 0, 0, .32);
}
[data-theme="dark"] .best-slide-section .product-card:hover {
  box-shadow:
    0 16px 36px -10px rgba(0, 0, 0, .65),
    0 6px 14px -4px rgba(0, 0, 0, .40);
}
[data-theme="dark"] .best-slide-section .product-card__body {
  background: #fff;
}
[data-theme="dark"] .best-slide-section .product-card__img img {
  outline-color: rgba(60, 53, 48, .08);
}

/* ── 다크모드 — 인기 상품·카테고리별 의상 카드 내부 텍스트는 라이트 색상 유지
   (카드 자체는 흰 박스이므로 텍스트도 라이트모드 컬러로 강제) ───── */
[data-theme="dark"] .best-slide-section .product-card__cat,
[data-theme="dark"] .collection-section .product-card__cat {
  color: #5C70AC;                       /* --color-jjok-dk 라이트 */
}
[data-theme="dark"] .best-slide-section .product-card__name,
[data-theme="dark"] .collection-section .product-card__name,
[data-theme="dark"] .best-slide-section .product-card__name a,
[data-theme="dark"] .collection-section .product-card__name a {
  color: #3C3530;                       /* --color-ink 라이트 */
}
[data-theme="dark"] .best-slide-section .product-card__name a:hover,
[data-theme="dark"] .collection-section .product-card__name a:hover {
  color: #5C70AC;
}
[data-theme="dark"] .best-slide-section .product-card__summary,
[data-theme="dark"] .collection-section .product-card__summary {
  color: #7A7068;                       /* --color-ink-mid 라이트 */
}
[data-theme="dark"] .best-slide-section .product-card__price,
[data-theme="dark"] .collection-section .product-card__price {
  color: #5C70AC;                       /* --color-jjok-dk */
}
[data-theme="dark"] .best-slide-section .product-card__unit,
[data-theme="dark"] .collection-section .product-card__unit,
[data-theme="dark"] .best-slide-section .product-card__price-sale,
[data-theme="dark"] .collection-section .product-card__price-sale {
  color: #B0A898;                       /* --color-ink-lt 라이트 */
}
[data-theme="dark"] .best-slide-section .product-card__price-row,
[data-theme="dark"] .collection-section .product-card__price-row {
  border-top-color: rgba(0, 0, 0, .05);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   13-C. 카테고리별 추천 섹션
   인기 상품과 동일한 스타일 적용
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   컬렉션 섹션 (HTMX 탭 + 그리드)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.collection-section {
  background: #faf9f7;
  padding-top: 3rem;
  padding-bottom: 4.5rem;
}
@media (min-width: 992px) {
  .collection-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
  }
}

/* 섹션 헤더 */
.collection-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}
.collection-sec-head__en {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--color-jjok);
  margin: 0 0 4px;
  text-transform: uppercase;
}
.collection-sec-head__ko {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  letter-spacing: -.01em;
}
@media (min-width: 768px) {
  .collection-sec-head__ko { font-size: 1.7rem; }
}

/* 탭 네비게이션 */
.collection-tab-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding-bottom: 0;
  /* 고급스러운 미묘한 그림자 (밑줄 아래로 은은하게) */
  box-shadow: 0 10px 18px -12px rgba(60,53,48,.40);
}
@media (min-width: 768px) {
  .collection-tab-nav { margin-bottom: 2.8rem; gap: 2px; }
}

.collection-tab-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  padding: .65rem 1.15rem;
  font-size: .9rem;
  font-weight: 400;
  color: var(--color-ink-mid);
  cursor: pointer;
  transition: color .16s, border-color .16s;
  letter-spacing: .01em;
  line-height: 1;
}
.collection-tab-btn:hover {
  color: var(--color-ink);
}
.collection-tab-btn.is-active {
  color: var(--color-jjok-dk);
  font-weight: 600;
  border-bottom-color: var(--color-jjok-dk);
}

/* 로딩 스피너 */
.collection-spinner {
  display: none;
  text-align: center;
  padding: 1rem 0;
}
.collection-spinner.htmx-request { display: block; }

/* 그리드 + 좌우 전환 버튼 */
.collection-grid-viewport {
  position: relative;
  padding: 0 64px;          /* 데스크톱: 좌우 화살표가 상품 위에 겹치지 않도록 여백 확보 */
}
@media (max-width: 991px) {
  .collection-grid-viewport { padding: 0; }   /* 태블릿·모바일: 풀폭 + 화살표 오버레이 */
}
.collection-nav-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #2E2A26;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.3), 0 2px 6px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.45rem;
  transition: background .16s, transform .16s, box-shadow .16s;
}
.collection-nav-arrow > i { -webkit-text-stroke: 0.5px currentColor; }
.collection-nav-arrow:hover {
  background: var(--color-jjok-dk);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 22px rgba(60,50,40,.34);
}
.collection-nav-arrow:focus-visible {
  outline: 3px solid var(--color-jjok);
  outline-offset: 2px;
}
.collection-nav-arrow--prev { left: 6px; }
.collection-nav-arrow--next { right: 6px; }

/* 태블릿·모바일(<992px) — 흰색 반투명 + 컴팩트 + 카드 가장자리 50/50 걸침
   카드 그리드는 풀폭 사용 (viewport padding 0)
   화살표는 left/right: -(폭/2) → container-xl padding 영역으로 절반 침범, 카드 위로 절반 */
@media (max-width: 991px) {
  .collection-grid-viewport {
    /* CSS 변수 — 화살표 폭의 절반 */
    --coll-arrow-half: clamp(16px, 2.6vw, 23px);
    padding: 0;
  }
  .collection-nav-arrow {
    /* 크기 축소 — 폭/높이 = --coll-arrow-half × 2 */
    width:  clamp(32px, 5.2vw, 46px);
    height: clamp(32px, 5.2vw, 46px);
    font-size: clamp(0.95rem, 2.1vw, 1.4rem);
    color: var(--color-ink, #2e2a26);
    /* 세로 위치 — 2/3 비율 2열 카드 이미지의 약 35% vw 지점 (대략 이미지 중앙) */
    top: clamp(120px, 36vw, 360px);
    /* 흰색 반투명 + 옅은 보더 + 부드러운 그림자 (PC 광폭 패턴과 일관) */
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(60, 50, 40, 0.14);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14), 0 1px 4px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  /* chevron 두께 강화 — 작아져도 또렷 */
  .collection-nav-arrow > i {
    -webkit-text-stroke: 1px currentColor;
  }
  /* 화살표 중심을 카드 그리드 가장자리에 정렬
     → 화살표 50% 카드 위, 50% 카드 바깥(viewport padding 영역) */
  .collection-nav-arrow--prev { left: calc(-1 * var(--coll-arrow-half)); }
  .collection-nav-arrow--next { right: calc(-1 * var(--coll-arrow-half)); }
  .collection-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-jjok-dk, #232a44);
    border-color: rgba(60, 50, 40, 0.22);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    transform: translateY(-50%) scale(1.06);
  }
}

/* 탭 인디케이터 — 그리드 아래 점 표시 (현재 탭 + 클릭 이동) */
.collection-indicator {
  display: none;                                  /* 데스크톱에선 숨김 (탭 버튼으로 충분) */
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 22px auto 4px;
}
@media (max-width: 991px) {
  .collection-indicator { display: flex; }       /* 태블릿·모바일에서만 노출 */
}
.collection-indicator__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #C8C0B4;
  opacity: .55;
  cursor: pointer;
  transition: width .2s, opacity .2s, background .2s;
}
.collection-indicator__dot:hover { opacity: .85; }
.collection-indicator__dot.is-active {
  width: 26px;
  background: var(--color-jjok-dk);
  opacity: 1;
}
[data-theme="dark"] .collection-indicator__dot { background: rgba(255,255,255,.28); }
[data-theme="dark"] .collection-indicator__dot.is-active { background: var(--color-jjok-lt); }

/* 그리드 — 전체 상품 페이지(g-1 = 0.25rem)와 동일하게 좁게 */
.collection-section .prod-grid {
  column-gap: 4px;
  row-gap: 4px;
}
@media (min-width: 576px) {
  .collection-section .prod-grid { column-gap: 4px; row-gap: 4px; }
}
@media (min-width: 992px) {
  .collection-section .prod-grid { column-gap: 4px; row-gap: 4px; }
}

/* 태블릿·모바일(<992px) — 풀폭 2열 + 큼직한 카드, 좌·우 가장자리 카드 위에 화살표 오버레이 */
@media (max-width: 991px) {
  .collection-section .prod-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    row-gap: 10px;
    column-gap: 8px;
  }
  .collection-section .product-card {
    box-shadow:
      0 6px 22px rgba(60,50,40,.10),
      0 2px 10px rgba(60,50,40,.06);
  }
}

/* 12개 데이터 중 9번째부터 숨김 → 세로(portrait) 모바일·태블릿만 2×4 = 8개 노출
   가로(landscape) 모드는 안전 분기로 3열 12개 모두 표시 (3×4)
   — Galaxy Tab S7 처럼 viewport 가 ≤991 으로 보고돼도 가로 모드면 12개 보장 */
@media (max-width: 991.98px) and (orientation: portrait) {
  .collection-section .prod-grid > .prod-grid__item:nth-child(n+9) { display: none; }
}
/* 태블릿 가로(992~1499px) — 카테고리별 의상 3열
   범위: iPad Pro 11"(1194) / iPad Pro 12.9"(1366) /
         Galaxy Tab S7(1280) / Tab S7+(1400) / Tab S8 Ultra(1480) 모두 포함 */
@media (min-width: 992px) and (max-width: 1499.98px) {
  .collection-section .prod-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    row-gap: 8px;
    column-gap: 8px;
  }
}

/* 안전 분기 — viewport 가 작게 보고돼도 '가로 모드 + 태블릿 폭' 이면 3열
   (Samsung Internet 등 일부 브라우저 viewport 처리 이슈 보완) */
@media (min-width: 768px) and (max-width: 1499.98px) and (orientation: landscape) {
  .collection-section .prod-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    row-gap: 8px;
    column-gap: 8px;
  }
}

/* 일반 PC(992~1499) — 모바일/태블릿과 동일 톤 (흰 반투명 + 컴팩트 + 50/50 걸침) */
@media (min-width: 992px) and (max-width: 1499.98px) {
  .collection-section .collection-grid-viewport {
    padding: 0;
    --coll-arrow-half-pc: 22px;  /* 화살표 폭 44 / 2 */
  }
  .collection-section .collection-nav-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    color: var(--color-ink, #2e2a26);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(60, 50, 40, 0.14);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14), 0 1px 4px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .collection-section .collection-nav-arrow > i { -webkit-text-stroke: 1px currentColor; }
  .collection-section .collection-nav-arrow--prev { left: calc(-1 * var(--coll-arrow-half-pc)); }
  .collection-section .collection-nav-arrow--next { right: calc(-1 * var(--coll-arrow-half-pc)); }
  .collection-section .collection-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-jjok-dk, #232a44);
    border-color: rgba(60, 50, 40, 0.22);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    transform: translateY(-50%) scale(1.06);
  }
}

/* M5: PC 1500+ — 5컬럼 × 3행 = 15개 노출 (광폭 모니터 카드 노출량 ↑) */
@media (min-width: 1500px) {
  .collection-section .prod-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    row-gap: 12px;
    column-gap: 10px;
  }
  /* 광폭 PC — 컨테이너 폭 확장 (기본 container-xl 1320 → 1680) */
  .collection-section > .container-xl {
    max-width: 1680px;
  }
  /* 전환 화살표 — 컨테이너 바깥에 배치 */
  .collection-section .collection-grid-viewport {
    padding: 0;
  }
  .collection-section .collection-nav-arrow--prev { left: -64px; }
  .collection-section .collection-nav-arrow--next { right: -64px; }
  /* 너무 튀지 않게 — 흰색 + 옅은 보더 + 부드러운 그림자 */
  .collection-section .collection-nav-arrow {
    background: #ffffff;
    color: var(--color-ink, #2e2a26);
    border: 1px solid rgba(60, 50, 40, 0.10);
    box-shadow: 0 3px 14px rgba(60, 50, 40, 0.10);
  }
  .collection-section .collection-nav-arrow:hover {
    background: #f8f5ef;
    color: var(--color-jjok-dk, #232a44);
    border-color: rgba(60, 50, 40, 0.18);
    box-shadow: 0 6px 20px rgba(60, 50, 40, 0.14);
  }
  .collection-section .collection-nav-arrow:focus-visible {
    outline-color: var(--color-jjok, #4f91ba);
  }
}
/* 1700+ — 화살표를 컨테이너에서 좀 더 멀리 (시각 분리 강화) */
@media (min-width: 1700px) {
  .collection-section .collection-nav-arrow--prev { left: -76px; }
  .collection-section .collection-nav-arrow--next { right: -76px; }
}
/* 1500 미만에서는 13~15 번째 상품 숨김 → 기존 12개 노출 유지
   (4컬럼×3 / 3컬럼×4 / 2컬럼×4portrait 모두 깔끔) */
@media (max-width: 1499.98px) {
  .collection-section .prod-grid > .prod-grid__item:nth-child(n+13) {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .collection-section .prod-grid {
    row-gap: 12px;
    column-gap: 10px;
  }
}

/* 상품 카드 — 보더 색상 전체 상품 페이지와 통일 */
.collection-section .product-card {
  background: #fff;
  border: 1px solid rgba(60, 53, 48, .08);
  border-radius: 14px;
  box-shadow:
    0 1px 4px rgba(60,50,40,.06),
    0 2px 12px rgba(60,50,40,.05);            /* best-slide 와 동일하게 통일 */
  transition: transform .22s ease, box-shadow .22s ease;
}
.collection-section .product-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 6px 24px rgba(60,50,40,.11),
    0 2px 8px rgba(60,50,40,.06);
}
.collection-section .product-card__img {
  padding: 0;
  background: transparent;
  border-radius: 14px 14px 0 0;
}
.collection-section .product-card__img img {
  border-radius: 14px 14px 0 0;
  outline: 1px solid rgba(60, 53, 48, .08);
  transition: transform .38s ease;
}
.collection-section .product-card:hover .product-card__img img {
  transform: scale(1.04);
}
.collection-section .product-card__body {
  background: #fff;
  border-radius: 0 0 14px 14px;
}

/* 더보기 버튼 */
.collection-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .7rem 2.2rem;
  border: 1.5px solid var(--color-jjok);
  border-radius: 40px;
  color: var(--color-jjok-dk);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.collection-more-btn:hover {
  background: var(--color-jjok);
  color: #fff;
}

/* ── 다크 모드 — 카테고리별 의상 섹션 ──────────────────────────── */
[data-theme="dark"] .collection-section {
  background: #1A1814;            /* 본문보다 살짝 옅은 다크 베이지 */
}
[data-theme="dark"] .collection-sec-head__en {
  color: #A4B3D8;                 /* jjok-lt */
}
[data-theme="dark"] .collection-sec-head__ko {
  color: #EDE8E0;                 /* ink (다크) */
}
[data-theme="dark"] .collection-tab-nav {
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 10px 18px -12px rgba(0,0,0,.5);
}
[data-theme="dark"] .collection-tab-btn {
  color: #8A8278;                 /* ink-lt (다크) */
}
[data-theme="dark"] .collection-tab-btn:hover {
  color: #EDE8E0;
}
[data-theme="dark"] .collection-tab-btn.is-active {
  color: #A4B3D8;                 /* jjok-lt */
  border-bottom-color: #A4B3D8;
}
[data-theme="dark"] .collection-nav-arrow {
  border-color: #5A5550;
  background: #1E1C16;
  color: #EDE8E0;
}
[data-theme="dark"] .collection-nav-arrow:hover {
  background: var(--color-jjok);
}
[data-theme="dark"] .collection-more-btn {
  border-color: #A4B3D8;
  color: #A4B3D8;
}
[data-theme="dark"] .collection-more-btn:hover {
  background: #A4B3D8;
  color: #1A1814;
}
[data-theme="dark"] .collection-section .sec-more-link {
  color: #A4B3D8;
  border-color: rgba(164,179,216,.4);
}
[data-theme="dark"] .collection-section .sec-more-link:hover {
  background: rgba(164,179,216,.12);
  border-color: #A4B3D8;
  color: #EDE8E0;
}

/* 상품 카드는 다크 섹션 위에서 흰 박스 그대로 유지 (가독성 보장) */
[data-theme="dark"] .collection-section .product-card {
  background: #fff;
  border-color: rgba(255,255,255,.06);
  box-shadow:
    0 10px 28px -10px rgba(0, 0, 0, .55),
    0 4px 10px -3px rgba(0, 0, 0, .32);
}
[data-theme="dark"] .collection-section .product-card:hover {
  box-shadow:
    0 16px 36px -10px rgba(0, 0, 0, .65),
    0 6px 14px -4px rgba(0, 0, 0, .40);
}
[data-theme="dark"] .collection-section .product-card__body {
  background: #fff;
}

.choice-item-section {
  background: #ffffff;
}

.choice-item-section .product-card {
  background: #ffffff;
  border: none;
  border-radius: 14px;
  box-shadow:
    0 1px 4px rgba(60,50,40,.06),
    0 2px 12px rgba(60,50,40,.05);
}
.choice-item-section .product-card:hover {
  box-shadow:
    0 6px 24px rgba(60,50,40,.11),
    0 2px 8px  rgba(60,50,40,.06);
  transform: translateY(-5px);
}

.choice-item-section .product-card__img {
  padding: 0;
  background: transparent;
  border-radius: 14px 14px 0 0;
}

.choice-item-section .product-card__img img {
  border-radius: 0;
  outline: 1px solid rgba(180,160,130,.18);
  box-shadow:
    0 2px 8px  rgba(60,50,40,.10),
    0 1px 3px  rgba(60,50,40,.06);
  transition: transform .40s ease, box-shadow .28s ease;
}
.choice-item-section .product-card:hover .product-card__img img {
  box-shadow:
    0 6px 20px rgba(60,50,40,.14),
    0 2px 6px  rgba(60,50,40,.08);
  transform: scale(1.04);
}

.choice-item-section .product-card__img::after {
  box-shadow: none;
  background: none;
}

.choice-item-section .product-card__body {
  background: #ffffff;
}

.choice-item-section .product-card__price-row {
  border-top-color: rgba(0,0,0,.06);
}

.choice-item-section .product-card__noimg {
  border-radius: 8px;
  outline: 1px solid rgba(180,160,130,.18);
}

/* 렌탈·판매 배지 가독성 강화 */
.choice-item-section .product-card__badge {
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 4px;
}
.choice-item-section .product-card__badge--type {
  background: rgba(30,52,78,.22);
  color: rgb(30,52,78);
  border: 1px solid rgba(30,52,78,.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 1px 6px rgba(30,52,78,.12);
  font-weight: 700;
  letter-spacing: .06em;
}
.choice-item-section .product-card__badge--sale {
  background: rgba(180,80,100,.22);
  color: rgb(140,45,65);
  border: 1px solid rgba(180,80,100,.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 1px 6px rgba(180,80,100,.12);
  font-weight: 700;
  letter-spacing: .06em;
}

/* 카테고리별 추천: 탭 라인을 cat-bar에 가깝게, 상품과는 넓게 */
.choice-item-section {
  padding-top: 1.4rem;
  padding-bottom: 4rem;
}
@media (min-width: 992px) {
  .choice-item-section {
    padding-top: 2rem;
    padding-bottom: 6rem;
  }
}

/* 섹션 헤더 ↔ 탭 라인 간격 줄이기 */
.choice-item-section .home-sec-head {
  margin-bottom: .8rem;
}

/* 탭 라인 ↔ 상품 그리드 간격 넓히기 + 하단 그림자 */
.choice-item-section .prod-tab-nav {
  margin-bottom: 2.8rem;
  box-shadow:
    0 6px 20px -4px rgba(60,50,40,.09),
    0 2px 8px  -2px rgba(60,50,40,.05);
}
@media (min-width: 992px) {
  .choice-item-section .prod-tab-nav { margin-bottom: 4rem; }
}

.choice-item-section .prod-grid {
  column-gap: 10px;
  row-gap: 20px;
}
@media (min-width: 576px) {
  .choice-item-section .prod-grid { row-gap: 24px; }
}
@media (min-width: 992px) {
  .choice-item-section .prod-grid { row-gap: 64px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   14. 홈 섹션 공통
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 992px) {
  .home-section { padding-top: 6rem; padding-bottom: 6rem; }
}

/* 섹션 헤더 (타이틀 + 전체보기) */
.home-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.sec-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-jjok-dk);
  text-decoration: none;
  flex-shrink: 0;
  padding: 5px 12px;
  border: 1px solid rgba(92,112,172,.3);
  border-radius: 999px;
  transition: background .15s, border-color .15s;
}
.sec-more-link:hover {
  background: var(--color-jjok-mist);
  border-color: var(--color-jjok);
  color: var(--color-jjok-dk);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   15. 상품 그리드
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 576px) { .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 768px) { .prod-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 992px) { .prod-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* 5열 변형 */
.prod-grid--5col { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 576px) { .prod-grid--5col { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .prod-grid--5col { grid-template-columns: repeat(5, 1fr); gap: 18px; } }

.prod-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-ink-lt);
}
.prod-empty i { font-size: 2rem; opacity: .3; display: block; margin-bottom: .5rem; }
.prod-empty p { font-size: .85rem; margin: 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   16. 프로모션 2단 배너
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.promo-split-section { background: var(--color-mosi); }                    /* 라이트: 부드러운 ivory */
[data-theme="dark"] .promo-split-section { background: var(--color-hanji); }  /* 다크: 본문 배경과 동일 */
.promo-split-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .promo-split-grid { grid-template-columns: 1fr 1fr; }
}

.promo-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 2.8rem 2.2rem;
  text-decoration: none;
  overflow: hidden;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .4s ease;
}
@media (min-width: 768px)  { .promo-card { min-height: 420px; } }
@media (min-width: 992px)  { .promo-card { min-height: 560px; padding: 4rem 3.5rem; } }

/* 이미지 없을 때 폴백 그라디언트 */
.promo-card--dark  { background-color: #2B3870; }
.promo-card--gold  { background-color: #5A3E22; }

/* 실사 이미지 위 다크 오버레이 */
.promo-card__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.promo-card--dark .promo-card__overlay {
  background: linear-gradient(
    to top,
    rgba(20,28,70,.88) 0%,
    rgba(20,28,70,.55) 50%,
    rgba(20,28,70,.22) 100%
  );
}
.promo-card--gold .promo-card__overlay {
  background: linear-gradient(
    to top,
    rgba(40,25,10,.88) 0%,
    rgba(40,25,10,.55) 50%,
    rgba(40,25,10,.22) 100%
  );
}

/* 호버 시 이미지 줌 */
.promo-card:hover { transform: scale(1.01); }
.promo-card:hover .promo-card__overlay { opacity: .85; }

.promo-card__inner {
  position: relative;
  z-index: 2;
}
.promo-card__label {
  font-size: .72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold-lt);
  opacity: .85;
  margin: 0 0 10px;
  font-weight: 600;
}
.promo-card__title {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 .9rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
@media (min-width: 992px) { .promo-card__title { font-size: 2.6rem; } }

.promo-card__desc {
  font-size: .9rem;
  line-height: 1.85;
  color: rgba(255,255,255,.78);
  margin: 0 0 1.4rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
@media (min-width: 992px) { .promo-card__desc { font-size: 1rem; } }

.promo-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--color-gold-lt);
  border-bottom: 1px solid rgba(196,160,80,.45);
  padding-bottom: 2px;
  transition: color .18s, border-color .18s;
}
.promo-card:hover .promo-card__cta {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   17. 공지사항 목록
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── 공지사항 섹션 ── */
.notice-section {
  background: var(--color-mosi);
  border-top: 1px solid var(--color-border-trad);
  border-bottom: 1px solid var(--color-border-trad);
  padding: 1rem 0;
}
.notice-section__heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice-section__icon {
  font-size: .85rem;
  color: var(--color-jaju);
}
.notice-section__title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -.01em;
}

.notice-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.notice-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .62rem 0;
  border-bottom: 1px dashed var(--color-border-trad);
  gap: 1rem;
}
.notice-list__item:last-child { border-bottom: none; }
.notice-list__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .15s;
}
.notice-list__title:hover { color: var(--color-jjok-dk); }
.notice-pin-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  color: var(--color-jaju);
  background: var(--color-jaju-lt);
  border: 1px solid rgba(200,144,152,.3);
  border-radius: 4px;
  padding: 1px 5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.notice-list__date {
  font-size: .75rem;
  color: var(--color-ink-lt);
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(0,0,0,.04);
  padding: 2px 8px;
  border-radius: 999px;
}

/* ── 한 줄 공지 티커 ─────────────────────── */
.notice-ticker {
  display: flex;
  align-items: center;
  height: 42px;
  background: #FFF8E8;
  border-top: none;
  border-bottom: 1px solid rgba(196,160,80,.22);
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(196,160,80,.15);
}
.notice-ticker__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 14px 0 16px;
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-right: none;
  height: 100%;
  background: var(--color-jaju);
  white-space: nowrap;
  gap: 5px;
}
.notice-ticker__track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.notice-ticker__track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
  white-space: nowrap;
}
.notice-ticker__track:hover { animation-play-state: paused; }
.notice-ticker__group {
  display: inline-flex;
  align-items: center;
}
/* 공지가 컨테이너를 넘치지 않을 때: 복제본 숨기고 스크롤 정지 (중복 표시 방지) */
.notice-ticker__track.is-static {
  animation: none;
  transform: none;
}
.notice-ticker__track.is-static .notice-ticker__group + .notice-ticker__group {
  display: none;
}
.notice-ticker__track.is-static .notice-ticker__sep:last-child {
  display: none;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.notice-ticker__item {
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--color-ink, #3C3530);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.notice-ticker__item:hover { color: var(--color-jjok-dk, #2E5C71); text-decoration: underline; }
.notice-ticker__pin { margin-right: 4px; font-size: .75rem; }
.notice-ticker__sep {
  color: rgba(0,0,0,.2);
  font-size: .85rem;
  padding: 0 4px;
  flex-shrink: 0;
}
.notice-ticker__more {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 14px 0 12px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--color-jjok-dk, #2E5C71);
  text-decoration: none;
  border-left: 1px solid rgba(196,160,80,.25);
  height: 100%;
  white-space: nowrap;
  transition: background .15s;
}
.notice-ticker__more:hover { background: rgba(196,160,80,.1); }

/* ==========================================================================
   다크 모드 — Hero 캐러셀 + 공지 티커 + 캐러셀 컨트롤
   ========================================================================== */

/* ── Hero 캐러셀 ── */
[data-theme="dark"] .hero-slide {
  background-color: #1A1814;                  /* 빈 슬라이드(이미지 없을 때) 다크 */
}
[data-theme="dark"] .hero-slide--gradient {
  background: linear-gradient(135deg, #1A1814 0%, #221E16 50%, #2A2520 100%);
}
/* 좌→우 부드러운 페이드 — 짙은 다크가 좌측 50% 까지, 그 뒤 매끈하게 사라짐
   기존엔 36% → 68% 구간이 급격해서 세로 라인처럼 보였음 */
[data-theme="dark"] .hero-slide::before {
  background:
    linear-gradient(90deg,
      rgba(16,14,10,.92) 0%,
      rgba(16,14,10,.82) 22%,
      rgba(16,14,10,.62) 44%,
      rgba(16,14,10,.36) 60%,
      rgba(16,14,10,.14) 78%,
      rgba(16,14,10,0)   100%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 32%);
}
[data-theme="dark"] .hero-eyebrow .eyebrow-text {
  color: var(--color-gold-lt, #E4C898);
}
[data-theme="dark"] .hero-eyebrow .eyebrow-line {
  background: var(--color-gold-lt, #E4C898);
}
[data-theme="dark"] .hero-text-col h1,
[data-theme="dark"] .hero-text-col .hero-title,
[data-theme="dark"] .hero-text-col p,
[data-theme="dark"] .hero-text-col .hero-lead {
  color: #EDE8E0 !important;
}
[data-theme="dark"] .hero-text-col .hero-highlight,
[data-theme="dark"] .hero-text-col mark {
  background-color: rgba(228,200,152,.18);
  color: #E4C898;
}

/* 좌/우 전환 화살표 — 다크에서 흰 박스 대신 다크 톤 + 골드 보더로 또렷이 */
[data-theme="dark"] #heroCarousel .carousel-control-prev,
[data-theme="dark"] #heroCarousel .carousel-control-next {
  width: 70px;
}
[data-theme="dark"] #heroCarousel .carousel-control-prev-icon,
[data-theme="dark"] #heroCarousel .carousel-control-next-icon {
  background-color: rgba(30, 26, 22, .85);
  border: 1.5px solid rgba(228, 200, 152, .45);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, .55),
    0 2px 6px rgba(0, 0, 0, .35),
    inset 0 0 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* 아이콘 색 — 다크 위 골드 채도 */
[data-theme="dark"] #heroCarousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E4C898'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
[data-theme="dark"] #heroCarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E4C898'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
[data-theme="dark"] #heroCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
[data-theme="dark"] #heroCarousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(228, 200, 152, .92);
  border-color: rgba(228, 200, 152, .9);
  box-shadow:
    0 6px 24px rgba(228, 200, 152, .25),
    0 2px 8px rgba(0, 0, 0, .4);
}
/* hover 시 아이콘 색을 다크로 (대조 강조) */
[data-theme="dark"] #heroCarousel .carousel-control-prev:hover .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231A1814'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
[data-theme="dark"] #heroCarousel .carousel-control-next:hover .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231A1814'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* 인디케이터 점 — 다크 톤 위 골드 강조 */
[data-theme="dark"] #heroCarousel .carousel-indicators {
  background: rgba(20, 18, 14, .55);
  border: 1px solid rgba(228, 200, 152, .25);
  backdrop-filter: blur(4px);
}
[data-theme="dark"] #heroCarousel .carousel-indicators [data-bs-target] {
  background-color: rgba(228, 200, 152, .35);
}
[data-theme="dark"] #heroCarousel .carousel-indicators .active {
  background: linear-gradient(90deg, var(--color-jjok-lt, #A4B3D8), var(--color-gold-lt, #E4C898));
}

/* eyebrow 라벨 박스 — 다크 톤 캡슐 */
[data-theme="dark"] .hero-eyebrow {
  background: rgba(228, 200, 152, .10);
  border: 1px solid rgba(228, 200, 152, .30);
  border-radius: 999px;
  padding: 6px 16px;
  width: fit-content;
  backdrop-filter: blur(4px);
}
[data-theme="dark"] .hero-eyebrow .eyebrow-text {
  color: var(--color-gold-lt, #E4C898);
  font-weight: 600;
}

/* 서브 텍스트 (격조와 ... / 쪽빛·자주 ...) 가독성 보강 */
[data-theme="dark"] .hero-text-col .hero-lead,
[data-theme="dark"] .hero-text-col p:not(.hero-title) {
  color: #D8D0C0 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}

/* CTA — "렌탈 예약하기" outline 버튼 다크 처리 */
[data-theme="dark"] .hero-text-col .btn-outline-light,
[data-theme="dark"] .hero-text-col .btn-outline-secondary,
[data-theme="dark"] .hero-text-col a[class*="btn-outline"] {
  background: rgba(20, 18, 14, .35) !important;
  border: 1.5px solid rgba(228, 200, 152, .55) !important;
  color: var(--color-gold-lt, #E4C898) !important;
  backdrop-filter: blur(4px);
}
[data-theme="dark"] .hero-text-col .btn-outline-light:hover,
[data-theme="dark"] .hero-text-col a[class*="btn-outline"]:hover {
  background: rgba(228, 200, 152, .92) !important;
  color: #1A1814 !important;
  border-color: var(--color-gold-lt, #E4C898) !important;
}

/* ── 공지 티커 ── */
[data-theme="dark"] .notice-ticker {
  background: #2A2620;
  border-bottom-color: rgba(228,200,152,.22);
  box-shadow: inset 0 -1px 0 rgba(228,200,152,.18);
}
[data-theme="dark"] .notice-ticker__label {
  background: var(--color-jaju-lt, #C89098);
  color: #1A1814;
}
[data-theme="dark"] .notice-ticker__item {
  color: #EDE8E0;
}
[data-theme="dark"] .notice-ticker__item:hover {
  color: var(--color-jjok-lt, #A4B3D8);
}
[data-theme="dark"] .notice-ticker__sep,
[data-theme="dark"] .notice-ticker__pin {
  color: #B0A898;
}
[data-theme="dark"] .notice-ticker__more {
  color: var(--color-gold-lt, #E4C898);
  border-color: rgba(228,200,152,.28);
}
[data-theme="dark"] .notice-ticker__more:hover {
  background: rgba(228,200,152,.12);
  border-color: var(--color-gold-lt, #E4C898);
}

/* ── 코디 갤러리 카드 — specificity 보강 (다크에서 라이트 모시 배경 잔존 차단) ── */
[data-theme="dark"] .coord-gallery-section .coord-gallery-card {
  background-color: #2A2620 !important;
}
[data-theme="dark"] .coord-gallery-section .coord-gallery-card__overlay {
  /* 다크에서 overlay 그라디언트도 약간 짙게 */
  background: linear-gradient(
    to top,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.45) 45%,
    rgba(0,0,0,.10) 75%,
    transparent 100%
  );
  opacity: 1;                                  /* 다크에선 항상 노출 — 카드 안 모시 배경 노출 방지 */
}
[data-theme="dark"] .coord-gallery-section .coord-gallery-card__title {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.85);
}
[data-theme="dark"] .coord-gallery-section .coord-gallery-card__icon,
[data-theme="dark"] .coord-gallery-section .coord-gallery-card__zoom {
  color: #fff !important;
}

/* ==========================================================================
   포토 갤러리 (/gallery/) — 상품 섹션과 동일 분기 매트릭스
   <992 : 2열  /  992~1499 : 3열  /  ≥1500 : 4열
   + 안전 분기: 768~1499 landscape 도 3열
   ========================================================================== */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 992px) and (max-width: 1499.98px) {
  .photo-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 768px) and (max-width: 1499.98px) and (orientation: landscape) {
  .photo-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 1500px) {
  .photo-gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.photo-gallery-grid__item { min-width: 0; }

/* ==========================================================================
   shop/product_list — 사이드바 → 상단 변경 후 풀폭 그리드 컬럼 확장
   PC 일관성 — 992+ 모두 5 컬럼 한 줄
   ========================================================================== */
@media (min-width: 992px) {
  .shop-list-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}
@media (min-width: 1500px) {
  .shop-list-grid { gap: 18px; }
}

/* 상단 필터 폼 — 살짝 정돈 (의도된 큰 시각 X, 자연 폼) */
.shop-filter-form--top {
  background: rgba(250, 249, 247, 0.6);
  border: 1px solid rgba(60, 50, 40, 0.08);
  border-radius: 10px;
  padding: .85rem 1rem;
}

/* ==========================================================================
   coordination 결과 페이지 — Phase 1 (추천 이유 배너 + BEST 배지)
   ========================================================================== */
.results-reason {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, rgba(196, 160, 80, 0.10) 0%, rgba(196, 160, 80, 0.04) 100%);
  border: 1px solid rgba(196, 160, 80, 0.28);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--color-ink, #2e2a26);
  font-size: .9rem;
  line-height: 1.55;
}
.results-reason__icon {
  flex-shrink: 0;
  color: var(--color-gold, #c4a050);
  font-size: 1.15rem;
  line-height: 1.55;
  margin-top: 1px;
}
.results-reason__text { flex: 1; min-width: 0; }
.results-reason__text strong {
  color: var(--color-jjok-dk, #232a44);
  font-weight: 700;
}
.results-reason__sep {
  margin: 0 .35em;
  color: rgba(60, 50, 40, 0.4);
}
.results-reason__count {
  color: var(--color-gold-dk, #9b7a3a) !important;
  font-size: 1.05em;
  font-weight: 800;
}
@media (max-width: 575.98px) {
  .results-reason { padding: 12px 14px; font-size: .82rem; }
  .results-reason__icon { font-size: 1rem; }
}

/* 추천 세트 카드 — BEST 배지 (gold 강조) */
.recommend-preset-card__badge--best {
  background: linear-gradient(135deg, var(--color-gold, #c4a050) 0%, var(--color-gold-dk, #9b7a3a) 100%) !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(196, 160, 80, 0.35);
}
/* M2: 매칭률 배지 (jjok 톤) */
.recommend-preset-card__badge--match {
  background: linear-gradient(135deg, var(--color-jjok, #4f91ba) 0%, var(--color-jjok-dk, #232a44) 100%) !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: 0 2px 8px rgba(79, 145, 186, 0.30);
}

/* M7: AI 추천 이유 (BEST 카드만 노출) */
.recommend-preset-card__ai-reason {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: .5rem 0 .65rem;
  padding: .55rem .7rem;
  background: linear-gradient(135deg, rgba(196, 160, 80, 0.10) 0%, rgba(79, 145, 186, 0.08) 100%);
  border: 1px solid rgba(196, 160, 80, 0.28);
  border-radius: 8px;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--color-ink, #2e2a26);
}
.recommend-preset-card__ai-reason i {
  flex-shrink: 0;
  color: var(--color-gold, #c4a050);
  font-size: .92rem;
  line-height: 1.45;
  margin-top: 1px;
}
.recommend-preset-card__ai-reason span {
  flex: 1;
  font-weight: 500;
  letter-spacing: -.01em;
}

/* ==========================================================================
   메뉴 리스트 카드 — 가로 타일 (다른 메뉴 둘러보기 등)
   좌 컬러 원형 아이콘 + 우 라벨/서브 + 끝 화살표
   ========================================================================== */
.menu-list-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(60, 50, 40, 0.10);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-ink, #2e2a26);
  transition: border-color .18s, box-shadow .18s, transform .18s;
  height: 100%;
  min-height: 76px;
}
.menu-list-card:hover {
  border-color: rgba(60, 50, 40, 0.22);
  box-shadow: 0 4px 14px rgba(60, 50, 40, 0.12);
  transform: translateY(-2px);
  color: var(--color-ink, #2e2a26);
}
.menu-list-card:focus-visible {
  outline: 2px solid var(--color-jjok, #4f91ba);
  outline-offset: 2px;
}
.menu-list-card__icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #888, #555);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  transition: transform .18s, box-shadow .18s;
}
.menu-list-card:hover .menu-list-card__icon-wrap {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.menu-list-card__icon {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
}
.menu-list-card__body {
  flex: 1 1 0;
  min-width: 0;
}
.menu-list-card__label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--color-ink, #2e2a26);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.menu-list-card__sub {
  font-size: 0.75rem;
  color: rgba(60, 50, 40, 0.65);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.menu-list-card__arrow {
  flex-shrink: 0;
  color: rgba(60, 50, 40, 0.4);
  font-size: 1rem;
  line-height: 1;
  transition: transform .18s, color .18s;
}
.menu-list-card:hover .menu-list-card__arrow {
  color: var(--color-jjok-dk, #232a44);
  transform: translateX(4px);
}
@media (max-width: 575.98px) {
  .menu-list-card { padding: 12px 14px; min-height: 68px; gap: 12px; }
  .menu-list-card__icon-wrap { width: 40px; height: 40px; }
  .menu-list-card__icon { font-size: 1.1rem; }
  .menu-list-card__label { font-size: 0.9rem; }
  .menu-list-card__sub { font-size: 0.72rem; }
}

/* ==========================================================================
   M6: 컬렉션 탭 sticky (모바일·태블릿 <992)
   - 컬렉션 섹션 안에서 스크롤 중 탭이 상단에 붙어 카테고리 전환 즉시
   - PC 는 한 화면에 들어와 sticky 불필요
   - 부모 .container-xl 의 좌우 padding 보정 → 끝까지 배경
   ========================================================================== */
@media (max-width: 991.98px) {
  .collection-section .collection-tab-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--color-bg, #ffffff);
    padding: .65rem 1rem .55rem;
    margin: .25rem -1rem .9rem;
    box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .collection-section .collection-tab-nav::-webkit-scrollbar { display: none; }
  .collection-section .collection-tab-btn { flex-shrink: 0; }
}
/* 태블릿(768~991) 은 container 의 px-md-4 (1.5rem) 만큼 보정 */
@media (min-width: 768px) and (max-width: 991.98px) {
  .collection-section .collection-tab-nav {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
}

/* ==========================================================================
   메인 페이지 — M4: 모바일(<768) 가로 캐러셀화
   대상: 코디 갤러리(S8-B) / 룩북(S10) / 리뷰(S12)
   - 카드 폭 ~80vw + scroll-snap → 1.2 장 노출 (다음 카드 살짝 보임)
   - 768+ 는 기존 그리드 유지
   - 마크업 변경 없이 CSS 만 (룩북/리뷰는 :has() 로 정확히 표적)
   ========================================================================== */
@media (max-width: 767.98px) {
  /* 공통 캐러셀 트랙 룰 */
  .coord-gallery-grid,
  section[data-home-block] .row.g-3:has(.lookbook-card),
  section[data-home-block] .row.g-3:has(.review-card) {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    padding-bottom: .75rem;
    margin-left: 0;
    margin-right: 0;
    scroll-snap-type: x mandatory;
    scroll-padding-left: .25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .coord-gallery-grid::-webkit-scrollbar,
  section[data-home-block] .row.g-3:has(.lookbook-card)::-webkit-scrollbar,
  section[data-home-block] .row.g-3:has(.review-card)::-webkit-scrollbar {
    display: none;
  }

  /* 코디 갤러리 — grid → flex 캐러셀, 카드 폭 78% */
  .coord-gallery-grid {
    grid-template-columns: none;
  }
  .coord-gallery-grid > .coord-gallery-card {
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: start;
  }

  /* 룩북 — Bootstrap .row nowrap, 카드 폭 82% */
  section[data-home-block] .row.g-3:has(.lookbook-card) > .col-12 {
    flex: 0 0 82%;
    max-width: 82%;
    padding-left: 0;
    padding-right: 0;
    scroll-snap-align: start;
  }

  /* 리뷰 — 카드 폭 85% (텍스트가 많아 살짝 더 넓게) */
  section[data-home-block] .row.g-3:has(.review-card) > .col-12 {
    flex: 0 0 85%;
    max-width: 85%;
    padding-left: 0;
    padding-right: 0;
    scroll-snap-align: start;
  }

  /* 우측 끝에 부드러운 페이드 — 다음이 있다는 시각 신호 */
  .coord-gallery-section,
  section[data-home-block]:has(.row.g-3 .lookbook-card),
  section[data-home-block]:has(.row.g-3 .review-card) {
    position: relative;
  }
}

/* ==========================================================================
   메인 페이지 — 섹션 헤더 5종 통일 (M3)
   sec-heading / cat-showcase-head / best-slide-head / collection-sec-head
   - EN 라벨: 0.7rem letter .22em 700 gold-dk
   - KO 제목: 1.35rem(모바일) / 1.65rem(md+) 700 ink
   - 좌측 3px gold 보더 액센트 — 모든 헤더에 일관
   - 우측 sec-more-link 패턴 유지
   ========================================================================== */
.sec-heading__en,
.cat-showcase-head__en,
.best-slide-head__en,
.collection-sec-head__en {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-gold-dk, #9b7a3a);
  margin: 0 0 6px;
}
.sec-heading__ko,
.cat-showcase-head__ko,
.best-slide-head__ko,
.collection-sec-head__ko {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-ink, #2e2a26);
  margin: 0;
  letter-spacing: -.012em;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .sec-heading__ko,
  .cat-showcase-head__ko,
  .best-slide-head__ko,
  .collection-sec-head__ko {
    font-size: 1.65rem;
  }
}
/* 좌측 gold 보더 — sec-heading 은 자체 보더, 나머지는 첫 자식 div / __text 에 추가 */
.cat-showcase-head,
.collection-sec-head__text,
.best-slide-head > div:first-child {
  position: relative;
  padding-left: 14px;
}
.cat-showcase-head::before,
.collection-sec-head__text::before,
.best-slide-head > div:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--color-gold, #c4a050);
  border-radius: 1px;
}

/* ==========================================================================
   메인 페이지 — 6 블록 시각 그루핑
   HOOK / ANNOUNCE / BROWSE / SHOWCASE / INSPIRE / TRUST / CONTACT
   - 블록 시작 섹션(.home-block-start)에 큰 위쪽 여백 + 옅은 라벨
   - 블록 내부 섹션은 기존 여백 유지 → 인지 부하 감소
   ========================================================================== */
[data-home-block].home-block-start {
  position: relative;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  [data-home-block].home-block-start { margin-top: 2.75rem; }
}
@media (min-width: 992px) {
  [data-home-block].home-block-start { margin-top: 3.75rem; }
}
/* 블록 시작점 옅은 EN 라벨 (PC 만) — 시각 리듬, 너무 도드라지지 않게 */
[data-home-block].home-block-start[data-home-block-label]::before {
  content: attr(data-home-block-label);
  display: none;
  position: absolute;
  top: -1.85rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .35em;
  color: var(--color-gold, #c4a050);
  opacity: .55;
  pointer-events: none;
}
@media (min-width: 992px) {
  [data-home-block].home-block-start[data-home-block-label]::before {
    display: block;
  }
}
/* 블록 시작점 위에 옅은 다이아 점 마커 — 라벨 옆에 같이 */
[data-home-block].home-block-start[data-home-block-label]::after {
  content: "";
  display: none;
  position: absolute;
  top: -.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold, #c4a050);
  opacity: .45;
}
@media (min-width: 992px) {
  [data-home-block].home-block-start[data-home-block-label]::after {
    display: block;
  }
}
/* HOOK 은 페이지 최상단 — 위 여백 없음 */
[data-home-block="hook"].home-block-start { margin-top: 0; }

/* ==========================================================================
   모바일 sticky 하단 CTA 바 (메인 페이지 전용)
   — 768px 이하에서만 노출, 푸터 보일 때 자동 숨김
   ========================================================================== */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1035;
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
  gap: 8px;
  transition: transform .28s ease;
}
.mobile-bottom-cta.is-hidden {
  transform: translateY(110%);
  pointer-events: none;
}
.mobile-bottom-cta__btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .94rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 0;
  transition: filter .15s ease, transform .15s ease;
}
.mobile-bottom-cta__btn:active { transform: scale(0.98); }
.mobile-bottom-cta__btn--primary {
  background: var(--color-gold, #c4a050);
  color: #fff;
  box-shadow: 0 2px 8px rgba(196, 160, 80, 0.32);
}
.mobile-bottom-cta__btn--primary:hover { filter: brightness(1.05); color: #fff; }
.mobile-bottom-cta__btn--ghost {
  background: #fff;
  color: var(--color-ink, #2e2a26);
  border: 1.5px solid var(--color-line, #e5e7eb);
}
.mobile-bottom-cta__btn--ghost:hover { background: #fafafa; color: var(--color-ink, #2e2a26); }
.mobile-bottom-cta__btn i { font-size: 1.05rem; line-height: 1; }

/* 모바일에서만 노출 + 다른 floating UI 위로 밀기 */
@media (max-width: 767.98px) {
  .mobile-bottom-cta { display: flex; }
  body { padding-bottom: 68px; }
  /* 카카오 채널 버튼 — base.html 의 #kakao-channel-chat-btn */
  #kakao-channel-chat-btn { bottom: calc(28px + 68px) !important; }
}
/* 모바일/태블릿 세로(<768) — scroll-nav 를 모바일 sticky CTA + 카카오 버튼 위로 이동
   적용 범위 575.98 → 767.98 확장: 갤럭시 태블릿 세로(viewport 609 등) 도
   카카오 버튼(96px) 과 겹치지 않게 156px 위치 (60px 간격 확보) */
@media (max-width: 767.98px) {
  .scroll-nav { bottom: calc(88px + 68px) !important; }
}

/* ==========================================================================
   M7: prefers-reduced-motion — 접근성
   사용자가 OS/브라우저에서 '동작 줄임' 설정 시 자동 마키·전환·진행 차단
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  /* 공지 ticker 마키 정지 + 복제본 숨김 */
  .notice-ticker__track { animation: none !important; }
  .notice-ticker__track .notice-ticker__group + .notice-ticker__group {
    display: none !important;
  }
  /* 컬렉션 둘러보기 마퀴 정지 (두 방향 모두) */
  .coll-marquee__col { animation: none !important; }
  /* 갤러리 자동 진행 바 정지 */
  .gallery-player__progress-fill { animation: none !important; }
  /* 모바일 sticky CTA 슬라이드 전환 즉시 */
  .mobile-bottom-cta { transition: none !important; }
  /* 전역 — 모든 무한 애니메이션·긴 전환 차단 (안전 catch-all) */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   페이지 가로 스크롤 안전 차단
   sticky 탭의 negative margin / 절대 위치 요소가 viewport 침범 시
   특정 단말(예: Galaxy Tab 세로) 에서 우측 50px 가량 잘려 보이는 문제 차단.
   - clip: 자식의 position: sticky/fixed 영향 없음 (hidden 과 달리 안전)
   - homepage.css 는 메인 페이지만 로드 — 다른 페이지 영향 없음
   ========================================================================== */
html,
body {
  overflow-x: clip;
}
/* clip 미지원 브라우저(Safari 15 이하 일부) 대응 — hidden 폴백 */
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}
