@charset "UTF-8";
/* ============================================================================
   조향헌 (Cho Hyang-heon) — Design System (LOCKED)
   컨셉: 전통의 격 + 현대 편집 (Premium Heritage Editorial)
   이 파일은 잠금. 페이지는 <link>로 불러 사용. 페이지 고유 스타일은 var(--*)만.
   ============================================================================ */

/* ── 폰트 로드 (CDN) ─────────────────────────────────────────────────────── */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600;700&family=Nanum+Myeongjo:wght@400;700;800&display=swap');

/* ── 디자인 토큰 ─────────────────────────────────────────────────────────── */
:root {
  /* 컬러 — 조청 딥앰버 주조 */
  --jocheong-amber: #B5741F;   /* 주조 앰버(밝은) */
  --amber-deep:     #8A5A2B;   /* 딥앰버 기본 */
  --amber-ink:      #5C3A17;   /* 앰버 다크(hover/pressed) */
  --hanji-cream:    #F7F1E4;   /* 한지 크림(섹션 배경) */
  --hanji-bg:       #FBF7EE;   /* 한지 아이보리(body 기본) */
  --ink:            #2A2622;   /* 먹빛 차콜(본문/헤드라인) */
  --ink-soft:       #4A443D;   /* 본문 보조 */
  --warm-gray:      #8C8175;   /* 캡션/메타 */
  --hong:           #9C2B2E;   /* 전통 홍(세일/품절, 극소량) */
  --gold:           #C6A15B;   /* 골드 헤어라인 */
  --gold-soft:      #E4D3AE;   /* 골드 연한 */
  --white:          #FFFFFF;
  --line:           #E7DECB;   /* 한지톤 보더 */

  /* rgb (rgba 조합용) */
  --amber-deep-rgb: 138, 90, 43;
  --ink-rgb:        42, 38, 34;
  --gold-rgb:       198, 161, 91;

  /* 타이포 */
  --font-serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --font-body:  'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  --fs-h1:      clamp(34px, 5vw, 60px);
  --fs-h2:      clamp(26px, 3.4vw, 40px);
  --fs-h3:      clamp(20px, 2.2vw, 27px);
  --fs-h4:      19px;
  --fs-body:    16px;
  --fs-sm:      14px;
  --fs-caption: 12.5px;

  /* 간격 스케일 */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 24px;  --space-6: 32px;  --space-7: 40px;  --space-8: 48px;
  --space-9: 64px;  --space-10: 80px; --space-11: 112px; --space-12: 160px;

  /* 모양 */
  --radius-sm: 6px;  --radius: 12px;  --radius-lg: 20px; --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(var(--ink-rgb), .06);
  --shadow:    0 8px 30px rgba(var(--ink-rgb), .09);
  --shadow-lg: 0 20px 60px rgba(var(--ink-rgb), .13);

  --container: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── Reset / Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink);
  background: var(--hanji-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;      /* 한글 줄바꿈 정갈 */
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 3px; border-radius: 3px; }

/* ── 타이포 ──────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--ink);
  margin: 0 0 var(--space-4);
  line-height: 1.32;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1 { font-size: var(--fs-h1); line-height: 1.2; font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p  { margin: 0 0 var(--space-4); color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }
small { font-size: var(--fs-sm); }
::selection { background: var(--gold-soft); color: var(--ink); }

.serif { font-family: var(--font-serif); }
.text-amber { color: var(--amber-deep); }
.text-hong  { color: var(--hong); }
.text-muted { color: var(--warm-gray); }

/* ── 레이아웃 유틸 ───────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: var(--space-11); }
.section--tight { padding-block: var(--space-9); }
.section--cream { background: var(--hanji-cream); }
.section--white { background: var(--white); }
.section-narrow { max-width: 760px; margin-inline: auto; }
.stack > * + * { margin-top: var(--space-4); }
.divider-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: 0; margin-block: var(--space-8); }
.eyebrow-rule { display: inline-block; width: 34px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: var(--space-3); }

/* ── 섹션 헤더 ───────────────────────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 600;
  margin: 0 0 var(--space-3);
}
.section-title { font-size: var(--fs-h2); margin: 0 0 var(--space-4); }
.section-lead { font-size: 17px; color: var(--ink-soft); max-width: 620px; line-height: 1.85; }
.section-header--center { text-align: center; }
.section-header--center .section-lead { margin-inline: auto; }

/* ── 버튼 ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  transition: all .22s var(--ease); text-align: center; line-height: 1;
}
.btn-primary { background: var(--amber-deep); color: var(--white); border-color: var(--amber-deep); }
.btn-primary:hover { background: var(--amber-ink); border-color: var(--amber-ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--hanji-bg); }
.btn-gold { background: transparent; color: var(--amber-deep); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-lg { padding: 17px 40px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ── 신뢰 배지 ───────────────────────────────────────────────────────────── */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5);
  padding: var(--space-6) var(--space-6);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.trust-badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-2); }
