/* ═══════════════════════════════════════════════════════════════════════
   세컨드마크 — 공통 뼈대 키트(동작) + 이 벌의 디자인(생김새)
   생김새는 00-디자인보드.png 에서만 가져왔다.
   MIDNIGHT #060E14 · STEEL #B7BDC6 · SIGNAL RED #FF2020 · Pretendard
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 키트: 기본 ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img, video { max-width: 100%; height: auto; }
img { -webkit-user-drag: none; user-select: none; }
.frame { display: block; }

/* ── 키트: 초점 ───────────────────────────────────────────────────────── */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: .75rem 1rem; background: var(--red); color: #fff;
}
.skip-link:focus { left: 0; }

/* ── 키트: 터치 영역 ──────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .site-header a, .site-header button,
  .drawer a, .drawer button,
  .cart-drawer a, .cart-drawer button,
  .dots button, .pager button, .tab,
  button, a[role="button"], .btn {
    min-width: 44px; min-height: 44px;
  }
}

/* ── 키트: 가로 넘침 ──────────────────────────────────────────────────── */
.scroll-x { overflow-x: auto; position: relative; -webkit-overflow-scrolling: touch; }
.clip { overflow: clip; }

/* ── 키트: 무JS 완성본 ────────────────────────────────────────────────── */
.acc-item .acc-panel { display: block; }
.js .acc-item .acc-panel { display: none; }
.js .acc-item.open .acc-panel { display: block; }

.js [role="tabpanel"][hidden] { display: none; }
[role="tabpanel"][hidden] { display: block; }

.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

.js-only { display: none; }
.js .js-only { display: revert; }
.js .nojs-only { display: none; }

/* ── 키트: 모션 끔 ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── 키트: 모바일 서랍 ────────────────────────────────────────────────── */
.menu-btn { display: none; }
@media (max-width: 767px) { .menu-btn { display: inline-flex; } }

.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px);
  transform: translateX(100%); transition: transform .28s ease;
  z-index: 60; overflow-y: auto;
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }

.scrim {
  position: fixed; inset: 0; z-index: 50;
  background: rgb(2 6 10 / .66);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.scrim.open { opacity: 1; pointer-events: auto; }

@media (min-width: 768px) { .drawer, .scrim { display: none; } }

/* ── 키트: 토스트 ─────────────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 0;
  z-index: 80; pointer-events: none;
  opacity: 0; transition: opacity .25s ease, translate .25s ease;
}
.toast.show { opacity: 1; translate: -50% -6px; }

/* ── 키트: 폼 ─────────────────────────────────────────────────────────── */
.agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agree input:focus-visible + label .box { outline: 2px solid currentColor; outline-offset: 2px; }

.spinner {
  display: inline-block; width: 1em; height: 1em; vertical-align: -.125em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: kit-spin .7s linear infinite;
}
@keyframes kit-spin { to { rotate: 360deg; } }

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

/* ── 키트: 구획 리듬 ──────────────────────────────────────────────────── */
.section { padding-block: calc(var(--section, 96px) / 2); }
.section-lead { padding-top: var(--section, 96px); }
.section-last { padding-bottom: var(--section, 96px); }


/* ═══════════════════════════════════════════════════════════════════════
   여기부터 세컨드마크의 생김새
   ═══════════════════════════════════════════════════════════════════════ */

@property --explode { syntax: "<number>"; inherits: true; initial-value: 0; }

/* 아래 디자인 규칙들이 display 를 정하는 탓에 UA 의 `[hidden] { display:none }` 이
   져 버리는 사고를 막는다(카드 거르기·쿠폰 오류·주문 완료 전환이 전부 여기 걸린다).
   탭 패널만 예외 — 무JS 에서 전부 펼쳐야 해서 키트 규칙이 따로 맡는다. */
[hidden]:not([role="tabpanel"]) { display: none !important; }

/* 같은 이유로 `.js-only` 도 다시 못 박는다 — 무JS 에서 「눌러도 반응 없는 단추」가
   남지 않게, 아래 디자인 규칙의 display 보다 이 줄이 이겨야 한다. */
html:not(.js) .js-only { display: none !important; }

:root {
  --midnight: #060E14;
  --panel:    #0B131A;
  --panel-2:  #101A22;
  --raise:    #16212B;
  --ink:      #F2F5F8;
  --steel:    #B7BDC6;
  --muted:    #8A93A0;
  --dim:      #626C78;
  --red:      #FF2020;
  --red-deep: #C40E0E;
  --ok:       #3ED598;
  --warn:     #FFB020;
  --line:     rgb(183 189 198 / .14);
  --line-2:   rgb(183 189 198 / .3);

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
          "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --serif: "Nanum Myeongjo", "Apple SD Gothic Neo", Georgia, serif;

  --section: 124px;
  --wrap: 1180px;
  --pad: 28px;
}

@media (max-width: 900px) { :root { --section: 88px; --pad: 20px; } }
@media (max-width: 480px) { :root { --section: 72px; --pad: 16px; } }

body {
  background: var(--midnight);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* 미드나이트 위에 아주 옅은 스틸 광 — 시안의 깊이감 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 78% -10%, rgb(90 110 130 / .14), transparent 60%),
    radial-gradient(80% 50% at 8% 105%, rgb(60 78 96 / .1), transparent 62%);
}

