/* ══════════════════════════════════════════════════════════════════════
   결빛 랩 (gyeolbit lab) — 화장품·스킨케어
   윗단은 공통 뼈대 키트(동작). 아랫단이 이 벌의 생김새다.
   색·활자는 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: #0B1833;
}
.skip-link:focus { left: 0; }

/* ── 터치 영역 ─────────────────────────────────────────────────────── */
@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;
  }
  button, .btn, a[role="button"], .chip, .qty button { 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; }

.js-only { display: none; }
.js .js-only { display: revert; }

: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(11 24 51 / .42);
  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 가 적어 놓은 네 색 */
  --milk: #F7F9F7;      /* Milk White */
  --mint: #CFFFE6;      /* Mint — 보드가 적은 값. 강조 칩·표식에 쓴다 */
  --cobalt: #165DFF;    /* Cobalt */
  --navy: #0B1833;      /* Deep Navy */

  /* 보드의 실제 화면 색에서 딴 파생값 — 넓은 면에 쓰는 민트 계열 */
  --mint-wash: #EAF4F0;
  --mint-mid: #C8ECE5;
  --mint-deep: #A9D8CE;

  --ink: #0B1833;
  --ink-2: #46566F;
  --ink-3: #7A8AA0;
  --line: #E4EBE8;
  --line-2: #D3DEDA;
  --paper: #FFFFFF;

  /* 의미 색 — 색만으로 상태를 전하지 않는다. 글자·아이콘을 늘 함께 쓴다 */
  --ok: #0C7A55;
  --ok-bg: #E7F6EF;
  --warn: #9A5B00;
  --warn-bg: #FDF1DF;
  --stop: #B02A1F;
  --stop-bg: #FBEAE7;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;

  --sh-1: 0 1px 2px rgb(11 24 51 / .05);
  --sh-2: 0 2px 6px rgb(11 24 51 / .05), 0 16px 40px rgb(11 24 51 / .07);
  --sh-3: 0 24px 60px rgb(11 24 51 / .12);

  --section: 104px;
  --head-h: 72px;

  --font: "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--milk);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.32; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(100% - 40px, 1180px); margin-inline: auto; }