.trust-badge .tb-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: var(--hanji-cream); border: 1px solid var(--gold-soft);
  color: var(--amber-deep);
}
.trust-badge .tb-icon svg { width: 24px; height: 24px; }
.trust-badge .tb-label { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--ink); }
.trust-badge .tb-sub { font-size: 13px; color: var(--warm-gray); line-height: 1.5; }

/* ── 상품 카드 ───────────────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pc-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--hanji-cream); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); flex: 1; }
.pc-cat { font-size: var(--fs-caption); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-deep); font-weight: 600; }
.pc-name { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.4; margin: 0; }
.pc-desc { font-size: var(--fs-sm); color: var(--warm-gray); line-height: 1.6; margin: 0; }
.pc-price-row { display: flex; align-items: baseline; gap: var(--space-2); margin-top: auto; padding-top: var(--space-3); }
.pc-price { font-family: var(--font-body); font-size: 20px; font-weight: 700; color: var(--ink); }
.pc-price .won { font-size: 14px; font-weight: 600; margin-left: 1px; }
.pc-was { font-size: 14px; color: var(--warm-gray); text-decoration: line-through; }
/* 뱃지 */
.pc-badge { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 2;
  background: var(--hong); color: var(--white); font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: var(--radius-sm); letter-spacing: .02em; }
.pc-flag { position: absolute; top: var(--space-3); right: var(--space-3); z-index: 2;
  background: var(--amber-deep); color: var(--white); font-size: 11.5px; font-weight: 600;
  padding: 5px 11px; border-radius: var(--radius-pill); letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 4px; }
/* 품절 */
.product-card[data-soldout] .pc-media::after {
  content: "SOLD OUT"; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(var(--ink-rgb), .55); color: var(--white);
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .16em;
}
.product-card[data-soldout] { opacity: .92; }
.product-card[data-soldout]:hover { transform: none; box-shadow: var(--shadow-sm); }

/* ── 별점 / 리뷰 ─────────────────────────────────────────────────────────── */
.stars { --pct: 100%; display: inline-block; position: relative; font-size: 16px; line-height: 1; letter-spacing: 2px; font-family: Arial, sans-serif; }
/* ★ 은 인코딩 독립적인 유니코드 이스케이프로 — 외부 CSS charset 미지정 시 mojibake(â˜…) 방지 */
.stars::before { content: "\2605\2605\2605\2605\2605"; color: var(--line); }
.stars::after { content: "\2605\2605\2605\2605\2605"; color: var(--gold); position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; white-space: nowrap; }
.rating-summary { display: inline-flex; align-items: center; gap: var(--space-2); }
.rating-summary .rs-score { font-weight: 700; font-size: 16px; color: var(--ink); }
.rating-summary .rs-count { font-size: var(--fs-sm); color: var(--warm-gray); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.review-card {
  display: flex; flex-direction: column; gap: var(--space-3);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-sm); height: 100%;
}
.rc-body { font-size: 15.5px; color: var(--ink); line-height: 1.8; margin: 0; flex: 1; }
.rc-body::before { content: "“"; font-family: var(--font-serif); color: var(--gold); font-size: 30px; line-height: 0; vertical-align: -6px; margin-right: 4px; }
.rc-meta { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-sm); color: var(--warm-gray); border-top: 1px solid var(--line); padding-top: var(--space-3); }
.rc-meta .rc-author { color: var(--ink-soft); font-weight: 600; }
.rc-tag { font-size: 12px; color: var(--amber-deep); background: var(--hanji-cream); padding: 3px 9px; border-radius: var(--radius-pill); }

