/* ==========================================================================
   시선집 안경 편집숍 — DREXLY 템플릿
   색·활자·구조는 00-디자인보드.png(잉크·크리스털 블루·오프화이트 / Suisse Intl+Pretendard /
   Optical Explorer · Face-Shape Split · Lens Comparison Subgrid)에서 가져왔다.
   ========================================================================== */

:root {
  /* 색 — 디자인보드 COLOR */
  --ink: #0b0e14;
  --ink-2: #151a23;
  --ink-3: #232a36;
  --blue: #0ea5e9;
  --blue-press: #0284c7;
  --blue-soft: #e2f4fd;
  --paper: #f7f7f5;
  --paper-2: #eeeeea;
  --white: #ffffff;
  --gray: #5c6472;
  --gray-2: #8a91a0;
  --line: #e2e2dc;
  --line-2: #cdcdc6;
  --line-dark: rgba(255, 255, 255, 0.16);

  /* 의미색 — 상태는 색만으로 전하지 않고 아이콘·글자를 함께 쓴다 */
  --ok: #0f7b4f;
  --ok-bg: #e8f5ee;
  --warn: #8a5300;
  --warn-bg: #fdf2e0;
  --err: #c02a1e;
  --err-bg: #fdeceb;
  --info: #0369a1;
  --info-bg: #e8f4fb;

  /* 활자 — 디자인보드 TYPOGRAPHY (Suisse Intl 대용 그로테스크 + Pretendard) */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --grot: "Schibsted Grotesk", "Pretendard Variable", Pretendard, Helvetica, Arial, sans-serif;

  /* 조판 */
  --wrap: 1320px;
  --gutter: 40px;
  --section: 118px;
  --r: 2px;
  --r-lg: 4px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: -0.006em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.36; letter-spacing: -0.022em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: #fff; padding: 12px 20px; font-size: 14px;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* 세로로 쌓기만 하는 그리드 — auto 열은 max-content 로 부풀어 320px 에서 페이지를 가로로 민다.
   반드시 minmax(0,1fr) 로 묶는다. */
.brand, .hero-trust, .visit-facts, .drawer-cta, .shop-side, .filter-sheet,
.sum-list, .cart-side, .spec-more, .steps, .rx-card ul, .shape-picks,
.ship-fields, .foot-legal, .field-radio, .plist, .sel-list, .buy-dock-price,
.active-chips, .cmp-list { grid-template-columns: minmax(0, 1fr); }

/* 사진 액자 — span 에도 먹도록 반드시 블록 */
.frame { display: block; overflow: hidden; background: var(--paper-2); position: relative; }
.no-drag img { -webkit-user-drag: none; user-select: none; }

.ico {
  width: 21px; height: 21px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico-sm { width: 17px; height: 17px; stroke-width: 1.5; }
.ico-xs { width: 14px; height: 14px; stroke-width: 1.6; }

/* ------------------------------------------------------------- 활자 계층 */
.display {
  font-family: var(--grot);
  font-weight: 700;
  font-size: clamp(46px, 6.6vw, 98px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.display.sm { font-size: clamp(34px, 4.4vw, 62px); line-height: 0.98; }
.display em { font-style: normal; color: var(--blue); }
.section-dark .display em, .hero-panel .display em { color: var(--blue); }

.eyebrow {
  display: block; font-family: var(--grot);
  font-size: 11px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--blue);
}
.section-title { font-size: clamp(23px, 2.5vw, 34px); line-height: 1.42; }
.sub-title {
  font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
  padding-bottom: 12px; border-bottom: 1px solid var(--ink);
  margin: 0 0 22px;
}
.em { font-weight: 700; }

.chapter-no {
  font-family: var(--grot); font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--gray-2);
}
.section-dark .chapter-no { color: var(--blue); }

.crumb { font-size: 13px; color: var(--gray-2); margin-bottom: 18px; }
.crumb a:hover { color: var(--blue); }
.crumb span { padding: 0 6px; }

.section { padding-block: calc(var(--section) / 2); }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-title, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.76); }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head p { margin-top: 14px; color: var(--gray); font-size: 15.5px; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.7); }

.table-scroll {
  /* static 이면 넘친 표가 문서 스크롤 폭을 밀어 올린다 */
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  background: var(--white);
}

