/* ============================================================
   USÉLESS SEOUL — 클린 커머스 (무신사 정톤)
   컨셉: 화이트 지배 · 블랙 텍스트 · 전 사진 흑백 · 액센트 컬러 0
   레퍼런스 감각: 무신사 뷰티 브랜드관 / Nonfiction / Aesop
   ============================================================ */

:root {
  --bg:       #ffffff;
  --ink:      #111111;
  --ink-soft: #4a4a4a;
  --ink-mute: #757575; /* WCAG AA 4.5:1 — 구 #909090은 3.5:1 미달 (Lighthouse iter12) */
  --line:     #e6e6e6;
  --bg-soft:  #f7f7f7;

  --serif: "Instrument Serif", Georgia, serif;
  --sans:  "Pretendard Variable", Pretendard, system-ui, -apple-system, sans-serif;
  --maxw:  1200px;
  --pad:   clamp(20px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
/* 흑백 통일 — 제품/히어로 컷은 크리스프(대비 살짝 업) */
img { max-width: 100%; display: block; filter: grayscale(1) contrast(1.04); }
/* 장면 컷(스토리·필름)은 필름 스냅 근사 — 리프티드 블랙(대비 낮추고 밝기 업) */
.story__img img, .film__bg img { filter: grayscale(1) contrast(0.9) brightness(1.07); }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- 접근성 ---------- */
/* 키보드 포커스만 링 표시 (모노크롬 유지) */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.film :focus-visible { outline-color: #fff; }
#main:focus { outline: none; } /* skip 착지점 — 시각 링 불필요 */
/* 본문 바로가기 — 포커스 시에만 노출 */
.skip {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  transform: translateY(-200%);
  background: var(--ink); color: #fff;
  padding: 10px 18px; font-size: 0.8rem; letter-spacing: 0.08em;
}
.skip:focus { transform: none; }

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

/* 페이드인만 허용 — 기본은 보임(JS 없이도 첫 페인트 즉시).
   숨김(.pre)은 site.js가 뷰포트 밖 요소에만 부여 → LCP/FCP가 JS 로드에 안 묶임 */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.pre { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; }

.btn {
  display: inline-block; font-size: 0.85rem; letter-spacing: 0.06em;
  padding: 14px 34px; border: 1px solid var(--ink);
  transition: background 0.25s, color 0.25s;
}
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #fff; color: var(--ink); }
.btn:disabled, .btn:disabled:hover { opacity: 0.55; cursor: default; background: #fff; color: var(--ink); border-color: var(--line); }
.btn--lg { padding: 17px 48px; font-size: 0.92rem; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 16px var(--pad);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.nav.solid { border-color: var(--line); }
.nav__brand { font-weight: 700; font-size: 0.95rem; letter-spacing: 0.18em; }
.nav__menu { display: flex; gap: clamp(16px, 2.6vw, 34px); }
.nav__menu a { font-size: 0.76rem; letter-spacing: 0.14em; color: var(--ink-mute); transition: color 0.25s; }
.nav__menu a:hover { color: var(--ink); }
.nav__cta {
  font-size: 0.76rem; letter-spacing: 0.08em;
  padding: 9px 20px; background: var(--ink); color: #fff;
  transition: opacity 0.25s;
}
.nav__cta:hover { opacity: 0.8; }
.nav__right { display: flex; align-items: center; gap: 14px; }
/* 햄버거 — 900px 이하에서만 노출 (체크박스 토글, JS는 닫기 보조만) */
.nav__check { display: none; }
.nav__burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 26px; height: 26px; cursor: pointer;
}
.nav__burger span { display: block; height: 1.5px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }

/* ---------- ① HERO ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 120px var(--pad) clamp(3rem, 7vh, 6rem);
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: 92svh;
}
.hero__img {
  background: linear-gradient(180deg, #f8f8f8 0%, #efefef 100%);
  aspect-ratio: 4/5; overflow: hidden;
  padding: clamp(20px, 3vw, 38px);
}
.hero__img img { width: 100%; height: 100%; object-fit: contain; }
.hero__img--live {
  aspect-ratio: 1 / 1;
  padding: 0;
  background: #f4f4f4;
  position: relative;
}
.hero__img--live img { object-fit: cover; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.2rem, 7.5vw, 6.8rem); line-height: 0.98; letter-spacing: -0.01em;
}
.hero__sub { margin-top: 1.8rem; color: var(--ink-soft); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.hero .btn { margin-top: 2.4rem; }

/* ---------- ★ BRAND FILM (스토리 스파인 — 유일한 다크 블록) ---------- */
.film {
  position: relative; overflow: hidden;
  min-height: 86svh;
  display: flex; align-items: center; justify-content: center;
}
.film__bg { position: absolute; inset: 0; margin: 0; }
.film__bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* fal 미가용 폴백: 흑백 스틸 + 슬로우 줌(켄 번즈) — 무빙 클립 대체 */
  animation: kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}
.film::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,0.38), rgba(0,0,0,0.55));
}
.film__text {
  position: relative; z-index: 1; color: #fff; text-align: center;
  padding: clamp(5rem, 12vh, 8rem) var(--pad); max-width: 800px;
}
.film__jp { font-size: 0.8rem; letter-spacing: 0.28em; color: rgba(255,255,255,0.72); }
.film__line {
  font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 4.2vw, 3rem); line-height: 1.32;
  margin: 1.3rem 0 1.8rem;
}
.film__body { font-size: clamp(0.92rem, 1.2vw, 1.02rem); line-height: 2; color: rgba(255,255,255,0.86); }
.film__en {
  margin-top: 2rem; font-family: var(--serif); font-style: italic;
  font-size: 1.02rem; color: rgba(255,255,255,0.66);
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }

/* ---------- 섹션 헤더 ---------- */
.sect-head { max-width: var(--maxw); margin: 0 auto clamp(2.4rem, 5vh, 4rem); padding: 0 var(--pad); }
.sect-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; }
.sect-head p { margin-top: 0.6rem; color: var(--ink-mute); font-size: 0.95rem; }

/* ---------- ② LINEUP ---------- */
.lineup { padding: clamp(3rem, 8vh, 7rem) 0; }
.lineup__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.8rem);
}
.product__img {
  display: block;
  background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%);
  aspect-ratio: 3/4; overflow: hidden;
  padding: clamp(10px, 1.4vw, 18px);
}
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product:hover .product__img img { transform: scale(1.03); }
.product__info { padding: 1.1rem 0.1rem 0; }
/* 스켈레톤 — JS 렌더 전 카드 자리(CLS 방지). info 높이는 실측값 근사 */
.product--skeleton .product__info { min-height: 252px; }
@media (max-width: 640px) { .product--skeleton .product__info { min-height: 267px; } }
.product__code { font-size: 0.68rem; letter-spacing: 0.14em; color: var(--ink-mute); }
.product__name { font-size: 1.02rem; font-weight: 600; margin-top: 0.25rem; line-height: 1.4; }
.product__name span { display: block; font-family: var(--serif); font-weight: 400; font-size: 0.95rem; color: var(--ink-soft); font-style: italic; }
.product__hook { margin-top: 0.55rem; font-size: 0.8rem; color: var(--ink-mute); }
.product__notes { margin-top: 0.3rem; font-size: 0.82rem; color: var(--ink-soft); }
.product__spec { margin-top: 0.2rem; font-size: 0.76rem; color: var(--ink-mute); }
.product__price { margin-top: 0.65rem; font-size: 0.95rem; font-weight: 600; }
.product__price .mock { font-size: 0.66rem; font-weight: 400; color: var(--ink-mute); border: 1px solid var(--line); padding: 1px 6px; margin-left: 6px; vertical-align: 1px; }

/* ---------- ③ STORIES ---------- */
.stories { padding: clamp(3rem, 8vh, 7rem) 0 clamp(2rem, 5vh, 4rem); border-top: 1px solid var(--line); }
.story {
  max-width: var(--maxw); margin: 0 auto clamp(3.5rem, 8vh, 7rem); padding: 0 var(--pad);
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.story--flip .story__img { order: 2; }
.story__img { background: var(--bg-soft); aspect-ratio: 4/3; overflow: hidden; }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__no { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-mute); }
.story__name { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; margin: 0.4rem 0 1.1rem; }
.story__copy { color: var(--ink-soft); font-size: 1rem; max-width: 42ch; }
.story__sub { margin-top: 0.9rem; font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: var(--ink-mute); }
.story__notes { margin-top: 1.4rem; font-size: 0.76rem; letter-spacing: 0.08em; color: var(--ink-mute); padding-top: 1rem; border-top: 1px solid var(--line); max-width: 42ch; }

/* ---------- ★ NEXT SCENTS — 다음 장면들 (티저, 판매 아님) ---------- */
.next { padding: clamp(3rem, 8vh, 7rem) 0; border-top: 1px solid var(--line); }
.next__tag {
  font-size: 0.64rem; letter-spacing: 0.12em; color: var(--ink-mute);
  border: 1px solid var(--line); padding: 2px 8px; margin-left: 10px; vertical-align: 1px;
}
.next__list {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem);
}
.next__item {
  display: flex; gap: 1.3rem; align-items: baseline;
  padding: 1.15rem 0; border-top: 1px solid var(--line);
}
.next__no { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink-mute); min-width: 2ch; }
.next__name { font-size: 1.02rem; font-weight: 600; line-height: 1.5; }
.next__name span { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 0.9rem; color: var(--ink-mute); margin-left: 0.55rem; }
.next__mood { margin-top: 0.15rem; font-size: 0.88rem; color: var(--ink-soft); }
.next__note {
  max-width: var(--maxw); margin: clamp(2rem, 4vh, 3rem) auto 0; padding: 0 var(--pad);
  font-size: 0.8rem; color: var(--ink-mute);
}

/* ---------- ④ ABOUT ---------- */
.about { background: var(--bg-soft); }
.about__inner { max-width: 820px; margin: 0 auto; padding: clamp(5rem, 11vh, 9rem) var(--pad); text-align: center; }
.about__mark { font-size: 0.78rem; letter-spacing: 0.3em; font-weight: 700; }
/* 한글 헤드라인 — Instrument Serif 한글 미지원(명조 폴백 방지), Pretendard 유지 */
.about__title { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.2; margin: 1.4rem 0 2rem; }
.about__title em { font-style: normal; }
.about__body { color: var(--ink-soft); font-size: 1.02rem; max-width: 56ch; margin: 0 auto; }

/* ---------- ⑤ BUY + FAQ ---------- */
.buy { padding: clamp(4rem, 9vh, 8rem) 0 clamp(3rem, 6vh, 5rem); }
.buy__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); text-align: center; }
.buy__lead { font-size: 0.85rem; letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: 1.1rem; }
.buy__title { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.25; margin-bottom: 2.2rem; }
.buy__note { margin-top: 1.2rem; font-size: 0.8rem; color: var(--ink-mute); }

