/* ============================================================
   WED-SHOP-136 · 두근상점 · Y2K 키치
   라일락 지면 + 마젠타퍼플(#AA28B8) + 시안 악센트. 완전 둥근 모서리.
   ★ 그라디언트 타이포(background-clip:text)의 스톱은 전부 --surface 위에서
     4.5:1 을 넘는 색만 쓴다 (가장 밝은 스톱 #AA28B8 = 5.42:1).
   ============================================================ */

/* 암묵 그리드 트랙이 max-content 로 부풀어 페이지를 밀어내는 것을 원천 차단 */
* { grid-auto-columns: minmax(0, 1fr); }
/* 그리드/플렉스 자식이 내재 폭을 주장하지 못하게 한다 (중간 래퍼까지 커버) */
:where([style*="grid"], .grid, [class*="__grid"], [class*="__inner"], [class*="__list"],
       .hero, .cats, .prods, .promo, .revs, .pdp, .cart, .guides, .foot__inner) > * { min-width: 0; }

:root {
  --brand:       #aa28b8;
  --brand-ink:   #ffffff;
  --accent:      #16cbe0;
  --accent-ink:  #0a2b30;
  --surface:     #fef8ff;
  --surface-alt: #f6e9fb;
  --font-display: var(--font-sans);
  --r: var(--r-xl);
}

body { background: var(--surface); }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ── 공통 ──────────────────────────────────────────────────── */