/* ------------------------------------------------------------- 버튼 */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--bd); border-radius: var(--r);
  background: var(--bg); color: var(--fg);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; text-align: center;
  transition: background 0.24s var(--ease), color 0.24s var(--ease),
    border-color 0.24s var(--ease), transform 0.12s var(--ease);
}
.btn span[aria-hidden] { transition: transform 0.24s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

.btn-blue { --bg: var(--blue); --fg: #fff; --bd: var(--blue); }
.btn-blue:hover { --bg: var(--blue-press); --bd: var(--blue-press); }
.btn-dark { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn-dark:hover { --bg: var(--ink-3); --bd: var(--ink-3); }
.btn-line { --bg: var(--white); --fg: var(--ink); --bd: var(--line-2); }
.btn-line:hover { --bd: var(--ink); }
.btn-onDark { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.4); }
.btn-onDark:hover { --bg: rgba(255, 255, 255, 0.1); --bd: #fff; }
.btn-sm { min-height: 40px; padding: 0 15px; font-size: 13px; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 15.5px; }
.btn-block { width: 100%; }

.btn-text {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 6px 0; border-bottom: 1px solid var(--ink);
  transition: gap 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.btn-text:hover { gap: 12px; color: var(--blue); border-bottom-color: var(--blue); }

.linklike {
  background: none; border: 0; padding: 0;
  color: var(--info); font-weight: 600; text-decoration: underline; cursor: pointer;
}

.spinner {
  width: 15px; height: 15px; flex: none;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
.spinner-dark { border-color: rgba(11, 14, 20, 0.2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- 상태 표시 */
.state {
  display: inline-flex; align-items: flex-start; gap: 8px;
  padding: 8px 12px; border-radius: var(--r);
  font-size: 13.5px; line-height: 1.6; font-weight: 500;
}
.state .ico { margin-top: 3px; }
.state-ok { background: var(--ok-bg); color: var(--ok); }
.state-warn { background: var(--warn-bg); color: var(--warn); }
.state-err { background: var(--err-bg); color: var(--err); }
.state-info { background: var(--info-bg); color: var(--info); }

.tag {
  display: inline-block; margin-right: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 2px 7px; border-radius: var(--r);
  background: rgba(255, 255, 255, 0.12); color: inherit;
  vertical-align: 1px;
}
.tag-ok { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.tag-warn { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }

.label-tag {
  display: inline-block; font-family: var(--grot);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray);
}

/* ============================================================== 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(247, 247, 245, 0.92);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(247, 247, 245, 0.97);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  backdrop-filter: saturate(1.3) blur(10px);
  box-shadow: 0 1px 18px rgba(11, 14, 20, 0.07);
}
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.82); font-size: 12.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 36px; }
.topbar-msg { display: flex; align-items: center; gap: 8px; letter-spacing: -0.01em; }
.topbar-links { display: flex; gap: 18px; flex: none; }
.topbar-links a:hover { color: var(--blue); }

.nav { display: flex; align-items: center; gap: 26px; height: var(--head-h); }
.brand { display: grid; gap: 1px; flex: none; }
.brand-kr { font-size: 21px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.brand-en { font-family: var(--grot); font-size: 8.5px; font-weight: 600; letter-spacing: 0.2em; color: var(--gray-2); }

.navlinks { display: flex; gap: 30px; margin-left: 26px; }
.navlinks a {
  position: relative; font-size: 14.5px; font-weight: 500;
  padding: 6px 0; transition: color 0.2s var(--ease);
}
.navlinks a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.26s var(--ease);
}
.navlinks a:hover::after, .navlinks a[aria-current="page"]::after { transform: scaleX(1); }
.navlinks a[aria-current="page"] { font-weight: 700; }

.nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; flex: none; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--r); position: relative;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--paper-2); color: var(--blue); }
.cart-count {
  position: absolute; top: 6px; right: 5px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  border-radius: var(--r-pill);
  font-family: var(--grot); font-size: 10px; font-weight: 700; line-height: 1;
}
.menu-btn {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer;
}

/* ------------------------------------------------------------- 서랍 */
.scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(11, 14, 20, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 90;
  background: var(--white); border-left: 1px solid var(--line);
  padding: 22px 24px 40px; overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer-close {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  font-size: 18px; font-weight: 600; padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.drawer nav a[aria-current="page"], .drawer nav a:hover { color: var(--blue); }
.drawer-cta { margin-top: 24px; display: grid; gap: 9px; }
.drawer-cta .btn { justify-content: flex-start; }
.drawer-note { margin-top: 20px; font-size: 12.5px; line-height: 1.7; color: var(--gray); }

/* ============================================================== 푸터 */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); margin-top: 0; }
.site-footer .brand-kr { color: #fff; }
.site-footer a:hover { color: var(--blue); }
.foot-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px;
  padding-top: 68px; padding-bottom: 48px;
}
.foot-brand p { margin-top: 16px; font-size: 13.5px; line-height: 1.85; }
.foot-sns { display: flex; gap: 8px; margin-top: 18px; }
.foot-sns a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: var(--r);
}
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.foot-col h2 {
  font-family: var(--grot); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 6px;
}
.foot-col a, .foot-col p { font-size: 13.5px; line-height: 1.8; }
.foot-col .btn { margin-top: 6px; --fg: #fff; --bd: var(--line-dark); --bg: transparent; }
.foot-col .btn:hover { --bd: #fff; }
.foot-legal { padding-block: 26px; border-top: 1px solid var(--line-dark); display: grid; gap: 8px; }
.foot-legal p { font-size: 12px; line-height: 1.75; color: rgba(255, 255, 255, 0.55); }
.foot-legal b { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.foot-bottom {
  padding-block: 20px; border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255, 255, 255, 0.5);
}
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ------------------------------------------------------------- 맨 위로·토스트 */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line-2); border-radius: 50%;
  color: var(--ink); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, border-color 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--ink); }

.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 200;
  transform: translate(-50%, 16px);
  min-width: 280px; max-width: min(560px, calc(100vw - 32px));
  display: flex; align-items: flex-start; gap: 11px;
  padding: 15px 20px;
  background: var(--ink); color: #fff;
  border-radius: var(--r); font-size: 14px; line-height: 1.6;
  box-shadow: 0 14px 40px rgba(11, 14, 20, 0.3);
  opacity: 0; visibility: hidden;
  /* 알림일 뿐이므로 아래 제출 버튼을 삼키지 않는다 */
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .ico { color: var(--blue); margin-top: 2px; }
.toast.is-warn .ico { color: #fcd34d; }
.toast.is-err .ico { color: #fca5a5; }

/* ------------------------------------------------------------- 등장 효과 */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================== 시그니처 — 탐색 레일 */
.rail {
  position: fixed; left: 22px; top: 50%; transform: translateY(-50%);
  z-index: 50; display: none;
}
.rail ul { display: grid; gap: 20px; padding-left: 18px; }
.rail-line {
  position: absolute; left: 3px; top: 4px; bottom: 4px; width: 1px;
  background: var(--line-2); display: block;
}
.rail-fill {
  position: absolute; inset: 0; display: block;
  background: var(--blue); transform-origin: top; transform: scaleY(1);
}
.js .rail-fill { transform: scaleY(var(--p, 0)); }
@supports (animation-timeline: scroll()) {
  .js .rail-fill {
    animation: railfill linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes railfill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
.rail-mark {
  display: flex; align-items: baseline; gap: 8px; position: relative;
  font-family: var(--grot); font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--gray-2); transition: color 0.24s var(--ease);
}
.rail-mark::before {
  content: ""; position: absolute; left: -18px; top: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-2);
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease);
}
.rail-mark b { font-size: 11px; }
/* 레일은 밝은 면과 잉크 면 위를 함께 지나간다 — 어느 쪽에서도 읽히는 색이어야 한다 */
.rail-mark.is-active { color: var(--blue); }
.rail-mark.is-active::before { background: var(--blue); border-color: var(--blue); }
.rail-mark:hover { color: var(--blue); }

/* ============================================================== 홈 — 히어로 */
.hero {
  display: grid; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  background: var(--ink); color: #fff; align-items: stretch;
}
.hero-panel { padding: 78px 52px 68px calc((100vw - var(--wrap)) / 2 + var(--gutter)); }
.hero-panel .chapter-no { color: var(--blue); margin-bottom: 26px; }
/* 왼쪽 판이 화면의 38% 뿐이라 본문 display 크기 그대로 쓰면 OPTICAL 이 두 줄로 갈라진다 */
.hero-panel .display { color: #fff; font-size: clamp(38px, 4.9vw, 78px); }
.hero-kr { margin-top: 22px; font-size: 15px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.02em; }
.hero-lead { margin-top: 26px; font-size: 15.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.8); }
.hero-acts { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: grid; gap: 9px; }
.hero-trust li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: rgba(255, 255, 255, 0.66);
}
.hero-trust .ico { color: var(--blue); }
.hero-media { margin: 0; position: relative; }
.hero-media .frame { height: 100%; min-height: 420px; background: var(--ink-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute; left: 0; bottom: 0;
  background: rgba(11, 14, 20, 0.72); color: #fff;
  font-size: 12px; padding: 9px 16px; letter-spacing: -0.01em;
}

/* ------------------------------------------------------------- 편집 기준 */
.standard { padding-block: 56px; border-bottom: 1px solid var(--line); }
.std-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.std-list li { background: var(--paper); padding: 4px 30px 4px 0; }
.std-list li + li { padding-left: 30px; }
.std-no {
  display: block; font-family: var(--grot); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--blue); margin-bottom: 10px;
}
.std-list h3 { font-size: 19px; margin-bottom: 8px; }
.std-list p { font-size: 14px; line-height: 1.8; color: var(--gray); }

/* ------------------------------------------------------------- 장(章) 공통 */
.chapter-head { max-width: 620px; margin-bottom: 46px; }
.chapter-head .chapter-no { margin-bottom: 16px; }
.chapter-kr { margin-top: 20px; font-size: 15px; font-weight: 600; }
.chapter-lead { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--gray); }
.chapter-head .btn { margin-top: 26px; }
.section-dark .chapter-kr { color: #fff; }

/* ------------------------------------------------------------- 얼굴형 스트립 */
.face-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.face-card { margin: 0; background: var(--white); border: 1px solid var(--line); }
.face-card .frame { aspect-ratio: 189 / 202; background: var(--paper-2); }
.face-card img { width: 100%; height: 100%; object-fit: cover; }
.face-card figcaption { padding: 18px 20px 22px; }
.face-card h3 { font-size: 17px; margin-bottom: 8px; }
.face-card p { font-size: 13.5px; line-height: 1.75; color: var(--gray); }
.face-pick { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px !important; color: var(--ink) !important; font-weight: 600; }

/* ------------------------------------------------------------- 렌즈 비교 (Subgrid) */
.lens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto auto auto;
  gap: 0 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.lens-col {
  grid-row: 1 / -1;
  display: grid;
  grid-template-rows: subgrid;
  gap: 0;
  background: var(--ink);
  padding: 26px 22px 28px;
  transition: background 0.24s var(--ease);
}
@supports not (grid-template-rows: subgrid) {
  .lens-col { grid-row: auto; display: block; }
  .lens-grid { grid-template-rows: none; }
}
.lens-col.is-picked { background: var(--ink-3); }
.lens-en { font-family: var(--grot); font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--blue); }
.lens-ko { display: flex; align-items: center; gap: 8px; font-size: 18px; color: #fff; margin-top: 10px; }
.lens-add { font-family: var(--grot); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.8); margin-top: 8px; }
.lens-good, .lens-bad, .lens-who {
  font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, 0.72);
  padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line-dark);
}
.lens-foot {
  margin-top: 26px; display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.76);
}
.lens-foot .ico { color: var(--blue); margin-top: 4px; flex: none; }
.lens-foot b { color: #fff; }
.lens-foot a { color: var(--blue); border-bottom: 1px solid currentColor; }
.lens-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.lens-pick {
  min-height: 44px; padding: 0 18px;
  background: transparent; color: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line-dark); border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: all 0.2s var(--ease);
}
.lens-pick:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.lens-pick.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ------------------------------------------------------------- 시즌 셀렉션 */
.sel-list { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.sel-item {
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px; align-items: center;
  background: var(--paper); padding: 30px 0;
}
.sel-figure { aspect-ratio: 3 / 2; background: var(--white); }
.sel-figure img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.sel-body h3 { font-size: 22px; margin: 8px 0 12px; }
.sel-why { font-size: 15px; line-height: 1.85; color: var(--gray); max-width: 640px; }
.sel-spec { margin-top: 14px; font-family: var(--grot); font-size: 13px; color: var(--ink); letter-spacing: 0.01em; }
.sel-price { margin-top: 6px; font-size: 18px; font-weight: 700; }
.sel-body .btn-text { margin-top: 16px; }
.sel-more { margin-top: 36px; }

/* ------------------------------------------------------------- 라벨 */
.label-band {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px; align-items: center; margin-bottom: 48px;
}
.label-band .frame { aspect-ratio: 672 / 271; }
.label-band img { width: 100%; height: 100%; object-fit: cover; }
.label-band blockquote { margin: 0; }
.label-band blockquote p { font-size: clamp(19px, 2vw, 26px); line-height: 1.6; letter-spacing: -0.025em; }
.label-band cite { display: block; margin-top: 16px; font-size: 13px; font-style: normal; color: var(--gray); }

.label-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.label-item { background: var(--paper-2); padding: 28px 24px 30px; }
.section-tint .label-item { background: var(--white); }
.label-item h3 { font-size: 18px; display: flex; flex-direction: column; gap: 3px; }
.label-item h3 span { font-family: var(--grot); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--gray-2); }
.label-where { margin: 10px 0 12px; font-size: 12.5px; color: var(--gray-2); }
.label-item p { font-size: 13.5px; line-height: 1.8; color: var(--gray); }
.label-pick {
  margin-top: 14px !important; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; gap: 8px; align-items: flex-start;
  color: var(--ink) !important; font-weight: 600; font-size: 13px !important;
}
.label-pick .ico { color: var(--blue); margin-top: 5px; }

/* ------------------------------------------------------------- 방문 안내 */
.visit-band { background: var(--ink); color: #fff; padding-block: 0; }
.visit-in { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: center; }
.visit-media { align-self: stretch; }
.visit-media img { width: 100%; height: 100%; object-fit: cover; }
.visit-copy { padding-block: 72px; }
.visit-copy .section-title { color: #fff; }
.visit-copy > p { margin-top: 18px; font-size: 15px; line-height: 1.9; color: rgba(255, 255, 255, 0.76); max-width: 620px; }
.visit-facts { margin-top: 26px; display: grid; gap: 12px; }
.visit-facts li { display: flex; gap: 11px; font-size: 14px; line-height: 1.75; }
.visit-facts .ico { color: var(--blue); margin-top: 4px; flex: none; }
.visit-acts { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.visit-band .btn-line { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.4); }
.visit-band .btn-line:hover { --bd: #fff; }

/* ============================================================== 페이지 머리 */
.page-head { padding-block: 62px 44px; border-bottom: 1px solid var(--line); }
.page-head-slim { padding-block: 46px 34px; }
.page-kr { margin-top: 20px; font-size: 16px; font-weight: 600; }
.page-lead { margin-top: 12px; max-width: 720px; font-size: 15px; line-height: 1.85; color: var(--gray); }
.page-lead a { color: var(--info); border-bottom: 1px solid currentColor; }

.stepper { display: flex; gap: 26px; margin-top: 24px; }
.stepper li { display: flex; align-items: baseline; gap: 8px; color: var(--gray-2); }
.stepper b { font-family: var(--grot); font-size: 15px; }
.stepper span { font-size: 13px; }
.stepper .is-current { color: var(--ink); }
.stepper .is-current b { color: var(--blue); }

/* ============================================================== 셀렉션(shop) */
.shop { padding-block: 44px 64px; }
.shop-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 48px; align-items: start; }
.shop-side { position: sticky; top: calc(var(--head-h) + 46px); display: grid; gap: 14px; }

.searchbar {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--ink); border-radius: var(--r); background: var(--white);
  padding-left: 14px;
}
.searchbar input {
  flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0;
  font: inherit; font-size: 14px; color: inherit;
}
.searchbar input:focus { outline: none; }
.search-go {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.filter-open { display: none; }

.filter-sheet { display: grid; gap: 22px; }
.sheet-head { display: none; }
.filter-group h3 {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
  padding-bottom: 9px; margin-bottom: 10px; border-bottom: 1px solid var(--ink);
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
}
.filter-group .hint { font-size: 11px; font-weight: 500; color: var(--gray-2); letter-spacing: 0; }
.check {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 7px 0; font-size: 13.5px; line-height: 1.5; cursor: pointer; color: var(--gray);
}
.check input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--blue); flex: none; }
.check:hover { color: var(--ink); }
.filter-note { font-size: 11.5px; line-height: 1.7; color: var(--gray-2); }

.result-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 14px;
}
.result-line { font-size: 14px; color: var(--gray); }
.result-line b { font-family: var(--grot); font-size: 20px; color: var(--ink); margin-right: 2px; }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray); }
.sort-wrap select {
  font: inherit; font-size: 13.5px; min-height: 40px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--white); color: var(--ink); padding: 0 10px;
}
.active-chips { display: none; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.active-chips.has-chips { display: flex; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 0 12px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-pill);
  font-size: 12.5px; color: var(--gray);
}
.chip-btn { cursor: pointer; }
.chip-btn:hover { border-color: var(--ink); color: var(--ink); }
.result-loading {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 0; font-size: 13.5px; color: var(--gray);
}
.is-busy { opacity: 0.45; transition: opacity 0.2s var(--ease); }
.is-hidden { display: none !important; }

