/*
Theme Name: ARBA Calze
Theme URI: https://www.arba.it
Author: Calzificio Arba
Description: Tema su misura per il Calzificio ARBA: sito vetrina di alta gamma con storytelling e animazioni allo scorrimento, shop WooCommerce.
Version: 1.7.0
Update URI: false
Requires at least: 6.5
Requires PHP: 8.1
License: GPLv2 or later
Text Domain: arba
*/

/* ================= Font (ospitati in locale) ================= */
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ================= Variabili ================= */
:root {
	--ivory: #f3eee5;
	--ivory-2: #e9e2d5;
	--paper: #faf7f1;
	--ink: #141210;
	--ink-2: #5f5850;
	--ink-3: #8d857a;
	--line: rgba(20, 18, 16, .14);
	--night: #0d0c0b;
	--night-2: #171513;
	--night-line: rgba(243, 238, 229, .14);
	--cream-on-dark: #efe8dc;
	--muted-on-dark: #a39a8d;
	--bordeaux: #5e1622;
	--bordeaux-2: #7a2331;
	--gold: #b39265;
	--gold-2: #d4bb93;

	--serif: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
	--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--wrap: 1320px;
	--gutter: clamp(20px, 5vw, 72px);
	--header-h: 76px;
	--ease: cubic-bezier(.22, .61, .12, 1);
	--ease-slow: cubic-bezier(.16, 1, .3, 1);
}

/* ================= Base ================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: .005em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
/* grana leggera tipo carta */
body::after {
	content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--bordeaux); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--serif); font-weight: 500; line-height: 1; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--bordeaux); color: var(--ivory); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: var(--ivory); padding: 10px 16px; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 1040px; }
.wrap--text { max-width: 780px; }

/* ================= Tipografia ================= */
.eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	font: 500 11px/1 var(--sans);
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--ink-2);
	margin-bottom: 2em;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.eyebrow--center { justify-content: center; }
.h-display {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(2.8rem, 6.6vw, 6.4rem);
	line-height: .95;
	letter-spacing: -.015em;
}
.h-display em { font-weight: 400; color: var(--bordeaux); }
.h-xl { font-size: clamp(3.4rem, 10vw, 10rem); }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.4; color: var(--ink-2); font-weight: 400; }
.small-caps { font: 500 11px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); }

/* ================= Pulsanti ================= */
.btn {
	position: relative; display: inline-flex; align-items: center; gap: 14px;
	padding: 18px 34px;
	background: var(--ink); color: var(--ivory);
	border: 1px solid var(--ink);
	font: 500 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; overflow: hidden;
	transition: color .5s var(--ease), border-color .5s var(--ease);
	z-index: 0;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--bordeaux); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-slow); z-index: -1; }
.btn:hover { color: var(--ivory); border-color: var(--bordeaux); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn::after { content: "→"; font-size: 14px; letter-spacing: 0; transition: transform .5s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.dark .btn--ghost, .btn--ghost-light { background: transparent; color: var(--cream-on-dark); border-color: var(--night-line); }

.link-line { display: inline-flex; gap: 10px; align-items: center; font: 500 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; text-decoration: none; padding-bottom: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease-slow); }
.link-line:hover { background-size: 30% 1px; }

.section { padding: clamp(110px, 16vw, 220px) 0; position: relative; }
.dark { background: var(--night); color: var(--cream-on-dark); }
.dark .eyebrow { color: var(--muted-on-dark); }
.dark .lead { color: var(--muted-on-dark); }
.dark .h-display em { color: var(--gold-2); }
.paper { background: var(--paper); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ================= Header ================= */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
	color: var(--ink);
	transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), transform .6s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .menu-open .site-header {
	background: rgba(243, 238, 229, .82);
	-webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
	border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.on-dark { color: var(--cream-on-dark); }
.site-header.on-dark .menu-toggle__bar { background: var(--cream-on-dark); }
.site-header.on-dark.is-scrolled { background: rgba(13, 12, 11, .72); border-bottom-color: var(--night-line); }
.menu-open .site-header.on-dark { background: var(--ivory); color: var(--ink); }
.menu-open .site-header.on-dark .menu-toggle__bar { background: var(--ink); }
.site-header__inner { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.brand { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand__name { font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: .42em; line-height: 1; margin-right: -.42em; }
.brand__sub { font: 500 8.5px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; opacity: .7; margin-right: -.4em; }

.nav { grid-column: 2; grid-row: 1; justify-self: end; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__list a { white-space: nowrap; text-decoration: none; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: inherit; opacity: .78; position: relative; padding: 6px 0; transition: opacity .3s; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-slow); }
.nav__list a:hover, .nav__list [aria-current="page"], .nav__list .current-menu-item > a { opacity: 1; color: inherit; }
.nav__list a:hover::after, .nav__list [aria-current="page"]::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

.site-header__tools { grid-column: 3; display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.header-shop { font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; }
.cart-link { position: relative; display: inline-flex; padding: 6px; color: inherit; }
.cart-count { position: absolute; top: -2px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--bordeaux); color: #fff; font-size: 9px; font-weight: 600; line-height: 16px; text-align: center; }
.cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle__bar { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--ink); transition: transform .4s var(--ease); }
.menu-toggle__bar:nth-of-type(2) { top: 16px; }
.menu-toggle__bar:nth-of-type(3) { top: 23px; }
.menu-open .menu-toggle__bar:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle__bar:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 960px) {
	.brand__sub { display: none; }
	.header-shop { display: none; }
	.menu-toggle { display: block; }
	.nav {
		position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h));
		background: var(--ivory); color: var(--ink); padding: 48px var(--gutter);
		opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	}
	.menu-open .nav { opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 18px 0; font: 400 40px/1 var(--serif); letter-spacing: 0; text-transform: none; opacity: 1; border-bottom: 1px solid var(--line); }
	.nav__list a::after { display: none; }
	.menu-open { overflow: hidden; }
	.menu-open .site-header { color: var(--ink); }
}

/* ================= Scene sticky ================= */
.scene { position: relative; --p: 0; }
.scene__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ================= Reveal ================= */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.4s var(--ease-slow), transform 1.4s var(--ease-slow); transition-delay: calc(var(--d, 0) * 140ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--zoom { transform: scale(.94); }
.js .reveal--mask { clip-path: inset(100% 0 0 0); transform: none; transition: clip-path 1.6s var(--ease-slow), opacity .2s; }
.js .reveal--mask.is-in { clip-path: inset(0 0 0 0); }
.js .reveal--line { transform: scaleX(0); transform-origin: left; opacity: 1; transition: transform 1.6s var(--ease-slow); }
.js .reveal--line.is-in { transform: scaleX(1); }

/* parole che si accendono */
.js [data-words] .w { opacity: .14; transition: opacity .5s var(--ease); }
.js [data-words] .w.on { opacity: 1; }

/* ================= HOME · Hero ================= */
.scene--hero { height: 240vh; background: var(--ivory); }
.hero { position: relative; height: 100%; display: grid; place-items: center; text-align: center; }
.hero__eyebrow { position: absolute; top: calc(var(--header-h) + 6vh); left: 0; right: 0; justify-content: center; margin: 0; opacity: calc(1 - var(--p) * 4); }
.hero__title {
	position: absolute; top: 50%; left: 50%; margin: 0; z-index: 0;
	transform: translate(-50%, -60%) scale(calc(1 + var(--p) * .25));
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(6rem, 25vw, 24rem);
	letter-spacing: .14em; margin-right: -.14em;
	line-height: .8; color: var(--ink);
	opacity: calc(1 - var(--p) * 2.8);
	white-space: nowrap;
}
.hero__since { position: absolute; left: 0; right: 0; top: calc(50% + clamp(2.6rem, 10vw, 9.5rem)); font: italic 400 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--serif); color: var(--ink-2); opacity: calc(1 - var(--p) * 3); margin: 0; }
.hero__sock { position: absolute; bottom: 4vh; left: 50%; width: auto; height: min(80vh, 780px); filter: drop-shadow(0 40px 50px rgba(20, 10, 5, .22)); will-change: transform; }
.hero__sock--a { transform: translate(calc(-120% + var(--p) * 16%), calc(64% - var(--p) * 60%)) rotate(calc(-24deg + var(--p) * 18deg)); }
.hero__sock--b { transform: translate(calc(16% - var(--p) * 12%), calc(72% - var(--p) * 66%)) rotate(calc(22deg - var(--p) * 16deg)); }
.hero__claim { position: absolute; top: calc(var(--header-h) + 5vh); left: 0; right: 0; padding: 0 var(--gutter); opacity: calc((var(--p) - .42) * 3); transform: translateY(calc((1 - var(--p)) * 50px)); }
.hero__claim-big { font: 400 clamp(2.4rem, 5.4vw, 5rem)/1 var(--serif); margin-bottom: .4em; }
.hero__claim-big em { color: var(--bordeaux); }
.hero__claim-small { font: 500 11px/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font: 500 9px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; opacity: calc(1 - var(--p) * 6); }
.hero__scroll span { width: 1px; height: 46px; background: linear-gradient(var(--ink-3), transparent); animation: scrollhint 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollhint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 700px) {
	.hero__sock { height: 56vh; }
	.hero__sock--a { transform: translate(calc(-104% + var(--p) * 10%), calc(60% - var(--p) * 52%)) rotate(calc(-20deg + var(--p) * 14deg)); }
	.hero__sock--b { transform: translate(calc(4% - var(--p) * 4%), calc(68% - var(--p) * 58%)) rotate(calc(18deg - var(--p) * 12deg)); }
}

/* ================= Il nome: AR + BA ================= */
.scene--name { height: 280vh; }
.name { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 5vh; padding: 0 var(--gutter); }
/* "ARancio BAssano": le lettere finali si ritirano e resta ARBA */
.name__words {
	display: flex; justify-content: center; align-items: baseline; white-space: nowrap;
	font: 400 clamp(1.7rem, 7.4vw, 8.4rem)/1 var(--serif); letter-spacing: .06em;
	gap: calc(clamp(0, 1 - (var(--p) - .3) * 3.4, 1) * .45em);
}
.name__word { display: flex; align-items: baseline; }
.name__key { color: var(--cream-on-dark); }
.name__rest {
	display: inline-block; overflow: hidden; vertical-align: baseline;
	color: var(--muted-on-dark);
	max-width: calc(clamp(0, 1 - (var(--p) - .18) * 2.4, 1) * 4.6em);
	opacity: calc(1 - (var(--p) - .12) * 2.6);
}
.name__foot { max-width: 34em; opacity: calc((var(--p) - .62) * 3); transform: translateY(calc((1 - var(--p)) * 30px)); }
.name__foot p { font: italic 400 clamp(1.3rem, 2vw, 1.7rem)/1.4 var(--serif); color: var(--muted-on-dark); margin: 0 0 1.6em; }
.name__intro { position: absolute; top: calc(var(--header-h) + 6vh); left: 0; right: 0; text-align: center; opacity: calc(1 - var(--p) * 3); }

/* ================= Manifesto / citazioni ================= */
.manifesto { font: 400 clamp(2rem, 4.4vw, 4.2rem)/1.12 var(--serif); margin: 0; letter-spacing: -.01em; }
.quote { position: relative; margin: 0; }
.quote__text { font: italic 400 clamp(1.9rem, 4vw, 3.8rem)/1.15 var(--serif); margin: 0 0 .8em; }
.quote__text::before { content: "“"; display: block; font-size: 2.2em; line-height: .5; color: var(--gold); margin-bottom: .1em; font-style: normal; }
.quote cite { font: 500 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); font-style: normal; }
.dark .quote cite { color: var(--muted-on-dark); }

