/* ============================================================
   ExNolo — Vetrina pubblica
   Tema: tecnico / industriale, dark
   Font self-hosted in assets/fonts/
   ============================================================ */

/* --- Font self-hosted --- */
@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-latin-ext.woff2') format('woff2');
    font-weight: 400 700; font-style: normal; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-latin.woff2') format('woff2');
    font-weight: 400 700; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/BarlowCondensed-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/BarlowCondensed-SemiBold.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/BarlowCondensed-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Space Mono';
    src: url('../fonts/SpaceMono-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}

/* ============================================================
   RESET & VARIABILI
   ============================================================ */
:root {
    /* colori — tema chiaro */
    --bg:         #f5f5f3;
    --surface:    #ffffff;
    --surface-2:  #f0f0ee;
    --surface-3:  #e8e8e5;
    --border:     #d8d8d4;
    --border-2:   #c0c0bb;
    --accent:     #D94400;
    --accent-h:   #b83900;
    --navy:       #1B3A6B;
    --navy-d:     #0f2245;
    --text:       #1a1a18;
    --text-muted: #4a4a46;
    --text-dim:   #7a7a74;
    /* tipografia */
    --font-head:  'DM Sans', Arial, sans-serif;
    --font-body:  'Barlow', Arial, sans-serif;
    --font-mono:  'Space Mono', 'Courier New', monospace;
    /* forma */
    --radius:     5px;
    --radius-lg:  10px;
    /* consumabili toner */
    --toner-k:    #444440;
    --toner-c:    #0077aa;
    --toner-m:    #cc2266;
    --toner-y:    #cc9900;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul   { list-style: none; }

/* Accessibilità: skip link per tastiera */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--accent);
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    transition: top .1s;
}
.skip-link:focus { top: 0; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================================
   UTILITÀ TIPOGRAFICHE
   ============================================================ */
.label-mono {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.section-header {
    margin-bottom: 36px;
}

.section-header .label-mono {
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-family: var(--font-head);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--text);
    letter-spacing: .3px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.site-logo { display: block; line-height: 0; flex-shrink: 0; }
.site-logo picture { display: block; }
.logo-img  { height: 56px; width: auto; display: block; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.site-nav a {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0 16px;
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}

.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav a.active { color: var(--navy); border-bottom-color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 56px 0 48px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: center;
}

.hero-body .label-mono { margin-bottom: 14px; }

.hero-body h1 {
    font-family: var(--font-head);
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    letter-spacing: .5px;
    margin-bottom: 18px;
}

.hero-body p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 28px;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-trust {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

.trust-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1a2e14;
    border: 1px solid #2e5224;
    color: #6dbf57;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.cc-btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 26px;
    border-radius: var(--radius);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .15s, transform .1s;
    white-space: nowrap;
}
.cc-btn-primary:hover {
    background: var(--accent-h);
    text-decoration: none;
    transform: translateY(-1px);
}

.cc-btn-ghost {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 14px;
    text-decoration: none;
    transition: color .15s;
    white-space: nowrap;
}
.cc-btn-ghost:hover { color: var(--text); text-decoration: none; }

/* ============================================================
   SEZIONE CATALOGO
   ============================================================ */
.catalog-section {
    background: var(--bg);
    padding: 40px 0 56px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
}

/* ---- Sidebar ---- */
.filters-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: 76px;
}

.filters-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 14px 18px 0;
}

.filters-sidebar form { padding: 12px 18px 18px; }

.filter-group { margin-bottom: 20px; }

.filter-group-title {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 7px;
}

.filter-select {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13px;
    padding: 8px 10px;
    appearance: none;
    cursor: pointer;
    transition: border-color .15s;
}
.filter-select:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
}

.filter-checkbox-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--accent);
    cursor: pointer;
}

.filters-apply-btn {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px;
    cursor: pointer;
    transition: background .15s;
    margin-top: 6px;
}
.filters-apply-btn:hover { background: var(--accent-h); }

.filters-reset {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-dim);
    text-decoration: none;
}
.filters-reset:hover { color: var(--text-muted); text-decoration: none; }