@media (max-width: 767px) { .wrap { width: calc(100% - 32px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  color: var(--cobalt); text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; background: var(--cobalt); border-radius: 2px;
}

.lede { font-size: 16.5px; color: var(--ink-2); }
.tiny { font-size: 13px; line-height: 1.7; color: var(--ink-3); }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 17px; height: 17px; }
.ico-lg { width: 28px; height: 28px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ── 단추 ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--r-xs);
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 8px 20px rgb(22 93 255 / .22); }
.btn-primary:hover { background: #0B4BDA; }
.btn-primary:active { background: #0940BE; }
.btn-ghost { background: transparent; color: var(--cobalt); border-color: rgb(22 93 255 / .38); }
.btn-ghost:hover { background: rgb(22 93 255 / .07); border-color: var(--cobalt); }
.btn-quiet { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { border-color: var(--ink-3); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-wide { width: 100%; }
.btn[aria-disabled="true"] { opacity: .62; pointer-events: none; }

/* ── 헤더 ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 22px rgb(11 24 51 / .05); }
.header-inner {
  width: min(100% - 40px, 1180px); margin-inline: auto;
  height: var(--head-h); display: flex; align-items: center; gap: 18px;
}
@media (max-width: 767px) { .header-inner { width: calc(100% - 24px); gap: 6px; } }

.brand { display: inline-flex; align-items: baseline; gap: 8px; margin-right: auto; }
.brand b { font-size: 21px; font-weight: 700; color: var(--cobalt); letter-spacing: -.03em; }
.brand small { font-size: 10.5px; font-weight: 500; letter-spacing: .18em; color: var(--ink-3); text-transform: uppercase; }
@media (max-width: 400px) { .brand small { display: none; } }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: var(--r-xs);
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .16s ease, background .16s ease;
}
.nav a:hover { color: var(--cobalt); background: rgb(22 93 255 / .06); }
.nav a[aria-current="page"] { color: var(--cobalt); font-weight: 700; }
/* 내비 숨김 분기는 반드시 767px — 햄버거가 나타나는 폭과 같아야 한다.
   900px 따위에 두면 768~900px 구간에 내비도 햄버거도 없는 「길잡이가 없는 폭」이 생긴다. */
@media (max-width: 1023px) { .nav a { padding: 8px 9px; font-size: 14.5px; } }
@media (max-width: 767px) { .nav { display: none; } }

.header-tools { display: flex; align-items: center; gap: 2px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 0; color: var(--ink); cursor: pointer;
  position: relative; transition: background .16s ease;
}
.icon-btn:hover { background: var(--mint-wash); }
.cart-count {
  position: absolute; top: 4px; right: 3px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--cobalt); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center;
}
.header-cta { margin-left: 6px; }
@media (max-width: 1023px) { .header-cta { display: none; } }

.menu-btn {
  align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer;
}

/* ── 서랍 ─────────────────────────────────────────────────────────── */
.drawer { background: #fff; padding: 18px 20px 32px; box-shadow: var(--sh-3); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-close { background: transparent; border: 0; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.drawer-nav { display: flex; flex-direction: column; margin: 10px 0 18px; }
.drawer-nav a {
  display: flex; align-items: center; padding: 13px 4px;
  font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line);
}
.drawer-nav a[aria-current="page"] { color: var(--cobalt); }
.drawer-cta { display: flex; }
.drawer-tel { margin-top: 14px; font-size: 14px; color: var(--ink-3); text-align: center; }
.drawer-tel a { font-weight: 700; color: var(--ink); }

/* ── 히어로 ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(168deg, #EDF5F2 0%, #DEEDE8 48%, #E7F2EE 100%);
  overflow: clip;
}
.hero-grid {
  width: min(100% - 40px, 1180px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 28px; align-items: center;
  padding: 74px 0 0;
}
.hero-copy { padding-bottom: 74px; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1.24; letter-spacing: -.035em;
  margin-bottom: 22px;
}
.hero h1 span { display: block; }
.hero-sub { font-size: 17px; color: #3D5064; max-width: 27em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-rail { display: flex; gap: 26px; margin-top: 44px; }
.hero-rail a { display: block; padding-top: 12px; border-top: 2px solid rgb(11 24 51 / .12); min-width: 76px; }
.hero-rail li:first-child a { border-top-color: var(--cobalt); }
.hero-rail b { display: block; font-size: 14px; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; }
.hero-rail li:first-child b { color: var(--cobalt); }
.hero-rail span { font-size: 12.5px; color: var(--ink-3); }
.hero-rail a:hover b, .hero-rail a:hover span { color: var(--cobalt); }

.hero-art { position: relative; align-self: end; text-align: right; }
.hero-art img { display: block; margin-left: auto; width: 100%; max-width: 516px; height: auto; }
.hero-badge {
  position: absolute; top: 6%; right: 2%;
  width: 96px; height: 96px; border-radius: 50%;
  background: rgb(149 190 181 / .92); color: #fff;
  display: grid; place-content: center; text-align: center;
  font-size: 11.5px; font-weight: 700; line-height: 1.5; letter-spacing: .04em;
}
@media (min-width: 1240px) {
  /* 시안의 히어로는 사진이 화면 오른쪽 끝에 닿는다. 칸을 바깥으로 밀어 같은 모양을 만든다.
     .hero 의 overflow:clip 이 문서 폭이 늘어나는 것을 막는다(hidden 이면 view() 가 언다). */
  .hero-art { margin-right: calc(590px - 50vw); }
}
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 48px; gap: 8px; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { text-align: center; padding-bottom: 8px; }
  .hero-art img { margin-inline: auto; max-width: 420px; }
  .hero-badge { width: 78px; height: 78px; font-size: 10.5px; right: 4%; top: 2%; }
  .hero-rail { margin-top: 32px; gap: 14px; }
  .hero-rail a { min-width: 0; }
}

/* 면 머리(홈이 아닌 면) */
.page-head { background: linear-gradient(168deg, #EEF5F3 0%, #E2EFEA 100%); padding: 56px 0 52px; }
.page-head h1 { font-size: clamp(30px, 3.6vw, 42px); margin: 12px 0 14px; }
.page-head .lede { max-width: 46em; }
.crumb { font-size: 13px; color: var(--ink-3); }
.crumb a:hover { color: var(--cobalt); }

/* ── 구획 머리 ────────────────────────────────────────────────────── */
.head { max-width: 46em; margin-bottom: 34px; }
.head h2 { font-size: clamp(24px, 2.9vw, 34px); margin: 12px 0 12px; }
.head p { font-size: 16px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.head-row .head { margin-bottom: 0; }

/* ── 피부 고민 고르개 (무JS·CSS 만으로 동작) ───────────────────────── */
.concern-band { background: #fff; }
.concern-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 46px; align-items: center; }
.concern-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 4px 0 24px; }
.concern input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.concern-chips label {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff;
  font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.concern-chips label:hover { border-color: var(--mint-deep); }
.concern input:checked + label {
  border-color: var(--cobalt); background: var(--mint); color: var(--ink); font-weight: 700;
}
.concern input:focus-visible + label { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.concern-out { border-left: 3px solid var(--mint-deep); padding-left: 20px; }
.concern-out > div { display: none; }
#cn-dry:checked  ~ .concern-out .co-dry,
#cn-sens:checked ~ .concern-out .co-sens,
#cn-tex:checked  ~ .concern-out .co-tex,
#cn-tone:checked ~ .concern-out .co-tone,
#cn-trb:checked  ~ .concern-out .co-trb { display: block; }
.concern-out h3 { font-size: 19px; margin-bottom: 8px; }
.concern-out ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.concern-out ol li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px; background: var(--mint-wash);
  font-size: 13.5px; font-weight: 600; color: #26543F;
}
.concern-out ol li b { color: var(--cobalt); font-size: 11.5px; }
.concern-art { position: relative; }
.concern-art img { display: block; width: 100%; border-radius: var(--r); }
@media (max-width: 899px) {
  .concern-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ── 강점 띠 ──────────────────────────────────────────────────────── */
.merits { background: var(--mint-wash); }
.merits ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.merit { display: flex; gap: 16px; align-items: flex-start; }
.merit-ico {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-content: center;
  background: #fff; color: var(--cobalt); box-shadow: var(--sh-1);
}
.merit h3 { font-size: 17px; margin-bottom: 4px; }
.merit p { font-size: 14px; }
@media (max-width: 899px) { .merits ul { grid-template-columns: 1fr; gap: 22px; } }

/* ── 브랜드 띠 (지그재그) ─────────────────────────────────────────── */
.story-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.story-art { position: relative; }
.story-art img { display: block; width: 100%; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 60px; box-shadow: var(--sh-2); }
.story-note {
  position: absolute; right: -22px; bottom: 26px;
  background: #fff; border-radius: var(--r-sm); padding: 12px 16px; box-shadow: var(--sh-2);
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.story h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 12px 0 18px; }
.story p + p { margin-top: 14px; }
.story dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 24px; border-top: 1px solid var(--line); padding-top: 22px; }
.story dt { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--ink-3); }
.story dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
@media (max-width: 899px) {
  .story-grid { grid-template-columns: 1fr; gap: 30px; }
  .story-note { right: 12px; bottom: 12px; }
  .story dl { grid-template-columns: 1fr 1fr; }
}

/* ── 단계 레일 (점선 연결) ────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.step {
  background: #fff; border-radius: var(--r); padding: 16px 16px 20px;
  box-shadow: var(--sh-1); border: 1px solid var(--line);
  position: relative;
}
.step img { display: block; width: 100%; height: 118px; object-fit: cover; border-radius: var(--r-sm); background: #F2F5F4; border: 1px solid var(--line); }
.step b { display: block; margin: 14px 0 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--cobalt); }
.step h3 { font-size: 17px; margin-bottom: 5px; }
.step p { font-size: 13.5px; }
.step-link { position: absolute; inset: 0; border-radius: var(--r); }
.step:hover { box-shadow: var(--sh-2); }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 359px) { .steps { grid-template-columns: 1fr; } }

/* ── 여정 띠 ──────────────────────────────────────────────────────── */
.journey { background: #fff; border-top: 1px solid var(--line); }
.journey ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.journey li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; position: relative; }
.journey li + li::before {
  content: ""; position: absolute; left: -50%; top: 27px; width: 100%; height: 1px;
  background: repeating-linear-gradient(to right, var(--line-2) 0 5px, transparent 5px 10px);
}
.j-ico {
  width: 54px; height: 54px; border-radius: 50%; background: var(--mint-wash); color: var(--cobalt);
  display: grid; place-content: center; position: relative; z-index: 1;
}
.journey h3 { font-size: 16px; }
.journey p { font-size: 13px; }
@media (max-width: 599px) {
  .journey ol { grid-template-columns: 1fr 1fr; gap: 24px 10px; }
  .journey li:nth-child(3)::before { display: none; }
}

/* ── 고지 상자 ────────────────────────────────────────────────────── */
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--mint-deep);
  border-radius: var(--r-sm); padding: 18px 20px;
}
.notice svg { color: var(--ink-3); margin-top: 3px; }
.notice h3 { font-size: 15px; margin-bottom: 5px; }
.notice p { font-size: 13.5px; line-height: 1.75; }
.notice p + p { margin-top: 6px; }
.notice-warn { border-left-color: var(--warn); background: var(--warn-bg); }
.notice-warn svg { color: var(--warn); }

/* ── 필터 칩 ──────────────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.filters input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filters label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 9px 18px;
  border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.filters label:hover { border-color: var(--mint-deep); }
.filters input:checked + label { border-color: var(--cobalt); background: var(--cobalt); color: #fff; font-weight: 700; }
.filters input:focus-visible + label { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.filter-note { font-size: 13px; color: var(--ink-3); margin-top: 12px; }

@supports selector(:has(*)) {
  .shop:has(#f-dry:checked)  .p-card:not([data-c~="dry"]),
  .shop:has(#f-sens:checked) .p-card:not([data-c~="sens"]),
  .shop:has(#f-tex:checked)  .p-card:not([data-c~="tex"]),
  .shop:has(#f-tone:checked) .p-card:not([data-c~="tone"]),
  .shop:has(#f-trb:checked)  .p-card:not([data-c~="trb"]) { display: none; }
}

/* ── 상품 카드 ────────────────────────────────────────────────────── */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 899px) { .products { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 519px) { .products { grid-template-columns: 1fr; } .p-shot { height: 186px; } .p-shot img { max-height: 158px; } }

.p-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: clip; display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}
.p-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.p-shot {
  display: block; height: 232px; background: linear-gradient(170deg, #EEF6F3, #DFEFEA);
  display: grid; place-items: center; padding: 14px;
}
.p-shot img { display: block; max-height: 204px; width: auto; object-fit: contain; }
.p-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.p-tags span {
  font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: var(--mint-wash); color: #2A5A46;
}
.p-card h3 { font-size: 18px; margin-bottom: 4px; }
.p-card .p-desc { font-size: 13.5px; min-height: 2.6em; }
.p-key { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.p-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 12px; }
.p-price b { font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.p-price small { font-size: 12.5px; color: var(--ink-3); }
.p-state { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; margin-bottom: 12px; }
.p-state.is-ok { color: var(--ok); }
.p-state.is-soon { color: var(--warn); }
.p-actions { display: flex; gap: 8px; margin-top: auto; }
.p-actions .btn { flex: 1; }

.acc { border-top: 1px solid var(--line); margin-top: 14px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 2px; background: transparent; border: 0; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink); text-align: left;
}
.acc-trigger svg { transition: rotate .2s ease; color: var(--ink-3); }
.acc-item.open .acc-trigger svg { rotate: 180deg; }
.acc-panel { padding: 2px 2px 16px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.acc-panel dt { font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; margin-top: 8px; }
.acc-panel dd { margin: 2px 0 0; }

/* ── 비교표 ───────────────────────────────────────────────────────── */
.compare { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 4px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare caption { text-align: left; padding: 14px 18px 8px; font-size: 13px; color: var(--ink-3); }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 16px; color: var(--ink); border-bottom: 2px solid var(--line-2); }
.compare thead th img { display: block; width: 62px; height: 78px; object-fit: contain; margin-bottom: 8px; background: var(--mint-wash); border-radius: var(--r-xs); padding: 4px; }
.compare tbody th { width: 116px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .vs { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-3); width: 44px; }

/* ── 성분 그래프 ──────────────────────────────────────────────────── */
.graph-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; overflow: clip; }
.graph { display: block; width: 100%; height: auto; }
.graph-link { fill: none; stroke: #BFD3CD; stroke-width: 1.6; stroke-dasharray: var(--len) var(--len); stroke-dashoffset: 0; }
.graph-node circle { stroke: #fff; stroke-width: 2.5; }
.graph-node text { font-family: var(--font); font-weight: 700; fill: #fff; text-anchor: middle; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.legend li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .graph-link {
      stroke-dashoffset: var(--len);
      animation: draw-line linear both;
      animation-timeline: view();
      animation-range: entry 26% cover 46%;
    }
  }
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

/* ── 충돌 검사기 ──────────────────────────────────────────────────── */
.checker { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.checker-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; }
.checker-row .x { padding-bottom: 13px; font-weight: 700; color: var(--ink-3); }
.field-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 7px; }
select.control, input.control, textarea.control {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-xs);
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; min-height: 46px;
}
select.control:focus, input.control:focus, textarea.control:focus { outline: 2px solid var(--cobalt); outline-offset: 1px; border-color: var(--cobalt); }
.verdict { margin-top: 20px; border-radius: var(--r-sm); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.verdict h3 { font-size: 16px; margin-bottom: 4px; }
.verdict p { font-size: 14px; }
.v-ok { background: var(--ok-bg); color: var(--ok); }
.v-warn { background: var(--warn-bg); color: var(--warn); }
.v-stop { background: var(--stop-bg); color: var(--stop); }
.verdict h3, .verdict p { color: inherit; }
@media (max-width: 599px) {
  .checker-row { grid-template-columns: 1fr; }
  .checker-row .x { padding: 0; text-align: center; }
}

.matrix { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.matrix th, .matrix td { border: 1px solid var(--line); padding: 11px 12px; font-size: 13.5px; text-align: center; }
.matrix thead th { background: var(--mint-wash); font-size: 12.5px; color: var(--ink); }
.matrix tbody th { background: var(--mint-wash); text-align: left; font-size: 13px; white-space: nowrap; }
.mk { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 12.5px; }
.mk-ok { color: var(--ok); }
.mk-warn { color: var(--warn); }
.mk-self { color: var(--ink-3); }

/* ── 표 (일반) ───────────────────────────────────────────────────── */
.tbl { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.tbl caption { text-align: left; padding: 0 0 12px; font-size: 13px; color: var(--ink-3); }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--mint-wash); font-size: 13px; color: var(--ink); font-weight: 700; }
.tbl tbody th { font-weight: 700; color: var(--ink); }
.tbl-box { border: 1px solid var(--line); border-radius: var(--r); overflow: clip; }

/* ── 루틴 만들기 ─────────────────────────────────────────────────── */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.quiz legend { padding: 0; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.quiz legend b { color: var(--cobalt); font-size: 13px; margin-right: 8px; letter-spacing: .08em; }
.opts { display: flex; flex-wrap: wrap; gap: 9px; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px;
  border-radius: var(--r-xs); border: 1.5px solid var(--line-2); background: #fff;
  font-size: 14.5px; color: var(--ink-2); cursor: pointer; transition: all .16s ease;
}
.opts label:hover { border-color: var(--mint-deep); }
.opts input:checked + label { border-color: var(--cobalt); background: var(--mint); color: var(--ink); font-weight: 700; }
.opts input:focus-visible + label { outline: 2px solid var(--cobalt); outline-offset: 2px; }

.builder { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 899px) { .builder { grid-template-columns: 1fr; } }
.rt { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px 26px; }
.rt > header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.rt h3 { font-size: 19px; }
.rt > p { font-size: 13.5px; margin-bottom: 16px; }
.rt ol { display: flex; flex-direction: column; gap: 10px; }
.rt-step {
  display: flex; gap: 14px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; background: #FCFDFD;
}
.rt-no { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: #16493A; display: grid; place-content: center; font-size: 12.5px; font-weight: 700; }
.rt-step h4 { font-size: 15px; margin-bottom: 2px; }
.rt-step p { font-size: 12.5px; }
.rt-opt { margin-left: auto; }
.rt-total { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.rt-total b { font-size: 19px; color: var(--ink); }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
/* `.js-only { display:none }` 은 뼈대에 먼저 적혀 있어 뒤에 온 `.toggles{display:flex}` 에 진다.
   무JS 에서 「눌러도 반응 없는 단추」가 남으므로 같은 특정도로 다시 못 박는다. */
.toggles.js-only { display: none; }
.js .toggles.js-only { display: flex; }
.toggles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggles label {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 15px;
  border-radius: 999px; border: 1.5px solid var(--line-2); font-size: 13.5px; cursor: pointer; background: #fff;
}
.toggles input:checked + label { border-color: var(--cobalt); background: rgb(22 93 255 / .07); color: var(--cobalt); font-weight: 700; }
.toggles input:focus-visible + label { outline: 2px solid var(--cobalt); outline-offset: 2px; }

/* ── 정기배송 ────────────────────────────────────────────────────── */
.subs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 30px; align-items: start; }
@media (max-width: 899px) { .subs { grid-template-columns: 1fr; } }
.cycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cycle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cycle label {
  display: block; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 16px;
  background: #fff; cursor: pointer; text-align: center; transition: all .16s ease; min-height: 44px;
}
.cycle input:checked + label { border-color: var(--cobalt); background: rgb(22 93 255 / .06); box-shadow: 0 0 0 1px var(--cobalt) inset; }
.cycle input:focus-visible + label { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.cycle b { display: block; font-size: 17px; color: var(--ink); }
.cycle span { font-size: 12.5px; color: var(--cobalt); font-weight: 700; }
.subs-out { background: var(--mint-wash); border-radius: var(--r); padding: 22px 24px; }
.subs-out dl { display: flex; flex-direction: column; gap: 10px; }
.subs-out div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.subs-out dt { color: var(--ink-2); }
.subs-out dd { margin: 0; font-weight: 700; color: var(--ink); }
.subs-out .sum { border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 4px; }
.subs-out .sum dd { color: var(--cobalt); font-size: 18px; }

/* ── Before / After ──────────────────────────────────────────────── */
.ba-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba figure { margin: 0; }
.ba img { display: block; width: 100%; border-radius: var(--r-sm); }
.ba figcaption { font-size: 12.5px; font-weight: 700; color: var(--ink-3); margin-top: 8px; text-align: center; }

.js .ba { position: relative; display: block; width: min(100%, 250px); margin-inline: auto; aspect-ratio: 46 / 80; border-radius: var(--r-sm); overflow: clip; }
.js .ba figure { position: absolute; inset: 0; }
.js .ba figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.js .ba .ba-after { clip-path: inset(0 0 0 var(--split, 50%)); }
.js .ba figcaption {
  position: absolute; top: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgb(11 24 51 / .62); color: #fff; margin: 0; font-size: 11.5px;
}
.js .ba .ba-before figcaption { left: 10px; }
.js .ba .ba-after figcaption { right: 10px; }
.js .ba::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--split, 50%);
  width: 2px; background: #fff; box-shadow: 0 0 0 1px rgb(11 24 51 / .18); pointer-events: none;
}
.ba-ctl { margin-top: 16px; }
.ba-ctl input[type="range"] { width: 100%; height: 44px; accent-color: var(--cobalt); }
.ba-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ba-meta dt { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); }
.ba-meta dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ba-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 899px) { .ba-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ── 리뷰 ────────────────────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 899px) { .reviews { grid-template-columns: 1fr; } }
.rv { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column; }
.rv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rv-tags span { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--mint-wash); color: #2A5A46; }
.rv blockquote { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.8; }
.rv-by { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.rv-sum { background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r); padding: 22px 24px; }
.rv-sum h3 { font-size: 16px; margin-bottom: 6px; }
.rv-sum p { font-size: 14px; }

