/* ══════════════════════════════════════════════════════════════════════
   잔향상점 — 향수·캔들 상점 템플릿
   위쪽은 공통 뼈대 키트(kit.css) — 동작에 딸린 것만. 손대지 마라.
   아래쪽 「── 잔향상점 디자인 ──」부터가 이 벌의 생김새다.
   ══════════════════════════════════════════════════════════════════════ */

/* ── 기본 ─────────────────────────────────────────────────────────── */
*, *::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: Canvas; color: CanvasText;
}
.skip-link:focus { left: 0; }

/* ── 터치 영역 ─────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .site-header a, .site-header button,
  .drawer a, .drawer button,
  .dots button, .pager button, .tab {
    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 .btn.js-only { display: inline-flex; }
.js .quiz-nav.js-only { display: flex; }
.js .js-hide { 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(0 0 0 / .45);
  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); }


/* ══════════════════════════════════════════════════════════════════════
   ── 잔향상점 디자인 ──
   색은 00-디자인보드.png 가 인쇄한 값 그대로다.
   INK #111318 · AMBER #C7843A · LILAC #B9A7D6 · PAPER #F6F5F2
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --ink: #111318;
  --ink-soft: #2C3038;
  --amber: #C7843A;
  --amber-deep: #9E6626;
  --lilac: #B9A7D6;
  --lilac-pale: #EAE3F3;
  --paper: #F6F5F2;
  --paper-2: #EFEDE7;
  --line: #DCD8CF;
  --line-soft: #E7E4DC;
  --muted: #6C6A67;
  --ok: #3D6A50;
  --warn: #8A6318;
  --err: #A23A2C;

  --r: 6px;
  --r-lg: 16px;
  --wrap: 1160px;
  --section: 108px;
  --head-h: 74px;

  --serif: "Nanum Myeongjo", "Pretendard Variable", Pretendard, serif;
  --en: "Cormorant Garamond", "Nanum Myeongjo", Georgia, serif;
  --sans: "Pretendard Variable", Pretendard, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (max-width: 900px) { :root { --section: 76px; --head-h: 60px; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -.01em;
}

a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.3; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
@media (max-width: 560px) { .wrap { width: calc(100% - 32px); } }

/* 화면 전환 — 지원 브라우저에서만 부드럽게 이어진다(미지원은 평범한 이동) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* ── 활자 ─────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--en);
  font-size: .8rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow-light { color: rgb(255 255 255 / .62); }

.display { font-family: var(--serif); font-weight: 800; }
.en-display { font-family: var(--en); font-weight: 500; letter-spacing: .06em; }

.h-sec {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem); line-height: 1.34;
}
.h-sub {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.42rem);
}
.lead { color: var(--ink-soft); font-size: 1.03rem; max-width: 46ch; }
.muted { color: var(--muted); }
.small { font-size: .86rem; line-height: 1.68; color: var(--muted); }
.tab-num { font-variant-numeric: tabular-nums; }

/* ── 단추 ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--r);
  font: inherit; font-size: .95rem; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; background: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #24272F; }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgb(255 255 255 / .55); color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / .12); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .86rem; }
.btn-full { width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .93rem; font-weight: 600; text-decoration: none;
  padding-bottom: 3px; border-bottom: 1px solid var(--ink);
}
.arrow-link span { transition: translate .18s ease; }
.arrow-link:hover span { translate: 4px 0; }

/* ── 머리띠 ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.header-inner {
  width: min(100% - 40px, var(--wrap)); margin-inline: auto;
  height: var(--head-h);
  display: flex; align-items: center; gap: 22px;
}
.brand {
  font-family: var(--serif); font-weight: 800;
  font-size: 1.32rem; letter-spacing: .02em; text-decoration: none;
  margin-right: auto;
}
.nav { display: flex; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
  font-size: .93rem; text-decoration: none; border-radius: var(--r);
  color: inherit; opacity: .82;
}
.nav a:hover { opacity: 1; background: rgb(17 19 24 / .05); }
.nav a[aria-current] { opacity: 1; font-weight: 700; box-shadow: inset 0 -2px 0 var(--amber); }
.header-cta {
  display: inline-flex; align-items: center; gap: .5em; height: 42px; padding: 0 18px;
  background: var(--ink); color: #fff; border-radius: var(--r);
  font-size: .9rem; font-weight: 600; text-decoration: none;
}
.header-cta:hover { background: #24272F; }
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--amber); color: #fff; font-size: .74rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.menu-btn {
  align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r);
  background: none; color: inherit; cursor: pointer;
}
.menu-bar, .menu-bar::before, .menu-bar::after {
  display: block; width: 18px; 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; } }
@media (max-width: 767px) {
  .header-cta { padding: 0 12px; font-size: .84rem; }
  .brand { font-size: 1.18rem; }
}

/* 홈에서는 어두운 히어로 위에 얹힌다 — 03절 시안의 투명 머리띠 */
body.page-home .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent; border-bottom-color: rgb(255 255 255 / .18); color: #fff;
}
body.page-home .site-header .nav a:hover { background: rgb(255 255 255 / .12); }
body.page-home .site-header .menu-btn { border-color: rgb(255 255 255 / .4); }
body.page-home .site-header .header-cta { background: rgb(255 255 255 / .14); backdrop-filter: blur(4px); }
body.page-home .site-header.is-stuck {
  background: rgb(17 19 24 / .92); border-bottom-color: rgb(255 255 255 / .12);
  backdrop-filter: blur(8px);
}