.filters-toggle-btn {
    display: none;
    width: 100%;
    background: var(--surface-2);
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    padding: 12px 18px;
    font-family: var(--font-body);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

/* ---- Griglia prodotti ---- */
.catalog-main {}

.products-header {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.products-count {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ---- Card prodotto ---- */
.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s;
}
.product-card:hover {
    border-color: var(--border-2);
    box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.product-card.non-disponibile { opacity: .5; }

.product-card-image {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--surface-2);
    overflow: hidden;
}
.product-card-image img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 16px;
}

.placeholder-img {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 36px;
}

.card-badge-overlay {
    position: absolute;
    top: 8px; left: 8px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.product-card-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-categoria {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 5px;
}

.product-card-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 8px;
}

.product-card-price {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .3px;
    flex: 1;
    display: flex;
    align-items: flex-end;
    margin-bottom: 12px;
}
.product-card-price.su-richiesta {
    font-size: 13px;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-weight: 400;
}

.product-card-cta {
    display: block;
    text-align: center;
    padding: 9px 12px;
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}
.product-card-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    text-decoration: none;
}

/* ---- Badges ---- */
.badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 3px;
}
.badge-usato     { background: var(--navy);  color: #88aadd; }
.badge-non-disp  { background: #2c1515;      color: #cc7070; }
.badge-in-noleggio { background: #152015;    color: #70cc70; }
.badge-certificata {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 3px;
    background: #152515;
    color: #7acc6a;
    border: 1px solid #244020;
}

/* ---- No results ---- */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 0;
    color: var(--text-muted);
}
.no-results-icon { font-size: 36px; margin-bottom: 12px; color: var(--text-dim); }
.no-results a { color: var(--accent); margin-top: 12px; display: inline-block; }

/* ---- Paginazione ---- */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 36px 0 4px;
}
.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.pagination a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .dots { background: transparent; border-color: transparent; color: var(--text-dim); }

/* ============================================================
   SEZIONE COSA INCLUDE
   ============================================================ */
.includes-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

.include-item {
    background: var(--surface-2);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.include-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.include-item strong {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .2px;
}

.include-item span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.includes-disclaimer {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: .3px;
    line-height: 1.6;
    padding-left: 14px;
    border-left: 2px solid var(--border-2);
    margin-top: 4px;
}

/* ============================================================
   SEZIONE FAQ
   ============================================================ */
.faq-section {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
}

.cc-faq {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cc-faq-item { background: var(--surface); }
.cc-faq-item + .cc-faq-item { border-top: 1px solid var(--border); }

.cc-faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 22px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background .15s, color .15s;
    letter-spacing: .2px;
}
.cc-faq-question:hover { background: var(--surface-2); color: var(--text); }

.cc-faq-question::after {
    content: '+';
    font-size: 20px;
    color: var(--text-dim);
    flex-shrink: 0;
    line-height: 1;
}
.cc-faq-item.open .cc-faq-question {
    background: var(--surface-2);
    color: var(--text);
}
.cc-faq-item.open .cc-faq-question::after {
    content: '−';
    color: var(--accent);
}

.cc-faq-answer {
    display: none;
    padding: 4px 22px 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    background: var(--surface-2);
    border-top: 1px solid var(--border);
}
.cc-faq-item.open .cc-faq-answer { display: block; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 100%);
    border-bottom: 1px solid #1d3560;
    padding: 64px 0;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-head);
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: .3px;
}

.cta-section p {
    font-size: 15px;
    color: #8ab0e0;
    margin-bottom: 28px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.cta-section .cc-btn-ghost { color: #6a9acc; }
.cta-section .cc-btn-ghost:hover { color: #a8ccf0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 28px 0;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .5px;
    color: var(--text-dim);
}

.footer-legal {
    width: 100%;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .4px;
    color: var(--text-dim);
    opacity: .65;
    line-height: 1.7;
}

/* ============================================================
   PAGINA PRODOTTO
   ============================================================ */
.product-page {
    padding: 0 0 64px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 0;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .5px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-muted); }

.product-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* ---- Gallery ---- */
.gallery-main {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
}
.gallery-main img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 24px;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 68px; height: 68px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }

/* ---- Sezioni prodotto ---- */
.product-section { margin-top: 28px; }

