/* 템플릿 공통 뼈대 — 동작에 딸린 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}` 로 짜면
   revert 가 UA 기본값(대개 block)으로 되돌려, 그 요소가 원래 갖고 있던 display 나
   미디어쿼리의 `display:none` 을 덮어쓴다(모바일 전용 구매 Dock 이 데스크톱에도 떴다).
   숨기는 쪽에만 규칙을 걸어 요소 자신의 display 를 건드리지 않는다. */
html:not(.js) .js-only { display: none !important; }

/* `hidden` 속성은 `display:grid`·`flex` 에 진다 — 골격 클래스를 단 요소는 안 숨는다(§4-C 18).
   무JS 탭 규칙(위의 `[role="tabpanel"][hidden] { display:block }`)은 살려 두어야 하므로 :not 이 필요하다. */
:where([hidden]):not([role="tabpanel"]) { display: none !important; }

/* ── 모션 끔 ───────────────────────────────────────────────────────
   검사기가 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); }


/* ═══════════════════════════════════════════════════════════════════════
   라스트앤라인 (last-and-line) — 오너 시안 37번 재현
   색·활자·간격은 00-디자인보드.png / 01-home.png / 02-페이지시안.png /
   06-mobile.png 에서만 가져왔다. 위쪽 공통 뼈대(kit)는 동작만 담고 있다.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* 에스프레소 · 코냑 · 브라스 (프롬프트 05절 · 디자인보드 실측) */
  --espresso: #1a140d;
  --espresso-2: #241b13;
  --espresso-3: #30251b;
  --cognac: #4b3320;
  --cognac-2: #6d4a2c;
  --brass: #b08d57;
  --brass-2: #d3b485;

  --paper: #f3f0ec;
  --sand: #e8dfd6;
  --sand-2: #ede7e2;
  --line: #ded7cd;
  --line-2: #cfc7bb;
  --line-dark: #3a2d21;

  --ink: #241d16;
  --ink-2: #6b625a;
  --ink-3: #8c8377;
  --cream: #ede6da;
  --cream-2: #c9bfb2;

  --ok: #3d6b4e;
  --warn: #8a5a20;
  --err: #8f3b2d;

  --section: 104px;
  --wrap: 1200px;
  --radius: 2px;

  --serif: "Playfair Display", "Times New Roman", serif;
  --myeong: "Nanum Myeongjo", "Batang", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

@media (max-width: 767px) { :root { --section: 64px; } }

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

@media (max-width: 767px) { body { padding-bottom: 58px; } }

a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 18px; } }

.sprite { display: none; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round; }

.skip-link { background: var(--espresso); color: var(--cream); font-size: 14px; }