/* ── 제조 공정 스텝 ──────────────────────────────────────────────────────── */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); counter-reset: ps; }
.process--3 { grid-template-columns: repeat(3, 1fr); }
.process-step { position: relative; padding-top: var(--space-3); }
.process-step .ps-num {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: var(--space-4);
  border-radius: 50%; border: 1px solid var(--gold); color: var(--amber-deep);
  font-family: var(--font-serif); font-size: 18px; font-weight: 700; background: var(--white);
}
.process-step .ps-title { font-family: var(--font-serif); font-size: 19px; font-weight: 600; margin: 0 0 var(--space-2); color: var(--ink); }
.process-step .ps-desc { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.7; margin: 0; }

/* ── 필터칩 (shop) ───────────────────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.filter-chip {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  padding: 9px 18px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--line); color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.filter-chip:hover { border-color: var(--gold); color: var(--ink); }
.filter-chip.is-active, .filter-chip[aria-pressed="true"] {
  background: var(--amber-deep); border-color: var(--amber-deep); color: var(--white); font-weight: 600;
}
.filter-sort { margin-left: auto; }
.filter-sort select {
  font-family: var(--font-body); font-size: 14px; color: var(--ink);
  padding: 9px 34px 9px 16px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238C8175' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  -webkit-appearance: none; appearance: none;
}

/* ── 아코디언 (FAQ) ──────────────────────────────────────────────────────── */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  background: transparent; border: 0; padding: var(--space-5) var(--space-1);
  font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--ink); text-align: left;
}
.accordion-trigger .acc-icon { flex: none; width: 22px; height: 22px; color: var(--amber-deep); transition: transform .3s var(--ease); }
.accordion-trigger[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }
.accordion-panel { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.accordion-panel-inner { padding: 0 var(--space-1) var(--space-5); color: var(--ink-soft); line-height: 1.85; }

/* ── 갤러리 (detail) ─────────────────────────────────────────────────────── */
.gallery { display: flex; flex-direction: column; gap: var(--space-3); }
.gallery-main { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--hanji-cream); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.gallery-thumb { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; background: var(--hanji-cream); padding: 0; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb[aria-selected="true"] { border-color: var(--amber-deep); }

/* ── 정책 블록 / 스펙 표 ─────────────────────────────────────────────────── */
.policy-block { background: var(--hanji-cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-7); }
.policy-row { display: grid; grid-template-columns: 130px 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.policy-row:last-child { border-bottom: 0; }
.policy-row dt { font-family: var(--font-serif); font-weight: 600; color: var(--ink); }
.policy-row dd { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 160px; font-family: var(--font-body); font-weight: 600; color: var(--ink); background: var(--hanji-cream); }
.spec-table td { color: var(--ink-soft); }

/* ── 배너 / 오버레이 ─────────────────────────────────────────────────────── */
.banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.banner--overlay { color: var(--white); }
.banner--overlay .banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner--overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--ink-rgb), .28), rgba(var(--ink-rgb), .62)); }
.banner--overlay .banner-content { position: relative; z-index: 2; padding: var(--space-11) var(--space-8); text-align: center; }
.banner--overlay .banner-content h2, .banner--overlay .banner-content h3 { color: var(--white); }
.banner--overlay .banner-content p { color: rgba(255,255,255,.9); }

/* ── 이미지 플레이스홀더 (manifest 미확보 시) ───────────────────────────── */
.img-placeholder {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px;
  background: repeating-linear-gradient(45deg, var(--hanji-cream), var(--hanji-cream) 14px, #F1E8D6 14px, #F1E8D6 28px);
  color: var(--warm-gray); font-size: 13px; text-align: center; padding: var(--space-4);
  border: 1px dashed var(--gold-soft);
}
.img-placeholder::before { content: attr(data-slot); font-weight: 600; }

/* ── figure / figcaption (에디토리얼) ───────────────────────────────────── */
figure img { border-radius: var(--radius-lg); }
figcaption { font-size: var(--fs-sm); color: var(--warm-gray); margin-top: var(--space-3); line-height: 1.6; }
figcaption::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: var(--space-2); }