a { color: inherit; }

/* 크기를 안 준 인라인 아이콘이 300x150 으로 부푸는 사고를 막는 바닥값.
   :where() 라 특이도가 0 이어서 아래의 구체적인 규칙들이 전부 이긴다. */
svg:where([aria-hidden="true"]) { width: 16px; height: 16px; flex: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 400; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 860px; }

/* ── 활자 층 ──────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: .69rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--red); margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 120px; }
.eyebrow-steel { color: var(--steel); }

.display {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.25rem, 5.4vw, 4.05rem); line-height: 1.22; letter-spacing: -.035em;
}
.h2 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.3; letter-spacing: -.03em;
}
.h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.lead { color: var(--steel); font-size: clamp(.95rem, 1.15vw, 1.06rem); line-height: 1.85; }
.body { color: var(--muted); font-size: .93rem; line-height: 1.85; }
.small { color: var(--dim); font-size: .8rem; line-height: 1.7; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.mono {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); font-weight: 600;
}

/* ── 단추 ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border: 0; border-radius: 3px; cursor: pointer;
  font-family: var(--sans); font-size: .92rem; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--steel); background: rgb(183 189 198 / .07); }
.btn-solid { background: var(--raise); color: var(--ink); border: 1px solid var(--line); }
.btn-solid:hover { background: #1D2A36; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { background: #22303C; color: var(--dim); cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { background: #22303C; }

.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 700; letter-spacing: .04em; color: var(--steel);
  text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent;
}
.btn-link:hover { color: var(--ink); border-bottom-color: var(--red); }
.btn-link svg { width: 15px; height: 15px; }

/* ── 헤더 ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(6 14 20 / .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgb(6 14 20 / .95); }

.header-inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: 0 var(--pad); height: 74px;
  display: flex; align-items: center; gap: 20px;
}
.brand {
  font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: .01em;
  text-decoration: none; color: var(--ink); white-space: nowrap;
}
.nav { display: flex; gap: 34px; margin-inline: auto; }
.nav a {
  position: relative; text-decoration: none; color: var(--steel);
  font-size: .88rem; font-weight: 500; padding: 6px 0;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red);
}
.header-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav + .header-tools { margin-left: 0; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 0; background: transparent; color: var(--steel);
  cursor: pointer; border-radius: 3px; text-decoration: none;
}
.icon-btn:hover { color: var(--ink); background: rgb(183 189 198 / .07); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute; top: 6px; right: 5px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: .64rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.menu-btn {
  align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer;
}
.menu-bar, .menu-bar::before, .menu-bar::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; content: "";
}
.menu-bar { position: relative; }
.menu-bar::before { position: absolute; top: -6px; }
.menu-bar::after { position: absolute; top: 6px; }

@media (max-width: 900px) { .nav { display: none; } .header-inner { height: 62px; } }

/* ── 모바일 서랍 ──────────────────────────────────────────────────────── */
.drawer {
  background: var(--panel); border-left: 1px solid var(--line);
  padding: 22px var(--pad) 40px; display: flex; flex-direction: column; gap: 6px;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-head .brand { font-size: 1.15rem; }
.drawer-close {
  border: 1px solid var(--line); background: transparent; color: var(--steel);
  border-radius: 3px; padding: 8px 14px; font-size: .8rem; font-family: var(--sans); cursor: pointer;
}
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  display: flex; align-items: center; padding: 15px 0; text-decoration: none;
  color: var(--ink); font-size: 1.02rem; font-weight: 600; border-bottom: 1px solid var(--line);
}
.drawer-nav a[aria-current="page"] { color: var(--red); }
.drawer-cta { margin-top: 22px; }
.drawer-tel { margin-top: 16px; }
.drawer-tel a { color: var(--steel); text-decoration: none; font-size: .88rem; }

/* 위에서 .drawer 에 display 를 준 만큼, 키트의 데스크톱 숨김을 다시 못 박는다.
   (뒤에 오는 같은 특이도 규칙이 이기므로 이 줄이 없으면 데스크톱에서 서랍이 살아난다) */
@media (min-width: 768px) { .drawer, .scrim { display: none; } }

/* ── 토스트 ───────────────────────────────────────────────────────────── */
.toast {
  max-width: min(92vw, 460px);
  background: var(--raise); color: var(--ink);
  border: 1px solid var(--line-2); border-left: 3px solid var(--red);
  border-radius: 3px; padding: 14px 20px; font-size: .87rem; line-height: 1.6;
  box-shadow: 0 18px 46px rgb(0 0 0 / .55);
}

