/* ─────────────────────────────────────────────
   Westwick — Editorial Classic (jay111-inspired)
   Vanilla HTML/CSS/JS handoff build
   ───────────────────────────────────────────── */

:root {
  /* palette */
  --bg: #ffffff;
  --ink: #2a221c;
  --muted: #7a6a5a;
  --line: rgba(42, 34, 28, 0.14);
  --accent: #8a5a3b;
  --surface: #f4efe6;

  /* footer */
  --footer-bg: #2a221c;
  --footer-text: #e8e2d5;
  --footer-muted: rgba(232, 226, 213, 0.55);
  --footer-line: rgba(232, 226, 213, 0.14);

  /* type */
  --font: "Montserrat", "Noto Sans KR", system-ui, -apple-system, sans-serif;
  --font-display: "Montserrat", "Noto Sans KR", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ─────── shared section primitives ─────── */
.section-inner { max-width: 1320px; width: 100%; margin: 0 auto; }
.hero .section-inner { position: relative; height: 100%; }
.banner .section-inner { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); }
.section { padding: 80px 56px 60px; }
.section-bordered { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 32px; position: relative; }
.section-head.center { text-align: center; }
.section-head.between { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.eyebrow { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.banner .eyebrow.accent { color: var(--surface); }
.eyebrow.accent { color: var(--accent); }
.display { font-family: var(--font-display); font-size: 56px; font-weight: 500; letter-spacing: 0.01em; line-height: 1; margin: 0; }
.sub { font-size: 14px; color: var(--muted); margin-top: 8px; }
.accent { color: var(--accent); }

/* ─────── utility strip ─────── */
.util-strip { background: var(--ink); color: #ffffff; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 56px; }
.util-strip .section-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.util-center { text-align: center; }
.util-center .nw { white-space: nowrap; margin-right: 2px; }
.util-right { display: flex; justify-content: flex-end; gap: 22px; align-items: center; }
.util-right a, .util-right .bag-toggle, .util-right .search-trigger { color: #ffffff; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; background: transparent; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.util-right .search-trigger:hover { color: var(--accent); }

/* ═══════════════════ Search Drawer (우측 슬라이드 검색창) ═══════════════════ */
.search-drawer { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; }
.search-drawer[hidden] { display: none; }
.search-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.search-panel {
  position: relative;
  width: 440px;
  max-width: 100%;
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.15);
  animation: searchSlideIn .35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes searchSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.search-header { padding: 28px 32px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.search-header h3 { font-family: var(--font-display); margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.3px; }
.search-close { background: transparent; border: 0; cursor: pointer; font-size: 22px; color: var(--ink); padding: 0; line-height: 1; }
.search-body { flex: 1; overflow-y: auto; padding: 24px 32px 40px; }

/* 검색 입력 */
.search-form { display: flex; align-items: center; border: 1px solid var(--ink); padding: 0 4px 0 16px; margin-bottom: 32px; }
.search-input { flex: 1; border: 0; outline: none; padding: 14px 8px; font-size: 14px; font-family: inherit; background: transparent; color: var(--ink); letter-spacing: -0.3px; }
.search-input::placeholder { color: var(--muted); }
.search-submit { background: transparent; border: 0; cursor: pointer; color: var(--ink); padding: 8px; display: inline-flex; align-items: center; justify-content: center; transition: color .2s; }
.search-submit:hover { color: var(--accent); }
.search-submit svg { width: 18px; height: 18px; }

/* 섹션 */
.search-section { margin-bottom: 32px; }
.search-section-title { font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: -0.2px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.search-recent-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 6px; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 11px; border-radius: 9px; letter-spacing: 0; }

/* 추천 칩 */
.search-suggest-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.search-suggest-chips button {
  background: var(--surface);
  border: 1px solid var(--surface);
  color: var(--ink);
  padding: 8px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: -0.3px;
  border-radius: 20px;
  transition: background .2s, border-color .2s, color .2s;
}
.search-suggest-chips button:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

/* 최근 본 상품 */
.search-recent-list { display: flex; flex-direction: column; gap: 10px; }
.search-recent-empty { color: var(--muted); font-size: 13px; padding: 12px 0; text-align: center; }
.search-recent-item { display: flex; gap: 12px; align-items: center; padding: 8px; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.search-recent-item:hover { border-color: var(--line); background: rgba(244, 239, 230, 0.4); }
.search-recent-thumb { width: 56px; height: 56px; flex-shrink: 0; background: var(--surface); overflow: hidden; }
.search-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-recent-meta { flex: 1; min-width: 0; }
.search-recent-name { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.3px; }
.search-recent-price { font-family: var(--font-display); font-size: 13px; color: var(--accent); margin-top: 2px; font-weight: 500; }

/* 최근 본 상품 페이지네이션 */
.search-recent-pager { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.search-recent-pager button {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  cursor: pointer;
  letter-spacing: -0.2px;
  transition: border-color .15s, background .15s, color .15s;
}
.search-recent-pager button:hover:not(:disabled):not(.current) { border-color: var(--ink); }
.search-recent-pager button.current { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.search-recent-pager button:disabled { color: rgba(42,34,28,0.25); cursor: default; }

/* 검색 결과 페이지 */
.search-page-head { padding: 20px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.search-page-eyebrow { font-size: 11px; letter-spacing: 0.24em; color: var(--accent); margin-bottom: 14px; text-transform: uppercase; }
.search-page-title { font-family: var(--font-display); font-size: 36px; font-weight: 500; margin: 0 0 24px; color: var(--ink); letter-spacing: -0.5px; }
.search-page-form { display: flex; align-items: center; border: 1px solid var(--ink); padding: 0 4px 0 16px; max-width: 560px; }
.search-empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; }
.search-empty h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 0 0 12px; color: var(--ink); letter-spacing: -0.3px; }
.search-empty p { color: var(--muted); font-size: 14px; margin: 0; }

@media (max-width: 768px) {
  .search-panel { width: 100%; }
  .search-page-title { font-size: 24px; }
}

/* ─────── header (sticky 고정) ─────── */
[data-include-header] {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  transition: box-shadow .25s ease;
}
[data-include-header].is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,0.06); }
.site-header { padding: 24px 56px; background: var(--bg); }
.site-header .section-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logo { display: inline-block; line-height: 0; }
.logo img { display: block; height: 30px; width: auto; }
.gnb { display: flex; gap: 38px; font-size: 15px; letter-spacing: -0.2px; font-weight: 500; }
.gnb a { color: var(--ink); padding-bottom: 3px; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.gnb a:hover { border-bottom-color: var(--ink); color: var(--accent); }

/* ─────── hero ─────── */
.hero { position: relative; height: 680px; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 1100ms ease, transform 6500ms ease-out; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.35) 100%); pointer-events: none; }
.hero-caption { position: absolute; left: 56px; bottom: 56px; color: #ffffff; max-width: 520px; }
.hero-caption .eyebrow { color: #ffffff; margin-bottom: 14px; }
.hero-title { font-family: var(--font-display); font-size: 56px; line-height: 1.05; margin: 0; font-weight: 500; letter-spacing: -0.01em; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #ffffff; border-bottom: 1px solid #ffffff; padding-bottom: 4px; }
.hero-cta .arrow { font-size: 16px; }
.hero-controls { position: absolute; right: 56px; bottom: 56px; display: flex; align-items: center; gap: 18px; }
.hero-arrow { width: 44px; height: 44px; border: 1px solid #ffffff; background: transparent; color: #ffffff; cursor: pointer; font-size: 16px; transition: background 0.2s, color 0.2s; }
.hero-arrow:hover { background: #ffffff; color: var(--ink); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots .dot { width: 10px; height: 3px; border: 0; background: rgba(255,255,255,0.4); cursor: pointer; padding: 0; transition: all 0.4s ease; }
.hero-dots .dot.active { width: 32px; background: #ffffff; }

/* ─────── review grid ─────── */
.review-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.review-card { cursor: pointer; }
.review-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(0.9); }
.review-meta { margin-top: 10px; font-size: 11px; line-height: 1.4; }
.review-stars { color: var(--accent); letter-spacing: 0.05em; }
.review-name { color: var(--muted); }
.review-top { display: flex; align-items: center; gap: 8px; }
.review-card-title { margin-top: 6px; font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: -0.4px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.review-text { margin-top: 6px; font-size: 12px; color: var(--ink); line-height: 1.55; letter-spacing: -0.2px; overflow: hidden; text-overflow: ellipsis;display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pagination { text-align: center; margin-top: 24px; display: flex; justify-content: center; gap: 8px; }
.pagination .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(42,34,28,0.25); }
.pagination .dot.active { background: var(--ink); }

/* ─────── review more button ─────── */
.review-more { margin-top: 36px; display: flex; justify-content: center; }
.review-more-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border: 1px solid var(--ink); color: var(--ink); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; background: transparent; cursor: pointer; transition: background 0.25s ease, color 0.25s ease; }
.review-more-btn:hover { background: var(--ink); color: #ffffff; }
.review-more-btn .arrow { font-size: 14px; transition: transform 0.25s ease; }
.review-more-btn:hover .arrow { transform: translateX(4px); }

/* ─────── tabs ─────── */
.tabs { display: inline-flex; gap: 28px; margin-top: 22px; }
.section-head.between .tabs { margin-top: 0; gap: 22px; }
.tabs button { background: transparent; border: 0; cursor: pointer; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; padding: 4px 0; color: var(--muted); border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.tabs button.active { color: var(--ink); border-bottom-color: var(--accent); }
.section-head.between .tabs button { font-size: 13px; }

/* ─────── product grid + cards ─────── */
.product-grid { display: grid; gap: 28px; }
.product-grid.four  { grid-template-columns: repeat(4, 1fr); }
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
.product-card { cursor: pointer; }

/* ─────── product carousel (Owl Carousel) ─────── */
.product-carousel { position: relative; padding-bottom: 40px; }
.product-carousel.owl-carousel { display: block; } /* JS 로드 전에도 상품/안내문구가 보이도록 Owl 기본값(display:none) 무시 */
.product-carousel .owl-stage-outer { overflow: hidden; }
.product-carousel .product-card { width: 100%; }
.product-carousel.ww-hide { display: none !important; }
/* 페이지네이션(dots) — 캐러셀 하단 가운데 */
.product-carousel .owl-dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 8px; }
.product-carousel .owl-dots button.owl-dot span { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(42,34,28,0.25); transition: background 0.2s; }
.product-carousel .owl-dots button.owl-dot.active span { background: var(--ink); }

/* 화살표(.row-arrows)는 section-head와 캐러셀 사이에 독립된 줄로 오른쪽 정렬 배치
   (절대좌표 대신 일반 흐름에 놓아 View All / 제목과 절대 겹치지 않게 한다) */
.row-arrows-row { display: flex; justify-content: flex-end; margin-bottom: 14px; }

/* 메인 페이지 이미지 확대 효과 */
.product-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #eee5d5; }
.product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 2s ease; transform: scale(1); }
.product-card:hover .product-thumb img { transform: scale(1.06); }

.badge { position: absolute; top: 12px; left: 12px; padding: 4px 9px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }
.badge-new { background: #ffffff; color: var(--ink); }
.badge-edition { background: var(--accent); color: #ffffff; }

.add-btn { position: absolute; left: 12px; right: 12px; bottom: -50px; background: var(--ink); color: #ffffff; border: 0; padding: 10px 0; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; transition: bottom 0.35s ease; }
.product-card:hover .add-btn { bottom: 12px; }

.product-meta { margin-top: 12px; }
.product-name { font-family: var(--font-display); font-size: 17px; font-weight: 500; line-height: 1.2; }
.product-kr { font-size: 11px; color: var(--muted); margin-top: 2px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.product-colors { display: flex; gap: 5px; }
.product-colors span { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
.product-colors span:first-child { box-shadow: 0 0 0 1px var(--accent); }
.product-price { font-family: var(--font-display); font-size: 16px; font-weight: 500; }

/* ─────── edition + md row chrome ─────── */
.edition-tag { font-size: 18px; color: var(--muted); letter-spacing: 0.1em; margin-left: 12px; font-weight: 400; }
.row-arrows { display: flex; gap: 8px; }
.row-arrows button { width: 38px; height: 38px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-size: 13px; transition: background 0.2s, color 0.2s; }
.row-arrows button:hover { background: var(--ink); color: #ffffff; }
.row-arrows button.disabled { opacity: 0.3; cursor: default; }
.row-arrows button.disabled:hover { background: transparent; color: var(--ink); }
.md-title { font-family: var(--font-display); font-size: 56px; letter-spacing: 0.04em; margin-bottom: 24px; font-weight: 500; }

/* ─────── banner ─────── */
.banner { position: relative; height: 380px; overflow: hidden; margin: 24px 0; }
.banner img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 65%); }
.banner-content { position: absolute; left: 56px; top: 50%; transform: translateY(-50%); color: #ffffff; max-width: 520px; }
.banner-content .eyebrow { margin-bottom: 14px; }
.banner-title { font-family: var(--font-display); font-size: 48px; line-height: 1.3; margin: 0; font-weight: 500; color: #ffffff; }
.banner-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #ffffff; border-bottom: 1px solid #ffffff; padding-bottom: 4px; }
.banner-cta .arrow { font-size: 16px; }

/* ─────── shoes row title ─────── */
.row-title { font-size: 44px; }
.row-sub { font-family: var(--font-display); font-size: 22px; color: var(--muted); font-weight: 400; letter-spacing: 0.01em; }
.view-all { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

/* ─────── footer ─────── */
.site-footer { padding: 56px 56px 40px; background: var(--footer-bg); color: var(--footer-text); }
.footer-cols { display: flex; gap: 140px; margin-bottom: 40px; flex-wrap: wrap; }
.footer-logo { display: inline-block; line-height: 0; margin-bottom: 14px; }
.footer-logo img { display: block; height: 30px; width: auto; filter: brightness(0) invert(1); }
.footer-tagline { color: var(--footer-muted); font-size: 13px; line-height: 1.7; max-width: 320px; }
.footer-col-title { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13px; }
.footer-col ul a { color: var(--footer-muted); }
.footer-col ul a:hover { color: var(--footer-text); }
.footer-baseline { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--footer-line); font-size: 11px; color: var(--footer-muted); letter-spacing: 0.06em; }

/* Footer SNS — 원형 아이콘 버튼 */
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(232, 226, 213, 0.06);
  border: 1px solid var(--footer-line);
  color: var(--footer-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.social-btn svg { width: 18px; height: 18px; display: block; }

/* ─────── cart drawer ─────── */
.cart-drawer { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; }
.cart-drawer[hidden] { display: none; }
.cart-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.cart-panel { position: relative; width: 460px; max-width: 100%; background: #ffffff; height: 100%; display: flex; flex-direction: column; box-shadow: -30px 0 60px rgba(0,0,0,0.2); }
.cart-header { padding: 32px 32px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.cart-header h3 { font-family: var(--font-display); margin: 0; font-size: 28px; font-weight: 500; }
.cart-close { background: transparent; border: 0; cursor: pointer; font-size: 20px; color: var(--ink); padding: 0; }
.cart-items { flex: 1; overflow: auto; padding: 16px 32px; }
.cart-empty { padding: 40px 0; text-align: center; color: var(--muted); }
.cart-empty .display { font-size: 22px; margin-bottom: 8px; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 80px; height: 100px; object-fit: cover; }
.cart-item .name { font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.cart-item .kr { font-size: 11px; color: var(--muted); margin-top: 2px; }
.qty-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.qty-btn { width: 24px; height: 24px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-size: 14px; padding: 0; }
.qty-val { font-size: 13px; width: 16px; text-align: center; }
.remove-btn { margin-left: 14px; background: transparent; border: 0; cursor: pointer; font-size: 11px; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; padding: 0; }
.cart-item .price { font-family: var(--font-display); font-size: 16px; font-weight: 500; }
.cart-footer { padding: 24px 32px; border-top: 1px solid var(--line); }
.subtotal-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.subtotal-row > :first-child { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.subtotal { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.cart-note { font-size: 11px; color: var(--muted); margin-bottom: 18px; }
.checkout-btn { width: 100%; padding: 16px 0; background: var(--ink); color: #ffffff; border: 0; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; }

/* ─────── 모바일 제품 상세 — 하단 Quick 옵션 패널 (Subtotal 스크롤 통과 시 노출) ─────── */
.pd-mobile-quick { display: none; }

@media (max-width: 768px) {
  .pd-mobile-quick {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 68px;       /* pd-actions 위에 위치 */
    z-index: 28;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    transform: translateY(120%);
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 56vh;
    overflow-y: auto;
  }
  .pd-mobile-quick.show { transform: translateY(0); }

  .pd-mq-options { padding: 12px 14px 14px; }
  .pd-mq-row {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
  }
  .pd-mq-row.pd-mq-row-bottom {
    border-top: 1px solid var(--line);
    margin-top: 4px;
    padding-top: 12px;
  }
  .pd-mq-label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: -0.2px;
    font-weight: 500;
  }
  .pd-mq-value {
    font-size: 13px;
    color: var(--ink);
    letter-spacing: -0.2px;
    text-align: right;
  }
  .pd-mq-colors {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .pd-mq-colors .pd-color-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
    transition: box-shadow .2s, transform .2s;
  }
  .pd-mq-colors .pd-color-swatch:hover { transform: scale(1.08); }
  .pd-mq-colors .pd-color-swatch.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink);
  }
  .pd-mq-sizes {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
  }
  .pd-mq-sizes button {
    min-width: 42px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font-size: 12px;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    letter-spacing: -0.2px;
    font-family: inherit;
  }
  .pd-mq-sizes button:hover { border-color: var(--ink); }
  .pd-mq-sizes button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .pd-mq-qty {
    display: inline-flex;
    border: 1px solid var(--line);
    width: fit-content;
  }
  .pd-mq-qty button {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 15px;
    color: var(--ink);
    font-family: inherit;
  }
  .pd-mq-qty span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    font-family: var(--font-display);
    font-size: 13px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .pd-mq-price {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.2px;
  }
}

/* ─────── 카카오톡 / Top 버튼 (우측 하단 고정) ─────── */
.top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 35;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: background .2s, transform .2s, opacity .25s;
}
.top-btn[hidden] { display: none; }
.top-btn:hover { background: var(--accent); transform: translateY(-3px); }
.top-btn svg { width: 20px; height: 20px; }

.kakao-btn {
  position: fixed;
  right: 25px; /* top-btn(width 48, right 28)과 중심축이 같도록 아이콘 폭(54px) 기준으로 역산 */
  bottom: 92px;
  width: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 35;
  text-decoration: none;
}
.kakao-btn-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FEE500;
  color: #391B1B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform .2s;
}
.kakao-btn:hover .kakao-btn-icon { transform: translateY(-3px); }
.kakao-btn-icon svg { width: 25px; height: 25px; }
.kakao-btn-label { font-size: 13px; font-weight: 700; letter-spacing: -0.2px; line-height: 1; white-space: nowrap; color: var(--ink); text-shadow: 0 1px 4px rgba(255,255,255,0.7), 0 1px 4px rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .top-btn { right: 14px; width: 40px; height: 40px; bottom: 80px; }
  .top-btn svg { width: 18px; height: 18px; }
  .kakao-btn { right: 12px; width: 44px; bottom: 132px; gap: 8px; }
  .kakao-btn-icon { width: 44px; height: 44px; }
  .kakao-btn-icon svg { width: 21px; height: 21px; }
  .kakao-btn-label { font-size: 11px; }
  /* quick panel 노출 중에는 두 버튼이 패널 위에 오도록 살짝 우측·하단 정렬 (중심축 유지) */
  body:has(.pd-mobile-quick.show) .top-btn { right: 10px; bottom: 14px; opacity: 0.85; }
  body:has(.pd-mobile-quick.show) .kakao-btn { right: 8px; bottom: 64px; opacity: 0.85; }
}

/* ─────── toast ─────── */
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #ffffff; padding: 14px 22px; font-size: 13px; letter-spacing: 0.04em; z-index: 60; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.toast[hidden] { display: none; }


/* =========================================================
   SUBPAGE BLOCKS (LIGHT THEME)
   ========================================================= */

/* Hero */
.subhero { position: relative; height: 420px; overflow: hidden; background: var(--surface); }
.subhero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9) saturate(0.85); }
.subhero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, var(--surface) 100%); pointer-events: none; opacity: 0.7; }
.subhero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 0; max-width: 1320px; margin: auto; width: 100%; height: 100%;}
.subhero-eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 14px; }
.subhero-eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--accent); }
.subhero-title { font-family: var(--font-display); font-size: 80px; line-height: 1; margin: 0; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; }
.subhero-kr { margin-top: 14px; font-family: var(--font-display); font-size: 22px; color: var(--ink); letter-spacing: 0.04em; }
.subhero-desc { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 480px; line-height: 1.7; }
.subhero-corner { position: absolute; z-index: 2; bottom: 28px; right: 96px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.subhero-corner b { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--ink); letter-spacing: 0.05em; }

/* Breadcrumb & Tools */
.breadcrumb-bar { border-bottom: 1px solid var(--line); position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding:20px 0; max-width: 1320px; margin: auto; width: 100%; height: 100%;; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.crumbs { display: flex; gap: 12px; align-items: center; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: rgba(42,34,28,0.3); }
.crumbs .current { color: var(--ink); font-weight: 500; }
.share-row { display: flex; gap: 14px; align-items: center; color: var(--muted); }
.share-row a { color: var(--muted); transition: color .2s; }
.share-row a:hover { color: var(--ink); }

.list-shell { padding: 15px 96px 80px; background: var(--bg); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.cat-chip { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 10px 18px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: border-color .2s, color .2s, background .2s; }
.cat-chip:hover { border-color: var(--ink); }
.cat-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-chip .count { font-family: var(--font-display); font-size: 12px; color: inherit; opacity: 0.65; letter-spacing: 0; }
.cat-chip.active .count { opacity: 0.9; }

.color-row { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--line); align-items: center; }
.color-row .color-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-right: 18px; }
.color-chip { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 8px 14px 8px 12px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: border-color .2s, color .2s; }
.color-chip:hover, .color-chip.active { border-color: var(--ink); }
.color-chip .dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2); }

/* Gender · 성별 칩 (여성/남성/공용) */
.gender-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.gender-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-right: 18px; }
.gender-chip { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 8px 14px; font-size: 12px; letter-spacing: -0.2px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, background .2s, color .2s; font-family: inherit; }
.gender-chip:hover { border-color: var(--ink); }
.gender-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gender-chip .count { font-size: 11px; opacity: 0.7; letter-spacing: 0; font-family: var(--font-display); }

/* Factory · 공장 해시태그 칩 */
.factory-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.factory-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-right: 18px; }
.factory-chip { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 8px 14px; font-size: 12px; letter-spacing: -0.3px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, background .2s, color .2s; font-family: inherit; }
.factory-chip:hover { border-color: var(--ink); }
.factory-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.factory-chip .factory-flag { font-size: 14px; line-height: 1; }
.factory-chip .factory-code { font-family: var(--font-display); font-weight: 500; }
.factory-chip .count { font-size: 11px; opacity: 0.7; letter-spacing: 0; }

/* 상품 카드 좌측 상단 공장 뱃지 (해시태그 핀) */
.list-shell .factory-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(26, 22, 18, 0.88);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: -0.3px;
  line-height: 1;
  border-radius: 2px;
  transition: background .2s, transform .2s;
}
.list-shell .product-card:hover .factory-badge { background: var(--accent); transform: translateY(-1px); }
.list-shell .factory-badge-flag { font-size: 13px; line-height: 1; letter-spacing: 0; }
.list-shell .factory-badge-code { font-weight: 600; letter-spacing: -0.2px; }

.list-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.list-toolbar .sort-tabs { display: flex; gap: 28px; align-items: center; }
.list-toolbar .sort-tabs button { font-size: 12px; letter-spacing: 0.22em; color: var(--muted); background: transparent; border: 0; cursor: pointer; text-transform: uppercase; }
.list-toolbar .sort-tabs button:hover { color: var(--ink); }
.list-toolbar .sort-tabs button.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.list-toolbar .right-tools { display: flex; gap: 16px; align-items: center; }
.list-toolbar .result-count { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.list-toolbar .result-count b { color: var(--ink); font-weight: 500; font-family: var(--font-display); }
.list-toolbar .view-toggle { display: inline-flex; border: 1px solid var(--line); }
.list-toolbar .view-toggle button { width: 36px; height: 36px; background: transparent; border: 0; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.list-toolbar .view-toggle button.active { background: var(--ink); color: #fff; }
.list-toolbar .view-toggle button svg { width: 14px; height: 14px; }

/* Subpage Product Cards (서브 페이지 이미지 확대 효과) */
.list-shell .product-grid { display: grid; gap: 28px 24px; grid-template-columns: repeat(4, 1fr); }
.list-shell .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.list-shell .product-grid.cols-5 { grid-template-columns: repeat(5, 1fr); gap: 24px 18px; }
.list-shell .product-card { display: flex; flex-direction: column; position: relative; cursor: pointer;}
.list-shell .product-thumb { background: var(--surface); position: relative; aspect-ratio: 1/1; overflow: hidden;}
.list-shell .product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 2.4s ease; transform: scale(1); filter: brightness(0.92); }
.list-shell .product-card:hover .product-thumb img { transform: scale(1.06); }

.list-shell .badge-stack { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.list-shell .badge { position: relative; top: auto; left: auto; padding: 4px 9px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; background: var(--ink); color: #fff; font-weight: 500; }
.list-shell .badge.hit { background: #c25a3a; }
.list-shell .badge.rec { background: var(--accent); }
.list-shell .badge.new { background: #ffffff; color: var(--ink); border: 1px solid var(--line); }

.list-shell .quick-actions { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; z-index: 2; }
.list-shell .product-card:hover .quick-actions { opacity: 1; transform: translateY(0); }
.list-shell .quick-actions button { background: #fff; border: 1px solid var(--line); color: var(--ink); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s; }
.list-shell .quick-actions button:hover { border-color: var(--ink); color: var(--ink); }

.list-shell .add-cta { position: absolute; left: 12px; right: 12px; bottom: -56px; background: var(--ink); color: #fff; border: 0; padding: 12px 0; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer; transition: bottom .4s ease, background .2s; font-weight: 600; }
.list-shell .add-cta:hover { background: var(--accent); }
.list-shell .product-card:hover .add-cta { bottom: 12px; }

.list-shell .product-meta { padding: 16px 2px 0; margin: 0; }
.list-shell .product-name { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.35; letter-spacing: 0.01em; }
.list-shell .product-kr { font-size: 12px; color: var(--muted); margin-top: 4px; letter-spacing: 0.02em; }
.list-shell .price-row { margin-top: 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.list-shell .price-original { text-decoration: line-through; color: var(--muted); font-size: 13px; opacity: 0.6; }
.list-shell .price-sale { font-family: var(--font-display); color: var(--ink); font-size: 17px; font-weight: 500; letter-spacing: 0.01em; }
.list-shell .price-discount { font-size: 11px; color: #c25a3a; letter-spacing: 0.1em; font-weight: 600; }
.list-shell .swatch-row { margin-top: 10px; display: flex; gap: 5px; align-items: center; }
.list-shell .swatch-row span { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }
.list-shell .swatch-row .more { font-size: 10px; color: var(--muted); margin-left: 4px; letter-spacing: 0.08em; }

/* Subpage List View */
.list-shell .product-grid.view-list { grid-template-columns: 1fr; gap: 0; }
.list-shell .product-grid.view-list .product-card { flex-direction: row; align-items: stretch; border-bottom: 1px solid var(--line); padding: 20px 0; }
.list-shell .product-grid.view-list .product-thumb { width: 200px; aspect-ratio: 1 / 1; flex-shrink: 0; }
.list-shell .product-grid.view-list .product-meta { padding: 8px 24px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.list-shell .product-grid.view-list .product-name { font-size: 22px; }
.list-shell .product-grid.view-list .price-row { margin-top: 18px; }
.list-shell .product-grid.view-list .price-sale { font-size: 20px; }
.list-shell .product-grid.view-list .add-cta { position: relative; bottom: auto; left: auto; right: auto; width: fit-content; padding: 12px 24px; margin-top: 18px; }
.list-shell .product-grid.view-list .product-card:hover .add-cta { bottom: auto; }

/* Pagination */
.list-shell .pagination { margin-top: 60px; display: flex; justify-content: center; align-items: center; gap: 4px; padding: 28px 0; border-top: 1px solid var(--line); }
.list-shell .pagination button, .list-shell .pagination a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid transparent; color: var(--ink); font-size: 13px; letter-spacing: 0.05em; font-family: var(--font-display); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.list-shell .pagination button:hover, .list-shell .pagination a:hover { border-color: var(--ink); }
.list-shell .pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.list-shell .pagination .gap { color: rgba(42,34,28,0.3); border: 0; cursor: default; width: 22px; }

/* ─────── 메인 페이지 공지사항 리스트 ─────── */
.notice-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.notice-list-item { border-bottom: 1px solid var(--line); }
.notice-list-item a { display: grid; grid-template-columns: 70px 1fr auto; gap: 20px; align-items: center; padding: 20px 8px; color: var(--ink); transition: background .2s, color .2s; }
.notice-list-item a:hover { background: rgba(244, 239, 230, 0.4); color: var(--accent); }
.notice-list-tag { font-size: 11px; color: #b25a1e; font-weight: 600; letter-spacing: 0.18em; text-align: center; }
.notice-list-no { font-family: var(--font-display); font-size: 13px; color: var(--muted); text-align: center; }
.notice-list-title { font-size: 14px; letter-spacing: 0.01em; }
.notice-list-date { font-family: var(--font-display); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
@media (max-width: 768px) {
  .notice-list-item a { grid-template-columns: 50px 1fr; gap: 12px; padding: 16px 4px; }
  .notice-list-date { grid-column: 2; font-size: 11px; margin-top: -8px; }
}

/* ═══════════════════ 상품 상세 페이지 ═══════════════════ */
.product-detail { padding: 56px 96px 100px; background: var(--bg); }
.pd-empty { padding: 120px 0; text-align: center; }
.pd-empty .display { font-size: 32px; margin-bottom: 12px; }
.pd-empty p { color: var(--muted); margin-bottom: 28px; }

/* 상단: 갤러리 + 정보 */
.pd-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 60px; margin-bottom: 100px; }

/* 갤러리 */
.pd-gallery { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px; align-self: start; }
.pd-main-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.pd-main-img:hover img { transform: scale(1.04); }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pd-thumb { background: var(--surface); border: 1px solid transparent; padding: 0; cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden; transition: border-color .2s, opacity .2s; opacity: 0.7; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.active { border-color: var(--ink); opacity: 1; }

/* 인포 */
.pd-info { padding-top: 8px; }
.pd-eyebrow { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.pd-name { font-family: var(--font-display); font-size: 42px; line-height: 1.1; margin: 0; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.pd-kr { margin-top: 8px; font-size: 14px; color: var(--muted); letter-spacing: 0.02em; }

.pd-price-block { margin-top: 26px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pd-price-discount { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #c25a3a; letter-spacing: 0.02em; }
.pd-price-sale { font-family: var(--font-display); font-size: 32px; font-weight: 500; color: var(--ink); letter-spacing: 0.01em; }
.pd-price-original { font-size: 14px; color: var(--muted); text-decoration: line-through; }

.pd-divider { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }

.pd-option-row { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; padding: 14px 0; }
.pd-option-label { font-size: 14px; letter-spacing: -0.2px; text-transform: none; color: var(--muted); font-weight: 500; }

.pd-colors { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pd-color-swatches { display: flex; gap: 8px; }
.pd-color-swatch { width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); transition: box-shadow .2s, transform .2s; }
.pd-color-swatch:hover { transform: scale(1.08); }
.pd-color-swatch.active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }
.pd-color-name { font-size: 13px; color: var(--ink); letter-spacing: 0.02em; }

.pd-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-sizes button { min-width: 50px; padding: 10px 14px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 13px; color: var(--ink); transition: border-color .2s, background .2s, color .2s; letter-spacing: 0.02em; }
.pd-sizes button:hover { border-color: var(--ink); }
.pd-sizes button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.pd-qty { display: inline-flex; border: 1px solid var(--line); width: fit-content; }
.pd-qty button { width: 38px; height: 38px; background: transparent; border: 0; cursor: pointer; font-size: 16px; color: var(--ink); transition: background .2s; }
.pd-qty button:hover { background: var(--surface); }
.pd-qty span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; font-family: var(--font-display); font-size: 14px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

.pd-subtotal-row { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 22px; }
.pd-subtotal-label { font-size: 15px; letter-spacing: -0.3px; text-transform: none; color: var(--muted); font-weight: 500; }
.pd-subtotal-price { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--ink); }

.pd-actions { display: grid; grid-template-columns: 1fr 1fr 52px; gap: 8px; margin-bottom: 28px; }
.pd-btn { padding: 16px 0; font-size: 14px; letter-spacing: -0.2px; text-transform: none; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; font-family: inherit; }
.pd-btn-bag { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.pd-btn-bag:hover { background: var(--ink); color: #fff; }
.pd-btn-buy { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.pd-btn-buy:hover { background: var(--accent); border-color: var(--accent); }
.pd-btn-wish { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 0; display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s, background .2s, color .2s; }
.pd-btn-wish svg { width: 22px; height: 22px; fill: transparent; transition: fill .25s ease, transform .25s ease; }
.pd-btn-wish:hover { border-color: var(--ink); }
.pd-btn-wish:hover svg { transform: scale(1.1); }
.pd-btn-wish:active svg { transform: scale(0.88); }
.pd-btn-wish.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pd-btn-wish.active svg { fill: #fff; animation: heartPop .35s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes heartPop {
  0%   { transform: scale(0.6); }
  60%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.pd-meta-list { list-style: none; padding: 0; margin: 0; font-size: 12px; color: var(--muted); line-height: 1.9; }
.pd-meta-list li span { color: var(--accent); margin-right: 6px; }

/* 탭 */
.pd-tabs-wrap { border-bottom: 1px solid var(--line); margin-bottom: 60px; background: var(--bg); }
.pd-tabs { display: flex; gap: 0; }
.pd-tabs button { flex: 1; max-width: 200px; background: transparent; border: 0; padding: 22px 0; cursor: pointer; font-size: 16px; letter-spacing: -0.3px; text-transform: none; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; font-family: inherit; font-weight: 400; }
.pd-tabs button:hover { color: var(--ink); }
.pd-tabs button.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }

/* 탭 패널 */
.pd-tab-panel { max-width: 900px; margin: 0 auto 100px; }

.pd-detail-intro { text-align: center; margin: 40px 0 60px; }
.pd-detail-eyebrow { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.pd-detail-title { font-family: var(--font-display); font-size: 44px; line-height: 1.15; margin: 0 0 22px; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; }
.pd-detail-lead { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }

.pd-detail-img { margin: 40px 0; overflow: hidden; background: var(--surface); }
.pd-detail-img img { width: 100%; height: auto; display: block; }

.pd-detail-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0; }
.pd-detail-split .pd-detail-img { margin: 0; aspect-ratio: 4 / 5; }
.pd-detail-split .pd-detail-img img { width: 100%; height: 100%; object-fit: cover; }

.pd-detail-text { margin: 60px 0; }
.pd-detail-text h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 0 0 18px; letter-spacing: 0.01em; color: var(--ink); }
.pd-detail-text p { font-size: 14px; line-height: 1.85; color: var(--ink); margin: 0 0 14px; }

.pd-detail-spec { margin: 60px 0; }
.pd-detail-spec h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 0 0 22px; letter-spacing: 0.01em; color: var(--ink); }
.pd-detail-spec table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.pd-detail-spec th, .pd-detail-spec td { padding: 16px 14px; font-size: 13px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd-detail-spec th { font-weight: 500; color: var(--muted); letter-spacing: 0.04em; width: 130px; background: rgba(244, 239, 230, 0.4); }
.pd-detail-spec td { color: var(--ink); }

/* 함께 보면 좋은 */
.pd-related { margin-top: 80px; padding-top: 60px; border-top: 1px solid var(--line); }
.pd-related .section-head { margin-bottom: 36px; }

/* 반응형 */
@media (max-width: 1024px) {
  .product-detail { padding: 40px 56px 80px; }
  .pd-top { grid-template-columns: 1fr; gap: 40px; margin-bottom: 70px; }
  .pd-gallery { position: static; }
  .pd-name { font-size: 32px; }
  .pd-detail-title { font-size: 32px; }
}
@media (max-width: 768px) {
  .product-detail { padding: 24px 16px 130px; }
  .pd-top { gap: 24px; }

  /* 갤러리 — 모바일에서 너무 크지 않게 */
  .pd-gallery { gap: 10px; }
  .pd-main-img { aspect-ratio: 1 / 1; max-height: 56vh; }
  .pd-main-img img { object-position: center; }
  .pd-thumbs { gap: 6px; }

  /* 이름·가격 더 명확하게 */
  .pd-name { font-size: 26px; }
  .pd-kr { font-size: 13px; }
  .pd-price-block { margin-top: 18px; gap: 10px; }
  .pd-price-sale { font-size: 26px; }
  .pd-price-discount { font-size: 18px; }
  .pd-price-original { font-size: 13px; }

  /* 옵션 — 터치 타겟 확대 */
  .pd-divider { margin: 22px 0; }
  .pd-option-row { grid-template-columns: 90px 1fr; padding: 12px 0; gap: 14px; }
  .pd-option-label { font-size: 13px; }
  .pd-color-swatch { width: 32px; height: 32px; }
  .pd-color-name { font-size: 14px; }
  .pd-sizes button { min-width: 56px; padding: 12px 16px; font-size: 14px; }
  .pd-qty button { width: 44px; height: 44px; font-size: 18px; }
  .pd-qty span { min-width: 52px; font-size: 15px; }

  /* 합계 */
  .pd-subtotal-price { font-size: 24px; }

  /* 액션 버튼을 화면 하단에 고정 — 어디서 스크롤 중이든 구매 가능 */
  .pd-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid var(--line);
    grid-template-columns: 1fr 1fr 48px;
    gap: 6px;
    z-index: 30;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  }
  .pd-btn { padding: 14px 0; font-size: 13px; }
  .pd-btn-wish { display: inline-flex; width: 48px; height: 48px; }
  .pd-btn-wish svg { width: 20px; height: 20px; }

  .pd-tabs button { font-size: 14px; letter-spacing: -0.3px; padding: 16px 0; }
  .pd-detail-title { font-size: 26px; }
  .pd-detail-split { grid-template-columns: 1fr; }

  /* 헤더 모바일에서 컴팩트하게 */
  .site-header { padding: 18px 20px; }
  .gnb { gap: 22px; font-size: 13px; }
  .logo img { height: 24px; }
}

/* ─────── 공지·리뷰 상세 페이지 공통 ─────── */
.detail-shell { padding: 60px 56px 80px; }
.detail-shell .section-inner { max-width: 980px; }

/* 게시물 헤더 */
.post-detail .post-header { padding: 8px 0 28px; border-bottom: 1px solid var(--line); }
.post-detail .post-tag { display: inline-block; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 18px; padding: 4px 10px; border: 1px solid var(--line); }
.post-detail .post-tag.pinned { color: #b25a1e; border-color: #b25a1e; background: #faf6ec; font-weight: 600; }
.post-detail .post-title { font-family: var(--font-display); font-size: 32px; line-height: 1.3; margin: 0 0 22px; font-weight: 500; color: var(--ink); letter-spacing: -0.5px; }
.post-detail .post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); letter-spacing: -0.2px; }
.post-detail .post-meta .author-avatar { width: 26px; height: 26px; }
.post-detail .post-author { color: var(--ink); font-weight: 500; }
.post-detail .post-divider { opacity: 0.5; }

/* 본문 */
.post-detail .post-body { padding: 50px 8px; min-height: 260px; font-size: 15px; line-height: 1.85; color: var(--ink); letter-spacing: -0.3px; border-bottom: 1px solid var(--line); }

/* 이전·다음 네비게이션 */
.post-nav { margin-top: 30px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.post-nav-row { display: grid; grid-template-columns: 100px 1fr; gap: 24px; align-items: center; padding: 18px 12px; border-bottom: 1px solid var(--line); transition: background .2s; }
.post-nav-row:last-child { border-bottom: 0; }
.post-nav-row:hover:not(.disabled) { background: rgba(244, 239, 230, 0.5); }
.post-nav-label { font-size: 12px; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }
.post-nav-title { font-size: 14px; color: var(--ink); letter-spacing: -0.3px; }
.post-nav-title:hover { color: var(--accent); }
.post-nav-row.disabled .post-nav-title { color: var(--muted); }

/* 목록으로 버튼 */
.post-actions { display: flex; justify-content: center; margin-top: 40px; }
.post-list-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px; border: 1px solid var(--ink); color: var(--ink); font-size: 13px; letter-spacing: 0.06em; background: transparent; cursor: pointer; transition: background .2s, color .2s; font-family: inherit; }
.post-list-btn:hover { background: var(--ink); color: #fff; }

/* 리뷰 상세 — 좌측 이미지 + 우측 본문 */
.review-detail-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 48px; align-items: start; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.review-detail-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.review-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.review-detail-info { padding-top: 8px; }
.review-detail-eyebrow { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.review-detail-stars { color: var(--accent); font-size: 18px; letter-spacing: 0.18em; margin-bottom: 16px; }
.review-detail-title { font-family: var(--font-display); font-size: 30px; font-weight: 500; margin: 0 0 14px; color: var(--ink); letter-spacing: -0.5px; line-height: 1.3; }
.review-detail-byline { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.review-detail-name { color: var(--ink); font-weight: 500; letter-spacing: -0.2px; }
.review-detail-dot { opacity: 0.5; }
.review-detail-date { font-family: var(--font-display); letter-spacing: -0.2px; }
.review-detail-text { font-size: 16px; line-height: 1.85; color: var(--ink); margin: 0 0 36px; letter-spacing: -0.3px; }
.review-detail-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.3px;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.helpful-btn:hover { background: var(--ink); color: #fff; }
.helpful-btn:active { transform: scale(0.97); }
.helpful-btn .helpful-icon {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: transform .25s;
}
.helpful-btn:hover .helpful-icon { transform: scale(1.15) rotate(-8deg); }
.helpful-btn .helpful-label { font-weight: 500; }
.helpful-btn .helpful-count {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 2px 10px;
  background: var(--surface);
  color: var(--ink);
  letter-spacing: 0;
  min-width: 32px;
  text-align: center;
  transition: background .2s, color .2s;
}
.helpful-btn:hover .helpful-count { background: rgba(255,255,255,0.18); color: #fff; }
.helpful-btn.liked {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.helpful-btn.liked .helpful-count { background: rgba(255,255,255,0.22); color: #fff; }
.helpful-btn.liked:hover { background: var(--ink); border-color: var(--ink); }
.helpful-hint { font-size: 12px; color: var(--muted); letter-spacing: -0.2px; }

@media (max-width: 1024px) {
  .detail-shell { padding: 40px 32px 60px; }
  .review-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .post-detail .post-title { font-size: 24px; }
}
@media (max-width: 768px) {
  .detail-shell { padding: 30px 18px 50px; }
  .post-detail .post-title { font-size: 20px; line-height: 1.4; }
  .post-nav-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 8px; }
  .review-detail-name { font-size: 22px; }
}

/* ─────── 공지사항 서브페이지 ─────── */
.notice-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 18px; }
.notice-count { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.notice-count b { color: var(--ink); font-weight: 500; font-family: var(--font-display); margin: 0 2px; }
.notice-search { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.notice-search svg { width: 18px; height: 18px; }

.notice-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.notice-table thead th { padding: 16px 12px; font-size: 13px; font-weight: 500; color: var(--ink); text-align: center; border-bottom: 1px solid var(--line); letter-spacing: 0.02em; position: relative; }
.notice-table thead th + th::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 12px; background: var(--line); }
.notice-table tbody td { padding: 18px 12px; font-size: 13px; color: var(--ink); text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.notice-table .col-no { width: 80px; }
.notice-table .col-title { text-align: left; }
.notice-table .col-title a { color: var(--ink); display: block; padding-left: 8px; transition: color .2s; }
.notice-table .col-title a:hover { color: var(--accent); }
.notice-table .col-author { width: 180px; }
.notice-table .col-date { width: 130px; color: var(--muted); }
.notice-table .col-views { width: 90px; color: var(--muted); font-family: var(--font-display); }

.notice-row.pinned td { background: #faf6ec; }
.notice-row.pinned .col-no,
.notice-row.pinned .col-title a { color: #b25a1e; }

.notice-badge { display: inline-block; font-size: 12px; color: #b25a1e; font-weight: 500; letter-spacing: 0.04em; }

.col-author { font-size: 13px; color: var(--ink); }
.col-author .author-avatar { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #d9c8a8, #b8916a); vertical-align: middle; margin-right: 8px; }
.col-author .author-name { vertical-align: middle; }

.notice-pagination { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 40px 0 20px; }
.notice-pagination button { width: 38px; height: 38px; background: transparent; border: 1px solid transparent; color: var(--ink); font-size: 13px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; font-family: var(--font-display); }
.notice-pagination button:hover { border-color: var(--ink); }
.notice-pagination button.current { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }

/* ─────── 리뷰 서브페이지 ─────── */
.review-page-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.review-page-card { display: flex; flex-direction: column; cursor: pointer; }
.review-page-thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.review-page-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s ease; transform: scale(1); }
.review-page-card:hover .review-page-thumb img { transform: scale(1.06); }
.review-page-meta { padding: 16px 4px 0; display: flex; flex-direction: column; flex: 1; }
.review-page-stars { color: var(--accent); font-size: 13px; letter-spacing: 0.12em; line-height: 1; }
.review-page-text { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.review-page-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.review-page-name { font-family: var(--font-display); }

/* 리뷰 리스트 뷰 (가로형) */
.review-page-grid.view-list { grid-template-columns: 1fr; gap: 0; }
.review-page-grid.view-list .review-page-card { flex-direction: row; align-items: stretch; padding: 26px 0; gap: 28px; border-bottom: 1px solid var(--line); }
.review-page-grid.view-list .review-page-thumb { width: 200px; aspect-ratio: 1 / 1; flex-shrink: 0; }
.review-page-grid.view-list .review-page-meta { padding: 8px 0; flex: 1; justify-content: center; }
.review-page-grid.view-list .review-page-text { -webkit-line-clamp: 4; font-size: 15px; }
.review-page-grid.view-list .review-page-foot { padding-top: 18px; }
@media (max-width: 768px) {
  .review-page-grid.view-list .review-page-card { gap: 16px; padding: 18px 0; }
  .review-page-grid.view-list .review-page-thumb { width: 120px; }
  .review-page-grid.view-list .review-page-text { font-size: 13px; -webkit-line-clamp: 3; }
}

/* ─────── 핸드백 서브페이지 main — 글자 14~16px, letter-spacing -1px 통일 ─────── */
.list-shell .cat-chip,
.list-shell .cat-chip .count,
.list-shell .color-row .color-label,
.list-shell .color-chip,
.list-shell .factory-row .factory-label,
.list-shell .factory-chip,
.list-shell .factory-chip .factory-code,
.list-shell .factory-chip .count,
.list-shell .gender-row .gender-label,
.list-shell .gender-chip,
.list-shell .gender-chip .count,
.list-shell .list-toolbar .sort-tabs button,
.list-shell .list-toolbar .result-count,
.list-shell .product-kr,
.list-shell .price-original,
.list-shell .price-discount,
.list-shell .swatch-row .more,
.list-shell .pagination button,
.list-shell .pagination a,
.list-shell .pagination .gap,
.list-shell .badge { font-size: 14px; letter-spacing: -1px; text-transform: none; }
.list-shell .product-name,
.list-shell .price-sale { font-size: 16px; letter-spacing: -1px; }
.list-shell .factory-chip .factory-flag { font-size: 16px; letter-spacing: 0; }


/* ─────── responsive ─────── */
@media (max-width: 1024px) {
  .product-grid.four { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-cols { gap: 60px; }
  .list-shell .product-grid.cols-5 { grid-template-columns: repeat(4, 1fr); }
  .list-shell .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .util-strip { padding: 10px 20px; font-size: 10px; letter-spacing: 0px; }
  .util-strip .section-inner { grid-template-columns: 1fr; gap: 8px; }
  .util-strip .section-inner > :first-child { display: none; }
  .util-center { text-align: center; line-height: 1.7; }
  .util-center .util-dot { display: none; }
  .util-right { justify-content: center; gap: 16px; }
  .site-header { padding: 24px 20px; }
  .site-header .section-inner { flex-direction: column; gap: 16px; }
  .gnb { gap: 20px; font-size: 14px; }
  .section { padding: 60px 20px 40px; }
  .hero { height: 520px; }
  /* hero — caption은 위쪽, controls는 하단 우측으로 분리 (겹침 방지) */
  .hero-caption { left: 20px; right: 20px; bottom: 96px; max-width: none; }
  .hero-controls { left: auto; right: 20px; bottom: 22px; gap: 12px; }
  .hero-arrow { width: 36px; height: 36px; font-size: 14px; }
  .hero-cta { font-size: 11px; letter-spacing: 0.14em; }
  .hero-cta .arrow { font-size: 14px; }
  .hero-title { font-size: 36px; }
  .display { font-size: 36px; }
  .product-grid.four,
  .product-grid.three { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .row-arrows-row { display: none; } /* 모바일은 스와이프가 기본이라 화살표 버튼은 숨기고 페이지네이션(dots)만 노출 */
  .section-head.between { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-cols { gap: 32px; flex-direction: column; }
  .footer-baseline { flex-direction: column-reverse; gap: 16px; align-items: flex-start; }
  .banner-content { left: 20px; right: 20px; }
  .banner-title { font-size: 36px; }
  
  /* Subpage mobile */
  .subhero { height: 320px; }
  .subhero-title { font-size: 40px; }
  .list-shell .product-grid { grid-template-columns: repeat(2, 1fr); }
  .breadcrumb-bar, .list-shell, .subhero-content { padding-left: 18px; padding-right: 18px; }

  /* ─── 카테고리 서브페이지 모바일 정리 ─── */
  .breadcrumb-bar { font-size: 12px; padding: 14px 18px; }
  .crumbs { white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .crumbs::-webkit-scrollbar { display: none; }

  /* ─── 카테고리/성별/컬러/공장/정렬 행 — 모두 가로 스크롤 + 보이는 스크롤바 ─── */
  .cat-chips,
  .gender-row,
  .color-row,
  .factory-row,
  .list-toolbar .sort-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ink) var(--surface);
  }
  /* WebKit 스크롤바 스타일 (가늘게, 다크 thumb) */
  .cat-chips::-webkit-scrollbar,
  .gender-row::-webkit-scrollbar,
  .color-row::-webkit-scrollbar,
  .factory-row::-webkit-scrollbar,
  .list-toolbar .sort-tabs::-webkit-scrollbar { height: 2px; display: block; }
  .cat-chips::-webkit-scrollbar-track,
  .gender-row::-webkit-scrollbar-track,
  .color-row::-webkit-scrollbar-track,
  .factory-row::-webkit-scrollbar-track,
  .list-toolbar .sort-tabs::-webkit-scrollbar-track { background: var(--surface); border-radius: 2px; }
  .cat-chips::-webkit-scrollbar-thumb,
  .gender-row::-webkit-scrollbar-thumb,
  .color-row::-webkit-scrollbar-thumb,
  .factory-row::-webkit-scrollbar-thumb,
  .list-toolbar .sort-tabs::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 2px; }

  /* 자식 칩들은 압축되지 않게 */
  .cat-chips > *,
  .gender-row > *,
  .color-row > *,
  .factory-row > *,
  .list-toolbar .sort-tabs > * { flex-shrink: 0; }

  /* 칩 컴팩트 */
  .cat-chips { gap: 6px; padding-bottom: 14px; margin-bottom: 18px; }
  .cat-chip { padding: 8px 12px; font-size: 13px; gap: 6px; }

  .gender-row, .color-row, .factory-row { gap: 6px; padding-bottom: 14px; margin-bottom: 18px; align-items: center; }
  /* 라벨은 인라인으로 (첫번째 위치, 같은 줄에서 함께 스크롤) */
  .gender-row .gender-label,
  .color-row .color-label,
  .factory-row .factory-label { width: auto; margin: 0 8px 0 0; font-size: 12px; letter-spacing: -0.2px; line-height: 1; white-space: nowrap; }
  .gender-chip { padding: 7px 12px; font-size: 13px; gap: 6px; white-space: nowrap; }
  .color-chip { padding: 7px 10px; font-size: 13px; gap: 6px; white-space: nowrap; }
  .list-shell .factory-chip { padding: 7px 10px; font-size: 13px; gap: 5px; white-space: nowrap; }

  /* ─── 정렬 탭 + 우측 도구 영역 — 세로 스택 (탭 한줄 가로 스크롤) ─── */
  .list-toolbar { flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 14px; margin-bottom: 20px; }
  .list-toolbar .sort-tabs {
    gap: 20px;
    padding-bottom: 4px;
  }
  .list-toolbar .sort-tabs button {
    font-size: 13px;
    letter-spacing: -0.3px;
    padding: 4px 0;
    white-space: nowrap;
  }
  .list-toolbar .right-tools { justify-content: space-between; width: 100%; gap: 10px; }
  .list-toolbar .result-count { font-size: 13px; letter-spacing: -0.2px; }
  .list-toolbar .result-count b { font-weight: 600; }
  .list-toolbar .view-toggle { flex-shrink: 0; }

  /* 상품 카드 메타 컴팩트 */
  .list-shell .product-grid { gap: 22px 14px; }
  .list-shell .product-name { font-size: 15px; }
  .list-shell .product-kr { font-size: 12px; }
  .list-shell .price-sale { font-size: 15px; }

  /* 페이지네이션 컴팩트 */
  .list-shell .pagination { margin-top: 30px; padding: 18px 0; }
  .list-shell .pagination button, .list-shell .pagination a { width: 32px; height: 32px; font-size: 13px; }
}