/* ============================================================
   gods3dplan — pagine interne
   Catalogo, prodotto, novità, idee regalo, aziende, assistenza,
   chi siamo, note legali, pagamento.
   ============================================================ */

/* ---------- testata di pagina ---------- */
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(34px, 4.6vw, 68px) var(--pad) 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 5.6vw, 5.2rem); line-height: .98; letter-spacing: -.04em; font-variation-settings: "opsz" 96; text-wrap: balance; }
.page-title em { color: var(--sub); }
.page-lead { margin-top: 18px; max-width: 37em; font-size: clamp(1.04rem, 1.3vw, 1.2rem); line-height: 1.55; color: var(--ink-2); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.is-ready .page-head > *, .is-ready .banner { animation: rise 1s var(--ease) backwards; }
.is-ready .page-head > *:nth-child(2) { animation-delay: .08s; }
.is-ready .page-head > *:nth-child(3) { animation-delay: .16s; }
.is-ready .page-head > *:nth-child(4) { animation-delay: .24s; }

/* ---------- banner con copertina ---------- */
.banner {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  width: min(calc(100% - 2 * var(--pad)), calc(var(--max) - 2 * var(--pad))); min-height: clamp(280px, 31vw, 430px); margin: clamp(18px, 2.4vw, 30px) auto 0;
  padding: clamp(22px, 3.4vw, 50px); border-radius: var(--r-xl); background: color-mix(in srgb, var(--c, #F0561D) 14%, #F5F0E6);
}
.banner > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--ox, 70%) var(--oy, 60%); }
.banner .crumbs { margin-bottom: 14px; color: rgba(21, 20, 15, .62); }
.banner .page-title { font-size: clamp(2.5rem, 6vw, 5.4rem); }
.banner .page-lead { max-width: 26em; margin-top: 14px; color: rgba(21, 20, 15, .78); }
.banner.is-dark { color: #fff; }
.banner.is-dark .crumbs, .banner.is-dark .page-lead { color: rgba(255, 255, 255, .76); }
.banner.is-dark .crumbs a:hover { color: #fff; }

/* ---------- catalogo: barra filtri ---------- */
.shop { padding-top: clamp(26px, 3vw, 40px); }
.shop-bar {
  position: sticky; top: 84px; z-index: 30; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 22px; padding: 7px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, var(--sh-sm);
}
.shop-cats, .shop-tools { display: flex; align-items: center; gap: 4px; min-width: 0; }
.shop-cats { flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; }
.shop-cats::-webkit-scrollbar { display: none; }
.fchip { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 10px 15px 10px 12px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 500; line-height: 1; white-space: nowrap; transition: background .3s, color .3s; }
.fchip i { width: 9px; height: 9px; border-radius: 50%; background: var(--chip, var(--ink)); }
.fchip:hover { background: rgba(21, 20, 15, .06); }
.fchip.is-on { background: var(--ink); color: #fff; }
.ftoggle { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; transition: background .3s, border-color .3s, color .3s; }
.ftoggle::before { content: ""; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 5px; opacity: .5; transition: opacity .3s, background .3s; }
.ftoggle:hover { background: #fff; }
.ftoggle.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.ftoggle.is-on::before { opacity: 1; background: #fff center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2315140F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E"); border-color: #fff; }
.fselect { height: 38px; padding: 0 34px 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: rgba(255, 255, 255, .7) right 12px center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2315140F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); -webkit-appearance: none; appearance: none; cursor: pointer; }
.shop-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.shop-meta button { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.shop .prod-grid { gap: 34px 20px; }

/* ---------- fascia finale "su misura" ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px;
  width: min(calc(100% - 2 * var(--pad)), calc(var(--max) - 2 * var(--pad))); margin: clamp(64px, 8vw, 120px) auto 0; padding: clamp(26px, 4vw, 60px); border-radius: var(--r-xl); background: var(--ink); color: #fff;
}
.cta-band > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right center; opacity: .8; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%); mask-image: linear-gradient(90deg, transparent 20%, #000 80%); }
.cta-band h2 { max-width: 15em; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 3.1rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.cta-band h2 em { color: rgba(255, 255, 255, .45); }
.cta-band p { margin-top: 12px; max-width: 30em; color: rgba(255, 255, 255, .72); }

/* ============================================================
   SCHEDA PRODOTTO
   ============================================================ */
.pdp { max-width: var(--max); margin: 0 auto; padding: clamp(18px, 2.4vw, 30px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(26px, 4vw, 72px); align-items: start; }
.pdp-stage { position: sticky; top: 92px; isolation: isolate; overflow: hidden; min-height: clamp(420px, 47vw, 700px); border-radius: var(--r-xl); background: color-mix(in srgb, var(--pc, var(--cat)) 13%, #F3EDE1); box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-lg); transition: background-color .8s var(--ease); }
.pdp-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(95% 72% at 50% 6%, rgba(255, 255, 255, .96), rgba(255, 255, 255, 0) 64%); }
.pdp-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(21, 20, 15, .045) 0 1px, transparent 1px 13px); -webkit-mask-image: linear-gradient(180deg, transparent 38%, #000 100%); mask-image: linear-gradient(180deg, transparent 38%, #000 100%); }
.pdp-stage.has-sfondo::before { inset: -40px; background: linear-gradient(180deg, rgba(255, 252, 246, .30), rgba(255, 252, 246, .08) 55%, rgba(21, 20, 15, .10)), var(--sfondo) center 62% / cover no-repeat; filter: blur(10px) saturate(1.05); }
.pdp-stage.has-sfondo::after { display: none; }
.pdp-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pdp-stage .stage-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none; }
.pdp-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 7px 13px; border-radius: var(--r-pill); background: rgba(21, 20, 15, .5); color: #fff; font-size: 12.5px; white-space: nowrap; pointer-events: none; }
.pdp-info { padding-top: 6px; }
.pdp-cat { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.pdp-cat i { width: 9px; height: 9px; border-radius: 50%; background: var(--cat); }
.pdp-name { margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4.2vw, 3.9rem); line-height: 1; letter-spacing: -.04em; font-variation-settings: "opsz" 96; text-wrap: balance; }
.pdp-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.pdp-rate b { color: var(--ink); }
.pdp-badge { padding: 6px 11px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--cat) 13%, #fff); color: color-mix(in srgb, var(--cat) 62%, #15140F); font-size: 12.5px; font-weight: 600; line-height: 1; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3vw, 2.7rem); letter-spacing: -.035em; line-height: 1; }
.pdp-price small { font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pdp-blurb { margin-top: 18px; max-width: 32em; font-size: 1.08rem; line-height: 1.55; color: var(--ink-2); }
.pdp-opt { margin-top: 26px; }
.pdp-opt-label { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 13.5px; font-weight: 600; }
.pdp-opt-label span { font-weight: 500; color: var(--muted); }
.pdp-swatches { gap: 10px; }
.pdp-swatches .swatch { width: 34px; height: 34px; }
.pdp-swatches .swatch.is-on { box-shadow: inset 0 0 0 1px rgba(21, 20, 15, .12), 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
.pdp-buy { display: flex; gap: 10px; margin-top: 28px; }
.pdp-buy .qty { flex: 0 0 auto; height: 60px; margin: 0; padding: 0 6px; }
.pdp-buy .qty button { width: 44px; height: 44px; font-size: 20px; }
.pdp-buy .qty span { min-width: 30px; font-size: 16px; }
.pdp-buy .btn { flex: 1; }
.pdp-add-prezzo { display: none; } /* il prezzo nel pulsante solo nella barra fissa sotto i 900 px */
.pdp-alt { display: inline-block; margin-top: 14px; font-size: 14.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(21, 20, 15, .3); }
.pdp-alt:hover { text-decoration-color: currentColor; }
.pdp-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 26px; }
.pdp-trust li { padding: 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85); box-shadow: var(--sh-sm); }
.pdp-trust b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; letter-spacing: -.02em; }
.pdp-trust span { font-size: 12.5px; line-height: 1.3; color: var(--muted); }

/* campi di testo chiari */
.field { display: grid; gap: 7px; }
.field label, .field > span { font-size: 13.5px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; height: 56px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255, 255, 255, .7); color: var(--ink);
  font: inherit; font-size: 16px; transition: border-color .3s, background .3s; -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 130px; padding: 16px 18px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); background: #fff; }
.field small { font-size: 12.5px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-fine { margin-top: 12px; font-size: 13px; color: var(--muted); }
.form-fine.is-ok { color: #0E8A47 !important; }
.form-fine.is-err { color: #C2272D !important; }

/* fisarmonica */
.acc { margin-top: 34px; border-bottom: 1px solid var(--line); }
.acc details { border-top: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 0; font-family: var(--font-display); font-weight: 650; font-size: 18px; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; font-family: var(--font-body); font-weight: 400; font-size: 18px; transition: transform .5s var(--ease), background .3s, color .3s; }
.acc details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.acc .acc-body { padding: 0 0 20px; max-width: 46em; color: var(--ink-2); line-height: 1.6; }
.acc .acc-body p + p { margin-top: 10px; }
.specs-dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 22px; margin: 0; }
.specs-dl dt { font-size: 14px; color: var(--muted); }
.specs-dl dd { margin: 0; font-weight: 600; }

/* ============================================================
   IDEE REGALO · AZIENDE
   ============================================================ */
.rail-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 24px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.rail-head .sec-title { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.gift-finder { padding-top: clamp(30px, 4vw, 56px); }

.b2b-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.b2b-card { padding: 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .66); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, var(--sh-sm); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.b2b-card:hover { transform: translateY(var(--lift)); box-shadow: var(--sh-md); }
.b2b-card b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 2.8vw, 2.5rem); letter-spacing: -.04em; line-height: 1; color: color-mix(in srgb, var(--cat) 62%, #15140F); }
.b2b-card h3 { margin-top: 14px; font-family: var(--font-display); font-weight: 650; font-size: 18.5px; letter-spacing: -.02em; }
.b2b-card p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: stretch; }
.panel { padding: clamp(22px, 2.8vw, 38px); border-radius: 36px; background: rgba(255, 255, 255, .66); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, var(--sh-lg); }
.panel h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -.03em; line-height: 1.05; }
.panel > p { margin-top: 8px; color: var(--muted); }
.panel.is-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel.is-dark > p { color: rgba(255, 255, 255, .68); }

.ladder-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.ladder-range { margin-top: 22px; }
.ladder-range label { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; }
.ladder-range output { font-variant-numeric: tabular-nums; }
.ladder-range input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 6px 0 0; background: none; cursor: pointer; --p: 10%; }
.ladder-range input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--p), rgba(21, 20, 15, .14) var(--p)); }
.ladder-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: var(--sh-sm); }
.ladder-range input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--p), rgba(21, 20, 15, .14) var(--p)); }
.ladder-range input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; }
.ladder-out { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-top: 20px; padding: 18px 20px; border-radius: var(--r-md); background: var(--ink); color: #fff; }
.ladder-out span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.ladder-out strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2.1rem); letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ladder-out p { grid-column: 1 / -1; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 13px; color: rgba(255, 255, 255, .7); }
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.tier { padding: 10px 6px; border: 1px solid var(--line); border-radius: var(--r-sm); text-align: center; font-size: 12.5px; color: var(--muted); transition: background .4s, color .4s, border-color .4s; }
.tier b { display: block; font-size: 14.5px; color: var(--ink); transition: color .4s; }
.tier.is-on { background: var(--cat); border-color: var(--cat); color: rgba(255, 255, 255, .8); }
.tier.is-on b { color: #fff; }

/* anteprima del logo sulla targa */
.mock { position: relative; display: grid; place-items: center; min-height: 250px; margin-top: 20px; border-radius: var(--r-lg); background: radial-gradient(90% 80% at 50% 0%, #3A3731 0%, #1B1A16 70%); overflow: hidden; }
.mock::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 9px); pointer-events: none; }
.plaque { position: relative; display: grid; place-items: center; width: min(86%, 430px); min-height: 124px; padding: 22px 26px; border-radius: var(--r-sm); background: linear-gradient(180deg, color-mix(in srgb, var(--mc, #24364B) 86%, #fff) 0%, var(--mc, #24364B) 60%, color-mix(in srgb, var(--mc, #24364B) 82%, #000) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), var(--sh-md); transform: perspective(900px) rotateX(10deg); transition: background .5s; }
.plaque::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 5px); }
.plaque span { position: relative; max-width: 100%; overflow-wrap: anywhere; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3.2vw, 2.5rem); letter-spacing: -.03em; line-height: 1; color: color-mix(in srgb, var(--mc, #24364B) 70%, #fff); text-shadow: 0 1px 0 rgba(255, 255, 255, .35), 0 -1px 0 rgba(0, 0, 0, .45), 0 3px 6px rgba(0, 0, 0, .35); }
.mock-colors { display: flex; gap: 9px; margin-top: 14px; }
.mock-colors .swatch { width: 26px; height: 26px; }

/* ============================================================
   PAGINE DI TESTO (assistenza, chi siamo, note legali)
   ============================================================ */
.doc { max-width: var(--max); margin: 0 auto; padding: clamp(34px, 5vw, 70px) var(--pad) 0; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 5vw, 84px); align-items: start; }
.doc-nav { position: sticky; top: 100px; display: grid; gap: 2px; padding: 8px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--sh-sm); }
.doc-nav a { padding: 11px 14px; border-radius: var(--r-md); font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .3s, color .3s; }
.doc-nav a:hover { background: rgba(21, 20, 15, .06); color: var(--ink); }
.doc-nav a.is-on { background: var(--ink); color: #fff; }
.doc-body { min-width: 0; }
.doc-sec { padding-bottom: clamp(40px, 5vw, 72px); }
.doc-sec + .doc-sec { padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.doc-sec h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.02; letter-spacing: -.035em; font-variation-settings: "opsz" 96; }
.prose { max-width: 46em; margin-top: 20px; font-size: 1.04rem; line-height: 1.65; color: var(--ink-2); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose h3 { margin: 28px 0 8px; font-family: var(--font-display); font-weight: 650; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); }
.prose ul { margin: 0; padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.note { display: flex; gap: 12px; max-width: 46em; margin-top: 20px; padding: 16px 18px; border: 1px dashed rgba(21, 20, 15, .3); border-radius: var(--r-md); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin-top: 22px; }
.info-card { padding: 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .66); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--sh-sm); }
.info-card b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.035em; line-height: 1; }
.info-card span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; max-width: 760px; margin-top: 22px; }
.palette li { padding: 10px; border-radius: var(--r-md); background: rgba(255, 255, 255, .66); border: 1px solid rgba(255, 255, 255, .9); font-size: 13.5px; font-weight: 600; }
.palette i { display: block; aspect-ratio: 1.5; margin-bottom: 9px; border-radius: var(--r-sm); background: var(--s); box-shadow: inset 0 0 0 1px rgba(21, 20, 15, .1); background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 6px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; max-width: 900px; margin-top: 22px; }
.contact-list { display: grid; gap: 10px; align-content: start; }
.contact-list a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .66); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--sh-sm); font-weight: 600; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.contact-list a:hover { transform: translateY(var(--lift)); box-shadow: var(--sh-md); }
.contact-list small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }

