/* Neurobotica Italia — stile del sito pubblico
   Colori: grafite #1E2230, acqua #00BFA6, inchiostro #12141A
   Caratteri: Unbounded (logo, titoli), Inter (testi) — ospitati in /fonts */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/unbounded-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/unbounded-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --grafite: #1E2230;
    --ink: #12141A;
    --acqua: #00BFA6;
    --acqua-dark: #00A891;
    --muted: #4A4F5C;
    --line: #E4E5E9;
    --soft: #F4F4F2;
    --white: #FFFFFF;
    --radius: 20px;
    --font-display: "Unbounded", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--grafite); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--acqua); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

/* Barra in alto e intestazione */
.topbar { background: var(--ink); color: var(--white); font-size: 13px; text-align: center; padding: 8px 16px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--grafite); }
.brand-text { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-display); }
.brand-name { font-size: 18px; font-weight: 600; line-height: 1; letter-spacing: .02em; }
.brand-sub { display: flex; align-items: center; gap: 6px; font-size: 8px; letter-spacing: .6em; color: #3A3D47; line-height: 1; }
.tricolore { display: inline-flex; }
.tricolore i { width: 7px; height: 2px; display: block; }
.tricolore i:nth-child(1) { background: #009246; }
.tricolore i:nth-child(2) { background: #D9DBE0; }
.tricolore i:nth-child(3) { background: #CE2B37; }
.main-nav { display: flex; gap: 4px 24px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.main-nav a { text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { border-bottom-color: var(--acqua); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; gap: 2px; font-size: 13px; font-weight: 600; }
.lang-switch a, .lang-switch span { padding: 10px 8px; text-decoration: none; border-radius: 8px; }
.lang-switch span { background: var(--soft); }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 1px solid #C9CCD4; display: inline-flex; align-items: center; justify-content: center; background: var(--white); color: var(--ink); cursor: pointer; position: relative; flex: none; }
.icon-btn-dark { background: var(--grafite); border-color: var(--grafite); color: var(--white); }
.icon-btn-dark:hover { color: var(--white); background: var(--ink); }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--acqua); color: var(--ink); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.badge[hidden] { display: none; }
.menu-toggle { display: none; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 23px; border: 2px solid transparent; font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.btn-lg { min-height: 52px; padding: 0 28px; border-radius: 26px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-accent { background: var(--acqua); color: var(--ink); }
.btn-accent:hover { background: var(--acqua-dark); color: var(--ink); }
.btn-dark { background: var(--grafite); color: var(--white); }
.btn-dark:hover { background: var(--ink); color: var(--white); }
.btn-outline { border-color: var(--grafite); color: var(--grafite); background: transparent; }
.btn-outline:hover { background: var(--grafite); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--grafite); }
.btn-link { background: none; color: var(--grafite); text-decoration: underline; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-btn { background: none; border: none; padding: 8px 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.grow { flex: 1 1 200px; }

/* Apertura */
.hero { background: var(--grafite); color: var(--white); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero-copy h1 { color: var(--white); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--acqua); margin-bottom: 16px; }
.lead { font-size: 18px; max-width: 520px; color: #DADCE3; margin-bottom: 28px; }
.lead-dark { font-size: 18px; color: #3A3D47; max-width: 720px; }
.hero-media { flex: 1 1 400px; min-width: 0; }
.hero-media img { border-radius: 28px; width: 100%; object-fit: cover; aspect-ratio: 9 / 8; }
.hero-mark { aspect-ratio: 9 / 8; border-radius: 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.hero-mark svg { width: 46%; height: auto; }

/* Sezioni */
.section { padding: 80px 0; }
.section + .section { padding-top: 24px; }
.section-muted { background: var(--soft); padding: 80px 0 !important; }
.section-tight { padding: 48px 0 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 600; font-size: 15px; padding: 12px 0; }

.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.sector-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; min-height: 190px; transition: border-color .15s, transform .15s; }
.sector-card:hover { border-color: var(--acqua); transform: translateY(-2px); }
.sector-card h3 { margin: 0; }
.sector-card p { margin: 0; color: var(--muted); font-size: 15px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product-card { background: var(--soft); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; }
.product-media { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #E6E7EA; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-media img { transform: scale(1.03); }
.product-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: .5; }
.product-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 4px 4px; flex: 1; }
.product-brand { font-size: 13px; color: var(--muted); font-weight: 500; margin: 0; }
.product-name { font-size: 17px; margin: 0; }
.product-name a { text-decoration: none; }
.product-price { font-weight: 600; margin-bottom: 10px; }
.product-body .btn { margin-top: auto; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; margin-top: 32px; }
.why-item .bar { display: block; width: 40px; height: 6px; border-radius: 3px; background: var(--acqua); margin-bottom: 16px; }
.why-item p { color: #3A3D47; }

.cta-band { background: var(--acqua); color: var(--ink); padding: 64px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { margin-bottom: 8px; }
.cta-inner p { margin: 0; font-size: 17px; }

.empty-state { background: var(--soft); border-radius: var(--radius); padding: 48px 24px; text-align: center; }

/* Pagine interne */
.page { padding-top: 24px; padding-bottom: 80px; }
.page-head { margin: 8px 0 28px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .lead-dark { margin-left: auto; margin-right: auto; }
.thanks-mark { display: flex; justify-content: center; margin: 32px 0 16px; }
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid #C9CCD4; text-decoration: none; font-size: 14px; font-weight: 500; }
.chip.active, .chip:hover { background: var(--grafite); border-color: var(--grafite); color: var(--white); }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; }

.pagination .pg { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 22px; text-decoration: none; }
.pagination .current { background: var(--grafite); color: var(--white); border-color: var(--grafite); }
.pagination .disabled { color: #9A9EA8; }

/* Scheda robot */
.product-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-main { aspect-ratio: 1; border-radius: 24px; background: var(--soft); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 14px; background: var(--soft); overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.thumb[aria-pressed="true"] { border-color: var(--grafite); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.product-info h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.product-info .lead-dark { margin: 0; font-size: 17px; }
.buy-box { display: flex; flex-direction: column; gap: 14px; }
.price-big { font-family: var(--font-display); font-size: 30px; font-weight: 600; margin: 0; }
.price-note { font-size: 13px; color: var(--muted); margin: -10px 0 0; }
.config-list { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.config-list legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.config-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; }
.config-option:has(input:checked) { border-color: var(--grafite); background: var(--soft); }
.config-option input { margin-top: 4px; accent-color: var(--grafite); width: 18px; height: 18px; }
.config-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.config-name { font-weight: 600; }
.config-desc { font-size: 14px; color: var(--muted); }
.config-price { font-weight: 600; white-space: nowrap; }
.single-config { font-weight: 600; margin: 0; }
.add-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qty { display: flex; align-items: center; border: 1px solid #C9CCD4; border-radius: 26px; height: 52px; }
.qty button { width: 46px; height: 50px; border: none; background: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty input { width: 44px; border: none; text-align: center; font: 600 16px var(--font-body); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.perks { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; color: #3A3D47; font-size: 15px; }
.perks li { display: flex; gap: 12px; align-items: center; }
.product-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; margin-top: 64px; }
.prose { font-size: 16px; }
.product-details h2 { font-size: 24px; }
.prose h2:not(:first-child), .prose h3 { font-size: 19px; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.table-wrap { overflow-x: auto; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs-table th { text-align: left; font-weight: 500; color: var(--muted); width: 45%; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs-table td { padding: 14px 0; border-bottom: 1px solid var(--line); }
.demo-card { margin-top: 56px; background: var(--grafite); color: var(--white); border-radius: 24px; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.demo-card h2 { color: var(--white); margin-bottom: 6px; }
.demo-card p { margin: 0; color: #DADCE3; }

/* Carrello e moduli */
.cart-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.cart-lines, .form-card { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto auto; grid-template-areas: "thumb desc qty total" "thumb desc remove remove"; gap: 4px 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { grid-area: thumb; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-desc { grid-area: desc; display: flex; flex-direction: column; gap: 2px; }
.cart-name { font-weight: 600; text-decoration: none; }
.cart-config, .cart-unit { font-size: 14px; color: var(--muted); }
.cart-qty { grid-area: qty; }
.cart-qty input { width: 72px; height: 44px; border: 1px solid #C9CCD4; border-radius: 12px; text-align: center; font: 600 15px var(--font-body); }
.cart-total { grid-area: total; font-weight: 600; text-align: right; min-width: 110px; }
.cart-line .link-btn { grid-area: remove; justify-self: end; }
.cart-lines > .btn { align-self: flex-start; }
.summary { flex: 1 1 320px; background: var(--soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 96px; }
.summary h2 { font-size: 20px; margin: 0; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; padding-top: 12px; border-top: 1px solid #D9DBE0; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.summary-line small { color: var(--muted); }
.summary .price-note { margin: 0; }
.small { font-size: 14px; color: #3A3D47; margin: 0; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; border: 1px solid #C9CCD4; border-radius: 12px; padding: 10px 14px; font: 15px var(--font-body); color: var(--ink); background: var(--white); }
.field textarea { resize: vertical; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.checkbox input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--grafite); flex: none; }
.segmented { border: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 22px; border: 2px solid var(--grafite); font-weight: 600; font-size: 15px; }
.segmented input:checked + span { background: var(--grafite); color: var(--white); }
.segmented input:focus-visible + span { outline: 3px solid var(--acqua); outline-offset: 2px; }
.alert { border-radius: 14px; padding: 14px 18px; margin: 16px 0; font-size: 15px; }
.alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.alert-success { background: #E3F7F3; color: #0B4A40; }
.alert-error { background: #FDECEC; color: #8A1C1C; }
.contact-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-layout > div { flex: 1 1 320px; }
.contact-layout .form-card { flex: 2 1 520px; }
.contact-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-facts strong { display: block; font-size: 13px; color: var(--muted); }

/* Piè di pagina */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 0; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.footer-grid > div { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.footer-grid > div a { text-decoration: none; padding: 5px 0; }
.footer-grid > div a:hover { text-decoration: underline; }
.footer-brand { flex: 1 1 260px; max-width: 340px; }
.footer-brand p { color: var(--muted); margin-top: 12px; }
.footer-title { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Telefono */
@media (max-width: 860px) {
    .menu-toggle { display: inline-flex; order: 3; }
    .header-actions { order: 2; }
    .main-nav { order: 4; width: 100%; flex-direction: column; gap: 0; display: none; padding-bottom: 12px; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .hero-inner { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
    .section { padding: 56px 0; }
    .cart-line { grid-template-columns: 72px 1fr auto; grid-template-areas: "thumb desc desc" "thumb qty total" "remove remove remove"; }
    .cart-thumb { width: 72px; height: 72px; }
    .summary { position: static; }
    .demo-card { padding: 28px; }
}
@media (max-width: 480px) {
    .brand-text { display: none; }
    .header-inner { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Catalogo informativo dei robot (/it/catalogo) ---------- */
.catalog-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; align-items: end; background: var(--soft); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.catalog-filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-count { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.catalog-facts { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.catalog-badge { align-self: flex-start; font-size: 12px; font-weight: 600; background: var(--acqua); color: var(--ink); border-radius: 12px; padding: 3px 10px; }
.catalog-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 40px; align-items: start; margin-bottom: 40px; }
.catalog-head h1 { margin-top: 0; }
.catalog-keyfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 24px 0 0; }
.catalog-keyfacts div { background: var(--soft); border-radius: 14px; padding: 14px 16px; }
.catalog-keyfacts dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.catalog-keyfacts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.catalog-cta { display: flex; flex-direction: column; gap: 12px; background: var(--soft); border-radius: var(--radius); padding: 22px; }
.catalog-cta p { margin: 0; }
.catalog-ext { font-size: 14px; color: var(--muted); text-align: center; }
.catalog-specs { max-width: 860px; }
.catalog-specs td { overflow-wrap: anywhere; }
.help-note { font-size: 14px; color: var(--muted); margin-top: -4px; }
.source-note { font-size: 13px; color: var(--muted); margin-top: 32px; max-width: 860px; }
@media (max-width: 860px) {
    .catalog-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Video YouTube nella scheda prodotto (caricati solo al clic) ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.video-card { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--grafite); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; border: 0; padding: 20px; cursor: pointer; color: var(--white); text-align: left;
    background: radial-gradient(120% 90% at 85% 15%, rgba(0, 191, 166, .45) 0%, rgba(0, 191, 166, 0) 55%), linear-gradient(135deg, #1E2230 0%, #12141A 100%);
    display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; font: inherit; }
.video-poster::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%;
    background: var(--acqua); color: var(--ink); display: flex; align-items: center; justify-content: center; padding-left: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s; }
.video-poster:hover .video-play, .video-poster:focus-visible .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-poster:focus-visible { outline: 3px solid var(--acqua); outline-offset: -3px; }
.video-poster-title { position: relative; font-weight: 600; font-size: 16px; line-height: 1.3; max-width: 85%; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.video-poster-brand { position: relative; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #B9BCC6; }
.video-card figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.video-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .video-play { transition: none; } }