/* ── 서랍 ─────────────────────────────────────────────────────────── */
.drawer { background: var(--paper); padding: 20px; box-shadow: -20px 0 50px rgb(17 19 24 / .2); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer-head .brand { font-size: 1.2rem; margin: 0; }
.drawer-close { border: 1px solid var(--line); border-radius: var(--r); background: none; font: inherit; font-size: .86rem; padding: 0 12px; cursor: pointer; }
.drawer-nav { display: grid; margin: 14px 0 18px; }
.drawer-nav a {
  display: flex; align-items: center; padding: 12px 4px; text-decoration: none;
  font-family: var(--serif); font-weight: 700; font-size: 1.08rem;
  border-bottom: 1px solid var(--line-soft);
}
.drawer-cta {
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; border-radius: var(--r);
  text-decoration: none; font-weight: 600; font-size: .95rem; padding: 12px;
}
.drawer-tel { margin-top: 14px; text-align: center; font-size: .9rem; }
.drawer-tel a { text-decoration: none; color: var(--muted); }

/* ── 토스트 모양 ──────────────────────────────────────────────────── */
.toast {
  background: var(--ink); color: #fff;
  padding: 13px 20px; border-radius: var(--r); max-width: min(92vw, 460px);
  font-size: .9rem; text-align: center; box-shadow: 0 16px 40px rgb(17 19 24 / .28);
}

/* ── 히어로 ───────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: clip;
  min-height: clamp(520px, 78vh, 680px);
  display: flex; align-items: center;
  padding-top: calc(var(--head-h) + 40px); padding-bottom: 56px;
  background: #0B0C10; color: #fff;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 50%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgb(9 10 13 / .95) 0%, rgb(9 10 13 / .88) 33%, rgb(9 10 13 / .46) 62%, rgb(9 10 13 / .3) 82%, rgb(9 10 13 / .55) 100%);
}
.hero-inner { position: relative; z-index: 1; width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.hero-h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 5.6vw, 3.5rem); line-height: 1.32; letter-spacing: -.03em;
  margin-bottom: 22px;
}
.hero-sub { font-size: clamp(.95rem, 1.5vw, 1.06rem); color: rgb(255 255 255 / .8); margin-bottom: 34px; }
.hero .eyebrow { color: rgb(255 255 255 / .55); }

.hero-rail {
  position: absolute; right: 34px; top: 50%; translate: 0 -50%; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.rail-num { font-family: var(--en); font-size: 1.1rem; letter-spacing: .1em; color: rgb(255 255 255 / .75); }
.rail-line { width: 1px; height: 34px; background: rgb(255 255 255 / .3); }
.rail-dot {
  display: block; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
}
.rail-dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / .45); transition: background-color .2s ease, scale .2s ease; }
.rail-dot:hover::after { background: var(--amber); scale: 1.4; }
@media (max-width: 900px) { .hero-rail { display: none; } }

/* ── 홈 · 발견 3분할 ──────────────────────────────────────────────── */
.discover-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.discover-col {
  padding: 4px 30px 0;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.discover-col:first-child { border-left: 0; padding-left: 0; }
.dc-title { font-size: 1.28rem; letter-spacing: .1em; margin-bottom: 16px; }
.dc-title.ko { font-family: var(--serif); font-weight: 800; letter-spacing: -.02em; }
.dc-desc { color: var(--ink-soft); font-size: .96rem; margin-bottom: 22px; }
.dc-art { margin-top: auto; align-self: flex-end; width: 100%; max-width: 260px; height: auto; mix-blend-mode: multiply; }
.discover-col .arrow-link { align-self: flex-start; }
@media (max-width: 860px) {
  .discover-grid { grid-template-columns: 1fr; gap: 42px; }
  .discover-col { border-left: 0; border-top: 1px solid var(--line); padding: 30px 0 0; }
  .discover-col:first-child { border-top: 0; padding-top: 0; }
  .dc-art { margin-top: 22px; align-self: flex-start; }
}

/* ── 홈 · 베스트셀러 띠 ───────────────────────────────────────────── */
.best { background: var(--ink); color: #fff; padding-block: 54px; }
.best-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 6px; }
.best-item a {
  display: grid; grid-template-columns: 66px 1fr; gap: 16px; align-items: center;
  text-decoration: none; padding: 12px 10px; border-radius: var(--r);
  transition: background-color .18s ease;
}
.best-item a:hover { background: rgb(255 255 255 / .07); }
.best-item img { width: 100%; height: auto; }
.bi-name, .bi-meta, .bi-price { display: block; }
.bi-name { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; }
.bi-meta { font-size: .82rem; color: rgb(255 255 255 / .58); }
.bi-price { font-size: .95rem; margin-top: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .best-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .best-list { grid-template-columns: 1fr; } }

/* ── 홈 · 샘플 키트 ───────────────────────────────────────────────── */
.kit-grid { display: grid; grid-template-columns: 0.92fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.kit-photo { margin: 0; background: var(--paper-2); border-radius: var(--r-lg); padding: 26px; }
.kit-photo img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.kit-steps { counter-reset: k; margin: 22px 0 26px; display: grid; gap: 14px; }
.kit-steps li { counter-increment: k; position: relative; padding-left: 40px; font-size: .96rem; color: var(--ink-soft); }
.kit-steps li::before {
  content: counter(k, decimal-leading-zero); position: absolute; left: 0; top: 1px;
  font-family: var(--en); font-size: .9rem; font-weight: 600; letter-spacing: .1em; color: var(--amber);
}
.kit-price { font-family: var(--serif); font-size: 1.12rem; margin-bottom: 20px; }
.kit-price b { font-weight: 800; }
.kit-price .tax { font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-left: 6px; }
@media (max-width: 860px) { .kit-grid { grid-template-columns: 1fr; } }

/* ── 홈 · 선물 ────────────────────────────────────────────────────── */
.gift { background: linear-gradient(180deg, var(--lilac-pale), #F3F0F8); }
.gift-inner { max-width: 780px; }
.gift-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 30px 0 28px; }
.gift-item { display: grid; gap: 8px; }
.gift-item svg { width: 26px; height: 26px; color: var(--amber); }
.gift-name { font-family: var(--serif); font-weight: 700; }
@media (max-width: 700px) { .gift-list { grid-template-columns: 1fr; gap: 18px; } }

/* ── 홈 · 맺음 ────────────────────────────────────────────────────── */
.closing { text-align: center; }
.closing .kw {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem); line-height: 2; color: var(--ink-soft);
}
.closing .kw + .kw { margin-top: 2px; }
.closing .btn { margin-top: 30px; }

/* ── 면 머리 ──────────────────────────────────────────────────────── */
.page-head { border-bottom: 1px solid var(--line); }
.page-head .en-display { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 18px; }
.page-head .ko-display { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 18px; }
.crumb { display: flex; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 20px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* ── 검색 ─────────────────────────────────────────────────────────── */
.search { position: relative; margin-top: 28px; max-width: 460px; }
.search-row { display: flex; gap: 8px; }
.control {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; font: inherit; color: inherit;
}
.control::placeholder { color: #A5A29C; }
.sugg {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 18px 40px rgb(17 19 24 / .12); overflow: hidden;
}
.sugg li a { display: block; padding: 11px 14px; text-decoration: none; font-size: .92rem; }
.sugg li a:hover, .sugg li a:focus { background: var(--paper-2); }

/* ── 향 지도 ──────────────────────────────────────────────────────── */
.atlas-grid { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.atlas-side .eyebrow { margin-bottom: 12px; }
fieldset { border: 0; margin: 0 0 26px; padding: 0; }
legend { font-family: var(--serif); font-weight: 700; font-size: .98rem; padding: 0; margin-bottom: 12px; }

.chk { position: relative; display: flex; align-items: center; min-height: 40px; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .94rem; padding: 6px 0; }
.chk .box {
  width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 3px;
  display: inline-grid; place-items: center; flex: none;
}
.chk .box::after { content: ""; width: 10px; height: 10px; background: var(--ink); border-radius: 1px; scale: 0; transition: scale .14s ease; }
.chk input:checked + label .box::after { scale: 1; }
.chk input:focus-visible + label .box { outline: 2px solid currentColor; outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; font-size: .87rem; padding: 8px 15px; min-height: 40px; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.atlas-map {
  position: relative; width: 100%; max-width: 560px; margin-inline: auto;
  aspect-ratio: 1; overflow: clip;
}
.map-ring, .map-ring::before {
  position: absolute; border-radius: 50%; border: 1px solid var(--line); content: "";
}
.map-ring { inset: 8%; }
.map-ring::before { inset: 13%; border-style: dashed; border-color: var(--line-soft); }
.map-axis { position: absolute; background: var(--line); }
.map-axis.h { left: 6%; right: 6%; top: 50%; height: 1px; }
.map-axis.v { top: 6%; bottom: 6%; left: 50%; width: 1px; }
.axis-label {
  position: absolute; font-size: .8rem; letter-spacing: .06em; color: var(--muted);
  background: var(--paper); padding: 0 6px;
}
.axis-top { top: -2px; left: 50%; translate: -50% 0; }
.axis-bottom { bottom: -2px; left: 50%; translate: -50% 0; }
.axis-left { left: -2px; top: 50%; translate: 0 -50%; }
.axis-right { right: -2px; top: 50%; translate: 0 -50%; }

.node {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  width: clamp(64px, 13%, 82px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  transition: scale .18s ease, box-shadow .18s ease;
}
.node img { width: auto; height: 58%; max-width: 56%; object-fit: contain; border-radius: 4px; }
.node-name {
  position: absolute; top: calc(100% + 5px); left: 50%; translate: -50% 0;
  font-size: .74rem; line-height: 1.3; text-align: center; white-space: nowrap; color: var(--ink);
}
.node:hover { scale: 1.09; box-shadow: 0 10px 26px rgb(17 19 24 / .16); }
.node.tone-lilac { background: rgb(185 167 214 / .5); }
.node.tone-amber { background: rgb(199 132 58 / .35); }
.node.tone-blue { background: rgb(160 176 194 / .42); }

.map-note { text-align: center; margin-top: 22px; }

@media (max-width: 900px) { .atlas-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  /* 모바일은 PC 축소판이 아니다 — 좌표판을 접고 향 하나씩 고르는 격자로 바꾼다.
     칸 폭보다 이름이 길면 격자가 밀려 원이 잘린다 — minmax(0,1fr) + 이름 폭 100% 로 묶는다. */
  .atlas-map { aspect-ratio: auto; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 10px; padding: 4px 0 8px; }
  .map-ring, .map-axis, .axis-label { display: none; }
  /* align-self 를 stretch 로 두면 줄 높이만큼 늘어나 원이 타원이 되고 이름 위치가 어긋난다 */
  .node { position: relative; left: auto; top: auto; translate: none; width: 100%; min-width: 0; aspect-ratio: 1; align-self: start; }
  .node-name { left: 0; right: 0; translate: none; white-space: normal; }
}
@media (max-width: 380px) { .atlas-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── 상품 목록 ────────────────────────────────────────────────────── */
.plist { display: grid; gap: 2px; margin-top: 8px; }
.pitem { container-type: inline-size; border-top: 1px solid var(--line-soft); }
.pitem:last-child { border-bottom: 1px solid var(--line-soft); }
.pitem-inner { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 4px; }
.pitem-thumb { display: block; background: var(--paper-2); border-radius: var(--r); padding: 8px; }
.pitem-thumb img { width: 100%; height: auto; display: block; border-radius: 4px; }
.pi-name { font-family: var(--serif); font-weight: 700; font-size: 1.06rem; }
.pi-name a { text-decoration: none; }
.pi-name a:hover { text-decoration: underline; }
.pi-meta { font-size: .85rem; color: var(--muted); }
.pi-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-size: .76rem; padding: 3px 9px; border-radius: 999px; background: var(--lilac-pale); color: #4A4257; }
.pi-price { font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pi-right { display: grid; gap: 8px; justify-items: end; align-content: center; }
@container (min-width: 520px) {
  .pitem-inner { grid-template-columns: 62px minmax(0, 1fr) auto; }
}
.js .pitem.is-more { display: none; }
.js .plist.show-all .pitem.is-more { display: block; }

.stock { font-size: .82rem; display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--ok); }
.stock-out { color: var(--err); }

.list-foot { display: grid; justify-items: center; gap: 14px; margin-top: 30px; }
.skeleton { display: grid; gap: 10px; width: 100%; }
.skeleton span { display: block; height: 62px; border-radius: var(--r); background: linear-gradient(90deg, var(--paper-2) 25%, #E4E1D9 37%, var(--paper-2) 63%); background-size: 400% 100%; animation: sk 1.2s ease infinite; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }
.empty-state { text-align: center; padding: 44px 10px; border: 1px dashed var(--line); border-radius: var(--r-lg); }
.is-off { display: none; }

/* ── 상품 상세 ────────────────────────────────────────────────────── */
.pdp-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 68px); align-items: start; }
.pdp-photo { margin: 0; background: var(--paper-2); border-radius: var(--r-lg); padding: 30px; text-align: center; }
.pdp-photo img { width: auto; max-width: 100%; height: auto; mix-blend-mode: multiply; }
.pdp-photo figcaption { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.pdp-title { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 4.6vw, 2.6rem); }
.pdp-sub { color: var(--muted); margin-top: 4px; }
.pdp-price { font-size: 1.5rem; font-weight: 700; margin: 18px 0; font-variant-numeric: tabular-nums; }
.pdp-price .tax { font-size: .8rem; font-weight: 400; color: var(--muted); margin-left: 8px; }
.pdp-desc { color: var(--ink-soft); margin-bottom: 26px; }
.pdp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }

.opt-row { display: grid; gap: 10px; margin-bottom: 8px; }
.opt-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  border: 1px solid var(--line); background: #fff; border-radius: var(--r);
  font: inherit; font-size: .92rem; padding: 10px 16px; min-height: 46px; cursor: pointer; text-align: left;
}
.opt:hover:not([disabled]) { border-color: var(--ink); }
.opt[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt[disabled] { color: #A5A29C; background: var(--paper-2); cursor: not-allowed; text-decoration: line-through; }
.field-err { display: none; color: var(--err); font-size: .86rem; margin-top: 8px; }
.field-err::before { content: "! "; font-weight: 700; }
.opt-row.invalid .field-err { display: block; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.qty button {
  width: 46px; height: 46px; border: 0; background: none; font: inherit; font-size: 1.1rem;
  cursor: pointer; color: inherit;
}
.qty output, .qty .val { min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; border-inline: 1px solid var(--line); line-height: 46px; }

.buy-row { display: grid; gap: 10px; margin-top: 22px; }
.pdp-notice { margin-top: 22px; padding: 16px 18px; background: var(--paper-2); border-radius: var(--r); font-size: .88rem; color: var(--ink-soft); }
.pdp-notice b { font-weight: 700; }

@media (max-width: 860px) { .pdp-grid { grid-template-columns: 1fr; } }

/* 모바일 구매 도크 */
.buy-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgb(246 245 242 / .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.buy-dock .btn { flex: 1; min-height: 50px; }
@media (max-width: 860px) {
  body.page-product .buy-dock { display: flex; }
  body.page-product { padding-bottom: 84px; }
  body.page-product .buy-row { display: none; }
}

/* ── 노트 피라미드 ────────────────────────────────────────────────── */
.pyramid-sec { background: var(--paper-2); }
.pyr-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(26px, 5vw, 64px); align-items: center; }
.pyr { display: grid; justify-items: center; gap: 3px; }
.pyr-band { position: relative; overflow: clip; }
.pyr-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pyr-b1 { width: 33.4%; aspect-ratio: 1.05 / 1; clip-path: polygon(50% 0%, 100% 100%, 0% 100%); }
.pyr-b2 { width: 66.7%; aspect-ratio: 2.1 / 1; clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%); }
.pyr-b3 { width: 100%; aspect-ratio: 3.15 / 1; clip-path: polygon(16.7% 0%, 83.3% 0%, 100% 100%, 0% 100%); }
.pyr-notes { display: grid; gap: 26px; }
.pyr-note { border-left: 2px solid var(--amber); padding-left: 18px; }
.pyr-note .en { font-family: var(--en); font-weight: 600; letter-spacing: .18em; font-size: .82rem; color: var(--muted); }
.pyr-note h3 { font-family: var(--serif); font-weight: 700; font-size: 1.08rem; margin-top: 2px; }
.pyr-note p { font-size: .92rem; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 860px) { .pyr-grid { grid-template-columns: 1fr; } }

/* 시그니처 연출 — 스크롤에 맞춰 노트가 차례로 피어난다.
   지원 브라우저 + 모션 허용일 때만 켠다. 그 밖에서는 처음부터 완성 상태다.
   조상에 overflow:hidden 을 두지 마라 — view() 진행이 얼어붙는다(BRIEF §4-C 13). */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .bloom { animation: bloom linear both; animation-timeline: view(); animation-range: entry 4% cover 30%; }
    .bloom-2 { animation-range: entry 4% cover 40%; }
    .bloom-3 { animation-range: entry 4% cover 50%; }
  }
}
@keyframes bloom {
  from { opacity: .12; transform: translateY(26px) scale(.94); }
  to { opacity: 1; transform: none; }
}

/* ── 탭 ───────────────────────────────────────────────────────────── */
.tablist { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
.tab {
  border: 0; background: none; font: inherit; font-size: .95rem; cursor: pointer;
  padding: 14px 18px; color: var(--muted); position: relative;
}
.tab[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--ink); }
.tabpanel { padding-top: 28px; }
.tabpanel h3 { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.tabpanel p + h3 { margin-top: 22px; }
.deflist { display: grid; gap: 10px; margin-top: 14px; }
.deflist div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); font-size: .93rem; }
.deflist dt { color: var(--muted); }
.deflist dd { margin: 0; }
@media (max-width: 520px) { .deflist div { grid-template-columns: 100px minmax(0, 1fr); } }

/* ── 아코디언 ─────────────────────────────────────────────────────── */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 0; background: none; font: inherit; font-size: 1rem; text-align: left;
  padding: 20px 2px; cursor: pointer; color: inherit;
}
.acc-trigger .mark { flex: none; width: 20px; height: 20px; position: relative; }
.acc-trigger .mark::before, .acc-trigger .mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor;
  translate: -50% -50%; transition: rotate .2s ease, opacity .2s ease;
}
.acc-trigger .mark::before { width: 14px; height: 1.5px; }
.acc-trigger .mark::after { width: 1.5px; height: 14px; }
.acc-item.open .acc-trigger .mark::after { rotate: 90deg; opacity: 0; }
.acc-panel { padding: 0 2px 22px; color: var(--ink-soft); font-size: .94rem; max-width: 72ch; }
.acc-panel p + p { margin-top: 10px; }

/* ── 무드 퀴즈 ────────────────────────────────────────────────────── */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); }
.qstep { display: grid; gap: 16px; }
.js .qstep { display: none; }
.js .qstep.is-on { display: grid; }
.qstep + .qstep { margin-top: 34px; }
.js .qstep + .qstep { margin-top: 0; }
.qno { font-family: var(--en); font-weight: 600; letter-spacing: .16em; color: var(--amber); font-size: .86rem; display: block; }
.qtitle { font-family: var(--serif); font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.5rem); }
.opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.opts.opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt-card {
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: clip;
  font: inherit; cursor: pointer; padding: 0; text-align: center; color: inherit;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.opt-card img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1.06; object-fit: cover; }
.opt-card .lab { display: block; padding: 12px 8px; font-size: .92rem; }
.opt-card:hover { border-color: var(--ink); }
.opt-card[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt-card[aria-pressed="true"] .lab { background: var(--ink); color: #fff; font-weight: 600; }
@media (max-width: 640px) { .opts, .opts.opts-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.quiz-nav { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.quiz-bar { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: clip; }
.quiz-bar i { display: block; height: 100%; width: 33%; background: var(--ink); transition: width .3s ease; }
.quiz-nav button { min-height: 44px; }
.quiz-pick { margin-top: 26px; padding: 22px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--paper-2); }
.quiz-pick h3 { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.quiz-pick .picks { display: grid; gap: 8px; margin: 12px 0 16px; }
.quiz-pick .picks li { display: flex; justify-content: space-between; gap: 12px; font-size: .94rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

/* ── 표 ───────────────────────────────────────────────────────────── */
.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
.tbl caption { text-align: left; font-size: .86rem; color: var(--muted); padding-bottom: 12px; }
.tbl th, .tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; font-size: .93rem; vertical-align: top; }
.tbl thead th { font-weight: 700; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.tbl tbody th { font-weight: 400; color: var(--muted); white-space: nowrap; }

/* ── 비교 ─────────────────────────────────────────────────────────── */
.cmp { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: clamp(20px, 3.5vw, 34px); }
.cmp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cmp-grid { min-width: 620px; display: grid; grid-template-columns: 116px repeat(2, minmax(0, 1fr)); }
.cmp-grid > * { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); font-size: .93rem; }
.cmp-grid .rowlab { color: var(--muted); }
.cmp-card { text-align: center; border-bottom: 1px solid var(--ink); }
.cmp-card img { height: 150px; width: auto; margin-inline: auto; display: block; mix-blend-mode: multiply; }
.cmp-name { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; margin-top: 12px; }
.cmp-name a { text-decoration: none; }
.cmp-meta { font-size: .82rem; color: var(--muted); }
.cmp-price { font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; }
.dots-row { display: inline-flex; align-items: center; gap: 5px; margin-right: 10px; vertical-align: -2px; }
.dots-row i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink); }
.dots-row i.on { background: var(--ink); }
.cmp-foot { margin-top: 22px; }

/* ── 레이어링 ─────────────────────────────────────────────────────── */
.layer-list { display: grid; gap: 18px; }
.layer {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 20px 24px;
}
.layer-pair { display: flex; align-items: center; gap: 10px; }
.layer-pair img { width: 34px; height: auto; border-radius: 4px; }
.layer-plus { color: var(--amber); font-size: 1.1rem; }
.layer-name { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.02rem; }
.layer p { font-size: .9rem; color: var(--ink-soft); margin-top: 3px; }
@media (max-width: 760px) { .layer { grid-template-columns: 1fr; gap: 14px; } }

/* ── 장바구니 · 주문 ──────────────────────────────────────────────── */
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: clamp(24px, 4vw, 52px); align-items: start; }
@media (max-width: 980px) { .order-grid { grid-template-columns: 1fr; } }

.cart-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto auto 44px; gap: 18px; align-items: center; padding: 20px 2px; border-bottom: 1px solid var(--line-soft); }
.cart-row:first-child { border-top: 1px solid var(--ink); }
.cart-thumb { background: var(--paper-2); border-radius: var(--r); padding: 8px; }
.cart-thumb img { width: 100%; height: auto; display: block; border-radius: 4px; }
.cart-name, .cart-meta { display: block; }
.cart-name { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; }
.cart-name a { text-decoration: none; }
.cart-meta { font-size: .84rem; color: var(--muted); }
.cart-line { font-weight: 600; min-width: 96px; text-align: right; font-variant-numeric: tabular-nums; }
.cart-del { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 1.1rem; }
.cart-del:hover { color: var(--err); }
@media (max-width: 620px) {
  /* 좁은 화면에서는 사진을 왼쪽에 세우고 이름·수량·금액을 두 줄로 접는다 */
  .cart-row { grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 12px; align-items: center; }
  .cart-row > .cart-thumb { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .cart-row > .cart-thumb + span { grid-column: 2; grid-row: 1; }
  .cart-row .cart-del { grid-column: 3; grid-row: 1; justify-self: end; align-self: start; }
  .cart-row .qty { grid-column: 2; grid-row: 2; justify-self: start; }
  .cart-row .cart-line { grid-column: 3; grid-row: 2; min-width: 0; white-space: nowrap; }
}

.coupon { display: flex; gap: 8px; margin-top: 24px; max-width: 420px; }
.coupon .control { min-height: 46px; }
.note-line { font-size: .86rem; margin-top: 10px; display: none; }
.note-line.on { display: block; }
.note-err { color: var(--err); }
.note-ok { color: var(--ok); }

.summary { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 24px; position: sticky; top: calc(var(--head-h) + 18px); }
.summary h2 { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; padding: 9px 0; }
.sum-total { border-top: 1px solid var(--ink); margin-top: 10px; padding-top: 16px; font-size: 1.12rem; font-weight: 700; }
.sum-total span:last-child { font-variant-numeric: tabular-nums; }
.summary .small { margin-top: 14px; }

/* 주문 단계 */
.stepper { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.stepper li::before {
  content: counter(s); counter-increment: s; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; font-size: .78rem;
  font-family: var(--en); font-weight: 600;
}
.stepper { counter-reset: s; }
.stepper li[aria-current] { color: var(--ink); font-weight: 700; }
.stepper li[aria-current]::before { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper li + li { padding-left: 8px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field .err { display: none; color: var(--err); font-size: .84rem; }
.field.invalid .control { border-color: var(--err); }
.field.invalid .err { display: block; }
.counter { font-size: .8rem; color: var(--muted); text-align: right; }
textarea.control { resize: vertical; min-height: 96px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.radio-set { display: grid; gap: 8px; }
.radio-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; min-height: 52px; background: #fff; }
.radio-row input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.radio-row label { flex: 1; font-size: .93rem; cursor: pointer; }
.radio-row .fee { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.radio-row:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.agree { position: relative; margin-top: 6px; }
.agree label { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .9rem; padding: 8px 0; }
.agree .box { width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 3px; display: inline-grid; place-items: center; flex: none; margin-top: 3px; }
.agree .box::after { content: ""; width: 10px; height: 10px; background: var(--ink); border-radius: 1px; scale: 0; transition: scale .14s ease; }
.agree input:checked + label .box::after { scale: 1; }
.agree .err { display: none; color: var(--err); font-size: .84rem; }
.agree.invalid .err { display: block; }

.form-submit { margin-top: 24px; }

/* 배송 현황 */
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.track li { padding-top: 22px; position: relative; font-size: .9rem; color: var(--muted); }
.track li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.track li.done { color: var(--ink); }
.track li.done::before { background: var(--ink); }
.track li.now { color: var(--amber-deep); font-weight: 700; }
.track li.now::before { background: var(--amber); }
.track .t-when { display: block; font-size: .8rem; font-weight: 400; color: var(--muted); }
@media (max-width: 700px) { .track { grid-template-columns: 1fr; gap: 0; } .track li { padding: 14px 0 14px 18px; } .track li::before { top: 0; bottom: 0; right: auto; width: 2px; height: auto; } }

.banner { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); font-size: .9rem; margin-top: 24px; }
.banner b { flex: none; font-weight: 700; }
.banner-warn { background: #FBF3E2; color: #6B5010; border: 1px solid #EBDCB6; }
.banner-info { background: var(--paper-2); color: var(--ink-soft); border: 1px solid var(--line); }

/* 손가락으로 눌러야 하는 화면에서는 모든 단추를 44px 이상으로 (검사 항목) */
@media (max-width: 767px) {
  button, .btn, .chip, .opt { min-height: 44px; }
}

/* ── 바닥글 ───────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgb(255 255 255 / .72); padding-block: 56px 40px; margin-top: 0; }
.footer-inner { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.footer-brand { font-family: var(--serif); font-weight: 800; font-size: 1.28rem; color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 18px 0 26px; }
.footer-nav a { font-size: .92rem; text-decoration: none; opacity: .78; }
.footer-nav a:hover { opacity: 1; }
.footer-nav a[aria-current] { opacity: 1; font-weight: 700; }
.footer-biz { font-style: normal; font-size: .84rem; line-height: 1.9; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .14); }
.footer-biz a { text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: .84rem; }
.footer-legal a { text-decoration: none; opacity: .78; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; }
.footer-copy { margin-top: 22px; font-size: .8rem; opacity: .55; }

/* JS 가 켜고 끄는 자리 — 어떤 구획 규칙보다 뒤에 와야 한다.
   (.banner 처럼 나중에 display 를 정하는 규칙이 이걸 덮어써서 숨김이 풀렸었다) */
.is-off { display: none !important; }
.gift-item span { display: block; }