.kicker { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-widest); text-transform: uppercase; color: var(--brand); }
.label { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-widest); text-transform: uppercase; color: var(--ink-3); }
.label--alt { color: var(--ink-2); }
.h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.04; font-weight: var(--fw-bold); }
.h3 { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.body-lg { font-size: var(--fs-md); color: var(--ink-2); max-width: 46ch; }
.body-sm { font-size: var(--fs-sm); color: var(--ink-2); }
.sec-head { display: grid; gap: var(--sp-4); align-content: start; justify-items: start; }

/* 그라디언트 타이포 — 두 스톱 모두 지면 위 4.5:1 이상 (5.42 / 6.73) */
.grad {
  background-image: linear-gradient(96deg, #aa28b8 0%, #6c2bd9 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #aa28b8;
}

.star { display: inline-block; width: 1em; height: 1em; background: currentColor; vertical-align: -.12em;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ── 버튼 ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-6);
  font-size: var(--fs-sm); font-weight: var(--fw-bold);
  border-radius: var(--r-full);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--solid { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 0 #6c2bd9; }
.btn--solid:hover { box-shadow: 0 8px 0 #6c2bd9; }
.btn--cyan { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 0 #0d8fa0; }
.btn--cyan:hover { box-shadow: 0 8px 0 #0d8fa0; }
.btn--line { border: 2px solid var(--brand); color: var(--brand); background: var(--surface); }
.btn--line:hover { background: var(--brand); color: var(--brand-ink); }
.btn--sm { padding: var(--sp-3) var(--sp-5); font-size: var(--fs-xs); }
.btn--wide { width: 100%; }

/* ── 헤더 ── 2줄 접힘 + 메뉴 가로 스크롤 ─────────────────── */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 2px solid var(--brand);
}
.nav__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding-block: var(--sp-3);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.nav__logo { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-md); font-weight: var(--fw-black); letter-spacing: var(--ls-tight); color: var(--brand); }
.nav__logo .star { color: var(--accent); }
.nav__menu { display: flex; order: 3; width: 100%; gap: var(--sp-5); padding-top: var(--sp-3); border-top: 1px dashed var(--line-strong); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav__menu::-webkit-scrollbar { display: none; }
.nav__menu a { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--ink-2); white-space: nowrap; }
.nav__menu a:hover { color: var(--brand); }
.nav__menu a[aria-current="page"] { color: var(--brand); }
@media (min-width: 1024px) {
  .nav__inner { flex-wrap: nowrap; padding-block: var(--sp-4); }
  .nav__menu { order: 0; width: auto; padding-top: 0; border-top: 0; overflow: visible; margin-left: var(--sp-7); }
}

/* ── 히어로 ────────────────────────────────────────────────── */

.hero {
  --header-h: 106px;
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 26svh auto;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -10% -10% auto -10%; height: 70%; z-index: 0;
  /* ★ 이 위에 --brand 소형 텍스트(kicker·chips)가 얹힌다. 최악값 역산으로 알파를 잡았다
     (합성 #E5E5F6 · brand 4.60:1 · ink-2 6.65:1). */
  background: radial-gradient(ellipse 44% 50% at 16% 22%, rgba(170, 40, 184, .07), transparent 62%),
              radial-gradient(ellipse 40% 46% at 86% 12%, rgba(22, 203, 224, .08), transparent 60%);
  pointer-events: none;
}
.hero__media { grid-area: 1 / 1 / 2 / 2; position: relative; z-index: 1; overflow: hidden; }
.hero__media .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.hero__media--wide { display: none; }

.hero__text {
  grid-area: 2 / 1 / 3 / 2; position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; gap: var(--sp-4);
  padding-inline: var(--gutter);
  padding-block: var(--sp-5) var(--sp-6);
}
.hero__title { font-size: var(--fs-4xl); font-weight: var(--fw-semibold); line-height: 1.0; letter-spacing: var(--ls-tighter); }
.hero__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 32ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.hero__chips li {
  padding: var(--sp-2) var(--sp-4);
  border: 2px solid var(--brand); border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--brand);
  background: var(--surface);
}
.hero__sticker {
  position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--header-h) + var(--sp-4));
  display: grid; place-content: center; text-align: center;
  width: 88px; height: 88px; border-radius: var(--r-full);
  background: var(--accent); color: var(--accent-ink);
  font-size: var(--fs-xs); font-weight: var(--fw-black); line-height: 1.3;
  transform: rotate(-9deg);
  box-shadow: 0 8px 0 #0d8fa0;
}

@media (min-width: 1024px) {
  .hero {
    --header-h: 0px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
    grid-template-rows: minmax(0, 1fr);
    padding-top: 0;
  }
  .hero__text {
    grid-area: 1 / 1 / 2 / 2; gap: var(--sp-5);
    padding-block: var(--sp-9) var(--sp-7);
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-right: var(--sp-8);
  }
  .hero__media { grid-area: 1 / 2 / 2 / 3; display: none; }
  .hero__media--wide { display: block; }
  .hero__sticker { top: auto; bottom: var(--sp-8); right: 48%; width: 112px; height: 112px; font-size: var(--fs-sm); }
}

/* ── 티커 ──────────────────────────────────────────────────── */

.ticker { overflow: hidden; background: var(--brand); color: var(--brand-ink); padding-block: var(--sp-3); }
.ticker__track { display: flex; align-items: center; gap: var(--sp-5); width: max-content; animation: ticker 30s linear infinite; }
.ticker__track span { font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); white-space: nowrap; }
.ticker__track i { color: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── 카테고리 ──────────────────────────────────────────────── */

.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.cat {
  display: grid; gap: var(--sp-3); align-content: start;
  padding: var(--sp-5);
  border-radius: var(--r);
  background: var(--surface-alt);
  border: 2px solid transparent;
  transition: border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.cat:hover { border-color: var(--brand); transform: translateY(-4px); }
.cat__no { font-size: var(--fs-xs); font-weight: var(--fw-black); color: var(--brand); letter-spacing: var(--ls-widest); }
.cat h3 { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.cat p { font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 768px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── 상품 그리드 ───────────────────────────────────────────── */

.prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.prod { display: grid; gap: var(--sp-3); align-content: start; }
.prod__media { position: relative; border-radius: var(--r); overflow: hidden; }
.prod__media .img-slot { border-radius: var(--r); }
.prod__flag {
  position: absolute; z-index: 3; left: var(--sp-3); top: var(--sp-3);
  padding: var(--sp-1) var(--sp-3); border-radius: var(--r-full);
  background: var(--brand); color: var(--brand-ink);
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
}
.prod__flag--cyan { background: var(--accent); color: var(--accent-ink); }
.prod__cat { font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--brand); letter-spacing: var(--ls-wide); }
.prod h3 { font-size: var(--fs-md); letter-spacing: var(--ls-tight); }
.prod__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2); }
.prod__price b { font-size: var(--fs-lg); font-weight: var(--fw-black); letter-spacing: var(--ls-tight); }
.prod__price s { font-size: var(--fs-sm); color: var(--ink-3); }
.prod__price em { font-style: normal; font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--brand); }
.prod__meta { font-size: var(--fs-xs); color: var(--ink-2); }
@media (min-width: 768px) { .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); } }
@media (min-width: 1280px) { .prods--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 반복 이미지 변주 */
.prod:nth-child(4n+2) .img-slot > img { filter: hue-rotate(-14deg) saturate(1.08); }
.prod:nth-child(4n+3) .img-slot > img { filter: hue-rotate(12deg) saturate(.94); }
.prod:nth-child(4n+4) .img-slot > img { filter: hue-rotate(-6deg) brightness(1.04); }

/* ── 필터 바 ───────────────────────────────────────────────── */

.filters { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; margin-bottom: var(--sp-6); }
.chip {
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-full);
  border: 2px solid var(--line-strong); background: var(--surface);
  font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--ink-2); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.sortbar { margin-left: auto; display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--ink-2); }
