/* ==========================================================================
   Solara Home — sistema visual (identidade 2026)
   Cores: grafite #242424 e marfim #F7F3EA (base), dourado solar #D8A64E (destaque),
   terracota #C87552 (apoio), cinza mineral #898780, ocre da logo #C27E2D.
   Fontes: Cormorant Garamond (títulos grandes), Onest (texto, botões e preços com
   números tabulares), Jost em maiúsculas espaçadas (etiquetas, como o HOME da logo).
   ========================================================================== */

:root {
  --bg: #F7F3EA;
  --surface: #FFFFFF;
  --surface-2: #F1ECE2;
  --surface-3: #E8E1D4;
  --ink: #242424;
  --ink-2: #4A4844;
  --muted: #6F6D66;
  --line: #E4DDD0;
  --line-2: #D3CABA;
  --wine: #242424;
  --wine-2: #3A3936;
  --on-wine: #F7F3EA;
  --wine-soft: #ECE7DD;
  --moss: #B5623F;
  --moss-soft: #F6E7DF;
  --gold: #9A6B1F;
  --gold-solar: #D8A64E;
  --ocre: #C27E2D;
  --terracota: #C87552;
  --gold-soft: #F6EBD3;
  --pix: #0E7A5C;
  --pix-soft: #E1F2EC;
  --ok: #2E7D4F;
  --warn: #A8680F;
  --warn-soft: #FBF0DC;
  --bad: #B42318;
  --bad-soft: #FDECEA;
  --info: #2F5E8A;
  --tile: #EFE9DD;
  --shadow: 0 1px 2px rgba(50, 30, 20, .06), 0 8px 24px -12px rgba(50, 30, 20, .18);
  --radius: 14px;
  --radius-sm: 9px;
  --f-display: "Cormorant Garamond", Garamond, Georgia, serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-hand: "Jost", "Onest", system-ui, sans-serif;
  --gutter: 16px;
  --max: 1240px;
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1A1918; --surface: #232220; --surface-2: #2C2A27; --surface-3: #35332F;
    --ink: #F3ECE6; --ink-2: #CFC2B8; --muted: #A09288; --line: #3A2F2A; --line-2: #4B3E37;
    --wine: #E2B866; --wine-2: #ECC77F; --on-wine: #1C1B19; --wine-soft: #2E2A22;
    --moss: #E09574; --moss-soft: #33231C; --gold: #DDB266; --gold-soft: #3A2F1B;
    --pix: #4CC79F; --pix-soft: #15332A; --ok: #6CC08D; --warn: #E3A94B; --warn-soft: #3A2C14;
    --bad: #F08B7F; --bad-soft: #3D1C18; --info: #8AB4DE; --tile: #262019;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1A1918; --surface: #232220; --surface-2: #2C2A27; --surface-3: #35332F;
  --ink: #F3ECE6; --ink-2: #CFC2B8; --muted: #A09288; --line: #3A2F2A; --line-2: #4B3E37;
  --wine: #E2B866; --wine-2: #ECC77F; --on-wine: #1C1B19; --wine-soft: #2E2A22;
  --moss: #E09574; --moss-soft: #33231C; --gold: #DDB266; --gold-soft: #3A2F1B;
  --pix: #4CC79F; --pix-soft: #15332A; --ok: #6CC08D; --warn: #E3A94B; --warn-soft: #3A2C14;
  --bad: #F08B7F; --bad-soft: #3D1C18; --info: #8AB4DE; --tile: #262019;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: 0; }
h1 { font-size: clamp(30px, 4.6vw, 46px); }
h2 { font-size: clamp(26px, 3.4vw, 34px); }
h3 { font-size: 17px; font-family: var(--f-body); font-weight: 600; line-height: 1.3; }
p { margin: 0; }
.num, .price, table { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hand { font-family: var(--f-hand); font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--moss); line-height: 1.4; }
.eyebrow { font: 500 12px/1.2 var(--f-hand); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.stack { display: grid; gap: 12px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.boot { padding: 40px 16px; max-width: 700px; margin: auto; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .12s, background .15s, border-color .15s;
  background: var(--surface-2); color: var(--ink); white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--wine); color: var(--on-wine); }
.btn.primary:hover { background: var(--wine-2); }
.btn.moss { background: var(--moss); color: var(--surface); }
.btn.ghost { background: transparent; border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink-2); }
.btn.wa { background: #1F8F55; color: #fff; }
.btn.link { background: none; min-height: auto; padding: 0; color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; display: grid; place-items: center; position: relative; color: var(--ink); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 22px; height: 22px; }
.bubble { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--wine); color: var(--on-wine); font: 700 11px/18px var(--f-body); text-align: center; }

/* ---------- Faixa de aviso e cabeçalho ---------- */
.notice { background: #242424; color: #F3F0E8; font-size: 13px; text-align: center; padding: 7px 16px; }
.demo-note { background: var(--gold-soft); color: var(--ink); font-size: 13px; text-align: center; padding: 7px 16px; border-bottom: 1px solid var(--line); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.logo svg { width: 46px; height: 24px; }
.logo b { font: 600 25px/1 var(--f-display); letter-spacing: .08em; color: var(--ink); }
.logo small { display: block; font: 400 9.5px/1 var(--f-hand); letter-spacing: .46em; color: var(--ocre); margin-top: 4px; }
.search { position: relative; flex: 1; max-width: 560px; }
.search input { width: 100%; height: 44px; border-radius: 22px; border: 1.5px solid var(--line-2); background: var(--surface); padding: 0 44px 0 18px; }
.search input:focus { border-color: var(--wine); outline: none; }
.search button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border-radius: 18px; border: 0; background: var(--wine); color: var(--on-wine); display: grid; place-items: center; }
.search button svg { width: 18px; }
.suggest { position: absolute; left: 0; right: 0; top: 50px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; z-index: 50; }
.suggest a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; }
.suggest a:hover, .suggest a.on { background: var(--surface-2); }
.suggest .th { width: 40px; height: 40px; border-radius: 8px; background: var(--tile); flex-shrink: 0; overflow: hidden; }
.header-actions { display: flex; gap: 2px; margin-left: auto; }
.nav { border-top: 1px solid var(--line); }
.nav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 6px; }
.nav-in::-webkit-scrollbar { display: none; }
.nav a { flex-shrink: 0; padding: 7px 12px; border-radius: 20px; text-decoration: none; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.nav a:hover, .nav a.on { background: var(--surface-2); color: var(--ink); }
.nav a.hl { color: var(--wine); font-weight: 600; }
.m-search { display: none; padding-bottom: 10px; }
@media (max-width: 760px) {
  .header .search.d { display: none; }
  .m-search { display: block; }
  .logo b { font-size: 19px; }
  .header-actions .hide-m { display: none; }
}

/* barra inferior no celular */
.tabbar { display: none; }
@media (max-width: 760px) {
  body.store { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11px; text-decoration: none; color: var(--muted); position: relative; }
  .tabbar a.on { color: var(--wine); }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar .bubble { top: 3px; right: calc(50% - 22px); }
}
.wa-float { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 44; width: 54px; height: 54px; border-radius: 27px; background: #1F8F55; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 760px) { .wa-float { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: 50px; height: 50px; } }

main { min-height: 60vh; }
.section { padding-block: 34px; }
.section + .section { padding-top: 6px; }
.sec-head { display: flex; align-items: end; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sec-head .hand { display: block; margin-bottom: 2px; }
.sec-head a { margin-left: auto; font-weight: 600; color: var(--wine); text-decoration: none; font-size: 14px; }
.crumbs { font-size: 13px; color: var(--muted); padding-block: 14px 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Banner principal ---------- */
.hero { position: relative; border-radius: 22px; overflow: hidden; margin-top: 16px; }
.hero-slide { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 340px; padding: 34px clamp(20px, 5vw, 56px); gap: 20px; }
.hero-slide[hidden] { display: none !important; }
.hero-slide.wine { background: #242424; color: #F7F3EA; }
.hero-slide.moss { background: #A6583A; color: #FBF4EC; }
.hero-slide.cream { background: var(--gold-soft); color: var(--ink); }
.hero-slide.gold { background: #9C6A22; color: #FFF8EA; }
.hero-slide .eyebrow { color: inherit; opacity: .8; }
.hero-slide h1 { margin: 10px 0 12px; font-size: clamp(28px, 4.6vw, 46px); }
.hero-slide p { max-width: 46ch; opacity: .92; }
.hero-slide .btn { margin-top: 20px; }
.hero-slide.wine .btn, .hero-slide.moss .btn, .hero-slide.gold .btn { background: #F7F3EA; color: #242424; }
.hero-art { justify-self: center; width: min(300px, 100%); aspect-ratio: 1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; display: flex; gap: 6px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 5px; border: 0; background: currentColor; opacity: .35; padding: 0; color: #fff; }
.hero-dots button.on { opacity: 1; width: 22px; }
.hero .until { font-size: 13px; margin-top: 12px; opacity: .85; }
@media (max-width: 760px) {
  .hero-slide { grid-template-columns: 1fr; min-height: 0; padding: 26px 20px 40px; }
  .hero-art { width: 150px; grid-row: 1; justify-self: start; }
}

/* ---------- Benefícios ---------- */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 16px; }
.benefit { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.benefit .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.benefit .ic svg { width: 20px; height: 20px; }
.benefit b { display: block; font-size: 14px; }
.benefit span { font-size: 13px; color: var(--muted); }

/* ---------- Categorias ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.cat { text-decoration: none; display: grid; gap: 8px; text-align: center; }
.cat .art { aspect-ratio: 1; border-radius: 18px; background: var(--tile); padding: 14%; transition: transform .2s; }
.cat .art.foto { padding: 0; overflow: hidden; background: #111; }
.cat .art.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat:hover .art { transform: translateY(-3px); }
.cat b { font-weight: 600; font-size: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line-2); background: var(--surface); border-radius: 20px; padding: 6px 13px; font-size: 14px; text-decoration: none; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }

/* ---------- Cartão de produto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px 14px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 520px) { .rail { grid-auto-columns: 46%; gap: 10px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); }
.card .media { position: relative; aspect-ratio: 1; background: var(--tile); display: block; }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .media .ill { position: absolute; inset: 9%; }
.card .body { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card .name { font-weight: 500; font-size: 14.5px; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card .code { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.card .foot { margin-top: auto; display: grid; gap: 8px; padding-top: 4px; }
.badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 2; }
.badge { font: 700 10.5px/1 var(--f-body); letter-spacing: .05em; text-transform: uppercase; padding: 5px 7px; border-radius: 6px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.badge.novo { background: var(--moss); color: var(--surface); border-color: transparent; }
.badge.oferta { background: var(--wine); color: var(--on-wine); border-color: transparent; }
.badge.personalizavel { background: var(--gold-soft); color: var(--ink); border-color: transparent; }
.badge.ultimas { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.demo { background: transparent; border: 1px dashed var(--line-2); color: var(--muted); }
.fav { position: absolute; top: 6px; right: 6px; z-index: 2; width: 38px; height: 38px; border-radius: 19px; border: 0; background: color-mix(in srgb, var(--surface) 85%, transparent); display: grid; place-items: center; color: var(--ink-2); }
.fav svg { width: 19px; height: 19px; }
.fav.on { color: var(--wine); }
.fav.on svg path { fill: currentColor; }
.fav.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.3); } }
.price-box { display: grid; gap: 1px; }
.price-old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.price { font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.price.lg { font-size: 30px; }
.pix-line { font-size: 12.5px; color: var(--pix); font-weight: 600; }
.inst-line { font-size: 12.5px; color: var(--muted); }
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--gold); font-size: 12.5px; }
.stars svg { width: 13px; height: 13px; }
.stars span { color: var(--muted); margin-left: 4px; }
.ill-tag { position: absolute; right: 8px; bottom: 8px; font-size: 10px; color: var(--muted); background: color-mix(in srgb, var(--surface) 80%, transparent); padding: 2px 6px; border-radius: 5px; }

/* ---------- Página do produto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; padding-bottom: 20px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 18px; } }
.gallery { position: sticky; top: calc(var(--header-h) + 60px); display: grid; gap: 10px; }
@media (max-width: 860px) { .gallery { position: static; } }
.gallery .main { position: relative; aspect-ratio: 1; background: var(--tile); border-radius: 20px; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main .ill { position: absolute; inset: 8%; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { width: 66px; height: 66px; border-radius: 12px; border: 2px solid transparent; background: var(--tile); padding: 4px; flex-shrink: 0; overflow: hidden; }
.thumbs button.on { border-color: var(--wine); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.thumbs button.vid { position: relative; }
.thumbs button.vid::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='white'/%3E%3C/svg%3E") center/16px no-repeat; }
.gallery .main video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.card .media .vid-badge { position: absolute; left: 8px; bottom: 8px; font-size: 10px; color: #fff; background: rgba(0,0,0,.55); padding: 2px 6px; border-radius: 5px; }
.pinfo { display: grid; gap: 16px; }
.pinfo .code { font-size: 13px; color: var(--muted); letter-spacing: .05em; }
.pbox { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px; display: grid; gap: 12px; }
.pix-box { display: flex; align-items: center; gap: 10px; background: var(--pix-soft); color: var(--pix); border-radius: 10px; padding: 9px 12px; font-weight: 600; font-size: 14px; }
.pix-box svg { width: 20px; height: 20px; flex-shrink: 0; }
.opt-label { font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.opt-label span { font-weight: 400; color: var(--muted); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.sw { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line-2); padding: 0; position: relative; }
.sw.on { box-shadow: 0 0 0 2.5px var(--ink); }
.sw::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 1px, transparent 1px 3px); }
.palettes { display: flex; gap: 8px; flex-wrap: wrap; }
.pal { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line-2); background: var(--surface); border-radius: 20px; padding: 4px 11px 4px 5px; font-size: 13px; }
.pal i { display: flex; }
.pal i b { width: 16px; height: 16px; border-radius: 50%; margin-right: -5px; border: 1.5px solid var(--surface); }
.pal.on { border-color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; height: 46px; background: var(--surface); }
.qty button { width: 42px; height: 100%; border: 0; background: none; font-size: 20px; }
.qty input { width: 38px; text-align: center; border: 0; background: none; font-weight: 600; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.fact { background: var(--surface-2); border-radius: 10px; padding: 9px 11px; }
.fact small { display: block; font-size: 11.5px; color: var(--muted); }
.fact b { font-size: 14px; font-weight: 600; }
.alert { border-radius: 10px; padding: 10px 12px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.alert.warn { background: var(--warn-soft); color: var(--ink); }
.alert.info { background: var(--moss-soft); color: var(--ink); }
.alert.bad { background: var(--bad-soft); color: var(--bad); }
.alert.ok { background: var(--pix-soft); color: var(--ink); }
.tabs-line { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.tabs-line button { border: 0; background: none; padding: 10px 0; font-weight: 600; color: var(--muted); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.tabs-line button.on { color: var(--ink); border-color: var(--wine); }
.prose { max-width: 68ch; color: var(--ink-2); display: grid; gap: 10px; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 12px 8px 0; width: 38%; vertical-align: top; }
.spec td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.spec tr:first-child td { border-top: 1px solid var(--line); }
.spec tr:first-child th { border-top: 1px solid var(--line); }
.kitlist { display: grid; gap: 8px; }
.kitlist a { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.kitlist .th { width: 46px; height: 46px; border-radius: 10px; background: var(--tile); padding: 5px; flex-shrink: 0; }
.upsell { border: 1.5px dashed var(--gold); background: var(--gold-soft); border-radius: var(--radius); padding: 14px; display: flex; gap: 12px; align-items: center; }
.upsell .th { width: 64px; height: 64px; border-radius: 12px; background: var(--surface); padding: 6px; flex-shrink: 0; }
.review { border-bottom: 1px solid var(--line); padding-block: 14px; display: grid; gap: 6px; }
.review .who { font-weight: 600; font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.verified { font-size: 11.5px; color: var(--pix); font-weight: 600; }
.sticky-buy { display: none; }
@media (max-width: 860px) {
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); z-index: 43; background: var(--surface); border-top: 1px solid var(--line); padding: 8px 16px; gap: 10px; align-items: center; transform: translateY(120%); transition: transform .25s; }
  .sticky-buy.show { transform: none; }
}

/* ---------- Formulários ---------- */
.field { display: grid; gap: 5px; }
.field > label, .lbl { font-weight: 600; font-size: 13.5px; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]), .field select, .field textarea {
  width: 100%; min-height: 44px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--surface); padding: 9px 12px;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--wine); outline: none; }
.field .err { color: var(--bad); font-size: 12.5px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--wine); flex-shrink: 0; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 12px; background: var(--line-2); position: relative; transition: background .15s; margin: 0; flex-shrink: 0; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--moss); }
.switch input:checked::after { transform: translateX(18px); }
.opt-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: var(--surface); }
.opt-card:has(input:checked) { border-color: var(--wine); background: var(--wine-soft); }
.opt-card input { accent-color: var(--wine); width: 18px; height: 18px; margin: 2px 0 0; }
.opt-card .t { font-weight: 600; }
.opt-card .d { font-size: 13px; color: var(--muted); }
.opt-card .v { margin-left: auto; font-weight: 700; white-space: nowrap; }

/* ---------- Carrinho e checkout ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.summary { position: sticky; top: calc(var(--header-h) + 60px); border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; }
.summary .l { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.summary .l.total { font-size: 19px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; }
.summary .l.disc { color: var(--pix); }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.cart-item .th { width: 84px; height: 84px; border-radius: 12px; background: var(--tile); overflow: hidden; padding: 6px; }
.cart-item .th img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.cart-item .opts { font-size: 13px; color: var(--muted); }
.cart-item .acts { display: flex; gap: 14px; margin-top: 8px; font-size: 13px; }
.cart-item .acts button { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .cart-item { grid-template-columns: 70px 1fr; } .cart-item .th { width: 70px; height: 70px; } .cart-item .right { grid-column: 2; } }
.steps { display: flex; gap: 6px; margin-block: 14px 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 6px; }
.steps span b { width: 22px; height: 22px; border-radius: 11px; background: var(--surface-3); display: grid; place-items: center; font-size: 12px; color: var(--ink); }
.steps span.on { color: var(--ink); font-weight: 600; }
.steps span.on b { background: var(--wine); color: var(--on-wine); }
.co-block { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px; display: grid; gap: 14px; margin-bottom: 14px; }
.co-block h3 { display: flex; gap: 10px; align-items: center; font-family: var(--f-body); font-weight: 700; font-size: 16px; }
.co-block h3 b { width: 26px; height: 26px; border-radius: 13px; background: var(--wine); color: var(--on-wine); display: grid; place-items: center; font-size: 13px; }
.progress { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--moss); border-radius: 4px; }
.success { text-align: center; display: grid; gap: 12px; justify-items: center; padding-block: 30px 10px; }
.sunrise { width: 120px; height: 70px; }
.sunrise .rays { transform-origin: 60px 64px; animation: rays 1.4s ease-out both; }
.sunrise .disk { animation: rise 1s ease-out both; }
@keyframes rise { from { transform: translateY(30px); } }
@keyframes rays { from { opacity: 0; transform: scale(.6); } }
.pix-pay { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; text-align: left; }
.pix-pay.no-qr { grid-template-columns: 1fr; }
@media (max-width: 560px) { .pix-pay { grid-template-columns: 1fr; justify-items: center; } }
.qr { width: 180px; height: 180px; background: #fff; border-radius: 12px; padding: 8px; }
.qr img, .qr svg { width: 100%; height: 100%; image-rendering: pixelated; }
.copy-box { display: flex; gap: 8px; align-items: stretch; }
.copy-box input { flex: 1; min-width: 0; font-size: 12.5px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.tl .dot { width: 14px; height: 14px; border-radius: 7px; border: 2.5px solid var(--line-2); background: var(--surface); margin: 3px auto 0; position: relative; }
.tl .dot::after { content: ""; position: absolute; left: 50%; top: 13px; width: 2px; height: 34px; background: var(--line); transform: translateX(-50%); }
.tl:last-child .dot::after { display: none; }
.tl.done .dot { border-color: var(--moss); background: var(--moss); }
.tl.now .dot { border-color: var(--wine); box-shadow: 0 0 0 4px var(--wine-soft); }
.tl .t { padding-bottom: 18px; font-size: 14px; }
.tl .t small { display: block; color: var(--muted); }

/* ---------- Encontre o presente ---------- */
.finder { background: var(--moss); color: #EEF3EC; border-radius: 22px; padding: clamp(20px, 4vw, 34px); display: grid; gap: 16px; }
.finder h2 { color: #FFF; }
.finder .q { display: grid; gap: 8px; }
.finder .q b { font-size: 14px; font-weight: 600; opacity: .9; }
.finder .chip { background: transparent; color: #EEF3EC; border-color: rgba(255,255,255,.35); }
.finder .chip.on { background: #FBF1E6; color: #1F2F25; border-color: #FBF1E6; }
.countdown { display: flex; gap: 8px; }
.countdown div { background: var(--surface); color: var(--ink); border-radius: 10px; padding: 8px 10px; text-align: center; min-width: 58px; }
.countdown b { display: block; font-size: 22px; font-weight: 700; line-height: 1.1; }
.countdown small { font-size: 11px; color: var(--muted); }
.campaign { background: var(--wine); color: #FBEFEA; border-radius: 22px; padding: clamp(20px, 4vw, 34px); display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.campaign h2 { color: #FFF7F2; }
@media (max-width: 700px) { .campaign { grid-template-columns: 1fr; } }
.corridor { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(var(--header-h) + 50px); background: var(--bg); padding-block: 10px; z-index: 5; }
.made { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; counter-reset: made; }
.made div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; counter-increment: made; }
.made div::before { content: counter(made); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); font-weight: 700; margin-bottom: 10px; font-size: 14px; }
.made b { display: block; margin-bottom: 4px; }
.made span { color: var(--muted); font-size: 14px; }
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .social { grid-template-columns: 1fr; } }
.social > div { border-radius: 20px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.social .ig { background: var(--gold-soft); }
.social .wa { background: var(--moss-soft); }
.news { background: var(--surface-2); border-radius: 20px; padding: 24px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; align-items: center; }
@media (max-width: 760px) { .news { grid-template-columns: 1fr; } }
.empty { text-align: center; padding: 50px 16px; display: grid; gap: 10px; justify-items: center; color: var(--ink-2); }
.empty .art { width: 120px; height: 120px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-block: 12px 18px; }
.filters select { height: 40px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--surface); padding: 0 10px; }
.acc { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 8px; }
.acc summary { padding: 14px 16px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.acc summary::after { content: "+"; font-weight: 400; font-size: 20px; line-height: 1; }
.acc[open] summary::after { content: "–"; }
.acc > div { padding: 0 16px 16px; color: var(--ink-2); }

/* ---------- Rodapé ---------- */
.footer { background: #1E1714; color: #D9CEC5; margin-top: 50px; padding-block: 40px 30px; font-size: 14px; }
.footer a { text-decoration: none; color: #D9CEC5; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 26px; }
@media (max-width: 900px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
.footer h4 { font: 700 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer .logo b { color: #F3D9A6; }
.pay-icons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pay-icons span { border: 1px solid #4A3D36; border-radius: 6px; padding: 4px 8px; font-size: 12px; }
.footer .legal { border-top: 1px solid #3A2F2A; margin-top: 30px; padding-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; color: #A89A90; font-size: 12.5px; }

/* ---------- Gaveta, modal, avisos ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20, 12, 10, .45); z-index: 80; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: var(--bg); z-index: 81; display: flex; flex-direction: column; box-shadow: var(--shadow); animation: slide .25s ease; padding-top: env(safe-area-inset-top, 0px); }
.drawer.wide { width: min(760px, 100%); }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-b { flex: 1; overflow-y: auto; padding: 16px; }
.drawer-f { padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--surface); }
.modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100% - 32px)); max-height: calc(100% - 40px); overflow: auto; background: var(--bg); border-radius: 18px; z-index: 82; padding: 20px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast { background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow); animation: up .25s ease; display: flex; gap: 10px; align-items: center; }
.toast.bad { background: var(--bad); color: #fff; }
@keyframes up { from { transform: translateY(12px); opacity: 0; } }
.fly { position: fixed; z-index: 95; width: 54px; height: 54px; border-radius: 12px; background: var(--tile); pointer-events: none; transition: transform .6s cubic-bezier(.5, -.3, .7, 1), opacity .6s; padding: 5px; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 85; max-width: 560px; margin: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 12px; font-size: 14px; }
@media (max-width: 760px) { .cookie { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }

/* ==========================================================================
   Painel do proprietário
   ========================================================================== */
body.admin { background: var(--surface-2); }
.adm { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.adm-side { background: #1E1714; color: #DCD1C8; padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.adm-side .logo { padding: 4px 8px 16px; }
.adm-side .logo b { color: #F3D9A6; font-size: 19px; }
.adm-side a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; text-decoration: none; font-size: 14px; color: #DCD1C8; }
.adm-side a svg { width: 18px; height: 18px; opacity: .85; }
.adm-side a:hover { background: #2C231F; }
.adm-side a.on { background: #F3D9A6; color: #2A1A12; }
.adm-side a .bubble { position: static; margin-left: auto; }
.adm-side .sep { height: 1px; background: #3A2F2A; margin: 8px 6px; }
.adm-main { padding: 22px clamp(16px, 3vw, 32px) 90px; min-width: 0; }
.adm-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.adm-top h1 { font-size: 26px; }
.adm-mnav { display: none; }
@media (max-width: 900px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { display: none; }
  .adm-mnav { display: flex; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: #1E1714; padding: 8px 12px; gap: 10px; align-items: center; }
  .adm-mnav select { flex: 1; height: 40px; border-radius: 9px; background: #2C231F; color: #F3ECE6; border: 0; padding: 0 10px; }
  .adm-mnav .logo b { color: #F3D9A6; font-size: 16px; }
}
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.panel > h2 { font-family: var(--f-body); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.panel > .muted { margin-bottom: 14px; font-size: 13.5px; }
.panel-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-h h2 { font-family: var(--f-body); font-weight: 700; font-size: 16px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi small { color: var(--muted); font-size: 12.5px; display: block; }
.kpi b { font-size: 24px; font-weight: 700; letter-spacing: -.01em; display: block; margin-top: 2px; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.pipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; }
.pipe button { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 12px; }
.pipe button b { display: block; font-size: 22px; }
.pipe button small { font-size: 12.5px; color: var(--muted); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2); }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: var(--surface-2); }
.tbl .th { width: 42px; height: 42px; border-radius: 8px; background: var(--tile); overflow: hidden; padding: 3px; }
.tbl .th img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: var(--surface-3); color: var(--ink-2); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: currentColor; }
.pill.recebido, .pill.pendente { background: var(--warn-soft); color: var(--warn); }
.pill.aguardando_pagamento { background: var(--warn-soft); color: var(--warn); }
.pill.pagamento_aprovado, .pill.aprovado, .pill.sinal_pago { background: var(--pix-soft); color: var(--pix); }
.pill.em_producao { background: var(--gold-soft); color: var(--gold); }
.pill.pronto, .pill.enviado, .pill.em_transito { background: var(--moss-soft); color: var(--moss); }
.pill.entregue { background: var(--surface-3); color: var(--ink-2); }
.pill.cancelado, .pill.recusado, .pill.rejeitado, .pill.estornado { background: var(--bad-soft); color: var(--bad); }
.list-ed { display: grid; gap: 10px; }
.list-ed .item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.list-ed .item-h { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.list-ed .item-h .t { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-ed .item-b { padding: 4px 12px 14px; border-top: 1px dashed var(--line); display: grid; gap: 12px; }
.mini { border: 0; background: var(--surface-2); border-radius: 8px; height: 32px; min-width: 32px; padding: 0 8px; font-size: 13px; }
.mini:hover { background: var(--surface-3); }
.mini.bad { color: var(--bad); }
.savebar { position: sticky; bottom: 12px; z-index: 20; display: flex; gap: 10px; align-items: center; background: var(--ink); color: var(--bg); padding: 10px 12px 10px 16px; border-radius: 14px; box-shadow: var(--shadow); margin-top: 16px; }
.savebar .btn { min-height: 40px; }
.savebar .btn.primary { background: #F3D9A6; color: #2A1A12; }
.chart { width: 100%; height: 220px; }
.chart text { fill: var(--muted); font-size: 11px; font-family: var(--f-body); }
.chart .grid-l { stroke: var(--line); stroke-width: 1; }
.chart .bar { fill: var(--moss); }
.chart .bar.hl { fill: var(--wine); }
.chart .hit { fill: transparent; cursor: default; }
.tip { position: fixed; z-index: 99; pointer-events: none; background: var(--ink); color: var(--bg); font-size: 12.5px; padding: 6px 9px; border-radius: 8px; white-space: nowrap; }
.hbar { display: grid; grid-template-columns: minmax(0, 1.6fr) 2fr auto; gap: 10px; align-items: center; font-size: 13.5px; padding-block: 5px; }
.hbar i { display: block; height: 10px; border-radius: 0 4px 4px 0; background: var(--gold); min-width: 2px; }
.hbar .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.img-list { display: flex; gap: 10px; flex-wrap: wrap; }
.img-list .im { width: 104px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.img-list .im img { width: 104px; height: 104px; object-fit: cover; }
.img-list .im .a { display: flex; justify-content: space-between; padding: 4px; gap: 2px; }
.drop { border: 2px dashed var(--line-2); border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); font-size: 14px; cursor: pointer; }
.drop.on { border-color: var(--wine); background: var(--wine-soft); }
.sub-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.sub-tabs button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 20px; padding: 6px 13px; font-size: 14px; }
.sub-tabs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cfg-needed { border: 1.5px solid var(--warn); background: var(--warn-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; display: grid; gap: 6px; }
.cfg-needed b.t { color: var(--warn); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.cfg-needed code, .panel code { background: var(--surface-2); padding: 1px 6px; border-radius: 5px; font-size: 12.5px; word-break: break-all; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px 16px; }
.login { width: min(400px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 14px; }
.demo-flag { background: var(--gold-soft); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px; }
.ill-preview { width: 120px; height: 120px; background: var(--tile); border-radius: 14px; padding: 12px; }

@media print {
  .adm-side, .adm-mnav, .savebar, .header, .footer, .tabbar, .wa-float, .no-print { display: none !important; }
  body, body.admin { background: #fff; color: #000; }
  .adm { display: block; }
  .drawer { position: static; width: 100%; box-shadow: none; animation: none; }
  .scrim { display: none; }
}

.attn .row { flex-wrap: nowrap; }
.attn .row > span:not(.spacer) { min-width: 0; }