/* ================= Timeline home (anni) ================= */
.years { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 80px; }
.year { padding: 40px 28px 0 0; border-right: 1px solid var(--line); }
.year:last-child { border-right: 0; }
.year + .year { padding-left: 28px; }
.year__n { display: block; font: 400 clamp(3rem, 5vw, 4.6rem)/1 var(--serif); color: var(--bordeaux); margin-bottom: 18px; }
.year h3 { font-size: 1.6rem; margin-bottom: .4em; }
.year p { color: var(--ink-2); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .years { grid-template-columns: 1fr 1fr; } .year { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 0 !important; } }
@media (max-width: 520px) { .years { grid-template-columns: 1fr; } }

/* ================= Rimagliato a mano ================= */
.scene--hand { height: 340vh; }
.hand { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: calc(var(--header-h) + 20px) var(--gutter) 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; position: relative; }
.hand__media { display: grid; place-items: center; height: 100%; position: relative; }
.hand__media::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(179, 146, 101, .22), transparent); filter: blur(10px); }
.hand__media img { position: relative; max-height: 74vh; width: auto; transform: scale(calc(.82 + var(--p) * .3)) rotate(calc(-6deg + var(--p) * 10deg)); filter: drop-shadow(0 50px 70px rgba(0, 0, 0, .6)); will-change: transform; }
.hand__steps { position: relative; min-height: 420px; }
.hand__step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-slow), transform .9s var(--ease-slow); pointer-events: none; }
.hand__step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hand__step p:last-child { font: 400 clamp(1.2rem, 1.6vw, 1.45rem)/1.5 var(--serif); color: var(--muted-on-dark); max-width: 30ch; }
.progress { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.progress span { width: 1px; height: 44px; background: var(--night-line); transition: background .5s; }
.progress span.is-active { background: var(--gold); }
@media (max-width: 900px) {
	.hand { grid-template-columns: 1fr; grid-template-rows: 44% 1fr; gap: 0; align-items: stretch; }
	.hand__media img { max-height: 38vh; }
	.hand__steps { min-height: 0; }
	.hand__step { justify-content: flex-start; padding-top: 16px; }
	.progress { right: 10px; }
}

/* ================= Materiali (orizzontale) ================= */
.scene--materials { height: 300vh; --shift: 0; }
.materials { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 5vh; padding-top: var(--header-h); }
.materials__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.materials__head .h-display { margin-bottom: 0; }
.track { display: flex; gap: 28px; padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); width: max-content; transform: translate3d(calc(var(--shift) * var(--p) * -1px), 0, 0); will-change: transform; }
.mat { flex: 0 0 auto; width: min(80vw, 460px); height: min(60vh, 600px); background: var(--paper); display: flex; flex-direction: column; overflow: hidden; position: relative; }
.mat__num { position: absolute; top: 24px; left: 28px; font: 500 11px/1 var(--sans); letter-spacing: .3em; color: var(--ink-3); }
.mat__img { flex: 1; min-height: 0; position: relative; margin: 56px 40px 0; }
.mat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease-slow); }
.mat:hover .mat__img img { transform: scale(1.05) rotate(-2deg); }
.mat__txt { padding: 24px 36px 36px; }
.mat__txt h3 { font-size: 2.4rem; margin-bottom: .2em; }
.mat__txt .small-caps { margin-bottom: 12px; display: block; color: var(--gold); }
.mat__txt p { color: var(--ink-2); margin: 0; font-size: 15px; }
.mat--dark { background: var(--night-2); color: var(--cream-on-dark); }
.mat--dark .mat__txt p { color: var(--muted-on-dark); }
.mat--cta { background: var(--bordeaux); color: var(--ivory); justify-content: flex-end; }
.mat--cta h3 { font-size: 3.4rem; margin-bottom: .6em; }
.mat--cta .link-line { color: var(--ivory); }