/* 에디토리얼 행 */
.plist { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin-bottom: 54px; }
.prow {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px;
  background: var(--paper); padding: 30px 0;
}
.prow-figure { aspect-ratio: 3 / 2; background: var(--white); }
.prow-figure img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.prow-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prow-name { font-size: 22px; margin: 8px 0 10px; }
.prow-name a:hover { color: var(--blue); }
.prow-why { font-size: 14.5px; line-height: 1.85; color: var(--gray); max-width: 620px; }
.prow-spec { display: flex; flex-wrap: wrap; gap: 0 26px; margin-top: 18px; }
.prow-spec div { display: flex; gap: 8px; align-items: baseline; }
.prow-spec dt { font-size: 11.5px; color: var(--gray-2); }
.prow-spec dd { margin: 0; font-family: var(--grot); font-size: 13.5px; }
.prow-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
}
.price { font-size: 21px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-note { font-size: 11.5px; font-weight: 500; color: var(--gray-2); }
.prow-acts { display: flex; align-items: center; gap: 14px; }
.cmp-label { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--gray); cursor: pointer; min-height: 44px; }
.cmp-label input { width: 17px; height: 17px; accent-color: var(--blue); }
.cmp-label:hover { color: var(--ink); }

/* 압축 카드 */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.pcard { background: var(--white); border: 1px solid var(--line); padding: 18px 20px 22px; display: flex; flex-direction: column; }
.pcard-figure {
  aspect-ratio: 3 / 2; background: var(--white); margin: -18px -20px 16px;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center; padding: 12px;
}
/* 원본이 축소 시안이라 화소 천장이 낮다 — 굽힌 크기(150px) 이상으로 늘리지 않는다 */
.pcard-figure img { width: auto; height: auto; max-width: 176px; max-height: 100%; }
.soldout {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(247, 247, 245, 0.72); color: var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
}
.pcard-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pcard-name { font-size: 17px; margin: 7px 0 8px; }
.pcard-name a:hover { color: var(--blue); }
.pcard-why { font-size: 13px; line-height: 1.75; color: var(--gray); }
.pcard-spec { margin-top: 12px; font-family: var(--grot); font-size: 12px; color: var(--gray-2); }
.pcard-price { margin-top: 6px; font-size: 17px; font-weight: 700; }
.pcard-state { margin-top: 10px; }
.pcard-acts { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard .restock { margin-top: 10px; }
.result-empty { margin-top: 26px; }
.result-empty a { color: inherit; text-decoration: underline; }

/* 비교표 */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 860px; }
.cmp-table th, .cmp-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-table thead th {
  font-family: var(--grot); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray); background: var(--paper-2); white-space: nowrap;
}
.cmp-table tbody th { font-weight: 600; }
.cmp-name { display: block; }
.cmp-label-sm { display: block; font-size: 11.5px; color: var(--gray-2); font-weight: 500; }
.cmp-table td { font-family: var(--grot); white-space: nowrap; }
.cmp-row.is-picked { background: var(--blue-soft); }
.cmp-row.is-picked td, .cmp-row.is-picked th { border-bottom-color: var(--blue); }
.table-note { margin-top: 14px; display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--gray); }
.table-note .ico { margin-top: 3px; flex: none; color: var(--blue); }

