/* 템플릿 공통 뼈대 — 동작에 딸린 CSS 만. 생김새는 한 줄도 없다.
 *
 * 여기에 있는 것: 무JS 완성본을 만드는 분기, 접근성 최소선(초점 테두리·44px 터치),
 * 가로 넘침을 막는 장치, 모션 끔 대비, 서랍·토스트의 기계 장치.
 * 여기에 **없어야 하는 것**: 색·활자·간격·배치·그림자·모서리. 그건 벌마다 달라야 한다
 * (원자료 프롬프트가 「섹션 순서·이미지 비율을 다른 벌에서 복제 금지」를 명시한다).
 *
 * 쓰는 법: 벌의 styles.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; }

/* 이미지 드래그가 포인터를 가로채지 않게 — JS 쪽 dragstart 차단과 한 쌍이다(§4-C 7) */
img { -webkit-user-drag: none; user-select: none; }

/* `.frame` 을 span 으로 두면 inline 이라 aspect-ratio 가 무시된다(§4 함정 5) */
.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; }

/* ── 터치 영역 ─────────────────────────────────────────────────────
   검사기가 화면 좌표로 ±22px 을 찍어 44px 을 확인한다. 눈에 보이는 점이 작아도
   **단추 자체를 44×44 로 두고 시각 요소는 ::after 로** 그리면 둘 다 만족한다. */
@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;
  }
}

/* ── 가로 넘침 ─────────────────────────────────────────────────────
   `overflow-x:auto` 상자가 `position:static` 이면 넘친 표가 문서 스크롤 폭을 밀어
   320·390px 에서 페이지 전체가 가로로 밀린다(§4-C 9). `overflow:hidden` 을 얹어도 안 고쳐진다. */
.scroll-x { overflow-x: auto; position: relative; -webkit-overflow-scrolling: touch; }

/* 넘침을 자를 때는 hidden 이 아니라 clip 을 쓴다.
   hidden 은 스크롤 컨테이너를 만들어 조상에 있으면 animation-timeline: view() 가
   얼어붙는다 — 스크롤해도 진행이 0 에서 안 움직이는데 콘솔은 조용하다(§4-C 13). */
.clip { overflow: clip; }

/* ── 무JS 완성본 ───────────────────────────────────────────────────
   JS 가 없으면 접힌 것이 전부 펼쳐지고, 등장 효과는 처음부터 보인다.
   `html.js` 는 kit.js 첫 줄이 붙인다. */
.acc-item .acc-panel { display: block; }          /* 무JS 기본값: 펼침 */
.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; }      /* 무JS: 모든 탭 내용을 이어서 보여 준다 */

.reveal { opacity: 1; transform: none; }           /* 무JS 기본값: 이미 보임 */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

/* JS 로만 동작하는 조작기는 무JS 에서 감춘다 — 「눌러도 반응 없는 단추」를 남기지 않는다 */
.js-only { display: none; }
.js .js-only { display: revert; }

/* ── 모션 끔 ───────────────────────────────────────────────────────
   검사기가 reducedMotion 문맥을 따로 열어 본문이 실제로 보이는지 잰다.
   연출을 끄는 데 그치지 말고 **최종 상태로 고정**해야 한다. */
@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; }
}

/* ── 모바일 서랍 ───────────────────────────────────────────────────
   햄버거는 **모바일 전용**이다(§4-C 11). 데스크톱에 남기면 검사기가 눌러
   서랍이 열리고 그 뒤 클릭을 전부 삼킨다. */
.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; } }

/* ── 토스트 ───────────────────────────────────────────────────────
   `pointer-events:none` 이 없으면 덮개가 아래 단추의 클릭을 삼켜
   전폭 제출 단추가 안 눌린다(§4 함정 2). 지우지 마라. */
.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; }

/* ── 폼 ───────────────────────────────────────────────────────────
   동의 체크박스는 input 을 label **밖에** 두고 형제 선택자로 그린다.
   label 이 input 을 감싸면서 for 까지 걸면 두 번 토글돼 영영 안 켜진다(§4 함정 4). */