/* ================= Numeri ================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.stat { padding: 40px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt { font: 400 clamp(3rem, 6vw, 5.6rem)/1 var(--serif); color: var(--ink); }
.dark .stat dt { color: var(--cream-on-dark); }
.dark .stats, .dark .stat + .stat { border-color: var(--night-line); }
.stat dd { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); max-width: 22ch; }
.dark .stat dd { color: var(--muted-on-dark); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat { padding: 32px 16px 32px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); } }

/* ================= Taglie ================= */
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.sizes__img img { width: 100%; }
.sizes .stats { grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
@media (max-width: 900px) { .sizes { grid-template-columns: 1fr; } .sizes .stats { grid-template-columns: 1fr 1fr; } }

/* ================= Colori ================= */
.scene--colors { height: 440vh; --c: #f3eee5; }
.scene--colors .scene__stage { background: color-mix(in srgb, var(--c) 22%, var(--ivory)); transition: background 1s var(--ease); }
.colors { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 3vh; padding-top: var(--header-h); }
.colors__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.colors__head .h-display { margin-bottom: 0; }
.colors__name { font: italic 400 clamp(2rem, 4vw, 3.4rem)/1 var(--serif); color: var(--c); filter: brightness(.75); min-width: 6em; text-align: right; transition: color .8s var(--ease); }
.colors__box img { width: min(1100px, 120vw); max-height: 42vh; object-fit: contain; max-width: none; margin: 0 auto; transform: translateX(calc((.5 - var(--p)) * 22%)); filter: drop-shadow(0 40px 50px rgba(20, 10, 5, .2)); will-change: transform; }
.colors__list { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; }
.colors__list li { display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); opacity: .45; transition: opacity .5s var(--ease); padding: 8px 0; }
.colors__list li.is-active { opacity: 1; color: var(--ink); }
.swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .5s var(--ease); }
.colors__list li.is-active .swatch { transform: scale(1.4); }
.reduced-motion .colors__list li { opacity: 1; }

/* ================= Made in Italy ================= */
.italy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 7vw; align-items: center; }
.italy__big { font-family: var(--serif); font-weight: 400; line-height: .88; }
.italy__big span { display: block; }
.italy__big span:first-child { font-size: clamp(6rem, 17vw, 15rem); }
.italy__big span:last-child { font-style: italic; font-size: clamp(2.4rem, 5vw, 4.4rem); color: var(--gold-2); }
.italy__flag { display: flex; width: 120px; height: 2px; margin: 34px 0; }
.italy__flag i { flex: 1; } .italy__flag i:nth-child(1) { background: #1f6b44; } .italy__flag i:nth-child(2) { background: var(--cream-on-dark); } .italy__flag i:nth-child(3) { background: #a6252f; }
@media (max-width: 900px) { .italy { grid-template-columns: 1fr; } }

/* ================= Shop (home) ================= */
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 72px; }
.product-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { text-decoration: none; color: var(--ink); display: block; }
.product-card:hover { color: var(--ink); }
.product-card__img { background: var(--paper); aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; margin-bottom: 22px; }
.product-card__img img { width: 78%; height: 78%; object-fit: contain; transition: transform 1.4s var(--ease-slow); }
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card h3 { font-size: 1.8rem; margin-bottom: .2em; }
.product-card__price { font: 500 12px/1 var(--sans); letter-spacing: .14em; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .product-cards { grid-template-columns: 1fr; } }

.cta { text-align: center; }
.cta .lead { max-width: 34em; margin: 0 auto 48px; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ================= Negozi online ================= */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.store { display: grid; grid-template-rows: auto 1fr; background: var(--paper); text-decoration: none; color: var(--ink); transition: transform 1s var(--ease-slow), box-shadow 1s var(--ease-slow); }
.store:hover { color: var(--ink); transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(20, 10, 5, .25); }
.store__logo { display: grid; place-items: center; height: 220px; padding: 32px 40px; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.store__logo .logo-inline { display: block; max-width: 100%; }
.store__logo svg { display: block; width: 100%; max-width: 380px; height: auto; max-height: 150px; }
.store__logo img { max-height: 120px; width: auto; }
.store__txt { padding: 36px 40px 40px; }
.store__txt .small-caps { display: block; color: var(--gold); margin-bottom: 14px; }
.store__txt h3 { font-size: 2.2rem; }
.store__txt p { color: var(--ink-2); max-width: 34em; }
.store__txt .link-line { margin-top: 10px; }
@media (max-width: 900px) { .stores { grid-template-columns: 1fr; } .store__logo { height: 170px; padding: 24px; } }

/* ================= STORIA ================= */
.story-hero { min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 80px) 0 clamp(60px, 10vh, 120px); }
.story-hero .h-display { font-size: clamp(3.6rem, 10vw, 10rem); margin-bottom: .3em; }
.story-hero__meta { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-end; border-top: 1px solid var(--night-line); padding-top: 28px; margin-top: 40px; }
.story-hero__meta p { margin: 0; max-width: 36em; }

.chapter { padding: clamp(100px, 14vw, 200px) 0; position: relative; }
.chapter__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; align-items: start; }
.chapter__side { position: sticky; top: calc(var(--header-h) + 8vh); }
.chapter__num { display: block; margin-bottom: 26px; }
.chapter__year { display: block; font: 400 clamp(5rem, 12vw, 11rem)/.85 var(--serif); color: var(--bordeaux); letter-spacing: -.02em; }
.dark .chapter__year { color: var(--gold-2); }
.chapter__year--small { font-size: clamp(3.6rem, 8vw, 7rem); }
.chapter__title { font: 400 clamp(2.2rem, 4vw, 3.6rem)/1 var(--serif); margin: 28px 0 0; }
.chapter__body { font: 400 clamp(1.2rem, 1.55vw, 1.45rem)/1.65 var(--serif); color: var(--ink-2); }
.dark .chapter__body { color: var(--muted-on-dark); }
.chapter__body p:first-child::first-letter { float: left; font-size: 4.6em; line-height: .8; padding: .08em .12em 0 0; color: var(--ink); }
.dark .chapter__body p:first-child::first-letter { color: var(--cream-on-dark); }
.chapter__body .quote { margin: 2.2em 0; padding-left: 0; }
.chapter__body strong { color: var(--ink); font-weight: 500; }
.dark .chapter__body strong { color: var(--cream-on-dark); }
.chapter__fig { margin: 2.4em 0 0; }
.chapter__fig img { width: 100%; max-width: 520px; }
.chapter__fig figcaption { margin-top: 14px; }
@media (max-width: 900px) { .chapter__grid { grid-template-columns: 1fr; } .chapter__side { position: static; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 2.4em 0; border-top: 1px solid var(--line); }
.pillar { padding: 26px 20px 0 0; }
.pillar + .pillar { padding-left: 20px; border-left: 1px solid var(--line); }
.pillar span { display: block; font: 500 10px/1 var(--sans); letter-spacing: .3em; color: var(--gold); margin-bottom: 12px; }
.pillar strong { font: 400 1.5rem/1.1 var(--serif); display: block; }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } .pillar { padding: 20px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); } }

.yarns { list-style: none; margin: 2em 0; padding: 0; border-top: 1px solid var(--line); }
.yarns li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 1.35rem/1.2 var(--serif); color: var(--ink); }
.yarns li span { font: 500 10px/1.6 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); text-align: right; }

