/* GOATBUY prototype — design system
   Brand: logo orange #F0510E + warm black. Light premium. */
:root {
  --brand: #F0510E;          /* logo orange: fills, marks, large accents */
  --brand-600: #CF420A;      /* buttons & links (AA on white) */
  --brand-700: #A93506;
  --brand-50: #FFF3EC;
  --brand-100: #FFE3D3;
  --ink: #16110E;
  --ink-2: #3B332E;
  --muted: #6B625C;
  --faint: #9A918B;
  --bg: #FAF8F6;
  --surface: #FFFFFF;
  --sunken: #F3EFEB;
  --line: #E9E3DE;
  --line-2: #DCD4CD;
  --ok: #1C7F45;   --ok-50: #E8F5EC;
  --warn: #9A6200; --warn-50: #FDF3E1;
  --bad: #BE2A23;  --bad-50: #FCEBEA;
  --info: #2457C5; --info-50: #EAF0FC;
  --r-sm: 8px; --r: 12px; --r-lg: 16px;
  --sh-1: 0 1px 2px rgba(22,17,14,.06), 0 2px 8px rgba(22,17,14,.04);
  --sh-2: 0 6px 24px rgba(22,17,14,.10), 0 2px 6px rgba(22,17,14,.05);
  --sh-3: 0 24px 60px rgba(22,17,14,.18), 0 6px 16px rgba(22,17,14,.08);
  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100dvh; display: flex; flex-direction: column;
}
main { flex: 1; outline: none; }
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.4vw, 52px); }
h2 { font-size: clamp(24px, 2.6vw, 34px); }
h3 { font-size: 19px; letter-spacing: -.015em; }
h4 { font-size: 15px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.num, td, .price { font-variant-numeric: tabular-nums; }
* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 2px solid var(--bg); }
input, select, textarea, button { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input, textarea { caret-color: var(--brand-600); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.stars svg.off { fill: none; color: var(--line-2); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.center { text-align: center; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.sp { flex: 1; }
.hide { display: none !important; }
.nowrap { white-space: nowrap; }
.mt0 { margin-top: 0 } .mt8 { margin-top: 8px } .mt16 { margin-top: 16px } .mt24 { margin-top: 24px } .mt32 { margin-top: 32px }
.mb0 { margin-bottom: 0 } .mb8 { margin-bottom: 8px } .mb16 { margin-bottom: 16px } .mb24 { margin-bottom: 24px }
svg.lucide { width: 18px; height: 18px; stroke-width: 1.9; flex: none; }
.ico-lg svg.lucide, svg.lucide.lg { width: 22px; height: 22px; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--surface); --b-fg: var(--ink); --b-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 10px; cursor: pointer;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  font-weight: 600; font-size: 14.5px; white-space: nowrap; text-decoration: none !important;
  transition: background .18s var(--ease-out), border-color .18s var(--ease-out), transform .12s var(--ease-out), box-shadow .18s var(--ease-out);
  user-select: none; -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--sunken); }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.primary { --b-bg: var(--brand-600); --b-fg: #fff; --b-bd: var(--brand-600); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 2px 6px rgba(207,66,10,.25); }
.btn.primary:hover { background: var(--brand-700); border-color: var(--brand-700); }
.btn.dark { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); }
.btn.dark:hover { background: #2C241F; }
.btn.ghost { --b-bg: transparent; --b-bd: transparent; }
.btn.ghost:hover { background: var(--sunken); }
.btn.danger { --b-fg: var(--bad); --b-bd: #EBC9C6; }
.btn.danger:hover { background: var(--bad-50); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 8px; }
.btn.lg { min-height: 52px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn.icon { width: 42px; padding: 0; }
.btn.icon.sm { width: 34px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand-600); font-weight: 600; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }

/* ---------- form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.field .err { font-size: 12.5px; color: var(--bad); }
.input, .select, .textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--surface); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: #C9BFB7; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(240,81,14,.16); }
.input.invalid { border-color: var(--bad); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B625C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-600); flex: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.input-group { display: flex; }
.input-group .input { border-radius: 10px 0 0 10px; }
.input-group .addon { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-left: 0; border-radius: 0 10px 10px 0; background: var(--sunken); color: var(--muted); font-size: 13px; }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.card.pad-lg { padding: 28px; }
.card.flat { box-shadow: none; }
.card h3:first-child, .card h2:first-child { margin-top: 0; }
.card-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-hd h3 { margin: 0; }
a.card, .card.link { color: inherit; text-decoration: none; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s; }
a.card:hover, .card.link:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: transparent; }
.panel { background: var(--sunken); border-radius: var(--r); padding: 16px; }
.divider { height: 1px; background: var(--line); margin: 18px 0; border: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--sunken); color: var(--ink-2); white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge.plain::before { display: none; }
.badge.ok { background: var(--ok-50); color: var(--ok); }
.badge.warn { background: var(--warn-50); color: var(--warn); }
.badge.bad { background: var(--bad-50); color: var(--bad); }
.badge.info { background: var(--info-50); color: var(--info); }
.badge.brand { background: var(--brand-50); color: var(--brand-700); }
.badge.dark { background: var(--ink); color: #fff; }

.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--sunken); font-size: 13.5px; color: var(--ink-2); align-items: flex-start; }
.note svg { margin-top: 2px; }
.note.warn { background: var(--warn-50); color: #6F4700; }
.note.info { background: var(--info-50); color: #1D438F; }
.note.brand { background: var(--brand-50); color: #7A2A05; }
.note.bad { background: var(--bad-50); color: #8A1E19; }
.note.ok { background: var(--ok-50); color: #145C32; }
.note p:last-child { margin: 0; }

.plat { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; color: #fff; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-weight: 600; font-size: 12.5px; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); background: #FCFBFA; white-space: nowrap; }
table.t td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr.click { cursor: pointer; transition: background .12s; }
table.t tr.click:hover td { background: #FCFAF8; }
.thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--sunken); border: 1px solid var(--line); flex: none; }
.thumb.lg { width: 72px; height: 72px; border-radius: 10px; }
.thumb.ph { display: grid; place-items: center; color: var(--faint); }

/* ---------- header ---------- */
.announce { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 8px var(--gut); }
.announce a { color: #FFB892; }
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-top { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none !important; }
.brand img.ic { width: 36px; height: 36px; border-radius: 9px; }
.brand img.wm { height: 19px; width: auto; }
.hdr-search { flex: 1; max-width: 520px; position: relative; }
.hdr-search .input { padding-left: 40px; min-height: 40px; background: var(--sunken); border-color: transparent; }
.hdr-search .input:focus { background: #fff; }
.hdr-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.hdr-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--ink); background: none; border: 0; cursor: pointer; transition: background .15s; }
.icon-btn:hover { background: var(--sunken); text-decoration: none; }
.icon-btn:active { transform: scale(.95); }
.dot { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand-600); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.hdr-nav { display: flex; gap: 2px; height: 46px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.hdr-nav::-webkit-scrollbar { display: none; }
.hdr-nav a { position: relative; display: flex; align-items: center; gap: 7px; padding: 0 12px; color: var(--ink-2); font-weight: 500; font-size: 14px; white-space: nowrap; text-decoration: none; }
.hdr-nav a svg { width: 16px; height: 16px; color: var(--muted); }
.hdr-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.hdr-nav a:hover { color: var(--ink); }
.hdr-nav a:hover::after { transform: scaleX(.4); }
.hdr-nav a.on { color: var(--ink); font-weight: 600; }
.hdr-nav a.on::after { transform: scaleX(1); }
.hdr-nav a.on svg { color: var(--brand-600); }
.hdr-nav .sep { width: 1px; background: var(--line); margin: 12px 8px; flex: none; }
.menu-btn { display: none; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: 13.5px; }
.user-chip:hover { background: var(--sunken); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.avatar.brand { background: var(--brand); }

.dropdown { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3); padding: 6px; z-index: 60; transform-origin: top right; animation: pop .18s var(--ease-out); }
.dropdown a, .dropdown button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; background: none; border: 0; cursor: pointer; text-align: left; text-decoration: none; }
.dropdown a:hover, .dropdown button:hover { background: var(--sunken); }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(-4px); } }

.mnav { position: fixed; inset: 0; z-index: 70; background: #fff; padding: 16px var(--gut) 32px; overflow-y: auto; animation: fade .2s var(--ease-out); }
.mnav a { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 600; text-decoration: none; }
@keyframes fade { from { opacity: 0; } }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #CFC6BF; margin-top: 72px; padding: 56px 0 28px; font-size: 14px; }
.ftr a { color: #EDE6E0; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.ftr h4 { color: #fff; font-size: 13px; letter-spacing: .02em; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr-logo { background: #fff; border-radius: 14px; padding: 10px; width: 92px; margin-bottom: 14px; }
.ftr-bottom { border-top: 1px solid #2E2621; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #A39890; }

/* ---------- hero / home ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(1200px 420px at 50% -10%, #FFE9DC 0%, rgba(255,233,220,0) 70%), var(--bg); }
.hero-mark { position: absolute; right: -90px; top: 40px; width: 420px; opacity: .07; pointer-events: none; }
.hero-in { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); letter-spacing: -.035em; line-height: 1.02; }
.hero h1 em { font-style: italic; font-weight: 900; color: var(--brand); }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 620px; margin: 0 auto 30px; }
.bigsearch { display: flex; gap: 8px; padding: 8px; background: #fff; border-radius: 18px; box-shadow: var(--sh-3); border: 1px solid var(--line); max-width: 760px; margin: 0 auto; }
.bigsearch .in { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 12px; min-width: 0; }
.bigsearch .in svg { color: var(--brand-600); width: 22px; height: 22px; }
.bigsearch input { border: 0; outline: 0; width: 100%; min-height: 52px; font-size: 16px; background: transparent; }
.bigsearch .btn { min-height: 54px; padding: 0 26px; border-radius: 12px; font-size: 16px; }
.plats { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.plats .chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hero-facts { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 34px; color: var(--ink-2); font-size: 14px; }
.hero-facts span { display: inline-flex; gap: 8px; align-items: center; }
.hero-facts svg { color: var(--brand-600); }
[data-enter] > * { animation: rise .7s var(--ease-out) both; }
[data-enter] > *:nth-child(2) { animation-delay: .06s; } [data-enter] > *:nth-child(3) { animation-delay: .12s; }
[data-enter] > *:nth-child(4) { animation-delay: .18s; } [data-enter] > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }

.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sec.tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sec-hd p { color: var(--muted); max-width: 560px; margin: 0; }

.journey { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.journey .st { position: relative; padding: 0 14px; text-align: center; }
.journey .st .ic { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--sh-1); color: var(--brand-600); position: relative; }
.journey .st .ic svg { width: 24px; height: 24px; }
.journey .st .ic .pulse { position: absolute; inset: -5px; border-radius: 20px; border: 2px solid var(--brand); opacity: 0; animation: ring 4s var(--ease-out) infinite; }
.journey .st:nth-child(2) .pulse { animation-delay: 1s; } .journey .st:nth-child(3) .pulse { animation-delay: 2s; } .journey .st:nth-child(4) .pulse { animation-delay: 3s; }
@keyframes ring { 0% { opacity: .9; transform: scale(.9); } 25%, 100% { opacity: 0; transform: scale(1.18); } }
.journey h3 { font-size: 17px; }
.journey p { color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.rate-card { background: var(--ink); color: #fff; border-radius: 22px; padding: 30px; position: relative; overflow: hidden; }
.rate-card .big { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(48px, 6vw, 76px); letter-spacing: -.04em; line-height: 1; color: var(--brand); }
.rate-card .strike { text-decoration: line-through; color: #A39890; }
.rate-card .rows { margin-top: 22px; display: grid; gap: 10px; font-size: 14px; }
.rate-card .rows div { display: flex; justify-content: space-between; border-top: 1px solid #2E2621; padding-top: 10px; }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.benefits > div { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits > div:nth-child(3n) { border-right: 0; }
.benefits > div:nth-last-child(-n+3) { border-bottom: 0; }
.benefits svg { color: var(--brand-600); width: 22px; height: 22px; margin-bottom: 14px; }
.benefits h3 { font-size: 16.5px; }
.benefits p { color: var(--muted); font-size: 14px; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.stat { padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.stat .v { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .l { color: var(--muted); font-size: 13px; margin-top: 2px; display: flex; gap: 6px; align-items: center; }
.stat .l svg { width: 15px; height: 15px; }
.stat.hl { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat.hl .l { color: #CFC6BF; }

/* ---------- product ---------- */
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin: 22px 0 18px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs svg { width: 14px; height: 14px; }
.pdp { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr) 330px; gap: 28px; align-items: start; }
.gallery .main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s var(--ease-out); }
.gallery .main.zoom img { transform: scale(2.1); }
.gallery .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-1); z-index: 2; }
.gallery .nav:active { transform: translateY(-50%) scale(.94); }
.gallery .nav.prev { left: 10px; } .gallery .nav.next { right: 10px; }
.gallery .count { position: absolute; bottom: 10px; right: 10px; background: rgba(22,17,14,.72); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { width: 64px; height: 64px; flex: none; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #fff; cursor: pointer; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.on { border-color: var(--brand); }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--faint); background: var(--sunken); font-size: 13px; text-align: center; }
.noimg svg { width: 34px; height: 34px; margin: 0 auto 8px; }
.pdp-title { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; }
.price-big { font-family: var(--f-display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; color: var(--brand-600); }
.opt { margin-top: 18px; }
.opt .label { margin-bottom: 8px; display: flex; justify-content: space-between; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { min-width: 46px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 600; font-size: 14px; transition: border-color .15s, background .15s, transform .12s; }
.sw:hover { border-color: var(--ink-2); }
.sw:active { transform: scale(.97); }
.sw.on { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand-700); box-shadow: 0 0 0 1px var(--brand-600) inset; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--sunken); }
.qty input { width: 48px; text-align: center; border: 0; outline: 0; height: 40px; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty.sm button { width: 32px; height: 32px; } .qty.sm input { width: 38px; height: 32px; }
.summary { position: sticky; top: 130px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; }
.sumrow span:first-child { color: var(--muted); }
.sumrow.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-weight: 700; font-size: 16px; }
.sumrow.total span:first-child { color: var(--ink); }
.sumrow.disc span:last-child { color: var(--ok); font-weight: 600; }
.status-box { position: absolute; top: 0; right: 0; }
.disclaimer { font-size: 12.5px; color: var(--muted); line-height: 1.5; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--r); margin-top: 22px; }
.desc { white-space: pre-wrap; color: var(--ink-2); font-size: 14.5px; }

/* ---------- app shell (account / admin) ---------- */
.shell { display: grid; grid-template-columns: 248px minmax(0,1fr); gap: 28px; padding-top: 24px; align-items: start; }
.shell > * { min-width: 0; }
.side { position: sticky; top: 130px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; max-height: calc(100dvh - 150px); overflow-y: auto; }
.side .who { display: flex; gap: 10px; align-items: center; padding: 10px; margin-bottom: 4px; }
.side .who b { display: block; font-size: 14px; } .side .who small { color: var(--muted); font-size: 12px; }
.side a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .12s; }
.side a:hover { background: var(--sunken); }
.side a.on { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.side a.on svg { color: var(--brand-600); }
.side a svg { color: var(--muted); width: 17px; height: 17px; }
.side a .n { margin-left: auto; font-size: 11.5px; font-weight: 700; background: var(--sunken); padding: 1px 7px; border-radius: 999px; color: var(--ink-2); }
.side a.on .n { background: #fff; }
.side .grp { font-size: 11.5px; font-weight: 700; color: var(--faint); padding: 14px 10px 6px; letter-spacing: .02em; }
.side.dark { background: var(--ink); border-color: var(--ink); }
.side.dark .who b { color: #fff; } .side.dark .who small { color: #A39890; }
.side.dark a { color: #D8CFC8; } .side.dark a svg { color: #8D827A; }
.side.dark a:hover { background: #2A221E; }
.side.dark a.on { background: var(--brand); color: #fff; } .side.dark a.on svg { color: #fff; }
.side.dark .grp { color: #7D736C; }
.side.dark a .n { background: #2E2621; color: #EDE6E0; }
.page-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-hd h1 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 4px; }
.page-hd p { color: var(--muted); margin: 0; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar .input, .toolbar .select { min-height: 38px; width: auto; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { position: relative; padding: 10px 14px; background: none; border: 0; cursor: pointer; font-weight: 600; color: var(--muted); font-size: 14px; white-space: nowrap; }
.tabs button.on { color: var(--ink); }
.tabs button.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--brand); border-radius: 2px; }
.tabs button .n { font-size: 11.5px; background: var(--sunken); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; margin: 0 auto 14px; }
.empty .ic svg { width: 26px; height: 26px; }
.empty h3 { color: var(--ink); }
.empty p { max-width: 420px; margin: 0 auto 18px; }

/* ---------- timeline ---------- */
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; position: relative; padding-bottom: 20px; }
.tl li::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.tl li:last-child { padding-bottom: 0; } .tl li:last-child::before { display: none; }
.tl li.done::before { background: var(--ok); }
.tl .dotc { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sunken); color: var(--faint); border: 2px solid var(--line); position: relative; z-index: 1; }
.tl .dotc svg { width: 16px; height: 16px; }
.tl li.done .dotc { background: var(--ok); border-color: var(--ok); color: #fff; }
.tl li.cur .dotc { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 5px rgba(240,81,14,.18); }
.tl li.issue .dotc { background: var(--bad); border-color: var(--bad); color: #fff; }
.tl h4 { margin: 6px 0 2px; font-size: 14.5px; }
.tl li.fut h4 { color: var(--faint); font-weight: 600; }
.tl .meta { font-size: 12.5px; color: var(--muted); }
.tl .d { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.tl li.fut .d { color: var(--faint); }

.hsteps { display: flex; gap: 0; overflow-x: auto; padding: 4px 0 8px; }
.hsteps .s { flex: 1; min-width: 88px; text-align: center; position: relative; font-size: 11.5px; color: var(--faint); font-weight: 600; }
.hsteps .s::before { content: ""; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.hsteps .s:first-child::before { display: none; }
.hsteps .s i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; margin: 0 auto 6px; background: var(--sunken); border: 2px solid var(--line); position: relative; z-index: 1; font-style: normal; }
.hsteps .s i svg { width: 14px; height: 14px; }
.hsteps .s.done { color: var(--ok); } .hsteps .s.done::before { background: var(--ok); } .hsteps .s.done i { background: var(--ok); border-color: var(--ok); color: #fff; }
.hsteps .s.cur { color: var(--ink); } .hsteps .s.cur::before { background: var(--ok); } .hsteps .s.cur i { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 4px rgba(240,81,14,.18); }
.hsteps .s.issue i { background: var(--bad); border-color: var(--bad); color: #fff; }

/* ---------- media grid / qc ---------- */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.mgrid .m { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--sunken); border: 1px solid var(--line); cursor: zoom-in; padding: 0; }
.mgrid .m img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease-out); }
.mgrid .m:hover img { transform: scale(1.03); }
.mgrid .m .tag { position: absolute; left: 6px; bottom: 6px; background: rgba(22,17,14,.75); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 5px; font-weight: 600; }
.mgrid .m .tag.bad { background: var(--bad); }
.mgrid .m .x { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; }
.drop { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 18px; text-align: center; color: var(--muted); font-size: 13.5px; background: #FDFCFB; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-50); }

.wh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.wh-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s; }
.wh-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: transparent; }
.wh-card.sel { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.wh-card .ph { aspect-ratio: 4/3; background: var(--sunken); overflow: hidden; }
.wh-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease-out); }
.wh-card:hover .ph img { transform: scale(1.03); }
.wh-card .bd { padding: 12px 14px 14px; }
.wh-card .bd h4 { margin: 0 0 6px; font-family: var(--f-body); font-weight: 600; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: 0; }
.wh-card .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.wh-card .meta b { color: var(--ink); font-weight: 600; }
.wh-card .pick { position: absolute; top: 10px; left: 10px; z-index: 2; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.95); border: 1.5px solid var(--line-2); display: grid; place-items: center; cursor: pointer; }
.wh-card.sel .pick { background: var(--brand); border-color: var(--brand); color: #fff; }
.wh-card .st { position: absolute; top: 10px; right: 10px; z-index: 2; }
.selbar { position: sticky; bottom: 16px; z-index: 30; margin-top: 18px; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px 12px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--sh-3); animation: rise .3s var(--ease-out); }

/* ---------- estimator ---------- */
.est { display: grid; grid-template-columns: 380px minmax(0,1fr); gap: 24px; align-items: start; }
.line-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; transition: border-color .15s, box-shadow .2s; }
.line-card.pick { cursor: pointer; }
.line-card.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.line-card .final { font-family: var(--f-display); font-weight: 800; font-size: 32px; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.line-card .kv { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.line-card .kv div { background: var(--sunken); border-radius: 10px; padding: 10px 12px; }
.line-card .kv small { display: block; color: var(--muted); font-size: 12px; }
.line-card .kv b { font-variant-numeric: tabular-nums; }

/* ---------- faq ---------- */
.faq-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 32px; align-items: start; }
.faq-cats { position: sticky; top: 130px; display: grid; gap: 2px; }
.faq-cats button { text-align: left; padding: 9px 12px; border-radius: 9px; border: 0; background: none; cursor: pointer; font-weight: 500; color: var(--ink-2); display: flex; justify-content: space-between; }
.faq-cats button:hover { background: var(--sunken); }
.faq-cats button.on { background: var(--ink); color: #fff; font-weight: 600; }
.faq-cats button small { opacity: .6; }
details.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; transition: border-color .15s; }
details.qa[open] { border-color: var(--line-2); box-shadow: var(--sh-1); }
details.qa summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary svg { transition: transform .25s var(--ease-out); color: var(--muted); }
details.qa[open] summary svg { transform: rotate(45deg); color: var(--brand-600); }
details.qa .a { padding: 0 18px 18px; color: var(--ink-2); white-space: pre-wrap; animation: fade .25s var(--ease-out); }
mark { background: var(--brand-100); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- how to ---------- */
.howto { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 32px; align-items: start; }
.howto-list { position: sticky; top: 130px; display: grid; gap: 2px; counter-reset: s; }
.howto-list button { display: flex; gap: 12px; align-items: center; text-align: left; padding: 8px 10px; border-radius: 10px; border: 0; background: none; cursor: pointer; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.howto-list button:hover { background: var(--sunken); }
.howto-list button b { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--sunken); font-size: 12px; flex: none; font-variant-numeric: tabular-nums; }
.howto-list button.on { background: #fff; box-shadow: var(--sh-1); color: var(--ink); font-weight: 600; }
.howto-list button.on b { background: var(--brand); color: #fff; }
.howto-list button.done b { background: var(--ok-50); color: var(--ok); }
.step-view { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.step-illu { aspect-ratio: 16/7; background: linear-gradient(180deg, #FFF6F0, #FFEDE2); display: grid; place-items: center; position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.step-illu img { width: 100%; height: 100%; object-fit: cover; }
.step-body { padding: 28px; }
.step-body .n { font-family: var(--f-display); font-style: italic; font-weight: 900; color: var(--brand); font-size: 15px; }
.tips { display: grid; gap: 8px; margin-top: 18px; }
.tips div { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.tips svg { color: var(--ok); margin-top: 2px; }
/* step illustration: product UI built in CSS */
.mock { width: min(560px, 86%); background: #fff; border-radius: 14px; box-shadow: var(--sh-3); padding: 16px; display: grid; gap: 10px; animation: rise .5s var(--ease-out); }
.mock .bar { height: 10px; border-radius: 6px; background: var(--sunken); }
.mock .row { gap: 10px; flex-wrap: nowrap; }
.mock .pill { height: 30px; border-radius: 8px; background: var(--sunken); flex: 1; display: flex; align-items: center; padding: 0 10px; font-size: 12px; color: var(--muted); gap: 8px; overflow: hidden; white-space: nowrap; }
.mock .pill.o { background: var(--brand-600); color: #fff; flex: none; padding: 0 14px; font-weight: 600; }
.mock .pill.k { background: var(--ink); color: #fff; flex: none; padding: 0 14px; font-weight: 600; }
.mock .sq { width: 56px; height: 56px; border-radius: 10px; background: var(--brand-100); flex: none; display: grid; place-items: center; color: var(--brand-600); }
.mock .cursor { position: absolute; width: 18px; height: 18px; color: var(--ink); animation: tap 3s var(--ease-io) infinite; }
@keyframes tap { 0%, 100% { transform: translate(0,0) } 50% { transform: translate(-8px,-6px) scale(.92) } }

/* ---------- modal / toast ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(22,17,14,.45); display: grid; place-items: center; padding: 16px; animation: fade .2s var(--ease-out); }
.modal { background: #fff; border-radius: 18px; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: var(--sh-3); animation: pop .22s var(--ease-out); }
.modal.wide { width: min(860px, 100%); }
.modal-hd { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 0; gap: 12px; }
.modal-hd h3 { margin: 0; }
.modal-bd { padding: 16px 20px 20px; }
.modal-ft { display: flex; justify-content: flex-end; gap: 8px; padding: 0 20px 20px; flex-wrap: wrap; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(12,9,7,.92); display: grid; place-items: center; animation: fade .2s; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 8px; animation: pop .25s var(--ease-out); }
.lightbox .lb-bar { position: absolute; top: 14px; right: 14px; left: 14px; display: flex; gap: 8px; justify-content: space-between; color: #fff; align-items: center; }
.lightbox .btn { --b-bg: rgba(255,255,255,.12); --b-fg: #fff; --b-bd: rgba(255,255,255,.18); }
.lightbox .btn:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.toasts { position: fixed; z-index: 99; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--sh-3); display: flex; gap: 10px; align-items: center; font-size: 14px; animation: toastin .35s var(--ease-out); pointer-events: auto; }
.toast svg { color: #7EE2A4; } .toast.bad svg { color: #FF8F87; } .toast.warn svg { color: #FFC56B; }
.toast.out { animation: toastout .25s var(--ease-io) forwards; }
@keyframes toastin { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toastout { to { opacity: 0; transform: translateY(8px); } }

/* ---------- chat ---------- */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 18px; border: 0; cursor: pointer; background: var(--brand); color: #fff; box-shadow: 0 10px 30px rgba(240,81,14,.4), var(--sh-2); display: grid; place-items: center; transition: transform .2s var(--ease-out); }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab:active { transform: scale(.95); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab .dot { top: -4px; right: -4px; }
.chat { position: fixed; right: 20px; bottom: 90px; z-index: 85; width: 390px; height: min(640px, calc(100dvh - 120px)); background: #fff; border-radius: 20px; box-shadow: var(--sh-3); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: pop .25s var(--ease-out); }
.chat-hd { padding: 14px 16px; background: var(--ink); color: #fff; display: flex; gap: 12px; align-items: center; }
.chat-hd img { width: 38px; height: 38px; border-radius: 10px; }
.chat-hd b { display: block; font-size: 15px; }
.chat-hd small { color: #CFC6BF; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.chat-hd small i { width: 7px; height: 7px; border-radius: 50%; background: #FFC56B; display: inline-block; }
.chat-hd .icon-btn { color: #fff; width: 36px; height: 36px; }
.chat-hd .icon-btn:hover { background: rgba(255,255,255,.1); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; animation: rise .25s var(--ease-out); }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg img { max-width: 180px; border-radius: 8px; margin-top: 6px; }
.msg .src { display: block; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.msg a { font-weight: 600; }
.chat-sys { font-size: 12px; color: var(--muted); text-align: center; }
.qr { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 12px 0; background: #fff; border-top: 1px solid var(--line); }
.qr button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 6px 11px; font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.qr button:hover { border-color: var(--brand-600); color: var(--brand-700); background: var(--brand-50); }
.chat-in { display: flex; gap: 6px; padding: 10px 12px 12px; background: #fff; align-items: flex-end; }
.chat-in textarea { flex: 1; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; resize: none; outline: none; max-height: 110px; min-height: 42px; }
.chat-in textarea:focus { border-color: var(--brand-600); }
.chat-att { font-size: 12px; padding: 0 12px; background: #fff; color: var(--muted); display: flex; gap: 8px; align-items: center; }

/* ---------- cookie ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 75; width: min(440px, calc(100vw - 110px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-3); padding: 18px; animation: rise .4s var(--ease-out); font-size: 13.5px; }
.cookie h4 { margin-bottom: 6px; }

/* ---------- auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100dvh - 113px); }
.auth-side { background: var(--ink); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side .logo-box { background: #fff; border-radius: 22px; padding: 18px; width: 150px; }
.auth-side h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 32px; }
.auth-side ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: #D8CFC8; }
.auth-side li { display: flex; gap: 10px; }
.auth-side li svg { color: var(--brand); }
.auth-form { display: grid; place-items: center; padding: 40px var(--gut); }
.auth-form .box { width: min(420px, 100%); }
.demo-acc { display: grid; gap: 8px; }
.demo-acc button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; font-size: 13.5px; }
.demo-acc button:hover { border-color: var(--brand-600); background: var(--brand-50); }
.demo-acc button small { color: var(--muted); display: block; }

/* ---------- misc ---------- */
.kv-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 14px; }
.kv-list dt { color: var(--muted); }
.kv-list dd { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.legal-wrap { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 40px; padding-top: 32px; }
.legal-nav { position: sticky; top: 130px; display: grid; gap: 2px; align-self: start; }
.legal-nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 14px; text-decoration: none; }
.legal-nav a:hover { background: var(--sunken); }
.legal-nav a.on { background: var(--ink); color: #fff; font-weight: 600; }
.cart-line { display: grid; grid-template-columns: 84px minmax(0,1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line:last-child { border-bottom: 0; }
.cart-line img, .cart-line .thumb { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.cart-line h4 { font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: 0; margin: 0 0 4px; }
.opts { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.opts span { font-size: 12px; background: var(--sunken); padding: 2px 8px; border-radius: 6px; color: var(--ink-2); }
.two { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 24px; align-items: start; }
.chatlog { display: flex; flex-direction: column; gap: 10px; max-height: 480px; overflow-y: auto; padding: 4px; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 14px; background: var(--sunken); font-size: 14px; white-space: pre-wrap; }
.bubble.me { align-self: flex-end; background: var(--ink); color: #fff; }
.bubble .who { font-size: 11.5px; font-weight: 700; opacity: .7; display: block; margin-bottom: 2px; }
.bubble img { max-width: 200px; border-radius: 8px; margin-top: 6px; cursor: zoom-in; }
.perm td.c { text-align: center; }
.perm .y { color: var(--ok); } .perm .n { color: var(--line-2); }
.notif { display: flex; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: 0; }
.notif .i { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.notif.unread b::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-left: 8px; vertical-align: middle; }
.review { padding: 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.stars { color: var(--brand); display: flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.star-in { display: flex; gap: 4px; }
.star-in button { background: none; border: 0; cursor: pointer; color: var(--line-2); padding: 2px; }
.star-in button.on { color: var(--brand); }
.star-in button.on svg { fill: currentColor; }
.proto-tag { position: fixed; left: 12px; bottom: 12px; z-index: 70; background: rgba(22,17,14,.85); color: #fff; font-size: 11.5px; padding: 5px 10px; border-radius: 8px; pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .pdp { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .pdp .summary { grid-column: 1 / -1; position: static; }
}
@media (max-width: 1024px) {
  .hdr-search { display: none; }
  .shell { grid-template-columns: 1fr; }
  .side { position: static; max-height: none; display: flex; gap: 4px; overflow-x: auto; padding: 6px; }
  .side .who, .side .grp { display: none; }
  .side a { white-space: nowrap; flex: none; }
  .est, .faq-layout, .howto, .legal-wrap, .two { grid-template-columns: 1fr; }
  .faq-cats, .howto-list, .legal-nav { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .faq-cats button, .howto-list button, .legal-nav a { white-space: nowrap; flex: none; }
  .g4, .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .hdr-nav { display: none; }
  .menu-btn { display: grid; }
  .hdr-top { gap: 8px; height: 60px; }
  .brand img.wm { height: 16px; }
  .hide-sm { display: none !important; }
  .pdp, .g2, .g3, .form-grid, .benefits, .journey { grid-template-columns: 1fr; }
  .benefits > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .benefits > div:last-child { border-bottom: 0 !important; }
  .journey { gap: 28px; } .journey::before { display: none; }
  .bigsearch { flex-direction: column; border-radius: 16px; }
  .bigsearch .btn { width: 100%; }
  .sec-hd { flex-direction: column; align-items: flex-start; }
  .chat { right: 8px; left: 8px; width: auto; bottom: 84px; height: calc(100dvh - 100px); }
  .chat-fab { right: 14px; bottom: 14px; }
  .line-card .kv { grid-template-columns: 1fr 1fr; }
  .cart-line { grid-template-columns: 64px minmax(0,1fr); }
  .cart-line img, .cart-line .thumb { width: 64px; height: 64px; }
  .cart-line > :last-child { grid-column: 2; }
  .ftr-grid { grid-template-columns: 1fr; }
  .page-hd .btn { width: 100%; }
  .btn { min-height: 44px; }
  .selbar { position: fixed; left: 12px; right: 84px; bottom: 14px; margin: 0; flex-wrap: wrap; gap: 6px 12px; padding: 12px; }
  .selbar .btn.primary { flex: 1; }
  .wh-card .ph { aspect-ratio: 16/10; }
  .hero-mark { width: 260px; right: -80px; top: 10px; }
  .cookie { left: 12px; right: 12px; width: auto; bottom: 84px; }
  table.t { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