/* ============================================================
   PAGAMENTO
   ============================================================ */
.co { max-width: var(--max); margin: 0 auto; padding: clamp(26px, 3.4vw, 46px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.co h2 { margin-bottom: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; }
.co-block + .co-block { margin-top: 34px; }
.co-sum { position: sticky; top: 100px; }
.co-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.co-line .cart-ph { border-radius: var(--r-sm); }
.co-line b { display: block; font-family: var(--font-display); font-weight: 650; font-size: 16px; letter-spacing: -.02em; line-height: 1.15; }
.co-line small { font-size: 13px; color: var(--muted); }
.co-line strong { font-weight: 600; white-space: nowrap; }
.co-rows { margin-top: 16px; display: grid; gap: 8px; font-size: 15px; }
.co-rows div { display: flex; justify-content: space-between; gap: 16px; }
.co-rows .tot { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; }
.co-rows .tot strong { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; letter-spacing: -.035em; line-height: 1; }
.co-pay { margin-top: 20px; }
.co-empty { padding: 30px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .b2b-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-bar { border-radius: var(--r-lg); }
}
@media (max-width: 900px) {
  .banner { border-radius: var(--r-lg); }
  .banner { min-height: 340px; }
  .banner > img { transform-origin: var(--ox, 70%) var(--oy, 60%); transform: translate(8%, -22%) scale(1.3); }
  .banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(250, 246, 238, .78) 0%, rgba(250, 246, 238, 0) 62%); }
  .banner.is-dark::after { background: linear-gradient(0deg, rgba(21, 20, 15, .8) 0%, rgba(21, 20, 15, 0) 62%); }
  .shop-bar { top: 78px; }
  .shop-tools { flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; }
  .shop-tools::-webkit-scrollbar { display: none; }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp-stage { position: relative; top: 0; min-height: min(104vw, 480px); border-radius: var(--r-lg); }
  .split, .co, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .co-sum { position: static; }
  .panel, .cta-band { border-radius: var(--r-lg); }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; border-radius: var(--r-pill); padding: 6px; }
  .doc-nav::-webkit-scrollbar { display: none; }
  .doc-nav a { flex: 0 0 auto; white-space: nowrap; border-radius: var(--r-pill); }
  .info-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .b2b-cards, .form-grid, .pdp-trust { grid-template-columns: minmax(0, 1fr); }
  .pdp-buy { flex-wrap: wrap; }
  .pdp-buy .btn { flex: 1 1 100%; }
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band .btn { width: 100%; justify-content: space-between; }
}