/* scena Natale 1984 */
.scene--lace { height: 260vh; }
.lace { height: 100%; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter); position: relative; }
.lace__pattern {
	position: absolute; inset: -10%;
	background-image: radial-gradient(circle at 50% 50%, transparent 38%, rgba(239, 232, 220, .09) 39% 41%, transparent 42%), radial-gradient(circle at 0 0, transparent 38%, rgba(239, 232, 220, .06) 39% 41%, transparent 42%);
	background-size: 64px 64px;
	opacity: calc(.2 + var(--p) * .8);
	transform: scale(calc(1.3 - var(--p) * .3)) rotate(calc(var(--p) * 8deg));
}
.lace__inner { position: relative; max-width: 980px; }
.lace__date { display: block; font: italic 400 clamp(1.4rem, 2.4vw, 2rem)/1 var(--serif); color: var(--gold-2); margin-bottom: 28px; opacity: calc(var(--p) * 4); }
.lace__line { display: grid; font: 400 clamp(1.9rem, 4.2vw, 4rem)/1.15 var(--serif); margin: 0; min-height: 3.6em; align-items: center; }
.lace__line span { grid-area: 1 / 1; opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-slow), transform 1s var(--ease-slow); }
.lace__line span.is-active { opacity: 1; transform: none; }
.lace__line span.is-past { opacity: 0; transform: translateY(-28px); }
.lace__steps { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.lace__steps i { width: 28px; height: 1px; background: var(--night-line); transition: background .5s; }
.lace__steps i.is-active { background: var(--gold); }

/* epilogo */
.epilogue { text-align: center; }
.epilogue .quote__text { max-width: 22em; margin-left: auto; margin-right: auto; }
.epilogue .quote__text::before { margin: 0 auto .1em; }
.signature { font: italic 400 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); color: var(--bordeaux); margin-top: 1em; }

.source-note { font-size: 13px; color: var(--ink-3); max-width: 46em; margin: 48px auto 0; text-align: center; }

/* ================= Footer ================= */
.site-footer { background: var(--night); color: var(--muted-on-dark); padding: 120px 0 36px; font-size: 14px; }
.site-footer a { color: var(--cream-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer__top { text-align: center; padding-bottom: 90px; border-bottom: 1px solid var(--night-line); margin-bottom: 64px; }
.site-footer__top .brand__name { color: var(--cream-on-dark); font-size: clamp(3.4rem, 9vw, 7rem); letter-spacing: .4em; margin-right: -.4em; display: block; }
.site-footer__top p { font: italic 400 1.4rem/1.4 var(--serif); margin: 24px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.site-footer__title { font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.site-footer .nav__list, .footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer .nav__list a { font: 400 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; opacity: 1; padding: 0; }
.site-footer .nav__list a::after { display: none; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--night-line); font-size: 12px; letter-spacing: .04em; }
.site-footer__legal p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ================= Pagine interne ================= */
.page-hero { padding: calc(var(--header-h) + clamp(80px, 12vw, 180px)) 0 clamp(60px, 9vw, 130px); }
.page-hero .h-display { font-size: clamp(3.4rem, 9vw, 8.4rem); }
.page-hero .lead { max-width: 32em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.split--rev > :first-child { order: 2; }
.split img { width: 100%; }
.split__media { background: var(--paper); padding: 8%; }
.dark .split__media { background: var(--paper); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.dark .card-grid, .dark .card + .card { border-color: var(--night-line); }
.card { padding: 40px 32px 0 0; }
.card + .card { padding-left: 32px; border-left: 1px solid var(--line); }
.card h3 { font-size: 2.1rem; }
.card p { color: var(--ink-2); margin: 0; }
.dark .card p { color: var(--muted-on-dark); }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } .card { padding: 32px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); } }

.entry { font-size: 17px; }
.entry > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.entry h2 { font-size: 2.6rem; margin-top: 1.4em; }
.entry h3 { font-size: 1.9rem; margin-top: 1.2em; }
.entry .alignwide { max-width: var(--wrap); }
.entry .alignfull { max-width: none; }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 32px 20px; margin-top: 64px; padding: 0; }
.swatches li { list-style: none; font: 500 10.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.swatches .swatch-big { aspect-ratio: 3 / 4; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); margin-bottom: 14px; transition: transform .8s var(--ease-slow); }
.swatches li:hover .swatch-big { transform: translateY(-6px); }

/* ================= Contatti ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 7vw; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.contact-list a, .contact-list span { font: 400 1.45rem/1.3 var(--serif); text-decoration: none; }
.form { background: var(--paper); padding: clamp(28px, 4vw, 56px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form label { display: block; font: 500 10px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
	width: 100%; padding: 12px 0; margin-bottom: 28px;
	border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
	font: 400 1.2rem/1.4 var(--serif); color: var(--ink);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form__check { display: flex; gap: 12px; align-items: flex-start; font: 400 13px/1.6 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink-2); margin-bottom: 32px !important; }
.form__check input { margin-top: 4px; accent-color: var(--bordeaux); }
.form__trap { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; margin-bottom: 28px; font-size: 14px; }
.notice--ok { background: #e4ece4; color: #1f4d33; }
.notice--err { background: #f2e2e2; color: var(--bordeaux); }
@media (max-width: 900px) { .contact-grid, .form__row { grid-template-columns: 1fr; } .form__row { gap: 0; } }

/* ================= WooCommerce ================= */
.shop-wrap { padding: calc(var(--header-h) + 90px) 0 160px; }
.woocommerce .woocommerce-products-header__title, .woocommerce-page h1.page-title, .woocommerce div.product .product_title { font: 400 clamp(2.8rem, 6vw, 5.2rem)/1 var(--serif); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { font-size: 13px; color: var(--ink-3); }
.woocommerce .woocommerce-ordering select { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 6px 0; font: 13px var(--sans); }
.woocommerce ul.products { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; clear: both; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; text-align: left; }
.woocommerce ul.products li.product a img { background: var(--paper); aspect-ratio: 4 / 5; object-fit: contain; padding: 12%; margin-bottom: 20px; transition: transform 1.2s var(--ease-slow); }
.woocommerce ul.products li.product a:hover img { transform: scale(1.03); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 400 1.8rem/1.1 var(--serif) !important; padding: 0 !important; color: var(--ink); }
.woocommerce ul.products li.product .price { font: 500 12px/1 var(--sans) !important; letter-spacing: .12em; color: var(--ink-2) !important; }
.woocommerce ul.products li.product .button { margin-top: 16px; }
@media (max-width: 900px) { .woocommerce ul.products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .woocommerce ul.products { grid-template-columns: 1fr; } }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .wc-block-components-button:not(.is-link) {
	border-radius: 0 !important; background: var(--ink) !important; color: var(--ivory) !important;
	padding: 18px 30px !important; font: 500 11px/1 var(--sans) !important; letter-spacing: .26em !important; text-transform: uppercase; border: 0 !important;
	transition: background .4s var(--ease) !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .wc-block-components-button:not(.is-link):hover { background: var(--bordeaux) !important; }
.woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled { opacity: .4 !important; }
.woocommerce div.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 7vw; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.summary { position: sticky; top: calc(var(--header-h) + 40px); }
.woocommerce div.product div.images .woocommerce-product-gallery__image { background: var(--paper); }
.woocommerce div.product div.images img { padding: 10%; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink) !important; font: 400 1.9rem/1 var(--serif) !important; margin: 12px 0 28px; }
.woocommerce div.product .woocommerce-product-details__short-description { font: italic 400 1.35rem/1.45 var(--serif); color: var(--ink-2); }
.woocommerce div.product form.cart { margin-top: 32px; }
.woocommerce div.product form.cart .variations { margin-bottom: 20px; width: 100%; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations label { font: 500 10px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); }
.woocommerce div.product form.cart .variations select { width: 100%; padding: 14px 0; margin: 10px 0 22px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: 400 1.2rem var(--serif); color: var(--ink); }
.woocommerce .reset_variations { font-size: 12px; }
.woocommerce .quantity .qty { padding: 14px 8px; border: 1px solid var(--line); background: transparent; width: 72px; font: 16px var(--sans); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 80px 0 32px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 28px 0 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font: 500 11px/1 var(--sans) !important; letter-spacing: .26em; text-transform: uppercase; padding: 16px 0 !important; color: var(--ink-3) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink) !important; box-shadow: inset 0 -1px 0 var(--ink); }
.woocommerce div.product .woocommerce-tabs .panel { font-size: 16px; max-width: 760px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { display: none; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-bottom: 1px solid var(--line); background: none !important; padding: 14px 0; font-style: normal; }
.woocommerce .related > h2 { font: 400 2.6rem/1 var(--serif); margin-top: 80px; }
.woocommerce .product_meta { font-size: 12px; color: var(--ink-3); margin-top: 28px; }
.woocommerce span.onsale { background: var(--bordeaux); border-radius: 0; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--bordeaux) !important; background: var(--paper) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--bordeaux) !important; }
@media (max-width: 900px) { .woocommerce div.product { grid-template-columns: 1fr; } .woocommerce div.product div.summary { position: static; } }