.sortbar select { padding: var(--sp-2) var(--sp-4); border: 2px solid var(--line-strong); border-radius: var(--r-full); background: var(--surface); font-size: var(--fs-sm); }

/* ── 기획전 배너 ───────────────────────────────────────────── */

.promo { position: relative; border-radius: var(--r); overflow: hidden; display: grid; }
.promo__media { grid-area: 1 / 1; }
.promo__media .img-slot { border-radius: 0; aspect-ratio: 3 / 4; }
.promo__body {
  grid-area: 1 / 1; position: relative; z-index: 2; align-self: end;
  display: grid; gap: var(--sp-4); justify-items: start;
  /* ★ 사진 위에 얹히는 면이다. 그라디언트로 깔면 상단 텍스트가 12~30% 지면 위에 놓여
     최악 1.5:1 까지 떨어진다. SPEC 8 해법 C(불투명 카드)로 간다 — 96% 면 위 brand 4.97:1. */
  margin: var(--sp-4); padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--surface) 96%, transparent);
  backdrop-filter: blur(8px);
}
.promo__body h2 { font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tighter); line-height: 1.06; }
.promo__body p { font-size: var(--fs-sm); color: var(--ink-2); max-width: 42ch; }
@media (min-width: 768px) {
  .promo__media .img-slot { aspect-ratio: 21 / 9; }
  .promo__body {
    align-self: center; justify-self: start; max-width: 560px;
    margin: var(--sp-6); padding: var(--sp-6); border-radius: var(--r);
    background: color-mix(in oklab, var(--surface) 96%, transparent);
  }
}

/* ── 후기 ──────────────────────────────────────────────────── */

.revs { display: grid; gap: var(--sp-4); }
.rev {
  display: grid; gap: var(--sp-3); align-content: start;
  padding: var(--sp-5); border-radius: var(--r);
  background: var(--surface); border: 2px dashed var(--line-strong);
}
.rev__stars { color: var(--brand); font-size: var(--fs-sm); letter-spacing: 2px; }
.rev p { font-size: var(--fs-sm); color: var(--ink-2); }
.rev footer { font-size: var(--fs-xs); color: var(--ink-3); }
.rev footer b { color: var(--ink); }
@media (min-width: 768px) { .revs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); } }

/* ── 페이지 헤더 ───────────────────────────────────────────── */

.phead { padding-top: calc(var(--sp-10) + var(--sp-6)); padding-bottom: var(--sp-7); }
.phead__inner { display: grid; gap: var(--sp-4); }
.phead h1 { font-size: var(--fs-3xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tighter); line-height: 1.04; }
.crumb { font-size: var(--fs-xs); color: var(--ink-3); }
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--brand); }
@media (min-width: 1024px) {
  .phead { padding-top: calc(var(--sp-11) + var(--sp-1)); }
  .phead__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: var(--sp-8); }
}

/* ── 상품 상세 (product.html) ────────────────────────────── */