/* ── 폼 ──────────────────────────────────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px 30px; }
.inquiry-form .field { margin-bottom: 16px; }
.inquiry-form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 7px; }
.inquiry-form .err { display: none; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--stop); }
.inquiry-form .field.invalid .control { border-color: var(--stop); background: var(--stop-bg); }
.inquiry-form .field.invalid .err { display: block; }
.inquiry-form .counter { margin-top: 6px; font-size: 12px; color: var(--ink-3); text-align: right; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 599px) { .form-2 { grid-template-columns: 1fr; } }
.agree { position: relative; margin: 6px 0 18px; }
.agree label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; margin: 0; }
.agree .box { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--line-2); border-radius: 5px; background: #fff; margin-top: 2px; position: relative; }
.agree input:checked + label .box { background: var(--cobalt); border-color: var(--cobalt); }
.agree input:checked + label .box::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg;
}
.agree.invalid .box { border-color: var(--stop); }
.agree .err { display: none; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--stop); }
.agree.invalid .err { display: block; }
.form-submit {
  width: 100%; padding: 15px 24px; border: 0; border-radius: var(--r-xs);
  background: var(--cobalt); color: #fff; font-family: inherit; font-size: 15.5px; font-weight: 700;
  cursor: pointer; min-height: 48px;
}
.form-submit:hover { background: #0B4BDA; }

/* ── 장바구니 ────────────────────────────────────────────────────── */
.cart-panel {
  position: fixed; inset: 0 0 0 auto; width: min(92vw, 400px); z-index: 70;
  background: #fff; box-shadow: var(--sh-3);
  transform: translateX(100%); transition: transform .28s ease; visibility: hidden;
  display: flex; flex-direction: column;
}
.cart-panel.open { transform: none; visibility: visible; }
.cart-scrim { position: fixed; inset: 0; z-index: 65; background: rgb(11 24 51 / .42); opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.cart-scrim.open { opacity: 1; pointer-events: auto; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 18px; }
.cart-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-empty { text-align: center; padding: 40px 0; }
.cart-empty p { font-size: 14px; margin-bottom: 16px; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 56px; height: 68px; object-fit: contain; background: var(--mint-wash); border-radius: var(--r-xs); }
.cart-line h3 { font-size: 14.5px; margin-bottom: 2px; }
.cart-line .sz { font-size: 12px; color: var(--ink-3); }
.cart-line .pr { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 6px; }
.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; margin-top: 8px; }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; color: var(--ink); font-size: 16px; cursor: pointer; border-radius: 50%; }
.qty span { min-width: 24px; text-align: center; font-size: 14px; font-weight: 700; color: var(--ink); }
.cart-del { background: transparent; border: 0; color: var(--ink-3); cursor: pointer; padding: 4px; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: #FCFDFD; }
.cart-foot dl { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cart-foot div { display: flex; justify-content: space-between; font-size: 14px; }
.cart-foot dd { margin: 0; font-weight: 700; color: var(--ink); }
.cart-foot .sum dd { color: var(--cobalt); font-size: 19px; }
.cart-gift { background: var(--mint-wash); border-radius: var(--r-sm); padding: 12px 14px; font-size: 13px; color: #26543F; margin-bottom: 14px; }

.buy-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgb(255 255 255 / .97); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 -6px 24px rgb(11 24 51 / .07);
}
.buy-dock .d-sum { font-size: 13px; }
.buy-dock .d-sum b { display: block; font-size: 16px; color: var(--ink); }
.buy-dock .btn { margin-left: auto; }
@media (min-width: 768px) { .buy-dock { display: none; } }

/* ── 푸터 ────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #A9B7CB; padding: 58px 0 40px; margin-top: 0; }
.footer-inner { width: min(100% - 40px, 1180px); margin-inline: auto; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 34px; padding-bottom: 32px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.footer-brand b { display: block; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.footer-brand small { display: block; font-size: 11px; letter-spacing: .2em; color: #7C8CA5; margin-top: 3px; text-transform: uppercase; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; margin-top: 14px; max-width: 30em; }
.site-footer h3 { font-size: 13px; color: #fff; letter-spacing: .08em; margin-bottom: 12px; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a { font-size: 14px; color: #A9B7CB; }
.footer-nav a:hover { color: #fff; }
.footer-info { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-info a:hover { color: #fff; }
.footer-biz { font-style: normal; font-size: 12.5px; line-height: 1.9; color: #8494AC; margin-top: 26px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 12.5px; }
.footer-legal a:hover { color: #fff; }
.footer-copy { margin-top: 16px; font-size: 12.5px; color: #6E7E97; }
@media (max-width: 767px) { .footer-top { grid-template-columns: 1fr; gap: 26px; } }

/* ── 격자 칸 최소 폭 ─────────────────────────────────────────────
   넓은 표(min-width 560px)가 든 칸은 `min-width:auto` 때문에 min-content 로 부풀어
   문서 폭을 통째로 밀어낸다. `.scroll-x` 를 씌워도 **칸 자체가** 부푼 것이라 안 고쳐진다.
   격자 칸에 `min-width:0` 을 주어야 안쪽 스크롤 상자가 제 일을 한다. */
.subs > *, .ba-grid > *, .builder > *, .concern-grid > *, .story-grid > *,
.checker-row > *, .products > *, .steps > *, .reviews > *,
.merits ul > *, .journey ol > *, .cycle > *, .form-2 > * { min-width: 0; }

.toast {
  background: var(--navy); color: #fff; border-radius: 999px;
  padding: 12px 22px; font-size: 14px; font-weight: 500;
  box-shadow: var(--sh-3); max-width: min(92vw, 460px); text-align: center;
}