.notice-band { border-top: 1px solid var(--line); }
.notice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.notice-grid h2 { display: flex; align-items: center; gap: 9px; font-size: 15px; margin-bottom: 10px; }
.notice-grid .ico { color: var(--blue); }
.notice-grid p { font-size: 13.5px; line-height: 1.8; color: var(--gray); }
.notice-grid a { color: var(--info); border-bottom: 1px solid currentColor; }

/* 비교 도크 */
.cmp-dock {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--ink); color: #fff;
  box-shadow: 0 -6px 30px rgba(11, 14, 20, 0.25);
}
.cmp-dock.show { display: block; }
.cmp-dock-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 12px; }
.cmp-dock-title { font-size: 12px; color: rgba(255, 255, 255, 0.6); flex: none; }
.cmp-list { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 120px; }
.cmp-list li {
  font-size: 12.5px; padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
}
.cmp-dock-acts { display: flex; gap: 8px; margin-left: auto; }
.cmp-dock .btn-line { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.35); }
.cmp-dock .btn-line:hover { --bd: #fff; }

/* ============================================================== 상품 상세 */
.pdp { padding-block: 40px 60px; }
.pdp-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: start; }
.gallery-main { aspect-ratio: 4 / 3; background: var(--white); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 26px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb {
  width: 86px; height: 64px; padding: 4px; flex: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { border-color: var(--line-2); }
.thumb.is-active { border-color: var(--ink); }
.gallery-note { margin-top: 16px; font-size: 12.5px; line-height: 1.75; color: var(--gray-2); }

.pdp-buy { position: sticky; top: calc(var(--head-h) + 30px); }
.pdp-name { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 8px; }
.pdp-sub { font-size: 14px; color: var(--gray); }
.pdp-rating { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--gray); }
.pdp-rating .ico { color: var(--blue); fill: var(--blue); }
.pdp-rating b { color: var(--ink); font-family: var(--grot); }
.pdp-rating a { color: var(--info); border-bottom: 1px solid currentColor; }
.pdp-price { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price b { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.pdp-price span { font-size: 12px; color: var(--gray-2); }
.pdp-stock { margin-top: 14px; }

.opt-field { margin-top: 26px; padding: 0; border: 0; }
.opt-field.invalid { padding: 14px; margin-left: -14px; margin-right: -14px; background: var(--err-bg); border-radius: var(--r); }
.opt-title {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
  padding-bottom: 9px; border-bottom: 1px solid var(--ink); margin-bottom: 12px; width: 100%;
}
.opt-title span { font-size: 12px; font-weight: 500; color: var(--gray-2); letter-spacing: 0; }
.opt-row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-color, .opt-size {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 14px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r);
  font-size: 13.5px; cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.opt-size { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding: 8px 14px; font-family: var(--grot); }
.opt-size small { font-family: var(--sans); font-size: 11.5px; color: var(--gray-2); }
.opt-color:hover, .opt-size:hover { border-color: var(--ink); }
.opt-color.is-active, .opt-size.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt-size.is-active small { color: rgba(255, 255, 255, 0.7); }
.sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(11, 14, 20, 0.2); flex: none; }
.sw-grey { background: #b9bcbe; }
.sw-brown { background: #8a6a4c; }
.sw-ink { background: #1a1c22; }
.opt-err { display: none; margin-top: 9px; font-size: 12.5px; color: var(--err); font-weight: 600; }
.opt-field.invalid .opt-err { display: block; }
.opt-hint { margin-top: 11px; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.7; color: var(--gray); }
.opt-hint .ico { margin-top: 4px; flex: none; color: var(--blue); }
.opt-hint a { color: var(--info); border-bottom: 1px solid currentColor; }

.radio { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; font-size: 13.5px; line-height: 1.6; cursor: pointer; }
.radio input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--blue); flex: none; }
.radio b { font-weight: 600; }
.lens-note {
  margin-top: 10px; padding: 11px 13px; border-left: 2px solid var(--blue);
  background: var(--white); font-size: 12.5px; line-height: 1.75; color: var(--gray);
}

.qty-field { margin-top: 26px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); }
.qty-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.qty-btn:hover { color: var(--blue); }
.qty-out { min-width: 40px; text-align: center; font-family: var(--grot); font-size: 15px; font-weight: 600; }

.pdp-acts { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdp-guarantee { margin-top: 16px; display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; line-height: 1.75; color: var(--gray); }
.pdp-guarantee .ico { margin-top: 4px; flex: none; color: var(--blue); }

.pdp-note-band { background: var(--paper-2); }
.curator { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.curator-copy p { margin-top: 16px; font-size: 15px; line-height: 1.95; color: var(--gray); }
.curator-copy .section-title { margin-top: 10px; }
.curator-sign { margin-top: 22px !important; font-size: 13px !important; color: var(--ink) !important; font-weight: 600; }
.curator-spec { background: var(--white); border: 1px solid var(--line); padding: 26px 26px 28px; }
.curator-spec h3 { font-size: 13px; letter-spacing: 0.04em; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }

.spec { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 13.5px; }
.spec th, .spec td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.spec th { font-weight: 500; color: var(--gray); font-size: 12.5px; width: 24%; }
.spec td { font-family: var(--grot); width: 26%; }
.spec-more { margin-top: 16px; display: grid; gap: 8px; }
.spec-more div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; font-size: 13px; }
.spec-more dt { color: var(--gray-2); font-size: 12.5px; }
.spec-more dd { margin: 0; }
.spec-note { margin-top: 16px; font-size: 12px; line-height: 1.7; color: var(--gray-2); }

.review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.review { background: var(--white); border: 1px solid var(--line); padding: 22px 24px 24px; }
.review-meta { font-size: 12.5px; color: var(--gray); margin-bottom: 10px; }
.review-meta b { font-family: var(--grot); color: var(--ink); font-size: 13.5px; }
.review p { font-size: 14px; line-height: 1.8; }
.review-by { margin-top: 12px !important; font-size: 12px !important; color: var(--gray-2); }

.wear-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 34px; }
.wear-strip figure { margin: 0; }
.wear-strip .frame { aspect-ratio: 4 / 3; }
.wear-strip img { width: 100%; height: 100%; object-fit: cover; }
.wear-strip figcaption { margin-top: 10px; font-size: 12.5px; color: var(--gray); font-family: var(--grot); }

/* 아코디언 */
.accordion { border-top: 1px solid var(--ink); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { margin: 0; font-size: inherit; }
.acc-trigger {
  width: 100%; min-height: 62px; padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em;
}
.acc-trigger .ico { flex: none; color: var(--gray-2); transition: transform 0.28s var(--ease); }
.acc-trigger[aria-expanded="true"] .ico { transform: rotate(180deg); color: var(--blue); }
.acc-trigger:hover { color: var(--blue); }
.acc-panel { display: none; padding: 0 0 24px; max-width: 820px; }
.acc-item.open .acc-panel { display: block; }
/* JS 가 없으면 전부 펼쳐서 무JS 완성본을 보장한다 */
html:not(.js) .acc-panel { display: block; }
.acc-panel p { font-size: 14.5px; line-height: 1.9; color: var(--gray); }
.acc-panel p + p { margin-top: 12px; }
.acc-panel b { color: var(--ink); font-weight: 700; }

/* 구매 도크 (모바일) */
.buy-dock { display: none; }

/* ============================================================== 핏 가이드 */
.measure-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.steps { margin-top: 22px; display: grid; gap: 14px; counter-reset: s; }
.steps li {
  position: relative; padding-left: 42px; font-size: 14.5px; line-height: 1.85; color: var(--gray);
  counter-increment: s;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-family: var(--grot); font-size: 12px; font-weight: 700; color: var(--blue);
  border: 1px solid var(--line-2); border-radius: 50%;
  width: 28px; height: 28px; display: grid; place-items: center;
}
.steps b { color: var(--ink); font-weight: 700; }

.fitcalc { margin-top: 34px; background: var(--white); border: 1px solid var(--line); padding: 24px 26px 26px; }
.fitcalc h3 { font-size: 15px; margin-bottom: 14px; }
.calc-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.calc-row label { font-size: 13px; color: var(--gray); flex: none; }
.calc-row input {
  width: 130px; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper);
  font: inherit; font-family: var(--grot); font-size: 15px;
}
.calc-out { margin-top: 14px; }
.calc-out b { font-family: var(--grot); }
.ref-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 460px; }
.ref-table th, .ref-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.ref-table thead th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); background: var(--paper-2); white-space: nowrap; }
.ref-table tbody th, .ref-table td { font-family: var(--grot); white-space: nowrap; }
.fitcalc .table-scroll { margin-top: 16px; }