.product-section-title {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* ---- Specs table ---- */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.specs-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.specs-table td:first-child { color: var(--text-muted); width: 44%; }
.specs-table td:last-child  { color: var(--text); }
.specs-table tr:last-child td { border-bottom: none; }

/* ---- Counters ---- */
.counters-grid {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.counter-box {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    flex: 1;
    min-width: 130px;
}
.counter-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 5px;
}
.counter-value {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
}
.counter-unit {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    margin-left: 5px;
    font-weight: 400;
}

/* ---- Toner ---- */
.toner-grid  { display: flex; flex-direction: column; gap: 10px; }
.toner-header { display: flex; justify-content: space-between; margin-bottom: 4px; }
.toner-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); }
.toner-pct   { font-family: var(--font-mono); font-size: 10px; color: var(--text); }
.toner-track { height: 5px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.toner-fill  { height: 100%; border-radius: 3px; }

/* ---- PDF list ---- */
.pdf-list { display: flex; flex-direction: column; gap: 7px; }
.pdf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: var(--text);
    text-decoration: none;
    transition: border-color .15s;
}
.pdf-item:hover { border-color: var(--accent); text-decoration: none; }
.pdf-icon    { font-size: 16px; flex-shrink: 0; }
.pdf-label   { flex: 1; font-size: 13px; }
.pdf-download { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }

/* ---- Info colonna destra ---- */
.product-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: sticky;
    top: 76px;
}

.product-categoria {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 5px;
}

.product-title {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .3px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.product-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }

.stato-banner {
    background: #e8f5e3;
    border: 1px solid #8bc87e;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 13px;
    color: #2a6e1f;
    margin-bottom: 14px;
    line-height: 1.5;
}
.stato-banner.non-disponibile { background: #fde8e8; border-color: #e8a0a0; color: #8b1f1f; }

.product-price {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 14px;
}
.product-price.su-richiesta {
    font-size: 16px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 400;
}

.product-description {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.note-consumabili {
    background: var(--surface-2);
    border-left: 3px solid var(--border-2);
    padding: 10px 14px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---- Form contatti ---- */
.contact-section h2 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.contact-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }

.form-group label { font-size: 11px; font-weight: 500; color: var(--text-muted); letter-spacing: .3px; }

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    padding: 9px 11px;
    transition: border-color .15s;
    width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 90px; }

.form-submit-btn {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 13px;
    cursor: pointer;
    transition: background .15s;
    margin-top: 2px;
}
.form-submit-btn:hover { background: var(--accent-h); }

.form-privacy { font-size: 11px; color: var(--text-dim); margin-top: 9px; line-height: 1.5; }

.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.availability-form {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}
.availability-form h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.availability-form p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }

.cc-includes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.cc-includes-list li {
    font-size: 13.5px;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}
.cc-includes-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 11px;
    top: 2px;
}
.cc-includes-note {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: .3px;
    line-height: 1.6;
    border-left: 2px solid var(--border);
    padding-left: 10px;
    margin-top: 14px;
}

/* ============================================================
   CHI SIAMO
   ============================================================ */
.cc-page {
    max-width: 720px;
    padding: 56px 0 80px;
}
.cc-page h1 {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text);
    letter-spacing: .3px;
    margin-bottom: 10px;
    line-height: 1.15;
}
.cc-tagline {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
}
.cc-page h2 {
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 700;
    color: var(--text);
    margin: 32px 0 10px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.cc-page h2:first-of-type { border-top: none; padding-top: 0; }
.cc-page p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 12px;
}
.cc-page strong { color: var(--text); }

