/* ══════════════════════════════════════════════════════════════════
   담아온 — 전통식품·명절선물
   위쪽은 공통 뼈대 키트(kit.css) 그대로. 아래쪽이 이 벌의 생김새다.
   색·활자는 00-디자인보드.png 에서 읽었다.
   ══════════════════════════════════════════════════════════════════ */

/* ── 기본 ─────────────────────────────────────────────────────────── */
*, *::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; }
img { -webkit-user-drag: none; user-select: none; }
.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: #fff; color: #222;
}
.skip-link:focus { left: 0; }

/* ── 터치 영역 ─────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .site-header a, .site-header button,
  .drawer a, .drawer button,
  .dots button, .pager button, .tab,
  button, a.btn, a[role="button"] {
    min-width: 44px; min-height: 44px;
  }
}

.scroll-x { overflow-x: auto; position: relative; -webkit-overflow-scrolling: touch; }
.clip { overflow: clip; }

/* ── 무JS 완성본 ───────────────────────────────────────────────────── */
.acc-item .acc-panel { display: block; }
.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; }

.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

html:not(.js) .js-only { display: none !important; }
:where([hidden]):not([role="tabpanel"]) { display: none !important; }

/* ── 모션 끔 ───────────────────────────────────────────────────────── */
@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; }
}

/* ── 모바일 서랍 ───────────────────────────────────────────────────── */
.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(20 12 8 / .5);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.scrim.open { opacity: 1; pointer-events: auto; }

@media (min-width: 768px) { .drawer, .scrim { display: none; } }

/* ── 토스트 ───────────────────────────────────────────────────────── */
.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; }

/* ── 폼 ───────────────────────────────────────────────────────────── */
.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 { padding-block: calc(var(--section, 96px) / 2); }
.section-lead { padding-top: var(--section, 96px); }
.section-last { padding-bottom: var(--section, 96px); }

/* ══════════════════════════════════════════════════════════════════
   여기부터 담아온
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* 00-디자인보드.png 의 다섯 색 */
  --hong: #B3202E;        /* 담아온 홍 */
  --hong-d: #8B1822;
  --chung: #0F6B6D;       /* 기품 청 */
  --chung-d: #0A4E50;
  --hanji: #F7F3EC;       /* 한지 아이보리 */
  --meok: #222222;        /* 먹색 */
  --geum: #C9A96E;        /* 전통 금색 */
  --geum-d: #A5854A;

  --paper: #FFFDF8;
  --hanji-2: #EFE9DD;
  --ink: #222222;
  --ink-2: #57514A;
  --ink-3: #8C857B;
  --line: #E2DACA;
  --line-2: #CFC3A9;

  --ok: var(--chung);
  --warn: #A5854A;
  --err: var(--hong);

  --f-head: "Noto Sans KR", Pretendard, system-ui, sans-serif;
  --f-body: "Nanum Myeongjo", "Noto Serif KR", serif;
  --f-ui: Pretendard, "Noto Sans KR", system-ui, sans-serif;

  --section: 104px;
  --wrap: 1200px;
  --r: 2px;
  --shadow: 0 3px 30px rgb(52 38 20 / .09);
  --shadow-sm: 0 1px 10px rgb(52 38 20 / .06);
}

body {
  background: var(--hanji) url("assets/tex-hanji.webp") repeat;
  background-size: 240px auto;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.85;
}

h1, h2, h3, .h-lg, .h-md, b, strong, .brand {
  font-family: var(--f-head);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
  word-break: keep-all;
}
h1, h2, h3 { margin: 0; }
p { margin: 0 0 .9em; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap.narrow { max-width: 860px; }
@media (max-width: 640px) { .wrap { padding-inline: 18px; } }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 17px; height: 17px; }
.ico-lg { width: 30px; height: 30px; stroke-width: 1.2; }
.ico-xl { width: 40px; height: 40px; stroke-width: 1; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.eyebrow {
  display: block;
  font-family: var(--f-ui);
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--geum-d);
  margin-bottom: 14px;
}
.h-lg { font-size: clamp(26px, 3.4vw, 41px); font-weight: 900; letter-spacing: -.035em; }
.h-md { font-size: clamp(20px, 2.2vw, 25px); font-weight: 900; letter-spacing: -.03em; }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); line-height: 1.9; }
.body-lg { font-size: 17px; color: var(--ink-2); }
.note { font-family: var(--f-ui); font-size: 13.5px; line-height: 1.75; color: var(--ink-3); }
.vat { font-family: var(--f-ui); font-size: 12.5px; color: var(--ink-3); margin-left: 8px; font-weight: 400; letter-spacing: 0; }