/* ============================================================
   RIFINITURE DOPO LA REVISIONE DI DESIGN
   ============================================================ */
.page-actions { align-items: center; }

/* banner: la foto occupa la parte destra e sfuma, così il titolo non finisce sopra gli oggetti */
.banner > img { left: auto; right: 0; width: 72%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36%); mask-image: linear-gradient(90deg, transparent 0, #000 36%); }
.banner.is-dark { background: #1B1A16; }

/* catalogo: barra dei filtri su una riga, controlli della stessa altezza */
.shop-bar { flex-wrap: nowrap; top: 72px; border-radius: var(--r-lg); }
.shop-cats { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); padding-right: 22px; }
@media (min-width: 901px) { .shop-tools { flex: 0 0 auto; } } /* su telefono resta la regola della barra a scorrimento */
.fchip, .ftoggle, .fselect { height: 38px; padding-block: 0; }
.fchip.is-on i { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .75); }

/* scheda prodotto */
.pdp-buy .btn { justify-content: space-between; }
.pdp-rate .star { color: #E39A00; }
.pdp-opt-label { justify-content: flex-start; gap: 10px; }
.pdp.is-quote .pdp-trust { display: none; }
#pdpNote { height: 60px; padding-inline: 22px; border-radius: var(--r-pill); }
@media (min-width: 901px) {
  .pdp-stage { min-height: min(clamp(420px, 47vw, 700px), calc(100svh - 150px)); }
}

/* raggi allineati a quelli della home: 44 / 28 / 20 */
.panel { border-radius: var(--r-lg); }
.mock, .info-card, .contact-list a { border-radius: var(--r-md); }

/* pagine di testo: una sola larghezza di colonna */
.doc-body { --doc-w: 780px; }
.doc-sec .prose, .doc-sec .note, .doc-sec .info-cards, .doc-sec .contact-grid, .doc-sec .making-steps, .doc-sec .acc, .doc-sec .palette { max-width: var(--doc-w); }
.co .note { max-width: none; }

/* moduli: spazio riservato al messaggio, campo evidenziato in caso di errore */
.form-fine { min-height: 2.7em; }
/* pagamento concluso: il riepilogo resta da leggere, senza codice, buoni né «Modifica» */
.co-sum.is-chiuso .co-code, .co-sum.is-chiuso .co-code-on, .co-sum.is-chiuso .co-buoni, .co-sum.is-chiuso #coEdit, .co-sum.is-chiuso .co-modifica { display: none !important; }
input[aria-invalid="true"] { border-color: #C2272D !important; }

/* anteprima del logo: sulla targa chiara il testo diventa scuro */
.plaque.is-light span { color: color-mix(in srgb, var(--mc) 60%, #000); text-shadow: 0 1px 0 rgba(255, 255, 255, .75), 0 -1px 0 rgba(0, 0, 0, .16); }

@media (max-width: 900px) {
  .banner > img { left: 0; right: auto; width: 100%; -webkit-mask-image: none; mask-image: none; }
  .shop-bar { flex-wrap: wrap; }
  .shop-cats { padding-right: 0; }
}


/* ---------- rifiniture per telefono e tablet (dalla revisione) ---------- */
@media (max-width: 900px) {
  /* pagamento: prima il riepilogo con il totale, poi i dati */
  .co { display: flex; flex-direction: column; }
  .co-sum { order: -1; }
  /* banner: foto in alto a destra, testo sotto su un velo pieno */
  .banner { min-height: 360px; }
  .banner:has(.page-actions) { padding-top: 170px; }
  .banner > img { transform: translate(8%, -14%) scale(1.3); }
  .banner::after { background: linear-gradient(0deg, rgba(250, 246, 238, .96) 0%, rgba(250, 246, 238, .9) 46%, rgba(250, 246, 238, 0) 80%); }
  .banner.is-dark::after { background: linear-gradient(0deg, rgba(27, 26, 22, .96) 0%, rgba(27, 26, 22, .88) 46%, rgba(27, 26, 22, 0) 80%); }
  .fselect { height: 44px; font-size: 16px; }
  .gift-finder .finder-copy { display: none; }
}
@media (max-width: 900px) {
  /* barra d'acquisto fissa (telefono e tablet): il prezzo accanto a «Aggiungi al carrello» */
  .pdp-add-prezzo { display: inline; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .co { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .co-sum { order: 0; }
}
@media (max-width: 520px) {
  /* scheda prodotto: il pulsante d'acquisto resta sempre a portata di pollice */
  .pdp-stage { min-height: min(88vw, 360px); }
  .pdp-buy { position: sticky; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 20; flex-wrap: nowrap; margin-inline: -6px; padding: 6px; border-radius: var(--r-pill); background: rgba(250, 246, 238, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--sh-md); }
  .pdp-buy .btn { flex: 1 1 auto; height: 52px; padding-left: 18px; font-size: 15px; }
  .pdp-buy .btn .arr { width: 36px; height: 36px; }
  .pdp-buy .qty { height: 52px; padding: 0 2px; }
  .pdp-buy .qty button { width: 40px; height: 40px; }
  .b2b-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .b2b-card { padding: 18px; border-radius: var(--r-md); }
  .tiers { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .tier { padding: 8px 2px; font-size: 11.5px; border-radius: var(--r-sm); }
  .tier b { font-size: 12.5px; }
  .page-actions .btn { width: 100%; justify-content: space-between; }
  .page-actions .btn-plain { justify-content: center; }
}


/* ---------- secondo giro di controllo ---------- */
@media (min-width: 901px) and (max-width: 1700px) {
  /* catalogo: sotto i 1700 px le passioni non stanno in una riga con i filtri: due righe, tutte visibili */
  .shop-bar { flex-wrap: wrap; }
  .shop-cats { flex: 1 1 100%; flex-wrap: wrap; padding-right: 0; -webkit-mask-image: none; mask-image: none; }
  .shop-tools { margin-left: auto; }
}


/* ============================================================
   TESTATE STILIZZATE — catalogo, novità, idee regalo
   Pannello nel colore della pagina, parola gigante a contorno, anelli del piatto di stampa
   e tre soggetti ritagliati che galleggiano a destra.
   ============================================================ */
.page-head.phero {
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  width: min(100% - 2 * var(--pad), var(--max) - 2 * var(--pad)); max-width: none; margin: 14px auto 0;
  min-height: clamp(320px, 30vw, 430px); padding: clamp(26px, 4vw, 60px); border-radius: var(--r-xl);
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--cat) 34%, #FFF6E8) 0%, transparent 62%),
    linear-gradient(120deg, color-mix(in srgb, var(--cat) 9%, #FBF7EF) 0%, color-mix(in srgb, var(--cat) 22%, #F6ECDD) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 50px 90px -60px color-mix(in srgb, var(--cat) 60%, rgba(21, 20, 15, .5));
  transition: background .6s;
}
.phero > :not(.phero-art) { position: relative; z-index: 1; max-width: min(100%, 640px); }
.phero .page-title { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.phero .page-title em { display: block; color: color-mix(in srgb, var(--cat) 78%, #15140F); }
.phero .page-lead { max-width: 30em; }
.phero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.phero-word {
  position: absolute; right: -1.5cqw; top: -2.6cqw; font-family: var(--font-display); font-weight: 700; font-size: 17cqw; line-height: 1; letter-spacing: -.045em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--cat) 42%, transparent); opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 96%); mask-image: linear-gradient(180deg, #000 30%, transparent 96%);
}
.phero-rings {
  position: absolute; right: -6%; bottom: -58%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 21px, color-mix(in srgb, var(--cat) 26%, transparent) 21px 22px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  transform: rotateX(62deg); animation: pheroGira 60s linear infinite;
}
@keyframes pheroGira { to { transform: rotateX(62deg) rotate(360deg); } }
.pa { position: absolute; max-width: none; filter: drop-shadow(0 26px 22px color-mix(in srgb, var(--cat) 35%, rgba(21, 20, 15, .35))); animation: pheroGalla 7s ease-in-out infinite alternate; }
.pa1 { right: -9%; bottom: -24%; width: 62%; animation-delay: -1s; }
.pa2 { right: 15%; bottom: -6%; width: 40%; animation-delay: -3.5s; animation-duration: 8.5s; }
.pa3 { right: -4%; bottom: 20%; width: 34%; animation-delay: -5s; animation-duration: 9.5s; }
@keyframes pheroGalla { from { transform: translateY(0) rotate(-1.2deg); } to { transform: translateY(-14px) rotate(1.2deg); } }
.is-ready .phero .page-title { animation: rise .9s var(--ease) .05s backwards; }
.is-ready .phero .page-lead, .is-ready .phero .page-actions { animation: rise .9s var(--ease) .16s backwards; }
@media (prefers-reduced-motion: reduce) { .pa, .phero-rings { animation: none; } }
@media (max-width: 900px) {
  .page-head.phero { border-radius: var(--r-lg); min-height: 0; padding-top: 150px; }
  .phero > :not(.phero-art) { max-width: none; }
  .phero-word { font-size: 24cqw; top: 6px; right: -2cqw; }
  .pa1 { right: -14%; top: -34%; bottom: auto; width: 96%; }
  .pa2, .pa3, .phero-rings { display: none; }
}
.pa1 { right: -3%; }


/* testate: una sola fotografia dedicata che riempie il pannello, niente collage né scritte di sfondo */
.page-head.phero { background: #F3E9DC; }
.phero-foto { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 50%; }
.phero > :not(.phero-foto) { position: relative; z-index: 1; max-width: min(100%, 600px); }
.phero .page-title em { color: color-mix(in srgb, var(--cat) 82%, #15140F); }
@media (max-width: 900px) {
  .page-head.phero { padding-top: 46vw; }
  .phero-foto { height: 52vw; object-position: 88% 50%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .phero > :not(.phero-foto) { max-width: none; }
}
.page-head.phero > img.phero-foto { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; }
@media (max-width: 900px) { .page-head.phero > img.phero-foto { height: 52vw; } }
@media (min-width: 901px) {
  /* il testo resta nella metà sinistra, lontano dai soggetti della foto */
  .page-head.phero > :not(.phero-foto) { max-width: min(40%, 520px); }
  .page-head.phero .page-title { font-size: clamp(2.3rem, 4vw, 3.9rem); }
}

/* aziende: caricamento del proprio logo nell'anteprima della targa */
.mock-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.mock-file { cursor: pointer; }
.mock-file:focus-within, #mockFile:focus-visible + .mock-clear { outline: none; }
#mockFile:focus-visible ~ .mock-clear, .mock-upload:has(#mockFile:focus-visible) .mock-file { outline: 2px solid var(--ink); outline-offset: 3px; }
.mock-clear { font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.mock-clear:hover { color: var(--ink); }
/* il logo è una sagoma in rilievo, dello stesso materiale della targa */
.plaque-logo { position: relative; display: block; width: 100%; height: clamp(70px, 12vw, 120px); background: color-mix(in srgb, var(--mc, #24364B) 70%, #fff);
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.plaque-logo[hidden] { display: none; }
.plaque.has-logo { filter: drop-shadow(0 0 0 transparent); }
.plaque.has-logo span { display: none; }
.plaque.is-light .plaque-logo { background: color-mix(in srgb, var(--mc, #EFE7D8) 62%, #15140F); }
.plaque-logo-wrap { position: relative; display: none; width: 100%; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .35)) drop-shadow(0 -1px 0 rgba(0, 0, 0, .45)) drop-shadow(0 3px 5px rgba(0, 0, 0, .35)); }
.plaque.has-logo .plaque-logo-wrap { display: block; }
.plaque.is-light .plaque-logo-wrap { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .75)) drop-shadow(0 -1px 0 rgba(0, 0, 0, .16)) drop-shadow(0 3px 5px rgba(0, 0, 0, .18)); }
#mockNote.is-err { color: #C2272D; }


/* ============================================================
   AZIENDE — configuratore del gadget
   ============================================================ */
.mock { min-height: 300px; perspective: 1000px; background: radial-gradient(80% 70% at 50% 8%, #4A463E 0%, #23211D 62%, #191816 100%); }
.mock::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 13%; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(6px); }
.plaque { --ls: 1; grid-template-columns: minmax(0, 1fr); transform: rotateX(var(--rx, 10deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), background .5s, width .5s var(--ease), min-height .5s var(--ease), border-radius .5s; transform-style: preserve-3d; will-change: transform; }
.plaque::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 64%, rgba(0, 0, 0, .18) 100%); }
.plaque-face { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-width: 0; }
.plaque span { font-size: calc(clamp(1.3rem, 2.9vw, 2.3rem) * var(--ls)); transition: color .4s; }
.plaque .plaque-logo-wrap { width: 100%; }
.plaque .plaque-logo { height: calc(clamp(64px, 11vw, 110px) * var(--ls)); transition: background .4s; }
/* logo e nome insieme */
.plaque.has-logo[data-layout="insieme"] span { display: block; font-size: calc(clamp(1rem, 2vw, 1.5rem) * var(--ls)); text-align: left; }
.plaque.has-logo[data-layout="insieme"] .plaque-logo-wrap { flex: 0 0 34%; width: auto; }
.plaque.has-logo[data-layout="insieme"] .plaque-logo { height: calc(clamp(48px, 7vw, 76px) * var(--ls)); }
/* caratteri */
.plaque[data-font="classico"] span { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.01em; }
.plaque[data-font="tecnico"] span { font-family: var(--font-mono); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; font-size: calc(clamp(1.05rem, 2.3vw, 1.8rem) * var(--ls)); }
/* inciso: scritta e logo scavati nel pezzo */
.plaque[data-finish="inciso"] span { color: color-mix(in srgb, var(--mc, #24364B) 74%, #000); text-shadow: 0 1px 0 rgba(255, 255, 255, .28), 0 -1px 1px rgba(0, 0, 0, .55); }
.plaque[data-finish="inciso"] .plaque-logo { background: color-mix(in srgb, var(--mc, #24364B) 74%, #000); }
.plaque[data-finish="inciso"] .plaque-logo-wrap { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .28)) drop-shadow(0 -1px 1px rgba(0, 0, 0, .55)); }
.plaque.is-light[data-finish="inciso"] span { color: color-mix(in srgb, var(--mc) 72%, #000); text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0 -1px 1px rgba(0, 0, 0, .3); }
/* secondo colore (stampa a due colori) */
.plaque.has-ink span { color: var(--ink); }
.plaque.has-ink .plaque-logo { background: var(--ink); }
/* forme */
.plaque-ring { display: none; }
.plaque[data-shape="portachiavi"] { width: min(72%, 330px); min-height: 104px; padding: 16px 22px 16px 64px; border-radius: 52px 18px 18px 52px; }
.plaque[data-shape="portachiavi"] .plaque-ring { display: block; position: absolute; left: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: #191816; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .22); }
.plaque[data-shape="portachiavi"] .plaque-ring::after { content: ""; position: absolute; left: -34px; top: -9px; width: 46px; height: 46px; border-radius: 50%; border: 4px solid #C9CCD1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), var(--sh-sm); }
.plaque[data-shape="portachiavi"] span { font-size: calc(clamp(1rem, 2.1vw, 1.55rem) * var(--ls)); }
.plaque[data-shape="portachiavi"] .plaque-logo { height: calc(clamp(44px, 7vw, 68px) * var(--ls)); }
.plaque[data-shape="portapenne"] { width: min(52%, 230px); min-height: 220px; padding: 60px 18px 22px; border-radius: 16px 16px 22px 22px; }
.plaque[data-shape="portapenne"]::before { -webkit-mask-image: linear-gradient(180deg, transparent 34px, #000 46px); mask-image: linear-gradient(180deg, transparent 34px, #000 46px); }
.plaque[data-shape="portapenne"] .plaque-ring { display: block; position: absolute; left: 10px; right: 10px; top: 10px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, #0F0E0D 60%, #262420 100%); box-shadow: inset 0 3px 6px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .2); }
.plaque[data-shape="portapenne"] span { font-size: calc(clamp(.95rem, 1.7vw, 1.3rem) * var(--ls)); }
.plaque[data-shape="portapenne"] .plaque-logo { height: calc(clamp(56px, 8vw, 84px) * var(--ls)); }
.plaque[data-shape="portapenne"].has-logo[data-layout="insieme"] .plaque-face { flex-direction: column; gap: 8px; }
.plaque[data-shape="portapenne"].has-logo[data-layout="insieme"] span { text-align: center; }
.plaque[data-shape="portapenne"].has-logo[data-layout="insieme"] .plaque-logo-wrap { flex: none; width: 100%; }
/* comandi */
.cfg { display: grid; gap: 14px; margin-top: 18px; }
.cfg .field { margin: 0 !important; }
.cfg-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.cfg-row[hidden] { display: none; }
.cfg-l { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.cfg-l output { margin-left: 6px; color: var(--muted); font-weight: 400; }
.cfg-seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: var(--r-pill); background: rgba(21, 20, 15, .06); }
.cfg-seg button { padding: 8px 14px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 550; color: var(--ink-2); transition: background .3s, color .3s, box-shadow .3s; }
.cfg-seg button:hover { color: var(--ink); }
.cfg-seg button.is-on { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.cfg .mock-colors { margin-top: 0; flex-wrap: wrap; justify-content: flex-end; }
.cfg .mock-upload { margin-top: 0; }
.swatch.is-tono { background: conic-gradient(#24364B 0 25%, #F0561D 0 50%, #0C9B6A 0 75%, #EFE7D8 0) !important; }
.cfg-range { -webkit-appearance: none; appearance: none; flex: 1 1 160px; max-width: 240px; height: 26px; margin: 0; background: none; cursor: pointer; --p: 57%; }
.cfg-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--p), rgba(21, 20, 15, .14) var(--p)); }
.cfg-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #fff; border: 1px solid rgba(21, 20, 15, .16); box-shadow: var(--sh-sm); }
.cfg-range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--p), rgba(21, 20, 15, .14) var(--p)); }
.cfg-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid rgba(21, 20, 15, .16); }
@media (max-width: 520px) {
  .mock { min-height: 250px; }
  .cfg-seg button { padding: 10px 12px; }
  .cfg-row { align-items: flex-start; flex-direction: column; }
  .cfg .mock-colors { justify-content: flex-start; }
  .cfg-range { max-width: none; width: 100%; flex: none; }
}


/* ---------- rifiniture di dettaglio (ultima revisione) ---------- */
.pdp-trust span { display: block; }
/* le linee tra le sezioni si fermano dove si ferma il testo */
.doc-sec { max-width: var(--doc-w); }
/* aziende: il pannello del listino non si allunga a vuoto e resta in vista mentre si configura il gadget */
@media (min-width: 901px) {
  .split { align-items: start; }
  .split > .panel:first-child { position: sticky; top: 96px; }
}
/* stessa distanza tra menu e testata su tutte le pagine */
.banner { margin-top: 14px; }

/* catalogo: il conteggio dei pezzi sta nella barra, a sinistra della riga dei filtri (niente righe sfalsate) */
.shop-bar .shop-meta { order: 2; flex: 1 1 auto; margin: 0; padding-left: 14px; justify-content: flex-start; gap: 6px 14px; white-space: nowrap; }
.shop-bar .shop-tools { order: 3; }
@media (max-width: 900px) { .shop-bar .shop-meta { flex: 1 1 100%; padding: 2px 8px 0; font-size: 13px; } }


/* ============================================================
   AZIENDE — componi, vedi il prezzo, invia: un solo percorso
   ============================================================ */
.passo { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.panel > p.passo { margin-top: 0; }
.passo b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: 0; }
/* il listino resta in vista mentre si compone il gadget */
@media (min-width: 901px) {
  #listino .split > .panel:first-child { position: static; }
  #listino .split > .panel:last-child { position: sticky; top: 92px; }
}
.recap { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255, 255, 255, .72); }
.recap > div { min-width: 0; }
.recap-dot { position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--mc, #24364B); box-shadow: inset 0 0 0 1px rgba(21, 20, 15, .14), inset 0 1px 0 rgba(255, 255, 255, .3); }
.recap-dot::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--ic, rgba(255, 255, 255, .34)); box-shadow: 0 0 0 1px rgba(21, 20, 15, .12); }
.recap strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.recap span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.recap a { flex: 0 0 auto; margin-left: auto; font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.recap-form { margin: 0 0 18px; }
.recap-form span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.recap-form strong { margin-top: 2px; font-size: 14.5px; font-weight: 500; }
/* scaglioni: si toccano, e mostrano il prezzo del pezzo scelto */
button.tier { display: block; width: 100%; cursor: pointer; font: inherit; font-size: 12px; line-height: 1.35; background: rgba(255, 255, 255, .5); }
button.tier:hover:not(.is-on) { border-color: var(--ink); }
.tier span { display: block; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .4s; }
.tier small { display: block; font-size: 11.5px; }
.tier.is-on span { color: #fff; }
.tiers { margin-top: 10px; }
/* il conto voce per voce */
.conto { display: grid; gap: 7px; margin: 18px 0 0; font-size: 13.5px; }
.conto div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.conto dt { color: var(--muted); }
.conto dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.conto .is-meno dd { color: #0E8A47; }
#prezzo .ladder-out { margin-top: 14px; }
#prezzo .form-fine { min-height: 0; }
@media (max-width: 520px) {
  .tier span { font-size: 11.5px; }
  .tier small { font-size: 11.5px; }
}

/* scheda di un prodotto reale: galleria di fotografie */
.pdp-stage[hidden] { display: none; }
.pdp-gallery { aspect-ratio: 4 / 5; min-height: 0; max-height: max(420px, calc(100svh - 262px)); background: #14161C; }
.pdp-gallery::before, .pdp-gallery::after { display: none; }
#pdpFoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { position: absolute; left: 16px; top: 16px; display: flex; flex-direction: column; gap: 10px; }
.pdp-thumbs button { width: 64px; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; border: 2px solid rgba(255, 255, 255, .55); border-radius: var(--r-sm); background: none; cursor: pointer; opacity: .82; transition: opacity .25s, border-color .25s, transform .25s; }
.pdp-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.pdp-thumbs button.is-on { opacity: 1; border-color: #fff; box-shadow: var(--sh-md); }
.pdp-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .pdp-gallery { max-height: none; } }

/* scheda di un prodotto reale: modello 3D che si stampa + fotografie vere, con miniature per passare dall'uno alle altre */
.pdp-stage.has-foto { aspect-ratio: 3 / 4; min-height: 0; max-height: max(420px, calc(100svh - 262px)); }
.pdp-foto { position: absolute; inset: 0; z-index: 3; overflow: hidden; border-radius: inherit; background: #14161C; opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity .55s var(--ease), transform .8s var(--ease), visibility 0s .55s; }
.pdp-stage.is-foto .pdp-foto { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease), transform .8s var(--ease), visibility 0s; }
/* foto → 3D: la foto se ne va in fretta, così foto e 3D non si sovrappongono (niente «fantasma») */
.pdp-stage:not(.is-foto) .pdp-foto { transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
.pdp-stage.is-foto .stage-top, .pdp-stage.is-foto .pdp-hint { opacity: 0; pointer-events: none; }
.pdp-stage.has-foto .pdp-thumbs { z-index: 4; top: 74px; }
.pdp-thumbs button.is-3d { display: grid; place-items: center; background: rgba(21, 20, 15, .72); color: #fff; font: 700 15px/1 var(--font-display, inherit); letter-spacing: -.02em; }
.pdp-stage:not(.is-foto) .pdp-thumbs button:not(.is-3d) { border-color: rgba(21, 20, 15, .18); }
@media (max-width: 900px) { .pdp-stage.has-foto { max-height: none; } .pdp-stage.has-foto .pdp-thumbs { top: auto; bottom: 14px; left: 14px; flex-direction: row; } }


/* ============================================================
   RESTYLING 27/11 — percorso a pastiglie e testata della passione
   ============================================================ */

/* ---------- percorso (Home › Catalogo › Sport) ----------
   Una pastiglia in vetro con le voci come piccoli chip: casa per la Home, icona e colore
   per la passione, la pagina in cui sei evidenziata con il colore della passione. */
.crumbs {
  display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 2px; width: fit-content; max-width: 100%; align-self: flex-start; justify-self: start; margin-bottom: 20px; padding: 4px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), inset 0 1px 0 #fff, 0 10px 26px -16px rgba(60, 45, 25, .45);
  font-size: 13px; font-weight: 600; line-height: 1; color: var(--ink-2);
}
.crumbs > a, .crumbs > span:not([aria-hidden]) {
  display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); white-space: nowrap;
  transition: background .3s, color .3s, box-shadow .3s;
}
.crumbs > a { color: var(--ink-2); }
.crumbs > a:hover { background: color-mix(in srgb, var(--cat) 10%, #fff); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cat) 18%, transparent); }
.crumbs > a:focus-visible { outline-offset: 1px; border-radius: var(--r-pill); }
/* touch: il link prende 44px di altezza senza cambiare il disegno (::before è la casa della Home) */
@media (pointer: coarse) {
  .crumbs > a { position: relative; }
  .crumbs > a::after { content: ""; position: absolute; inset: -6px 0; }
}
/* casa davanti alla Home */
.crumbs > a:first-child { padding-left: 9px; }
.crumbs > a:first-child::before {
  content: ""; width: 15px; height: 15px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11 12 4l8 7v8a1 1 0 0 1-1 1h-4v-6H9v6H5a1 1 0 0 1-1-1v-8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11 12 4l8 7v8a1 1 0 0 1-1 1h-4v-6H9v6H5a1 1 0 0 1-1-1v-8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* separatore: una freccina al posto della barra */
.crumbs > span[aria-hidden] {
  flex: 0 0 auto; width: 12px; height: 12px; font-size: 0; opacity: 1; background: rgba(21, 20, 15, .3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* passione: icona nel suo colore */
.crumbs .crumb-cat .cat-ic { color: var(--chip, var(--cat)); }
.crumbs > a.crumb-cat:hover { background: color-mix(in srgb, var(--chip) 10%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--chip) 20%, transparent); }
/* pagina corrente: chip pieno del colore della passione; se è lunga si accorcia con i puntini */
.crumbs > span:last-child {
  flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 32px;
  /* pastiglia chiara nel colore della passione, testo scuro della stessa tinta: leggibile con ogni colore */
  background: color-mix(in srgb, var(--chip, var(--cat)) 16%, #fff); color: color-mix(in srgb, var(--chip, var(--cat)) 45%, #15140F); font-weight: 700;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--chip, var(--cat)) 30%, transparent);
}
.crumbs > span.crumb-cat:last-child { display: inline-flex; }
.crumbs > span:last-child .cat-ic { color: var(--chip, var(--cat)); }
.banner .crumbs { align-self: flex-start; margin-bottom: 16px; color: var(--ink-2); }
.banner.is-dark .crumbs { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), var(--sh-md); color: rgba(255, 255, 255, .85); }
.banner.is-dark .crumbs > a { color: rgba(255, 255, 255, .85); }
.banner.is-dark .crumbs > a:hover { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.banner.is-dark .crumbs > span[aria-hidden] { background: rgba(255, 255, 255, .45); }
@media (max-width: 600px) {
  .crumbs { font-size: 12.5px; }
  .crumbs > a, .crumbs > span:not([aria-hidden]) { min-height: 30px; padding: 0 10px; }
  .crumbs > span:last-child { line-height: 30px; }
  .crumbs > a:first-child { padding: 0 8px; font-size: 0; gap: 0; }
  .crumbs > a:first-child::before { width: 16px; height: 16px; }
}

/* ---------- catalogo per passione: alone animato attorno alla testata ----------
   Solo nell'area della testata: un alone del colore della passione che respira e si sposta piano,
   un filo di luce che gira lungo il bordo e un riflesso che attraversa la card. */
@property --giro { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cat-stage { position: relative; isolation: isolate; padding: clamp(14px, 2vw, 28px) 0 clamp(16px, 2vw, 26px); }
.cat-stage::before {
  /* fondo della zona: una luce del colore della passione che sfuma ai lati e in basso */
  content: ""; position: absolute; left: 50%; top: -120px; bottom: -40px; z-index: -2; width: 100vw; transform: translateX(-50%); pointer-events: none;
  background:
    radial-gradient(50% 70% at 50% 45%, color-mix(in srgb, var(--c) 16%, transparent) 0%, transparent 75%),
    radial-gradient(4px 4px at 50% 50%, color-mix(in srgb, var(--c) 22%, transparent) 50%, transparent 52%) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 45%, #000 30%, transparent 78%); mask-image: radial-gradient(70% 80% at 50% 45%, #000 30%, transparent 78%);
}
.cat-aura { position: absolute; inset: 0 max(0px, calc(var(--pad) - 34px)) -2%; z-index: -1; pointer-events: none; }
.cat-aura i { position: absolute; display: block; border-radius: 50%; filter: blur(56px); will-change: transform, opacity; }
.cat-aura i:nth-child(1) { left: -4%; top: 4%; width: 48%; height: 92%; background: color-mix(in srgb, var(--c) 78%, #fff); opacity: .6; animation: auraA 11s ease-in-out infinite alternate; }
.cat-aura i:nth-child(2) { right: -4%; top: -2%; width: 46%; height: 96%; background: color-mix(in srgb, var(--c) 60%, #FFC27A); opacity: .55; animation: auraB 14s ease-in-out infinite alternate; }
.cat-aura i:nth-child(3) { left: 26%; bottom: -10%; width: 50%; height: 46%; background: var(--c); opacity: .4; animation: auraC 9s ease-in-out infinite alternate; }
@keyframes auraA { 0% { transform: translate(0, 0) scale(1); opacity: .48; } 100% { transform: translate(7%, 5%) scale(1.1); opacity: .75; } }
@keyframes auraB { 0% { transform: translate(0, 4%) scale(1.05); opacity: .62; } 100% { transform: translate(-8%, -4%) scale(.94); opacity: .4; } }
@keyframes auraC { 0% { transform: translate(-6%, 0) scale(.95); opacity: .3; } 100% { transform: translate(8%, -8%) scale(1.12); opacity: .55; } }
.cat-stage .banner { margin-top: 0; box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--c) 70%, rgba(21, 20, 15, .6)), 0 0 0 1px rgba(255, 255, 255, .7), var(--sh-sm); }
/* filo di luce che gira lungo il bordo */
.banner-ring {
  position: absolute; inset: 0; z-index: 2; padding: 2px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--giro), transparent 0deg, transparent 230deg, color-mix(in srgb, var(--c) 80%, #fff) 290deg, #fff 320deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .85; animation: ringGiro 7s linear infinite;
}
@keyframes ringGiro { to { --giro: 360deg; } }
/* riflesso che attraversa la card ogni tanto */
.banner-sheen { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.banner-sheen::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .34) 50%, transparent 100%); transform: translateX(-120%) skewX(-12deg);
  animation: sheenPass 9s var(--ease) 1.2s infinite;
}
@keyframes sheenPass { 0% { transform: translateX(-120%) skewX(-12deg); } 22%, 100% { transform: translateX(560%) skewX(-12deg); } }
.banner > .crumbs, .banner > .page-title, .banner > .page-lead { position: relative; z-index: 3; }
.banner.is-dark .banner-sheen::before { background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .12) 50%, transparent 100%); }
@media (max-width: 760px) {
  .cat-aura { inset: 10% 2% 2%; }
  .cat-aura i { filter: blur(36px); }
}
@media (prefers-reduced-motion: reduce) {
  .cat-aura i, .banner-ring, .banner-sheen::before { animation: none !important; }
  .banner-ring { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 60%, #fff), transparent 40%, transparent 60%, color-mix(in srgb, var(--c) 40%, #fff)); opacity: .6; }
  .banner-sheen { display: none; }
}


/* ============================================================
   RIFINITURE DI MARCA (29/11) — pagine di testo (assistenza, chi siamo, note legali)
   Icone nei riquadri, contatti con freccia, fisarmonica che si apre morbida.
   ============================================================ */
.info-card { position: relative; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.info-card .ic, .contact-list .ic {
  display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; margin: 0 0 14px; border-radius: var(--r-sm); color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--cat) 80%, #fff) 0%, var(--cat) 55%, color-mix(in srgb, var(--cat) 80%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 16px -8px var(--cat);
}
.info-card b { font-variant-numeric: tabular-nums; }
.contact-list a { gap: 14px; padding: 14px 16px; }
.contact-list .ic { margin: 0; border-radius: var(--r-sm); }
.contact-list a > span:not(.ic) { flex: 1 1 auto; min-width: 0; }
.contact-list .go { font-style: normal; color: var(--muted); transition: transform .5s var(--ease), color .3s; }
.contact-list a:hover .go { transform: translateX(3px); color: var(--ink); }
.contact-list a:focus-visible { outline-offset: 2px; }
@media (hover: none) { .contact-list a:hover { transform: none; } }

/* indice laterale: passaggio più morbido tra le voci */
.doc-nav a { position: relative; transition: background .35s var(--ease), color .35s; }
.doc-nav a:focus-visible { outline-offset: 0; }

/* fisarmonica: riga al passaggio del mouse, apertura morbida dove il browser lo consente */
.acc summary { border-radius: var(--r-sm); transition: color .3s; }
.acc summary:hover { color: color-mix(in srgb, var(--ink) 72%, var(--cat)); }
.acc summary:hover::after { border-color: var(--ink); }
.acc summary:focus-visible { outline-offset: 4px; }
.acc details[open] .acc-body { animation: accApri .5s var(--ease); }
@keyframes accApri { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .acc details[open] .acc-body { animation: none; } }

/* modulo contatti: area di testo che cresce con il contenuto dove possibile */
.field textarea { field-sizing: content; max-height: 360px; }

/* intestazione delle strisce (idee regalo, correlati): su telefono il «Vedi tutti» va sempre sotto il titolo,
   allineato a sinistra, invece di finire accanto o sotto a seconda della lunghezza del titolo */
.rail-head > div { min-width: 0; }
@media (max-width: 600px) {
  .rail-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .rail-head > div { width: 100%; }
}
/* su telefono i riquadri delle informazioni stanno su una riga: icona a sinistra, testo a destra */
@media (max-width: 900px) {
  .info-card:has(.ic) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px 18px; }
  .info-card:has(.ic) .ic { grid-row: span 2; margin: 0; }
  .info-card:has(.ic) span:not(.ic) { margin-top: 4px; }
}

/* ============================================================
   ASSISTENZA — testata come le altre pagine (pannello nel colore della pagina,
   griglia del piatto di stampa, scorciatoie alle quattro sezioni). Nessuna immagine.
   ============================================================ */
.page-head.as-hero {
  position: relative; isolation: isolate; overflow: hidden;
  width: min(100% - 2 * var(--pad), var(--max) - 2 * var(--pad)); max-width: none; margin: 14px auto 0;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: end; gap: clamp(26px, 4vw, 64px);
  padding: clamp(26px, 4vw, 60px); border-radius: var(--r-xl);
  background:
    radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--cat) 30%, #FFF6E8) 0%, transparent 62%),
    linear-gradient(120deg, color-mix(in srgb, var(--cat) 7%, #FBF7EF) 0%, color-mix(in srgb, var(--cat) 18%, #F6ECDD) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 50px 90px -60px color-mix(in srgb, var(--cat) 55%, rgba(21, 20, 15, .5));
}
.as-griglia {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(60, 45, 25, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(60, 45, 25, .07) 1px, transparent 1px);
  background-size: 44px 44px; background-position: center;
  -webkit-mask-image: radial-gradient(70% 90% at 85% 10%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 90% at 85% 10%, #000 0%, transparent 75%);
}
.as-hero .page-title { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.as-hero .page-title em { display: block; color: color-mix(in srgb, var(--cat) 78%, #15140F); }
.as-hero .page-lead { max-width: 30em; }
.as-azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.as-link { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(21, 20, 15, .3); text-underline-offset: 5px; transition: text-decoration-color .3s; }
.as-link:hover { text-decoration-color: currentColor; }
.as-fatti { display: grid; gap: 8px; }
.as-fatti a {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), 0 14px 30px -22px rgba(60, 45, 25, .5);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .3s;
}
.as-fatti a:hover { background: #fff; transform: translateX(-3px); box-shadow: inset 0 0 0 1px #fff, var(--shadow-2); }
.as-fatti .ic {
  display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: var(--r-sm); color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--cat) 80%, #fff) 0%, var(--cat) 55%, color-mix(in srgb, var(--cat) 80%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 16px -8px var(--cat);
}
.as-fatti a > span:not(.ic) { flex: 1 1 auto; min-width: 0; }
.as-fatti b { display: block; font-family: var(--font-display); font-weight: 650; font-size: 16px; letter-spacing: -.02em; line-height: 1.2; }
.as-fatti small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.as-fatti i { font-style: normal; color: var(--muted); transition: transform .5s var(--ease), color .3s; }
.as-fatti a:hover i { transform: translateX(3px); color: var(--ink); }
.is-ready .as-hero > * { animation: rise 1s var(--ease) backwards; }
.is-ready .as-hero > .as-fatti { animation-delay: .12s; }
@media (max-width: 900px) {
  .page-head.as-hero { grid-template-columns: minmax(0, 1fr); border-radius: var(--r-lg); padding: 24px 18px 18px; }
  .as-fatti { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as-fatti a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .as-fatti i { display: none; }
}
@media (hover: none) { .as-fatti a:hover { transform: none; } }
/* con la testata a scorciatoie l'indice laterale non serve sul telefono */
@media (max-width: 900px) { .as-hero ~ .doc .doc-nav { display: none; } }

/* ============================================================
   FASCIA FINALE «SU MISURA» subito prima del footer: diventa chiara,
   così non si attacca al footer scuro; e nel footer non si ripete il link «su misura».
   ============================================================ */
main > .cta-band:last-child {
  --ring: var(--ink); color: var(--ink);
  background:
    radial-gradient(60% 120% at 100% 50%, color-mix(in srgb, var(--brand) 22%, transparent) 0%, transparent 70%),
    linear-gradient(120deg, #FFFDF8 0%, #F6ECDD 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 50px 90px -60px rgba(60, 45, 25, .45);
}
main > .cta-band:last-child > img { opacity: .95; -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 88%); mask-image: linear-gradient(90deg, transparent 38%, #000 88%); }
main > .cta-band:last-child h2 em { color: var(--sub); }
main > .cta-band:last-child p { color: var(--ink-2); }
main > .cta-band:last-child :focus-visible { outline-color: var(--ink); }
main > .cta-band:last-child .btn-light {
  color: #fff; background: linear-gradient(180deg, #2C2A24 0%, #15140F 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 16px 32px -14px rgba(21, 20, 15, .55);
}
main > .cta-band:last-child .btn-light .arr { background: var(--brand); color: #fff; }
main > .cta-band:last-child .btn-light:hover .arr { background: #fff; color: var(--ink); }
/* il testo resta leggibile sopra la foto: velo chiaro sotto il testo su telefono */
@media (max-width: 900px) {
  main > .cta-band:last-child > img { opacity: .35; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 100%); }
}
body:has(main > .cta-band:last-child) .ft-link { display: none; }