/* ── 활자 ─────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--brass);
}
.ttl {
  font-family: var(--myeong); font-weight: 400; line-height: 1.34;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem); letter-spacing: -0.01em;
}
.ttl-en { font-family: var(--serif); letter-spacing: .05em; }
.lead { color: var(--ink-2); font-size: 15px; margin-top: 14px; max-width: 46ch; }
.dim { color: var(--ink-2); }
.small { font-size: 13px; color: var(--ink-2); }
.tiny { font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.price { font-weight: 700; font-size: 16px; letter-spacing: .01em; }
.pname { font-family: var(--serif); font-size: 17px; letter-spacing: .045em; }

.head-block { display: flex; flex-direction: column; gap: 10px; }
.head-block .ttl { margin-top: 2px; }

/* ── 단추 ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: var(--radius);
  font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn-dark { background: var(--espresso); color: var(--cream); }
.btn-dark:hover { background: #2c2118; }
.btn-cognac { background: var(--cognac); color: #f2e8dc; }
.btn-cognac:hover { background: var(--cognac-2); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid rgb(237 230 218 / .55); }
.btn-ghost:hover { background: rgb(237 230 218 / .12); border-color: var(--cream); }
.btn-full { width: 100%; }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* ── 헤더 ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--espresso); color: var(--cream);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line-dark); }
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding-inline: 24px;
  min-height: 62px; display: grid; align-items: center;
  grid-template-columns: auto 1fr auto; gap: 18px;
}
.brand {
  font-size: 17px; font-weight: 700; letter-spacing: .04em;
  color: var(--cream); text-decoration: none; white-space: nowrap;
}
.nav { display: flex; justify-content: center; gap: 30px; }
.nav a {
  font-size: 13px; letter-spacing: .05em; color: var(--cream-2);
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--cream); }
.nav a[aria-current] { color: var(--cream); border-bottom-color: var(--brass); }
.header-actions { display: flex; align-items: center; gap: 2px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: none; border: 0; color: var(--cream-2);
  cursor: pointer; text-decoration: none; border-radius: var(--radius);
}
.icon-btn:hover { color: var(--cream); }
.header-cta {
  margin-left: 10px; display: inline-flex; align-items: center; min-height: 38px;
  padding: 0 16px; border: 1px solid var(--brass); color: var(--brass-2);
  font-size: 13px; font-weight: 600; letter-spacing: .03em; text-decoration: none;
  border-radius: var(--radius);
}
.header-cta:hover { background: var(--brass); color: var(--espresso); }
.menu-btn {
  width: 44px; height: 44px; background: none; border: 0; color: var(--cream);
  align-items: center; justify-content: center; cursor: pointer;
}
@media (max-width: 900px) { .nav { display: none; } .header-inner { grid-template-columns: auto 1fr auto; } }
@media (max-width: 767px) {
  .header-cta { display: none; }
  .header-inner { min-height: 56px; padding-inline: 14px; gap: 6px; }
}

/* ── 서랍 ─────────────────────────────────────────────────────────── */
.drawer { background: var(--espresso); color: var(--cream); padding: 18px 22px 32px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-head .brand { font-size: 16px; }
.drawer-close {
  background: none; border: 1px solid var(--line-dark); color: var(--cream-2);
  border-radius: var(--radius); font: inherit; font-size: 13px; padding: 0 14px; cursor: pointer;
}
.drawer-nav { display: flex; flex-direction: column; margin-top: 22px; }
.drawer-nav a {
  display: flex; align-items: center; font-size: 16px; letter-spacing: .01em;
  color: var(--cream); text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.drawer-nav a[aria-current] { color: var(--brass-2); }
.drawer-cta {
  display: flex; align-items: center; justify-content: center; margin-top: 22px;
  min-height: 50px; background: var(--cognac); color: #f2e8dc;
  font-size: 14px; font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.drawer-tel { margin-top: 14px; font-size: 14px; color: var(--cream-2); text-align: center; }
.drawer-tel a { color: var(--brass-2); text-decoration: none; }

/* ── 푸터 ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--espresso); color: var(--cream-2); margin-top: 0; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 60px 24px 44px; }
.footer-brand { font-size: 18px; font-weight: 700; letter-spacing: .05em; color: var(--cream); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 20px; }
.footer-nav a { font-size: 13.5px; color: var(--cream-2); text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current] { color: var(--cream); }
.footer-biz {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  font-style: normal; font-size: 12.5px; line-height: 1.9; color: #9d9285;
}
.footer-biz a { color: #9d9285; text-decoration: none; }
.footer-note { margin-top: 10px; font-size: 12px; color: #7f7568; line-height: 1.8; }
.footer-legal { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { font-size: 12.5px; color: var(--cream-2); text-decoration: none; }
.footer-copy { margin-top: 14px; font-size: 12px; color: #7f7568; }

/* 모바일 하단 탭바 — 06-mobile.png 의 홈·카테고리·비교·장바구니·마이 */
.tabbar { display: none; }
@media (max-width: 767px) {
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; min-height: 58px; font-size: 10.5px; letter-spacing: -0.02em;
    color: var(--ink-2); text-decoration: none;
  }
  .tabbar a[aria-current] { color: var(--cognac); }
  .tabbar .ico { width: 21px; height: 21px; }
  .tab-badge { position: relative; }
  .tab-badge::after {
    content: ""; position: absolute; top: -2px; right: -6px; width: 7px; height: 7px;
    border-radius: 50%; background: var(--cognac);
  }
}

/* ── 토스트 ───────────────────────────────────────────────────────── */
.toast {
  background: var(--espresso); color: var(--cream);
  padding: 13px 20px; border-radius: var(--radius); font-size: 14px;
  max-width: min(92vw, 460px); box-shadow: 0 10px 28px rgb(26 20 13 / .28);
}
@media (max-width: 767px) { .toast { bottom: 72px; } }

/* ═══════════════ 홈 ═══════════════ */

/* 히어로 — 사진 2장 나란히, 가운데 활자 (01-home.png) */
.hero { position: relative; background: var(--espresso); }
.hero-pics { display: grid; grid-template-columns: 1fr 1fr; }
.hero-pic { position: relative; margin: 0; }
.hero-pic img { display: block; width: 100%; height: clamp(360px, 46vw, 560px); object-fit: cover; }
.hero-pic--left img { object-position: 42% 42%; }
.hero-pic--right img { object-position: 46% 50%; }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(26 20 13 / .28) 0%, rgb(26 20 13 / .62) 46%, rgb(26 20 13 / .58) 54%, rgb(26 20 13 / .2) 100%);
}
.hero-copy {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; text-align: center; padding: 24px; color: var(--cream);
}
.hero-title {
  font-family: var(--serif); font-weight: 700; line-height: .98;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: .06em;
  text-shadow: 0 2px 26px rgb(0 0 0 / .35);
}
.hero-title span { display: block; }
.hero-sub { font-size: clamp(.9rem, 1.5vw, 1rem); letter-spacing: .12em; color: #e2d9cb; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; z-index: 2;
  font-size: 10.5px; letter-spacing: .28em; color: #b7ab9b;
}
@media (max-width: 767px) {
  .hero-pics { grid-template-columns: 1fr; }
  .hero-pic--right { display: none; }
  .hero-pic img { height: 74vh; min-height: 440px; }
  .hero-copy { justify-content: flex-end; padding-bottom: 74px; gap: 14px; }
  .hero-veil { background: linear-gradient(180deg, rgb(26 20 13 / .34) 0%, rgb(26 20 13 / .18) 34%, rgb(26 20 13 / .82) 100%); }
}