/* ── 브랜드 표식 ──────────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: flex-end; gap: 5px; text-decoration: none; }
.brand-name { font-family: var(--f-head); font-weight: 900; font-size: 25px; letter-spacing: -.05em; }
.brand-seal { width: 9px; height: 9px; background: var(--hong); margin-bottom: 7px; }

/* ── 헤더 ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(247 243 236 / .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.nav { display: flex; gap: 4px; margin-left: 26px; flex: 1; font-family: var(--f-ui); }
.nav a {
  position: relative; padding: 10px 13px; font-size: 15px; font-weight: 600;
  color: var(--ink-2); text-decoration: none; letter-spacing: -.01em;
}
.nav a:hover { color: var(--hong); }
.nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; background: var(--hong);
}
.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; color: var(--ink-2); text-decoration: none;
}
.icon-btn:hover { color: var(--hong); }
.header-cta {
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 18px; margin-left: 6px;
  background: var(--hong); color: #fff; text-decoration: none;
  font-family: var(--f-ui); font-size: 14.5px; font-weight: 600;
  border-radius: var(--r);
}
.header-cta:hover { background: var(--hong-d); }
.menu-btn {
  align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r);
  color: var(--ink); cursor: pointer;
}
@media (max-width: 900px) { .nav a { padding: 10px 9px; font-size: 14px; } .nav { margin-left: 12px; } }
@media (max-width: 767px) {
  .nav, .header-cta, .icon-btn { display: none; }
  .header-inner { min-height: 62px; justify-content: space-between; }
  .brand-name { font-size: 22px; }
}

/* ── 서랍 ─────────────────────────────────────────────────────────── */
.drawer { background: var(--paper); border-left: 1px solid var(--line); padding: 20px 22px 40px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer-close {
  font-family: var(--f-ui); font-size: 14px; color: var(--ink-2);
  background: none; border: 1px solid var(--line-2); border-radius: var(--r); padding: 0 14px; cursor: pointer;
}
.drawer-nav { display: flex; flex-direction: column; padding: 10px 0; font-family: var(--f-ui); }
.drawer-nav a {
  display: flex; align-items: center;
  padding: 14px 2px; font-size: 17px; font-weight: 600; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.drawer-nav a[aria-current] { color: var(--hong); }
.drawer-cta {
  display: flex; align-items: center; justify-content: center;
  height: 52px; margin-top: 18px;
  background: var(--chung); color: #fff; text-decoration: none;
  font-family: var(--f-ui); font-weight: 600; border-radius: var(--r);
}
.drawer-tel { margin-top: 16px; font-family: var(--f-ui); font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.drawer-tel a { color: var(--hong); font-weight: 600; }

/* ── 단추 ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  font-family: var(--f-ui); font-size: 15.5px; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid transparent; border-radius: var(--r); cursor: pointer;
  text-decoration: none; transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn-solid { background: var(--hong); color: #fff; }
.btn-solid:hover { background: var(--hong-d); }
.btn-teal { background: var(--chung); color: #fff; }
.btn-teal:hover { background: var(--chung-d); }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-plain { background: none; color: var(--ink-2); border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn-plain:hover { color: var(--hong); }
.btn-onphoto { background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .5); backdrop-filter: blur(3px); }
.btn-onphoto:hover { background: rgb(255 255 255 / .2); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn[aria-disabled="true"] { opacity: .7; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-ui); font-size: 14.5px; font-weight: 600; color: var(--hong);
  text-decoration: none; padding: 8px 0;
}
.link-arrow:hover { gap: 12px; }
.link-arrow .ico { width: 18px; height: 18px; }

/* ── 구획 머리 ────────────────────────────────────────────────────── */
.sec-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 24px;
  padding-bottom: 22px; margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.sec-head .eyebrow { flex-basis: 100%; margin-bottom: 6px; }
.sec-head .h-lg { flex: 1; }
.sec-head .note, .sec-head .result-count { margin: 0; max-width: 460px; }

/* ── 히어로 ───────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgb(24 14 10 / .82) 0 32%, rgb(24 14 10 / .55) 52%, rgb(24 14 10 / .12) 78%);
}
.hero-inner { display: flex; align-items: center; min-height: 640px; padding-block: 90px 130px; }
.hero-copy { max-width: 560px; color: #fff; }
.hero-copy .eyebrow { color: var(--geum); }
.hero h1 {
  font-size: clamp(34px, 5vw, 62px); font-weight: 900; line-height: 1.2; letter-spacing: -.045em;
  margin-bottom: 22px;
}
.hero .lead { color: rgb(255 255 255 / .88); margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767px) {
  .hero-inner { min-height: 520px; padding-block: 56px 100px; }
  .hero::after { background: linear-gradient(180deg, rgb(24 14 10 / .72) 0 60%, rgb(24 14 10 / .8)); }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ── 빠른 안내 바 ─────────────────────────────────────────────────── */
.guidebar { position: relative; z-index: 2; margin-top: -66px; }
.guide-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--paper); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.guide-item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 22px; text-decoration: none; color: inherit;
  border-left: 1px solid var(--line);
}
.guide-item:first-child { border-left: 0; }
.guide-item .ico { color: var(--geum-d); }
.guide-item b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.guide-item span { display: block; font-family: var(--f-ui); font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.guide-item:hover { background: var(--hanji-2); }
.guide-item:hover b { color: var(--hong); }
@media (max-width: 900px) {
  .guide-inner { grid-template-columns: repeat(2, 1fr); }
  .guide-item:nth-child(3) { border-left: 0; }
  .guide-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .guidebar { margin-top: -48px; }
  .guide-inner { grid-template-columns: minmax(0, 1fr); }
  .guide-item { border-left: 0; padding: 18px; }
  .guide-item:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* ── 가로 열람 ────────────────────────────────────────────────────── */
.rail { padding-bottom: 8px; }
.rail-track {
  display: flex; gap: 22px;
  padding-inline: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  padding-block: 4px 18px;
}
.rail-card { flex: 0 0 258px; }
.rail-media { display: block; aspect-ratio: 4 / 5; overflow: clip; background: var(--hanji-2); border: 1px solid var(--line); }
.rail-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s ease; }
.rail-card:hover .rail-media img { scale: 1.04; }
.rail-name { margin: 16px 0 6px; font-size: 16.5px; font-weight: 700; }
.rail-name a { text-decoration: none; }
.rail-name a:hover { color: var(--hong); }
.rail-price { margin: 0; font-family: var(--f-ui); font-size: 16px; font-weight: 700; color: var(--hong); }
@media (max-width: 640px) { .rail-card { flex-basis: 200px; } .rail-track { gap: 14px; padding-inline: 18px; } }

/* ── 에디토리얼 · 보자기 ──────────────────────────────────────────── */
.editorial { background: var(--hanji-2); border-block: 1px solid var(--line); }
.edi-inner { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 64px; align-items: center; }
.bojagi { margin: 0; }
.bojagi-frame {
  display: block; position: relative; overflow: clip;
  border: 1px solid var(--line-2);
}
.bojagi-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bojagi figcaption { margin-top: 14px; font-family: var(--f-ui); font-size: 13px; color: var(--ink-3); }

/* 시그니처 연출 — 보자기가 펼쳐지듯 마스크가 열린다.
   조상에 overflow:hidden 이 있으면 view() 진행이 얼어붙는다(§4-C 13) → .clip 을 썼다.
   미지원 브라우저는 마스크 없이 즉시 전부 보인다. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bojagi-frame {
      -webkit-mask-image: radial-gradient(120% 100% at 50% 100%, #000 var(--m, 0%), transparent calc(var(--m, 0%) + 26%));
      mask-image: radial-gradient(120% 100% at 50% 100%, #000 var(--m, 0%), transparent calc(var(--m, 0%) + 26%));
      animation: bojagi-open linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 46%;
    }
    @property --m { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
    @keyframes bojagi-open { from { --m: 0%; } to { --m: 100%; } }
  }
}

.edi-list { list-style: none; margin: 26px 0 22px; padding: 0; }
.edi-list li { padding: 14px 0; border-top: 1px solid var(--line-2); }
.edi-list b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.edi-list span { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 900px) { .edi-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; } .bojagi { max-width: 420px; } }

/* ── 붉은 띠 ──────────────────────────────────────────────────────── */
.band { background: var(--hong); color: #fff; padding-block: 56px; }
.band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; }
.band-item { display: flex; gap: 20px; align-items: flex-start; }
.band-item .ico { color: rgb(255 255 255 / .8); margin-top: 2px; }
.band-item h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.band-item p { margin: 0; font-size: 15.5px; color: rgb(255 255 255 / .84); line-height: 1.8; }
@media (max-width: 800px) { .band-inner { grid-template-columns: minmax(0, 1fr); } }

/* ── 배송 미리보기 ────────────────────────────────────────────────── */
.cal-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.cal-teaser .h-lg { margin-bottom: 18px; }
.cal-teaser .btn { margin-top: 8px; }
.cal-strip { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); }
.cal-strip li { display: flex; gap: 18px; padding: 18px 22px; border-top: 1px solid var(--line); align-items: baseline; }
.cal-strip li:first-child { border-top: 0; }
.cal-day { flex: 0 0 116px; font-family: var(--f-ui); font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: -.01em; }
.cal-strip b { font-size: 15.5px; font-weight: 700; }
.cal-strip .cal-warn { background: #FBF3F3; }
.cal-strip .cal-warn b { color: var(--hong); }
@media (max-width: 860px) { .cal-teaser { grid-template-columns: minmax(0, 1fr); gap: 30px; } .cal-day { flex-basis: 92px; } }

/* ── 안심 서비스 ──────────────────────────────────────────────────── */
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.care-item { background: var(--paper); border: 1px solid var(--line); padding: 30px 26px; }
.care-item .ico { color: var(--chung); }
.care-item h3 { font-size: 18px; margin: 16px 0 8px; }
.care-item p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 860px) { .care-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── 면 머리 ──────────────────────────────────────────────────────── */
.page-head {
  background: var(--hanji-2) url("assets/tex-branch.webp") no-repeat right -40px top -20px;
  background-size: 420px auto;
  border-bottom: 1px solid var(--line);
  padding-bottom: 52px;
}
.page-head h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; letter-spacing: -.045em; margin-bottom: 18px; }
.page-head .lead { max-width: 660px; }

/* ── 길잡이 ───────────────────────────────────────────────────────── */
.crumb { padding-block: 18px; font-family: var(--f-ui); font-size: 13px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--hong); }
.crumb span[aria-current] { color: var(--ink); }

