/* Madol — menu laterale (bianco) + area contenuti con testata scura. Identità: blu notte, goccia ambra. */
:root {
	--navy: #1b3354; --navy2: #0f1f33; --navy3: #264670; --amber: #f6a81c; --amber2: #c98303; --amberSoft: #fff3dc;
	--ink: #18222f; --mut: #5d6a7b; --line: #e2e7ee; --soft: #f3f5f8; --soft2: #eaeef3; --bg: #f2f4f7; --white: #ffffff;
	--wa: #25d366; --err: #c0392b; --ok: #1f8a4c;
	--f-head: 'Outfit', ui-sans-serif, system-ui, sans-serif; --f-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
	--f-cond: 'Barlow Condensed', 'Arial Narrow', ui-sans-serif, sans-serif; --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	--side: 264px; --rail: 84px; --hd: 70px; --top: 0px;
	color-scheme: light;
}
.admin-bar { --top: 32px; }
@media (max-width: 782px) { .admin-bar { --top: 46px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + var(--top) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 15.5px; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--amber); color: var(--navy2); padding: 10px 16px; }
.skip:focus { left: 8px; top: calc(var(--top) + 8px); }
.cwrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 700px) { .cwrap { padding-left: 32px; padding-right: 32px; } }

/* ---------- atomi ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font-family: var(--f-head); font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.1; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--navy2); }
.btn-amber:hover { background: #ffb937; color: var(--navy2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy3); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-wide { width: 100%; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--navy); font-weight: 600; text-decoration: underline; }
.linkbtn.amber { color: var(--amber); text-decoration: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--mut); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, #fff 0, #eef1f5 70%); }
.ph svg { width: 40px; height: 50px; }
.search { display: flex; align-items: center; gap: 8px; border: 1.5px solid #d4dbe4; border-radius: 4px; padding: 0 14px; background: #fff; min-width: 0; flex: 1; max-width: 420px; color: var(--mut); }
.search:focus-within { border-color: var(--navy); }
.search input { border: 0; outline: 0; font: inherit; font-size: 14.5px; padding: 11px 0; width: 100%; min-width: 0; background: transparent; color: var(--ink); }
.count { font-size: 14px; color: var(--mut); }
.count b { color: var(--ink); }

/* ---------- struttura: menu laterale + contenuti ---------- */
.c-shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.c-side { position: sticky; top: var(--top); height: calc(100vh - var(--top)); background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow: auto; z-index: 40; }
.c-sidetop { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 20px 14px 16px 24px; }
.c-side .lg { display: block; }
.c-sidetoggle { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--mut); }
.c-sidetoggle:hover { background: var(--soft); color: var(--navy); }
.c-sidetoggle .ar { transition: transform .2s; transform-origin: 12px 10px; }
.side-open .c-sidetoggle .ar { transform: rotate(180deg); }
.c-side .lg img { height: 32px; width: auto; }
.c-sideclose { display: none; }
.c-vnav { display: flex; flex-direction: column; padding: 0 12px; gap: 2px; flex: 1; }
.c-vnav .it { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 8px; font-family: var(--f-head); font-weight: 500; font-size: 16px; color: var(--navy); text-decoration: none; cursor: pointer; list-style: none; }
.c-vnav summary::-webkit-details-marker { display: none; }
.c-vnav .it:hover { background: var(--soft); }
.c-vnav .it.on { background: var(--navy); color: #fff; }
.c-vnav .it svg { transition: transform .2s; flex: none; }
.c-vnav .it .tx { flex: 1; min-width: 0; }
.c-vnav .it > svg:first-child { color: var(--mut); }
.c-vnav .it:hover > svg:first-child { color: var(--navy); }
.c-vnav .it.on > svg:first-child { color: var(--amber); }
.c-vnav details[open] > summary > svg:last-child { transform: rotate(90deg); }
.c-vnav .subl { display: flex; flex-direction: column; padding: 2px 0 8px 14px; margin-left: 12px; border-left: 2px solid var(--line); }
.c-vnav .subl a { padding: 6px 10px; font-size: 14px; color: var(--mut); text-decoration: none; border-radius: 6px; display: flex; justify-content: space-between; gap: 8px; }
.c-vnav .subl a:hover { color: var(--navy); background: var(--soft); }
.c-vnav .subl a.on { color: var(--navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--amber); }
.c-vnav .subl a small { color: #9aa6b5; }
.c-vnav .subl .subl { margin-left: 6px; padding-bottom: 4px; }
.c-side .bot { padding: 18px 20px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.c-side .bot small { color: var(--mut); font-size: 12px; }
.c-main { min-width: 0; display: flex; flex-direction: column; }
.c-main > main { flex: 1; }
.c-scrim { position: fixed; inset: 0; background: rgba(10, 20, 34, .5); z-index: 39; }

/* testata scura */
.b-hd { position: sticky; top: var(--top); z-index: 30; background: var(--navy2); color: #fff; }
.b-hdin { display: flex; align-items: center; gap: 24px; height: var(--hd); }
.b-hd .lg img { height: 27px; width: auto; }
.b-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.b-nav a { font-family: var(--f-cond); font-weight: 600; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: #d7e0ec; text-decoration: none; padding: 8px 14px; position: relative; }
.b-nav a:hover, .b-nav a.on { color: #fff; }
.b-nav a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--amber); }
.b-nav a.cta { background: var(--amber); color: var(--navy2); border-radius: 4px; margin-left: 10px; }
.b-nav a.cta:hover { background: #ffb937; }
.b-burger { display: none; margin-left: auto; border: 0; background: rgba(255, 255, 255, .08); color: #fff; width: 44px; height: 44px; border-radius: 6px; place-items: center; }

@media (max-width: 900px) {
	.c-shell { grid-template-columns: minmax(0, 1fr); }
	.c-side { position: fixed; top: var(--top); left: 0; bottom: 0; height: auto; width: min(320px, 86vw); transform: translateX(-102%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 0 40px rgba(0, 0, 0, .25); }
	.c-side.open { transform: none; }
	.c-sidetop { display: none; }
	.c-sideclose { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
	.c-sideclose img { height: 26px; width: auto; }
	.b-nav { display: none; }
	.b-burger { display: grid; }
}
@media (prefers-reduced-motion: reduce) { .c-side { transition: none; } }
/* desktop: menu ridotto a barra di icone, espandibile */
@media (min-width: 901px) {
	.c-shell { grid-template-columns: var(--rail) minmax(0, 1fr); transition: grid-template-columns .25s cubic-bezier(.2, .8, .2, 1); }
	.side-open .c-shell { grid-template-columns: var(--side) minmax(0, 1fr); }
	html:not(.side-open) .c-side { overflow-x: hidden; }
	html:not(.side-open) .c-sidetop { justify-content: center; padding: 15px 0 14px; }
	html:not(.side-open) .c-side .lg { display: none; }
	html:not(.side-open) .c-vnav { padding: 0 8px; gap: 4px; }
	html:not(.side-open) .c-vnav .it { flex-direction: column; justify-content: center; gap: 5px; padding: 10px 2px; font-size: 11.5px; font-weight: 500; text-align: center; line-height: 1.15; }
	html:not(.side-open) .c-vnav .it .tx { flex: none; }
	html:not(.side-open) .c-vnav summary.it > svg:last-child, html:not(.side-open) .c-vnav .subl { display: none; }
	html:not(.side-open) .c-vnav details:has(a.on) > summary { background: var(--soft); }
	html:not(.side-open) .c-vnav details:has(a.on) > summary > svg:first-child { color: var(--amber); }
	html:not(.side-open) .c-side .bot { padding: 14px 0 20px; align-items: center; }
	html:not(.side-open) .c-side .bot .tx { display: none; }
	html:not(.side-open) .c-side .bot .btn { width: 46px; height: 46px; padding: 0; border-radius: 50%; }
}
@media (prefers-reduced-motion: reduce) { .c-shell { transition: none !important; } }

.x { border: 0; background: var(--soft); width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--ink); }

/* ---------- home ---------- */
.b-hero { background: linear-gradient(115deg, var(--navy2) 0%, var(--navy) 60%, #24456e 100%); color: #fff; position: relative; overflow: hidden; }
.b-hero .rings { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 620px; height: 620px; opacity: .18; pointer-events: none; }
.b-hero .cwrap { position: relative; padding-block: 56px 40px; display: flex; flex-direction: column; gap: 28px; }
.b-hero .kick { font-family: var(--f-cond); font-size: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.b-hero h1 { font-family: var(--f-cond); font-weight: 700; font-size: clamp(44px, 7vw, 92px); line-height: .92; text-transform: uppercase; max-width: 13ch; margin-top: 8px; }
.b-hero .lead { color: #c4d0df; max-width: 52ch; margin-top: 14px; font-size: 16.5px; }
.finder { background: #fff; color: var(--ink); border-radius: 6px; padding: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; max-width: 980px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
@media (max-width: 1000px) { .finder { grid-template-columns: 1fr; } }
.finder label { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-cond); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--mut); min-width: 0; }
.finder select { font: inherit; font-family: var(--f-body); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 12px; border-radius: 4px; border: 1.5px solid #cfd7e1; background: #fff; width: 100%; }
.finder .btn { border-radius: 4px; height: 48px; font-family: var(--f-cond); font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
.b-scale { background: var(--navy2); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
.b-scale .cwrap { padding-block: 22px 26px; }
.b-scale .t { font-family: var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: #9fb1c7; font-size: 15px; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.b-scale .row { display: grid; grid-template-columns: repeat(var(--n, 9), minmax(0, 1fr)); gap: 6px; }
@media (max-width: 1250px) { .b-scale .row { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); } }
@media (max-width: 600px) { .b-scale .row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.b-scale a { display: block; text-decoration: none; color: #fff; border-radius: 4px; padding: 12px 10px 10px; background: rgba(255, 255, 255, .06); border-bottom: 4px solid var(--c, #f6a81c); transition: background .15s; }
.b-scale a:hover { background: rgba(255, 255, 255, .14); }
.b-scale b { font-family: var(--f-cond); font-size: 30px; font-weight: 700; line-height: 1; display: block; }
.b-scale b i { font-style: normal; color: var(--amber); }
.b-scale small { font-size: 12px; color: #9fb1c7; }
.b-sec { padding-block: 52px; }
.b-white { background: #fff; }
.b-h2 { font-family: var(--f-cond); font-weight: 700; font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; line-height: 1; color: var(--navy2); margin-bottom: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.b-h2 a { font-family: var(--f-body); font-size: 14px; font-weight: 600; text-transform: none; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--amber); }
.b-lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: #dfe4ea; border: 2px solid #dfe4ea; }
@media (max-width: 1100px) { .b-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.b-line { background: #fff; padding: 18px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; transition: background .15s; }
.b-line:hover { background: #fbf6ec; }
.b-line img, .b-line .ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }
.b-line b { font-family: var(--f-cond); font-size: 28px; letter-spacing: .03em; color: var(--navy2); line-height: 1; }
.b-line span { font-size: 13.5px; color: var(--mut); line-height: 1.35; }
.b-line em { font-style: normal; font-family: var(--f-cond); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber2); font-weight: 600; margin-top: auto; }

/* ---------- catalogo ---------- */
.b-pagehd { background: var(--navy2); color: #fff; padding-block: 30px 26px; }
.b-pagehd .crumbs { color: #9fb1c7; }
.b-pagehd .crumbs span[aria-current] { color: #fff; }
.b-pagehd h1 { font-family: var(--f-cond); font-size: clamp(38px, 5.5vw, 64px); text-transform: uppercase; line-height: .95; margin-top: 10px; }
.b-pagehd .lead { color: #c4d0df; margin-top: 10px; max-width: 60ch; }
.b-cat { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding-block: 28px 56px; align-items: start; }
@media (max-width: 1100px) { .b-cat { grid-template-columns: 1fr; } }
.b-side { background: #fff; border-radius: 6px; padding: 6px 18px 12px; position: sticky; top: calc(var(--top) + var(--hd) + 16px); }
@media (max-width: 1100px) { .b-side { position: static; } }
.b-side-toggle > summary { display: none; }
@media (max-width: 1100px) {
	.b-side-toggle > summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-family: var(--f-cond); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--navy2); cursor: pointer; list-style: none; }
	.b-side-toggle > summary::-webkit-details-marker { display: none; }
	.b-side-toggle > summary::after { content: "+"; font-size: 22px; }
	.b-side-toggle[open] > summary::after { content: "–"; }
}
.fgroup { border-bottom: 1px solid var(--line); padding-block: 14px; }
.fgroup:last-child { border-bottom: 0; }
.fgroup h2 { margin: 0 0 10px; font-family: var(--f-cond); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy2); }
.cbx { display: flex; width: 100%; align-items: center; gap: 10px; padding: 5px 0; color: var(--ink); font-size: 14.5px; text-decoration: none; }
.cbx i { width: 18px; height: 18px; border-radius: 3px; border: 1.5px solid #b7c2cf; flex: none; display: grid; place-items: center; }
.cbx.on i { background: var(--navy); border-color: var(--navy); }
.cbx.on i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.cbx span { flex: 1; }
.cbx small { color: var(--mut); font-size: 12.5px; }
.cbx:hover span { color: var(--navy); text-decoration: underline; }
.fsub { padding-left: 26px; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gbtn { display: block; text-align: center; border: 1.5px solid #d4dbe4; background: #fff; border-radius: 4px; padding: 8px 0; font-family: var(--f-cond); font-weight: 700; font-size: 17px; color: var(--navy2); text-decoration: none; }
.gbtn.on { background: var(--amber); border-color: var(--amber); }
.gbtn:hover { border-color: var(--navy); }
.b-results { min-width: 0; }
.b-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.b-active { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.b-active a { background: var(--navy); color: #fff; border-radius: 4px; padding: 5px 10px; font-size: 13px; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.b-active a.clear { background: transparent; color: var(--navy); text-decoration: underline; }
.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.b-card { background: #fff; border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; border: 2px solid transparent; transition: border-color .15s; }
.b-white .b-card { background: var(--bg); }
.b-card:hover { border-color: var(--amber); }
.b-card .im { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.b-card .im img { width: 100%; height: 100%; object-fit: cover; }
.b-card .g { position: absolute; left: 0; bottom: 0; background: var(--navy2); color: #fff; font-family: var(--f-cond); font-weight: 700; font-size: 24px; padding: 4px 12px 2px; line-height: 1.1; }
.b-card .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.b-card .ln { font-family: var(--f-cond); font-size: 26px; font-weight: 700; letter-spacing: .02em; color: var(--navy2); line-height: 1; }
.b-card .ln.sm { font-size: 24px; }
.b-card .vr { font-size: 13px; color: var(--mut); min-height: 20px; }
.b-card .go { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; font-family: var(--f-cond); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--navy); border-top: 1px solid var(--line); }
.b-card:hover .go { color: var(--amber2); }
.empty { padding: 40px 20px; text-align: center; color: var(--mut); background: #fff; border-radius: 6px; display: flex; flex-direction: column; gap: 14px; }
.empty .btn { margin: 4px; }
.navigation.pagination { margin-top: 24px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: 4px; background: #fff; text-decoration: none; color: var(--navy); font-weight: 600; }
.nav-links .page-numbers.current { background: var(--navy); color: #fff; }

/* ---------- scheda prodotto ---------- */
.b-prod { background: #fff; }
.pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: start; padding-block: 32px 48px; }
@media (max-width: 860px) { .pp { grid-template-columns: 1fr; gap: 24px; } }
.pp-img { border-radius: 6px; overflow: hidden; aspect-ratio: 1; background: #eef1f5; }
.pp-img img { width: 100%; height: 100%; object-fit: cover; }
.pp-info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pp-title { display: flex; flex-direction: column; gap: 10px; }
.pp-title h1 { font-family: var(--f-cond); font-weight: 700; font-size: clamp(48px, 7vw, 80px); text-transform: uppercase; line-height: .9; color: var(--navy2); }
.pp-attrs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.attr { display: inline-flex; align-items: baseline; gap: 8px; border: 1.5px solid var(--line); border-radius: 6px; padding: 6px 12px; }
.attr span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); font-weight: 600; }
.attr b { font-family: var(--f-head); font-size: 18px; color: var(--navy); }
.attr.hl { border-color: var(--amber); background: var(--amberSoft); }
.pp-desc { color: #3a4757; max-width: 62ch; display: flex; flex-direction: column; gap: 10px; }
.sect-t { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); font-weight: 700; margin-bottom: 10px; }
.packs { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.pack { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 76px; padding: 12px 10px 10px; border-radius: 6px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); }
.pack b { font-family: var(--f-head); font-size: 15px; line-height: 1; }
.pack small { font-size: 11px; color: var(--mut); line-height: 1.2; text-align: center; }
.pack svg .band { fill: #fff; }
button.pack:hover { border-color: var(--navy); }
.pack.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.pack.on small { color: #c9d5e4; }
.pack.on svg .band { fill: var(--navy); }
.codebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-radius: 6px; background: var(--navy2); color: #fff; padding: 14px 16px; }
.codebox .lab { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9fb1c7; font-weight: 600; }
.codebox .val { font-family: var(--f-mono); font-size: 24px; font-weight: 600; color: var(--amber); letter-spacing: .02em; user-select: all; }
.codebox .meta { font-size: 13px; color: #9fb1c7; }
.copy { border: 1.5px solid #fff; color: #fff; background: transparent; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; }
.copy:hover { background: #fff; color: var(--navy2); }
.ctable { width: 100%; border-collapse: collapse; margin-top: 10px; }
.ctable td { padding: 8px; border-bottom: 1px solid var(--line); }
.ctable td.code { font-family: var(--f-mono); font-weight: 600; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pdf { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); border-radius: 6px; padding: 8px 14px 8px 10px; border: 1.5px solid var(--line); background: #fff; }
.pdf:hover { border-color: var(--navy); }
.pdf b { display: block; font-family: var(--f-head); font-size: 14.5px; line-height: 1.2; }
.pdf small { display: block; font-size: 12px; color: var(--mut); }
details.more summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 14px; list-style: none; display: flex; align-items: center; gap: 6px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 18px; line-height: 1; }
details.more[open] summary::after { content: "–"; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.specs span { font-size: 12.5px; padding: 4px 9px; border-radius: 4px; background: var(--soft); color: #33414f; font-family: var(--f-mono); font-weight: 500; }

/* ---------- pagine ---------- */
.about-wrap { background: #fff; }
.c-about { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; padding-block: 36px 64px; }
.page-one { padding-block: 40px 64px; }
@media (max-width: 760px) { .c-about { grid-template-columns: 1fr; gap: 20px; } }
.c-anav { display: flex; flex-direction: column; border-left: 2px solid var(--line); align-self: start; position: sticky; top: calc(var(--top) + var(--hd) + 16px); }
@media (max-width: 760px) { .c-anav { position: static; } }
.c-anav a { padding: 10px 16px; font-family: var(--f-head); font-size: 15.5px; color: var(--mut); margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; }
.c-anav a.on { color: var(--navy); font-weight: 600; border-left-color: var(--amber); }
.c-anav a:hover { color: var(--navy); }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 70ch; color: #3a4757; font-size: 16px; min-width: 0; }
.prose h2 { font-family: var(--f-head); color: var(--navy); font-size: 28px; margin-top: 12px; }
.prose h3 { font-family: var(--f-head); color: var(--navy); font-size: 21px; }
.prose .big, .prose > p:first-child { font-family: var(--f-head); font-size: 21px; line-height: 1.4; color: var(--navy); }
.prose img { border-radius: 8px; }
.prose a { color: var(--navy); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0; }

/* ---------- piè di pagina ---------- */
.b-foot { background: #0a1626; color: #9fb1c7; font-size: 14px; }
.b-foot .cwrap { padding-block: 40px 24px; }
.b-foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .b-foot-top { grid-template-columns: 1fr; } }
.b-foot-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.b-foot-brand img { height: 24px; width: auto; }
.b-foot-brand p { max-width: 34ch; }
.b-foot nav { display: flex; flex-direction: column; gap: 6px; }
.b-foot nav a { color: #c4d0df; text-decoration: none; font-family: var(--f-cond); letter-spacing: .08em; text-transform: uppercase; font-size: 16px; }
.b-foot nav a:hover { color: var(--amber); }
.b-foot-contacts { display: flex; flex-direction: column; gap: 6px; }
.b-foot-contacts .social { display: flex; gap: 14px; flex-wrap: wrap; }
.b-foot-contacts a { color: #c4d0df; }
.b-foot .legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 28px; padding-top: 16px; font-size: 12.5px; }

/* ---------- WhatsApp, modulo, avvisi ---------- */
.wa { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); z-index: 45; transition: transform .2s; }
.wa:hover { transform: scale(1.06); }
.wa .tip { position: absolute; right: 68px; white-space: nowrap; background: #fff; color: var(--ink); font-size: 13px; padding: 7px 11px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); pointer-events: none; opacity: 0; transition: opacity .2s; }
.wa:hover .tip { opacity: 1; }
body.drawer-open .wa { display: none; }
body.drawer-open { overflow: hidden; }
.ov { position: fixed; inset: 0; background: rgba(10, 20, 34, .5); z-index: 100000; display: flex; justify-content: flex-end; animation: m-fade .2s; }
.drawer { width: min(500px, 100%); height: 100%; background: #fff; color: var(--ink); overflow: auto; padding: 28px 28px 32px; padding-top: calc(28px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 18px; animation: m-slide .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes m-fade { from { opacity: 0; } }
@keyframes m-slide { from { transform: translateX(40px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .ov, .drawer { animation: none; } }
.drawer .dh { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.drawer h2 { font-family: var(--f-head); font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.drawer .lead { color: var(--mut); font-size: 14.5px; margin-top: 6px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld label { font-size: 13px; font-weight: 600; }
.fld label em { font-style: normal; color: var(--mut); font-weight: 400; }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; border: 1.5px solid #d4dbe4; border-radius: 9px; padding: 10px 12px; background: #fff; color: var(--ink); width: 100%; }
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(27, 51, 84, .12); }
.fld.bad input, .fld.bad textarea { border-color: var(--err); }
.msg { font-size: 12.5px; color: var(--err); }
.msg:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.prodref { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; background: var(--soft); }
.prodref img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.prodref b { display: block; font-family: var(--f-head); color: var(--navy); }
.prodref span { font-size: 13px; color: var(--mut); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--mut); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.check.bad { color: var(--err); }
.sendrow { display: flex; flex-direction: column; gap: 8px; }
.sendrow .btn[disabled] { opacity: .6; cursor: wait; }
.formerr { color: var(--err); font-size: 14px; }
.done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 12px; font-size: 16px; }
.done .ok { width: 56px; height: 56px; border-radius: 50%; background: #e4f5eb; color: var(--ok); display: grid; place-items: center; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--navy2); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 100001; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* contenuti dell'editor nelle pagine */
.entry .wp-block-image { margin: 0; }
.entry .alignwide { max-width: none; }
.entry .wp-block-button__link { background: var(--amber); color: var(--navy2); border-radius: 999px; font-family: var(--f-head); font-weight: 600; }