.measure-side { background: var(--ink); color: rgba(255, 255, 255, 0.76); padding: 30px 30px 34px; }
.measure-side h3 { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 15px; margin-bottom: 14px; }
.measure-side .ico { color: var(--blue); }
.measure-side p { font-size: 13.5px; line-height: 1.85; }
.measure-side p + p { margin-top: 12px; }
.measure-note { padding-top: 14px; margin-top: 16px !important; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.6); }

.shape-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.shape-btn {
  min-height: 44px; padding: 0 18px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: all 0.2s var(--ease);
}
.shape-btn:hover { border-color: var(--ink); }
.shape-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.shape-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.shape-panel { background: var(--white); border: 1px solid var(--line); padding: 0 0 22px; transition: opacity 0.24s var(--ease); }
.shape-panel.is-dim { opacity: 0.42; }
.shape-panel .frame { aspect-ratio: 189 / 202; }
.shape-panel img { width: 100%; height: 100%; object-fit: cover; }
.shape-panel h3 { font-size: 17px; margin: 18px 20px 10px; }
.shape-panel p { margin: 0 20px; font-size: 13px; line-height: 1.75; color: var(--gray); }
.shape-panel p + p { margin-top: 8px; }
.shape-panel b { color: var(--ink); font-weight: 700; display: block; font-size: 11.5px; letter-spacing: 0.04em; }
.shape-picks { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.shape-picks a { font-family: var(--grot); font-size: 12px; color: var(--info); }
.shape-picks a:hover { text-decoration: underline; }

.rx-layout { display: grid; }
.rx-lead { margin-top: 16px; max-width: 760px; font-size: 15px; line-height: 1.9; color: var(--gray); }
.rx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.rx-card { padding: 26px 28px 28px; border: 1px solid var(--line); background: var(--white); }
.rx-card h3 { display: flex; align-items: center; gap: 9px; font-size: 16px; margin-bottom: 14px; }
.rx-card ul { display: grid; gap: 10px; }
.rx-card li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.8; color: var(--gray); }
.rx-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 1.5px; background: var(--line-2); }
.rx-ok { border-top: 3px solid var(--ok); }
.rx-ok h3 { color: var(--ok); }
.rx-no { border-top: 3px solid var(--err); }
.rx-no h3 { color: var(--err); }
.rx-legal {
  margin-top: 24px; display: flex; gap: 10px; align-items: flex-start;
  padding: 16px 18px; background: var(--warn-bg); color: var(--warn);
  font-size: 13px; line-height: 1.8;
}
.rx-legal .ico { margin-top: 4px; flex: none; }