.pdp { display: grid; gap: var(--sp-7); }
.pdp__gallery { display: grid; gap: var(--sp-3); }
.pdp__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
.pdp__thumbs .img-slot { border-radius: var(--r-lg); }
.pdp__buy { display: grid; gap: var(--sp-4); align-content: start; }
.pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-3); }
.pdp__price b { font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tighter); }
.pdp__price s { color: var(--ink-3); font-size: var(--fs-md); }
.pdp__price em { font-style: normal; color: var(--brand); font-weight: var(--fw-bold); }
.opt { display: grid; gap: var(--sp-2); }
.opt > span { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); }
.opt select, .opt input {
  width: 100%; padding: var(--sp-4);
  border: 2px solid var(--line-strong); border-radius: var(--r-full);
  background: var(--surface); font-size: var(--fs-sm);
}
.swatches { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.swatch {
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-full);
  border: 2px solid var(--line-strong); background: var(--surface);
  font-size: var(--fs-xs); font-weight: var(--fw-bold); cursor: pointer;
}
.swatch[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.pdp__sum { display: grid; gap: var(--sp-2); padding: var(--sp-5); border-radius: var(--r); background: var(--surface-alt); }
.pdp__sum div { display: flex; justify-content: space-between; gap: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-2); }
.pdp__sum div.is-total { font-size: var(--fs-md); font-weight: var(--fw-black); color: var(--ink); padding-top: var(--sp-3); border-top: 1px solid var(--line-strong); }
@media (min-width: 1024px) { .pdp { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--sp-8); align-items: start; } }

.spec-tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 480px; }
.spec-tbl th, .spec-tbl td { padding: var(--sp-4); text-align: left; border-bottom: 1px solid var(--line); }
.spec-tbl th { width: 30%; color: var(--ink-2); font-weight: var(--fw-bold); background: var(--surface-alt); }
.scroll-x { overflow-x: auto; min-width: 0; -webkit-overflow-scrolling: touch; }

/* ── 장바구니 (cart.html) ────────────────────────────────── */

.cart { display: grid; gap: var(--sp-6); }
.cart-tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 620px; }
.cart-tbl th, .cart-tbl td { padding: var(--sp-4); text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-tbl thead th { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--brand); }
.cart-tbl .thumb { width: 72px; }
.cart-tbl .thumb .img-slot { border-radius: var(--r-lg); }
.cart-tbl td b { display: block; }
.cart-tbl td span { color: var(--ink-2); font-size: var(--fs-xs); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line-strong); border-radius: var(--r-full); overflow: hidden; }
.qty button { width: 32px; height: 32px; font-weight: var(--fw-black); color: var(--brand); }
.qty output { min-width: 2.2em; text-align: center; font-weight: var(--fw-bold); font-size: var(--fs-sm); }
.summary { display: grid; gap: var(--sp-3); padding: var(--sp-6); border-radius: var(--r); background: var(--surface-alt); align-content: start; }
.summary div { display: flex; justify-content: space-between; gap: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-2); }
.summary div.is-total { font-size: var(--fs-lg); font-weight: var(--fw-black); color: var(--ink); padding-top: var(--sp-3); border-top: 2px solid var(--line-strong); }
@media (min-width: 1024px) { .cart { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: var(--sp-7); align-items: start; } }

/* ── 안내 (guide.html) ───────────────────────────────────── */

.guides { display: grid; gap: var(--sp-5); }
.guide { display: grid; gap: var(--sp-3); align-content: start; padding: var(--sp-6); border-radius: var(--r); background: var(--surface-alt); }
.guide h3 { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.guide ul { display: grid; gap: var(--sp-2); }
.guide li { position: relative; padding-left: var(--sp-5); font-size: var(--fs-sm); color: var(--ink-2); }
.guide li::before { content: ""; position: absolute; left: 0; top: .58em; width: 8px; height: 8px; border-radius: var(--r-full); background: var(--brand); }
@media (min-width: 768px) { .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); } }