.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` 값은 벌마다 정하라 — 이 파일은 규칙만 준다. */
.section { padding-block: calc(var(--section, 96px) / 2); }
.section-lead { padding-top: var(--section, 96px); }
.section-last { padding-bottom: var(--section, 96px); }

/* ══════════════════════════════════════════════════════════════════════
   소리의방 — 이 벌의 생김새. 색·활자는 00-디자인보드.png 에서 받아 적었다.
   Carbon #0B0B0F · Smoke #15161A · Brass #D4AF37 · Deep Violet #6A3DFF · Light #F5F5F7
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --carbon: #0B0B0F;
  --smoke: #15161A;
  --panel: #101116;
  --panel-2: #17181E;
  --brass: #D4AF37;
  --brass-hi: #E9C86A;
  --violet: #6A3DFF;
  --light: #F5F5F7;
  --muted: #9A9AA5;
  --dim: #6E6E78;
  --line: rgba(245, 245, 247, .10);
  --line-2: rgba(245, 245, 247, .20);
  --ok: #63D3A6;
  --warn: #E8B75C;
  --err: #FF8080;
  --section: 104px;
  --r: 14px;
  --r-s: 8px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .55);
}

html { background: var(--carbon); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--carbon);
  color: var(--light);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 300; letter-spacing: -.035em; line-height: 1.26; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
table { border-collapse: collapse; }
:where(input, select, textarea, button) { font: inherit; color: inherit; }

.serif { font-family: "Noto Serif KR", "Pretendard Variable", serif; font-weight: 400; }
.num { font-variant-numeric: tabular-nums; }
.nojs-only { display: revert; }
.js .nojs-only { display: none; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 28px; }
.section { position: relative; }

/* ── 아이콘 ────────────────────────────────────────────────────────── */
.sprite { display: none; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-s { width: 16px; height: 16px; }
.ico-l { width: 26px; height: 26px; stroke-width: 1.3; }

/* ── 공통 부품 ─────────────────────────────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 22px;
}
.eyebrow::after { content: ""; flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, rgba(212, 175, 55, .45), rgba(212, 175, 55, 0)); }
.eyebrow .aside { flex: none; font-size: 12px; letter-spacing: .06em; text-transform: none; color: var(--dim); font-weight: 400; }

.shead { margin-bottom: 36px; }
.shead h2 { font-size: clamp(26px, 3.3vw, 40px); }
.shead h1 { font-size: clamp(30px, 4vw, 48px); }
.shead p { margin-top: 14px; color: var(--muted); font-size: 15.5px; max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-s);
  font-size: 15px; font-weight: 600; letter-spacing: -.02em;
  text-decoration: none; border: 1px solid transparent; background: none; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn-brass { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: #1A1405; border-color: rgba(0, 0, 0, .2); }
.btn-brass:hover { background: linear-gradient(180deg, #F2D783, var(--brass-hi)); }
.btn-line { border-color: rgba(212, 175, 55, .55); color: var(--brass); }
.btn-line:hover { background: rgba(212, 175, 55, .10); }
.btn-ghost { border-color: var(--line-2); color: var(--light); background: rgba(245, 245, 247, .04); }
.btn-ghost:hover { border-color: rgba(245, 245, 247, .38); }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: #7C55FF; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 6px; }
.btn-wide { width: 100%; }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 26px; padding: 0 9px; border-radius: 6px;
  border: 1px solid var(--line-2); color: var(--muted);
  font-size: 12px; font-weight: 500; letter-spacing: 0;
}
.chip .ico { width: 13px; height: 13px; stroke-width: 2; }
.chip-ok { border-color: rgba(212, 175, 55, .55); color: var(--brass); }
.chip-warn { border-color: rgba(232, 183, 92, .5); color: var(--warn); }
.chip-out { border-color: rgba(255, 128, 128, .45); color: var(--err); }
.chip-vio { border-color: rgba(106, 61, 255, .6); color: #B49BFF; background: rgba(106, 61, 255, .12); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.price { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.brandline { font-size: 12.5px; color: var(--dim); letter-spacing: .04em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.frame { display: block; overflow: clip; border-radius: 10px; background: var(--smoke); }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── 머리글 ────────────────────────────────────────────────────────── */
.skip-link { background: var(--brass); color: #1A1405; font-weight: 600; border-radius: 0 0 8px 0; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 11, 15, .72);
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.site-header.is-stuck { background: rgba(11, 11, 15, .94); border-bottom-color: var(--line); backdrop-filter: blur(14px); }
.header-inner {
  width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px;
  height: 70px; display: flex; align-items: center; gap: 26px;
}
.brand {
  font-size: 21px; font-weight: 600; letter-spacing: -.045em; text-decoration: none;
  color: var(--light); white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 26px; margin-right: auto; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: rgba(245, 245, 247, .68); text-decoration: none;
  padding: 6px 0; position: relative; white-space: nowrap;
}
.nav a:hover { color: var(--light); }
.nav a[aria-current] { color: var(--light); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brass); }
.header-tools { display: flex; align-items: center; gap: 4px; }
.header-tools a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px; color: rgba(245, 245, 247, .74); text-decoration: none;
}
.header-tools a:hover { color: var(--brass); background: rgba(245, 245, 247, .06); }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 18px; border-radius: var(--r-s);
  border: 1px solid rgba(212, 175, 55, .55); color: var(--brass);
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.header-cta:hover { background: rgba(212, 175, 55, .12); }
.menu-btn {
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r-s); color: var(--light); cursor: pointer;
}

/* ── 서랍 ──────────────────────────────────────────────────────────── */
.drawer { background: var(--smoke); border-left: 1px solid var(--line); padding: 18px 22px 34px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.drawer-head .brand { font-size: 19px; }
.drawer-close { background: none; border: 1px solid var(--line-2); border-radius: 8px; color: var(--light); padding: 0 14px; min-height: 44px; cursor: pointer; font-size: 14px; }
.drawer-nav { display: grid; gap: 2px; margin-bottom: 22px; }
.drawer-nav a {
  display: flex; align-items: center; min-height: 52px; padding: 0 4px;
  font-size: 17px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line);
}
.drawer-nav a[aria-current] { color: var(--brass); }
.drawer-cta {
  display: flex; align-items: center; justify-content: center; min-height: 50px;
  border-radius: var(--r-s); background: linear-gradient(180deg, var(--brass-hi), var(--brass));
  color: #1A1405; font-weight: 600; text-decoration: none;
}
.drawer-tel { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted); }
.drawer-tel a { text-decoration: none; }

/* ── 히어로 ────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: clip; background: var(--smoke); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 15, .93) 0%, rgba(11, 11, 15, .74) 38%, rgba(11, 11, 15, .18) 72%),
    linear-gradient(180deg, rgba(11, 11, 15, .58), rgba(11, 11, 15, 0) 34%, rgba(11, 11, 15, .72));
}
.hero-inner {
  position: relative; width: 100%; max-width: 1180px; margin: 0 auto; padding: 118px 28px 96px;
  min-height: 560px; display: flex; flex-direction: column; justify-content: center;
}
.hero-kicker { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); margin-bottom: 26px; }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); font-weight: 300; line-height: 1.14; letter-spacing: -.045em; }
.hero-sub { margin-top: 22px; font-size: clamp(15px, 1.6vw, 18px); color: rgba(245, 245, 247, .78); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-steps { display: flex; gap: 30px; margin-top: 64px; }
.hero-steps li { display: flex; align-items: baseline; gap: 9px; font-size: 13px; color: rgba(245, 245, 247, .6); }
.hero-steps .n { font-size: 12px; letter-spacing: .12em; color: var(--brass); font-weight: 600; }

/* ── 파동 배경 띠 ─────────────────────────────────────────────────── */
.band { position: relative; background: var(--smoke); overflow: clip; }
.band::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 140%;
  background:
    radial-gradient(60% 80% at 18% 40%, rgba(106, 61, 255, .20), transparent 62%),
    radial-gradient(52% 70% at 86% 62%, rgba(212, 175, 55, .10), transparent 60%);
  pointer-events: none;
}
.band > * { position: relative; }

.grid-2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }

/* ── 웨이브폼 플레이어 ─────────────────────────────────────────────── */
.player { display: grid; grid-template-columns: 116px 1fr; gap: 22px; padding: 22px; border-radius: var(--r); background: rgba(16, 17, 22, .88); border: 1px solid var(--line); }
.player .album { width: 116px; height: 116px; border-radius: 8px; display: block; border: 1px solid var(--line-2); view-transition-name: album; }
.tr-title { font-size: 22px; font-weight: 400; letter-spacing: -.03em; }
.tr-artist { margin-top: 5px; font-size: 13.5px; color: var(--muted); }
.wave { display: block; width: 100%; height: 62px; margin-top: 14px; }
.wave-static { width: 100%; height: 62px; margin-top: 14px; display: block; }
.pbar { position: relative; height: 3px; border-radius: 2px; background: rgba(245, 245, 247, .14); margin-top: 12px; }
.pbar i { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--violet); border-radius: 2px; display: block; }
.pbar i::after { content: ""; position: absolute; right: -4px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--light); }
.pl-row { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.pl-row .time { margin-left: auto; font-size: 13px; color: var(--muted); }
.pbtn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--light); cursor: pointer;
}
.pbtn:hover { border-color: rgba(212, 175, 55, .6); color: var(--brass); }
.pbtn-main { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); border-color: transparent; color: #1A1405; }
.pnote { margin-top: 12px; font-size: 12.5px; color: var(--dim); }
.playlist { margin-top: 16px; display: grid; gap: 6px; }
.pl-item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 14px;
  background: rgba(16, 17, 22, .6); border: 1px solid var(--line); border-radius: 10px;
  color: inherit; text-align: left; cursor: pointer;
}
.pl-item:hover { border-color: rgba(212, 175, 55, .4); }
.pl-item[aria-current] { border-color: rgba(106, 61, 255, .75); background: rgba(106, 61, 255, .10); }
.pl-item .t { font-size: 14.5px; font-weight: 500; }
.pl-item .a { font-size: 12.5px; color: var(--muted); }
.pl-item .d { margin-left: auto; font-size: 12.5px; color: var(--dim); }

/* ── 오늘의 추천 ───────────────────────────────────────────────────── */
.feature { padding: 24px; border-radius: var(--r); background: rgba(16, 17, 22, .88); border: 1px solid var(--line); }
.feature .frame { margin: 18px -4px 0; aspect-ratio: 352 / 148; }
.feature h3 { font-size: 24px; font-weight: 400; margin-top: 4px; }
.feature .price { margin-top: 8px; display: block; }
.feature .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.feature .btn { margin-top: 18px; }

/* ── 서비스 4열 ────────────────────────────────────────────────────── */
.svc { background: var(--panel); border-block: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.svc-grid a {
  display: flex; align-items: center; gap: 16px; padding: 30px 26px; text-decoration: none;
  border-left: 1px solid var(--line);
}
.svc-grid a:first-child { border-left: 0; }
.svc-grid a:hover { background: rgba(245, 245, 247, .03); }
.svc-grid .ico { color: var(--brass); }
.svc-grid b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.svc-grid span { font-size: 13px; color: var(--muted); }

/* ── 카테고리 ──────────────────────────────────────────────────────── */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  position: relative; display: block; border-radius: var(--r); overflow: clip;
  border: 1px solid var(--line); text-decoration: none; background: var(--smoke);
}
.cat img { display: block; width: 100%; aspect-ratio: 264 / 132; object-fit: cover; transition: transform .4s ease; }
.cat:hover img { transform: scale(1.04); }
.cat .lab {
  position: absolute; inset: 0 0 auto 0; padding: 14px 16px 34px;
  background: linear-gradient(180deg, rgba(11, 11, 15, .86), rgba(11, 11, 15, 0));
  display: flex; align-items: baseline; gap: 8px;
}
.cat b { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.cat span { font-size: 12px; color: var(--muted); }

/* ── 취향(장르·공간) ──────────────────────────────────────────────── */
.taste-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.pickset { margin-bottom: 26px; }
.pickset legend, .pick-h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; display: block; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  min-height: 44px; padding: 0 16px; border-radius: var(--r-s);
  border: 1px solid var(--line-2); background: rgba(245, 245, 247, .03); color: rgba(245, 245, 247, .8);
  font-size: 14px; cursor: pointer;
}
.pick:hover { border-color: rgba(212, 175, 55, .5); color: var(--light); }
.pick[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #fff; font-weight: 600; }
.taste-out { padding: 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.taste-out h3 { font-size: 21px; font-weight: 400; }
.taste-out .lead { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.taste-list { margin-top: 20px; display: grid; gap: 1px; background: var(--line); border-radius: 10px; overflow: clip; }
.taste-list li { display: flex; align-items: baseline; gap: 12px; padding: 14px 16px; background: var(--panel-2); font-size: 14.5px; }
.taste-list .r { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13.5px; }
.taste-sum { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.taste-sum .v { margin-left: auto; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }

/* ── 청음실 + 시그니처 스크롤 연출 ─────────────────────────────────── */
.listen { background: var(--smoke); border-block: 1px solid var(--line); overflow: clip; }
.listen-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 44px; align-items: center; }
.listen .frame { aspect-ratio: 320 / 220; }
.listen-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: clip; margin-top: 26px; }
.listen-facts div { background: var(--panel); padding: 16px 14px; }
.listen-facts dt { font-size: 12px; color: var(--dim); letter-spacing: .06em; }
.listen-facts dd { margin: 6px 0 0; font-size: 15px; font-weight: 500; }

.wavebar { display: flex; align-items: flex-end; gap: 4px; height: 84px; margin-top: 34px; }
.wavebar i { flex: 1 1 0; min-width: 2px; border-radius: 2px; transform-origin: bottom; height: var(--h); background: linear-gradient(180deg, var(--violet), rgba(106, 61, 255, .22)); }
.wavebar i:nth-child(4n) { background: linear-gradient(180deg, var(--brass), rgba(212, 175, 55, .2)); }
@supports (animation-timeline: view()) {
  .js .wavebar i { animation: wb-rise linear both; animation-timeline: view(); animation-range: entry 12% cover 46%; }
  @keyframes wb-rise { from { transform: scaleY(.05); opacity: .3; } to { transform: scaleY(1); opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .js .wavebar i { animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* ── 보증 3열 ──────────────────────────────────────────────────────── */
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.assure div { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.assure .ico { color: var(--brass); }
.assure b { display: block; margin-top: 14px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.assure p { margin-top: 7px; font-size: 13.5px; color: var(--muted); }

/* ── 검색 · 칩 줄 ─────────────────────────────────────────────────── */
.searchbar { display: flex; gap: 10px; }
.searchbox {
  flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 18px; border-radius: var(--r-s);
  border: 1px solid rgba(212, 175, 55, .34); background: rgba(21, 22, 26, .8);
}
.searchbox .ico { color: var(--brass); }
.searchbox input { flex: 1 1 auto; min-width: 0; background: none; border: 0; outline: none; font-size: 15px; }
.searchbox input::placeholder { color: var(--dim); }
.catrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.catrow a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-s);
  border: 1px solid var(--line-2); font-size: 14px; text-decoration: none; color: rgba(245, 245, 247, .78);
}
.catrow a:hover { border-color: rgba(212, 175, 55, .55); color: var(--brass); }
.catrow a[aria-current] { background: var(--violet); border-color: var(--violet); color: #fff; font-weight: 600; }

/* ── 탐색 레이아웃 ─────────────────────────────────────────────────── */
.shop { display: grid; grid-template-columns: 258px 1fr; gap: 32px; align-items: start; }
.facets { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: clip; position: sticky; top: 88px; }
.facets > h2 { padding: 18px 20px 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px;
  background: none; border: 0; color: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; text-align: left;
}
.acc-trigger .ico { margin-left: auto; color: var(--dim); transition: transform .22s ease; }
.acc-item.open .acc-trigger .ico { transform: rotate(180deg); }
.acc-panel { padding: 2px 20px 18px; }
.fopt { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; color: var(--muted); }
.fopt input { width: 17px; height: 17px; accent-color: var(--brass); flex: none; }
.fopt .c { margin-left: auto; font-size: 12.5px; color: var(--dim); }
.frange { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.frange input { width: 100%; min-width: 0; min-height: 40px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(11, 11, 15, .6); font-size: 13.5px; }

.reshead { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.reshead .cnt { font-size: 14.5px; color: var(--muted); }
.reshead .cnt b { color: var(--brass); font-weight: 600; }
.reshead .tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sel { min-height: 42px; padding: 0 34px 0 14px; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--panel) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A9AA5' stroke-width='1.6'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; -webkit-appearance: none; appearance: none; font-size: 14px; }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { container-type: inline-size; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: clip; }
.pcard .shot { height: 176px; background: linear-gradient(160deg, #23201B, #121216); display: grid; place-items: center; padding: 14px; }
.pcard .shot img { max-height: 100%; width: auto; object-fit: contain; }
.pcard .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.pcard h3 { font-size: 16.5px; font-weight: 500; letter-spacing: -.03em; margin-top: 2px; }
.pcard .price { margin-top: 6px; }
.pcard .chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.pcard .acts { display: flex; gap: 8px; margin-top: 14px; }
.pcard .acts > * { flex: 1 1 0; }
.pcard.is-out .shot img { filter: grayscale(1) brightness(.72); }
@container (max-width: 240px) {
  .pcard .acts { flex-direction: column; }
  .pcard h3 { font-size: 15px; }
}
.skel { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: clip; }
.skel .a { aspect-ratio: 4 / 3; background: linear-gradient(100deg, #17181E, #202128, #17181E); }
.skel .b { height: 13px; margin: 16px; border-radius: 4px; background: #202128; }
.skel .b:last-child { width: 52%; margin-top: 0; }
.empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r); }
.empty b { display: block; font-size: 18px; font-weight: 500; }
.empty p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.empty .btn { margin-top: 18px; }

/* ── 스테퍼 ────────────────────────────────────────────────────────── */
.stepper { display: flex; gap: 8px; margin-bottom: 30px; }
.stepper li {
  flex: 1 1 0; min-width: 118px; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-s);
  font-size: 14px; color: var(--dim); text-align: center;
}
.stepper li .n { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.stepper li[aria-current] { border-color: var(--brass); color: var(--brass); background: rgba(212, 175, 55, .07); font-weight: 600; }
.stepper li.donepanel { color: var(--light); border-color: var(--line-2); }
.stepper li.done .ico { color: var(--brass); }

/* ── 탭 ────────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab {
  min-height: 48px; padding: 0 20px; background: none; border: 0; border-bottom: 2px solid transparent;
  color: var(--muted); font-size: 15px; cursor: pointer;
}
.tab:hover { color: var(--light); }
.tab[aria-selected="true"] { color: var(--brass); border-bottom-color: var(--brass); font-weight: 600; }

/* ── 구성하기 ──────────────────────────────────────────────────────── */
.build-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: start; }
.roomplan { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 18px; }
.roomplan .frame { aspect-ratio: 314 / 240; margin-bottom: 16px; }
.plan { display: block; width: 100%; height: auto; background: #0E0F13; border-radius: 10px; border: 1px solid var(--line); }
.plan .rm { fill: none; stroke: rgba(245, 245, 247, .22); stroke-width: 1.4; }
.plan .sp { fill: var(--brass); }
.plan .seat { fill: none; stroke: var(--violet); stroke-width: 1.6; }
.plan .arc { fill: none; stroke: rgba(212, 175, 55, .55); stroke-width: 1.2; stroke-dasharray: 4 4; }
.plan text { fill: var(--muted); font-size: 11px; font-family: Pretendard, sans-serif; }
.dims { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.dims b { color: var(--light); font-weight: 500; }

.rig { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: clip; }
.rig-row { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.rig-row .frame { width: 62px; height: 62px; background: #1B1C22; display: grid; place-items: center; }
.rig-row .frame img { width: auto; max-height: 46px; object-fit: contain; }
.rig-row .kind { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.rig-row h3 { font-size: 15.5px; font-weight: 500; margin-top: 3px; }
.rig-row .sel { margin-top: 8px; width: 100%; font-size: 14px; padding-right: 30px; }
.rig-row .p { font-size: 15px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rig-total { display: flex; align-items: baseline; gap: 12px; padding: 20px 18px; }
.rig-total .v { margin-left: auto; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.rig-foot { padding: 0 18px 20px; display: grid; gap: 10px; }
.verdict { display: grid; gap: 10px; margin-top: 18px; }
.vline { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); font-size: 14px; }
.vline .ico { margin-top: 3px; }
.vline b { font-weight: 600; }
.v-ok { border-color: rgba(99, 211, 166, .4); } .v-ok .ico, .v-ok b { color: var(--ok); }
.v-warn { border-color: rgba(232, 183, 92, .42); } .v-warn .ico, .v-warn b { color: var(--warn); }
.v-err { border-color: rgba(255, 128, 128, .42); } .v-err .ico, .v-err b { color: var(--err); }

/* ── 비교표 ────────────────────────────────────────────────────────── */
.ctable { min-width: 720px; width: 100%; font-size: 14.5px; }
.ctable th, .ctable td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.ctable thead th { vertical-align: bottom; }
.ctable tbody th {
  text-align: left; font-weight: 500; color: var(--muted); font-size: 13.5px;
  position: sticky; left: 0; background: var(--carbon); min-width: 132px; z-index: 1;
}
.ctable .pick-col { background: rgba(212, 175, 55, .06); }
.ctable thead .pick-col { border-top: 1px solid rgba(212, 175, 55, .5); }
.ctable .shot { display: grid; place-items: center; height: 116px; background: linear-gradient(160deg, #23201B, #121216); border-radius: 10px; margin-bottom: 14px; padding: 10px; }
.ctable .shot img { max-height: 100%; width: auto; object-fit: contain; }
.ctable thead .brandline, .ctable .mdl { display: block; }
.ctable .mdl { font-size: 16.5px; font-weight: 500; letter-spacing: -.03em; margin-top: 2px; }
.ctable .yes { color: var(--ok); } .ctable .no { color: var(--dim); }

/* ── 가이드 · 등급 ─────────────────────────────────────────────────── */
.grades { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: clip; }
.grade { background: var(--panel); }
.grade .acc-trigger { padding: 0 20px; min-height: 62px; }
.grade .tag {
  display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 26px;
  border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; flex: none;
}
.g-m { background: rgba(212, 175, 55, .16); color: var(--brass); }
.g-nm { background: rgba(99, 211, 166, .14); color: var(--ok); }
.g-vgp { background: rgba(106, 61, 255, .18); color: #B49BFF; }
.g-vg { background: rgba(232, 183, 92, .14); color: var(--warn); }
.g-g { background: rgba(255, 128, 128, .13); color: var(--err); }
.grade .acc-panel { padding: 0 20px 20px 20px; color: var(--muted); font-size: 14.5px; }
.grade .acc-panel ul { margin-top: 10px; display: grid; gap: 6px; }
.grade .acc-panel li { padding-left: 14px; position: relative; }
.grade .acc-panel li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

.mtable { min-width: 640px; width: 100%; font-size: 14.5px; }
.mtable th, .mtable td { padding: 14px 16px; border: 1px solid var(--line); text-align: center; }
.mtable thead th { background: var(--panel); font-weight: 500; font-size: 13.5px; color: var(--muted); }
.mtable tbody th { text-align: left; background: var(--panel); font-weight: 500; position: sticky; left: 0; z-index: 1; }
.mcell { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.m-ok { color: var(--ok); } .m-warn { color: var(--warn); } .m-no { color: var(--err); }

/* ── 폼 ────────────────────────────────────────────────────────────── */
.formcard { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 28px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > label, .flabel { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.control {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-s);
  border: 1px solid var(--line-2); background: rgba(11, 11, 15, .55); font-size: 15px; outline: none;
}
.control:focus { border-color: var(--brass); }
textarea.control { min-height: 118px; resize: vertical; line-height: 1.6; }
select.control { -webkit-appearance: none; appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A9AA5' stroke-width='1.6'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.err { display: none; margin-top: 7px; font-size: 13px; color: var(--err); }
.err::before { content: "! "; font-weight: 700; }
.field.invalid .control { border-color: var(--err); }
.field.invalid .err { display: block; }
.counter { margin-top: 7px; font-size: 12.5px; color: var(--dim); text-align: right; }
.agree { position: relative; margin: 4px 0 20px; }
.agree label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; min-height: 44px; padding-top: 2px; }
.agree .box { width: 20px; height: 20px; border-radius: 5px; border: 1px solid var(--line-2); flex: none; margin-top: 2px; display: grid; place-items: center; }
.agree input:checked + label .box { background: var(--brass); border-color: var(--brass); }
.agree input:checked + label .box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #1A1405; border-bottom: 2px solid #1A1405; transform: rotate(-45deg) translate(1px, -1px); }
.agree.invalid label { color: var(--err); }
.agree.invalid .box { border-color: var(--err); }
.form-submit {
  width: 100%; min-height: 54px; border-radius: var(--r-s); border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: #1A1405; font-size: 16px; font-weight: 700;
}
.radioset { display: grid; gap: 8px; }
.radiorow { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-s); cursor: pointer; font-size: 14.5px; }
.radiorow input { width: 18px; height: 18px; accent-color: var(--brass); flex: none; }
.radiorow .r { margin-left: auto; color: var(--muted); font-size: 13.5px; }
.radiorow:has(input:checked) { border-color: var(--brass); background: rgba(212, 175, 55, .07); }

/* ── 장바구니 ──────────────────────────────────────────────────────── */
.cart-grid { display: grid; grid-template-columns: 1fr 348px; gap: 28px; align-items: start; }
.citem { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); margin-bottom: 12px; }
.citem .frame { width: 92px; height: 92px; background: linear-gradient(160deg, #23201B, #121216); display: grid; place-items: center; padding: 8px; }
.citem .frame img { width: auto; max-height: 100%; object-fit: contain; }
.citem h3 { font-size: 16px; font-weight: 500; }
.citem .price { margin-top: 6px; }
.citem .opt { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.citem .opt .control { min-height: 42px; width: auto; min-width: 190px; font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-s); overflow: clip; }
.qty button { width: 44px; min-height: 44px; background: none; border: 0; color: var(--light); cursor: pointer; font-size: 18px; }
.qty button:hover { background: rgba(245, 245, 247, .07); }
.qty input { width: 52px; min-height: 44px; text-align: center; background: none; border: 0; border-inline: 1px solid var(--line-2); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.linkbtn { background: none; border: 0; color: var(--dim); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; padding: 0 4px; }
.linkbtn:hover { color: var(--err); }
.coupon { display: flex; gap: 8px; margin-top: 6px; }
.coupon .control { min-height: 46px; }
.note-line { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 13px; }
.note-line.ok { color: var(--ok); } .note-line.bad { color: var(--err); }

.summary { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 22px; position: sticky; top: 88px; }
.sumrow { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 14.5px; color: var(--muted); }
.sumrow .v { margin-left: auto; color: var(--light); font-variant-numeric: tabular-nums; }
.sumtotal { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.sumtotal .v { margin-left: auto; font-size: 25px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.badges { display: grid; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.badges div { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.badges .ic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .45); display: grid; place-items: center; color: var(--brass); flex: none; }
.badges span { display: block; font-size: 12.5px; color: var(--muted); }

.donepanel { text-align: center; padding: 48px 28px; border: 1px solid rgba(212, 175, 55, .4); border-radius: var(--r); background: var(--panel); view-transition-name: orderpanel; }
.donepanel .mark { width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 50%; border: 1px solid var(--brass); display: grid; place-items: center; color: var(--brass); }
.donepanel h2 { font-size: 26px; font-weight: 400; }
.donepanel dl { max-width: 380px; margin: 26px auto 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: clip; text-align: left; }
.donepanel dl > div { display: flex; gap: 12px; padding: 14px 16px; background: var(--panel-2); font-size: 14.5px; }
.donepanel dt { color: var(--muted); } .donepanel dd { margin: 0 0 0 auto; font-variant-numeric: tabular-nums; }
.donepanel .acts { display: flex; gap: 10px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

.notice { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 24px; }
.notice h3 { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.notice ul { margin-top: 12px; display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.notice li { padding-left: 14px; position: relative; }
.notice li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }

/* ── 토스트 ────────────────────────────────────────────────────────── */
.toast {
  background: var(--panel-2); border: 1px solid rgba(212, 175, 55, .45); color: var(--light);
  padding: 13px 22px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); max-width: min(88vw, 460px); text-align: center;
}

/* ── 바닥글 ────────────────────────────────────────────────────────── */
.site-footer { background: var(--smoke); border-top: 1px solid var(--line); margin-top: 0; }
.footer-inner { width: 100%; max-width: 1180px; margin: 0 auto; padding: 56px 28px 40px; }
.footer-brand { font-size: 20px; font-weight: 600; letter-spacing: -.045em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--brass); }
.footer-biz { margin-top: 24px; font-style: normal; font-size: 13px; line-height: 2; color: var(--dim); }
.footer-biz a { text-decoration: none; }
.footer-biz a:hover { color: var(--brass); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.footer-legal a { font-size: 13px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.footer-copy { margin-top: 26px; font-size: 12.5px; color: var(--dim); }

/* 모바일 하단 탭 독 — 06-mobile.png 의 5탭. 데스크톱에서는 보이지 않는다. */
.dock { display: none; }
@media (max-width: 767px) {
  .dock {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; inset: auto 0 0 0; z-index: 45;
    background: var(--panel); border-top: 1px solid var(--line-2);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 58px; font-size: 11px; color: var(--dim); text-decoration: none;
  }
  .dock a[aria-current] { color: var(--brass); }
  body { padding-bottom: 58px; }
  .toast { bottom: 78px; }
}

/* ══ 반응형 ══════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .grid-2, .taste-grid, .listen-grid, .build-grid { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 218px 1fr; gap: 22px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .summary, .facets { position: static; }
}

/* 햄버거는 767px 아래에서만 나온다(kit). 그 위에서 내비를 지우면 768~900px 구간에
   길잡이가 하나도 남지 않는다 — 지우지 말고 줄인다. */
@media (max-width: 1080px) {
  .header-inner { gap: 16px; }
  .nav { gap: 16px; }
  .nav a { font-size: 13.5px; }
  .header-cta { padding: 0 13px; font-size: 13px; }
}

@media (max-width: 860px) {
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid a:nth-child(3) { border-left: 0; }
  .svc-grid a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .assure { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --section: 68px; }
  .nav { display: none; }
  .brand { margin-right: auto; }
  .wrap, .header-inner, .footer-inner { padding-inline: 20px; }
  .header-inner { height: 62px; }
  .hero-inner { padding: 86px 20px 68px; min-height: 476px; }
  .hero-media img { object-position: 68% 50%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(11, 11, 15, .82) 0%, rgba(11, 11, 15, .55) 42%, rgba(11, 11, 15, .94) 100%); }
  .hero-steps { gap: 16px; margin-top: 40px; flex-wrap: wrap; }
  .hero-cta .btn { flex: 1 1 auto; }

  .shop { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .player { grid-template-columns: 84px 1fr; gap: 14px; padding: 16px; }
  .player .album { width: 84px; height: 84px; }
  .tr-title { font-size: 19px; }
  .frow { grid-template-columns: 1fr; gap: 0; }
  .formcard { padding: 20px; }
  .listen-facts { grid-template-columns: 1fr; }
  .citem { grid-template-columns: 72px 1fr; }
  .citem .frame { width: 72px; height: 72px; }
  .citem .opt .control { min-width: 0; width: 100%; }
  .stepper { gap: 6px; overflow-x: auto; position: relative; padding-bottom: 4px; }
  .stepper li { min-width: 104px; font-size: 13px; }
  .rig-row { grid-template-columns: 52px 1fr; }
  .rig-row .p { grid-column: 2; text-align: right; }
  .rig-row .frame { width: 52px; height: 52px; }
  .tabs { overflow-x: auto; position: relative; }
  .tab { padding: 0 14px; font-size: 14px; white-space: nowrap; }
  .searchbar { flex-wrap: wrap; }
  .searchbar .btn { flex: 1 1 auto; }
  .wavebar { height: 56px; gap: 3px; }
  .donepanel { padding: 36px 20px; }
  .footer-nav { gap: 14px 20px; }
  button, .btn, a[role="button"] { min-height: 44px; }
  .linkbtn { min-height: 44px; }
}

@media (max-width: 400px) {
  .pgrid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}

/* ══ 마무리 · 앞선 규칙을 덮어야 하는 것들 ═══════════════════════════
   hidden 을 붙였는데도 display:grid/flex 가 이겨서 안 숨는 사고를 막는다.
   무JS 에서 모든 탭 내용을 이어 보여 주는 kit 규칙은 건드리지 않는다. */
:where([hidden]):not([role="tabpanel"]) { display: none !important; }

/* kit 의 .js-only / .nojs-only 가 뒤에 온 display 규칙에 덮이지 않도록 다시 못 박는다 */
.js-only { display: none; }
.js .js-only { display: revert; }
.js canvas.js-only { display: block; }
.js .btn.js-only { display: inline-flex; }

/* 상품 카드 사진 — 가로로 긴 것(앰프·헤드폰)과 세로로 긴 것(플로어스탠딩)이 섞여 있다.
   액자를 넘지 않게 두 방향 모두 묶는다. */
.pcard .shot img, .ctable .shot img, .citem .frame img, .rig-row .frame img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
}

/* 모바일 구매 Dock — 06-mobile.png 의 하단 구매 바. 탭 독 위에 얹힌다. */
.buydock { display: none; }
@media (max-width: 767px) {
  .buydock {
    display: flex; align-items: center; gap: 14px;
    position: fixed; inset: auto 0 58px 0; z-index: 44;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    background: var(--panel); border-top: 1px solid var(--line-2); box-shadow: 0 -12px 28px rgba(0,0,0,.55);
  }
  .buydock .v { font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
  .buydock .btn { margin-left: auto; }
  body.p-cart { padding-bottom: 136px; }
}