.faq { max-width: 680px; margin: clamp(3.5rem, 8vh, 6rem) auto 0; padding: 0 var(--pad); }
.faq__title { font-weight: 700; font-size: 1.3rem; letter-spacing: 0.01em; margin-bottom: 1.2rem; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; padding: 1.1rem 0; font-size: 0.95rem; font-weight: 500; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; color: var(--ink-mute); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 0 1.2rem; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- FOOTER ---------- */
.foot { border-top: 1px solid var(--line); text-align: center; padding: clamp(3rem, 7vh, 5rem) var(--pad) 3rem; }
.foot__brand { font-weight: 700; letter-spacing: 0.2em; font-size: 1rem; }
.foot__line { margin-top: 1.1rem; font-size: 0.82rem; color: var(--ink-soft); }
.foot__links { display: flex; flex-wrap: wrap; gap: 0.9rem 2rem; justify-content: center; margin-top: 1.4rem; }
.foot__links a { font-size: 0.8rem; color: var(--ink-mute); transition: color 0.25s; }
.foot__links a:hover { color: var(--ink); }
.foot__legal { margin-top: 2rem; font-size: 0.72rem; color: var(--ink-mute); }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .nav__burger { display: flex; }
  /* 체크박스를 보이지 않게만 겹쳐둠 — 키보드(Tab→Space)로 메뉴 토글 가능 */
  .nav__check {
    display: block; position: absolute; top: 20px; right: var(--pad);
    width: 26px; height: 26px; opacity: 0; margin: 0; pointer-events: none;
  }
  .nav__check:focus-visible ~ .nav__right .nav__burger { outline: 2px solid var(--ink); outline-offset: 3px; }
  /* 메뉴 → 상단 드롭 패널 (체크박스 :checked 토글) */
  .nav__menu {
    position: fixed; top: 58px; left: 0; right: 0;
    display: flex; flex-direction: column; gap: 0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 14px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav__menu a { padding: 12px 0; font-size: 0.86rem; border-top: 1px solid var(--line); color: var(--ink); }
  .nav__menu a:first-child { border-top: 0; }
  .nav__check:checked ~ .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__check:checked ~ .nav__right .nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav__check:checked ~ .nav__right .nav__burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 90px; gap: 2rem; }
  .next__list { grid-template-columns: 1fr; }
  .hero__img { order: -1; aspect-ratio: 4/5; max-height: 60svh; }
  .hero__img.hero__img--live { aspect-ratio: 1 / 1; }
  .lineup__grid { grid-template-columns: repeat(2, 1fr); }
  .story, .story--flip { grid-template-columns: 1fr; gap: 1.4rem; }
  .story--flip .story__img { order: 0; }
}
@media (max-width: 480px) {
  body { overflow-x: hidden; }
  .nav { gap: 0.6rem; }
  .nav__brand { font-size: 0.8rem; letter-spacing: 0.12em; }
  .nav__right { gap: 10px; }
  .nav__auth, .nav__cart { font-size: 0.68rem; letter-spacing: 0.1em; }
  .foot__links { gap: 0.8rem 1.4rem; }
  .foot__biz { font-size: 0.66rem; }
  .lineup__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product__name { font-size: 0.92rem; }
  .product__hook { font-size: 0.74rem; }
  .product__notes { font-size: 0.76rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.pre { transition: none; transform: none; opacity: 1; }
  .film__bg img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   멀티페이지 커머스 확장 (iter5) — 헤더 CART / 상세 / 장바구니 / 체크아웃
   ============================================================ */

/* ---------- 헤더 CART 링크 ---------- */
.nav__cart { font-size: 0.76rem; letter-spacing: 0.14em; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.cart-count {
  min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.62rem; color: var(--ink-mute);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cart-count.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav__menu a.on { color: var(--ink); font-weight: 600; }

/* ---------- 서브페이지 공통 헤드 ---------- */
.page { max-width: var(--maxw); margin: 0 auto; padding: 120px var(--pad) clamp(3rem, 7vh, 6rem); }
.page--narrow { max-width: 760px; }
.page-head { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.02; }
.page-head p { margin-top: 0.7rem; color: var(--ink-mute); font-size: 0.95rem; }
.crumb { font-size: 0.74rem; letter-spacing: 0.1em; color: var(--ink-mute); margin-bottom: 1.6rem; }
.crumb a:hover { color: var(--ink); }

/* SHOP 대표 실사 컷 — product-hero-clean.png(1024 square) 비율 고정 */
.shop-visual {
  margin: 0 0 clamp(2rem, 5vh, 3.5rem);
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.58fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.shop-visual__img { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #f4f4f4; position: relative; }
.shop-visual__img img { width: 100%; height: 100%; object-fit: cover; }
.shop-visual__copy {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; justify-content: center;
}
.shop-visual__copy p { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--ink-mute); }
.shop-visual__copy h2 { margin-top: 0.7rem; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.24; letter-spacing: -0.02em; }
.shop-visual__copy span { margin-top: 1rem; font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- 제품 카드 담기 버튼 ---------- */
.product__add {
  margin-top: 0.8rem; width: 100%; cursor: pointer;
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em;
  padding: 10px 0; background: #fff; color: var(--ink); border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.product__add:hover { background: var(--ink); color: #fff; }
.product__add:disabled { opacity: 0.55; cursor: default; }
.product__add:disabled:hover { background: #fff; color: var(--ink); }

/* ---------- 제품 상세 ---------- */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.pd__img {
  background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%);
  aspect-ratio: 1/1; overflow: hidden; position: sticky; top: 90px;
}
.pd__img img { width: 100%; height: 100%; object-fit: cover; }
.pd__code { font-size: 0.7rem; letter-spacing: 0.14em; color: var(--ink-mute); }
.pd__name { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.25; margin-top: 0.4rem; }
.pd__en { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1rem; color: var(--ink-soft); margin-top: 0.2rem; }
.pd__hook { margin-top: 1.2rem; font-size: 0.95rem; color: var(--ink-soft); }
.pd__price { margin-top: 1.4rem; font-size: 1.25rem; font-weight: 700; }
.pd__price .mock { font-size: 0.66rem; font-weight: 400; color: var(--ink-mute); border: 1px solid var(--line); padding: 1px 6px; margin-left: 8px; vertical-align: 3px; }
.pd__spec { margin-top: 0.4rem; font-size: 0.82rem; color: var(--ink-mute); }
.pd__story { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.96rem; }
.pd__sub { margin-top: 0.8rem; font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--ink-mute); }

/* 노트 피라미드 */
.pyr { margin-top: 2rem; }
.pyr__title { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--ink-mute); margin-bottom: 0.9rem; }
.pyr__row { border: 1px solid var(--line); border-bottom: 0; padding: 0.75rem 1rem; margin: 0 auto; text-align: center; }
.pyr__row:nth-child(1) { width: 64%; }
.pyr__row:nth-child(2) { width: 82%; }
.pyr__row:nth-child(3) { width: 100%; border-bottom: 1px solid var(--line); }
.pyr__row b { display: block; font-size: 0.64rem; letter-spacing: 0.2em; color: var(--ink-mute); font-weight: 600; }
.pyr__row span { font-size: 0.9rem; }

/* 수량 + 버튼 */
.pd__buy { margin-top: 2rem; display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1px solid var(--ink); }
.qty input {
  width: 56px; text-align: center; border: 0; font-family: var(--sans); font-size: 0.95rem;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd__buy .btn { cursor: pointer; font-family: var(--sans); background: #fff; }
.pd__buy .btn--solid { background: var(--ink); }
.pd__buy .btn--solid:hover { background: #fff; }
.pd__buy .btn:disabled, .pd__buy .btn:disabled:hover { opacity: 0.55; cursor: default; background: #fff; color: var(--ink); border-color: var(--line); }
.pd__note { margin-top: 0.9rem; font-size: 0.76rem; color: var(--ink-mute); }
.pd__others { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-mute); display: flex; gap: 1.2rem; flex-wrap: wrap; }
.pd__others a:hover { color: var(--ink); }

/* ---------- 장바구니 ---------- */
.cart__row {
  display: grid; grid-template-columns: 86px 1fr auto auto auto; gap: 1.2rem; align-items: center;
  padding: 1.3rem 0; border-top: 1px solid var(--line);
}
.cart__row:last-child { border-bottom: 1px solid var(--line); }
.cart__img { background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%); aspect-ratio: 3/4; overflow: hidden; }
.cart__img img { width: 100%; height: 100%; object-fit: cover; }
.cart__code { font-size: 0.66rem; letter-spacing: 0.12em; color: var(--ink-mute); }
.cart__name { font-weight: 600; font-size: 0.98rem; }
.cart__spec { font-size: 0.76rem; color: var(--ink-mute); margin-top: 0.15rem; }
.cart__unit { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.35rem; }
.cart__unit .mock { font-size: 0.62rem; color: var(--ink-mute); border: 1px solid var(--line); padding: 0 5px; margin-left: 5px; }
.cart__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.cart__qty button { width: 32px; height: 34px; background: #fff; border: 0; cursor: pointer; font-size: 1rem; color: var(--ink-soft); }
.cart__qty button:hover { color: var(--ink); }
.cart__qty span { min-width: 34px; text-align: center; font-size: 0.9rem; }
.cart__sum { font-weight: 600; font-size: 0.98rem; min-width: 90px; text-align: right; }
.cart__del { background: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: 0.74rem; color: var(--ink-mute); text-decoration: underline; }
.cart__del:hover { color: var(--ink); }
.cart__foot { margin-top: 1.8rem; display: flex; justify-content: flex-end; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cart__total { font-size: 1.05rem; }
.cart__total b { font-size: 1.3rem; margin-left: 0.8rem; }
.cart__empty { text-align: center; padding: clamp(3rem, 10vh, 6rem) 0; color: var(--ink-mute); }
.cart__empty .btn { margin-top: 1.6rem; }

/* ---------- 체크아웃 ---------- */
.co { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.co__form label { display: block; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-soft); margin: 1.2rem 0 0.4rem; }
.co__form input, .co__form textarea {
  width: 100%; border: 1px solid var(--line); padding: 12px 14px;
  font-family: var(--sans); font-size: 0.92rem; background: #fff;
}
.co__form input:focus, .co__form textarea:focus { border-color: var(--ink); } /* outline은 전역 :focus-visible이 담당 */
.co__summary { border: 1px solid var(--line); padding: 1.6rem; position: sticky; top: 90px; }
.co__summary h2 { font-size: 0.8rem; letter-spacing: 0.14em; font-weight: 600; margin-bottom: 1rem; }
.co__summary ul { list-style: none; }
.co__summary li { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-soft); padding: 0.45rem 0; border-top: 1px solid var(--line); }
.co__summary .co__totalrow { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.02rem; padding-top: 1rem; margin-top: 0.6rem; border-top: 1px solid var(--ink); }
.co__notice { margin-top: 1rem; font-size: 0.74rem; color: var(--ink-mute); }
.co__form .btn { margin-top: 2rem; width: 100%; cursor: pointer; font-family: var(--sans); }
.co__done { text-align: center; padding: clamp(3rem, 10vh, 6rem) 0; }
/* 한글 헤드라인 — Instrument Serif 한글 미지원(명조 폴백 방지), Pretendard 유지 */
.co__done h1 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.co__done p { margin-top: 1.2rem; color: var(--ink-soft); }
.co__done .btn { margin-top: 2rem; }

@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; }
  .pd__img { position: static; }
  .shop-visual { grid-template-columns: 1fr; border-bottom: 0; }
  .shop-visual__copy { padding: 1.2rem 0 0; }
  .co { grid-template-columns: 1fr; }
  .co__summary { position: static; }
  .cart__row { grid-template-columns: 72px 1fr auto; grid-template-rows: auto auto; }
  .cart__img { grid-row: 1 / 3; }
  .cart__sum { grid-column: 3; text-align: right; min-width: 0; }
  .cart__qty { grid-column: 2; justify-self: start; }
  .cart__del { grid-column: 3; justify-self: end; }
}

/* ===== v6 — D2C 실판매몰 (회원/주문/관리자) ===== */
.nav__auth { font-size: 0.76rem; letter-spacing: 0.14em; color: var(--ink); }
.nav--admin { justify-content: flex-start; }

.form-err {
  margin-top: 1rem;
  padding-left: 0.8rem;
  border-left: 2px solid var(--ink);
  font-size: 0.82rem;
  color: var(--ink);
}

.page--auth { max-width: 520px; }
.auth .page-head { margin-bottom: 1.6rem; }
.auth__alt { margin-top: 1.4rem; font-size: 0.85rem; color: var(--ink-soft); }
.auth__alt a { text-decoration: underline; text-underline-offset: 3px; }
.auth__privacy { margin-top: 1.2rem; font-size: 0.72rem; line-height: 1.6; color: var(--ink-mute); }

.my__who { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.my__logout { border: 1px solid var(--line); background: none; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.08em; padding: 0.35rem 0.9rem; cursor: pointer; color: var(--ink-soft); }
.my__logout:hover { border-color: var(--ink); color: var(--ink); }
.my__subtitle { font-size: 0.8rem; letter-spacing: 0.18em; color: var(--ink-soft); margin-bottom: 1.4rem; }

.order { border: 1px solid var(--line); padding: 1.4rem 1.5rem; margin-bottom: 1.2rem; }
.order__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.order__id { font-size: 0.82rem; letter-spacing: 0.08em; font-weight: 700; }
.order__date { font-size: 0.76rem; color: var(--ink-mute); }
.order__status { margin-left: auto; font-size: 0.7rem; letter-spacing: 0.1em; padding: 0.25rem 0.7rem; border: 1px solid var(--ink); }
.order__status.st-awaiting_payment { background: #fff; color: var(--ink); }
.order__status.st-paid { background: var(--ink); color: #fff; }
.order__status.st-done { background: #f2f2f0; border-color: var(--line); color: var(--ink-soft); }
.order__meta { margin-top: 0.7rem; font-size: 0.8rem; color: var(--ink-soft); }
.order__meta span { color: var(--ink-mute); }
.order__items { margin-top: 1rem; border-top: 1px solid var(--line); }
.order__items li { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.order__total { display: flex; justify-content: space-between; margin-top: 0.8rem; font-weight: 700; font-size: 0.92rem; }
.order__deposit { margin-top: 0.9rem; font-size: 0.76rem; color: var(--ink-soft); background: #f7f7f5; padding: 0.7rem 0.9rem; }
.order__empty { color: var(--ink-soft); padding: 2rem 0; }
.order__empty a { text-decoration: underline; text-underline-offset: 3px; }
.order__actions { margin-top: 1rem; display: flex; gap: 10px; align-items: center; }
.order__actions select { font-family: var(--sans); font-size: 0.82rem; padding: 0.5rem 0.7rem; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.order__actions .btn { padding: 0.5rem 1.1rem; font-size: 0.74rem; cursor: pointer; }

.co__bank { margin-top: 1.4rem; border: 1px solid var(--line); padding: 1rem 1.1rem; }
.co__bank h3 { font-size: 0.74rem; letter-spacing: 0.14em; color: var(--ink-soft); }
.co__bank p { margin-top: 0.5rem; font-size: 0.8rem; line-height: 1.6; color: var(--ink-soft); }

.co__done-box { display: inline-block; margin-top: 1.6rem; border: 1px solid var(--line); padding: 1.2rem 1.8rem; text-align: left; }
.co__done-box p { display: flex; gap: 1.6rem; justify-content: space-between; margin-top: 0.4rem; font-size: 0.88rem; }
.co__done-box p:first-child { margin-top: 0; }
.co__done-box span { color: var(--ink-mute); }

/* no-JS 폴백 안내 (iter21) — noscript 안에서만 노출 */
.nojs-note { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-mute); line-height: 1.7; }
.nojs-note a { color: var(--ink); text-decoration: underline; }

/* ---------- 상세 크로스셀 — 다른 장면 카드 3종 (iter24) ---------- */
.xsell { margin-top: clamp(3rem, 7vh, 5rem); padding-top: clamp(1.8rem, 4vh, 2.6rem); border-top: 1px solid var(--line); }
.xsell__title { font-size: 0.78rem; letter-spacing: 0.16em; font-weight: 600; }
.xsell__title span { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0.02em; color: var(--ink-mute); margin-left: 6px; }
.xsell__grid { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.xsell__card { display: block; }
.xsell__img { display: block; background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%); aspect-ratio: 3/4; overflow: hidden; }
.xsell__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.xsell__card:hover .xsell__img img { transform: scale(1.03); }
.xsell__code { display: block; margin-top: 0.8rem; font-size: 0.66rem; letter-spacing: 0.14em; color: var(--ink-mute); }
.xsell__name { display: block; margin-top: 0.2rem; font-size: 0.95rem; font-weight: 600; }
.xsell__name em { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }
.xsell__hook { display: block; margin-top: 0.4rem; font-size: 0.78rem; color: var(--ink-mute); }
.xsell__price { display: block; margin-top: 0.5rem; font-size: 0.88rem; font-weight: 600; }
.xsell__price .mock { font-size: 0.62rem; font-weight: 400; color: var(--ink-mute); border: 1px solid var(--line); padding: 1px 5px; margin-left: 6px; vertical-align: 1px; }
@media (max-width: 640px) {
  .xsell__grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .xsell__card { display: grid; grid-template-columns: 96px 1fr; column-gap: 1rem; }
  .xsell__img { grid-row: 1 / 5; align-self: start; }
  .xsell__code { margin-top: 0; }
}

/* ---------- 상세페이지 강화 (iter27 — 승준 5차 지시 ①~⑨) ---------- */
/* ① 풀블리드 히어로 — 장면 비주얼 + 한 줄 카피 */
.pdhero { position: relative; height: clamp(340px, 52vh, 560px); overflow: hidden; background: var(--ink); }
.pdhero__bg { position: absolute; inset: 0; margin: 0; }
.pdhero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(0.9) brightness(1.07); }
.pdhero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.38); }
.pdhero__text { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) clamp(2rem, 5vh, 3.2rem); color: #fff; }
.pdhero__en { font-family: var(--serif); font-style: italic; font-size: 0.95rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.75); }
.pdhero__line { margin-top: 0.5rem; font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.3; }

/* ② 2컬럼 + sticky 구매 박스 */
.page--pd { padding-top: clamp(2.5rem, 6vh, 4rem); }
.pdwrap {
  display: grid; grid-template-columns: minmax(0, 1fr) 400px;
  grid-template-areas: "img side" "body side";
  gap: 0 clamp(2rem, 4.5vw, 4.5rem); align-items: start;
}
.pdwrap .pd__img { grid-area: img; position: static; aspect-ratio: 4/5; }
.pdside { grid-area: side; align-self: stretch; }
.pdbox { position: sticky; top: 86px; border: 1px solid var(--line); padding: clamp(1.4rem, 2.2vw, 2rem); }
.pdmain { grid-area: body; min-width: 0; }

/* 상세 본문 섹션 공통 */
.pdsec { margin-top: clamp(2.6rem, 6vh, 4rem); padding-top: clamp(1.6rem, 3.5vh, 2.2rem); border-top: 1px solid var(--line); }
.pdsec__title { font-size: 0.78rem; letter-spacing: 0.16em; font-weight: 600; }
.pdsec__title span { font-family: var(--sans); font-weight: 400; letter-spacing: 0.02em; color: var(--ink-mute); margin-left: 8px; font-size: 0.76rem; }
.pdsec__more { margin-top: 1.1rem; font-size: 0.82rem; color: var(--ink-mute); }
.pdsec__more a:hover { color: var(--ink); }

/* ④ 장면 스토리 */
.pdstory { margin-top: 1.3rem; color: var(--ink-soft); font-size: 0.98rem; line-height: 2; max-width: 52ch; }
.pdstory p + p { margin-top: 1.1rem; }
.pdstory .pd__sub { margin-top: 1.6rem; }

/* ③ 피라미드 — pdmain 안에서는 상단 여백 조정 */
.pdsec .pyr { margin-top: 1.3rem; max-width: 480px; }

/* ⑤⑦ 항목 리스트 */
.pduse { margin-top: 1.3rem; display: grid; gap: 1.1rem; max-width: 56ch; }
.pduse__item b { display: block; font-size: 0.74rem; letter-spacing: 0.14em; font-weight: 600; color: var(--ink); }
.pduse__item p { margin-top: 0.3rem; font-size: 0.9rem; color: var(--ink-soft); }

/* ⑥ 스펙 표 */
.spec { margin-top: 1.3rem; width: 100%; max-width: 560px; border-collapse: collapse; font-size: 0.88rem; }
.spec th, .spec td { border-top: 1px solid var(--line); padding: 0.7rem 0.2rem; text-align: left; vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.spec th { width: 108px; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--ink-mute); }
.spec td { color: var(--ink-soft); }

/* ⑧ 리뷰 빈 상태 */
.pdrev { margin-top: 1.3rem; border: 1px dashed var(--line); padding: clamp(1.6rem, 4vh, 2.4rem); text-align: center; }
.pdrev__line { font-size: 0.95rem; font-weight: 600; }
.pdrev__hint { margin-top: 0.4rem; font-size: 0.82rem; color: var(--ink-mute); }

/* 반응형 — 모바일: 이미지 → 구매박스 → 본문 */
@media (max-width: 900px) {
  .pdwrap { grid-template-columns: 1fr; grid-template-areas: "img" "side" "body"; }
  .pdside { margin-top: 1.6rem; }
  .pdbox { position: static; }
}

/* 제품 카드 담기 버튼 하단 정렬 (iter27 — 텍스트 줄수 차이로 버튼 높이 어긋나던 것) */
.product { display: flex; flex-direction: column; }
.product__info { display: flex; flex-direction: column; flex: 1; }
.product__add { margin-top: auto; }
.product__price { margin-bottom: 0.8rem; }

/* ---- 실사 360° 스핀 (spin.js) ---- */
[data-spin] { position: relative; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
[data-spin]:active { cursor: grabbing; }
[data-spin] .spin-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-spin] img { display: block; width: 100%; height: 100%; object-fit: contain; }
.spin-hint {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .16em; color: #999; pointer-events: none;
  transition: opacity .4s;
}
[data-spin].spin-touched .spin-hint { opacity: 0; }
.hero__img--spin { aspect-ratio: 1/1; overflow: hidden; }
.pdwrap .pd__img--spin, .pd__img--spin { aspect-ratio: 1/1; overflow: hidden; position: relative; }

/* 스핀 확장 — hover 카드 / 시어터 / 밴드 / 404 */
[data-spin-theater] { will-change: transform, opacity; }
.product__img { position: relative; }
.spin-hover-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity .35s; pointer-events: none;
  background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%);
}
.product__img.spin-hovering .spin-hover-canvas { opacity: 1; }
.spinband {
  display: flex; justify-content: center; gap: clamp(1rem, 4vw, 3rem);
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) 2.5rem;
}
.spinband [data-spin] { width: clamp(120px, 18vw, 210px); aspect-ratio: 1/1; }
.story-float {
  width: clamp(110px, 14vw, 170px); aspect-ratio: 1/1;
  margin: clamp(2rem, 6vh, 4rem) auto;
}
.err-spin { width: clamp(160px, 30vw, 260px); aspect-ratio: 1/1; margin: 0 auto 1.6rem; transform: rotate(180deg); }

/* buy CTA — 텍스트+병 한 덩어리 (덩그러니 방지) */
.buy--duo {
  display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 9vh, 7rem) var(--pad);
  gap: clamp(1.5rem, 4vw, 4rem);
}
.buy--duo .buy__inner { text-align: left; padding: 0; }
.buy__spin { width: 100%; max-width: 420px; aspect-ratio: 1/1; position: relative; justify-self: center; }
@media (max-width: 900px) {
  .buy--duo { grid-template-columns: 1fr; text-align: center; }
  .buy--duo .buy__inner { text-align: center; }
  .buy__spin { max-width: 280px; }
}

/* ---- SCENT STORY — 나선 파티클 스크롤 씬 ---- */
#scent-story { height: 420vh; position: relative; background: #fff; }
.scent-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
#scene3d-root { position: absolute; inset: 0; }
.scent-copy {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  font-size: clamp(1.3rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); opacity: 0; white-space: nowrap; pointer-events: none;
}
.scent-copy--last { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3rem); }
.scent-bottle {
  position: absolute; left: 50%; bottom: 6svh; transform: translateX(-50%);
  width: clamp(220px, 30vw, 380px); aspect-ratio: 1/1; opacity: 0; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { #scent-story { display: none; } }
/* scent-story 다크 구간 — 배경·카피 색은 JS가 같은 진행도로 연속 보간 (스텝 전환 금지) */

/* 4 Scents 스크롤 핀 — 구간 동안 카드 병 회전 */
.lineup-pin { height: 280vh; position: relative; }
.lineup-pin .lineup { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.lineup-pin .spin-hover-canvas { opacity: 1; } /* 핀 구간에선 스핀 캔버스 상시 표시 */
@media (prefers-reduced-motion: reduce) { .lineup-pin { height: auto; } }

/* ---- 오버사이즈 타이포 밴드 (HAL 문법 — 스크롤 수평 흐름) ---- */
.typo-band {
  overflow: hidden; white-space: nowrap;
  padding: clamp(3rem, 9vh, 7rem) 0 clamp(2rem, 5vh, 4rem);
  background: #fff;
}
.typo-band__word {
  display: inline-block; will-change: transform;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(90px, 17vw, 240px); line-height: 0.9; letter-spacing: -0.01em;
  color: var(--ink);
}
.typo-band__word--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  text-stroke: 1.5px var(--ink);
}

/* ---- 섹션 리듬 — 다크 블록 라운드 마스크 (HAL 리듬) ---- */
.film {
  border-radius: clamp(22px, 3vw, 44px);
  max-width: calc(100% - clamp(16px, 3vw, 48px));
  margin: 0 auto clamp(3rem, 8vh, 6rem);
}
#scent-story .scent-sticky { border-radius: 0; }
#scent-story { margin-bottom: clamp(2rem, 6vh, 5rem); }
.buy--duo {
  background: var(--bg-soft);
  border-radius: clamp(22px, 3vw, 44px);
  max-width: min(var(--maxw), calc(100% - clamp(16px, 3vw, 48px)));
  margin-bottom: clamp(3rem, 8vh, 6rem);
}
/* 듀얼 타이포 레이어 — 깊이감 (HAL) */
.typo-band--dual { position: relative; }
.typo-band--dual .typo-band__layer { display: inline-block; }
.typo-band--dual .typo-band__layer--front {
  position: absolute; left: 0; top: calc(clamp(3rem, 9vh, 7rem) + 0.06em);
  color: var(--ink); opacity: 0.94;
}
.typo-band--dual .typo-band__word--outline { opacity: 0.5; }
.film__bg video {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(0.92) brightness(1.05);
}
@media (prefers-reduced-motion: reduce) { .film__bg video { display: none; } }

/* 앰비언트 인터랙티브 입자 (antigravity 문법) */
[data-ambient] { position: relative; }
.ambient-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
[data-ambient] > *:not(.ambient-canvas) { position: relative; z-index: 1; }
.pdhero__bg video {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(0.92) brightness(1.05);
}
@media (prefers-reduced-motion: reduce) { .pdhero__bg video { display: none; } }

/* ---- 리뷰 + 주문취소 ---- */
.pdrev__item { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.pdrev__item header { display: flex; gap: 12px; align-items: baseline; font-size: 0.82rem; }
.pdrev__stars { color: var(--ink); letter-spacing: 2px; }
.pdrev__author { font-weight: 600; }
.pdrev__date { color: var(--ink-mute); }
.pdrev__body { margin-top: 0.5rem; font-size: 0.95rem; line-height: 1.8; white-space: pre-wrap; }
.pdrev__write { display: grid; gap: 10px; margin-top: 1.4rem; max-width: 560px; }
.pdrev__rating { width: 140px; padding: 8px 10px; border: 1px solid var(--line); font-size: 0.9rem; }
.pdrev__text { padding: 12px; border: 1px solid var(--line); font-family: inherit; font-size: 0.95rem; resize: vertical; }
.pdrev__submit { justify-self: start; }
.pdrev__msg { font-size: 0.85rem; color: var(--ink-mute); min-height: 1.2em; }
.order__cancel {
  margin-top: 0.8rem; padding: 9px 18px; font-size: 0.8rem; letter-spacing: 0.05em;
  background: #fff; border: 1px solid var(--ink); cursor: pointer;
}
.order__cancel:hover { background: var(--ink); color: #fff; }
.order__status.st-cancelled { color: var(--ink-mute); text-decoration: line-through; }

/* ---- 법정 표기 + 약관 페이지 ---- */
.foot__biz { margin: 1.6rem 0 0.4rem; font-size: 0.72rem; line-height: 1.9; color: var(--ink-mute); }
.foot__biz a { color: inherit; text-decoration: underline; }
.legal { max-width: 760px; margin: 0 auto; padding: 120px 24px 80px; }
.legal__title { font-size: 1.9rem; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.legal__updated { font-size: 0.8rem; color: var(--ink-mute); margin-bottom: 2.4rem; }
.legal section { margin-bottom: 2rem; }
.legal h2 { font-size: 1.02rem; margin-bottom: 0.6rem; }
.legal p { font-size: 0.92rem; line-height: 1.95; color: var(--ink-soft, #333); }
.legal a { text-decoration: underline; }

/* ---- ARCHIVE 드래그 그리드 월 ---- */
.archive-body { overflow: hidden; height: 100vh; background: #f4f2ee; }
.wall { position: fixed; inset: 0; cursor: grab; touch-action: none; overflow: hidden; user-select: none; -webkit-user-select: none; }
.wall--grab { cursor: grabbing; }
.wall__plane { position: absolute; top: 0; left: 0; will-change: transform; }
.wall--static { position: static; height: auto; overflow: auto; padding: 90px 20px; }
.wall--static .wt { position: relative !important; display: inline-block; margin: 7px; left: auto !important; top: auto !important; }
.wt { position: absolute; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; border: 1px solid #e3e0da; text-decoration: none; color: var(--ink); }
.wt--img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(0.95); transition: filter 0.35s, transform 0.35s; pointer-events: none; }
.wt--img:hover img { filter: grayscale(0); transform: scale(1.04); }
.wt__label { position: absolute; left: 12px; bottom: 10px; font-size: 0.72rem; letter-spacing: 0.08em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.3s; }
.wt--img:hover .wt__label { opacity: 1; }
.wt--teaser { flex-direction: column; gap: 4px; background: #171717; color: #f4f2ee; }
.wt__tname { font-size: 1.05rem; letter-spacing: 0.06em; }
.wt__ten { font-size: 0.7rem; color: #9a968e; letter-spacing: 0.14em; text-transform: uppercase; }
.wt__soon { margin-top: 10px; font-size: 0.58rem; letter-spacing: 0.3em; color: #6b675f; }
.wt--typo { background: transparent; border: none; }
.wt--typo span { font-family: "Playfair Display", "Nanum Myeongjo", serif; font-style: italic; font-size: 2.6rem; letter-spacing: 0.02em; color: var(--ink); white-space: nowrap; }
.wt--nav { background: var(--ink); color: #fff; font-size: 0.95rem; letter-spacing: 0.18em; transition: background 0.3s; }
.wt--nav:hover { background: #444; }
.wall__bar { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 18px 26px; pointer-events: none; mix-blend-mode: difference; color: #fff; }
.wall__bar a { pointer-events: auto; color: inherit; text-decoration: none; font-size: 0.85rem; letter-spacing: 0.14em; }
.wall__hint { font-size: 0.68rem; letter-spacing: 0.34em; opacity: 0.75; }
@media (max-width: 700px) { .wt--typo span { font-size: 1.7rem; } .wall__hint { display: none; } }

/* ---- BK01 정본 로고 ---- */
.foot__mark { display: block; margin: 0 auto 0.9rem; opacity: 0.9; }
.bk01sec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1080px; margin: 0 auto; padding: clamp(3rem, 8vh, 6rem) var(--pad); }
.bk01sec__img { margin: 0; overflow: hidden; }
.bk01sec__img img { width: 100%; height: auto; display: block; }
.bk01sec__mark { margin-bottom: 1.4rem; }
.bk01sec__slogan { font-family: "Playfair Display", "Nanum Myeongjo", serif; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 500; letter-spacing: 0.01em; }
.bk01sec__sub { margin-top: 1rem; font-size: 0.95rem; line-height: 1.9; color: var(--ink-mute); }
@media (max-width: 700px) { .bk01sec { grid-template-columns: 1fr; } }

/* ---- 히어로 3D 병 ---- */
.hero__img--bottle3d { position: relative; cursor: grab; touch-action: pan-y; }
.hero__img--bottle3d:active { cursor: grabbing; }
.hero__img--bottle3d .hero__still { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.8s; }
#hero-bottle-root { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s; }
.hero__img--bottle3d.bottle3d-on .hero__still { opacity: 0; }
.hero__img--bottle3d.bottle3d-on #hero-bottle-root { opacity: 1; }