/* ── 찾기 ─────────────────────────────────────────────────────────── */
.finder { background: var(--paper); border: 1px solid var(--line); padding: 40px 44px 34px; }
.finder-head { margin-bottom: 10px; }
.finder-head .note { margin-top: 8px; }
.q { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 14px 30px; align-items: start; padding: 26px 0; border-top: 1px solid var(--line); }
.q:first-of-type { border-top: 0; padding-top: 18px; }
.q-label { margin: 0; font-family: var(--f-head); font-size: 16.5px; font-weight: 700; }
.q-no { display: inline-block; margin-right: 10px; font-family: var(--f-ui); font-size: 14px; font-weight: 700; color: var(--geum-d); letter-spacing: .04em; }
.q .note { grid-column: 2; margin: -2px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px;
  font-family: var(--f-ui); font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  background: var(--hanji); border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--chung); border-color: var(--chung); color: #fff; }
.chip[aria-pressed="true"]::before { content: "✓"; font-size: 12px; }
.chip-ico { flex-direction: column; gap: 6px; min-width: 116px; min-height: 106px; padding: 14px 10px; }
.chip-ico .ico { color: var(--geum-d); }
.chip-ico[aria-pressed="true"] .ico { color: #fff; }
.chip-alg { min-height: 44px; padding: 0 14px; font-size: 14px; }
.finder-foot { display: flex; gap: 12px; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .finder { padding: 26px 20px 24px; }
  .q { grid-template-columns: minmax(0, 1fr); padding: 20px 0; }
  .q .note { grid-column: 1; }
  .chip-ico { min-width: 0; flex: 1 1 130px; }
}

/* ── 상품 격자 ────────────────────────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.pcard { container-type: inline-size; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.pcard-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: clip; background: var(--hanji-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-tag {
  position: absolute; left: 0; top: 0;
  padding: 6px 12px; font-family: var(--f-ui); font-size: 12px; font-weight: 600;
  background: rgb(34 34 34 / .82); color: #fff;
}
.pcard-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard-name { font-size: 17.5px; margin-bottom: 8px; }
.pcard-name a { text-decoration: none; }
.pcard-name a:hover { color: var(--hong); }
.pcard-price { margin: 0 0 14px; font-family: var(--f-ui); font-size: 19px; font-weight: 700; color: var(--hong); }
.pcard-spec { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 4px 10px; margin: 0 0 16px; font-family: var(--f-ui); font-size: 13px; line-height: 1.6; }
.pcard-spec dt { color: var(--ink-3); }
.pcard-spec dd { margin: 0; color: var(--ink-2); }
.stock { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; font-family: var(--f-ui); font-size: 13px; }
.stock-in { color: var(--chung); }
.stock-out { color: var(--hong); }
.pcard .btn { margin-top: auto; }
.pcard.is-hidden { display: none; }
/* 컨테이너 쿼리 — 카드 자신이 아니라 안쪽에 건다(§4-C 21) */
@container (max-width: 300px) {
  .pcard-spec { grid-template-columns: minmax(0, 1fr); gap: 0 0; }
  .pcard-spec dt { margin-top: 6px; }
}
@media (max-width: 980px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }

.empty { text-align: center; padding: 60px 20px; background: var(--paper); border: 1px dashed var(--line-2); }
.empty .ico { color: var(--ink-3); }
.empty p { margin: 10px 0 0; color: var(--ink-2); }
.empty .btn { margin-top: 20px; }

/* ── 비교표 ───────────────────────────────────────────────────────── */
.cmp { background: var(--paper); border: 1px solid var(--line); }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 720px; font-family: var(--f-ui); font-size: 14px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table thead th { background: var(--hanji-2); position: relative; vertical-align: bottom; }
.cmp-table thead th:first-child { width: 132px; }
.cmp-table tbody th { width: 132px; background: var(--hanji-2); font-size: 13px; color: var(--ink-2); font-weight: 600; }
.cmp-card { display: block; }
.cmp-card img { display: block; width: 100%; max-width: 190px; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); margin-bottom: 10px; }
.cmp-card b { font-size: 15px; }
.cmp-x {
  position: absolute; right: 8px; top: 8px;
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: rgb(255 253 248 / .9); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink-2); cursor: pointer;
}
.cmp-x:hover { color: var(--hong); border-color: var(--hong); }
.cmp-table [data-col].is-off, .cmp-table th.is-off { display: none; }
.cmp-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }

/* ── 표 ───────────────────────────────────────────────────────────── */
.spec-table { border-collapse: collapse; width: 100%; min-width: 640px; background: var(--paper); font-family: var(--f-ui); font-size: 14px; }
.spec-table th, .spec-table td { padding: 14px 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.spec-table thead th { background: var(--hanji-2); font-size: 13px; letter-spacing: -.01em; }
.spec-table tbody th { background: #FBF8F1; font-weight: 600; }

/* ── 아코디언 ─────────────────────────────────────────────────────── */
.acc { border-top: 1px solid var(--line-2); }
.acc-item { border-bottom: 1px solid var(--line-2); }
.acc h3, .acc-h { margin: 0; font-size: inherit; }
.acc-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 68px; padding: 18px 4px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--f-head); font-size: 17px; font-weight: 700; color: var(--ink);
}
.acc-trigger .ico { color: var(--ink-3); transition: rotate .25s ease; }
.acc-item.open .acc-trigger { color: var(--hong); }
.acc-item.open .acc-trigger .ico { rotate: 180deg; color: var(--hong); }
.acc-panel { padding: 2px 4px 26px; }
.acc-panel p { margin: 0 0 .8em; color: var(--ink-2); font-size: 16px; }
.acc-panel p:last-child { margin-bottom: 0; }
.dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0; margin: 0; font-family: var(--f-ui); font-size: 14.5px; }
.dl dt { padding: 11px 0; color: var(--ink-3); border-top: 1px solid var(--line); }
.dl dd { padding: 11px 0; margin: 0; color: var(--ink-2); border-top: 1px solid var(--line); line-height: 1.7; }
.dl dt:first-child, .dl dt:first-child + dd { border-top: 0; }
@media (max-width: 620px) { .dl { grid-template-columns: minmax(0, 1fr); } .dl dd { border-top: 0; padding-top: 0; } }

