/*
Theme Name: ISI
Description: Tema e-commerce per I.S.I. S.r.l.s.: smartphone, tablet e computer. Classico, compatibile con WooCommerce.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: isis
*/

/* ---------- Font (self-hosted: nessuna chiamata a terze parti) ---------- */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(assets/fonts/figtree-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(assets/fonts/figtree-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Token ---------- */
:root {
	--bg: #ffffff;
	--surface: #f4f4f2;
	--surface-2: #ebebe8;
	--ink: #1f2b4d;
	--muted: #646b81;
	--line: #e3e3df;
	--accent: #f7941d;
	--accent-dark: #e07f08;
	--accent-ink: #1f2b4d;
	--inv-bg: #05070a;
	--inv-surface: #111417;
	--inv-ink: #ffffff;
	--inv-muted: #939597;
	--ok: #1f7a4d;
	--err: #b3261e;
	--font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r-s: 8px;
	--r-m: 14px;
	--r-l: 22px;
	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
/* Footer sempre in fondo: niente fascia bianca sotto, né sulle pagine corte né scorrendo oltre il fondo. */
html { background: var(--inv-bg); }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
.site-footer { margin-top: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
/* Tutte le pagine usano lo stesso contenitore: il testo resta leggibile limitando solo la riga. */
.wrap--text { max-width: calc(var(--wrap) + var(--gutter) * 2); }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.icon { flex: none; }
mark.todo { background: #fff1d6; color: #7a4a00; padding: 0 .3em; border-radius: 4px; font-size: .92em; }

/* ---------- Pulsanti ---------- */
.btn, .button, button.button, a.button, input.button, .woocommerce #respond input#submit, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px;
	background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover, .button:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(31, 43, 77, .45); }
.btn:active, .button:active { transform: translateY(1px) scale(.985); box-shadow: none; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.button.alt, .button.checkout-button, #place_order { background: var(--ink); color: #fff; }
.button.alt:hover, .button.checkout-button:hover, #place_order:hover { background: #131c36; }
.button:disabled, .button.disabled, .button[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 3px; min-height: 44px; }
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1px; }
.link-arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-stuck { border-color: var(--line); }
.site-header__in { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.logo { font-size: 1.625rem; font-weight: 600; letter-spacing: -0.045em; text-decoration: none; display: inline-flex; align-items: baseline; gap: 3px; min-height: 44px; line-height: 44px; }
.logo__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; transition: transform .3s var(--ease); }
.logo:hover .logo__dot { transform: scale(1.35); }
.logo--inv { color: #fff; }
.nav { flex: 1; }
.nav__list { display: flex; gap: 6px; }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 500; transition: background .2s; }
.nav__list a:hover, .nav__list .current-menu-item > a { background: var(--surface); }
.tools { display: flex; align-items: center; gap: 4px; }
.tool { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.tool:hover { background: var(--surface); }
.tool:active { transform: scale(.94); }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: .6875rem; font-weight: 700; line-height: 18px; text-align: center; }
.cart-count[hidden] { display: none; }
.search { position: relative; display: flex; align-items: center; margin-right: 6px; }
.search input[type="search"] { width: 220px; height: 44px; padding: 0 44px 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); transition: border-color .2s, background .2s, width .3s var(--ease); -webkit-appearance: none; appearance: none; }
.search input[type="search"]:focus { background: #fff; border-color: var(--ink); outline: none; width: 260px; }
.search button { position: absolute; right: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.burger { display: none; }

@media (max-width: 900px) {
	:root { --header-h: 64px; }
	.site-header__in { gap: 8px; }
	.logo { margin-right: auto; }
	.burger { display: inline-grid; }
	.search { display: none; }
	.nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 24px var(--gutter); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; overflow: auto; }
	.nav-open .nav { opacity: 1; transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { width: 100%; min-height: 60px; padding: 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; }
	.nav__list a:hover { background: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 6vw, 80px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(720px, calc(100svh - var(--header-h) - 96px)); }
.hero__text h1 { margin-bottom: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.hero__stage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: min(640px, 70svh); min-height: 440px; }
.tile { position: relative; display: block; background: var(--surface); border-radius: var(--r-l); overflow: hidden; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); animation: rise .7s var(--ease) both; }
.tile--1 { grid-row: 1 / 3; animation-delay: .05s; }
.tile--2 { animation-delay: .15s; }
.tile--3 { animation-delay: .25s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(31, 43, 77, .35); }
.tile__img { position: absolute; inset: 28px 28px 72px; }
.tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.03); }
.tile__label { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tile__label strong { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.tile__label span { color: var(--muted); font-size: .9375rem; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
	.hero__in { grid-template-columns: 1fr; min-height: 0; }
	.hero__stage { height: auto; min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.tile { aspect-ratio: 1; }
	.tile--1 { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 16 / 11; }
	.hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Sezioni home ---------- */
.shelf { padding: clamp(40px, 6vw, 88px) 0; }
.shelf + .shelf { padding-top: 0; }
.shelf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.shelf__head p { margin: 10px 0 0; color: var(--muted); max-width: 52ch; }
.home-editorial {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	grid-template-areas: "copy image";
	min-height: clamp(280px, 32vw, 420px);
	background: #edf3f9;
	border-radius: var(--r-l);
	overflow: hidden;
}
.home-editorial--computer {
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	grid-template-areas: "image copy";
	background: var(--ink);
	color: var(--inv-ink);
}
.home-editorial__copy { grid-area: copy; align-self: center; padding: clamp(24px, 5vw, 72px); }
.home-editorial__copy h2 { max-width: 18ch; }
.home-editorial__copy p { max-width: 37ch; margin: 16px 0 0; }
.home-editorial__image { grid-area: image; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
@media (max-width: 760px) {
	.home-editorial, .home-editorial--computer { grid-template-columns: minmax(0, 1fr); grid-template-areas: "image" "copy"; min-height: 0; }
	.home-editorial__image { height: auto; aspect-ratio: 16 / 10; }
}

.band {
	background-color: var(--inv-bg);
	background-image: linear-gradient(100deg, rgba(5, 7, 10, .84), rgba(5, 7, 10, .38)), url(assets/img/acquisto-bonifico.webp);
	background-position: 70% center;
	background-size: cover;
	color: var(--inv-ink);
	padding: clamp(56px, 8vw, 120px) 0;
}
.band h2 { max-width: 18ch; margin-bottom: clamp(32px, 5vw, 64px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: rgba(17, 20, 23, .9); border-radius: var(--r-m); padding: 24px; }
.steps__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 600; margin-bottom: 40px; }
.steps h3 { margin-bottom: 8px; font-size: 1.1875rem; }
.steps p { color: #cbd0d5; margin: 0; }

.facts { padding: clamp(56px, 8vw, 112px) 0; }
.facts h2 { margin-bottom: clamp(28px, 4vw, 56px); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.facts__grid li { padding: 28px 24px 8px 0; }
.facts__grid li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts__grid .icon { width: 28px; height: 28px; color: var(--accent-dark); margin-bottom: 20px; }
.facts__grid h3 { margin-bottom: 8px; }
.facts__grid p { color: var(--muted); margin: 0; }

.close { padding: 0 0 clamp(56px, 8vw, 112px); }
.close__in { background: var(--surface); border-radius: var(--r-l); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 96px); max-width: var(--wrap); display: flex; flex-direction: column; align-items: flex-start; }
.close .wrap { padding-inline: var(--gutter); }
.close__in h2 { max-width: 20ch; margin-bottom: 16px; }
.close__in p { color: var(--muted); margin-bottom: 28px; font-size: 1.125rem; }

@media (max-width: 1000px) {
	.steps, .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts__grid li:nth-child(3) { padding-left: 0; border-left: 0; }
	.facts__grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
	.shelf__head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.steps, .facts__grid { grid-template-columns: 1fr; }
	.steps__n { margin-bottom: 20px; }
	.facts__grid li, .facts__grid li + li { padding: 24px 0 8px; border-left: 0; }
	.facts__grid li + li { border-top: 1px solid var(--line); }
	.close__in .btn { width: 100%; }
}

/* ---------- Griglia prodotti ---------- */
ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; margin: 0; padding: 0; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { position: relative; width: auto !important; float: none !important; margin: 0 !important; display: flex; flex-direction: column; }
ul.products li.product a.woocommerce-loop-product__link { display: flex; flex-direction: column; text-decoration: none; flex: 1; }
.card__img { display: block; background: var(--surface); border-radius: var(--r-m); padding: 9%; margin: 0 0 16px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card__img img { aspect-ratio: 1; width: 100%; object-fit: contain; mix-blend-mode: multiply; margin: 0 !important; transition: transform .5s var(--ease); }
ul.products li.product:hover .card__img { transform: translateY(-2px); box-shadow: 0 16px 32px -22px rgba(31, 43, 77, .4); }
ul.products li.product:hover .card__img img { transform: scale(1.03); }
.card__brand { font-size: .8125rem; color: var(--muted); letter-spacing: .02em; margin-bottom: 2px; }
ul.products li.product .woocommerce-loop-product__title { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 6px; padding: 0; }
ul.products li.product .price { font-size: 1.0625rem; color: var(--ink); margin: 0 0 14px; display: block; }
.price del { color: var(--muted); font-weight: 400; margin-right: 6px; }
.price ins { text-decoration: none; }
ul.products li.product .button { align-self: flex-start; min-height: 44px; padding: 8px 18px; font-size: .9375rem; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
ul.products li.product .button:hover { background: var(--ink); color: #fff; box-shadow: none; }
ul.products li.product .button.loading { opacity: .6; }
ul.products li.product .added_to_cart { display: inline-flex; align-items: center; min-height: 44px; margin-left: 12px; font-size: .9375rem; }
ul.products li.product .button.added { display: none; }
.onsale { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.star-rating { display: none; }

@media (max-width: 1000px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } ul.products li.product .button { width: 100%; } ul.products li.product .added_to_cart { margin: 4px 0 0; } }

/* ---------- Negozio / archivio ---------- */
/* Solo il <main>: WordPress mette la classe .page anche sul <body> delle pagine. */
main.shop, main.page { padding: clamp(20px, 3vw, 40px) 0 clamp(56px, 8vw, 112px); }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.crumbs a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { text-decoration: underline; }
.crumb-sep { opacity: .5; }
.woocommerce-products-header { margin-bottom: 24px; }
.woocommerce-products-header__title { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.term-description { color: var(--muted); max-width: 60ch; margin-top: 12px; font-size: 1.0625rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 500; font-size: .9375rem; transition: background .2s, box-shadow .2s, transform .2s var(--ease); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); transform: translateY(-1px); }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.chip span { color: var(--muted); font-weight: 400; }
.chips--cats { margin-top: 20px; }
.woocommerce-result-count { float: none; color: var(--muted); font-size: .9375rem; margin: 0; display: inline-block; line-height: 44px; }
.woocommerce-ordering { float: right; margin: 0 0 24px; }
.woocommerce-ordering select, select { height: 44px; padding: 0 40px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f2b4d' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; -webkit-appearance: none; appearance: none; cursor: pointer; }
.woocommerce-pagination, .navigation.pagination { margin-top: 48px; }
.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; border: 0; }
.woocommerce-pagination li { border: 0; float: none; }
.woocommerce-pagination li .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; text-decoration: none; font-weight: 500; transition: background .2s; }
.woocommerce-pagination li a.page-numbers:hover { background: var(--surface); }
.woocommerce-pagination li .page-numbers.current { background: var(--ink); color: #fff; }
.woocommerce-no-products-found { clear: both; }
@media (max-width: 600px) { .woocommerce-ordering { float: none; } .woocommerce-ordering select { width: 100%; } .woocommerce-result-count { line-height: 1.4; margin-bottom: 12px; } }

/* ---------- Scheda prodotto ---------- */
div.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: start; position: relative; }
div.product > * { min-width: 0; }
div.product .woocommerce-product-gallery { width: auto !important; float: none !important; margin: 0; position: sticky; top: calc(var(--header-h) + 16px); opacity: 1 !important; }
div.product .woocommerce-product-gallery__wrapper { margin: 0; }
div.product .woocommerce-product-gallery__image { background: var(--surface); border-radius: var(--r-l); overflow: hidden; }
div.product .woocommerce-product-gallery__image a { display: block; padding: 8%; }
div.product .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
div.product .flex-viewport { border-radius: var(--r-l); background: var(--surface); }
div.product .flex-control-thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 0; }
div.product .flex-control-thumbs li { width: 84px; float: none !important; background: var(--surface); border-radius: var(--r-s); overflow: hidden; }
div.product .flex-control-thumbs img { aspect-ratio: 1; object-fit: contain; padding: 8px; cursor: pointer; opacity: .55; mix-blend-mode: multiply; transition: opacity .2s; }
div.product .flex-control-thumbs img.flex-active, div.product .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-decoration: none; font-size: 0; box-shadow: 0 2px 10px -4px rgba(0, 0, 0, .3); }
.woocommerce-product-gallery__trigger::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2b4d' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce-product-gallery__trigger img { display: none !important; }
div.product .summary { width: auto !important; float: none !important; margin: 0; padding-top: 8px; }
div.product .product_title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 16px; }
div.product .summary .price { font-size: 1.75rem; letter-spacing: -0.02em; margin: 0 0 4px; }
div.product .summary .price + .woocommerce-product-details__short-description, .woocommerce-product-details__short-description { color: var(--muted); font-size: 1.0625rem; margin: 20px 0 24px; }
.woocommerce-price-suffix, .tax-note { color: var(--muted); font-size: .875rem; letter-spacing: 0; }
div.product .stock { font-size: .9375rem; font-weight: 500; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
div.product .stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
div.product .stock.out-of-stock::before { background: var(--err); }
div.product form.cart { display: flex; gap: 12px; margin: 0 0 28px; }
div.product form.cart .button { flex: 1; min-height: 56px; background: var(--accent); color: var(--accent-ink); font-size: 1.0625rem; }
div.product form.cart .button:hover { background: var(--accent-dark); }
.quantity .qty { width: 84px; height: 56px; border: 1px solid var(--line); border-radius: 999px; text-align: center; background: #fff; }
.assure { border-top: 1px solid var(--line); margin: 0 0 24px; }
.assure li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.assure .icon { color: var(--accent-dark); margin-top: 1px; }
.product_meta { font-size: .875rem; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.product_meta a { color: var(--ink); }
.woocommerce-tabs { grid-column: 1 / -1; margin-top: clamp(32px, 5vw, 72px); }
.woocommerce-tabs ul.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin: 0 0 32px; padding: 0; }
.woocommerce-tabs ul.tabs li a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 4px; margin-right: 24px; text-decoration: none; font-weight: 500; font-size: 1.0625rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li a:hover { color: var(--ink); border-color: var(--ink); }
.woocommerce-Tabs-panel { max-width: 860px; }
.woocommerce-Tabs-panel p { font-size: 1.0625rem; }
table.shop_attributes { width: 100%; border-collapse: collapse; }
table.shop_attributes th, table.shop_attributes td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
table.shop_attributes th { width: 34%; color: var(--muted); padding-right: 16px; }
table.shop_attributes td p { margin: 0; }
.related, .upsells { grid-column: 1 / -1; margin-top: clamp(40px, 6vw, 88px); }
.related > h2, .upsells > h2 { margin-bottom: 28px; }
@media (max-width: 900px) {
	div.product { grid-template-columns: 1fr; }
	div.product .woocommerce-product-gallery { position: relative; top: 0; }
	table.shop_attributes th { width: 42%; }
}

/* ---------- Pagine e testi ---------- */
.page-head { margin-bottom: clamp(28px, 4vw, 56px); }
.page-head h1 { margin-bottom: 16px; }
.prose h1, .flow > h1 { margin-bottom: clamp(24px, 3vw, 40px); font-size: clamp(2rem, 4.4vw, 3.5rem); }
.prose h2 { font-size: 1.625rem; margin: 2em 0 .6em; letter-spacing: -0.02em; }
.prose h3 { margin: 1.6em 0 .4em; }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.65; }
.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3 { max-width: 78ch; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; white-space: nowrap; }
.prose .updated { color: var(--muted); font-size: .9375rem; }
.about .page-head { margin-bottom: clamp(20px, 3vw, 36px); }
.about .page-head h1 { margin-bottom: 0; }
.about__image { width: 100%; height: clamp(230px, 35vw, 460px); object-fit: cover; border-radius: var(--r-l); }
.about__content { margin-top: clamp(28px, 5vw, 64px); }

/* ---------- Moduli ---------- */
.form-row, .field { margin: 0 0 18px; display: block; }
.form-row label, .field label, .woocommerce-form label { display: block; font-size: .9375rem; font-weight: 500; margin-bottom: 6px; }
.required { color: var(--err); text-decoration: none; }
.opt, .optional { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="url"], textarea, .select2-container .select2-selection--single {
	width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid #cfcfca; border-radius: var(--r-s); background: #fff; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 43, 77, .12); }
.select2-container .select2-selection--single { display: flex; align-items: center; height: 50px; padding: 0 16px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; color: var(--ink); line-height: 1.4; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; right: 10px; }
.select2-dropdown { border-color: #cfcfca; border-radius: var(--r-s); overflow: hidden; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ink); }
.form-row select { width: 100%; border-radius: var(--r-s); border-color: #cfcfca; height: 50px; }
.form-row .description, .form-row small { display: block; color: var(--muted); font-size: .875rem; margin-top: 6px; }
.form-row.woocommerce-invalid input { border-color: var(--err); }
.form-row-first, .form-row-last { width: calc(50% - 8px); float: left; }
.form-row-last { float: right; }
.form-row-wide, .clear { clear: both; }
.check, .woocommerce-form__label-for-checkbox, .form-row.validate-required .checkbox { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--ink); }
.check label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; }
.notice, .woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice, .wc-block-components-notice-banner { list-style: none; margin: 0 0 24px; padding: 16px 20px; border-radius: var(--r-s); background: var(--surface); border-left: 3px solid var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.woocommerce-message, .notice--ok { border-color: var(--ok); }
.woocommerce-error, .notice--err { border-color: var(--err); background: #fbeeed; }
.woocommerce-error { flex-direction: column; align-items: flex-start; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
@media (max-width: 600px) { .form-row-first, .form-row-last { width: 100%; float: none; } }

/* ---------- Contatti ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__image { width: 100%; max-height: 310px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-l); margin-bottom: clamp(20px, 3vw, 36px); }
.contact__info dl { margin: 0; border-top: 1px solid var(--line); }
.contact__info dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__info dt { color: var(--muted); }
.contact__info dd { margin: 0; overflow-wrap: anywhere; }
.contact__form { background: var(--surface); border-radius: var(--r-l); padding: clamp(24px, 4vw, 48px); }
.contact__form .notice { background: #fff; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .contact__form .btn { width: 100%; } }

/* ---------- Carrello ---------- */
table.shop_table { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
table.shop_table th, table.shop_table td { padding: 16px 12px 16px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table thead th { font-size: .8125rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
table.shop_table tfoot th, .cart_totals th { font-weight: 500; }
table.cart .product-thumbnail img { width: 88px; aspect-ratio: 1; object-fit: contain; background: var(--surface); border-radius: var(--r-s); padding: 8px; }
table.cart .product-name a { text-decoration: none; font-weight: 500; }
table.cart .product-name a:hover { text-decoration: underline; }
table.cart a.remove { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; font-size: 1.5rem; color: var(--muted); transition: background .2s, color .2s; }
table.cart a.remove:hover { background: #fbeeed; color: var(--err); }
table.cart .quantity .qty { height: 44px; width: 72px; }
table.cart td.actions { padding: 20px 0; }
table.cart td.actions .coupon { display: flex; gap: 8px; float: left; }
table.cart td.actions .coupon input { width: 200px; min-height: 48px; border-radius: 999px; padding: 0 18px; }
table.cart td.actions > .button { float: right; }
table.cart td.actions .button { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
table.cart td.actions .button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.cart-collaterals { display: flex; justify-content: flex-end; margin-top: 16px; }
.cart-collaterals .cart_totals { width: min(100%, 460px); float: none; background: var(--surface); border-radius: var(--r-l); padding: 28px; }
.cart_totals h2 { font-size: 1.5rem; margin-bottom: 12px; }
.cart_totals table.shop_table td { text-align: right; padding-right: 0; }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 1.25rem; border-bottom: 0; }
.wc-proceed-to-checkout .button { width: 100%; min-height: 56px; font-size: 1.0625rem; }
.includes_tax, .tax_label { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.woocommerce-shipping-methods li { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: .875rem; color: var(--muted); margin: 6px 0 0; }
.cart-empty { font-size: 1.25rem; }
.return-to-shop { margin-top: 16px; }
@media (max-width: 768px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); position: relative; }
	table.shop_table_responsive tr td { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 0; padding: 6px 0; text-align: right !important; }
	table.shop_table_responsive tr td::before { content: attr(data-title); color: var(--muted); font-weight: 400; float: none; }
	table.shop_table_responsive tr td.product-thumbnail { display: none; }
	table.shop_table_responsive tr td.product-remove { position: absolute; right: 0; top: 4px; padding: 0; }
	table.shop_table_responsive tr td.product-remove::before, table.shop_table_responsive tr td.actions::before { display: none; }
	table.shop_table_responsive tr td.product-name { justify-content: flex-start; padding-right: 48px; text-align: left !important; }
	table.shop_table_responsive tr td.product-name::before { display: none; }
	table.cart td.actions { flex-direction: column; align-items: stretch; }
	table.cart td.actions .coupon { float: none; }
	table.cart td.actions .coupon input { flex: 1; width: auto; }
	table.cart td.actions > .button { float: none; width: 100%; }
	.cart-collaterals .cart_totals { width: 100%; }
}

/* ---------- Checkout ---------- */
form.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(24px, 5vw, 72px); align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.checkout #customer_details { grid-column: 1; grid-row: 1 / 4; }
form.checkout #customer_details .col-1, form.checkout #customer_details .col-2 { width: 100%; float: none; }
form.checkout h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; margin: 0 0 20px; }
form.checkout #order_review_heading { grid-column: 2; background: var(--surface); padding: 28px 28px 0; border-radius: var(--r-l) var(--r-l) 0 0; margin: 0; }
form.checkout #order_review { grid-column: 2; background: var(--surface); padding: 16px 28px 28px; border-radius: 0 0 var(--r-l) var(--r-l); position: sticky; top: calc(var(--header-h) + 16px); }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; padding-right: 0; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 1.25rem; border-bottom: 0; }
.woocommerce-additional-fields { margin-top: 24px; }
#ship-to-different-address { font-size: 1.0625rem; margin: 24px 0 16px; }
#ship-to-different-address label { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.pay-note { display: flex; gap: 12px; font-size: .9375rem; margin: 8px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.pay-note .icon { color: var(--accent-dark); }
#payment ul.payment_methods { margin: 0 0 16px; }
#payment ul.payment_methods li { background: #fff; border-radius: var(--r-s); padding: 16px; }
#payment ul.payment_methods li > label { font-weight: 500; display: inline; margin-left: 8px; }
#payment ul.payment_methods li > input[type="radio"] { vertical-align: -4px; }
#payment .payment_box { color: var(--muted); font-size: .9375rem; margin-top: 8px; }
#payment .payment_box p:last-child { margin: 0; }
.woocommerce-terms-and-conditions-wrapper { font-size: .9375rem; margin-bottom: 16px; }
.woocommerce-privacy-policy-text p { color: var(--muted); }
#place_order { width: 100%; min-height: 56px; font-size: 1.0625rem; }
.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle { grid-column: 1 / -1; }
form.checkout_coupon, form.woocommerce-form-login { margin-bottom: 24px; }
@media (max-width: 900px) {
	form.checkout { grid-template-columns: 1fr; }
	form.checkout #customer_details, form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; }
	form.checkout #order_review { position: static; }
	form.checkout #order_review_heading { margin-top: 24px; }
}

/* ---------- Ordine ricevuto ---------- */
.woocommerce-order { max-width: 860px; }
.woocommerce-thankyou-order-received { font-size: clamp(1.375rem, 2.4vw, 1.875rem); letter-spacing: -0.02em; line-height: 1.2; background: none; border: 0; padding: 0; margin-bottom: 28px; }
ul.order_details, ul.wc-bacs-bank-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 32px; padding: 0; }
ul.order_details li, ul.wc-bacs-bank-details li { background: var(--surface); border-radius: var(--r-m); padding: 16px 18px; font-size: .8125rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
ul.order_details li strong, ul.wc-bacs-bank-details li strong { display: block; margin-top: 6px; font-size: 1.0625rem; font-weight: 500; color: var(--ink); text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.woocommerce-bacs-bank-details { margin-bottom: 32px; padding: 24px; border: 1px solid var(--ink); border-radius: var(--r-l); }
.woocommerce-bacs-bank-details h2, .woocommerce-bacs-bank-details h3 { font-size: 1.25rem; margin-bottom: 14px; }
.woocommerce-bacs-bank-details ul.wc-bacs-bank-details { margin-bottom: 0; }
.woocommerce-order-details, .woocommerce-customer-details { margin-bottom: 32px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 1.5rem; margin-bottom: 12px; }
.woocommerce-customer-details address { font-style: normal; background: var(--surface); border-radius: var(--r-m); padding: 20px; line-height: 1.6; }
.woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.woocommerce-columns--addresses .col-1, .woocommerce-columns--addresses .col-2 { width: auto; float: none; }
@media (max-width: 600px) { .woocommerce-columns--addresses { grid-template-columns: 1fr; } }

/* ---------- Il mio account ---------- */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { width: auto !important; float: none !important; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: var(--r-s); text-decoration: none; font-weight: 500; transition: background .2s; }
.woocommerce-MyAccount-navigation a:hover { background: var(--surface); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }
.woocommerce-MyAccount-content .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.woocommerce-MyAccount-content .woocommerce-Address { width: auto; float: none; background: var(--surface); border-radius: var(--r-m); padding: 20px; }
.woocommerce-Address-title h2, .woocommerce-Address-title h3 { font-size: 1.25rem; margin-bottom: 8px; }
.woocommerce-Address address { font-style: normal; }
.woocommerce-MyAccount-content fieldset { border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; margin: 24px 0; }
.woocommerce-MyAccount-content legend { padding: 0 8px; font-weight: 500; }
.woocommerce-orders-table .button { min-height: 40px; padding: 6px 16px; font-size: .9375rem; }
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
#customer_login .col-1, #customer_login .col-2 { width: auto; float: none; }
#customer_login h2, .woocommerce-account .woocommerce > h2 { font-size: 1.625rem; margin-bottom: 20px; }
form.woocommerce-form-login, form.woocommerce-form-register, form.lost_reset_password { background: var(--surface); border-radius: var(--r-l); padding: clamp(20px, 3vw, 36px); max-width: 560px; }
.woocommerce-form-login__rememberme { margin: 0 0 16px; }
.woocommerce-LostPassword { margin: 16px 0 0; font-size: .9375rem; }
.password-input { position: relative; display: block; }
.show-password-input { position: absolute; right: 4px; top: 3px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
@media (max-width: 800px) {
	.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; }
	#customer_login, .woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--inv-bg); color: var(--inv-ink); padding: clamp(48px, 7vw, 96px) 0 32px; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer__brand p { color: var(--inv-muted); max-width: 30ch; margin-top: 12px; }
.site-footer h2 { font-size: .8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--inv-muted); margin-bottom: 12px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.site-footer nav a:hover { background-size: 100% 1px; }
.site-footer__legal { border-top: 1px solid #23272c; padding-top: 24px; color: var(--inv-muted); font-size: .875rem; line-height: 1.7; }
.site-footer__legal strong { color: #fff; font-weight: 500; }
.site-footer__legal p:last-child { margin: 0; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ---------- Informativa cookie ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 20px 50px -20px rgba(5, 7, 10, .4); padding: 18px 20px; display: flex; gap: 16px; align-items: center; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .9375rem; }
.cookie .btn { flex: none; }
@media (max-width: 560px) { .cookie { flex-direction: column; align-items: stretch; } }

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

/* Le griglie sostituiscono i float di WooCommerce: niente clearfix come elementi di griglia. */
.col2-set::before, .col2-set::after, .woocommerce-Addresses::before, .woocommerce-Addresses::after, .woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after, div.product::before, div.product::after, form.checkout::before, form.checkout::after { display: none !important; content: none !important; }

/* ---------- Home: ritmo delle sezioni ---------- */
.hero { padding: 0; }
.hero__in { min-height: calc(100svh - var(--header-h)); padding-block: clamp(24px, 4vh, 48px); }
.shelf, .shelf + .shelf { padding: clamp(48px, 7vw, 96px) 0; }
.facts .close__in { margin-top: clamp(40px, 6vw, 80px); max-width: none; }
.close__in h3 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 400; letter-spacing: -0.025em; line-height: 1.08; max-width: 20ch; margin-bottom: 16px; }
@media (min-width: 1000px) and (min-height: 700px) {
	.band, .facts { min-height: 100svh; display: flex; align-items: center; }
	.band > .wrap, .facts > .wrap { width: 100%; }
}
.has-cookie-note .site-footer { padding-bottom: 150px; }
@media (max-width: 560px) { .has-cookie-note .site-footer { padding-bottom: 240px; } }
.facts .close__in { flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: clamp(24px, 5vw, 72px); padding-block: clamp(32px, 5vw, 64px); }
.close__text { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.close__img { flex: 0 1 380px; display: block; }
.close__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.close__img:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .facts .close__in { flex-direction: column; align-items: stretch; } .close__img { flex: none; max-width: 320px; margin-inline: auto; } }

/* Guida all'acquisto sotto la griglia delle categorie (testo SEO). */
.cat-guide { margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.cat-guide > h2:first-child { margin-top: 0; }
.cat-guide h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.cat-guide h3 { font-size: 1.1875rem; font-weight: 500; }
.cat-guide p { color: var(--ink); }

/* Carrello: quanto manca alla spedizione gratuita. */
.ship-note { display: flex; gap: 10px; align-items: center; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--r-m); background: var(--surface); font-size: .9375rem; }
.ship-note svg { flex: none; width: 20px; height: 20px; }
.ship-note.is-free { color: #1d6b3a; }

/* Vendite sospese: avviso al posto del pulsante d'acquisto. */
.sales-paused { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 28px; padding: 16px 18px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 1rem; }
.sales-paused .icon { flex: none; color: var(--accent-dark); margin-top: 1px; }
.sales-paused strong { display: block; font-weight: 600; }
.sales-paused span { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.hero .sales-paused { margin: 24px 0 0; max-width: 46ch; }