.faq-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-lead { margin-top: 14px; font-size: 14px; line-height: 1.85; color: var(--gray); }
.faq-lead a { color: var(--info); border-bottom: 1px solid currentColor; }

/* ------------------------------------------------------------- 폼 */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: start; }
.booking-copy > p { margin-top: 16px; font-size: 15px; line-height: 1.9; color: var(--gray); }
.booking-note { margin-top: 20px; display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--gray); }
.booking-note .ico { margin-top: 4px; flex: none; color: var(--blue); }
.booking-note a { color: var(--info); border-bottom: 1px solid currentColor; }

.tform { background: var(--white); border: 1px solid var(--line); padding: 30px 30px 32px; }
.tform.is-done { display: none; }
.form-title { font-size: 17px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 7px; }
.req { display: inline-block; margin-left: 5px; font-size: 10.5px; font-weight: 700; color: var(--blue); letter-spacing: 0.04em; }
.control {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: 14.5px;
}
textarea.control { min-height: 96px; resize: vertical; line-height: 1.7; }
.control:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14); }
.control[readonly] { color: var(--gray); }
.field-err { display: none; margin-top: 7px; font-size: 12.5px; color: var(--err); font-weight: 600; }
.field.invalid .control { border-color: var(--err); background: var(--err-bg); }
.field.invalid .field-err { display: block; }
.counter { margin-top: 6px; text-align: right; font-family: var(--grot); font-size: 11.5px; color: var(--gray-2); }
.field-check { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 20px; }
.field-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); flex: none; }
.field-check label { font-size: 12.5px; line-height: 1.7; color: var(--gray); }
.field-check.invalid label { color: var(--err); }
.field-radio { display: grid; gap: 4px; }
/* .field > label(0,1,1) 이 .radio(0,1,0) 를 이겨 display:block 으로 덮는다 —
   같은 자리에서 클래스 두 개로 되돌린다. */