.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); padding-block: var(--sp-5); font-size: var(--fs-md); font-weight: var(--fw-bold); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brand); }
.qa summary::after { content: ""; width: 12px; height: 12px; flex: none; background: linear-gradient(var(--brand), var(--brand)) center / 100% 2px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2px 100% no-repeat; transition: transform var(--dur) var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding-bottom: var(--sp-5); font-size: var(--fs-sm); color: var(--ink-2); max-width: 64ch; }

/* ── CTA · 뉴스레터 ────────────────────────────────────────── */

.cta { background: var(--brand); color: var(--brand-ink); padding-block: var(--section-y); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 120%;
  /* 시안이 짙어질수록 흰 글자 대비가 떨어진다. 최악 합성 #894CC1 에서 흰 글자 5.43:1 */
  background: radial-gradient(ellipse 50% 50% at 70% 30%, rgba(22, 203, 224, .22), transparent 62%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; display: grid; gap: var(--sp-5); justify-items: start; }
.cta__title { font-size: var(--fs-3xl); font-weight: var(--fw-semibold); letter-spacing: var(--ls-tighter); line-height: 1.04; }
.cta__lead { font-size: var(--fs-md); color: color-mix(in oklab, var(--brand-ink) 92%, transparent); max-width: 44ch; }
.cta .label { color: color-mix(in oklab, var(--brand-ink) 92%, transparent); }
.cta__form { display: flex; flex-wrap: wrap; gap: var(--sp-3); width: 100%; max-width: 520px; }
.cta__form input {
  flex: 1 1 220px; min-width: 0; padding: var(--sp-4) var(--sp-5);
  border: 2px solid color-mix(in oklab, var(--brand-ink) 46%, transparent);
  border-radius: var(--r-full); background: transparent; color: var(--brand-ink); font-size: var(--fs-sm);
}
.cta__form input::placeholder { color: color-mix(in oklab, var(--brand-ink) 62%, transparent); }
.cta :focus-visible { outline-color: var(--brand-ink); }
.cta__note { font-size: var(--fs-xs); color: color-mix(in oklab, var(--brand-ink) 92%, transparent); }
@media (min-width: 768px) { .cta__title { font-size: var(--fs-4xl); } }

/* ── 푸터 ──────────────────────────────────────────────────── */

.foot { padding-block: var(--sp-8) var(--sp-6); background: var(--surface-alt); }
.foot__inner { display: grid; gap: var(--sp-5); }
.foot__brand { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-md); font-weight: var(--fw-black); color: var(--brand); }
.foot__brand .star { color: var(--accent); }
.foot__addr { font-style: normal; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; }
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.foot__nav a { font-size: var(--fs-sm); color: var(--ink-2); }
.foot__nav a:hover { color: var(--brand); }
.foot__copy { grid-column: 1 / -1; padding-top: var(--sp-5); border-top: 1px solid var(--line-strong); font-size: var(--fs-xs); color: var(--ink-2); }
@media (min-width: 768px) { .foot__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-7); } }


/* ── ★SPEC v1.8 · 유틸 색상 재확정 ──────────────────────────
   `.run p` 처럼 섹션 스코프 요소 선택자는 특이도 (0,1,1) 이라 색 유틸 (0,1,0) 을
   조용히 덮어쓴다. 레이아웃은 멀쩡하고 색만 새기 때문에 육안으로 안 잡힌다.
   파일 끝에서 요소 한정 선택자로 다시 못박는다 (동률이면 나중 규칙이 이긴다). */
p.kicker { color: var(--brand); }
p.label { color: var(--ink-3); }
p.label--alt { color: var(--ink-2); }
p.cat__no { color: var(--brand); }
p.rev__stars { color: var(--brand); }
p.prod__cat { color: var(--brand); }
.cta p.label { color: color-mix(in oklab, var(--brand-ink) 92%, transparent); }

/* ============================================================
   ★ SPEC 4-C — 브랜드 마크 · 아이콘 · 인터랙션 보강
   Y2K 키치. 반응은 통통 튀게, 다만 이동량은 4px 안으로 묶는다.
   ============================================================ */

/* base.css 의 `svg { display:block }` 때문에 인라인 아이콘이 제 줄로 떨어진다.
   inline-block 으로 되돌려야 글자 옆에 붙는다. */