/* ═══ 히어로 — TIMELINE HERO ═══════════════════════════════════════════ */
/* 넘침을 자를 때는 hidden 이 아니라 clip 이다 — hidden 은 스크롤 컨테이너를 만든다(§4-C 13) */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow-x: clip; }
.hero-inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 74px var(--pad) 0;
  display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 44%); gap: 0 34px;
  align-items: center; min-height: 560px;
}

/* 연도 레일 */
.rail { align-self: stretch; padding: 18px 0 90px; display: flex; }
.rail-list {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  width: 100%; min-width: 0; padding-left: 2px;
}
.rail-list::before {
  content: ""; position: absolute; left: 62px; top: 12px; bottom: 12px;
  width: 1px; background: var(--line-2);
}
.rail-btn {
  position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  width: 100%; padding: 9px 0; background: transparent; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  color: var(--dim); text-align: right;
}
.rail-btn::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--dim); flex: none; margin-right: -3.5px;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.rail-btn:hover { color: var(--steel); }
.rail-btn[aria-selected="true"] { color: var(--ink); font-weight: 800; }
.rail-btn[aria-selected="true"]::after {
  background: var(--red); transform: scale(1.35);
  box-shadow: 0 0 0 4px rgb(255 32 32 / .2), 0 0 16px 2px rgb(255 32 32 / .55);
}

.hero-copy { padding: 40px 0 90px; max-width: 520px; }
.hero-copy .display { margin-bottom: 26px; }
.hero-chapter { margin-bottom: 30px; }
.hero-chapter h2 {
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.hero-chapter p { color: var(--steel); font-size: .95rem; line-height: 1.85; max-width: 430px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { position: relative; align-self: stretch; display: flex; align-items: center; }
.hero-art img {
  width: 100%; height: auto; display: block;
  mask-image: radial-gradient(120% 108% at 46% 44%, #000 58%, transparent 96%);
  -webkit-mask-image: radial-gradient(120% 108% at 46% 44%, #000 58%, transparent 96%);
}
.hero-scroll {
  position: absolute; right: 4px; bottom: 96px;
  width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--line-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  text-decoration: none; color: var(--steel); background: rgb(6 14 20 / .5);
}
.hero-scroll:hover { border-color: var(--steel); color: var(--ink); }
.hero-scroll span { font-size: .55rem; letter-spacing: .16em; font-weight: 700; line-height: 1.4; }
.hero-scroll svg { width: 14px; height: 14px; }

/* 01·02·03 진행 막대 */
.chapters {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 0 var(--pad) 24px;
}
.chapters-track { position: relative; height: 2px; background: var(--line); margin-bottom: 14px; }
.chapters-fill {
  position: absolute; inset: 0 auto 0 0; background: var(--red);
  width: calc(var(--chapter-p, 0) * 100%); min-width: 3%;
  transition: width .12s linear;
}
.chapters-list { display: flex; gap: 46px; }
.chapters-list a {
  display: flex; align-items: baseline; gap: 10px; text-decoration: none;
  color: var(--dim); font-size: .72rem; font-weight: 700; letter-spacing: .14em;
}
.chapters-list a b { font-size: .82rem; font-weight: 800; }
.chapters-list a:hover { color: var(--steel); }
.chapters-list a[aria-current="true"] { color: var(--ink); }
.chapters-list a[aria-current="true"] b { color: var(--red); }
.chapters-label { display: none; }

/* 상단 읽기 진행선 — 스크롤 연동 CSS 가 있으면 켜지는 향상층 */
.readbar { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .readbar {
      display: block; position: fixed; top: 0; left: 0; height: 2px; width: 100%;
      transform-origin: 0 50%; background: var(--red); z-index: 45;
      animation: readbar linear both; animation-timeline: scroll(root);
    }
    @keyframes readbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 78px minmax(0, 1fr) minmax(0, 40%); gap: 0 22px; }
  .hero-copy { padding-bottom: 108px; }
}
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr; min-height: 0; padding-top: 40px; gap: 0;
  }
  .rail { padding: 0 0 22px; }
  .rail-list { flex-direction: row; justify-content: flex-start; gap: 8px; overflow-x: auto; padding: 0 0 4px; }
  .rail-list::before { display: none; }
  .rail-btn {
    justify-content: center; gap: 7px; flex: none; width: auto; padding: 10px 15px;
    border: 1px solid var(--line); border-radius: 999px;
  }
  .rail-btn::after { margin-right: 0; width: 6px; height: 6px; }
  .rail-btn[aria-selected="true"] { border-color: var(--red); }
  .hero-copy { padding: 0 0 30px; max-width: none; }
  .hero-art { margin: 0 calc(var(--pad) * -1); }
  .hero-art img { mask-image: none; -webkit-mask-image: none; }
  .hero-scroll { display: none; }
  .chapters { position: static; padding: 26px 0 30px; max-width: none; }
  .chapters-list { gap: 0; justify-content: space-between; }
  .chapters-list a { font-size: .66rem; letter-spacing: .08em; }
}

/* ═══ 면 머리 (내부 페이지) ════════════════════════════════════════════ */
.pagehead { border-bottom: 1px solid var(--line); padding: 68px 0 56px; }
.pagehead .display { margin-bottom: 20px; }
.pagehead .lead { max-width: 620px; }
.crumb { display: flex; gap: 10px; align-items: center; margin-bottom: 26px; color: var(--dim); font-size: .78rem; }
.crumb a { text-decoration: none; color: var(--dim); }
.crumb a:hover { color: var(--steel); }
.crumb span[aria-current] { color: var(--steel); }
.crumb svg { width: 13px; height: 13px; color: var(--dim); }

/* ═══ 공통 구획 ═══════════════════════════════════════════════════════ */
.sec-head { margin-bottom: 46px; max-width: 720px; }
.sec-head .h2 { margin-bottom: 16px; }
.sec-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }

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