/* ── 상품 상세 ────────────────────────────────────────────────────── */
.pdp-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 56px; padding-bottom: 20px; }
.pdp-main { margin: 0; border: 1px solid var(--line); background: var(--hanji-2); overflow: clip; }
.pdp-main img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 92px; height: 74px; padding: 0; background: none; border: 1px solid var(--line); cursor: pointer; overflow: clip; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { border-color: var(--hong); outline: 1px solid var(--hong); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.badge { display: inline-flex; align-items: center; padding: 5px 11px; font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; border-radius: var(--r); }
.badge-cold { background: var(--hong); color: #fff; }
.badge-wrap { background: var(--chung); color: #fff; }
.badge-free { background: var(--hanji-2); color: var(--ink-2); border: 1px solid var(--line-2); }
.pdp-buy h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: -.04em; margin-bottom: 10px; }
.pdp-sub { font-family: var(--f-ui); font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.pdp-desc { color: var(--ink-2); margin-bottom: 22px; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; padding: 20px 0; margin: 0 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-price b { font-family: var(--f-ui); font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.opt { margin-top: 18px; }
.opt-label { display: block; font-family: var(--f-ui); font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.control {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-family: var(--f-ui); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r);
}
select.control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qty-row .opt-label { margin: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); }
.qty-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
.qty-btn:hover { color: var(--hong); }
.qty-num { min-width: 46px; text-align: center; font-family: var(--f-ui); font-size: 16px; font-weight: 700; border-inline: 1px solid var(--line-2); line-height: 48px; }
.opt-err { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 12px 14px; background: #FBF3F3; border-left: 3px solid var(--hong); font-family: var(--f-ui); font-size: 13.5px; color: var(--hong-d); line-height: 1.6; }
.pdp-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.pdp-facts { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); font-family: var(--f-ui); font-size: 14px; }
.pdp-facts li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; color: var(--ink-2); line-height: 1.65; }
.pdp-facts .ico { color: var(--geum-d); margin-top: 4px; }
.pdp-facts b { display: inline-block; min-width: 62px; color: var(--ink); font-size: 14px; }
@media (max-width: 900px) { .pdp-inner { grid-template-columns: 1fr; gap: 32px; } }

.gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.gcard-media { display: block; aspect-ratio: 4 / 3; overflow: clip; border: 1px solid var(--line); background: var(--hanji-2); }
.gcard-media img { width: 100%; height: 100%; object-fit: cover; }
.gcard-name { margin: 14px 0 6px; font-size: 16.5px; }
.gcard-name a { text-decoration: none; }
.gcard-name a:hover { color: var(--hong); }
.gcard-price { margin: 0; font-family: var(--f-ui); font-weight: 700; color: var(--hong); }
@media (max-width: 780px) { .gcards { grid-template-columns: minmax(0, 1fr); } }

/* 모바일 구매 Dock — 데스크톱에는 없다 */
.dock { display: none; }
@media (max-width: 767px) {
  .dock {
    display: flex; align-items: center; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 253 248 / .97); border-top: 1px solid var(--line-2);
  }
  .dock-price { display: flex; flex-direction: column; line-height: 1.2; margin-right: 4px; }
  .dock-price span { font-family: var(--f-ui); font-size: 11px; color: var(--ink-3); }
  .dock-price b { font-family: var(--f-ui); font-size: 16px; }
  .dock .btn { flex: 1; padding: 0 10px; font-size: 14px; }
  body[data-page="product"] .site-footer { padding-bottom: 84px; }
}

/* ── 꾸러미 빌더 ──────────────────────────────────────────────────── */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 44px; align-items: start; }
.builder-left h2 { margin-bottom: 18px; }
.singles { list-style: none; margin: 0 0 16px; padding: 0; background: var(--paper); border: 1px solid var(--line); }
.single { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.single:first-child { border-top: 0; }
.single-img { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.single-body { flex: 1; min-width: 0; }
.single-name { display: block; font-size: 16px; }
.single-meta { display: block; font-family: var(--f-ui); font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.single-price { font-family: var(--f-ui); font-size: 15px; font-weight: 700; }
.single.is-in { background: #F4F7F6; }
.single.is-in .single-add { border-color: var(--chung); color: var(--chung); }
.boxpane { background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); padding: 26px 26px 30px; position: sticky; top: 96px; }
.boxpane-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.slot-count { margin: 0; font-family: var(--f-ui); font-size: 13px; color: var(--ink-3); }
.slots { list-style: none; margin: 0; padding: 0; }
.slot { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.slot-img { width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.slot-body { flex: 1; min-width: 0; }
.slot-body b { display: block; font-size: 14.5px; }
.slot-body span { font-family: var(--f-ui); font-size: 12px; color: var(--ink-3); }
.slot-price { font-family: var(--f-ui); font-size: 14px; font-weight: 700; }
.slot-x { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink-3); cursor: pointer; }
.slot-x:hover { color: var(--hong); }
.empty-slot { padding: 26px 0; text-align: center; font-family: var(--f-ui); font-size: 14px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.sumline { display: grid; grid-template-columns: 132px minmax(0, 1fr); margin: 16px 0 0; font-family: var(--f-ui); font-size: 13.5px; }
.sumline dt { padding: 7px 0; color: var(--ink-3); }
.sumline dd { padding: 7px 0; margin: 0; color: var(--ink-2); line-height: 1.6; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 0 4px; padding-top: 16px; border-top: 1px solid var(--line-2); font-family: var(--f-ui); }
.sum-total span { font-size: 14px; color: var(--ink-2); }
.sum-total b { font-size: 26px; font-weight: 800; color: var(--hong); letter-spacing: -.03em; }
.wrapopt { margin-top: 22px; }
.swatches { display: flex; gap: 10px; }
.sw { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; font-family: var(--f-ui); font-size: 14px; font-weight: 600; background: var(--hanji); border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; color: var(--ink-2); }
.sw-dot { width: 14px; height: 14px; border-radius: 50%; }
.sw-hong .sw-dot { background: var(--hong); }
.sw-chung .sw-dot { background: var(--chung); }
.sw[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.msgbox { margin-top: 18px; }
.counter { margin: 6px 0 0; font-family: var(--f-ui); font-size: 12px; color: var(--ink-3); text-align: right; }
.boxpane .btn-block { margin-top: 18px; }
.fly { position: fixed; z-index: 90; pointer-events: none; border: 1px solid var(--line); object-fit: cover; }
@media (max-width: 940px) { .builder { grid-template-columns: minmax(0, 1fr); } .boxpane { position: static; } }
/* 좁은 폭에서는 네 칸을 한 줄에 밀어 넣지 않는다 — 이름이 세 줄로 접힌다 */
@media (max-width: 560px) {
  .single {
    display: grid; align-items: center;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas: "img body body" "img price add";
    column-gap: 12px; row-gap: 8px; padding: 14px 16px;
  }
  .single-img { grid-area: img; width: 56px; height: 56px; align-self: start; }
  .single-body { grid-area: body; }
  .single-price { grid-area: price; }
  .single-add { grid-area: add; justify-self: end; }
}

.preset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.preset { background: var(--paper); border: 1px solid var(--line); padding: 26px 24px; }
.preset h3 { font-size: 18px; margin-bottom: 8px; }
.preset-price { font-family: var(--f-ui); font-size: 20px; font-weight: 700; color: var(--hong); margin: 0 0 14px; }
.preset ul { list-style: none; margin: 0 0 14px; padding: 0; font-size: 15.5px; color: var(--ink-2); }
.preset li { padding: 5px 0; border-top: 1px dotted var(--line-2); }
.preset-alg { margin: 0; font-family: var(--f-ui); font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
@media (max-width: 860px) { .preset-grid { grid-template-columns: minmax(0, 1fr); } }

.wrapping-inner { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 56px; align-items: center; }
.wrapping-fig { margin: 0; border: 1px solid var(--line-2); overflow: clip; }
.wrapping-fig img { display: block; width: 100%; }
@media (max-width: 860px) { .wrapping-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; } .wrapping-fig { max-width: 380px; } }

/* ── 배송 캘린더 ──────────────────────────────────────────────────── */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 44px; align-items: start; }
.cal-main { background: var(--paper); border: 1px solid var(--line); padding: 30px 30px 26px; }
.cal-title { font-size: 20px; text-align: center; margin-bottom: 20px; }
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--f-ui); }
.cal th { padding: 8px 0 14px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.cal th.sun { color: var(--hong); }
.cal td { padding: 3px; text-align: center; height: 52px; vertical-align: middle; }
.cal-n { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; font-size: 14px; border-radius: 999px; }
.cal-go .cal-n { border: 1px solid var(--geum); color: var(--ink); }
.cal-due .cal-n { background: var(--chung); color: #fff; font-weight: 700; }
.cal-late .cal-n { background: var(--hanji-2); color: var(--ink-3); }
.cal-off .cal-n { background: #F6E7E7; color: var(--hong); }
.cal-blank { height: 52px; }
.cal-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-family: var(--f-ui); font-size: 13px; color: var(--ink-2); }
.cal-legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border-radius: 999px; flex: none; }
.lg-go { border: 1px solid var(--geum); }
.lg-due { background: var(--chung); }
.lg-late { background: var(--hanji-2); border: 1px solid var(--line-2); }
.lg-off { background: #F6E7E7; }
.cal-side { background: var(--paper); border: 1px solid var(--line); padding: 28px 26px; }
.cal-notes { list-style: none; margin: 18px 0 16px; padding: 0; }
.cal-notes li { position: relative; padding: 14px 0 14px 22px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); line-height: 1.75; }
.cal-notes li:first-child { border-top: 0; }
.dot { position: absolute; left: 0; top: 22px; width: 10px; height: 10px; border-radius: 50%; }
.dot-due { background: var(--chung); }
.dot-late { background: var(--geum); }
.dot-off { background: #E4B9B9; }
.dot-warn { background: var(--hong); }
@media (max-width: 900px) { .cal-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .cal-main { padding: 20px 12px 18px; }
  .cal td { height: 46px; padding: 1px; }
  .cal-n { width: 34px; height: 34px; font-size: 13px; }
}

/* ── 여러 곳 배송 ─────────────────────────────────────────────────── */
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; font-family: var(--f-ui); }
.step { display: flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--ink-3); background: var(--hanji-2); border: 1px solid var(--line); }
.step-no { font-size: 12px; letter-spacing: .06em; }
.step.is-now { background: var(--hong); border-color: var(--hong); color: #fff; }
.step.is-done { color: var(--chung); border-color: var(--chung); background: var(--paper); }
.pane { background: var(--paper); border: 1px solid var(--line); padding: 30px 32px 34px; }
.pane-h { font-size: 18px; margin-bottom: 20px; }
.addr-list { list-style: none; margin: 0 0 18px; padding: 0; }
.addr { position: relative; padding: 18px 56px 18px 0; border-top: 1px solid var(--line); }
.addr:first-child { border-top: 0; }
.addr-main { display: flex; align-items: baseline; gap: 12px; }
.addr-main b { font-size: 16.5px; }
.addr-main span { font-family: var(--f-ui); font-size: 13.5px; color: var(--ink-3); }
.addr-line { margin: 6px 0 4px; font-size: 15.5px; color: var(--ink-2); }
.addr-item { margin: 0; font-family: var(--f-ui); font-size: 13px; color: var(--chung); }
.addr-x { position: absolute; right: 0; top: 14px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-3); cursor: pointer; }
.addr-x:hover { color: var(--hong); border-color: var(--hong); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pane-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .grid2 { grid-template-columns: minmax(0, 1fr); } .pane { padding: 22px 18px 26px; } .pane-foot .btn { flex: 1; } }

.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.how { background: var(--paper); border: 1px solid var(--line); padding: 26px 22px; }
.how .ico { color: var(--geum-d); }
.how h3 { font-size: 17px; margin: 14px 0 8px; }
.how p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 980px) { .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .how-grid { grid-template-columns: minmax(0, 1fr); } }

/* ── 문의 폼 ──────────────────────────────────────────────────────── */
.inquiry-form { background: var(--paper); border: 1px solid var(--line); padding: 32px 34px 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-ui); font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.field .err { display: none; margin: 7px 0 0; font-family: var(--f-ui); font-size: 13px; color: var(--hong); }
.field.invalid .control { border-color: var(--hong); background: #FDF7F7; }
.field.invalid .err { display: block; }
.agree { position: relative; margin: 6px 0 22px; }
.agree label { display: flex; align-items: flex-start; gap: 10px; font-family: var(--f-ui); font-size: 14px; color: var(--ink-2); cursor: pointer; line-height: 1.6; }
.agree .box { width: 22px; height: 22px; flex: none; border: 1px solid var(--line-2); background: var(--paper); margin-top: 1px; }
.agree input:checked + label .box { background: var(--chung); border-color: var(--chung); }
.agree input:checked + label .box::after { content: "✓"; display: block; color: #fff; font-size: 14px; line-height: 20px; text-align: center; }
.agree .err { display: none; margin: 7px 0 0 32px; font-family: var(--f-ui); font-size: 13px; color: var(--hong); }
.agree.invalid .box { border-color: var(--hong); }
.agree.invalid .err { display: block; }
@media (max-width: 560px) { .inquiry-form { padding: 22px 18px 26px; } }

/* ── 토스트 생김새 ────────────────────────────────────────────────── */
.toast {
  max-width: min(92vw, 520px);
  padding: 14px 22px;
  background: var(--meok); color: var(--hanji);
  font-family: var(--f-ui); font-size: 14.5px; line-height: 1.6;
  border-left: 3px solid var(--geum);
  box-shadow: 0 8px 30px rgb(20 12 6 / .3);
}

/* ── 푸터 ─────────────────────────────────────────────────────────── */
.site-footer { background: #1C1A17; color: rgb(247 243 236 / .78); margin-top: 0; padding-block: 62px 40px; }
.site-footer .brand-name { color: var(--hanji); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgb(247 243 236 / .16); }
.footer-brand { margin: 0 0 12px; display: flex; align-items: flex-end; gap: 5px; }
.footer-brand .brand-name { font-size: 24px; }
.footer-tag { margin: 0; font-size: 15px; line-height: 1.8; color: rgb(247 243 236 / .6); }
.footer-h { font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--geum); margin-bottom: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; font-family: var(--f-ui); font-size: 14.5px; }
.footer-nav a { text-decoration: none; color: rgb(247 243 236 / .78); }
.footer-nav a:hover, .footer-nav a[aria-current] { color: var(--geum); }
.footer-info { display: flex; flex-direction: column; gap: 8px; font-family: var(--f-ui); font-size: 13.5px; line-height: 1.65; color: rgb(247 243 236 / .68); }
.footer-info a { color: rgb(247 243 236 / .9); }
.footer-biz { margin: 26px 0 0; font-family: var(--f-ui); font-size: 12.5px; font-style: normal; line-height: 1.9; color: rgb(247 243 236 / .5); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; font-family: var(--f-ui); font-size: 13px; }
.footer-legal a { color: rgb(247 243 236 / .8); text-decoration: none; border-bottom: 1px solid rgb(247 243 236 / .3); padding-bottom: 2px; }
.footer-legal a:hover { color: var(--geum); border-color: var(--geum); }
.footer-copy { margin: 20px 0 0; font-family: var(--f-ui); font-size: 12.5px; color: rgb(247 243 236 / .45); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ── 파도 무늬 마무리 ───────────────────────────────────────────────
   타일이 이음매 없는 무늬가 아니라 repeat 하면 세로 줄이 그대로 보인다.
   한 장만 오른쪽에 크게 깔아 이음매를 없앤다. */
.band { position: relative; overflow: clip; }
.band::before {
  content: ""; position: absolute; inset: -10% -10% -10% 40%;
  background: url("assets/tex-wave.webp") no-repeat right center;
  background-size: cover;
  opacity: .2; mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  pointer-events: none;
}
.band-inner { position: relative; }

/* ── 주의 문구 ────────────────────────────────────────────────────── */
.pcard-warn {
  display: flex; align-items: flex-start; gap: 6px;
  margin: -6px 0 12px; padding: 8px 10px;
  background: #FBF6EC; border-left: 2px solid var(--geum-d);
  font-family: var(--f-ui); font-size: 12.5px; line-height: 1.5; color: var(--warn);
}
.adult-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 14px 0 0; padding: 12px 14px;
  background: #FBF3F3; border-left: 3px solid var(--hong);
  font-family: var(--f-ui); font-size: 12.5px; line-height: 1.6; color: var(--hong-d);
}
.adult-note .ico { margin-top: 2px; }