/* ── 스크롤 리빌 (IntersectionObserver — common.js) ─────────────────────── */
/* 안전망: common.js 가 로드/실행 실패해도 4초 뒤 CSS 애니메이션이 강제 노출 → 콘텐츠 실종 원천 차단.
   common.js 정상 시엔 <html>.reveal-js-ok 가 붙어 안전망을 끄고 IO 스크롤 리빌만 작동. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; animation: reveal-safety .01s linear 4s forwards; }
.reveal.is-visible { opacity: 1; transform: none; }
html.reveal-js-ok .reveal:not(.is-visible) { animation: none; }
@keyframes reveal-safety { to { opacity: 1; transform: none; } }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================================
   헤더 / 푸터 (partials.html이 사용) — LOCKED
   ============================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100; width: 100%;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  background: rgba(251, 247, 238, 0); border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(251, 247, 238, .94); backdrop-filter: saturate(180%) blur(10px); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
/* 히어로 없는 페이지: 항상 채워진 헤더 */
.site-header.header--solid { background: rgba(251, 247, 238, .96); border-bottom-color: var(--line); backdrop-filter: saturate(180%) blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-4); }
.brand-mark { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-mark .bm-ko { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.brand-mark .bm-en { font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: .28em; color: var(--amber-deep); text-transform: uppercase; margin-top: 4px; }
.gnb { display: flex; align-items: center; gap: var(--space-7); }
.gnb a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; padding-block: 4px; }
.gnb a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--amber-deep); transition: width .25s var(--ease); }
.gnb a:hover { color: var(--amber-deep); }
.gnb a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); border-radius: 50%; transition: background .2s var(--ease); }
.icon-btn:hover { background: rgba(var(--ink-rgb), .06); color: var(--amber-deep); }
.icon-btn svg { width: 22px; height: 22px; }
.nav-toggle { display: none; }

/* 모바일 드로어 */
.mobile-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-drawer .md-overlay { position: absolute; inset: 0; background: rgba(var(--ink-rgb), .45); opacity: 0; transition: opacity .3s var(--ease); }
.mobile-drawer .md-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(84vw, 340px); background: var(--hanji-bg); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .32s var(--ease); display: flex; flex-direction: column; padding: var(--space-6); }
.mobile-drawer.is-open { visibility: visible; }
.mobile-drawer.is-open .md-overlay { opacity: 1; }
.mobile-drawer.is-open .md-panel { transform: none; }
.md-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-7); }
.md-nav a { display: block; font-family: var(--font-serif); font-size: 20px; color: var(--ink); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.md-nav a:hover { color: var(--amber-deep); }
.md-foot { margin-top: auto; font-size: var(--fs-sm); color: var(--warm-gray); }
.md-foot a { color: var(--amber-deep); }
body.no-scroll { overflow: hidden; }

/* 푸터 */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: var(--space-10) var(--space-7); margin-top: var(--space-12); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-8); padding-bottom: var(--space-8); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .bm-ko { color: var(--white); font-family: var(--font-serif); font-size: 22px; font-weight: 700; }
.footer-brand .bm-en { display: block; font-size: 10px; letter-spacing: .28em; color: var(--gold); margin-top: 6px; text-transform: uppercase; }
.footer-brand p { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.85; margin-top: var(--space-4); max-width: 320px; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin: 0 0 var(--space-4); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a { color: rgba(255,255,255,.72); font-size: 14.5px; }
.footer-col a:hover { color: var(--gold); }
.footer-info { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); padding-top: var(--space-6); font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-info .fi-item { position: relative; }
.footer-copy { margin-top: var(--space-5); font-size: 12.5px; color: rgba(255,255,255,.4); }

/* ============================================================================
   반응형
   ============================================================================ */
@media (max-width: 1023px) {
  .gnb, .header-actions .icon-btn.cart-desktop { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink); border-radius: 50%; }
  .nav-toggle svg { width: 26px; height: 26px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-4); }
  .process, .process--3 { grid-template-columns: repeat(2, 1fr); gap: var(--space-7) var(--space-5); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .container { padding-inline: var(--space-5); }
  .section { padding-block: var(--space-9); }
  .section--tight { padding-block: var(--space-8); }
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .pc-body { padding: var(--space-4); }
  .pc-name { font-size: 16px; }
  .pc-price { font-size: 18px; }
  .review-grid { grid-template-columns: 1fr; }
  .spec-table th { width: 110px; padding: var(--space-3); }
  .spec-table td { padding: var(--space-3); }
  .policy-row { grid-template-columns: 1fr; gap: var(--space-1); }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .banner--overlay .banner-content { padding: var(--space-9) var(--space-5); }
  .footer-top { grid-template-columns: 1fr; gap: var(--space-7); }
  .brand-mark .bm-ko { font-size: 21px; }
}
@media (max-width: 400px) {
  .process, .process--3 { grid-template-columns: 1fr; }
}
