/* ==========================================================================
   Martel — site público
   Direção: fabricante industrial. Branco papel, tinta de impressão, kraft como
   cor de material e cotas de desenho técnico como elemento marcante.
   --accent e --ink podem ser mudadas no painel (Aparência → Cores).
   ========================================================================== */
:root {
  --paper: #fbfbf9;
  --paper-2: #f0f1ed;
  --card: #ffffff;
  --ink: #14202b;
  --ink-2: #3b4652;
  --muted: #69727c;
  --line: #dcdfda;
  --line-2: #c9cdc6;
  --kraft: #b8875a;
  --kraft-l: #e6d3bd;
  --kraft-d: #8a6038;
  --accent: #1f4bb8;
  --ok: #2b7a4b;
  --warn: #a8600f;
  --radius: 6px;
  --radius-s: 4px;
  --shadow: 0 1px 2px rgba(20,32,43,.06), 0 8px 24px -12px rgba(20,32,43,.18);
  --head: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; letter-spacing: -.005em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 .9em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: var(--ink-2); max-width: 58ch; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; border-radius: 4px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* --- Botões --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: var(--radius-s); border: 2px solid transparent;
  font: 700 1.05rem/1 var(--head); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--ink); color: #fff; }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--kraft-l); color: var(--ink); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: .95rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-add {
  min-height: 38px; padding: 0 14px; border-radius: var(--radius-s); border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); font: 700 .95rem/1 var(--head); cursor: pointer; flex: none;
}
.btn-add:hover { background: var(--ink); color: #fff; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; cursor: pointer; font-size: .9rem; }
.link.danger:hover { color: #b3261e; }
.link-more, .link-arrow { font-weight: 600; white-space: nowrap; color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.actions.center { justify-content: center; }

/* --- Barras do topo --- */
.maint-bar { background: #fff3cd; color: #5c4400; font-size: .92rem; padding: 8px 0; border-bottom: 1px solid #f0d78a; }
.maint-bar a { font-weight: 700; }
.announce { background: var(--accent); color: #fff; font-size: .95rem; padding: 8px 0; text-align: center; }
.announce a { color: #fff; }
.topbar { background: var(--ink); color: #cfd5db; font-size: .88rem; }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; min-height: 36px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-contacts { display: flex; gap: 22px; }

/* --- Cabeçalho --- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: var(--ink); min-width: 0; }
.brand-logo { width: auto; max-width: 240px; object-fit: contain; }
.brand-mark { width: 38px; height: 38px; color: var(--accent); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-text strong { font: 800 1.45rem/1 var(--head); letter-spacing: .01em; }
.brand-text small { font-size: .8rem; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { display: flex; gap: 2px; }
.main-nav a { padding: 10px 12px; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--ink-2); border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--line-2); }
.main-nav a.on { color: var(--ink); border-bottom-color: var(--accent); }
.quote-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: var(--radius-s);
  background: var(--accent); color: #fff; text-decoration: none; font: 700 1rem/1 var(--head); white-space: nowrap; flex: none;
}
.quote-btn:hover { background: var(--ink); color: #fff; }
.quote-btn .count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.22); font-size: .85rem; }
.quote-btn .count.has { background: #fff; color: var(--accent); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mensagens --- */
.flashes { display: grid; gap: 8px; margin-top: 14px; }
.flash { position: relative; padding: 12px 44px 12px 16px; border-radius: var(--radius-s); background: #e7f3ec; color: #1c4d30; border: 1px solid #c4e0cf; font-weight: 600; }
.flash.error { background: #fbe9e7; color: #7d1d14; border-color: #f1c6c0; }
.flash .x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: inherit; width: 32px; height: 32px; }

/* --- Hero --- */
.hero { border-bottom: 1px solid var(--line); background:
  linear-gradient(var(--paper), var(--paper)) padding-box,
  repeating-linear-gradient(90deg, transparent 0 39px, rgba(20,32,43,.035) 39px 40px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-eyebrow { font: 600 1.05rem/1.2 var(--head); color: var(--accent); margin-bottom: 14px; }
.hero h1 { max-width: 15ch; }
.hero-call { margin: 18px 0 0; color: var(--muted); }
.hero-call a { font-weight: 700; color: var(--ink); }
.hero-visual { margin: 0; position: relative; padding: 0 34px 34px 0; }
.hero-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
/* cotas à volta da fotografia */
.dim { position: absolute; display: flex; align-items: center; gap: 8px; color: var(--ink-2); font: 700 .95rem var(--head); }
.dim i { flex: 1; height: 0; border-top: 1.5px solid currentColor; position: relative; }
.dim-w { left: 0; right: 34px; bottom: 6px; }
.dim-w i:first-child::before, .dim-w i:last-child::after { content: ""; position: absolute; top: -8px; height: 14px; border-left: 1.5px solid currentColor; }
.dim-w i:first-child::before { left: 0; } .dim-w i:last-child::after { right: 0; }
.dim-h { top: 0; bottom: 34px; right: 6px; flex-direction: column; width: 20px; }
.dim-h i { width: 0; height: auto; border-top: 0; border-left: 1.5px solid currentColor; }
.dim-h i:first-child::before, .dim-h i:last-child::after { content: ""; position: absolute; left: -8px; width: 14px; border-top: 1.5px solid currentColor; }
.dim-h i:first-child::before { top: 0; } .dim-h i:last-child::after { bottom: 0; }
.dimbox { width: 100%; height: auto; }
.dimbox .f-top { fill: var(--kraft-l); }
.dimbox .f-left { fill: #cfa77c; }
.dimbox .f-right { fill: var(--kraft); }
.dimbox .tape { stroke: #9b7046; stroke-width: 12; opacity: .55; }
.dimbox .flute { stroke: rgba(20,32,43,.35); stroke-width: 1.5; fill: none; }
.dimbox .box path { stroke-linejoin: round; }
.dimbox .cota path { stroke: var(--ink-2); stroke-width: 1.6; fill: none; }
.dimbox .cota text { font: 700 18px var(--head); fill: var(--ink-2); }

/* --- Factos --- */
.facts { background: var(--card); border-bottom: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.fact { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { font: 700 1.35rem/1.1 var(--head); }
.fact span { color: var(--muted); font-size: .95rem; }

/* --- Secções --- */
.section { padding-top: 64px; padding-bottom: 8px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cat {
  display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: border-color .15s;
}
.cat:hover { border-color: var(--ink); color: inherit; }
.cat img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--paper-2); }
.cat-body { display: flex; flex-direction: column; padding: 20px 22px 22px; flex: 1; border-top: 4px solid var(--kraft); }
.cat.has-img .cat-body { border-top: 0; }
.cat h3 { margin-bottom: 6px; }
.cat-desc { color: var(--ink-2); font-size: .98rem; margin-bottom: 14px; }
.cat-n { margin-top: auto; font-weight: 700; font-size: .92rem; color: var(--accent); }
.cat-custom { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-custom .cat-body { border-top-color: var(--accent); }
.cat-custom .cat-desc { color: #c9d0d7; }
.cat-custom .cat-n { color: #fff; text-decoration: underline; }
.cat-custom:hover { color: #fff; border-color: var(--accent); }

/* --- Produtos --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card-img { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); display: block; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .badge { position: absolute; left: 10px; top: 10px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.card-body h3 a { text-decoration: none; }
.specs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .9rem; color: var(--ink-2); margin-bottom: 14px; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.price { font: 700 1.2rem/1.1 var(--head); }
.price small { font: 500 .78rem var(--body); color: var(--muted); }
.price.quote-only { font: 600 .9rem var(--body); color: var(--ink-2); }

.ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--kraft);
  background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(184,135,90,.12) 7px 8px), var(--paper-2); }
.ph svg { width: 34%; max-width: 110px; }
.ph.big { aspect-ratio: 1; border-radius: var(--radius); }

.badge { display: inline-block; padding: 5px 9px; border-radius: 3px; font: 600 .78rem/1 var(--body); }
.av-stock { background: #e1f1e7; color: #1d5a35; }
.av-producao { background: #f3e6d6; color: #6e4314; }
.av-consulta { background: #e4e8f3; color: #2b3c6c; }

/* --- USP --- */
.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.usp-item { padding: 6px 28px 6px 0; margin-right: 28px; border-right: 1px solid var(--line); }
.usp-item:last-child { border-right: 0; margin-right: 0; }
.usp-item h3 { font-size: 1.35rem; }
.usp-item h3::before { content: ""; display: block; width: 36px; height: 4px; background: var(--kraft); margin-bottom: 14px; }
.usp-item p { color: var(--ink-2); margin: 0; }

/* --- Como funciona --- */
.how { background: var(--ink); color: #fff; padding: 72px 0; margin-top: 72px; }
.how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.how h2 { color: #fff; max-width: 14ch; }
.how .btn { margin-top: 12px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); color: #d3d9df; font-size: 1.08rem; }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.steps li::before { content: counter(s); font: 800 2rem/1 var(--head); color: var(--kraft); }

/* --- Texto SEO + FAQ --- */
.seo-block { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.seo-text p { color: var(--ink-2); max-width: 65ch; }
.page-links { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.page-links a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 3px; text-decoration: none; font-weight: 600; font-size: .95rem; background: var(--card); }
.page-links a:hover { border-color: var(--accent); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; font: 700 1.15rem/1.25 var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.6rem/1 var(--body); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 8px; }

/* --- Cabeçalho de página / catálogo --- */
.page-head { background: var(--card); padding: 40px 0 34px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: .25em; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.catalog { padding-top: 26px; }
.filters { display: grid; gap: 12px; margin-bottom: 18px; }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.search input { padding-left: 44px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 3px; border: 1px solid var(--line-2); background: var(--card); text-decoration: none; font-weight: 600; font-size: .93rem; white-space: nowrap; }
.chip.small { padding: 6px 12px; font-size: .85rem; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on:hover { color: #fff; }
.result-count { color: var(--muted); font-size: .92rem; }
.empty { text-align: center; padding: 48px 20px; background: var(--card); border-radius: var(--radius); border: 1px dashed var(--line-2); }
.empty.small { padding: 28px 20px; }
.cat-text { margin-top: 48px; }
.cta-band {
  margin: 64px 0 40px; padding: 34px 36px; border-radius: var(--radius); background: var(--accent); color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 60ch; }

/* --- Página de conteúdo --- */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 40px; padding-bottom: 24px; align-items: start; }
.page-img { border-radius: var(--radius); margin-bottom: 28px; width: 100%; }
.page-side { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-box { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 22px; }
.side-box h2, .side-links h2 { font-size: 1.35rem; }
.side-box p { color: var(--ink-2); font-size: .98rem; }
.side-call { margin: 12px 0 0; text-align: center; color: var(--muted); }
.side-call a { font-weight: 700; color: var(--ink); }
.side-links { display: grid; gap: 2px; }
.side-links a { padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--kraft-d); }
.prose a { color: var(--accent); font-weight: 600; }

/* --- Página de produto --- */
.product { padding-top: 24px; padding-bottom: 32px; }
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.gallery-main { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border-radius: var(--radius-s); overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--card); }
.thumbs button.on { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 12px 0 4px; }
.spec-table { margin: 22px 0; border-top: 2px solid var(--ink); }
.spec-table div { display: grid; grid-template-columns: 44% 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 600; }
.buy-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.buy-box .price { display: block; font-size: 1.6rem; margin-bottom: 14px; }
.buy-box .actions { margin-top: 14px; }
.buy-box .actions .btn { flex: 1 1 200px; }
.hint { font-size: .9rem; color: var(--muted); margin: 8px 0 0; }
.warn { color: var(--warn); margin: 4px 0; }
.product .prose { margin-top: 44px; }
.delivery-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.delivery-info > div { padding: 20px 22px; border-left: 1px solid var(--line); }
.delivery-info > div:first-child { border-left: 0; }
.delivery-info p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* --- Formulários --- */
input, select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--radius-s);
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font: 400 1rem/1.3 var(--body);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2369727c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--accent); -webkit-appearance: auto; appearance: auto; flex: none; margin: 0; }
input[type="color"] { padding: 4px; height: 48px; width: 80px; cursor: pointer; }
input[type="file"] { padding: 10px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.form-stack { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .wide, .form-grid .dims { grid-column: 1 / -1; }
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.card-form { background: var(--card); border: 1px solid var(--line); padding: 24px; border-radius: var(--radius); }

.qty { display: flex; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); background: #fff; overflow: hidden; max-width: 220px; }
.qty input { border: 0; text-align: center; font-weight: 700; min-width: 0; border-radius: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { box-shadow: none; }
.qty button { width: 48px; flex: none; border: 0; background: var(--paper-2); font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--line); }
.qty.small { max-width: 150px; }
.qty.small input, .qty.small button { min-height: 40px; height: 40px; }
.qty.small button { width: 38px; }

/* --- Pedido de orçamento --- */
.quote-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding-top: 28px; padding-bottom: 48px; align-items: start; }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; margin-bottom: 16px; }
.step-title span { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.lines { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px; border-bottom: 1px solid var(--line); align-items: start; }
.line-img { width: 72px; height: 72px; border-radius: var(--radius-s); overflow: hidden; background: var(--paper-2); }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-img .ph svg { width: 50%; }
.line-name { font-weight: 700; margin: 0 0 2px; }
.line-name a { text-decoration: none; }
.line-notes { min-height: 38px; padding: 7px 10px; font-size: .9rem; margin-top: 6px; }
.line-qty { display: grid; justify-items: end; gap: 4px; }
.lines-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; flex-wrap: wrap; }
.estimate { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--paper-2); }
.estimate svg { width: 28px; height: 28px; flex: none; color: var(--kraft-d); }
.estimate p { margin: 0; font-size: .95rem; }
.custom-box { margin-top: 22px; background: var(--card); border: 1.5px dashed var(--kraft); border-radius: var(--radius); }
.custom-box summary { list-style: none; display: flex; gap: 14px; align-items: center; padding: 16px 18px; cursor: pointer; }
.custom-box summary::-webkit-details-marker { display: none; }
.custom-box .plus { width: 34px; height: 34px; border-radius: 50%; background: var(--kraft); color: #fff; display: grid; place-items: center; font-size: 1.3rem; flex: none; transition: transform .2s; }
.custom-box[open] .plus { transform: rotate(45deg); }
.custom-box form { padding: 4px 18px 20px; }
.quote-side { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.delivery { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.delivery legend { font-size: .9rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.radio-card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); cursor: pointer; background: #fff; }
.radio-card:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, #fff); }
.address[hidden] { display: none; }

/* --- Outras páginas --- */
.center-msg { text-align: center; padding-top: 72px; padding-bottom: 72px; max-width: 640px; }
.center-msg .lead { margin-left: auto; margin-right: auto; }
.check-big { width: 76px; height: 76px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2.4rem; display: grid; place-items: center; margin: 0 auto 18px; }
.err-code { font: 800 5rem/1 var(--head); color: var(--kraft); margin: 0; }
.about { padding-top: 40px; padding-bottom: 12px; }
.about.has-img { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; padding-top: 32px; padding-bottom: 48px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info h3 { font-size: 1rem; color: var(--muted); margin-bottom: 4px; }
.contact-info p { margin: 0; font-size: 1.1rem; }

/* --- Rodapé --- */
.site-footer { background: var(--ink); color: #fff; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 52px; padding-bottom: 36px; }
.footer-grid h2 { font-size: 1.15rem; color: #fff; margin-bottom: 14px; }
.footer-grid p { margin: 0 0 8px; color: #d3d9df; }
.footer-grid a { text-decoration: none; color: #fff; }
.footer-grid a:hover { text-decoration: underline; color: #fff; }
.footer-logo { max-height: 52px; width: auto; margin-bottom: 14px; background: #fff; padding: 8px 10px; border-radius: 4px; }
.footer-brand { font: 800 1.6rem/1 var(--head); color: #fff !important; }
.muted-inv { color: #9aa5b0 !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: #9aa5b0; }
.footer-bottom a { color: #9aa5b0; }
.fab-quote { display: none; }

/* --- Manutenção --- */
.maint-page { background: var(--ink); }
.maint { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; }
.maint-card { background: var(--paper); max-width: 620px; width: 100%; padding: 44px 40px; border-radius: var(--radius); border-top: 6px solid var(--kraft); text-align: center; }
.maint-logo { max-height: 70px; width: auto; margin: 0 auto 24px; }
.maint-name { font: 800 1.8rem/1 var(--head); }
.maint-card h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.maint-card .lead { margin: 0 auto 24px; }
.maint-contacts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.maint-addr { margin: 22px 0 0; color: var(--muted); font-size: .95rem; }
.maint-admin { position: absolute; bottom: 18px; right: 22px; color: #6f7c88; font-size: .85rem; text-decoration: none; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
/* --- Barra «Editar esta página» (só com sessão iniciada) ------------------------ */
.edit-bar { background: #1d2a36; color: #cfd7df; font-size: .9rem; }
.edit-bar-row { display: flex; align-items: center; gap: 18px; min-height: 38px; flex-wrap: wrap; }
.edit-bar a { color: #fff; font-weight: 600; text-decoration: none; }
.edit-bar a:hover { text-decoration: underline; color: #fff; }
.edit-bar .edit-bar-main { background: var(--accent); padding: 4px 12px; border-radius: 3px; }
.edit-bar .edit-bar-main:hover { text-decoration: none; filter: brightness(1.1); }

/* --- Redes sociais com ícone ---------------------------------------------------- */
.social { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0 !important; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: #fff; text-decoration: none !important; font-size: .9rem; font-weight: 600;
  transition: background .15s, transform .15s; }
.social a:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }
.social .ico { flex: none; }
.social-light a { background: var(--paper-2); color: var(--ink); }
.social-light a:hover { background: var(--line); color: var(--ink); }
.social-light .social-facebook .ico { color: #1877f2; }
.social-light .social-instagram .ico { color: #d62976; }
.social-light .social-linkedin .ico { color: #0a66c2; }
.social-light .social-youtube .ico { color: #ff0000; }
.social-light .social-whatsapp .ico { color: #1fa855; }

/* --- Contactos: locais e mapa ------------------------------------------------------ */
.locations { display: grid; gap: 24px; padding-top: 32px; }
.locations.has-map { grid-template-columns: minmax(280px, .85fr) 1.4fr; align-items: start; }
.loc-list { display: grid; gap: 14px; }
.loc-card { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--kraft); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); transition: border-color .15s; }
.loc-card[data-loc] { cursor: pointer; }
.loc-card.on, .loc-card[data-loc]:hover { border-left-color: var(--accent); }
.loc-card h2 { font-size: 1.35rem; margin: 0 0 10px; }
.loc-kind { margin: 0 0 2px; font: 700 .75rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--kraft-d); }
.loc-line { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 6px; color: var(--ink-2); }
.loc-line .ico { flex: none; margin-top: 3px; color: var(--muted); }
.loc-line.big { font-size: 1.12rem; }
.loc-line a { text-decoration: none; font-weight: 600; color: var(--ink); }
.loc-notes { margin: 8px 0 0; font-size: .92rem; color: var(--muted); }
.loc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 0; }
.loc-actions .btn-add { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.loc-map-wrap { position: sticky; top: 92px; }
.loc-map { height: min(560px, 70vh); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper-2); z-index: 0; }
.map-pin span { position: absolute; left: 3px; top: 0; width: 24px; height: 24px; background: var(--accent); border: 3px solid #fff;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.map-pin span::after { content: ""; position: absolute; inset: 6px; background: #fff; border-radius: 50%; }
.leaflet-popup-content { font: 400 .95rem/1.45 var(--body); }
.leaflet-popup-content small { color: var(--muted); }
.contact-info h2 { margin-bottom: 4px; }

/* --- Anexos ------------------------------------------------------------------------- */
.attach-drop { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--radius-s);
  background: #fff; cursor: pointer; position: relative; transition: border-color .15s, background .15s; }
.attach-drop:hover, .attach-drop:focus-within { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 4%, #fff); }
.attach-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.attach-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--accent); }
.attach-txt { display: grid; gap: 2px; }
.attach-txt small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.attach-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.attach-list:empty { display: none; }
.attach-list li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; background: var(--paper-2); border-radius: var(--radius-s); font-size: .9rem; }
.attach-list img, .attach-list .ext { flex: none; width: 40px; height: 40px; object-fit: cover; border-radius: 3px; }
.attach-list .ext { display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 .7rem/1 var(--head); }
.attach-list .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-err { color: #b42318; font-weight: 600; font-size: .92rem; margin: 6px 0 0; }

/* --- Mapa: pedir autorização antes de carregar ------------------------------------ */
.map-consent { height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center;
  background: repeating-linear-gradient(45deg, var(--paper-2) 0 14px, #e9ebe6 14px 28px); color: var(--ink-2); }
.map-consent .ico { color: var(--accent); }
.map-consent p { max-width: 42ch; margin: 0; font-size: .95rem; background: rgba(255,255,255,.85); padding: 10px 14px; border-radius: 6px; }
.map-consent .check { font-size: .85rem; }
.map-forget { margin-top: 8px; font-size: .85rem; }

/* --- Página de privacidade ------------------------------------------------------------ */
.legal { padding-top: 28px; padding-bottom: 20px; max-width: 80ch; }
.legal h2 { scroll-margin-top: 100px; font-size: 1.45rem; padding-top: 6px; border-top: 1px solid var(--line); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; }
.legal-toc a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; background: var(--card); }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.cookie-table th { background: var(--paper-2); font-family: var(--head); }

/* --- Chat (visitante) ----------------------------------------------------------------- */
.chatw { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; font-family: var(--body); }
.chatw-btn { position: relative; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border: 0; border-radius: 28px;
  background: var(--ink); color: #fff; font: 700 1rem/1 var(--head); letter-spacing: .01em; cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.28);
  transition: transform .15s, background .15s; }
.chatw-btn:hover { transform: translateY(-2px); background: var(--accent); }
.chatw[data-status="online"] .chatw-btn { background: var(--accent); }
.chatw[data-status="online"] .chatw-btn:hover { background: var(--ink); }
.chatw-dot { position: absolute; left: 36px; top: 12px; width: 11px; height: 11px; border-radius: 50%; background: #9aa5b0; border: 2px solid #fff; }
.chatw[data-status="online"] .chatw-dot { background: #2fd27a; }
.chatw-badge { position: absolute; top: -6px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #e5383b;
  color: #fff; font: 700 .78rem/22px var(--body); text-align: center; border: 2px solid #fff; }
.chatw.open .chatw-btn { display: none; }
.chatw-panel { position: absolute; right: 0; bottom: 0; width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100vh - 110px));
  display: flex; flex-direction: column; background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.3);
  border: 1px solid var(--line); }
.chatw-panel[hidden] { display: none; }
.chatw-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: var(--ink); color: #fff; }
.chatw-head img { width: 38px; height: 38px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; flex: none; }
.chatw-av { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font: 800 1.2rem/1 var(--head); flex: none; }
.chatw-head div { flex: 1; min-width: 0; display: grid; }
.chatw-head b { font: 700 1.08rem/1.2 var(--head); }
.chatw-head small { color: #c7d0d8; font-size: .8rem; }
.chatw[data-status="online"] .chatw-head small::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fd27a; margin-right: 6px; }
.chatw-x { width: 36px; height: 36px; border: 0; background: transparent; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.chatw-x:hover { background: rgba(255,255,255,.12); }
.chatw-end { border: 1px solid rgba(255,255,255,.3); background: transparent; color: #dfe5ea; font-size: .78rem; padding: 4px 8px; border-radius: 4px; cursor: pointer; }
.chatw-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--paper-2); overscroll-behavior: contain; }
.chatw-m { max-width: 85%; padding: 8px 12px; border-radius: 14px; font-size: .95rem; line-height: 1.4; word-wrap: break-word; display: grid; gap: 2px; }
.chatw-m.empresa { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chatw-m.cliente { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.chatw-m.cliente a { color: #fff; }
.chatw-m.sistema { align-self: center; background: transparent; color: var(--muted); font-size: .85rem; text-align: center; }
.chatw-m .who { font-size: .75rem; font-weight: 700; color: var(--accent); }
.chatw-m .t { font-size: .7rem; opacity: .65; justify-self: end; }
.chatw-start { padding: 12px 14px; display: grid; gap: 8px; border-top: 1px solid var(--line); background: #fff; }
.chatw-start input, .chatw-start textarea, .chatw-compose textarea { width: 100%; font: inherit; font-size: 16px; padding: 9px 11px; border: 1.5px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--ink); }
.chatw-start input:focus, .chatw-start textarea:focus, .chatw-compose textarea:focus { outline: none; border-color: var(--accent); }
.chatw-start input[hidden], .chatw-start[hidden] { display: none; }
.chatw-start .btn { min-height: 44px; }
.chatw-note { margin: 0; font-size: .75rem; color: var(--muted); }
.chatw-compose { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.chatw-compose[hidden] { display: none; }
.chatw-compose textarea { resize: none; min-height: 44px; max-height: 120px; }
.chatw-compose button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chatw-compose button:disabled, .chatw-start .btn:disabled { opacity: .6; }
.chatw-err { margin: 0; padding: 8px 14px; background: #fdecea; color: #b42318; font-size: .88rem; }

@media (max-width: 1180px) {
  .main-nav a { padding: 10px 7px; font-size: .95rem; }
  .quote-btn .label { display: none; }
}
@media (max-width: 980px) {
  .quote-layout, .product-grid, .contact-grid, .seo-block, .how-grid, .page-layout, .about.has-img, .locations.has-map { grid-template-columns: 1fr; }
  .loc-map-wrap { position: static; order: -1; }
  .loc-map { height: 340px; }
  .quote-side, .page-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 48px; }
  .hero-visual { max-width: 560px; }
}
@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
    transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s;
    box-shadow: 0 16px 30px rgba(20,32,43,.14); max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .main-nav a.on { border-bottom-color: var(--line); color: var(--accent); }
  .usp { grid-template-columns: 1fr; gap: 28px; }
  .usp-item { border-right: 0; margin-right: 0; padding-right: 0; }
  .delivery-info { grid-template-columns: 1fr; }
  .delivery-info > div { border-left: 0; border-top: 1px solid var(--line); }
  .delivery-info > div:first-child { border-top: 0; }
  .topbar-hours { display: none; }
  .topbar-row { justify-content: center; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .brand-text small { display: none; }
  .brand-logo { max-width: 160px; max-height: 40px; }
  .header-row { height: 64px; gap: 12px; }
  .main-nav { inset: 64px 0 auto 0; }
  .topbar-contacts { gap: 14px; font-size: .82rem; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero-visual { padding: 0 26px 26px 0; }
  .fact { border-left: 0; padding: 14px 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
  .facts-row { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 11px 12px 13px; }
  .card-body h3 { font-size: 1.02rem; }
  .specs { font-size: .8rem; margin-bottom: 8px; }
  .specs span:nth-child(2) { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .btn-add { width: 100%; }
  .price { font-size: 1rem; }
  .price.quote-only { font-size: .78rem; }
  .card-img .badge { left: 6px; top: 6px; font-size: .68rem; padding: 4px 6px; }
  .line { grid-template-columns: 56px 1fr; }
  .line-img { width: 56px; height: 56px; }
  .line-qty { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .form-grid, .two { grid-template-columns: 1fr; }
  .dims .field > span { font-size: .78rem; }
  .cta-band { padding: 26px 22px; }
  .cta-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-table div { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 48px; }
  .how { padding: 52px 0; margin-top: 52px; }
  .maint-card { padding: 34px 22px; }
  .fab-quote {
    display: flex; position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%);
    z-index: 40; gap: 10px; align-items: center; padding: 12px 20px; border-radius: 26px;
    background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 24px rgba(0,0,0,.25);
  }
  .fab-quote b { background: #fff; color: var(--accent); border-radius: 12px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: .85rem; }
  .site-footer { padding-bottom: 70px; }
  .chatw-btn { height: 52px; padding: 0 14px; }
  .chatw-btn-txt { display: none; }
  .chatw-dot { left: 32px; top: 10px; }
  .chatw-panel { position: fixed; inset: auto 0 0 0; width: 100%; height: min(88vh, 100%); border-radius: 14px 14px 0 0; }
  .edit-bar-row { gap: 10px; font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