.ico { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
:is(dt, dd, h2, h3, p, li, span, b) > .ico:first-child { margin-inline-end: var(--sp-2); }
.prod__flag > .ico:first-child { margin-inline-end: var(--sp-1); }

/* ── 브랜드 마크 — 상점 차양 + 두근거리는 심박 파형 ─────────── */
.nav__mark {
  width: 26px; height: 26px; flex: none; align-self: center;
  color: var(--brand); transform: none;
  transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease);
}
.nav__logo:hover .nav__mark,
.nav__logo:focus-visible .nav__mark { transform: scale(1.12); }
.foot__brand .nav__mark { width: 22px; height: 22px; }
.foot__brand:hover .nav__mark { transform: scale(1.12); }

/* ── 아이콘 자리 ────────────────────────────────────────────── */
.guide h3 .ico { color: var(--brand); }
.prod__flag .ico { color: currentColor; }
.prod__flag { display: inline-flex; align-items: center; }
.foot__addr { display: grid; gap: var(--sp-3); line-height: 1.6; }
.foot__addr span { display: flex; align-items: flex-start; transition: color var(--dur) var(--ease); }
.foot__addr .ico { color: var(--brand); font-size: var(--fs-lg); margin-top: .05em; }
.foot__addr span:hover { color: var(--ink); }

/* ── 버튼 화살표 ────────────────────────────────────────────── */
.btn__arrow { font-size: 1.25em; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ── 링크 밑줄 ──────────────────────────────────────────────── */
.nav__menu a, .foot__nav a, .crumb a { position: relative; }
.nav__menu a::after, .foot__nav a::after, .crumb a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--brand); border-radius: var(--r-full);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__menu a:hover::after, .foot__nav a:hover::after, .crumb a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── 상품 카드: 사진이 당겨지고 가격이 튄다 ─────────────────── */
.prod__media { overflow: hidden; }
.prod__media img { transition: transform 800ms var(--ease-out), filter var(--dur-slow) var(--ease); }
.prod:hover .prod__media img { transform: scale(1.07); filter: saturate(1.1); }
.prod { transition: transform var(--dur) var(--ease-out); }
.prod:hover { transform: translateY(-4px); }
.prod__price { transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.prod:hover .prod__price { color: var(--brand); transform: scale(1.04); }
.prod__cat { transition: letter-spacing var(--dur-slow) var(--ease); }
.prod:hover .prod__cat { letter-spacing: var(--ls-wide); }
.prod__flag { transition: transform var(--dur) var(--ease-out); }
.prod:hover .prod__flag { scale: 1.08; }

/* ── 카테고리 칩 ────────────────────────────────────────────── */
.chip { transition: transform var(--dur-fast) var(--ease-out), background var(--dur) var(--ease), color var(--dur) var(--ease); }
.chip:hover { transform: translateY(-3px); }
.opt { transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.opt:hover { border-color: var(--brand); }
.qty button { transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur-fast) var(--ease-out); }
.qty button:hover { transform: scale(1.12); }

/* ── 기획전 배너 ────────────────────────────────────────────── */
.promo__media { overflow: hidden; }
.promo__media img { transition: transform 1000ms var(--ease-out); }
.promo:hover .promo__media img { transform: scale(1.05); }
.promo__body h2 { transition: transform var(--dur) var(--ease-out); }
.promo:hover .promo__body h2 { transform: translateX(4px); }

/* ── 주문 안내 카드 ─────────────────────────────────────────── */
.guide { transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease); }
.guide:hover { transform: translateY(-4px); border-color: var(--brand); }
.guide h3 .ico { transition: transform var(--dur) var(--ease-out); }
.guide:hover h3 .ico { transform: rotate(-10deg) scale(1.1); }
.guide li { transition: color var(--dur) var(--ease); }
.guide li:hover { color: var(--ink); }

/* ── 후기 · 티커 ────────────────────────────────────────────── */
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { transition: color var(--dur) var(--ease); }
.ticker:hover .ticker__track span { color: var(--brand); }