/* =================================================================
   LUSSO × APPLE
   Titoli sans compatti (alla Apple) con accenti in corsivo serif (lusso),
   pillole, angoli morbidi, sfondi chiari puliti, header sottile.
   ================================================================= */
:root {
	--ivory: #f6f4f0;
	--ivory-2: #ece8e1;
	--paper: #ffffff;
	--radius-lg: 30px;
	--radius-md: 20px;
	--header-h: 56px;
}
body { font-size: 17px; line-height: 1.55; letter-spacing: -.01em; }

/* Titoli */
.h-display, .page-hero .h-display, .story-hero .h-display {
	font-family: var(--sans);
	font-weight: 600;
	letter-spacing: -.045em;
	line-height: 1.02;
}
.h-display { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.h-display em, .hero__claim-big em, .chapter__title em {
	font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em;
	font-size: 1.08em; line-height: .9;
}
h3, .value h3, .card h3, .mat__txt h3, .product-card h3, .store__txt h3, .year h3, .pillar strong {
	font-family: var(--sans); font-weight: 600; letter-spacing: -.03em;
}
.mat__txt h3 { font-size: 2rem; }
.store__txt h3, .card h3 { font-size: 1.8rem; }
.product-card h3 { font-size: 1.35rem; }
.year h3 { font-size: 1.25rem; }
.lead { font-family: var(--sans); font-weight: 500; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.4; letter-spacing: -.02em; }
.eyebrow { font-size: 12px; letter-spacing: .14em; font-weight: 600; color: var(--bordeaux); }
.dark .eyebrow { color: var(--gold-2); }
.eyebrow::before { width: 22px; background: currentColor; opacity: .5; }

/* Manifesto e claim: grande, compatto */
.manifesto { font-family: var(--sans); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; font-size: clamp(2rem, 4.6vw, 4.4rem); }
.hero__claim-big { font-family: var(--sans); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; font-size: clamp(2.4rem, 5.6vw, 5.2rem); }
.hero__claim-small { letter-spacing: .12em; font-weight: 600; }
.chapter__title { font-family: var(--sans); font-weight: 600; letter-spacing: -.04em; line-height: 1.04; }
.year__n, .stat dt, .chapter__year { font-family: var(--sans); font-weight: 600; letter-spacing: -.05em; }
.italy__big span:first-child { font-family: var(--sans); font-weight: 700; letter-spacing: -.06em; }

/* Pulsanti a pillola e link "Scopri di più ›" */
.btn {
	border-radius: 999px; padding: 14px 26px;
	font: 500 16px/1 var(--sans); letter-spacing: -.01em; text-transform: none;
	background: var(--ink); border-color: var(--ink);
}
.btn::before { border-radius: 999px; }
.btn::after { content: "›"; font-size: 20px; line-height: .6; margin-top: -2px; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost-light, .dark .btn--ghost { color: var(--cream-on-dark); border-color: rgba(239, 232, 220, .35); }
.link-line {
	font: 500 17px/1.2 var(--sans); letter-spacing: -.01em; text-transform: none;
	color: var(--bordeaux); background: none; padding: 0;
}
.link-line::after { content: " ›"; font-size: 1.15em; transition: margin .4s var(--ease); }
.link-line:hover { color: var(--bordeaux-2); text-decoration: underline; text-underline-offset: .2em; }
.dark .link-line, .mat--cta .link-line, .tile--dark .link-line { color: var(--gold-2); }
.tile--wine .link-line { color: #fff; }

/* Angoli morbidi */
.mat, .store, .value, .form, .split__media, .product-card__img, .card, .colors__list li { border-radius: var(--radius-lg); }
.store { overflow: hidden; }
.store__logo { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.card { background: var(--paper); padding: 40px 36px !important; border: 0 !important; }
.dark .card { background: var(--night-2); }
.card-grid { border: 0; gap: 16px; }
.split__media { overflow: hidden; }
.chapter__fig img, .sizes__img img { border-radius: var(--radius-lg); }
.woocommerce ul.products li.product a img, .woocommerce div.product div.images .woocommerce-product-gallery__image, .woocommerce div.product div.images img { border-radius: var(--radius-lg); }
.woocommerce a.button, .woocommerce button.button, .woocommerce button.button.alt, .wc-block-components-button:not(.is-link) {
	border-radius: 999px !important; font: 500 16px/1 var(--sans) !important; letter-spacing: -.01em !important; text-transform: none !important; padding: 15px 28px !important;
}
.woocommerce div.product .product_title, .woocommerce-page h1.page-title { font-family: var(--sans) !important; font-weight: 600 !important; letter-spacing: -.045em; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--sans) !important; font-weight: 600; letter-spacing: -.03em; font-size: 1.3rem !important; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--sans) !important; font-weight: 500 !important; font-size: 1.5rem !important; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
	font-family: var(--sans); font-size: 17px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--ivory);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); background: #fff; }
.form label { letter-spacing: .08em; }

/* Header sottile alla Apple */
.site-header { height: var(--header-h); }
.site-header.is-scrolled, .menu-open .site-header { background: rgba(246, 244, 240, .72); }
.brand { flex-direction: row; align-items: baseline; gap: 10px; }
.brand__name { font-size: 22px; letter-spacing: .32em; }
.brand__sub { display: none; }
.nav__list { gap: clamp(18px, 2.6vw, 38px); }
.nav__list a { font: 400 13px/1 var(--sans); letter-spacing: -.01em; text-transform: none; opacity: .85; }
.nav__list a::after { display: none; }
.nav__list a:hover, .nav__list [aria-current="page"], .nav__list .current-menu-item > a { opacity: 1; color: inherit; }
@media (max-width: 960px) {
	.nav__list a { font: 600 30px/1.1 var(--sans); letter-spacing: -.03em; padding: 14px 0; }
}

/* Sezioni chiare pulite */
.section.paper, .chapter.paper { background: #fff; }
.mat { background: #fff; }
.mat--cta { background: var(--bordeaux); }
.product-card__img { background: #fff; }

/* Valori/anni come tile */
.years { border: 0; gap: 16px; }
.year { background: #fff; border-radius: var(--radius-lg); border: 0 !important; padding: 36px 32px !important; }
.year__n { color: var(--bordeaux); }

/* ================= Bento ================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(240px, auto); gap: 16px; margin-top: 64px; }
.tile {
	position: relative; overflow: hidden; border-radius: var(--radius-lg);
	background: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: space-between;
	text-decoration: none; color: var(--ink);
	transition: transform .8s var(--ease-slow), box-shadow .8s var(--ease-slow);
}
a.tile:hover { color: var(--ink); transform: scale(1.012); box-shadow: 0 30px 60px -30px rgba(20, 10, 5, .25); }
.tile--dark { background: var(--night); color: var(--cream-on-dark); }
a.tile--dark:hover { color: var(--cream-on-dark); }
.tile--wine { background: var(--bordeaux); color: #fff; }
.tile--wide { grid-column: span 4; }
.tile--half { grid-column: span 3; }
.tile--third { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile__k { font: 600 13px/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink-3); }
.tile--dark .tile__k, .tile--wine .tile__k { color: rgba(255, 255, 255, .6); }
.tile__big { font: 700 clamp(3.6rem, 7vw, 6.4rem)/.9 var(--sans); letter-spacing: -.06em; margin: 12px 0; }
.tile__big em { font: italic 500 1em/.9 var(--serif); letter-spacing: -.01em; }
.tile__t { font: 600 clamp(1.3rem, 2vw, 1.75rem)/1.12 var(--sans); letter-spacing: -.035em; margin: 0; max-width: 16em; }
.tile__t em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--bordeaux); }
.tile--dark .tile__t em { color: var(--gold-2); }
.tile__img { position: absolute; right: -4%; bottom: -6%; height: 92%; width: auto; max-width: 62%; object-fit: contain; transition: transform 1.2s var(--ease-slow); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .18)); }
a.tile:hover .tile__img { transform: scale(1.04) rotate(-2deg); }
.tile--img .tile__t, .tile--img .tile__k { max-width: 52%; position: relative; z-index: 1; }
.tile__dots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; max-width: 280px; }
.tile__dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
@media (max-width: 960px) {
	.bento { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(200px, auto); }
	.tile--wide, .tile--half { grid-column: span 2; }
	.tile--third { grid-column: span 1; }
	.tile--tall { grid-row: span 1; }
	.tile { padding: 26px; }
}
@media (max-width: 520px) {
	.tile--third { grid-column: span 2; }
}

.cat-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 32px 0 0; }
.cat-nav--sub { margin-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: -.01em; transition: background .3s, color .3s; }
.pill:hover { background: var(--ivory-2); color: var(--ink); }
.pill.is-active { background: var(--ink); color: #fff; }
.pill--sm { padding: 8px 14px; font-size: 13px; }
.pill span { font-size: 11px; opacity: .55; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: flex; gap: 8px; justify-content: center; margin-top: 64px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 999px; min-width: 40px; padding: 12px !important; background: #fff; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; }
.woocommerce ul.products li.product .price del { opacity: .5; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--bordeaux); }
.woocommerce span.onsale { border-radius: 999px; min-height: 0; min-width: 0; padding: 6px 12px; line-height: 1; font: 600 12px/1 var(--sans); top: 12px; left: 12px; }

.woocommerce div.product .product_title { font-size: clamp(1.7rem, 2.6vw, 2.5rem) !important; line-height: 1.1 !important; letter-spacing: -.03em; }
.woocommerce div.product div.summary { position: static; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-family: var(--sans); font-weight: 600; letter-spacing: -.04em; font-size: 2rem; }
.woocommerce div.product .woocommerce-tabs .panel { font-size: 16px; line-height: 1.65; }
.woocommerce div.product .woocommerce-tabs .panel h2, .woocommerce div.product .woocommerce-tabs .panel h3 { display: block; font-family: var(--sans); font-weight: 600; letter-spacing: -.03em; font-size: 1.4rem; margin: 1.6em 0 .5em; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel table { border-collapse: collapse; margin: 1em 0; }
.woocommerce div.product .woocommerce-tabs .panel td, .woocommerce div.product .woocommerce-tabs .panel th { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; text-align: left; }

/* ================= Movimento ridotto ================= */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.reduced-motion .scene { height: auto !important; }
.reduced-motion .scene__stage { position: relative; height: auto; min-height: 100vh; overflow: visible; }
.reduced-motion .hero__title { opacity: 1; transform: translate(-50%, -60%); }
.reduced-motion .hero__eyebrow, .reduced-motion .hero__since { opacity: 1; }
.reduced-motion .hero__claim, .reduced-motion .hero__sock { display: none; }
.reduced-motion .hand__steps { display: grid; gap: 40px; min-height: 0; }
.reduced-motion .hand__step { position: static; opacity: 1; transform: none; }
.reduced-motion .hand { height: auto; grid-template-rows: auto; }
.reduced-motion .track { width: auto; flex-wrap: wrap; transform: none; }
.reduced-motion .materials, .reduced-motion .colors, .reduced-motion .name, .reduced-motion .lace { padding: 140px 0; }
.reduced-motion .progress, .reduced-motion .name__intro { display: none; }
.reduced-motion .lace__line { display: block; }
.reduced-motion .lace__line span { display: block; opacity: 1; transform: none; margin-bottom: .6em; }
.reduced-motion .name__foot { opacity: 1; transform: none; }

/* ---------- Spedizione gratuita ---------- */
.ship-note { display: flex; align-items: center; gap: 10px; margin: 22px 0 14px; font: 500 .86rem/1.4 var(--sans); letter-spacing: .01em; color: var(--ink-2); }
.ship-note__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(179, 146, 101, .18); flex: none; }
.ship-note--product { margin: 4px 0 22px; }
.ship-bar { max-width: 640px; margin: 0 0 36px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.ship-bar[hidden] { display: none; }
.ship-bar__t { margin: 0 0 12px; font: 400 .95rem/1.4 var(--sans); color: var(--ink-2); }
.ship-bar__t strong { color: var(--ink); font-weight: 600; }
.ship-bar__track { height: 4px; border-radius: 4px; background: var(--ivory-2); overflow: hidden; }
.ship-bar__track i { display: block; height: 100%; width: 0; background: var(--bordeaux); border-radius: 4px; transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.ship-bar.is-free .ship-bar__track i { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .ship-bar__track i { transition: none; } }
.tile__s { margin: 10px 0 0; font: 500 .8rem/1.4 var(--sans); color: var(--ink-2); }

/* ---------- La tua scatola ---------- */
.box-hero { padding-bottom: clamp(40px, 6vw, 80px); }
.box-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 980px; }
.box-steps li { padding: 22px 24px 0 0; font: 500 1rem/1.4 var(--sans); color: var(--ink-2); }
.box-steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.box-steps span { display: block; margin-bottom: 10px; font: 600 12px/1 var(--sans); letter-spacing: .14em; color: var(--bordeaux); }
.box-builder { padding: 0 0 clamp(80px, 10vw, 140px); }
.box-builder__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
button.pill { border: 0; cursor: pointer; }
.box-filter { margin: 0 0 28px; }
.box-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.box-card { display: flex; flex-direction: column; padding: 14px 14px 18px; border-radius: var(--radius-md); background: var(--paper); }
.box-card[hidden] { display: none; }
.box-card__img { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff; }
.box-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.box-card__img:hover img { transform: scale(1.04); }
.box-card__t { margin: 14px 2px 6px; font: 600 .98rem/1.3 var(--sans); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.9em; }
.box-card__price { margin: 0 2px 12px; font: 600 .95rem/1.3 var(--sans); }
.box-card__price span { display: block; font-weight: 500; font-size: .8rem; color: var(--bordeaux); }
.box-card__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.box-card__opts:has(> :only-child) { grid-template-columns: 1fr; }
.box-card__opt span { display: block; margin: 0 0 4px 2px; font: 600 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.box-card__opt select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 500 14px/1.2 var(--sans); color: var(--ink); }
.box-card__add { margin-top: auto; padding: 11px 14px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font: 600 14px/1 var(--sans); color: var(--ink); cursor: pointer; transition: background .3s, color .3s; }
.box-card__add:hover { background: var(--ink); color: #fff; }
.box-card__msg { min-height: 1.2em; margin: 8px 2px 0; font: 500 .8rem/1.3 var(--sans); color: var(--bordeaux); }

.box-tray { position: sticky; top: calc(var(--header-h) + 24px); padding: 26px; border-radius: var(--radius-lg); background: var(--night); color: var(--cream-on-dark); }
.box-tray.is-bump { animation: box-bump .45s var(--ease); }
@keyframes box-bump { 40% { transform: scale(1.015); } }
.box-tray__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.box-tray__k { margin: 0; font: 600 1.35rem/1.1 var(--sans); letter-spacing: -.03em; }
.box-tray__count { margin: 0; font: 500 .9rem/1 var(--sans); color: var(--muted-on-dark); }
.box-tray__count strong { color: var(--gold-2); font-size: 1.1rem; }
.box-slots { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; padding: 0; }
.box-slots li { aspect-ratio: 1; border-radius: 16px; border: 1px dashed var(--night-line); display: grid; place-items: center; font: 500 .85rem/1 var(--sans); color: var(--muted-on-dark); overflow: hidden; }
.box-slots li.is-full { border: 0; background: #fff; }
.box-slots button { width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.box-slots img { width: 100%; height: 100%; object-fit: contain; }
.box-slots button::after { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 12, 11, .6); color: #fff; font-size: 1.6rem; opacity: 0; transition: opacity .2s; }
.box-slots button:hover::after, .box-slots button:focus-visible::after { opacity: 1; }
.box-list { list-style: none; margin: 0 0 18px; padding: 0; max-height: 260px; overflow: auto; }
.box-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--night-line); font: 500 .85rem/1.3 var(--sans); }
.box-list__n { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.box-list__n small { display: block; color: var(--muted-on-dark); font-size: .78rem; }
.box-list__p { color: var(--gold-2); }
.box-list button { width: 26px; height: 26px; border: 1px solid var(--night-line); border-radius: 50%; background: none; color: var(--cream-on-dark); cursor: pointer; line-height: 1; }
.box-total { border-top: 1px solid var(--night-line); padding-top: 14px; }
.box-total__row { display: flex; justify-content: space-between; margin: 0 0 6px; font: 500 .9rem/1.3 var(--sans); color: var(--muted-on-dark); }
.box-total__row--big { color: var(--cream-on-dark); font-size: 1rem; }
.box-total__row--big strong { font-size: 1.4rem; letter-spacing: -.03em; }
.box-hint { margin: 12px 0 16px; font: 500 .85rem/1.4 var(--sans); color: var(--gold-2); }
.box-cta { width: 100%; justify-content: center; background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.box-cta:disabled { opacity: .35; cursor: not-allowed; }
.box-cta:disabled::before { display: none; }
.box-tray.is-complete .box-slots li.is-full { box-shadow: 0 0 0 2px var(--gold); }

@media (max-width: 900px) {
	.box-builder__grid { grid-template-columns: 1fr; }
	.box-steps { grid-template-columns: 1fr; }
	.box-steps li, .box-steps li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.box-card { padding: 10px 10px 14px; }
	.box-card__opts { grid-template-columns: 1fr; }
	.box-tray { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: 10px; top: auto; padding: 14px 16px; border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
	.box-tray__head { cursor: pointer; }
	.box-tray__head::after { content: "⌃"; margin-left: auto; color: var(--muted-on-dark); transition: transform .3s; }
	.box-tray.is-open .box-tray__head::after { transform: rotate(180deg); }
	.box-tray__k { font-size: 1.05rem; }
	.box-slots { grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 12px 0; }
	.box-slots li { border-radius: 10px; font-size: .7rem; }
	.box-list, .box-total { display: none; }
	.box-tray.is-open .box-list, .box-tray.is-open .box-total { display: block; }
	.box-tray.is-open .box-list { max-height: 34vh; }
	.box-hint { margin: 0 0 10px; }
	.box-builder { padding-bottom: 260px; }
}
@media (prefers-reduced-motion: reduce) { .box-tray.is-bump { animation: none; } .box-card__img img { transition: none; } }
.box-promo { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 6px 0 26px; padding: 18px 24px; border-radius: var(--radius-md); background: var(--night); color: var(--cream-on-dark); text-decoration: none; transition: background .3s; }
.box-promo:hover { background: var(--bordeaux); color: #fff; }
.box-promo__k { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.box-promo__t { font: 600 1.15rem/1.2 var(--sans); letter-spacing: -.02em; }
.box-promo__t em { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.1em; }
.box-promo__go { margin-left: auto; font: 600 14px/1 var(--sans); }
.box-promo__go::after { content: " ›"; }
.shop-head__links { display: flex; gap: 28px; flex-wrap: wrap; }

/* ---------- Ritocchi dal controllo completo ---------- */
.form__row--wide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.form select { text-overflow: ellipsis; padding-right: 30px; }
@media (max-width: 900px) { .form__row--wide { grid-template-columns: 1fr; } }
.woocommerce ul.products li.product .price { font: 600 15px/1.2 var(--sans) !important; letter-spacing: -.01em; color: var(--ink) !important; }
@media (max-width: 900px) {
	.box-card__add { padding: 10px 8px; font-size: 13px; white-space: nowrap; }
	.box-tray.is-empty:not(.is-open) .box-slots,
	.box-tray.is-empty:not(.is-open) .box-cta { display: none; }
	.box-tray.is-empty:not(.is-open) .box-hint { margin: 8px 0 0; }
	.box-builder { padding-bottom: 200px; }
}
/* Hero: le calze restano sotto la frase anche sugli schermi bassi (portatili 13", 1280×720) */
.hero__claim { z-index: 2; }
.hero__sock { height: min(58vh, 700px); bottom: 2vh; }
@media (max-width: 700px) { .hero__sock { height: 52vh; bottom: 3vh; } }

/* ---------- Banner cookie ---------- */
.cc { position: fixed; z-index: 200; left: 16px; bottom: 16px; width: min(400px, calc(100vw - 32px)); padding: 20px 20px 16px; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 50px rgba(20, 18, 16, .18), 0 0 0 1px var(--line); font: 400 .86rem/1.5 var(--sans); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.cc.is-in { opacity: 1; transform: none; }
.cc[hidden] { display: none; }
.cc__x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; }
.cc__x:hover { background: var(--ivory-2); }
.cc__t { margin: 0 0 6px; font: 600 1rem/1.2 var(--sans); letter-spacing: -.02em; }
.cc__d { margin: 0 0 14px; color: var(--ink-2); }
.cc__d a { color: var(--ink); }
.cc__prefs { margin: 0 0 14px; border-top: 1px solid var(--line); }
.cc__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cc__row small { display: block; color: var(--ink-3); font-size: .78rem; }
.cc__row input { width: 20px; height: 20px; accent-color: var(--bordeaux); flex: none; }
.cc__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cc__b { flex: 1 1 0; min-width: 110px; padding: 11px 16px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: 600 14px/1 var(--sans); cursor: pointer; }
.cc__b:hover { background: var(--bordeaux); border-color: var(--bordeaux); }
.cc__b[hidden] { display: none; }
.cc__link { flex-basis: 100%; padding: 6px 0 0; border: 0; background: none; color: var(--ink-2); font: 500 13px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: center; }
.cc__link[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .cc { transition: none; } }
@media (max-width: 900px) { .cc { bottom: 12px; left: 12px; } body:has(.box-tray) .cc { bottom: auto; top: 70px; } }

/* Footer: link legali */
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.site-footer__legal .legal-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer__legal .legal-links a, .site-footer__legal .link-btn { color: var(--muted-on-dark); text-decoration: none; }
.site-footer__legal .legal-links a:hover, .site-footer__legal .link-btn:hover { color: var(--gold-2); }
.form__note { margin: 14px 0 0; font: 400 .78rem/1.5 var(--sans); color: var(--ink-3); }
.form__note a { color: inherit; }
.grecaptcha-badge { visibility: hidden !important; }

/* Pagine legali */
.entry.legal h2 { font: 600 1.45rem/1.2 var(--sans) !important; letter-spacing: -.03em; margin: 2.2em auto .6em; }
.entry.legal h3 { font: 600 1.1rem/1.3 var(--sans); margin: 1.6em auto .4em; }
.legal p, .legal li { font-family: var(--sans); font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font: 400 .9rem/1.45 var(--sans); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; color: var(--ink); }
.legal .wp-block-table { overflow-x: auto; }
.legal .legal-updated { font-size: .85rem; color: var(--ink-3); }
.cc__b[data-cc="save"] { flex-basis: 100%; }

/* ---------- Guida alle taglie ---------- */
.size-guide .wrap > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.size-finder { padding: 26px 28px; border-radius: var(--radius-lg); background: var(--night); color: var(--cream-on-dark); margin-bottom: 64px !important; }
.size-finder__k { margin: 0 0 16px; font: 600 1.25rem/1.2 var(--sans); letter-spacing: -.02em; }
.size-finder__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; }
.size-finder label { display: grid; gap: 8px; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-dark); flex: 1 1 200px; }
.size-finder input { width: 100%; padding: 13px 14px; border: 1px solid var(--night-line); border-radius: 12px; background: var(--night-2); color: #fff; font: 500 1.1rem/1 var(--sans); }
.size-finder input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.size-finder__or { padding-bottom: 14px; font: 400 .9rem/1 var(--serif); font-style: italic; color: var(--muted-on-dark); }
.size-finder__out { margin: 18px 0 0; font: 500 1rem/1.5 var(--sans); color: var(--gold-2); }
.size-finder__out strong { color: #fff; }
.size-guide__h { font: 600 1.9rem/1.1 var(--sans); letter-spacing: -.04em; margin-top: 56px !important; margin-bottom: 12px !important; }
.size-guide__h3 { font: 600 1.25rem/1.2 var(--sans); letter-spacing: -.02em; margin-top: 36px !important; margin-bottom: 8px !important; }
.size-guide__p { color: var(--ink-2); font: 400 1rem/1.6 var(--sans); margin-bottom: 14px !important; }
.size-guide__p a { color: var(--ink); }
.size-guide__note { color: var(--ink-3); font: 400 .88rem/1.55 var(--sans); }
.size-table { overflow-x: auto; border-radius: var(--radius-md); background: var(--paper); }
.size-table table { width: 100%; border-collapse: collapse; font: 400 1rem/1.3 var(--sans); }
.size-table th, .size-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table thead th { font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.size-table tbody th { font-weight: 600; color: var(--ink); }
.size-table tbody tr:last-child > * { border-bottom: 0; }
.size-table tr.is-match > * { background: #f3ebe0; }
.size-table tr.is-match th { color: var(--bordeaux); }
.size-how { margin-top: 24px; }
.size-how ol { padding-left: 1.2em; font: 400 1rem/1.65 var(--sans); color: var(--ink-2); }
.size-guide__cta { margin-top: 40px !important; }
@media (max-width: 600px) { .size-table th, .size-table td { padding: 12px 12px; font-size: .92rem; } .size-finder { padding: 22px 18px; } }

/* Scheda prodotto: composizione e guida taglie */
.prod-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 20px; font: 400 .88rem/1.4 var(--sans); color: var(--ink-2); }
.prod-meta strong { font-weight: 600; color: var(--ink); }
.prod-meta a { color: var(--ink); }
.box-card__comp { margin: -6px 2px 10px; font: 400 .75rem/1.3 var(--sans); color: var(--ink-3); }
.box-sizes { margin-top: 22px; font: 500 .95rem/1.4 var(--sans); color: var(--ink-2); } .box-sizes a { color: var(--ink); }
@media (max-width: 600px) { .size-table th, .size-table td { padding: 12px 10px; } .size-table thead th { letter-spacing: .04em; } }

/* ---------- 1.7: categorie a tre livelli, classici, promozione scatola ---------- */
.cat-nav--sub2 { margin-top: 10px; }
.cat-nav--sub2 .pill--sm:not(.is-active) { background: transparent; }
.woocommerce ul.products li.product { position: relative; }
.badge-classic { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px var(--line); font: 600 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bordeaux); pointer-events: none; }

.product-cards--six { row-gap: 56px; }
@media (max-width: 900px) { .product-cards--six { grid-template-columns: 1fr 1fr; gap: 28px 16px; } .product-cards--six .product-card h3 { font-size: 1.15rem; } }

.box-band { background: var(--bordeaux); color: #fff; }
.box-band .eyebrow { color: var(--gold-2); }
.box-band .h-display em { color: #f3e2c7; }
.box-band .lead { color: rgba(255, 255, 255, .86); max-width: 30em; }
.box-band__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.box-band__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.box-band__cta .btn { background: #fff; color: var(--bordeaux); border-color: #fff; }
.box-band__cta .btn:hover { background: var(--night); color: #fff; border-color: var(--night); }
.box-band__cta span { font: 500 .86rem/1.4 var(--sans); color: rgba(255, 255, 255, .78); }
.box-band__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.box-band__steps li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); font: 500 1.15rem/1.35 var(--sans); letter-spacing: -.01em; }
.box-band__steps b { font: 600 12px/1 var(--sans); letter-spacing: .14em; color: var(--gold-2); }
@media (max-width: 900px) { .box-band__grid { grid-template-columns: 1fr; } }

.box-offer { margin: 0 0 26px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 3px 0 0 var(--bordeaux); }
.box-offer__t { margin: 0 0 6px; font: 500 1rem/1.35 var(--sans); }
.box-offer__t strong { color: var(--bordeaux); }
.box-offer__t .amount { font-weight: 700; }
.box-offer__s { margin: 0 0 12px; font: 400 .88rem/1.45 var(--sans); color: var(--ink-2); }
.box-offer__go { font: 600 14px/1 var(--sans); color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.box-offer__go::after { content: " ›"; }
.box-offer__go:hover { color: var(--bordeaux); }

.box-promo__t small { display: block; margin-top: 4px; font: 400 .85rem/1.35 var(--sans); letter-spacing: 0; color: var(--muted-on-dark); }
.box-promo:hover .box-promo__t small { color: rgba(255, 255, 255, .85); }

.nav-badge { display: inline-block; margin-left: 6px; padding: 3px 6px 2px; border-radius: 999px; background: var(--bordeaux); color: #fff; font: 600 9px/1 var(--sans); letter-spacing: .06em; vertical-align: 1px; }
@media (max-width: 900px) { .nav-badge { font-size: 13px; padding: 5px 9px 4px; vertical-align: 8px; } }

.box-float { position: fixed; z-index: 150; right: 20px; bottom: 20px; display: flex; align-items: center; border-radius: 999px; background: var(--night); color: #fff; box-shadow: 0 14px 40px rgba(13, 12, 11, .28); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.box-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.box-float[hidden], body:has(#cc:not([hidden])) .box-float, .menu-open .box-float { display: none; }
.box-float a { display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 8px; color: #fff; text-decoration: none; font: 600 14px/1 var(--sans); }
.box-float__pct { display: grid; place-items: center; min-width: 44px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--bordeaux); font-size: 13px; }
.box-float button { width: 34px; height: 34px; margin-right: 4px; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .6); font-size: 20px; line-height: 1; cursor: pointer; }
.box-float button:hover { color: #fff; }
@media (max-width: 600px) { .box-float { right: 12px; bottom: 12px; left: 12px; justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { .box-float { transition: none; } }

.ship-bar__box { margin: 12px 0 0; font: 500 .88rem/1.4 var(--sans); color: var(--ink-2); }
.ship-bar__box a { color: var(--bordeaux); font-weight: 600; }
.box-card.is-wanted { box-shadow: 0 0 0 2px var(--bordeaux); }