/* 상태 표시 — 색만으로 전달하지 않는다(글자·도형 병기) */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 2px; border: 1px solid var(--line-2);
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: var(--steel);
  background: rgb(183 189 198 / .05);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.chip-ok { color: var(--ok); border-color: rgb(62 213 152 / .4); }
.chip-warn { color: var(--warn); border-color: rgb(255 176 32 / .4); }
.chip-out { color: var(--muted); border-color: var(--line-2); }
.chip-out::before { border-radius: 0; }
.chip-new { color: #fff; background: var(--red); border-color: var(--red); }
.chip-new::before { display: none; }

/* ═══ 무브먼트 탐구 ════════════════════════════════════════════════════ */
.mv-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.mv-stage {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: 4px; padding: 26px 20px 20px; overflow: clip;
}
.mv-svg { display: block; width: 100%; height: auto; }
.mv-layer {
  transform: translateY(calc(var(--explode, 0) * var(--i) * -20px));
  transition: transform .42s cubic-bezier(.22, .61, .36, 1);
}
.mv-layer .plate { fill: #16212B; stroke: #46555F; stroke-width: 1.1; }
.mv-layer .plate-2 { fill: #1D2A35; stroke: #55656F; stroke-width: 1.1; }
.mv-layer .metal { fill: #8D99A3; stroke: #C3CCD3; stroke-width: .9; }
.mv-layer .gold { fill: #B08A4A; stroke: #D8B47A; stroke-width: .9; }
.mv-layer .jewel { fill: var(--red); }
.mv-layer .hole { fill: #0A121A; }
.mv-layer .lbl { fill: var(--steel); font-size: 10px; font-family: var(--sans); letter-spacing: .12em; }
.mv-layer .lead-line { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 3; }
.mv-layer.on .plate { stroke: var(--red); }
.mv-layer.on .lbl { fill: var(--ink); }

.mv-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mv-legend { display: flex; flex-direction: column; gap: 2px; margin-top: 26px; }
.mv-legend li { border-top: 1px solid var(--line); }
.mv-legend button {
  display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 15px 4px;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--sans); color: var(--steel);
}
.mv-legend button:hover, .mv-legend button[aria-pressed="true"] { color: var(--ink); }
.mv-legend button[aria-pressed="true"] .mv-legend-no { color: var(--red); }
.mv-legend-no { font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--dim); flex: none; width: 24px; }
.mv-legend-name { font-size: .95rem; font-weight: 700; }
.mv-legend-desc { font-size: .82rem; color: var(--muted); margin-left: auto; text-align: right; }

.mv-spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.mv-spec div { background: var(--midnight); padding: 20px 18px; }
.mv-spec dt { font-size: .7rem; letter-spacing: .14em; color: var(--dim); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.mv-spec dd { margin: 0; font-size: 1.08rem; font-weight: 700; }
.mv-spec dd small { display: block; font-size: .76rem; font-weight: 400; color: var(--muted); margin-top: 3px; letter-spacing: 0; }

.mv-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.mv-shots figure { margin: 0; }
.mv-shots img { display: block; width: 100%; height: auto; border-radius: 3px; }
.mv-shots figcaption { margin-top: 12px; font-size: .82rem; color: var(--muted); }
.mv-shots figcaption b { display: block; color: var(--ink); font-size: .88rem; font-weight: 700; margin-bottom: 3px; }

/* 캔버스 초침 + 포스터 대체 */
.ticker { position: relative; width: 100%; max-width: 260px; margin: 0 auto; }
.ticker-poster { display: block; width: 100%; height: auto; border-radius: 3px; }
.ticker-canvas { display: block; width: 100%; height: auto; }
.ticker-cap { margin-top: 14px; text-align: center; }

@media (max-width: 900px) {
  .mv-grid { grid-template-columns: 1fr; gap: 30px; }
  .mv-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mv-shots { grid-template-columns: 1fr; }
  .mv-legend-desc { display: none; }
}

/* ═══ 손목 스케일 ═════════════════════════════════════════════════════ */
.wrist-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.wrist-photo { position: relative; }
.wrist-photo img { display: block; width: 100%; height: auto; border-radius: 3px; }

.gauge { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 30px; }
.gauge-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.gauge-row label { font-size: .82rem; font-weight: 700; letter-spacing: .1em; color: var(--steel); text-transform: uppercase; }
.gauge-value { font-family: var(--serif); font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; }
.gauge-value small { font-size: .95rem; font-weight: 400; color: var(--muted); margin-left: 4px; }

.gauge-input { display: flex; align-items: center; gap: 14px; margin: 14px 0 6px; }
.gauge-input input[type="range"] { flex: 1; min-width: 0; accent-color: var(--red); height: 30px; }
.gauge-num {
  width: 96px; flex: none; background: var(--panel-2); border: 1px solid var(--line-2);
  color: var(--ink); border-radius: 3px; padding: 11px 12px; font-family: var(--sans);
  font-size: .95rem; font-variant-numeric: tabular-nums; text-align: center;
}
.gauge-scale { display: flex; justify-content: space-between; color: var(--dim); font-size: .72rem; }

.gauge-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 26px; }
.gauge-out div { background: var(--midnight); padding: 18px 14px; }
.gauge-out dt { font-size: .68rem; letter-spacing: .12em; color: var(--dim); font-weight: 700; margin-bottom: 7px; }
.gauge-out dd { margin: 0; font-size: .97rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gauge-note { margin-top: 20px; }
.gauge-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 48px; }
.step { border-top: 1px solid var(--line-2); padding-top: 20px; }
.step b { display: block; font-size: .7rem; letter-spacing: .18em; color: var(--red); font-weight: 800; margin-bottom: 12px; }
.step h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }

@media (max-width: 900px) {
  .wrist-grid { grid-template-columns: 1fr; gap: 30px; }
  .gauge { padding: 22px; }
  .gauge-out { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
}

/* ═══ 상품 카드 ═══════════════════════════════════════════════════════ */
.grid-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-products-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pcard {
  container-type: inline-size;
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  overflow: clip; transition: border-color .18s ease, transform .18s ease;
}
.pcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pcard-media {
  /* flex 항목의 min-height:auto 가 사진 원본 높이로 상자를 늘려
     카드마다 액자 높이가 달라졌다. min-height:0 이 그것을 막는다. */
  position: relative; display: block; aspect-ratio: 4 / 5; flex: none; min-height: 0;
  background: radial-gradient(70% 60% at 50% 42%, #131E27, #070F16);
  padding: 18px;
}
.pcard-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pcard-flag { position: absolute; top: 12px; left: 12px; }
.pcard-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.pcard-cat { font-size: .68rem; letter-spacing: .18em; color: var(--dim); font-weight: 700; text-transform: uppercase; }
.pcard-name { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; }
.pcard-sum { font-size: .84rem; color: var(--muted); line-height: 1.7; flex: 1; }
.pcard-price { font-size: 1.06rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pcard-price small { display: block; font-size: .7rem; font-weight: 400; color: var(--dim); margin-top: 2px; }
.pcard-actions { display: flex; gap: 8px; margin-top: 6px; }
.pcard-actions .btn { flex: 1; padding: 12px 10px; font-size: .82rem; }
@container (max-width: 250px) {
  .pcard-actions { flex-direction: column; }
}

.empty {
  border: 1px dashed var(--line-2); border-radius: 4px; padding: 60px 24px; text-align: center;
}
.empty h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }

@media (max-width: 900px) { .grid-products, .grid-products-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 560px) { .grid-products, .grid-products-3 { grid-template-columns: 1fr; } }

/* 필터 도구줄 */
.tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.search-box { position: relative; flex: 1; min-width: 220px; max-width: 340px; }
.search-box input {
  width: 100%; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink);
  border-radius: 3px; padding: 13px 14px 13px 42px; font-family: var(--sans); font-size: .9rem;
}
.search-box input::placeholder { color: var(--dim); }
.search-box svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--dim); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter {
  padding: 10px 18px; border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 2px; cursor: pointer; font-family: var(--sans); font-size: .84rem; font-weight: 600;
}
.filter:hover { color: var(--ink); border-color: var(--line-2); }
.filter[aria-pressed="true"] { color: var(--ink); border-color: var(--red); background: rgb(255 32 32 / .09); }
.sortsel {
  background: var(--panel); border: 1px solid var(--line-2); color: var(--ink);
  border-radius: 3px; padding: 12px 14px; font-family: var(--sans); font-size: .85rem;
}
.result-count { color: var(--muted); font-size: .84rem; margin-bottom: 18px; }

/* ═══ 상품 상세 ═══════════════════════════════════════════════════════ */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 54px; align-items: start; }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb {
  padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 3px;
  cursor: pointer; aspect-ratio: 1; overflow: clip; flex: none; min-height: 0;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb[aria-pressed="true"] { border-color: var(--red); }
.thumb-spin { display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 800; letter-spacing: .06em; color: var(--steel); }
.stage {
  position: relative; background: radial-gradient(72% 62% at 50% 42%, #131E27, #070F16);
  border: 1px solid var(--line); border-radius: 4px; aspect-ratio: 1; padding: 26px; overflow: clip; min-height: 0;
}
.stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.stage-cap { position: absolute; left: 20px; bottom: 16px; }

.buy h1 { margin-bottom: 8px; }
.buy-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 4px; }
.buy-price strong { font-family: var(--serif); font-size: 2.15rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.optgroup { border-top: 1px solid var(--line); padding: 22px 0 4px; }
.optgroup > p { font-size: .78rem; font-weight: 700; letter-spacing: .16em; color: var(--steel); text-transform: uppercase; margin-bottom: 14px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 12px 18px; border: 1px solid var(--line-2); border-radius: 2px;
  font-size: .87rem; font-weight: 600; color: var(--muted); min-height: 44px;
}
.opt label:hover { color: var(--ink); border-color: var(--steel); }
.opt input:checked + label { color: var(--ink); border-color: var(--red); background: rgb(255 32 32 / .08); }
.opt input:focus-visible + label { outline: 2px solid var(--steel); outline-offset: 2px; }
.opt label em { font-style: normal; font-size: .76rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.opt input:checked + label em { color: var(--steel); }

.alert {
  display: flex; gap: 11px; align-items: flex-start; margin-top: 18px;
  border: 1px solid; border-radius: 3px; padding: 14px 16px; font-size: .85rem; line-height: 1.65;
}
.alert svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.alert-err { border-color: rgb(255 32 32 / .45); background: rgb(255 32 32 / .08); color: #FFB9B9; }
.alert-warn { border-color: rgb(255 176 32 / .4); background: rgb(255 176 32 / .07); color: #FFD895; }
.alert-ok { border-color: rgb(62 213 152 / .4); background: rgb(62 213 152 / .07); color: #A6EFCF; }
.alert-info { border-color: var(--line-2); background: rgb(183 189 198 / .05); color: var(--steel); }
.alert b { color: inherit; }

.buy-actions { display: flex; gap: 10px; margin-top: 26px; }
.buy-actions .btn { flex: 1; }
.buy-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* 모바일 구매 도크 — `.js .js-only { display: revert }` 와 특이도를 맞춰야 데스크톱에서 안 튀어나온다 */
.dock, .js .dock { display: none; }
@media (max-width: 900px) {
  .js .dock { display: flex; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumb { flex: 1; }
  .dock {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    align-items: center; gap: 12px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
    background: rgb(6 14 20 / .96); border-top: 1px solid var(--line-2);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .dock-price { flex: none; }
  .dock-price b { display: block; font-size: 1.02rem; font-weight: 800; font-variant-numeric: tabular-nums; }
  .dock-price span { font-size: .68rem; color: var(--dim); }
  .dock .btn { flex: 1; padding: 13px 14px; }
  body.has-dock { padding-bottom: 78px; }
}

/* 사양 표 */
.spectable { width: 100%; border-collapse: collapse; font-size: .88rem; }
.spectable th, .spectable td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spectable th { width: 200px; color: var(--steel); font-weight: 600; font-size: .82rem; letter-spacing: .04em; }
.spectable td { color: var(--ink); font-variant-numeric: tabular-nums; }
.spectable tr:last-child th, .spectable tr:last-child td { border-bottom: 0; }
.spectable caption { text-align: left; color: var(--muted); font-size: .82rem; padding-bottom: 14px; }

/* ═══ 비교표 ═══════════════════════════════════════════════════════════ */
.ctable { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .88rem; }
.ctable th, .ctable td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.ctable thead th { border-bottom: 1px solid var(--line-2); vertical-align: bottom; }
.ctable tbody th { width: 150px; color: var(--steel); font-weight: 600; font-size: .82rem; }
.ctable td { font-variant-numeric: tabular-nums; }
.ctable td.best { color: var(--ink); font-weight: 700; }
.ctable td.best::after { content: " ✓ 우세"; color: var(--ok); font-size: .72rem; font-weight: 700; }
.ctable thead th[data-col] { width: 200px; }
.chead { display: flex; flex-direction: column; gap: 10px; width: 176px; }
.chead-media {
  position: relative; width: 176px; aspect-ratio: 4 / 5; flex: none; min-height: 0; padding: 12px; border-radius: 3px;
  background: radial-gradient(70% 60% at 50% 42%, #131E27, #070F16); border: 1px solid var(--line);
}
.chead-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.chead-name { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.chead-price { font-size: .86rem; color: var(--steel); font-variant-numeric: tabular-nums; }
.cremove {
  position: absolute; top: 7px; right: 7px;
  width: 28px; height: 28px; border-radius: 2px; border: 1px solid var(--line);
  background: rgb(6 14 20 / .7); color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1;
}
.cremove:hover { color: var(--ink); border-color: var(--steel); }
.cadd { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 26px; }

.wr-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wr-list > div { background: var(--midnight); padding: 24px 22px; }
.wr-list dt { font-family: var(--serif); font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.wr-list .wr-tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 12px; }
.wr-list dd { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.75; }
@media (max-width: 820px) { .wr-list { grid-template-columns: 1fr; } }

/* ═══ 탭 (소재 안내) ══════════════════════════════════════════════════ */
.tabbar { position: relative; display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 34px; overflow-x: auto; }
.tab {
  padding: 15px 22px; background: transparent; border: 0; border-bottom: 2px solid transparent;
  color: var(--muted); cursor: pointer; font-family: var(--sans); font-size: .95rem; font-weight: 700;
  white-space: nowrap;
}
.tab:hover { color: var(--steel); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.matpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; overflow: clip; }
.matpanel-copy { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.matpanel-copy .h3 { margin-bottom: 14px; }
.matpanel-copy p { margin-bottom: 26px; }
.matfeatures { display: flex; gap: 30px; flex-wrap: wrap; }
.matfeature { text-align: center; }
.matfeature span {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 50%; margin: 0 auto 10px; color: var(--steel);
}
.matfeature span svg { width: 19px; height: 19px; }
.matfeature b { font-size: .78rem; font-weight: 600; color: var(--steel); }
.matpanel-art { position: relative; min-height: 260px; background: #070F16; }
.matpanel-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .matpanel { grid-template-columns: 1fr; }
  .matpanel-copy { padding: 28px 22px; order: 2; }
  .matpanel-art { min-height: 200px; }
}

/* ═══ 아코디언 ════════════════════════════════════════════════════════ */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%;
  padding: 22px 4px; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: .98rem; font-weight: 700; color: var(--ink);
}
.acc-trigger:hover { color: var(--steel); }
.acc-trigger svg { width: 16px; height: 16px; flex: none; color: var(--muted); transition: rotate .2s ease; }
.acc-item.open .acc-trigger svg { rotate: 180deg; }
.acc-panel { padding: 0 4px 24px; }
.acc-panel p + p { margin-top: 12px; }
.acc-panel ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.acc-panel li { position: relative; padding-left: 16px; color: var(--muted); font-size: .89rem; }
.acc-panel li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 1px; background: var(--red); }

/* ═══ 폼 ══════════════════════════════════════════════════════════════ */
.formwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.inquiry-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .agree-title { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--steel); text-transform: uppercase; }
.control {
  width: 100%; background: var(--panel); border: 1px solid var(--line-2); color: var(--ink);
  border-radius: 3px; padding: 14px 15px; font-family: var(--sans); font-size: .93rem;
}
.control::placeholder { color: var(--dim); }
.control:focus { border-color: var(--steel); outline: none; }
textarea.control { resize: vertical; min-height: 128px; }
.err { display: none; margin: 0; color: #FF7A7A; font-size: .8rem; }
.field.invalid .control, .agree.invalid .box { border-color: var(--red); }
.field.invalid .err, .agree.invalid .err { display: block; }
.counter { margin: 0; text-align: right; color: var(--dim); font-size: .76rem; font-variant-numeric: tabular-nums; }
.agree { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.agree label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .87rem; color: var(--steel); min-height: 44px; }
.agree .box { width: 19px; height: 19px; border: 1px solid var(--line-2); border-radius: 2px; flex: none; position: relative; }
.agree input:checked + label .box { background: var(--red); border-color: var(--red); }
.agree input:checked + label .box::after {
  content: ""; position: absolute; left: 5.5px; top: 2px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg;
}
.agree .err { flex-basis: 100%; }
.form-submit { margin-top: 4px; }
.form-aside { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 32px 30px; }
.form-aside dl { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.form-aside dt { font-size: .7rem; letter-spacing: .16em; color: var(--dim); font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.form-aside dd { margin: 0; font-size: .93rem; color: var(--ink); line-height: 1.7; }
.form-aside dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
@media (max-width: 900px) { .formwrap { grid-template-columns: 1fr; gap: 30px; } }

/* ═══ 장바구니 서랍 ═══════════════════════════════════════════════════ */
.cart-scrim {
  position: fixed; inset: 0; z-index: 70; background: rgb(2 6 10 / .7);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.cart-scrim.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(94vw, 430px); z-index: 75;
  background: var(--panel); border-left: 1px solid var(--line-2);
  display: none; flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s ease, display .28s allow-discrete;
}
.cart-drawer.open { display: flex; transform: none; }
@starting-style { .cart-drawer.open { transform: translateX(100%); } }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-family: var(--sans); font-size: 1rem; font-weight: 800; letter-spacing: .04em; }
.cart-close { border: 1px solid var(--line); background: transparent; color: var(--steel); border-radius: 3px; padding: 8px 14px; font-size: .8rem; font-family: var(--sans); cursor: pointer; }
.cart-body { flex: 1; overflow-y: auto; padding: 22px 24px; }
.cart-item { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item-media { background: radial-gradient(70% 60% at 50% 42%, #131E27, #070F16); border: 1px solid var(--line); border-radius: 3px; padding: 6px; height: 78px; }
.cart-item-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cart-item h3 { font-family: var(--sans); font-size: .93rem; font-weight: 700; margin-bottom: 4px; }
.cart-item .cart-opt { font-size: .77rem; color: var(--muted); margin-bottom: 10px; }
.cart-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; }
.qty button { width: 34px; height: 34px; background: transparent; border: 0; color: var(--steel); cursor: pointer; font-size: 1rem; line-height: 1; }
.qty button:hover { color: var(--ink); }
.qty output { min-width: 32px; text-align: center; font-size: .87rem; font-variant-numeric: tabular-nums; }
.cart-item-price { font-size: .95rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.coupon { display: flex; gap: 8px; margin: 22px 0 6px; }
.coupon input { flex: 1; min-width: 0; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--ink); border-radius: 3px; padding: 12px 13px; font-family: var(--sans); font-size: .87rem; }
.coupon button { flex: none; padding: 12px 18px; }

.cart-sum { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.cart-sum div { display: flex; justify-content: space-between; font-size: .86rem; color: var(--muted); }
.cart-sum div.total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; color: var(--ink); font-size: 1.02rem; font-weight: 800; }
.cart-sum span { font-variant-numeric: tabular-nums; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }

.tracker { display: flex; margin: 24px 0 6px; }
.tracker li { flex: 1; position: relative; text-align: center; font-size: .68rem; color: var(--dim); }
.tracker li::before {
  content: ""; display: block; width: 11px; height: 11px; border-radius: 50%;
  background: var(--raise); border: 1px solid var(--line-2); margin: 0 auto 9px; position: relative; z-index: 1;
}
.tracker li::after { content: ""; position: absolute; top: 5px; left: 50%; width: 100%; height: 1px; background: var(--line-2); }
.tracker li:last-child::after { display: none; }
.tracker li.done { color: var(--ink); font-weight: 700; }
.tracker li.done::before { background: var(--red); border-color: var(--red); }
.tracker li.now::before { box-shadow: 0 0 0 4px rgb(255 32 32 / .22); }

.order-done { text-align: center; padding: 20px 0; }
.order-mark {
  width: 68px; height: 68px; border-radius: 50%; border: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; color: var(--red);
}
.order-mark svg { width: 30px; height: 30px; }
.order-facts { border: 1px solid var(--line); border-radius: 3px; margin-top: 22px; }
.order-facts div { display: flex; justify-content: space-between; gap: 14px; padding: 14px 16px; font-size: .85rem; }
.order-facts div + div { border-top: 1px solid var(--line); }
.order-facts dt { color: var(--muted); }
.order-facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ═══ 푸터 ════════════════════════════════════════════════════════════ */
.site-footer { border-top: 1px solid var(--line); background: #040A0F; padding: 68px 0 44px; margin-top: 0; }
.footer-inner { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.footer-tagline { color: var(--muted); font-size: .88rem; margin-bottom: 34px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.footer-nav a { color: var(--steel); text-decoration: none; font-size: .87rem; font-weight: 600; }
.footer-nav a:hover { color: var(--ink); }
.footer-biz { font-style: normal; color: var(--dim); font-size: .8rem; line-height: 1.95; margin-bottom: 22px; }
.footer-biz a { color: var(--muted); text-decoration: none; }
.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.footer-pay li { border: 1px solid var(--line); border-radius: 2px; padding: 6px 12px; font-size: .72rem; color: var(--dim); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
.footer-legal a { color: var(--steel); text-decoration: none; font-size: .8rem; }
.footer-legal a:hover { color: var(--ink); }
.footer-copy { color: var(--dim); font-size: .76rem; }

/* ═══ 잡동사니 ════════════════════════════════════════════════════════ */
.stack-24 > * + * { margin-top: 24px; }
.stack-16 > * + * { margin-top: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 34px 32px; }
.panel-flat { background: transparent; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card-mini { border: 1px solid var(--line); border-radius: 4px; padding: 26px 24px; background: var(--panel); }
.card-mini h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.card-mini .ico { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--red); margin-bottom: 18px; }
.card-mini .ico svg { width: 17px; height: 17px; }

.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 30px; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--dim); }
.stepper li b {
  width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800;
}
.stepper li.on { color: var(--ink); }
.stepper li.on b { background: var(--red); border-color: var(--red); color: #fff; }
.stepper li::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.stepper li:last-child::after { display: none; }
@media (max-width: 560px) { .stepper li span { display: none; } }