/* 상품 찾기 — 01-home.png 의 필터 막대 */
.finder { background: var(--paper); border-bottom: 1px solid var(--line); }
.finder-inner { padding-block: 34px 30px; }
.finder h2 { font-family: var(--myeong); font-size: 21px; }
.finder-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.sel {
  position: relative; display: inline-flex; align-items: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius);
}
.sel select {
  appearance: none; -webkit-appearance: none;
  background: transparent; border: 0; font: inherit; font-size: 13.5px; color: var(--ink);
  padding: 11px 34px 11px 14px; min-height: 44px; cursor: pointer; min-width: 106px;
}
.sel::after {
  content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px;
  border-right: 1px solid var(--ink-2); border-bottom: 1px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.finder-search { flex: 1 1 260px; display: flex; min-width: 240px; }
.finder-search input {
  flex: 1; min-height: 44px; padding: 10px 14px; font: inherit; font-size: 13.5px;
  background: #fff; border: 1px solid var(--line-2); border-right: 0; border-radius: var(--radius) 0 0 var(--radius);
  color: var(--ink);
}
.finder-search input::placeholder { color: var(--ink-3); }
.finder-search button {
  min-width: 52px; min-height: 44px; background: var(--espresso); color: var(--cream);
  border: 1px solid var(--espresso); border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.finder-go { margin-left: auto; }
@media (max-width: 767px) {
  .finder-row { gap: 8px; }
  .sel select { min-width: 0; padding: 11px 30px 11px 12px; font-size: 13px; }
  .finder-go { width: 100%; margin-left: 0; }
}

/* NEW ARRIVAL — 01-home.png 하단 띠 */
.newarr { background: var(--sand); }
.newarr-inner { padding-block: 30px 34px; }
.newarr-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.newarr-rail { position: relative; margin-top: 8px; }
.newarr-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
}
.newarr-track::-webkit-scrollbar { display: none; }
.newarr-slide {
  scroll-snap-align: start;
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center; gap: 24px; padding: 10px 0 6px;
}
.na-name { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.12; letter-spacing: .02em; }
.na-meta { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.na-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; min-height: 44px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--ink);
}
.na-pic { display: block; }
.na-pic img { display: block; width: 100%; height: auto; }
.newarr-ctrl { display: flex; align-items: center; gap: 6px; }
.newarr-ctrl button {
  width: 44px; height: 44px; background: none; border: 0; color: var(--ink-2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.newarr-ctrl button:hover { color: var(--ink); }
.newarr-count { font-size: 12.5px; color: var(--ink-2); letter-spacing: .08em; min-width: 42px; text-align: right; }
@media (max-width: 767px) {
  .newarr-slide { grid-template-columns: 1fr; gap: 6px; }
  .na-pic { order: -1; }
  .na-name { font-size: 1.6rem; }
}

/* Craft Story Sticky — 00-디자인보드.png 상단 */
.craft { background: var(--espresso); color: var(--cream); }
.craft-inner {
  display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr); gap: 56px;
  padding-block: calc(var(--section) / 2);
}
.craft-sticky { position: sticky; top: 92px; align-self: start; }
.craft-sticky .ttl { color: var(--cream); }
.craft-sticky .lead { color: #b7ab9b; }
.craft-steps { margin-top: 30px; display: flex; flex-direction: column; gap: 2px; }
.craft-steps li {
  display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: baseline;
  padding: 11px 0; border-top: 1px solid var(--line-dark); font-size: 14px; color: #cbc0b1;
}
.craft-steps b { font-family: var(--serif); font-size: 13px; color: var(--brass); font-weight: 500; letter-spacing: .1em; }
.craft-draw { margin-top: 26px; }
.craft-draw svg { width: 100%; height: auto; max-width: 340px; display: block; }
.craft-draw path { fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.craft-pics { display: flex; flex-direction: column; gap: 26px; }
.craft-fig { margin: 0; }
.craft-fig img { display: block; width: 100%; height: auto; }
.craft-fig figcaption { margin-top: 12px; font-size: 13px; color: #a2978a; }
.craft-fig figcaption b { display: block; color: var(--cream); font-weight: 600; font-size: 14px; margin-bottom: 3px; }
@media (max-width: 900px) {
  .craft-inner { grid-template-columns: 1fr; gap: 34px; }
  .craft-sticky { position: static; }
  .craft-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .craft-fig figcaption { font-size: 12px; }
}
@media (max-width: 560px) { .craft-pics { grid-template-columns: 1fr; gap: 22px; } }

/* 360 SHOE STAGE — 00-디자인보드.png 가운데 */
.stage-sec { background: var(--espresso-2); color: var(--cream); }
.stage-sec .ttl { color: var(--cream); }
.stage-inner { padding-block: calc(var(--section) / 2); }
.stage-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.stage-box {
  margin-top: 30px; background: var(--sand-2); border-radius: var(--radius);
  padding: 26px 20px 20px; position: relative; touch-action: pan-y;
}
.stage-frames {
  position: relative; display: flex; gap: 12px; align-items: center; justify-content: center;
  min-height: clamp(200px, 30vw, 320px);
}
.stage-frames img {
  display: block; max-width: 100%; height: auto; max-height: clamp(200px, 30vw, 320px);
  object-fit: contain; pointer-events: none; -webkit-user-drag: none;
}
.js .stage-frames img { display: none; }
.js .stage-frames img.on { display: block; }
.stage-frames img.flip { transform: scaleX(-1); }
.stage-arc {
  margin-top: 6px; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--serif); font-size: 13px; color: #8d8577; letter-spacing: .08em;
  border-top: 1px solid var(--line-2); padding-top: 12px;
}
.stage-hint { margin-top: 16px; font-size: 12.5px; color: #a2978a; }
.dots { display: flex; gap: 8px; }
.dots button {
  min-width: 62px; min-height: 40px; padding: 0 14px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-dark); color: #b7ab9b;
  font: inherit; font-size: 12.5px; letter-spacing: .06em; border-radius: var(--radius);
}
.dots button[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: var(--espresso); font-weight: 600; }
.stage-nav { display: flex; gap: 6px; }
.stage-nav button {
  width: 44px; height: 44px; cursor: pointer; background: transparent;
  border: 1px solid var(--line-2); color: var(--ink-2); border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
}
.stage-foot { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* 라스트·가죽 비교 — 00-디자인보드.png 하단 2단 */
.llc { background: var(--espresso); color: var(--cream); }
.llc-inner { padding-block: calc(var(--section) / 2); }
.llc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; margin-top: 28px; }
.llc-col > h3 { font-family: var(--myeong); font-size: 19px; color: var(--cream); padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.llc-item { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.llc-item img { display: block; width: 100%; height: auto; }
.llc-item h4 { font-size: 15px; font-weight: 600; color: var(--cream); }
.llc-item p { margin-top: 5px; font-size: 13.5px; color: #a2978a; }
.llc-more { margin-top: 26px; }
@media (max-width: 767px) {
  .llc-grid { grid-template-columns: 1fr; gap: 30px; }
  .llc-item { grid-template-columns: 104px 1fr; gap: 14px; padding: 16px 0; }
}

/* 방문·배송 안내 */
.visit { background: var(--paper); }
.visit-inner { padding-block: calc(var(--section) / 2); }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 28px; }
.visit-card { border-top: 1px solid var(--ink); padding-top: 18px; }
.visit-card h3 { font-size: 16px; font-weight: 600; }
.visit-card p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.visit-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767px) { .visit-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ═══════════════ 공통 · 상품 카드 ═══════════════ */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head-inner { padding-block: 34px 26px; }
.crumbs { display: flex; gap: 8px; font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.page-title { font-family: var(--myeong); font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-top: 8px; }
.page-desc { margin-top: 10px; font-size: 14px; color: var(--ink-2); max-width: 62ch; }

.pcard { display: block; text-decoration: none; color: inherit; position: relative; }
.pcard-pic { display: block; background: var(--sand-2); position: relative; }
.pcard-pic img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 8%; }
.pcard-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-top: 14px; }
.pcard .pname { display: block; }
.pcard .price { display: block; margin-top: 6px; }
.pcard-tag { display: inline-block; margin-top: 8px; font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3); }
.wish {
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--ink-3);
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.wish[aria-pressed="true"] { color: var(--cognac); }
.wish[aria-pressed="true"] .ico { fill: currentColor; }
.soldout-flag {
  position: absolute; left: 0; top: 0; background: var(--espresso); color: var(--cream);
  font-size: 11px; letter-spacing: .06em; padding: 5px 10px;
}

/* ═══════════════ 상품 찾기 (shop) ═══════════════ */
.shop { padding-block: calc(var(--section) / 2); }
.shop-layout { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: start; }
.js .shop-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 44px; }
@media (max-width: 900px) { .js .shop-layout { grid-template-columns: 1fr; } }

.facets { border-top: 1px solid var(--ink); padding-top: 4px; }
.facet { border-bottom: 1px solid var(--line); padding: 18px 0; }
.facet h3 { font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.facet-list { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 13.5px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  width: 15px; height: 15px; border: 1px solid var(--ink-2); border-radius: 1px;
  display: inline-block; flex: 0 0 auto; position: relative; background: #fff;
}
.check input:checked + .box::after {
  content: ""; position: absolute; inset: 2px; background: var(--espresso);
}
.check input:focus-visible + .box { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.swatch { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; }
.swatch i {
  display: block; width: 24px; height: 24px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(36 29 22 / .18);
}
.swatch[aria-pressed="true"] i { box-shadow: 0 0 0 1px var(--paper), 0 0 0 3px var(--espresso); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.size-chip { position: relative; }
.size-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-chip label {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; min-height: 38px; padding: 0 8px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: var(--radius); font-size: 13px; background: #fff;
}
.size-chip input:checked + label { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.size-chip input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.facet-reset { margin-top: 18px; }

.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.shop-count { font-size: 13.5px; color: var(--ink-2); }
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; margin-top: 28px; }
@media (max-width: 900px) { .grid-products { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; } }
@media (max-width: 480px) { .grid-products { grid-template-columns: 1fr; } }
.empty-state { display: none; padding: 54px 0; text-align: center; }
.empty-state.on { display: block; }
.empty-state p { font-size: 15px; }
.empty-state .btn { margin-top: 18px; }

/* (모바일 필터 여닫기는 사이드바 머리의 .open-facets 로 옮겼다 — 아래 참조) */

/* ═══════════════ 상품 상세 (product) ═══════════════ */
.pdp { padding-block: calc(var(--section) / 2); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 54px; align-items: start; }
@media (max-width: 900px) { .pdp-grid { grid-template-columns: 1fr; gap: 30px; } }
.gallery-main { background: var(--sand-2); display: grid; place-items: center; padding: 6% 8%; }
.gallery-main img { display: block; max-width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button {
  background: var(--sand-2); border: 1px solid transparent; padding: 8px; cursor: pointer;
  min-height: 64px; display: grid; place-items: center; border-radius: var(--radius);
}
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--espresso); }
.gallery-thumbs img { display: block; width: 100%; height: auto; max-height: 62px; object-fit: contain; }

.buybox { position: sticky; top: 92px; }
@media (max-width: 900px) { .buybox { position: static; } }
.buy-name { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.16; letter-spacing: .03em; }
.buy-price { margin-top: 16px; font-size: 22px; font-weight: 700; }
.buy-sub { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.buy-vat { margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.opt { padding: 20px 0; border-top: 1px solid var(--line); }
.opt:first-of-type { margin-top: 22px; }
.opt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.opt-head h3 { font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.opt-head a { font-size: 12.5px; color: var(--ink-2); }
.opt-note { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.radio-rows { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.radio-row { position: relative; }
.radio-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-row label {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 8px 14px; cursor: pointer; font-size: 13.5px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff;
}
.radio-row input:checked + label { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.radio-row input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.radio-row .plus { color: var(--ink-2); font-size: 13px; }
.opt-select { width: 100%; }
.opt-select select {
  width: 100%; min-height: 48px; padding: 10px 34px 10px 14px; font: inherit; font-size: 14px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  appearance: none; -webkit-appearance: none; color: var(--ink);
}
.addon { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; }
.addon .check { align-items: flex-start; padding-top: 2px; }
.total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 0; border-top: 1px solid var(--ink); margin-top: 4px; }
.total-row .price { font-size: 22px; }
.buy-actions { display: grid; gap: 10px; }
.buy-meta { margin-top: 18px; font-size: 12.5px; color: var(--ink-2); line-height: 1.95; }
.buy-meta b { color: var(--ink); font-weight: 600; }

.stock-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; }
.stock-note .ico { width: 16px; height: 16px; }
.stock-warn { color: var(--warn); }
.stock-out { color: var(--err); }

.buy-dock { display: none; }
@media (max-width: 767px) {
  .js .buy-dock {
    display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 58px; z-index: 44;
    background: var(--paper); border-top: 1px solid var(--line); padding: 10px 14px;
  }
  .js .buy-dock .dock-price { font-size: 15px; font-weight: 700; white-space: nowrap; }
  .js .buy-dock .btn { min-height: 46px; padding: 0 10px; font-size: 13.5px; }
  body.has-dock { padding-bottom: 126px; }
}

.acc { margin-top: 34px; border-top: 1px solid var(--ink); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 58px; padding: 14px 2px; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; text-align: left; color: var(--ink);
}
.acc-trigger .ico { transition: rotate .2s ease; flex: 0 0 auto; }
.acc-item.open .acc-trigger .ico { rotate: 180deg; }
.acc-panel { padding: 0 2px 22px; font-size: 14px; color: var(--ink-2); line-height: 1.95; }
.acc-panel p + p { margin-top: 12px; }
.acc-panel dl { display: grid; grid-template-columns: 116px 1fr; gap: 8px 16px; }
.acc-panel dt { font-weight: 600; color: var(--ink); }
.acc-panel dd { margin: 0; }

.honest { margin-top: 34px; background: var(--sand); padding: 26px 24px; border-left: 2px solid var(--cognac); }
.honest h3 { font-size: 15px; font-weight: 700; }
.honest ul { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.honest li { position: relative; padding-left: 15px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.honest li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 1px; background: var(--cognac); }

/* ═══════════════ 핏 가이드 (guide) ═══════════════ */
.fit { padding-block: calc(var(--section) / 2); }
.feet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
@media (max-width: 560px) { .feet { grid-template-columns: repeat(2, 1fr); } }
.foot-opt { position: relative; }
.foot-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.foot-opt label {
  display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer;
  padding: 18px 10px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); min-height: 44px;
}
.foot-opt input:checked + label { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.foot-opt input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.foot-opt img { display: block; width: auto; height: 116px; object-fit: contain; }
.foot-opt span { font-size: 13px; font-weight: 600; }
.foot-opt em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }

.fit-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
@media (max-width: 767px) { .fit-form { grid-template-columns: 1fr; } }
.fit-form label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; margin-bottom: 7px; }
.fit-form input, .fit-form select {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 14px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink);
}
.fit-form select { appearance: none; -webkit-appearance: none; padding-right: 34px; }
.fit-hint { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

.fitresult { margin-top: 30px; background: var(--espresso); color: var(--cream); padding: 30px 28px; }
.fitresult-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 190px; gap: 28px; align-items: center; }
@media (max-width: 900px) { .fitresult-grid { grid-template-columns: 1fr; gap: 20px; } }
.fr-last { font-family: var(--serif); font-size: 2.6rem; line-height: 1; letter-spacing: .04em; margin-top: 8px; }
.fr-size { font-size: 2.6rem; font-weight: 700; line-height: 1; margin-top: 8px; }
.fitresult .eyebrow { color: var(--brass); }
.fr-rows { display: flex; flex-direction: column; gap: 9px; }
.fr-row { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; font-size: 13px; color: #b7ab9b; }
.fr-bar { height: 3px; background: var(--line-dark); position: relative; }
.fr-bar i { position: absolute; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); translate: -50% 0; }
.fr-scale { display: grid; grid-template-columns: 58px 1fr; gap: 12px; font-size: 11.5px; color: #8d8577; }
.fr-scale span { display: flex; justify-content: space-between; }
.fitresult img { display: block; width: 100%; height: auto; }
.fitresult .btn { margin-top: 20px; }
.fit-static { margin-top: 30px; }

.lasttable { margin-top: 12px; }
.ltable { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
.ltable th, .ltable td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ltable thead th { border-bottom: 1px solid var(--ink); font-size: 12.5px; letter-spacing: .04em; }
.ltable tbody th { font-weight: 600; color: var(--ink); width: 118px; }
.ltable td { color: var(--ink-2); }
.ltable img { display: block; width: 100%; max-width: 200px; height: auto; }
.ltable .cell-buy { padding-top: 18px; }

.opt-compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 26px; }
@media (max-width: 767px) { .opt-compare { grid-template-columns: 1fr; } }
.optcard { border-top: 1px solid var(--ink); padding-top: 18px; }
.optcard-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.optcard-row img { display: block; width: 100%; height: auto; }
.optcard-row h4 { font-size: 14.5px; font-weight: 600; }
.optcard-row p { margin-top: 5px; font-size: 13px; color: var(--ink-2); }
.optcard-row .plus { font-size: 12.5px; color: var(--cognac); margin-top: 5px; display: block; }

.cmp-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp-table thead th { vertical-align: bottom; border-bottom: 1px solid var(--ink); }
.cmp-table tbody th { font-weight: 700; color: var(--ink); width: 120px; }
.cmp-table td { color: var(--ink-2); }
.cmp-pic { background: var(--sand-2); display: block; padding: 10px; }
.cmp-pic img { display: block; width: 100%; height: 84px; object-fit: contain; }
.cmp-name { display: block; margin-top: 10px; font-family: var(--serif); font-size: 14px; letter-spacing: .03em; color: var(--ink); }
.cmp-table .row-price td { color: var(--ink); font-weight: 700; }
.cmp-table tfoot td { border-bottom: 0; padding-top: 18px; }

.booking { background: var(--sand); }
.booking-inner { padding-block: calc(var(--section) / 2); }
.booking-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 46px; align-items: start; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; gap: 28px; } }
.booking-info dl { margin-top: 22px; display: grid; grid-template-columns: 84px 1fr; gap: 10px 16px; font-size: 13.5px; }
.booking-info dt { font-weight: 700; }
.booking-info dd { margin: 0; color: var(--ink-2); }

/* ── 폼 ─────────────────────────────────────────────────────────── */
.inquiry-form { display: grid; gap: 16px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-2 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; margin-bottom: 7px; }
.field .control {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 14px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink);
}
.field textarea.control { min-height: 116px; resize: vertical; }
.field select.control { appearance: none; -webkit-appearance: none; padding-right: 34px; }
.field .control:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.field .err { display: none; margin-top: 6px; font-size: 12.5px; color: var(--err); }
.field.invalid .control { border-color: var(--err); }
.field.invalid .err { display: block; }
.counter { margin-top: 6px; font-size: 12px; color: var(--ink-3); text-align: right; }
.agree { position: relative; padding-top: 4px; }
.agree label { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; cursor: pointer; line-height: 1.6; min-height: 44px; padding: 10px 0; }
.agree .box {
  width: 16px; height: 16px; margin-top: 3px; flex: 0 0 auto; background: #fff;
  border: 1px solid var(--ink-2); border-radius: 1px; position: relative;
}
.agree input:checked + label .box::after { content: ""; position: absolute; inset: 2px; background: var(--espresso); }
.agree .err { display: none; margin-top: 2px; font-size: 12.5px; color: var(--err); }
.agree.invalid .box { border-color: var(--err); }
.agree.invalid .err { display: block; }
.form-submit {
  min-height: 52px; background: var(--cognac); color: #f2e8dc; border: 0; border-radius: var(--radius);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.form-submit:hover { background: var(--cognac-2); }
.form-foot { font-size: 12px; color: var(--ink-3); line-height: 1.8; }

/* ═══════════════ 장바구니·주문 (cart) ═══════════════ */
.cart { padding-block: calc(var(--section) / 2); }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 46px; align-items: start; }
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; gap: 30px; } }

.ship-bar { background: var(--sand); padding: 18px 20px; }
.ship-bar p { font-size: 13.5px; }
.ship-bar b { color: var(--cognac); }
.ship-track { margin-top: 12px; height: 6px; background: #d8cfc4; position: relative; }
.ship-fill { position: absolute; inset: 0 auto 0 0; background: var(--cognac); }

.citem { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.citem-pic { background: var(--sand-2); display: grid; place-items: center; padding: 10px; }
.citem-pic img { display: block; width: 100%; height: auto; }
.citem h3 { font-family: var(--serif); font-size: 16px; letter-spacing: .03em; }
.citem-opt { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.citem-price { margin-top: 10px; font-weight: 700; font-size: 16px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); margin-top: 12px; background: #fff; }
.qty button { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; font-size: 17px; color: var(--ink); }
.qty span { min-width: 42px; text-align: center; font-size: 14px; }
.citem-drop { background: none; border: 0; cursor: pointer; color: var(--ink-3); width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center; }
.citem-drop:hover { color: var(--err); }
@media (max-width: 560px) {
  .citem { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; }
  .citem h3 { font-size: 14.5px; }
}

.cart-empty { display: none; padding: 44px 0; text-align: center; border-bottom: 1px solid var(--line); }
.cart-empty.on { display: block; }

.coupon { margin-top: 24px; }
.coupon-row { display: flex; gap: 8px; margin-top: 10px; }
.coupon-row input { flex: 1; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 14px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink); }
.coupon-msg { margin-top: 8px; font-size: 12.5px; min-height: 18px; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.no { color: var(--err); }

.summary { background: var(--sand-2); padding: 26px 24px; position: sticky; top: 92px; }
@media (max-width: 900px) { .summary { position: static; } }
.summary h2 { font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.sum-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 14px; color: var(--ink-2); }
.sum-row b { color: var(--ink); font-weight: 600; }
.sum-total { border-top: 1px solid var(--ink); margin-top: 8px; padding-top: 16px; display: flex; align-items: baseline; justify-content: space-between; }
.sum-total .price { font-size: 23px; }
.summary .btn { margin-top: 20px; }
.summary .tiny { margin-top: 14px; }

.checkout { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--ink); }
.steps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.step b { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  border-radius: 50%; border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 600; }
.step.on { color: var(--ink); }
.step.on b { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.addr-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

.tracker { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.track-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
@media (max-width: 560px) { .track-list { grid-template-columns: repeat(2, 1fr); } }
.track-step { border-top: 2px solid var(--line-2); padding-top: 12px; font-size: 13px; color: var(--ink-3); }
.track-step.done { border-top-color: var(--espresso); color: var(--ink); }
.track-step b { display: block; font-weight: 600; }
.track-step span { font-size: 12px; }
.notice-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.notice-row .ico { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; color: var(--warn); }

.myorder { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.order-card { border: 1px solid var(--line); padding: 20px 20px 16px; margin-top: 18px; }
.order-card dl { display: grid; grid-template-columns: 96px 1fr; gap: 8px 14px; font-size: 13.5px; }
.order-card dt { font-weight: 600; }
.order-card dd { margin: 0; color: var(--ink-2); }
.order-card .row-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.order-card .row-btns .btn { min-height: 44px; font-size: 13px; padding: 0 16px; }

/* ── 상태 배지 (색만으로 전달하지 않는다 · §09) ─────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; letter-spacing: .03em; padding: 3px 8px; border-radius: var(--radius);
  border: 1px solid currentColor;
}
.badge-ok { color: var(--ok); }
.badge-warn { color: var(--warn); }
.badge-out { color: var(--err); }
.badge .ico { width: 12px; height: 12px; stroke-width: 2; }

/* ── 시그니처 연출: SVG 제화공정 draw ────────────────────────────
   기본값은 「다 그려진 상태」다 — JS 가 없거나 모션을 끈 사용자에게도
   그림이 그대로 보여야 한다(§4-B 3). 향상층만 스크롤에 맞춰 그린다. */
.craft-draw path { stroke-dasharray: 1; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .js .craft-draw { view-timeline-name: --ll-draw; }
    .js .craft-draw path {
      stroke-dashoffset: 1;
      animation: ll-draw linear both;
      animation-timeline: --ll-draw;
      animation-range: entry 26% cover 62%;
    }
    .js .craft-draw path:nth-child(2) { animation-range: entry 34% cover 70%; }
    .js .craft-draw path:nth-child(3) { animation-range: entry 42% cover 78%; }
    .js .craft-draw path:nth-child(4) { animation-range: entry 50% cover 86%; }
  }
}
@keyframes ll-draw { to { stroke-dashoffset: 0; } }

/* JS 폴백(뷰 타임라인 미지원)에서만 쓰는 초기값 */
.js.no-vt .craft-draw path { stroke-dashoffset: 1; }
@media (prefers-reduced-motion: reduce) { .js.no-vt .craft-draw path { stroke-dashoffset: 0 !important; } }

/* ── 헤더 겹침 방지: 앵커 이동 여백 ───────────────────────────── */
:target { scroll-margin-top: 88px; }
[id] { scroll-margin-top: 88px; }

/* ═══════════════════════════════════════════════════════════════════
   kit 보정 — kit.css 의 `.js .js-only { display: revert }` 가 배치용
   display 를 덮어쓴다(특이도 0,2,0). 이 파일이 kit 뒤에 붙으므로
   같은 특이도로 뒤에서 되돌린다. 값만 되돌릴 뿐 동작 논리는 그대로다.
   ═══════════════════════════════════════════════════════════════════ */
.js .newarr-ctrl { display: inline-flex; align-items: center; }
.js .dots { display: flex; }
.js .stage-nav { display: flex; }
.js .gallery-thumbs { display: grid; }
.js .sel { display: inline-flex; }
.js .qty { display: inline-flex; }
.js .citem-drop { display: inline-flex; }
.js .mobile-tools { display: none; }
.js .buy-dock { display: none; }
@media (max-width: 767px) { .js .buy-dock { display: grid; } }

/* hidden 은 언제나 hidden 이다 — .js-only 와 겹칠 때 켜지는 사고를 막는다 */
[hidden] { display: none !important; }

/* 카드 안 찜 단추 자리 */
.pcard-cell { position: relative; }
.pcard-cell .wish { position: absolute; right: 0; top: 0; z-index: 2; }

/* 착화감 눈금은 두 번째 칸만 좌우로 벌린다 */
.fr-scale > span + span { display: flex; justify-content: space-between; }

/* 폼 칸이 그리드·플렉스 안에서 최소 폭을 밀어 올리지 않게 */
.addr-row .control, .coupon-row input, .finder-search input { min-width: 0; }

/* 모바일 필터 여닫기 — 사이드바 머리에 붙인다(데스크톱에는 없다) */
.open-facets { display: none; }
@media (max-width: 900px) {
  .js .open-facets { display: inline-flex; width: 100%; margin-bottom: 4px; }
  .js .facets { display: none; }
  .js .facets.open { display: block; }
}

/* 터치 판정은 화면 좌표로 중심 ±22px 을 찍는다 — 경계에 딱 걸리지 않게 46px */
@media (max-width: 767px) {
  .menu-btn, .wish, .swatch, .qty button, .citem-drop,
  .newarr-ctrl button, .stage-nav button, .finder-search button,
  .icon-btn, .drawer-close { min-width: 46px; min-height: 46px; }
}

/* 적용된 조건 표시 */
.shop-cond { color: var(--cognac); }

/* 입력 칸의 기본 고유 폭(size=20 ≈ 300px)이 좁은 화면에서 문서 폭을 밀어 올린다.
   width:100% 로 이미 늘려 두었으니 최소 폭은 풀어 준다. */
input, select, textarea { min-width: 0; }

/* 각도 단추도 터치 판정선 위로 (kit 의 44px 을 이 파일이 덮어쓰고 있었다) */
@media (max-width: 767px) { .dots button { min-height: 46px; } }

/* 입력 칸을 품은 칸(트랙)은 최소값을 0 으로 못 박는다.
   `1fr` 은 최소가 auto 라서 input 의 고유 폭(≈300px)이 그대로 문서 폭을 민다. */
.inquiry-form { grid-template-columns: minmax(0, 1fr); }
.form-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 560px) { .form-2 { grid-template-columns: minmax(0, 1fr); } }
.addr-row { grid-template-columns: minmax(0, 1fr) auto; }
.coupon-row input { flex: 1 1 0; }
.fit-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .fit-form { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .booking-grid, .cart-grid, .pdp-grid, .fitresult-grid, .craft-inner,
  .llc-grid, .opt-compare, .visit-grid, .shop-layout, .js .shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 「필터 열기」는 모바일 전용이다 — kit 의 .js .js-only 가 기본 none 을 덮어
   데스크톱에도 단추가 남아 있었다(검사기가 눌러 아코디언으로 셌다). */
.js .open-facets { display: none; }
@media (max-width: 900px) { .js .open-facets { display: inline-flex; } }

/* ═══════════════════════════════════════════════════════════════════
   실물 대조 후 손본 것들
   ═══════════════════════════════════════════════════════════════════ */

/* 무료배송 막대가 inline span 이라 높이가 먹지 않았다 */
.ship-track { display: block; }
.opt-select { display: block; }

/* 상품 사진의 자체 배경(#ebe5df 언저리)과 액자 바탕을 맞춘다 —
   어긋나면 사진 둘레에 네모 테가 비친다 */
:root { --photo: #ebe5df; --photo-2: #f4f1ed; }
.pcard-pic, .gallery-main, .cmp-pic, .citem-pic, .stage-box,
.gallery-thumbs button { background: var(--photo); }
.foot-opt label { background: var(--photo-2); }

/* 상품 격자는 시안대로 2열(4켤레 = 2×2). 「함께 보면 좋은 구두」만 3열 */
.grid-products { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
.grid-products.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-products, .grid-products.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; } }
@media (max-width: 480px) { .grid-products, .grid-products.cols-3 { grid-template-columns: 1fr; } }

/* 사이즈 칩은 시안처럼 한 줄에 다섯 칸 */
.sizes { gap: 5px; }
.size-chip label { min-width: 41px; padding: 0 4px; }

/* 시안 원본이 627px 축소본이라 사진을 크게 늘리면 뭉갠다 —
   원본 화소가 버티는 크기까지만 벌린다 */
.craft-pics { display: grid; gap: 30px; }
.craft-fig { max-width: 440px; }
.craft-fig:nth-child(2) { justify-self: end; }
@media (max-width: 900px) { .craft-fig { max-width: none; } .craft-fig:nth-child(2) { justify-self: stretch; } }
.na-pic { max-width: 660px; justify-self: center; }

/* 무JS 에서는 조작기를 확실히 감춘다.
   kit 의 `.js-only{display:none}` 과 특이도가 같은 이 파일의 배치 규칙(.dots,.qty…)이
   뒤에 놓여 덮어쓰고 있었다. 「JS 없음」일 때만 걸리는 규칙으로 못 박는다. */
html:not(.js) .js-only { display: none !important; }

/* 반대로 JS 가 있을 때는 배치용 display 를 되살린다(revert 는 inline-block 이 된다) */
.js .btn { display: inline-flex; }
.js .wish, .js .swatch { display: inline-flex; }
.js .finder-search { display: flex; }

/* 맨 끝에 한 번 더 — 「필터 열기」는 좁은 화면에서만.
   바로 위의 `.js .btn{display:inline-flex}` 와 특이도가 같아 순서가 판정한다. */
.js .open-facets { display: none; }
@media (max-width: 900px) { .js .open-facets { display: inline-flex; } }