/* ── FAQ ────────────────────────────────────────────────────── */
@keyframes qaFlow { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.qa[open] p { animation: qaFlow var(--dur) var(--ease-out) both; }
.qa summary::after { transition: transform var(--dur) var(--ease-out); }
.qa:hover summary::after { transform: rotate(90deg); }

/* ── 상점이 두근거린다 (로고 hover) ─────────────────────────── */
@keyframes dugeun {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.2); }
  55%  { transform: scale(1.04); }
  80%  { transform: scale(1.16); }
  100% { transform: scale(1.12); }
}
.nav__logo:hover .nav__mark { animation: dugeun 720ms var(--ease-out) both; }

/* ── 한정 플래그가 살짝 흔들린다 ────────────────────────────── */
@keyframes flagWobble {
  0%, 100% { rotate: -2deg; }
  50%      { rotate: 2deg; }
}
.prod__flag { animation: flagWobble 4.2s var(--ease) infinite; }
.prod:nth-child(2) .prod__flag { animation-delay: 400ms; }
.prod:nth-child(3) .prod__flag { animation-delay: 800ms; }

/* ── 폼 ─────────────────────────────────────────────────────── */
.field input, .field select, .field textarea { transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand); }

/* ── 형제 계단식 지연 ───────────────────────────────────────── */
html.js .prods .reveal:nth-child(2) { transition-delay: 70ms; }
html.js .prods .reveal:nth-child(3) { transition-delay: 140ms; }
html.js .prods .reveal:nth-child(4) { transition-delay: 210ms; }
html.js .prods .reveal:nth-child(5) { transition-delay: 280ms; }
html.js .prods .reveal:nth-child(6) { transition-delay: 350ms; }
html.js .cats .reveal:nth-child(2) { transition-delay: 70ms; }
html.js .cats .reveal:nth-child(3) { transition-delay: 140ms; }
html.js .cats .reveal:nth-child(4) { transition-delay: 210ms; }
html.js .guides .reveal:nth-child(2) { transition-delay: 80ms; }
html.js .guides .reveal:nth-child(3) { transition-delay: 160ms; }
html.js .guides .reveal:nth-child(4) { transition-delay: 240ms; }
html.js .revs .reveal:nth-child(2) { transition-delay: 80ms; }
html.js .revs .reveal:nth-child(3) { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .nav__logo:hover .nav__mark, .prod__flag, .qa[open] p { animation: none; }
  .nav__logo:hover .nav__mark, .foot__brand:hover .nav__mark,
  .prod:hover, .prod:hover .prod__media img, .prod:hover .prod__price,
  .chip:hover, .qty button:hover,
  .promo:hover .promo__media img, .promo:hover .promo__body h2,
  .guide:hover, .guide:hover h3 .ico,
  .btn:hover .btn__arrow { transform: none; }
}


/* ===== 획일성 제거 — Y2K 무드 어휘 =====================================
   160작품이 레퍼런스의 밑줄 draw·카드 리프트·대문자 킥커를 그대로 복사해
   같은 사이트 리스킨으로 보였다. 반응 방식을 무드에 맞게 갈아끼운다.
   ==================================================================== */
/* 세로 카덴스를 작품마다 다르게 — 전부 같은 --section-y 를 쓰는 게 구조적 tell 이었다 */
:root { --section-y: clamp(3.91rem, 2.4276rem + 6.3328vw, 7.81rem); }

/* Y2K — 배경이 좌에서 우로 쓸고 지나간다. background-size 라 레이아웃에 영향이 없다. */
.nav__menu a::after, .foot__nav a::after, .crumb a::after { display: none !important; }
.nav__menu a, .foot__nav a, .crumb a {
  background-image: linear-gradient(var(--brand), var(--brand));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: background-size var(--dur) var(--ease-out), color var(--dur) var(--ease);
}
.nav__menu a, .foot__nav a, .crumb a:hover { background-size: 100% 100%; color: var(--brand-ink); }

/* webit-touch */
@media (max-width: 767px) {
  .nav__inner { flex-wrap: wrap; overflow: visible; }
  .hero__actions, .hero__acts { flex-wrap: wrap; }
}
html.tier-premium .btn--solid { transform-origin: center; }
html.tier-premium .kicker { letter-spacing: .22em; }
