/* Perfecta Cavi – foglio di stile unico, mobile-first, senza dipendenze.
   Palette derivata dal sito storico (blu #1d4896 del marchio e colori
   distintivi delle categorie). Contrasti verificati per WCAG 2.2 AA. */

:root {
  --brand: #1d4896;
  --brand-dark: #142f63;
  --brand-tint: #e9eff9;
  --ink: #1b2330;
  --muted: #535d6c;
  --line: #d3dae4;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --warning-bg: #fff6db;
  --warning-line: #c99a00;
  --success: #1e7a3c;
  --eco: #00752d;
  --focus: #0b57d0;
  --accent: var(--brand);
  --radius: 6px;
  --container: 76rem;
  --gutter: 1rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img, picture, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--brand); text-underline-offset: 0.15em; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }

h1, h2, h3, h4 { line-height: 1.25; margin: 1.5em 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(1.65rem, 1.2rem + 2vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
address { font-style: normal; }
code { font-size: 0.95em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 50rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--brand); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Pulsanti ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 44px; padding: 0.6rem 1.2rem;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  color: #fff; background: var(--brand); border: 2px solid var(--brand); border-radius: var(--radius);
  cursor: pointer;
}
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; text-decoration: none; }
.button-secondary { background: #fff; color: var(--brand); }
.button-secondary:hover { background: var(--brand-tint); color: var(--brand-dark); }
.text-link { font-weight: 600; }

/* ---------- Header e navigazione ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 0.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand-logo { width: 84px; height: auto; }
.brand-tagline { font-size: 0.85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem; }
.main-nav a {
  display: block; padding: 0.6rem 0.8rem; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--ink); border-radius: var(--radius);
}
.main-nav a:hover { background: var(--bg-alt); color: var(--brand); }
.main-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.9rem;
  font: inherit; font-weight: 600; color: var(--ink); background: #fff;
  border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

/* Su mobile il menu principale si apre col pulsante (senza JavaScript il
   foglio nojs.css, incluso in <noscript>, lo mostra sempre aperto). */
@media (max-width: 47.99rem) {
  .main-nav { display: none; width: 100%; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding-bottom: 0.5rem; }
}
@media (min-width: 48rem) {
  .nav-toggle { display: none !important; }
}

.category-nav { background: var(--brand-tint); }
.category-nav ul {
  list-style: none; margin-block: 0; display: flex; gap: 0.25rem;
  overflow-x: auto; scrollbar-width: thin; padding-block: 0.25rem;
}
.category-nav li { flex: 0 0 auto; }
.category-nav a {
  display: block; padding: 0.55rem 0.75rem; min-height: 44px;
  font-size: 0.875rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
  border-bottom: 4px solid var(--accent);
}
.category-nav a:hover { background: #fff; color: var(--brand-dark); }
@media (min-width: 72rem) {
  .category-nav ul { flex-wrap: wrap; overflow: visible; justify-content: space-between; gap: 0.25rem; }
  .category-nav a { padding-inline: 0.45rem; font-size: 0.82rem; }
}

/* ---------- Layout pagine ---------- */
.page { padding-block: 1rem 3rem; }
.page-title { margin-top: 0.5rem; }
.page-title-accent { padding-left: 0.75rem; border-left: 6px solid var(--accent); }
.eyebrow { margin: 0 0 0.25rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); }
.prose { max-width: 46rem; }
.section { padding-block: 2.5rem; }
.section-alt { background: var(--bg-alt); }
.section-title { margin-top: 0; }
.split { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; } }
.wide-figure { margin: 2rem 0; }
.wide-figure img { width: 100%; border-radius: var(--radius); }
.empty-state { padding: 1rem 1.25rem; background: var(--bg-alt); border-radius: var(--radius); }
.actions-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.breadcrumb ol { list-style: none; margin: 0; padding: 0.75rem 0 0; display: flex; flex-wrap: wrap; font-size: 0.9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-inline: 0.5rem; color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Home ---------- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; gap: 1rem; padding-block: 1.5rem 2rem; align-items: center; }
.hero-text h1 { margin-top: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-media img { width: 100%; aspect-ratio: 1170 / 500; object-fit: cover; }
@media (min-width: 64rem) {
  .hero-inner { grid-template-columns: 5fr 6fr; padding-block: 2.5rem; }
}

.category-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.category-card {
  position: relative; padding: 1.1rem 1.25rem; background: #fff;
  border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: var(--radius);
}
.category-card:hover { box-shadow: 0 4px 16px rgb(20 47 99 / 0.12); }
.category-card-title { margin: 0 0 0.25rem; font-size: 1.1rem; }
.category-card-title a { text-decoration: none; color: var(--ink); }
.category-card-title a::after { content: ""; position: absolute; inset: 0; }
.category-card-title a:focus-visible { outline: none; }
.category-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.category-card-count { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.9rem; }
.category-card-products { margin: 0; padding-left: 1.1rem; font-size: 0.9rem; color: var(--muted); }

.tag-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-list li { padding: 0.35rem 0.8rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.check-list { padding-left: 1.25rem; }
.check-list li { margin-bottom: 0.35rem; }

.contact-strip { background: var(--brand); color: #fff; }
.contact-strip .section-title, .contact-strip p { color: #fff; }
.contact-strip-inner { display: grid; gap: 1rem; align-items: center; }
.contact-strip-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.contact-strip .button-primary { background: #fff; color: var(--brand); border-color: #fff; }
.contact-strip .button-primary:hover { background: var(--brand-tint); color: var(--brand-dark); }
.contact-strip .button-secondary { background: transparent; color: #fff; border-color: #fff; }
.contact-strip .button-secondary:hover { background: var(--brand-dark); }
.contact-strip :focus-visible { outline-color: #ffbf47; }
@media (min-width: 56rem) { .contact-strip-inner { grid-template-columns: 2fr 1fr; } .contact-strip-actions { justify-content: flex-end; } }

/* ---------- Catalogo ---------- */
.catalog-section { margin-top: 2rem; }
.catalog-section-title { padding-left: 0.75rem; border-left: 6px solid var(--accent); }
.catalog-section-title a { color: var(--ink); text-decoration: none; }
.catalog-section-title a:hover { color: var(--brand); text-decoration: underline; }

.product-grid { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.product-card { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.product-card:hover { border-color: var(--brand); }
.product-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.product-card-media { display: flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: 0.5rem; background: var(--bg-alt); border-radius: 4px; }
.product-card-title { margin: 0; font-size: 1.05rem; }
.product-card-title a { color: var(--ink); text-decoration: none; }
.product-card-title a::after { content: ""; position: absolute; inset: 0; }
.product-card-title a:focus-visible { outline: none; }
.product-card-meta { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- Scheda prodotto ---------- */
.product-layout { display: grid; gap: 2rem; margin-top: 0.5rem; }
@media (min-width: 64rem) { .product-layout { grid-template-columns: minmax(0, 1fr) 13rem; align-items: start; } }
.product { min-width: 0; }
.product-header .page-title { margin-bottom: 1rem; }
.product-diagram { margin: 0 0 1.5rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.product-diagram img { margin-inline: auto; }
.product-intro { font-size: 1.1rem; }
.product-section { margin-top: 2rem; }
.product-section-title { margin-top: 0; padding-bottom: 0.35rem; border-bottom: 2px solid var(--line); }
.product-fact { max-width: 52rem; }
.product-notes p { margin: 0.25rem 0 0.5rem; }
.product-notes .inline-icon { float: left; margin: 0.2rem 0.6rem 0.2rem 0; width: 28px; height: auto; }
.product-notes::after { content: ""; display: block; clear: both; }
.text-eco { color: var(--eco); font-weight: 600; }

.product-sidebar { padding: 1rem 1.25rem; background: var(--bg-alt); border-radius: var(--radius); border-top: 6px solid var(--accent); }
@media (min-width: 64rem) { .product-sidebar { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; } }
.sidebar-title { margin: 0 0 0.5rem; font-size: 1rem; }
.sidebar-title a { color: var(--ink); }
.product-sidebar ul { list-style: none; margin: 0; padding: 0; }
.product-sidebar li a { padding: 0.4rem 0.5rem; min-height: 44px; display: flex; align-items: center; color: var(--ink); text-decoration: none; border-radius: 4px; }
.product-sidebar li a:hover { background: #fff; color: var(--brand); }
.product-sidebar li a[aria-current="page"] { background: #fff; color: var(--brand); font-weight: 700; box-shadow: inset 4px 0 0 var(--accent); }

.product-cta { margin-top: 2.5rem; padding: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--brand-tint); border-radius: var(--radius); }
.product-cta p { margin: 0; font-weight: 600; }

.image-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-bottom: 1.5rem; }
.image-grid figure, .swatch-grid figure { margin: 0; }
.image-grid img { width: 100%; border-radius: var(--radius); }
.swatch-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); margin-bottom: 1.5rem; }
.swatch-grid figcaption { margin-top: 0.35rem; font-weight: 700; font-size: 0.9rem; }

/* ---------- Tabelle tecniche ---------- */
.spec-block { margin: 1.5rem 0; }
.spec-kv-grid, .spec-pairs-grid { display: grid; gap: 0 1.5rem; }
@media (min-width: 48rem) {
  .spec-kv-grid { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
  .spec-pairs-grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
}

.table-scroll {
  position: relative; overflow-x: auto; max-width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius);
  /* ombre che segnalano contenuto scorrevole */
  background:
    linear-gradient(to right, #fff 30%, rgb(255 255 255 / 0)) left / 2rem 100% no-repeat local,
    linear-gradient(to left, #fff 30%, rgb(255 255 255 / 0)) right / 2rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgb(0 0 0 / 0.18), transparent) left / 0.75rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgb(0 0 0 / 0.18), transparent) right / 0.75rem 100% no-repeat scroll;
}
.table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.table-scroll-tall { max-height: min(78vh, 46rem); overflow-y: auto; }

table.spec { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.spec caption {
  caption-side: top; text-align: left; padding: 0.7rem 0.85rem; font-weight: 700; font-size: 0.95rem;
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
}
.spec th, .spec td { padding: 0.45rem 0.6rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec thead th {
  font-weight: 700; font-size: 0.8rem; line-height: 1.3; color: var(--ink);
  background: #e6ecf5; vertical-align: bottom; min-width: 4.75rem;
}
.spec .unit { display: block; font-weight: 400; color: var(--muted); }
.spec-kv .unit, .spec-pairs .unit { display: inline; }
.spec tbody tr:nth-child(even) > * { background: #f7f9fc; }
.spec tbody tr:nth-child(odd) > * { background: #fff; }
.spec tbody tr:hover > * { background: var(--brand-tint); }
.spec tbody th { font-weight: 600; }
.spec-grid td, .spec-grid tbody th { white-space: nowrap; }

/* Prima colonna e intestazioni sempre visibili durante lo scorrimento */
.spec-grid tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); }
.spec-grid thead th:first-child { position: sticky; left: 0; z-index: 3; box-shadow: 1px 0 0 var(--line); }
.table-scroll-tall .spec-grid thead th { position: sticky; top: 0; z-index: 2; }
.table-scroll-tall .spec-grid thead th:first-child { z-index: 3; }
.table-scroll-tall .spec caption { position: sticky; left: 0; }

.spec-kv th { width: 45%; }
.spec-note { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }
.scroll-hint { margin: 0 0 0.35rem; font-size: 0.85rem; color: var(--muted); }
@media (min-width: 80rem) { .scroll-hint { display: none; } }

/* ---------- Form ---------- */
.contact-layout { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .contact-layout { grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); align-items: start; } }
.info-card { padding: 1.25rem 1.5rem; background: var(--bg-alt); border-radius: var(--radius); border-top: 6px solid var(--brand); }
.info-card h2 { margin-top: 0; font-size: 1.2rem; }

.form-intro { color: var(--muted); font-size: 0.95rem; }
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0.3rem; }
@media (min-width: 40rem) {
  .field-half { grid-column: span 3; }
  .field-wide { grid-column: span 5; }
  .field-narrow { grid-column: span 1; }
  .field-third { grid-column: span 2; }
  .field-sixth { grid-column: span 1; }
}
.field label { font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="password"],
.field textarea, .field select {
  width: 100%; min-height: 44px; padding: 0.55rem 0.7rem; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid #8a94a3; border-radius: var(--radius);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { border-color: var(--focus); }
.field-invalid input, .field-invalid textarea { border-color: var(--danger); }
.field-error { margin: 0; color: var(--danger); font-weight: 600; font-size: 0.9rem; }
.field-hint { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.9rem; }
.required { color: var(--danger); }
.checkbox-row { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.6rem; align-items: start; }
.checkbox-row input[type="checkbox"] { width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; accent-color: var(--brand); }
.checkbox-row label { font-weight: 400; }
.checkbox-row .field-hint { grid-column: 2; }
.form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.spam-status { margin: 0; font-size: 0.9rem; color: var(--muted); }
.spam-status.is-done { color: var(--success); }
.spam-check noscript label { font-weight: 600; }
.spam-check input[type="text"] { max-width: 8rem; min-height: 44px; padding: 0.55rem 0.7rem; font: inherit; border: 2px solid #8a94a3; border-radius: var(--radius); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 1rem; }
legend { font-weight: 700; padding-inline: 0.35rem; }
.consent-category + .consent-category { margin-top: 1rem; }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius); border-left: 6px solid; margin-bottom: 1.5rem; }
.alert:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.alert p:last-child, .alert ul:last-child { margin-bottom: 0; }
.alert-title { margin: 0 0 0.5rem; font-size: 1.05rem; }
.alert-error { background: var(--danger-bg); border-color: var(--danger); }
.alert-error a { color: var(--danger); font-weight: 600; }
.alert-warning { background: var(--warning-bg); border-color: var(--warning-line); }
.alert-notice { background: #e8f5ec; border-color: var(--success); }
.legal h2 { font-size: 1.3rem; }
.legal h3 { font-size: 1.1rem; }
.link-list { padding-left: 1.25rem; }

/* ---------- Dove siamo ---------- */
.location-grid { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .location-grid { grid-template-columns: minmax(16rem, 1fr) 2fr; align-items: start; } }
.map-frame iframe { display: block; width: 100%; height: 28rem; border: 0; border-radius: var(--radius); }
.map-consent { padding: 1.5rem; min-height: 16rem; background: var(--bg-alt); border: 2px dashed var(--line); border-radius: var(--radius); }
.map-consent-title { margin-top: 0; font-size: 1.2rem; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; inset: auto 0 0 0; z-index: 900; max-height: 85vh; overflow-y: auto;
  background: #fff; border-top: 4px solid var(--brand); box-shadow: 0 -6px 24px rgb(0 0 0 / 0.18);
}
.cookie-banner-inner { max-width: 60rem; margin-inline: auto; padding: 1rem var(--gutter); }
.cookie-banner-title { margin: 0 0 0.35rem; font-size: 1.1rem; }
.cookie-banner p { font-size: 0.95rem; margin-bottom: 0.75rem; }
.cookie-banner-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.cookie-banner-actions .button { padding-inline: 0.4rem; }
@media (max-width: 35.99rem) {
  .cookie-banner-inner { padding-block: 0.75rem; }
  .cookie-banner p { font-size: 0.875rem; line-height: 1.45; margin-bottom: 0.6rem; }
  .cookie-banner-title { font-size: 1rem; }
}
.cookie-customize { margin-bottom: 0.75rem; }
.cookie-customize .button { width: 100%; }
body.has-cookie-banner { padding-bottom: var(--cookie-banner-height, 0); }
/* Gli elementi che ricevono il focus non finiscono sotto il banner (WCAG 2.4.11) */
html.has-cookie-banner { scroll-padding-bottom: calc(var(--cookie-banner-height, 0px) + 1rem); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; background: #1b2330; color: #e7ebf1; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #cfe0ff; }
.site-footer :focus-visible { outline-color: #ffbf47; }
.footer-grid { display: grid; gap: 1.5rem; padding-block: 2.5rem 1.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-title { margin: 0 0 0.75rem; font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.15rem; }
.footer-links a { display: inline-block; padding-block: 0.3rem; }
.footer-vat { color: #c3cad6; }
.footer-bottom { padding-block: 1rem 1.5rem; border-top: 1px solid #36404f; font-size: 0.85rem; color: #c3cad6; }
.footer-bottom p { margin: 0; }

/* ---------- Stampa ---------- */
@media print {
  .site-header, .site-footer, .cookie-banner, .product-sidebar, .product-cta, .contact-strip, .skip-link, .breadcrumb, .scroll-hint { display: none !important; }
  .table-scroll { overflow: visible; max-height: none; border: 0; background: none; }
  .spec-grid td, .spec-grid tbody th { white-space: normal; }
  a { color: inherit; text-decoration: none; }
}

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

@media (forced-colors: active) {
  .button, .category-nav a, .page-title-accent { border-color: CanvasText; }
}