.cc-stack-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 18px 0 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.cc-stack-table thead th {
    background: var(--surface-2);
    padding: 10px 14px;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
}
.cc-stack-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    color: var(--text);
}
.cc-stack-table tbody td:first-child { font-weight: 500; white-space: nowrap; }
.cc-stack-table tbody td:last-child  { color: var(--text-muted); font-size: 13px; }
.cc-stack-table tbody tr:last-child td { border-bottom: none; }
.cc-stack-table tfoot td {
    background: var(--surface-2);
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    font-weight: 600;
    color: var(--text);
}
.cc-price-accent {
    color: var(--accent) !important;
    font-family: var(--font-head) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.cc-for-whom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
.cc-for-list { display: flex; flex-direction: column; gap: 8px; }
.cc-for-list li {
    font-size: 14px;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}
.cc-for-list.si li::before { content: '✓'; position: absolute; left: 0; color: #6dbf57; font-size: 11px; top: 2px; }
.cc-for-list.no li::before { content: '✕'; position: absolute; left: 0; color: var(--text-dim); font-size: 11px; top: 2px; }

/* ============================================================
   SELETTORE — QUIZ A SCORRIMENTO
   ============================================================ */

/* Sfondo pagina quiz */
.quiz-wrap {
    background: var(--bg);
    min-height: calc(100vh - 60px);
    padding: 48px 0 72px;
}

/* Intestazione */
.quiz-header {
    max-width: 600px;
    margin-bottom: 40px;
}
.quiz-header .label-mono { margin-bottom: 10px; }
.quiz-header h1 {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: .3px;
}
.quiz-header p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Progress bar */
.quiz-progress-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
    max-width: 600px;
}
.quiz-progress-track {
    flex: 1;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}
.quiz-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width .4s cubic-bezier(.4,0,.2,1);
}
.quiz-step-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    flex-shrink: 0;
}

/* Stage: contenitore delle slide */
.quiz-stage-outer {
    overflow: hidden;
    position: relative;
}
.quiz-stage {
    position: relative;
    min-height: 320px;
}

/* Slide singola — nascosta per default */
.quiz-slide {
    display: none;
    max-width: 600px;
}

/* Solo la slide attiva è visibile, con animazione */
.quiz-slide.active {
    display: block;
}

/* Animazione entrata — direzione impostata via data-attr sullo stage */
@keyframes quizInRight {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes quizInLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
}

.quiz-stage[data-dir="forward"]  .quiz-slide.active { animation: quizInRight .25s ease; }
.quiz-stage[data-dir="backward"] .quiz-slide.active { animation: quizInLeft  .25s ease; }