.field-radio .radio, .tform .radio {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; font-weight: 400; margin-bottom: 0;
}
.field-radio .radio { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.field-check label { font-weight: 400; margin-bottom: 0; }
.form-foot { margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.7; color: var(--gray-2); }
.form-foot .ico { margin-top: 4px; flex: none; }
.form-done { display: block; padding: 26px 28px; }
.form-done h2, .form-done h3 { display: flex; align-items: center; gap: 9px; font-size: 17px; margin-bottom: 12px; }
.form-done p { font-size: 14px; line-height: 1.8; margin-top: 8px; }
.form-done a.btn { margin-top: 8px; --fg: var(--ok); --bd: var(--ok); }

/* ============================================================== 장바구니 */
.cart { padding-block: 44px 64px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto 120px 44px;
  gap: 20px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.cart-line.is-out { opacity: 0.86; }
.line-figure { aspect-ratio: 3 / 2; background: var(--white); border: 1px solid var(--line); }
.line-figure img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.line-body h3 { font-size: 16px; margin: 5px 0 7px; }
.line-body h3 a:hover { color: var(--blue); }
.line-opt { font-size: 12.5px; color: var(--gray); }
.line-state { margin-top: 9px; }
.line-sub { font-size: 16px; font-weight: 700; text-align: right; font-family: var(--grot); }
.line-sub-out { color: var(--gray-2); text-decoration: line-through; }
.line-remove {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid transparent; border-radius: var(--r); cursor: pointer; color: var(--gray-2);
}
.line-remove:hover { color: var(--err); border-color: var(--line-2); }
.cart-empty { margin-top: 24px; }
.cart-empty a { color: inherit; text-decoration: underline; }

.coupon { margin-top: 44px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white);
  font: inherit; font-size: 14.5px;
}
.coupon-out { margin-top: 12px; }

.order-form { margin-top: 44px; }
.order-form .sub-title { margin-top: 0; }
.order-form .sub-title + * { margin-top: 0; }
.order-form h2.sub-title:not(:first-of-type) { margin-top: 34px; }
.ship-fields { display: grid; gap: 0; }
.field-zip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.field-zip label { grid-column: 1 / -1; }
.field-zip .btn { min-height: 48px; }
.pickup-note { margin-bottom: 16px; }

.cart-side { position: sticky; top: calc(var(--head-h) + 30px); display: grid; gap: 12px; }
.sum { background: var(--white); border: 1px solid var(--ink); padding: 26px 26px 28px; }
.sum-title { font-size: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 16px; }
.sum-list { display: grid; gap: 10px; }
.sum-list div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sum-list dt { color: var(--gray); }
.sum-list dd { margin: 0; font-family: var(--grot); font-weight: 600; }
.sum-disc-row dd { color: var(--blue); }
.sum-total-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.sum-total-row span { font-size: 14px; font-weight: 600; }
.sum-total-row b { font-size: 25px; font-weight: 700; color: var(--blue); letter-spacing: -0.03em; }
.sum-note { margin-top: 14px; font-size: 12px; line-height: 1.75; color: var(--gray-2); }
.sum-legal { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.7; color: var(--gray); }
.sum-legal .ico { margin-top: 4px; flex: none; color: var(--blue); }

.order-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 820px; }
.order-table th, .order-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.order-table thead th {
  font-family: var(--grot); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray); background: var(--paper-2); white-space: nowrap;
}
.order-table tbody th { font-family: var(--grot); font-weight: 600; white-space: nowrap; }
.order-table td:last-child { color: var(--gray); font-size: 12.5px; line-height: 1.7; min-width: 260px; }

/* ------------------------------------------------------------- 아이콘 + 문단
   flex 로 두면 안에 든 <a>·<b> 가 각각 flex 항목이 되어 줄바꿈이 되지 않고
   320px 에서 문단이 화면 밖으로 삐져나간다. 아이콘만 띄우고 본문은 문단으로 흐른다. */