/* Numero domanda */
.quiz-q-num {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

/* Testo domanda */
.quiz-question {
    font-family: var(--font-head);
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: .2px;
}
.quiz-hint {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Opzioni */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.quiz-opt {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .1s;
    color: var(--text);
}
.quiz-opt:hover {
    border-color: var(--border-2);
    background: var(--surface-2);
    transform: translateX(3px);
}
.quiz-opt.selected {
    border-color: var(--accent);
    background: #1c0e04;
}

.quiz-opt-mark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s, background .15s;
    font-size: 11px;
    color: transparent;
}
.quiz-opt.selected .quiz-opt-mark {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}
/* checkmark visivo */
.quiz-opt.selected .quiz-opt-mark::after {
    content: '✓';
    font-size: 11px;
    color: #fff;
    line-height: 1;
}

.quiz-opt-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.quiz-opt-body strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    display: block;
}
.quiz-opt.selected .quiz-opt-body strong { color: #fff; }
.quiz-opt-body span {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Footer navigazione */
.quiz-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.quiz-back-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 13px;
    cursor: pointer;
    padding: 8px 0;
    transition: color .15s;
    font-family: var(--font-body);
}
.quiz-back-btn:hover { color: var(--text-muted); }

.quiz-submit-btn {
    animation: fadeIn .3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SELETTORE (vecchie classi — risultato nota tecnica + alias)
   ============================================================ */

/* Wrapper pagina (dentro .container) */
.cc-selettore {
    max-width: 640px;
    padding: 52px 0 80px;
}

/* Risultato: nota tecnica */
.cc-risultato {
    max-width: 560px;
    padding: 72px 0 80px;
    text-align: center;
}
.cc-risultato h1 {
    font-family: var(--font-head);
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.cc-risultato-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #fef3c7;
    border: 1px solid #d97706;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 16px;
}
.cc-risultato-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Barra di progresso */
.cc-selettore-progress {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 28px;
}
.cc-progress-step {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    transition: background .2s;
}
.cc-progress-step.active { background: var(--accent); }
.cc-progress-step.done   { background: var(--accent); opacity: .45; }

/* Domande */
.cc-selettore-question { display: none; }
.cc-selettore-question.active { display: block; }

.cc-q-meta {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.cc-selettore-question h2 {
    font-family: var(--font-head);
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Opzioni */
.cc-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.cc-option-label {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.cc-option-label:hover {
    border-color: var(--border-2);
    background: var(--surface-2);
}

/* radio nascosto: usa il marker come indicatore visivo */
.cc-option-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cc-option-marker {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-2);
    border-radius: 50%;
    transition: border-color .15s, background .15s;
}

.cc-option-label:has(input:checked),
.cc-option-label.selected {
    border-color: var(--accent);
    background: #1c0e04;
}
.cc-option-label:has(input:checked) .cc-option-marker,
.cc-option-label.selected .cc-option-marker {
    border-color: var(--accent);
    background: var(--accent);
}

.cc-option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cc-option-text strong {
    font-size: 15px;
    color: var(--text);
    font-weight: 600;
}
.cc-option-text span {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Navigazione step */
.cc-selettore-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 8px;
}

.cc-btn-next {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 26px;
    cursor: pointer;
    transition: background .15s, opacity .15s;
}
.cc-btn-next:hover:not(:disabled) { background: var(--accent-h); }
.cc-btn-next:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.cc-btn-back {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 13px;
    cursor: pointer;
    padding: 8px 0;
    margin-right: auto;
    transition: color .15s;
}
.cc-btn-back:hover { color: var(--text-muted); }

/* ============================================================
   RICHIESTA INVIATA
   ============================================================ */
.confirm-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.confirm-box {
    max-width: 520px; width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    text-align: center;
}
.confirm-icon { font-size: 44px; margin-bottom: 18px; color: #6dbf57; }
.confirm-box h1 { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.confirm-box p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.btn-back {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 11px 22px;
    border-radius: var(--radius);
    text-decoration: none;
    margin-top: 10px;
    transition: background .15s;
}
.btn-back:hover { background: var(--accent-h); text-decoration: none; }

/* ============================================================
   RESPONSIVE — Tablet ≤ 900px
   ============================================================ */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-trust  { flex-direction: row; flex-wrap: wrap; gap: 10px; }
    .trust-item  { flex: 1 1 calc(50% - 8px); }

    .catalog-layout { grid-template-columns: 1fr; }

    .filters-sidebar {
        position: static;
        background: var(--surface);
        border-radius: var(--radius-lg);
    }
    .filters-toggle-btn { display: block; }
    .filter-groups-wrapper { display: none; padding-top: 4px; }
    .filters-sidebar.open .filter-groups-wrapper { display: block; }

    .products-grid { grid-template-columns: repeat(2, 1fr); }

    .includes-grid { grid-template-columns: repeat(2, 1fr); }

    .product-layout { grid-template-columns: 1fr; }
    .product-info   { position: static; }

    .cc-for-whom { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — Mobile ≤ 580px
   ============================================================ */
@media (max-width: 580px) {
    .container { padding: 0 16px; }

    .site-header .container { padding: 0 16px; }
    .site-nav a { padding: 0 10px; font-size: 12px; }
    .logo-img   { height: 46px; }

    .hero-section { padding: 40px 0 36px; }
    .hero-body h1 { font-size: 30px; }
    .hero-trust   { flex-direction: column; }
    .trust-item   { flex: none; }

    .products-grid { grid-template-columns: 1fr; }

    .includes-grid { grid-template-columns: 1fr; }

    .form-grid-2 { grid-template-columns: 1fr; }

    .cta-actions { flex-direction: column; align-items: center; }

    .site-footer .container { flex-direction: column; align-items: flex-start; gap: 6px; }

    .confirm-box { padding: 30px 20px; }
}

/* ============================================================
   HEADER END (nav + toggle tema)
   ============================================================ */
.header-end {
    display: flex;
    align-items: center;
}

/* ============================================================
   CORREZIONI TEMA CHIARO
   ============================================================ */

/* Elementi su sfondo navy/accent fisso → testo bianco */
.cta-section,
.cta-section h1,
.cta-section h2,
.cta-section p,
.cta-section span { color: #fff; }

.cc-btn-primary,
.cc-btn-primary:hover       { color: #fff; }
.pagination .current        { color: #fff; }
.status-badge               { color: #fff; }
.quiz-opt.selected,
.quiz-opt.selected .quiz-opt-body strong { color: #fff; }

/* Trust check verde */
.trust-check {
    background: #d4edcf;
    border-color: #8bc87e;
    color: #2a6e1f;
}