.lens-foot, .opt-hint, .booking-note, .table-note, .pdp-guarantee,
.sum-legal, .form-foot, .rx-legal, .label-pick, .measure-side h3,
.visit-facts li, .state {
  display: block; position: relative; padding-left: 26px;
}
.lens-foot > .ico, .opt-hint > .ico, .booking-note > .ico, .table-note > .ico,
.pdp-guarantee > .ico, .sum-legal > .ico, .form-foot > .ico, .rx-legal > .ico,
.label-pick > .ico, .measure-side h3 > .ico, .visit-facts li > .ico, .state > .ico {
  position: absolute; left: 0; top: 5px; margin: 0;
}
.state { display: inline-block; padding: 8px 12px 8px 32px; }
.state > .ico { left: 11px; top: 11px; }
.label-pick > .ico, .measure-side h3 > .ico { top: 4px; }

/* ============================================================== 반응형 */
@media (min-width: 1280px) {
  .rail { display: block; }
  .rail-mark span { display: none; }
}
@media (min-width: 1620px) {
  .rail-mark span { display: inline; }
}
@media (max-width: 1320px) {
  .hero-panel { padding-left: var(--gutter); }
}
@media (max-width: 1180px) {
  :root { --wrap: 1024px; --gutter: 32px; --section: 100px; }
  .navlinks { gap: 22px; margin-left: 14px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .shop-layout { grid-template-columns: 214px minmax(0, 1fr); gap: 32px; }
  .curator, .measure-layout, .faq-layout, .booking-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
}
@media (max-width: 1024px) {
  .navlinks { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-panel { padding: 56px var(--gutter) 48px; }
  /* aspect-ratio 는 height 가 정해져 있으면 폭을 거꾸로 계산해 화면 밖으로 밀어낸다 */
  .hero-media .frame { width: 100%; height: auto; min-height: 0; aspect-ratio: 989 / 575; }
  .std-list { grid-template-columns: minmax(0, 1fr); gap: 1px; }
  .std-list li, .std-list li + li { padding: 22px 0; }
  .face-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .lens-col { grid-row: auto; display: block; }
  .label-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .label-band { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .visit-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .visit-media { max-height: 220px; }
  .visit-copy { padding-block: 48px; }
  .pdp-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .pdp-buy { position: static; }
  .shape-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-list, .wear-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notice-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pgrid, .pgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  /* 손가락으로 누르는 화면 — 모든 버튼을 44px 이상으로.
     .btn-sm(0,1,0) 을 이기려면 같은 특이도의 선택자를 뒤에 두어야 한다. */
  button, a.btn, .btn, .btn-sm, .chip, .chip-btn { min-height: 44px; }
  .qty-btn { width: 44px; height: 44px; }

  .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .shop-side { position: static; }
  .filter-open { display: inline-flex; }
  .filter-sheet {
    position: fixed; inset: 0 auto 0 0; z-index: 90;
    width: min(340px, 88vw); background: var(--white);
    border-right: 1px solid var(--line);
    padding: 22px 24px 40px; overflow-y: auto;
    display: block;
    transform: translateX(-100%); visibility: hidden;
    transition: transform 0.34s var(--ease), visibility 0.34s;
  }
  .filter-sheet.open { transform: none; visibility: visible; }
  .sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .sheet-head h2 { font-size: 17px; }
  .sheet-close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; }
  .filter-group { margin-bottom: 22px; }

  .cart-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cart-side { position: static; }
  .cart-line { grid-template-columns: 92px minmax(0, 1fr) 44px; gap: 14px; align-items: start; }
  .line-qty { grid-column: 2 / 3; }
  .line-sub { grid-column: 2 / 4; text-align: left; }
  .line-remove { grid-row: 1; grid-column: 3; }

  /* 하단 구매 도크 — 모바일 1과업 1화면 */
  .buy-dock {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 22px rgba(11, 14, 20, 0.1);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  }
  .buy-dock-in { display: flex; align-items: center; gap: 14px; max-width: var(--wrap); margin: 0 auto; }
  .buy-dock-price { display: grid; gap: 1px; flex: 1; min-width: 0; }
  .buy-dock-price span { font-size: 11.5px; color: var(--gray-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .buy-dock-price b { font-size: 18px; font-weight: 700; }
  .buy-dock .btn { flex: none; }
  body.has-dock { padding-bottom: 80px; }
  .toast { bottom: 96px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --section: 76px; }
  .topbar-msg { display: none; }
  .topbar-in { justify-content: flex-end; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 48px; }
  .face-strip { gap: 16px; }
  .lens-grid { grid-template-columns: minmax(0, 1fr); }
  .label-list { grid-template-columns: minmax(0, 1fr); }
  .sel-item, .prow { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sel-figure, .prow-figure { aspect-ratio: 16 / 9; }
  .pgrid, .pgrid-3, .review-list, .wear-strip, .shape-grid { grid-template-columns: minmax(0, 1fr); }
  .rx-grid { grid-template-columns: minmax(0, 1fr); }
  .pdp-acts { grid-template-columns: minmax(0, 1fr); }
  .result-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stepper { gap: 16px; }
  .tform { padding: 24px 20px 26px; }
  .curator-spec, .measure-side, .rx-card, .sum { padding: 22px 20px 24px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cart-line { grid-template-columns: 78px minmax(0, 1fr) 44px; }
  .field-zip { grid-template-columns: minmax(0, 1fr); }
  .thumb { width: 72px; height: 56px; }
}
@media (max-width: 640px) {
  /* 헤더 한 줄이 넘치면 320·390px 에서 페이지 전체가 가로로 밀린다 */
  .nav { gap: 12px; }
  .nav .brand-en { display: none; }
  .nav-actions { gap: 0; }
}
@media (max-width: 380px) {
  .hero-acts .btn, .visit-acts .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* 스크롤로만 나타나게 두면 모션을 끈 사용자에게 그 구획이 영영 안 보인다 */
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .rail-fill { transform: scaleY(1); animation: none; }
}

@media print {
  .site-header, .drawer, .scrim, .to-top, .toast, .rail, .cmp-dock, .buy-dock { display: none !important; }
  body { background: #fff; }
  .acc-panel { display: block !important; }
}
