/* ==========================================================================
   Salonista — tema storefront
   Variabili colore/font iniettate da theme() in :root (vedi store_theme_css()).
   Mobile-first. Breakpoint: 750px (tablet), 990px (desktop), 1200px (wide).
   ========================================================================== */

:root {
  --color-text: #1c1917;
  --color-bg: #ffffff;
  --color-surface: #f6f1ec;
  --color-primary: #1c1917;
  --color-primary-text: #ffffff;
  --color-accent: #b07d62;
  --color-sale: #b3261e;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --heading-scale: 1;
  --logo-width: 150px;
  --card-ratio: 1 / 1;
}

:root {
  --color-muted: color-mix(in srgb, var(--color-text) 62%, var(--color-bg));
  --color-subtle: color-mix(in srgb, var(--color-text) 45%, var(--color-bg));
  --color-border: color-mix(in srgb, var(--color-text) 11%, var(--color-bg));
  --color-border-strong: color-mix(in srgb, var(--color-text) 24%, var(--color-bg));
  --color-tile: color-mix(in srgb, var(--color-surface) 62%, var(--color-bg));
  --color-surface-2: color-mix(in srgb, var(--color-surface) 45%, var(--color-bg));
  --color-accent-soft: color-mix(in srgb, var(--color-accent) 12%, var(--color-bg));
  --color-success: #2f7d4f;
  --color-success-soft: #e8f3ec;
  --color-warning: #9a6200;
  --color-warning-soft: #fdf3e1;
  --color-critical: #b3261e;
  --color-critical-soft: #fbeceb;
  --color-info: #2d5b86;
  --color-info-soft: #e9f1f8;
  --brand-accent: var(--color-accent);
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .05), 0 2px 8px rgb(0 0 0 / .04);
  --shadow-md: 0 8px 30px rgb(0 0 0 / .08);
  --shadow-lg: 0 24px 60px rgb(0 0 0 / .16);
  --gutter: clamp(16px, 4vw, 48px);
  --page-width: 1400px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --duration: .25s;
  --header-h: 68px;
  --section-space: clamp(44px, 6vw, 84px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
address { font-style: normal; }
dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: 32px 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
::selection { background: var(--color-accent-soft); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--color-primary); color: var(--color-primary-text); padding: 10px 16px; border-radius: var(--radius); text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.main:focus { outline: none; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4, h5, .h0, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-heading); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: inherit;
}
.h0 { font-size: calc(clamp(2.4rem, 5.6vw, 4.6rem) * var(--heading-scale)); letter-spacing: -.025em; line-height: 1.04; }
h1, .h1 { font-size: calc(clamp(2rem, 3.9vw, 3.15rem) * var(--heading-scale)); }
h2, .h2 { font-size: calc(clamp(1.65rem, 2.8vw, 2.35rem) * var(--heading-scale)); }
h3, .h3 { font-size: calc(clamp(1.3rem, 2vw, 1.6rem) * var(--heading-scale)); }
h4, .h4 { font-size: calc(1.22rem * var(--heading-scale)); }
h5, .h5 { font-size: calc(1.02rem * var(--heading-scale)); letter-spacing: 0; }
.eyebrow { display: inline-block; font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-accent); margin: 0 0 14px; }
.eyebrow--link { text-decoration: none; }
.eyebrow--link:hover { text-decoration: underline; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--color-muted); }
.muted { color: var(--color-muted); }
.text-center { text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--color-surface-2); padding: 1px 6px; border-radius: 3px; }

.rte { line-height: 1.75; }
.rte > *:first-child { margin-top: 0; }
.rte h2, .rte h3, .rte h4 { margin: 1.6em 0 .6em; }
.rte h2 { font-size: calc(1.7rem * var(--heading-scale)); }
.rte h3 { font-size: calc(1.3rem * var(--heading-scale)); }
.rte ul, .rte ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.rte li { margin-bottom: .4em; }
.rte li::marker { color: var(--brand-accent); }
.rte a { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--brand-accent); }
.rte img { border-radius: var(--radius-md); margin: 1.5em 0; }
.rte blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--brand-accent); font-family: var(--font-heading); font-size: 1.25rem; }
.rte table { margin: 1em 0; font-size: .95rem; }
.rte td, .rte th { border-bottom: 1px solid var(--color-border); padding: 8px 10px; text-align: left; }
.rte--large { font-size: 1.07rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.container--form { max-width: calc(900px + var(--gutter) * 2); }
.section { padding: var(--section-space) 0; }
.section--tight { padding: clamp(32px, 5vw, 64px) 0; }
.section--compact { padding: clamp(36px, 5vw, 64px) 0; }
.section--surface { background: var(--color-surface); }
.section--dark { background: var(--color-text); color: var(--color-bg); }
.section--dark .lead, .section--dark .rte { color: color-mix(in srgb, var(--color-bg) 78%, transparent); }
.section + .section--surface, .section--surface + .section { }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3.5vw, 44px); flex-wrap: wrap; }
.section-header .h2, .section-header h2 { margin: 0; }
.section-header--center { flex-direction: column; align-items: center; text-align: center; }
.section-header__text { max-width: 620px; color: var(--color-muted); margin: 6px 0 0; font-size: 1.05rem; }

/* ---------- Pulsanti e link ---------- */
.btn {
  --btn-bg: var(--color-primary); --btn-fg: var(--color-primary-text); --btn-bd: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px; border: 1px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; white-space: nowrap;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; line-height: 1.2;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease), transform .15s var(--ease), box-shadow var(--duration) var(--ease);
  position: relative; -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: color-mix(in srgb, var(--color-primary) 84%, var(--color-bg)); box-shadow: 0 6px 18px rgb(0 0 0 / .12); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .42; pointer-events: none; box-shadow: none; }
.btn .icon { flex: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--color-text); --btn-bd: var(--color-border-strong); }
.btn--outline:hover { --btn-bg: var(--color-text); --btn-fg: var(--color-bg); --btn-bd: var(--color-text); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: #1c1917; --btn-bd: #fff; }
.btn--light:hover { --btn-bg: #f4efe9; --btn-bd: #f4efe9; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .7); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: #1c1917; --btn-bd: #fff; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .72rem; gap: 8px; }
.btn--large { min-height: 56px; padding: 0 36px; font-size: .82rem; }
.btn--block { width: 100%; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--btn-fg); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .icon { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.button-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.button-group--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; color: inherit; }
.link-arrow .icon { transition: transform var(--duration) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--back { margin-top: 28px; }
.link-arrow--back:hover .icon { transform: translateX(-4px); }
.link-underline { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-border-strong); font-size: .92rem; cursor: pointer; transition: text-decoration-color .2s; }
.link-underline:hover { text-decoration-color: currentColor; }
.link-underline--danger { color: var(--color-critical); }
.linklike { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; text-decoration: none; cursor: pointer; }
.linklike:hover { text-decoration: underline; }

/* ---------- Chip, badge, stato ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--color-border); border-radius: 999px; font-size: .85rem; text-decoration: none; background: var(--color-bg); transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--color-text); }
.chip.is-active { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.chip--removable .icon { opacity: .6; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 3px; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; background: var(--color-bg); color: var(--color-text); }
.badge--new { background: var(--color-text); color: var(--color-bg); }
.badge--soldout { background: color-mix(in srgb, var(--color-text) 55%, var(--color-bg)); color: var(--color-bg); }
.badge--volume { background: var(--color-accent-soft); color: color-mix(in srgb, var(--color-accent) 70%, var(--color-text)); text-transform: none; letter-spacing: 0; font-size: .74rem; }
.badge--tiny { font-size: .68rem; padding: 2px 7px; margin-top: 4px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 500; white-space: nowrap; background: var(--color-surface-2); }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.status--success { background: var(--color-success-soft); color: var(--color-success); }
.status--warning { background: var(--color-warning-soft); color: var(--color-warning); }
.status--info { background: var(--color-info-soft); color: var(--color-info); }
.status--muted { color: var(--color-muted); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); font-size: .92rem; line-height: 1.5; margin: 0 0 16px; background: var(--color-surface-2); }
.notice .icon { flex: none; margin-top: 1px; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.notice--warning { background: var(--color-warning-soft); color: color-mix(in srgb, var(--color-warning) 80%, #000); }
.notice--critical { background: var(--color-critical-soft); color: var(--color-critical); }
.notice--success { background: var(--color-success-soft); color: var(--color-success); }
.notice--info { background: var(--color-info-soft); color: var(--color-info); }
.notice a { color: inherit; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label, .field > span:first-child { font-size: .84rem; font-weight: 500; color: color-mix(in srgb, var(--color-text) 80%, var(--color-bg)); }
.req { color: var(--color-critical); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid var(--color-border-strong); border-radius: var(--radius);
  background: var(--color-bg); font-size: 1rem; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.textarea--mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92rem; }
.input:hover, .select:hover, .textarea:hover { border-color: color-mix(in srgb, var(--color-text) 45%, var(--color-bg)); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--color-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 22%, transparent); }
.input--large { min-height: 56px; font-size: 1.05rem; }
.has-error .input, .has-error .select, .has-error .textarea, [aria-invalid="true"] { border-color: var(--color-critical); }
.select-wrap { position: relative; }
.select-wrap .select { padding-right: 40px; cursor: pointer; }
.select-wrap > .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--color-muted); }
.select--plain { border: 0; min-height: 40px; padding: 6px 32px 6px 4px; background: transparent; font-weight: 500; font-size: .92rem; }
.select--plain:focus { box-shadow: none; }
.select-wrap:has(.select--plain) > .icon { right: 6px; }
.help { font-size: .8rem; color: var(--color-muted); margin: 0; }
.form-error { color: var(--color-critical); font-size: .84rem; margin: 2px 0 0; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 750px) {
  .form-grid { grid-template-columns: repeat(6, 1fr); }
  .form-grid > .field { grid-column: span 3; }
  .form-grid > .field--full { grid-column: 1 / -1; }
  .form-grid > .field--third { grid-column: span 2; }
}
.form-stack { display: flex; flex-direction: column; gap: 4px; }
.form-row-between { display: flex; justify-content: flex-end; margin: -4px 0 12px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; font-size: .93rem; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--color-primary); }
.check--muted { color: var(--color-muted); font-size: .88rem; }
.check--inline { margin: 0; align-items: center; }
.check--inline input { margin: 0; }
.check.has-error { color: var(--color-critical); }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; min-width: 0; }
.input-group .btn { flex: none; padding: 0 18px; }
.input-file { font-size: .9rem; padding: 10px 0; }
.inline-form { display: inline; }
.form-section { margin: 0 0 12px; padding: 28px 0 8px; border-top: 1px solid var(--color-border); }
.form-section legend { font-family: var(--font-heading); font-size: calc(1.3rem * var(--heading-scale)); padding: 0; margin-bottom: 18px; float: left; width: 100%; }
.form-section legend + * { clear: both; }
.form-section--consents { padding-top: 24px; }

/* ---------- Tabelle dati ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { font-size: .93rem; }
.data-table th, .data-table td { padding: 14px 12px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: middle; }
.data-table thead th { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); padding-top: 8px; padding-bottom: 10px; }
.data-table tbody th { font-weight: 600; }
.data-table tbody th a { text-decoration: none; }
.data-table tbody th a:hover { text-decoration: underline; }
.data-table .num { text-align: right; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.line-cell { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.line-cell__img { flex: none; width: 52px; height: 52px; border-radius: var(--radius); background: var(--color-tile); overflow: hidden; }
.line-cell__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.line-cell a { text-decoration: none; }
.line-cell a:hover { text-decoration: underline; }
.spec-list { display: grid; gap: 0; font-size: .93rem; }
.spec-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--color-muted); }
.spec-list dd { text-align: right; font-weight: 500; }
@media (min-width: 750px) { .spec-list--2 { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { flex: none; color: var(--brand-accent); margin-top: 3px; }
.check-list--small { gap: 10px; font-size: .92rem; }

/* ---------- Placeholder, skeleton ---------- */
.placeholder-art { display: block; width: 100%; height: 100%; min-height: 200px; background: linear-gradient(135deg, var(--color-surface) 0%, color-mix(in srgb, var(--color-accent) 22%, var(--color-surface)) 100%); }
.skeleton { display: block; background: linear-gradient(90deg, var(--color-surface-2) 0%, var(--color-surface) 50%, var(--color-surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; border-radius: var(--radius); }
.skeleton--thumb { width: 84px; height: 84px; flex: none; }
.skeleton--text { height: 14px; width: 100%; }
.skeleton--short { width: 50%; }
.skeleton-lines { display: grid; gap: 20px; padding: 8px 0; }
.skeleton-line { display: flex; gap: 16px; align-items: center; }
.skeleton-stack { flex: 1; display: grid; gap: 10px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ---------- Barra annunci ---------- */
.announcement-bar { background: var(--color-text); color: var(--color-bg); font-size: .76rem; letter-spacing: .06em; text-align: center; }
.announcement-bar .container { padding-top: 10px; padding-bottom: 10px; }
.announcement-bar p { margin: 0; }
.announcement-bar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.announcement-bar a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 60; background: var(--color-bg); border-bottom: 1px solid var(--color-border); transition: box-shadow var(--duration) var(--ease), transform .35s var(--ease); }
.site-header--sticky { position: sticky; top: 0; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(0 0 0 / .06); }
.site-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.logo img { width: var(--logo-width); max-width: 46vw; height: auto; max-height: 64px; object-fit: contain; }
.logo__text { font-family: var(--font-heading); font-size: 1.65rem; letter-spacing: .01em; font-weight: 500; line-height: 1; }
.site-header .logo { justify-self: center; }
.header-icon { display: inline-flex; align-items: center; justify-content: center; position: relative; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; color: inherit; text-decoration: none; transition: background .2s; }
.header-icon:hover { background: var(--color-surface-2); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.header-icon--account { display: none; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--color-accent); color: #fff; font-size: .66rem; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.cart-count.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.header-dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-warning); border: 2px solid var(--color-bg); }
.header-quick { display: none; align-items: center; gap: 7px; margin-right: 8px; padding: 8px 14px; border: 1px solid var(--color-border); border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-decoration: none; transition: border-color .2s, background .2s; }
.header-quick:hover { border-color: var(--color-text); background: var(--color-surface-2); }
.header-quick .icon { color: var(--color-accent); }
.header-quick { white-space: nowrap; }
@media (min-width: 990px) and (max-width: 1199px) { .header-quick span { display: none; } .header-quick { padding: 9px; margin-right: 2px; } .main-nav__link { padding: 10px 10px; } }
.main-nav { display: none; }

@media (min-width: 990px) {
  :root { --header-h: 80px; }
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 32px; }
  .site-header .logo { justify-self: start; }
  .header-icon--menu { display: none; }
  .header-icon--account { display: inline-flex; }
  .header-quick { display: inline-flex; }
  .main-nav { display: block; justify-self: center; }
  .main-nav__list { display: flex; list-style: none; padding: 0; margin: 0; gap: 4px; }
  .main-nav__link { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-size: .88rem; font-weight: 500; letter-spacing: .02em; text-decoration: none; position: relative; }
  .main-nav__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--duration) var(--ease); }
  .main-nav__item:hover > .main-nav__link::after, .main-nav__item.is-open > .main-nav__link::after, .main-nav__link[aria-current]::after { transform: scaleX(1); }
  .main-nav__link .icon { transition: transform var(--duration) var(--ease); opacity: .7; }
  .main-nav__item.is-open > .main-nav__link .icon { transform: rotate(180deg); }
  .has-dropdown { position: relative; }
  .has-mega { position: static; }
  .dropdown, .mega { position: absolute; top: 100%; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; z-index: 50; }
  .main-nav__item.is-open > .dropdown, .main-nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
  .dropdown { left: 0; min-width: 240px; padding: 12px 0; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
  .dropdown ul { list-style: none; margin: 0; padding: 0; }
  .dropdown a { display: flex; align-items: center; gap: 6px; padding: 9px 22px; font-size: .9rem; text-decoration: none; transition: background .15s, padding .2s; }
  .dropdown a:hover { background: var(--color-surface-2); padding-left: 26px; }
  .dropdown__all { border-top: 1px solid var(--color-border); margin-top: 6px; padding-top: 6px; }
  .dropdown__all a { font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
  .mega { left: 0; right: 0; background: var(--color-bg); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); box-shadow: 0 30px 40px -20px rgb(0 0 0 / .15); }
  .mega__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 36px; padding-bottom: 40px; }
  .mega__heading { font-family: var(--font-heading); font-size: 1.15rem; text-decoration: none; display: block; margin-bottom: 12px; }
  .mega__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
  .mega__col a { text-decoration: none; font-size: .92rem; color: var(--color-muted); }
  .mega__col a:hover { color: var(--color-text); }
  .mega__inner--brands { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1200px; }
  .mega-brand { display: flex; flex-direction: column; gap: 16px; }
  .mega-brand__card { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface); }
  .mega-brand__media, .mega-brand__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mega-brand__media img { transition: transform .8s var(--ease); }
  .mega-brand__card:hover .mega-brand__media img { transform: scale(1.05); }
  .mega-brand__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 30%, rgb(0 0 0 / .55)); }
  .mega-brand__logo { position: absolute; left: 18px; bottom: 16px; z-index: 1; max-width: 62%; color: #fff; font-family: var(--font-heading); font-size: 1.4rem; }
  .mega-brand__logo img { max-height: 34px; width: auto; filter: brightness(0) invert(1); }
  .mega-brand__name { font-family: var(--font-heading); font-size: 1.2rem; text-decoration: none; }
  .mega-brand__tagline { color: var(--color-muted); font-size: .88rem; line-height: 1.5; margin: 4px 0 10px; }
  .mega-brand__lines { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .mega-brand__lines a { display: inline-block; padding: 4px 11px; border: 1px solid var(--color-border); border-radius: 999px; font-size: .8rem; text-decoration: none; transition: border-color .2s; }
  .mega-brand__lines a:hover { border-color: var(--color-text); }
  .mega-all { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 160px; padding: 24px; border-radius: var(--radius-md); background: var(--color-surface); text-decoration: none; gap: 6px; }
  .mega-all strong { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 500; }
  .mega-all .eyebrow { margin: 0; }
  .mega-all .link-arrow { margin-top: 10px; }
}

/* Ricerca predittiva */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--color-bg); border-bottom: 1px solid var(--color-border); box-shadow: 0 30px 40px -20px rgb(0 0 0 / .18); padding: 14px 0 22px; animation: slideDown .25s var(--ease); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--color-text); padding-bottom: 6px; }
.search-form > .icon { color: var(--color-muted); flex: none; }
.search-form__input { flex: 1; min-width: 0; border: 0; background: none; font-size: clamp(1.1rem, 2vw, 1.4rem); font-family: var(--font-heading); padding: 10px 0; }
.search-form__input:focus { outline: none; }
.search-form__input::-webkit-search-cancel-button { display: none; }
.predictive { max-height: min(70vh, 640px); overflow-y: auto; }
.predictive:empty { display: none; }
.predictive__grid { display: grid; gap: 24px; padding-top: 20px; }
@media (min-width: 750px) { .predictive__grid { grid-template-columns: 1fr 2fr; } }
.predictive__heading { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin: 0 0 10px; }
.predictive__list { list-style: none; padding: 0; margin: 0 0 18px; }
.predictive__list a { display: block; padding: 6px 0; text-decoration: none; font-size: .95rem; }
.predictive__list a:hover, .predictive__list a.is-active { text-decoration: underline; }
.predictive__products { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.predictive__product { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--radius-md); text-decoration: none; transition: background .15s; }
.predictive__product:hover, .predictive__product.is-active { background: var(--color-surface-2); }
.predictive__product img { width: 56px; height: 56px; object-fit: contain; background: var(--color-tile); border-radius: var(--radius); padding: 4px; flex: none; mix-blend-mode: multiply; }
.predictive__product small { display: block; color: var(--color-muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.predictive__product strong { display: block; font-weight: 500; font-size: .95rem; line-height: 1.35; }
.predictive__product span.pp { font-size: .85rem; color: var(--color-muted); }
.predictive__all { display: flex; align-items: center; justify-content: space-between; padding: 14px 8px 0; margin-top: 10px; border-top: 1px solid var(--color-border); font-weight: 500; text-decoration: none; }
.predictive__empty { padding: 24px 0 4px; color: var(--color-muted); }
.predictive__loading { padding: 20px 0; display: grid; gap: 10px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__overlay { position: absolute; inset: 0; background: rgb(20 18 16 / .45); opacity: 0; transition: opacity .3s var(--ease); backdrop-filter: blur(2px); }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(440px, 92vw); background: var(--color-bg); display: flex; flex-direction: column; transition: transform .38s var(--ease); box-shadow: var(--shadow-lg); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--color-border); }
.drawer__title { font-family: var(--font-heading); font-size: 1.35rem; margin: 0; font-weight: 500; }
.drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px; overscroll-behavior: contain; }
.drawer__footer { padding: 18px 24px 22px; border-top: 1px solid var(--color-border); display: grid; gap: 10px; background: var(--color-bg); }

.mobile-search { display: flex; border: 1px solid var(--color-border-strong); border-radius: var(--radius); margin-bottom: 18px; }
.mobile-search input { flex: 1; border: 0; padding: 12px 14px; min-width: 0; background: none; }
.mobile-search input:focus { outline: none; }
.mobile-search button { border: 0; background: none; padding: 0 14px; }
.mobile-nav { list-style: none; padding: 0; margin: 0; }
.mobile-nav > li { border-bottom: 1px solid var(--color-border); }
.mobile-nav a, .mobile-nav summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 0; text-decoration: none; font-family: var(--font-heading); font-size: 1.25rem; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] > summary .icon { transform: rotate(180deg); }
.mobile-nav summary .icon { transition: transform .25s; }
.mobile-nav ul { list-style: none; padding: 0 0 14px 12px; margin: 0; }
.mobile-nav ul a { font-family: var(--font-body); font-size: .98rem; padding: 9px 0; justify-content: flex-start; }
.mobile-nav ul ul { padding-bottom: 4px; }
.mobile-nav ul ul a { color: var(--color-muted); font-size: .9rem; padding: 6px 0; }
.mobile-nav__all { font-weight: 600 !important; font-size: .78rem !important; letter-spacing: .12em; text-transform: uppercase; }
.mobile-nav a .icon { color: var(--color-accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-text); color: color-mix(in srgb, var(--color-bg) 78%, var(--color-text)); padding: clamp(56px, 7vw, 88px) 0 28px; margin-top: 0; font-size: .93rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--color-bg); }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 750px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr) 1.5fr; gap: 48px; } }
.logo--footer { color: var(--color-bg); margin-bottom: 18px; }
.logo--footer img { filter: brightness(0) invert(1); max-height: 48px; width: auto; max-width: var(--logo-width); }
.site-footer__about p { max-width: 380px; line-height: 1.7; }
.site-footer__heading { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-bg); margin: 0 0 18px; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__contacts { margin-top: 20px !important; }
.site-footer__contacts li { display: flex; align-items: center; gap: 10px; }
.social-links { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 8px; }
.social-links a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--color-bg) 25%, transparent); border-radius: 50%; transition: background .2s, border-color .2s, color .2s; }
.social-links a:hover { background: var(--color-bg); color: var(--color-text); border-color: var(--color-bg); }
.site-footer__newsletter p { margin-bottom: 14px; }
.newsletter-form__field { display: flex; border-bottom: 1px solid currentColor; }
.newsletter-form__field input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; font-size: 1rem; color: inherit; }
.newsletter-form__field input::placeholder { color: inherit; opacity: .6; }
.newsletter-form__field input:focus { outline: none; }
.newsletter-form__field button { border: 0; background: none; color: inherit; padding: 0 4px 0 12px; transition: transform .2s; }
.newsletter-form__field button:hover { transform: translateX(4px); }
.newsletter-form__note { font-size: .76rem; opacity: .7; margin: 10px 0 0; }
.newsletter-form__note a { text-decoration: underline; }
.newsletter-form__msg { font-size: .88rem; margin: 8px 0 0; min-height: 1em; }
.newsletter-form__msg.is-error { color: #ff9d8f; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--color-bg) 15%, transparent); font-size: .8rem; }
.site-footer__legal p { margin: 0 0 8px; }
.site-footer__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-icon { display: inline-flex; align-items: center; justify-content: center; height: 26px; min-width: 42px; padding: 0 8px; border-radius: 4px; font-size: .62rem; font-weight: 800; letter-spacing: .05em; font-style: italic; }
.payment-icon--mc { background: #fff; position: relative; width: 42px; }
.payment-icon--mc i { width: 14px; height: 14px; border-radius: 50%; background: #eb001b; display: block; }
.payment-icon--mc i + i { background: #f79e1b; margin-left: -6px; mix-blend-mode: multiply; }

/* newsletter section (home) */
.newsletter-section .newsletter-form { max-width: 520px; margin: 28px auto 0; text-align: left; }

/* ---------- Toast ---------- */
.toasts { position: fixed; z-index: 400; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 10px; pointer-events: none; }
@media (min-width: 750px) { .toasts { left: auto; right: 24px; bottom: 24px; width: 380px; } }
.toast { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px 14px 18px; border-radius: var(--radius-md); background: var(--color-text); color: var(--color-bg); box-shadow: var(--shadow-lg); font-size: .92rem; line-height: 1.45; pointer-events: auto; transform: translateY(16px); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.toast.is-visible { transform: none; opacity: 1; }
.toast > span { flex: 1; }
.toast--success { border-left: 4px solid #6fcf97; }
.toast--critical { border-left: 4px solid #ff7b6b; }
.toast--warning { border-left: 4px solid #f2c94c; }
.toast--info { border-left: 4px solid var(--color-accent); }
.toast__close { border: 0; background: none; color: inherit; opacity: .6; font-size: 1.3rem; line-height: 1; padding: 0 2px; }
.toast__close:hover { opacity: 1; }
.toast a { color: inherit; font-weight: 600; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; z-index: 300; left: 16px; right: 16px; bottom: 16px; max-width: 560px; padding: 22px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: grid; gap: 16px; font-size: .9rem; animation: slideUp .4s var(--ease); }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cookie-banner strong { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 500; display: block; margin-bottom: 6px; }
.cookie-banner p { color: var(--color-muted); margin: 0; }
.cookie-banner__actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (min-width: 750px) { .cookie-banner { left: 24px; bottom: 24px; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgb(250 248 246 / .98); display: flex; align-items: center; justify-content: center; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; }
.lightbox__stage img { max-width: 92vw; max-height: 88vh; object-fit: contain; transition: transform .3s var(--ease); mix-blend-mode: multiply; }
.lightbox.is-zoomed .lightbox__stage { cursor: zoom-out; }
.lightbox.is-zoomed .lightbox__stage img { transform: scale(2.2); transition: transform .1s linear; }
.lightbox__close, .lightbox__nav { position: absolute; z-index: 2; border: 0; background: var(--color-bg); width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: transform .2s; }
.lightbox__close:hover, .lightbox__nav:hover { transform: scale(1.06); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; margin-top: -26px; }
.lightbox__nav--next { right: 18px; top: 50%; margin-top: -26px; }

/* ---------- Breadcrumb, paginazione ---------- */
.breadcrumbs { font-size: .78rem; color: var(--color-muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--color-text); }
.breadcrumbs [aria-current] { color: var(--color-text); }
.pagination { margin-top: 48px; }
.pagination ul { list-style: none; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 0; }
.pagination__page, .pagination__arrow, .pagination__gap { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 6px; border-radius: 50%; text-decoration: none; font-size: .92rem; font-variant-numeric: tabular-nums; transition: background .2s; }
.pagination__page:hover, .pagination__arrow:hover { background: var(--color-surface-2); }
.pagination__page.is-current { background: var(--color-text); color: var(--color-bg); }
.pagination__arrow.is-disabled { opacity: .3; }

/* ---------- Hero pagina ---------- */
.page-hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.page-hero--simple { background: var(--color-surface); }
.page-hero--compact { padding-bottom: clamp(24px, 3vw, 36px); }
.page-hero--simple .h0, .page-hero--simple .h1 { margin-bottom: 12px; }
.page-hero .lead, .page-hero__text { max-width: 680px; color: var(--color-muted); }
.page-hero--image { min-height: clamp(260px, 36vw, 420px); display: flex; align-items: flex-end; color: #fff; padding-top: 80px; }
.page-hero__media { position: absolute; inset: 0; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .1), rgb(0 0 0 / .55)); }
.page-hero--image .page-hero__content { position: relative; z-index: 1; }
.page-hero--image .breadcrumbs, .page-hero--image .breadcrumbs [aria-current], .page-hero--image .page-hero__text, .page-hero--image .eyebrow { color: #fff; }

/* ---------- Scheda prodotto (card) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 750px) { .product-grid { gap: 40px 20px; } .product-grid--3, .product-grid--4, .product-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 990px) { .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .product-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 16px; } }
@media (min-width: 990px) { .product-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 749px) {
  .product-grid--scroll-mobile { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .product-grid--scroll-mobile::-webkit-scrollbar { display: none; }
  .product-grid--scroll-mobile > * { flex: 0 0 68%; scroll-snap-align: start; }
}
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.product-card__media { position: relative; display: block; aspect-ratio: var(--card-ratio); background: var(--color-tile); border-radius: var(--radius-md); overflow: hidden; }
.product-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.product-card__img--alt { opacity: 0; }
@media (hover: hover) {
  .product-card--hover:hover .product-card__img:not(.product-card__img--alt) { opacity: 0; }
  .product-card--hover:hover .product-card__img--alt { opacity: 1; }
  .product-card:hover .product-card__img { transform: scale(1.04); }
}
.product-card.is-soldout .product-card__img { opacity: .55; }
.product-card__badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.product-card__quick { position: absolute; left: 10px; right: 10px; top: 0; z-index: 3; aspect-ratio: var(--card-ratio); display: flex; align-items: flex-end; padding-bottom: 10px; pointer-events: none; }
.product-card__quick-btn { pointer-events: auto; opacity: 0; transform: translateY(10px); transition: opacity .25s var(--ease), transform .25s var(--ease); background: var(--color-bg); color: var(--color-text); border-color: var(--color-bg); box-shadow: var(--shadow-sm); }
.product-card__quick-btn:hover { --btn-bg: var(--color-text); --btn-fg: var(--color-bg); --btn-bd: var(--color-text); background: var(--color-text); color: var(--color-bg); }
.product-card:hover .product-card__quick-btn, .product-card__quick-btn:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .product-card__quick { position: relative; left: 0; right: 0; aspect-ratio: auto; padding: 10px 0 0; order: 3; } .product-card__quick-btn { opacity: 1; transform: none; border-color: var(--color-border-strong); box-shadow: none; } }
@media (max-width: 749px) { .product-card__quick { position: relative; left: 0; right: 0; order: 3; aspect-ratio: auto; padding: 10px 0 0; } .product-card__quick-btn { opacity: 1; transform: none; border-color: var(--color-border-strong); box-shadow: none; min-height: 38px; font-size: .66rem; padding: 0 10px; } }
.product-card__info { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 3px; }
.product-card__brand { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin: 0; }
.product-card__title { font-family: var(--font-body); font-size: .98rem; font-weight: 500; line-height: 1.35; letter-spacing: 0; margin: 0; }
.product-card__title a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease); }
.product-card:hover .product-card__title a { background-size: 100% 1px; }
.product-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-card__price a { z-index: 3; position: relative; }
.product-card__variants { font-size: .8rem; color: var(--color-muted); margin: 0; }
.product-card__price { margin-top: 6px; display: flex; flex-direction: column; gap: 3px; }
.price { font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
.price__from { font-weight: 400; color: var(--color-muted); font-size: .85em; }
.price__tax { font-weight: 400; color: var(--color-muted); font-size: .78rem; }
.price-retail { font-size: .76rem; color: var(--color-muted); }
.price-locked { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--color-muted); text-decoration: none; }
a.price-locked:hover { color: var(--color-text); text-decoration: underline; }
.price-locked--pending { color: var(--color-warning); }
.product-card--placeholder .product-card__title { color: var(--color-muted); }

/* ---------- Slideshow (hero) ---------- */
.slideshow { position: relative; overflow: hidden; background: var(--color-text); color: #fff; --slide-h: 72vh; }
.slideshow--small { --slide-h: 48vh; }
.slideshow--medium { --slide-h: 62vh; }
.slideshow--large { --slide-h: 80vh; }
.slideshow__track { display: grid; }
.slide { grid-area: 1 / 1; position: relative; min-height: clamp(440px, var(--slide-h), 860px); display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__media { position: absolute; inset: 0; overflow: hidden; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active .slide__media img { transform: scale(1); }
.slide__media .placeholder-art { height: 100%; }
.slide__overlay { position: absolute; inset: 0; background: #000; }
.slide--light .slide__overlay { background: linear-gradient(90deg, #000 0%, rgb(0 0 0 / .55) 55%, rgb(0 0 0 / .25) 100%); }
.slide--center.slide--light .slide__overlay { background: #000; }
.slide--right.slide--light .slide__overlay { background: linear-gradient(270deg, #000 0%, rgb(0 0 0 / .55) 55%, rgb(0 0 0 / .25) 100%); }
.slide--dark { color: #1c1917; }
.slide--dark .slide__overlay { background: #fff; }
.slide__content { position: relative; z-index: 1; display: flex; padding-top: 64px; padding-bottom: 88px; }
.slide--center .slide__content { justify-content: center; text-align: center; }
.slide--right .slide__content { justify-content: flex-end; }
.slide__box { max-width: 640px; }
.slide--center .slide__box { margin: 0 auto; }
.slide--center .button-group { justify-content: center; }
.slide .eyebrow { color: inherit; opacity: .85; }
.slide__heading { margin-bottom: 18px; }
.slide__text { font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.6; opacity: .9; max-width: 540px; margin-bottom: 28px; }
.slide--center .slide__text { margin-left: auto; margin-right: auto; }
.slide.is-active .slide__box > * { animation: riseIn .9s var(--ease) both; }
.slide.is-active .slide__box > *:nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide__box > *:nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide__box > *:nth-child(4) { animation-delay: .24s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slideshow__arrow { position: absolute; z-index: 3; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .4); background: rgb(0 0 0 / .12); color: #fff; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: background .2s, border-color .2s; }
.slideshow__arrow:hover { background: #fff; color: #1c1917; border-color: #fff; }
.slideshow__arrow--prev { left: 20px; }
.slideshow__arrow--next { right: 20px; }
@media (min-width: 990px) { .slideshow__arrow { display: inline-flex; } .slide__content { padding-left: calc(var(--gutter) + 56px); padding-right: calc(var(--gutter) + 56px); } }
.slideshow__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 4px; }
.slideshow__dot { border: 0; background: none; padding: 10px 4px; color: inherit; }
.slideshow__dot span { display: block; width: 28px; height: 2px; background: currentColor; opacity: .35; transition: opacity .3s, width .3s; position: relative; overflow: hidden; }
.slideshow__dot.is-active span { opacity: 1; width: 44px; }
.slideshow__dots--inline { position: static; }

/* ---------- Brand card / showcase ---------- */
.brand-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 750px) { .brand-cards--2, .brand-cards--3 { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 990px) { .brand-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.brand-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(380px, 42vw, 560px); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.brand-card__media { position: absolute; inset: 0; z-index: -1; background: var(--color-surface); }
.brand-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.brand-card:hover .brand-card__media img { transform: scale(1.05); }
.brand-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 25%, rgb(0 0 0 / .72) 100%); }
.brand-card__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.brand-card__logo img { max-height: 44px; max-width: 70%; width: auto; filter: brightness(0) invert(1); }
.brand-card__logo strong { font-family: var(--font-heading); font-size: 2rem; font-weight: 500; }
.brand-card__tagline { font-size: 1.02rem; line-height: 1.55; max-width: 460px; opacity: .92; }
.brand-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .28); font-size: .85rem; }
.brand-card__meta .link-arrow { color: #fff; }
.brand-card:hover .link-arrow .icon { transform: translateX(4px); }
.logo-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logo-row__item { display: flex; align-items: center; justify-content: center; width: 240px; height: 120px; padding: 28px; border: 1px solid var(--color-border); border-radius: var(--radius-md); transition: border-color .2s, box-shadow .2s; }
.logo-row__item:hover { border-color: var(--color-text); box-shadow: var(--shadow-sm); }
.logo-row__item img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(1); transition: filter .3s; }
.logo-row__item:hover img { filter: none; }

/* Brand in evidenza */
.featured-brand__intro { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 990px) {
  .featured-brand__intro { grid-template-columns: 1.15fr 1fr; gap: 72px; }
  .featured-brand--right .featured-brand__media { order: 2; }
}
.featured-brand__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); }
.featured-brand__media > img { width: 100%; height: 100%; object-fit: cover; }
.featured-brand__logo { position: absolute; left: 20px; bottom: 20px; background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); padding: 14px 18px; border-radius: var(--radius-md); }
.featured-brand__logo img { height: 30px; width: auto; max-width: none; }
.featured-brand__text .h1 { margin-bottom: 16px; }
.featured-brand__text .lead { margin-bottom: 24px; }
.featured-brand__text .eyebrow { color: var(--brand-accent); }
.volume-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--color-accent-soft); font-size: .88rem; margin-bottom: 28px; }
.volume-pill .icon { color: var(--brand-accent); flex: none; }

/* Collection tiles */
.collection-tiles { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 990px) { .collection-tiles--3 { grid-template-columns: repeat(3, 1fr); } .collection-tiles--4 { grid-template-columns: repeat(4, 1fr); } .collection-tiles { gap: 20px; } }
.collection-tile { display: block; text-decoration: none; }
.collection-tile__media { display: block; aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--color-tile); }
.collection-tile__media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.collection-tile:hover .collection-tile__media img { transform: scale(1.06); }
.collection-tile__title { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--font-heading); font-size: 1.2rem; }
.collection-tile__title .icon { transition: transform .25s var(--ease); }
.collection-tile:hover .collection-tile__title .icon { transform: translateX(4px); }

/* Immagine con testo */
.image-text { display: grid; gap: 32px; align-items: center; }
@media (min-width: 990px) { .image-text { grid-template-columns: 1fr 1fr; gap: 80px; } .image-text--right .image-text__media { order: 2; } }
.image-text__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--color-surface); }
.image-text__media img { width: 100%; height: 100%; object-fit: cover; }
.image-text__content .rte { color: var(--color-muted); margin-bottom: 28px; font-size: 1.05rem; }
.rich-text--center { text-align: center; }
.rich-text .rte { color: var(--color-muted); font-size: 1.08rem; margin: 0 auto 28px; }
.section--dark .rich-text .rte { color: color-mix(in srgb, var(--color-bg) 75%, transparent); }
.section--dark .eyebrow { color: var(--color-accent); }

/* Multicolonna */
.multicolumn { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .multicolumn { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 990px) { .multicolumn--3 { grid-template-columns: repeat(3, 1fr); } .multicolumn--4 { grid-template-columns: repeat(4, 1fr); } }
.multicolumn__item { display: flex; gap: 18px; align-items: flex-start; }
.multicolumn__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--color-bg); color: var(--color-accent); display: inline-flex; align-items: center; justify-content: center; }
.multicolumn__icon svg { width: 26px; height: 26px; }
.section--surface .multicolumn__icon { background: var(--color-bg); }
.multicolumn__title { font-family: var(--font-body); font-weight: 600; font-size: .98rem; letter-spacing: 0; margin: 4px 0 6px; }
.multicolumn__item p { color: var(--color-muted); font-size: .92rem; line-height: 1.55; }

/* Testimonianze */
.carousel { position: relative; }
.carousel__track { display: grid; }
.testimonial { grid-area: 1 / 1; margin: 0; text-align: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.testimonial.is-active { opacity: 1; visibility: visible; transform: none; }
.testimonial__mark { display: block; font-family: var(--font-heading); font-size: 5rem; line-height: .6; color: var(--color-accent); height: 40px; }
.testimonial blockquote { margin: 0 0 24px; font-family: var(--font-heading); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.4; letter-spacing: -.01em; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .92rem; }
.testimonial figcaption span { color: var(--color-muted); }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; color: var(--color-text); }
.carousel__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border); background: none; display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s; }
.carousel__arrow:hover { border-color: var(--color-text); }

/* CTA */
.cta-banner { position: relative; padding: clamp(80px, 11vw, 150px) 0; background: var(--color-text); color: #fff; text-align: center; overflow: hidden; }
.cta-banner__media { position: absolute; inset: 0; }
.cta-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner__media::after { content: ''; position: absolute; inset: 0; background: rgb(15 12 10 / .6); }
.cta-banner__content { position: relative; max-width: 780px; }
.cta-banner .lead { color: rgb(255 255 255 / .86); margin-bottom: 32px; }

/* Video */
.video-lite { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; cursor: pointer; }
.video-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .8s var(--ease); }
.video-lite:hover img { opacity: 1; transform: scale(1.02); }
.video-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-lite__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .94); color: #1c1917; display: flex; align-items: center; justify-content: center; padding-left: 5px; box-shadow: var(--shadow-md); transition: transform .3s var(--ease); }
.video-lite:hover .video-lite__play { transform: scale(1.08); }
.video-lite.is-playing .video-lite__play, .video-lite.is-playing img { display: none; }

/* Blog cards */
.article-grid { display: grid; gap: 40px 24px; grid-template-columns: 1fr; }
@media (min-width: 750px) { .article-grid--2, .article-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 990px) { .article-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.article-card { display: flex; flex-direction: column; gap: 18px; }
.article-card__media { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-md); overflow: hidden; background: var(--color-tile); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__meta { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); margin: 0 0 8px; }
.article-card__title { font-size: calc(1.35rem * var(--heading-scale)); margin: 0 0 10px; line-height: 1.25; }
.article-card__title a { text-decoration: none; }
.article-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.article-card__excerpt { color: var(--color-muted); font-size: .95rem; margin-bottom: 14px; }
.article-featured { display: grid; gap: 28px; align-items: center; margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--color-border); }
@media (min-width: 990px) { .article-featured { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.article-featured__media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-tile); display: block; }
.article-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.article-featured .h1 a { text-decoration: none; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; }

/* Articolo */
.article__header { padding-top: clamp(32px, 5vw, 64px); padding-bottom: 32px; text-align: center; }
.article__header .breadcrumbs ol { justify-content: center; }
.article__meta { color: var(--color-muted); font-size: .9rem; }
.article__image { margin: 0 auto 48px; max-width: 1200px; }
.article__image img { width: 100%; border-radius: var(--radius-lg); max-height: 640px; object-fit: cover; }
.article__body { padding-bottom: 32px; }
.article-brand { display: flex; gap: 24px; align-items: center; margin: 40px 0 0; padding: 24px; border-radius: var(--radius-lg); background: var(--color-surface); }
.article-brand__logo { flex: none; width: 140px; }
.article-brand__logo img { max-height: 40px; width: auto; }
.article-brand p { margin-bottom: 8px; }

/* ---------- Collezione / filtri ---------- */
.collection__layout { display: grid; gap: 32px; }
@media (min-width: 990px) { .collection__layout { grid-template-columns: 250px 1fr; gap: 48px; } }
.facets-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); margin-bottom: 16px; }
.facets-toolbar__count { margin: 0; font-size: .88rem; color: var(--color-muted); }
.facets-toolbar__sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.facets-toolbar__sort label { color: var(--color-muted); white-space: nowrap; }
@media (min-width: 990px) {
  .facets-toolbar__filter { display: none !important; }
  .collection__sidebar { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin; }
}
.active-filters { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; margin: 0 0 20px; }
.active-filters .chip { font-size: .8rem; padding: 5px 12px; }

/* Drawer filtri: mobile = drawer, desktop = sidebar statica */
.drawer--facets:not(.is-open) { display: none; }
@media (min-width: 990px) {
  .drawer--facets, .drawer--facets:not(.is-open) { display: block; position: static; z-index: auto; }
  .drawer--facets .drawer__overlay, .drawer--facets .drawer__header, .drawer--facets .facets__footer { display: none; }
  .drawer--facets .drawer__panel { position: static; transform: none; width: auto; box-shadow: none; background: none; }
  .drawer--facets .drawer__body { padding: 0; overflow: visible; }
}
.facet { border-bottom: 1px solid var(--color-border); padding: 4px 0; }
.facet__title { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; list-style: none; }
.facet__title::-webkit-details-marker { display: none; }
.facet__title .icon { transition: transform .25s; }
.facet[open] .facet__title .icon { transform: rotate(180deg); }
.facet__list { list-style: none; padding: 0 10px 12px 0; margin: 0; display: grid; gap: 2px; max-height: 300px; overflow-y: auto; scrollbar-width: thin; }
.facet__option { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; cursor: pointer; }
.facet__option input { accent-color: var(--color-primary); width: 16px; height: 16px; margin: 0; flex: none; }
.facet__option span:not(.facet__count) { flex: 1; }
.facet__option:hover span:not(.facet__count) { text-decoration: underline; text-underline-offset: 3px; }
.facet__option.is-empty { opacity: .45; }
.facet__count { font-size: .78rem; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.facet__option--check { padding-bottom: 14px; }
.facet__price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.facet__price label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; color: var(--color-muted); }
.facet__price input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--color-border-strong); border-radius: var(--radius); }
.facet .btn { margin-bottom: 16px; }
.collection.is-loading .collection__main { opacity: .45; pointer-events: none; transition: opacity .2s; }

.price-notice { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; padding: 16px 20px; margin-bottom: 28px; border-radius: var(--radius-md); background: var(--color-surface); font-size: .93rem; }
.price-notice p { flex: 1 1 320px; margin: 0; }
.price-notice__icon { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--color-bg); display: inline-flex; align-items: center; justify-content: center; color: var(--color-accent); }
.price-notice--pending .price-notice__icon { color: var(--color-warning); }
.price-notice__actions { display: flex; gap: 8px; }

.empty-state { text-align: center; padding: clamp(40px, 7vw, 80px) 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-state > .icon { color: var(--color-subtle); margin-bottom: 8px; }
.empty-state p { color: var(--color-muted); max-width: 440px; }
.empty-state--large { padding: clamp(60px, 10vw, 120px) 20px; }
.empty { color: var(--color-muted); text-align: center; padding: 32px 0; }

/* ---------- Pagina brand ---------- */
.brand-hero { position: relative; min-height: clamp(460px, 62vh, 700px); display: flex; align-items: flex-end; color: #fff; background: var(--color-text); overflow: hidden; }
.brand-hero__media { position: absolute; inset: 0; }
.brand-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 12s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.brand-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .62) 0%, rgb(0 0 0 / .35) 55%, rgb(0 0 0 / .1) 100%), linear-gradient(180deg, rgb(0 0 0 / .1) 0%, rgb(0 0 0 / .2) 40%, rgb(0 0 0 / .7) 100%); }
.brand-hero--plain { background: linear-gradient(135deg, var(--color-text), color-mix(in srgb, var(--brand-accent) 55%, var(--color-text))); }
.brand-hero__content { position: relative; z-index: 1; text-shadow: 0 1px 18px rgb(0 0 0 / .35); padding-top: 72px; padding-bottom: clamp(40px, 6vw, 72px); }
.brand-hero .breadcrumbs, .brand-hero .breadcrumbs [aria-current] { color: rgb(255 255 255 / .8); }
.brand-hero__logo { margin: 12px 0 22px; }
.brand-hero__logo img { max-height: clamp(44px, 7vw, 84px); width: auto; max-width: min(520px, 80vw); filter: brightness(0) invert(1); animation: riseIn 1s var(--ease) .1s both; }
.brand-hero__tagline { font-family: var(--font-heading); font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.3; max-width: 820px; margin-bottom: 28px; animation: riseIn 1s var(--ease) .2s both; }
.brand-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; animation: riseIn 1s var(--ease) .3s both; }
.brand-hero__badge { display: inline-flex; align-items: center; gap: 8px; margin: 28px 0 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

.volume-banner { background: var(--color-text); color: var(--color-bg); border-top: 1px solid rgb(255 255 255 / .1); }
.volume-banner__inner { display: grid; gap: 24px; padding-top: 28px; padding-bottom: 28px; align-items: center; }
@media (min-width: 990px) { .volume-banner__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.volume-banner__intro { display: flex; gap: 18px; align-items: center; }
.volume-banner__intro .h3 { margin: 0 0 4px; }
.volume-banner__intro p { margin: 0; font-size: .9rem; opacity: .75; }
.volume-banner__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.tiers-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(84px, 1fr); gap: 0; border: 1px solid rgb(255 255 255 / .18); border-radius: var(--radius-md); overflow: auto; }
.tiers-strip__tier { display: flex; flex-direction: column; align-items: center; padding: 12px 18px; text-align: center; border-left: 1px solid rgb(255 255 255 / .18); }
.tiers-strip__tier:first-child { border-left: 0; }
.tiers-strip__qty { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; opacity: .75; white-space: nowrap; }
.tiers-strip__pct { font-family: var(--font-heading); font-size: 1.7rem; line-height: 1.2; color: color-mix(in srgb, var(--brand-accent) 55%, #fff); }

.brand-story__grid { display: grid; gap: 32px; }
@media (min-width: 990px) { .brand-story__grid { grid-template-columns: 1fr 1.6fr; gap: 96px; } .brand-story__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.brand-story__aside .eyebrow { color: var(--brand-accent); }
.brand-story__text { color: color-mix(in srgb, var(--color-text) 82%, var(--color-bg)); }
.brand-story__text p:first-child::first-letter { font-family: var(--font-heading); float: left; font-size: 3.6em; line-height: .9; padding: 6px 10px 0 0; color: var(--brand-accent); }
.line-chips { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.line-chip { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: var(--radius-md); background: var(--color-bg); border: 1px solid transparent; text-decoration: none; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.line-chip:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.line-chip.is-active { border-color: var(--brand-accent); box-shadow: 0 0 0 1px var(--brand-accent); }
.line-chip__img { flex: none; width: 56px; height: 56px; border-radius: var(--radius); background: var(--color-tile); overflow: hidden; }
.line-chip__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.line-chip__text { display: flex; flex-direction: column; line-height: 1.3; }
.line-chip__text strong { font-weight: 600; font-size: .95rem; }
.line-chip__text span { font-size: .8rem; color: var(--color-muted); }
.brand-cta { background: linear-gradient(120deg, var(--color-text) 0%, color-mix(in srgb, var(--brand-accent) 40%, var(--color-text)) 100%); color: #fff; }
.brand-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.brand-cta__inner > div:first-child { max-width: 640px; }
.brand-cta .eyebrow { color: color-mix(in srgb, var(--brand-accent) 50%, #fff); }
.brand-cta p { opacity: .85; }

/* ---------- Pagina prodotto ---------- */
.product-page { padding-top: 24px; padding-bottom: clamp(40px, 6vw, 80px); }
.product { display: grid; gap: 32px; }
@media (min-width: 990px) { .product { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; } .product__info-inner { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (min-width: 1200px) { .product { gap: 88px; } }
.gallery__main { position: relative; aspect-ratio: 1; background: var(--color-tile); border-radius: var(--radius-lg); overflow: hidden; }
.gallery__slide { position: absolute; inset: 0; margin: 0; animation: fadeIn .35s var(--ease); }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.gallery__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__zoom-icon { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--color-bg); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .25s; }
.gallery__main:hover .gallery__zoom-icon { opacity: 1; }
.gallery__arrow { position: absolute; top: 50%; margin-top: -22px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--color-bg); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; justify-content: center; opacity: .9; transition: transform .2s; }
.gallery__arrow:hover { transform: scale(1.06); }
.gallery__arrow--prev { left: 14px; }
.gallery__arrow--next { right: 14px; }
.gallery__thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.gallery__thumb { width: 78px; height: 78px; padding: 0; border: 1px solid transparent; border-radius: var(--radius-md); background: var(--color-tile); overflow: hidden; flex: none; transition: border-color .2s, opacity .2s; opacity: .7; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--color-text); opacity: 1; }
.product__brand { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--brand-accent); margin-bottom: 10px; }
.product__brand:hover { text-decoration: underline; }
.product__title { font-size: calc(clamp(1.8rem, 3.2vw, 2.6rem) * var(--heading-scale)); margin-bottom: 10px; }
.product__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--color-muted); margin-bottom: 22px; }
.product__meta > span + span::before { content: '·'; margin-right: 16px; }
.product__price-block { padding: 20px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin-bottom: 24px; }
.product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price--large { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.01em; }
.price__list { color: var(--color-muted); font-size: 1rem; }
.product__group { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .85rem; color: var(--color-success); }
.price-retail--product { display: block; margin: 10px 0 0; font-size: .88rem; }
.price-gate { padding: 20px; border-radius: var(--radius-md); background: var(--color-surface); }
.price-gate__title { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 6px; }
.price-gate p:not(.price-gate__title) { color: var(--color-muted); font-size: .92rem; }
.price-gate .button-group { margin-top: 14px; }
.variant-picker { margin-bottom: 20px; }
.variant-picker__legend { font-size: .86rem; margin-bottom: 10px; padding: 0; }
.variant-picker__legend strong { font-weight: 600; }
.variant-picker__values { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-picker--many .variant-picker__values { max-height: 232px; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.variant-picker__filter { display: flex; align-items: center; gap: 8px; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 0 12px; margin-bottom: 10px; color: var(--color-muted); }
.variant-picker__filter input { border: 0; flex: 1; min-height: 40px; background: none; color: var(--color-text); }
.variant-picker__filter input:focus { outline: none; }
.variant-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 52px; padding: 8px 16px; border: 1px solid var(--color-border-strong); border-radius: var(--radius); font-size: .9rem; cursor: pointer; background: var(--color-bg); transition: border-color .15s, background .15s, color .15s; user-select: none; position: relative; }
.variant-btn:hover { border-color: var(--color-text); }
.variant-picker--pills .variant-btn { border-radius: 999px; min-height: 38px; padding: 6px 15px; font-size: .86rem; }
input:checked + .variant-btn { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
input:focus-visible + .variant-btn { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.variant-btn.is-unavailable { color: var(--color-subtle); background-image: linear-gradient(to top right, transparent calc(50% - 1px), var(--color-border-strong), transparent calc(50% + 1px)); }
input:checked + .variant-btn.is-unavailable { background-image: none; opacity: .75; }
.variant-btn.is-missing { opacity: .35; border-style: dashed; }
.variant-btn.is-filtered { display: none; }
.availability { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; margin: 0 0 18px; }
.availability__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-success) 18%, transparent); flex: none; }
.availability--low .availability__dot { background: #d68a00; box-shadow: 0 0 0 4px rgb(214 138 0 / .18); }
.availability--backorder .availability__dot { background: var(--color-info); box-shadow: 0 0 0 4px rgb(45 91 134 / .16); }
.availability--out .availability__dot { background: var(--color-critical); box-shadow: 0 0 0 4px rgb(179 38 30 / .14); }
.product-form__buy { display: flex; gap: 10px; flex-wrap: wrap; }
.product-form__submit { flex: 1 1 220px; }
.product-form__rules { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--color-muted); margin: 10px 0 0; }
.product-form__line-total { font-size: .88rem; margin: 12px 0 0; color: var(--color-muted); }
.product-form__line-total strong { color: var(--color-text); }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--color-border-strong); border-radius: var(--radius); height: 56px; background: var(--color-bg); }
.qty__btn { width: 44px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; color: var(--color-muted); transition: color .15s; }
.qty__btn:hover { color: var(--color-text); }
.qty__input { width: 56px; border: 0; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; background: none; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }
.qty:focus-within { border-color: var(--color-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 20%, transparent); }
.qty--small { height: 40px; }
.qty--small .qty__btn { width: 34px; }
.qty--small .qty__input { width: 44px; font-size: .92rem; }

.volume-box { margin: 28px 0 8px; padding: 20px; border-radius: var(--radius-md); background: var(--color-surface-2); border: 1px solid color-mix(in srgb, var(--brand-accent) 22%, transparent); }
.volume-box__header { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.volume-box__icon { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--brand-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.volume-box__title { font-family: var(--font-body); font-size: .98rem; font-weight: 600; letter-spacing: 0; margin: 0; }
.volume-box__note { margin: 0; font-size: .82rem; color: var(--color-muted); }
.volume-rule + .volume-rule { margin-top: 18px; }
.volume-rule__scope { font-size: .82rem; font-weight: 600; margin: 0 0 6px; }
.volume-rule__scope span { font-weight: 400; color: var(--color-muted); }
.tiers-table { font-size: .88rem; background: var(--color-bg); border-radius: var(--radius); overflow: hidden; }
.tiers-table th, .tiers-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--color-border); font-variant-numeric: tabular-nums; }
.tiers-table th { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); background: var(--color-bg); }
.tiers-table tbody tr:last-child td { border-bottom: 0; }
.tiers-table tr { transition: background .25s; }
.tiers-table__pct { font-weight: 600; color: color-mix(in srgb, var(--brand-accent) 75%, var(--color-text)); }
.tiers-table tr.is-reached { background: var(--color-accent-soft); }
.tiers-table tr.is-current { background: var(--brand-accent); color: #fff; }
.tiers-table tr.is-current .tiers-table__pct { color: #fff; }
.tiers-table tr.is-current td:first-child::before { content: '✓ '; }
.volume-box__progress { margin: 12px 0 0; font-size: .85rem; }
.volume-box__progress:empty { display: none; }
.product-usps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; font-size: .88rem; }
.product-usps li { display: flex; align-items: center; gap: 12px; }
.product-usps .icon { color: var(--color-accent); flex: none; }
.accordion { border-top: 1px solid var(--color-border); }
.accordion__item { border-bottom: 1px solid var(--color-border); }
.accordion__item summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; cursor: pointer; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; list-style: none; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary .icon { transition: transform .25s var(--ease); }
.accordion__item[open] summary .icon { transform: rotate(180deg); }
.accordion__content { padding: 0 0 22px; font-size: .95rem; }
.sticky-buy { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; background: var(--color-bg); border-top: 1px solid var(--color-border); box-shadow: 0 -8px 24px rgb(0 0 0 / .06); transform: translateY(100%); transition: transform .3s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy__inner { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.sticky-buy__title { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__price { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Ricerca ---------- */
.search-page-form { display: flex; gap: 10px; max-width: 720px; margin-top: 20px; }
.search-page-form .input { flex: 1; min-width: 0; }
.search-page-form--center { margin: 28px auto; }
.search-pages { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

/* ---------- Carrello ---------- */
.cart-page { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 96px); }
.cart-page__header { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.cart-page__header .h1 { margin: 0; }
.cart-layout { display: grid; gap: 40px; }
@media (min-width: 1100px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; } .cart-layout__side { position: sticky; top: calc(var(--header-h) + 24px); } }
.progress-card { padding: 16px 18px; border-radius: var(--radius-md); background: var(--color-surface-2); margin-bottom: 12px; font-size: .9rem; }
.progress-card p { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.progress-card .icon { color: var(--color-accent); flex: none; }
.progress-card.is-complete .icon { color: var(--color-success); }
.progress { height: 6px; background: var(--color-border); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--color-accent), color-mix(in srgb, var(--color-accent) 60%, var(--color-text))); border-radius: inherit; transition: width .6s var(--ease); }
.is-complete .progress span { background: var(--color-success); }
.nudge { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 10px; border-radius: var(--radius-md); border: 1px dashed color-mix(in srgb, var(--brand-accent) 55%, transparent); background: color-mix(in srgb, var(--color-accent-soft) 60%, var(--color-bg)); font-size: .88rem; }
.nudge .icon { color: var(--brand-accent); flex: none; }
.cart-table { margin-top: 20px; }
.cart-table th { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); padding: 0 0 12px; text-align: left; border-bottom: 1px solid var(--color-border); }
.cart-table__qty-h, .cart-table__total-h { text-align: right !important; }
.cart-line td { padding: 22px 0; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.cart-line__product { display: flex; gap: 18px; }
.cart-line__img { flex: none; width: 96px; height: 96px; border-radius: var(--radius-md); background: var(--color-tile); overflow: hidden; }
.cart-line__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.cart-line__info { min-width: 0; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.cart-line__brand { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin: 0; }
.cart-line__title { font-weight: 500; text-decoration: none; line-height: 1.35; }
.cart-line__title:hover { text-decoration: underline; }
.cart-line__variant, .cart-line__sku { font-size: .84rem; color: var(--color-muted); margin: 0; }
.cart-line .badge--volume { margin-top: 6px; }
.cart-line__qty { text-align: right; padding-left: 16px !important; white-space: nowrap; }
.cart-line__remove { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; border: 0; background: none; padding: 0; font-size: .8rem; color: var(--color-muted); text-decoration: underline; text-underline-offset: 3px; }
.cart-line__remove:hover { color: var(--color-critical); }
.cart-line__total { text-align: right; padding-left: 20px !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart-line__total s { display: block; color: var(--color-muted); font-size: .84rem; }
@media (max-width: 749px) {
  .cart-table thead { display: none; }
  .cart-line { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--color-border); padding: 18px 0; }
  .cart-line td { border: 0; padding: 0; }
  .cart-line__product { grid-column: 1 / -1; margin-bottom: 12px; }
  .cart-line__img { width: 76px; height: 76px; }
  .cart-line__qty { text-align: left; padding-left: 92px !important; display: flex; align-items: center; gap: 14px; }
  .cart-line__remove { margin: 0; }
  .cart-line__total { align-self: center; }
}
.cart-page__clear { margin-top: 18px; }
.cart-page.is-loading .cart-layout { opacity: .55; pointer-events: none; transition: opacity .2s; }
.summary-card { padding: 28px; border-radius: var(--radius-lg); background: var(--color-surface-2); }
.summary-card .h4 { margin-bottom: 18px; }
.summary-card__tax { font-size: .82rem; color: var(--color-muted); margin: 8px 0 18px; }
.summary-card__hint { font-size: .8rem; color: var(--color-muted); margin: 10px 0 0; text-align: center; }
.summary-card .btn--block + .cart-quote, .summary-card .cart-quote { margin-top: 10px; }
.summary-card .notice { margin-top: 4px; }
.discount-form { margin-bottom: 18px; }
.discount-applied { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.discount-applied .chip { background: var(--color-bg); font-weight: 600; letter-spacing: .04em; }
.discount-applied.is-invalid .chip { text-decoration: line-through; opacity: .7; }
.discount-form__msg { font-size: .82rem; margin: 8px 0 0; color: var(--color-success); }
.cart-note { margin: 0 0 16px; }
.cart-note summary { font-size: .88rem; cursor: pointer; margin-bottom: 8px; color: var(--color-muted); }
.cart-note .textarea { min-height: 80px; font-size: .92rem; }
.totals { display: grid; gap: 10px; font-size: .93rem; padding: 16px 0 0; border-top: 1px solid var(--color-border); font-variant-numeric: tabular-nums; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt small { display: block; color: var(--color-muted); font-size: .78rem; }
.totals dd { text-align: right; white-space: nowrap; }
.totals__discount dd, .totals__discount dt { color: var(--color-success); }
.totals__total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--color-border); font-weight: 600; font-size: 1.05rem; }
.totals__total small { font-weight: 400; color: var(--color-muted); font-size: .78rem; }
.totals__total--grand { font-size: 1.3rem; align-items: baseline; }
.totals--compact { font-size: .9rem; padding-top: 12px; }

/* Drawer carrello */
.cart-drawer .drawer__panel { width: min(480px, 100vw); }
.cart-drawer__count { font-family: var(--font-body); font-size: .85rem; color: var(--color-muted); }
.cart-drawer__progress { padding: 14px 24px; border-bottom: 1px solid var(--color-border); font-size: .85rem; }
.cart-drawer__progress:empty { display: none; }
.cart-drawer__progress p { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.cart-drawer__progress .icon { color: var(--color-accent); }
.cart-drawer__body { padding-top: 8px; padding-bottom: 8px; min-height: 160px; }
.cart-drawer__footer { gap: 8px; padding-top: 14px; }
.cart-drawer__footer .totals { gap: 6px; }
.dline { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--color-border); transition: opacity .2s; }
.dline:last-child { border-bottom: 0; }
.dline.is-updating { opacity: .45; pointer-events: none; }
.dline__img { width: 84px; height: 84px; border-radius: var(--radius-md); background: var(--color-tile); overflow: hidden; display: block; }
.dline__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.dline__info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dline__brand { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); }
.dline__title { font-weight: 500; font-size: .94rem; line-height: 1.35; text-decoration: none; }
.dline__title:hover { text-decoration: underline; }
.dline__meta { font-size: .8rem; color: var(--color-muted); }
.dline__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.dline__price { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-size: .95rem; }
.dline__price s { display: block; font-weight: 400; color: var(--color-muted); font-size: .8rem; }
.dline__remove { border: 0; background: none; padding: 4px; color: var(--color-muted); }
.dline__remove:hover { color: var(--color-critical); }
.dline .badge--volume { align-self: flex-start; margin-top: 4px; }
.cart-drawer__hints .nudge { font-size: .82rem; padding: 10px 12px; margin-bottom: 8px; }
.cart-drawer__tax { font-size: .78rem; color: var(--color-muted); margin: 0; }
.cart-drawer__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.cart-drawer__actions .btn { padding: 0 14px; }
.cart-drawer__empty { text-align: center; padding: 56px 12px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cart-drawer__empty .icon { color: var(--color-subtle); }
.cart-drawer .notice { margin: 0; font-size: .84rem; }

/* ---------- Checkout ---------- */
.layout-checkout { background: var(--color-bg); }
.checkout-header { border-bottom: 1px solid var(--color-border); }
.checkout-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.checkout-header__cart { color: var(--color-accent); }
.checkout-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--color-border); font-size: .8rem; color: var(--color-muted); }
.checkout-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.checkout-footer a { text-decoration: none; }
.checkout-footer a:hover { text-decoration: underline; }
.checkout-footer p { margin: 0; }
.checkout { display: grid; max-width: 1240px; margin: 0 auto; }
.checkout__main { padding: 32px var(--gutter) 56px; min-width: 0; }
.checkout__summary { background: var(--color-surface-2); border-bottom: 1px solid var(--color-border); order: -1; }
.checkout__summary-inner { padding: 20px var(--gutter); }
@media (min-width: 990px) {
  .checkout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: calc(100vh - 160px); }
  .checkout__main { padding: 48px 56px 72px var(--gutter); }
  .checkout__summary { order: 0; border-bottom: 0; border-left: 1px solid var(--color-border); position: relative; }
  .checkout__summary::after { content: ''; position: absolute; top: 0; bottom: 0; left: 100%; width: 50vw; background: inherit; }
  .checkout__summary-inner { position: sticky; top: 0; padding: 48px 40px 48px 48px; max-height: 100vh; overflow-y: auto; }
}
.checkout .breadcrumbs { margin-bottom: 28px; }
.checkout-step { padding: 28px 0; border-bottom: 1px solid var(--color-border); }
.checkout-step:first-child { padding-top: 0; }
.checkout-step--last { border-bottom: 0; }
.checkout-step__title { font-family: var(--font-body); font-size: 1.12rem; font-weight: 600; letter-spacing: 0; margin: 0 0 16px; }
.checkout-step__sub { color: var(--color-muted); font-size: .88rem; margin: -8px 0 16px; }
.checkout-step .select-wrap { margin-bottom: 16px; }
.address-new { margin-top: 4px; }
.billing-fields { margin-top: 14px; }
.company-box { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--color-border); border-radius: var(--radius-md); font-size: .9rem; }
.company-box dl { display: grid; gap: 6px; }
.company-box dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.company-box dt { color: var(--color-muted); }
@media (max-width: 600px) { .company-box { flex-direction: column; } .company-box dl > div { grid-template-columns: 1fr; gap: 0; } }
.choice-list { display: grid; border: 1px solid var(--color-border-strong); border-radius: var(--radius-md); overflow: hidden; }
.choice { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; cursor: pointer; transition: background .15s; }
.choice + .choice { border-top: 1px solid var(--color-border); }
.choice:hover { background: var(--color-surface-2); }
.choice:has(input:checked) { background: var(--color-accent-soft); box-shadow: inset 3px 0 0 var(--color-accent); }
.choice input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--color-primary); flex: none; }
.choice__body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.choice__title { font-weight: 500; }
.choice__desc { font-size: .84rem; color: var(--color-muted); line-height: 1.5; }
.choice--expand .choice__desc { display: none; }
.choice--expand:has(input:checked) .choice__desc { display: block; }
.choice__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.choice__icon { color: var(--color-muted); }
.checkout__submit { margin-top: 20px; }
.checkout__legal { font-size: .78rem; color: var(--color-muted); margin: 12px 0 0; text-align: center; }
.checkout__terms-note { display: flex; gap: 10px; align-items: center; margin: 18px 0 0; font-size: .84rem; color: var(--color-muted); }
.checkout__summary-toggle summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; padding: 4px 0 16px; font-size: .92rem; }
.checkout__summary-toggle summary::-webkit-details-marker { display: none; }
.checkout__summary-toggle summary span { display: inline-flex; align-items: center; gap: 8px; color: var(--color-accent); }
@media (min-width: 990px) { .checkout__summary-toggle summary { display: none; } }
.order-lines { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 16px; }
.order-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.order-line__img { position: relative; width: 64px; height: 64px; border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-bg); }
.order-line__img img { width: 100%; height: 100%; object-fit: contain; padding: 5px; border-radius: inherit; }
.order-line__qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--color-text) 70%, var(--color-bg)); color: var(--color-bg); font-size: .72rem; font-weight: 600; line-height: 22px; text-align: center; }
.order-line__info { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: .9rem; }
.order-line__info strong { font-weight: 500; line-height: 1.3; }
.order-line__info small { color: var(--color-muted); font-size: .78rem; }
.order-line__info .badge { align-self: flex-start; margin-top: 3px; }
.order-line__total { font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.checkout.is-loading [data-checkout-summary], .checkout.is-loading [data-shipping-rates] { opacity: .5; transition: opacity .2s; }
.thanks { text-align: center; margin-bottom: 36px; display: flex; flex-direction: column; align-items: center; }
.thanks--left { text-align: left; flex-direction: row; gap: 18px; align-items: center; }
.thanks--left .h2, .thanks--left .eyebrow { margin: 0; }
.thanks--small { margin: 0; padding: 20px 0; }
.thanks__icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--color-success); color: var(--color-success); margin-bottom: 18px; flex: none; animation: pop .5s var(--ease); }
.thanks--left .thanks__icon { margin: 0; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.info-card { padding: 20px 22px; border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 16px; font-size: .93rem; }
.info-card .h4, .info-card .h5 { font-family: var(--font-body); font-weight: 600; letter-spacing: 0; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.info-card .h5 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }
.info-card--accent { background: var(--color-accent-soft); border-color: transparent; }
.info-card form { margin-top: 12px; }
.info-grid { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.bank-details { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; line-height: 1.7; background: var(--color-bg); padding: 14px 16px; border-radius: var(--radius); white-space: pre-wrap; margin: 12px 0 0; border: 1px solid var(--color-border); }
.bank-details--small { font-size: .78rem; padding: 10px 12px; }
.draft-form { margin-top: 28px; display: grid; gap: 16px; }
.draft-form .checkout-step__title { margin-bottom: 0; }

/* ---------- Account ---------- */
.account { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.account__header { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.account__header .h1 { margin: 0; }
.account__header .eyebrow { margin-bottom: 8px; }
.account__layout { display: grid; gap: 32px; }
@media (min-width: 990px) { .account__layout { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; } .account__nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.account-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.account-nav ul::-webkit-scrollbar { display: none; }
@media (min-width: 990px) { .account-nav ul { flex-direction: column; gap: 2px; } }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-md); text-decoration: none; font-size: .93rem; white-space: nowrap; border: 0; background: none; width: 100%; text-align: left; color: inherit; transition: background .15s; }
.account-nav a:hover, .account-nav button:hover { background: var(--color-surface-2); }
.account-nav a.is-active { background: var(--color-surface); font-weight: 600; }
.account-nav .icon { color: var(--color-muted); flex: none; }
.account-nav a.is-active .icon { color: var(--color-accent); }
.account__main { min-width: 0; display: grid; gap: 24px; align-content: start; }
.panel { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); min-width: 0; }
.panel--muted { background: var(--color-surface-2); border-color: transparent; }
.panel__header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.panel__header .h4 { margin: 0; }
.panel .h5 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; margin-bottom: 12px; }
.panel__empty { margin: 0; }
.panel-grid { display: grid; gap: 24px; }
@media (min-width: 750px) { .panel-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .panel-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.pending-hero { display: flex; gap: 20px; align-items: flex-start; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--color-warning-soft); }
.pending-hero__icon { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--color-bg); color: var(--color-warning); display: inline-flex; align-items: center; justify-content: center; }
.pending-steps { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; font-size: .92rem; }
.pending-steps li { display: flex; align-items: center; gap: 10px; color: var(--color-muted); }
.pending-steps .is-done { color: var(--color-success); }
.pending-steps .is-current { color: var(--color-text); font-weight: 600; }
@media (max-width: 600px) { .pending-hero { flex-direction: column; } }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 750px) { .stat-row { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.stat { padding: 18px 20px; border-radius: var(--radius-md); background: var(--color-surface-2); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat__label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; }
.stat__value { font-family: var(--font-heading); font-size: 1.55rem; font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
.stat__value--small { font-family: var(--font-body); font-size: .98rem; font-weight: 600; }
.quick-links { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 750px) { .quick-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .quick-links { grid-template-columns: repeat(4, 1fr); } }
.quick-link-form { display: contents; }
.quick-link { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--color-border); border-radius: var(--radius-md); text-decoration: none; background: var(--color-bg); text-align: left; width: 100%; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.quick-link:hover { border-color: var(--color-text); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.quick-link .icon { color: var(--color-accent); flex: none; }
.quick-link span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.quick-link small { color: var(--color-muted); font-size: .8rem; }
.list-rows { list-style: none; padding: 0; margin: 0; }
.list-rows li { border-bottom: 1px solid var(--color-border); }
.list-rows li:last-child { border-bottom: 0; }
.list-rows a, .list-rows--plain li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; font-size: .92rem; flex-wrap: wrap; }
.list-rows a:hover strong { text-decoration: underline; }
.list-rows--plain li > span { display: inline-flex; align-items: center; gap: 8px; }
.order-detail { display: grid; gap: 24px; }
.order-detail__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.order-detail__status p { margin: 0 8px 0 0; color: var(--color-muted); font-size: .92rem; }
.invoice__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; font-size: .9rem; line-height: 1.5; }
.invoice__meta { text-align: right; }
.invoice__totals { max-width: 380px; margin-left: auto; margin-top: 16px; }
.data-table--lines td { vertical-align: middle; }
.address-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 750px) { .address-grid { grid-template-columns: repeat(2, 1fr); } }
.address-card { padding: 22px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 12px; font-size: .93rem; line-height: 1.6; }
.address-card.is-default { border-color: var(--color-border-strong); }
.address-card__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.address-card__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--color-border); }
.address-card__actions .link-underline { font-size: .84rem; }

/* Auth */
.auth { padding: clamp(40px, 7vw, 96px) var(--gutter); }
.auth__grid { max-width: 1080px; margin: 0 auto; display: grid; gap: 24px; }
@media (min-width: 990px) { .auth__grid { grid-template-columns: 1fr 1fr; gap: 0; } }
.auth__card { padding: clamp(28px, 4vw, 56px); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); }
@media (min-width: 990px) { .auth__grid .auth__card { border-radius: var(--radius-lg) 0 0 var(--radius-lg); } }
.auth__card--center { max-width: 520px; margin: 0 auto; }
.auth__card .h1 { margin-bottom: 10px; }
.auth__card > .muted { margin-bottom: 28px; }
.auth__aside { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--color-surface); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 990px) { .auth__aside { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; } }
.auth__aside .btn { align-self: flex-start; }
.auth--wide { padding-left: 0; padding-right: 0; }
.auth__header { margin-bottom: 32px; }
.auth__header .lead { max-width: 640px; }
.steps-inline { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 24px 0 0; font-size: .9rem; }
.steps-inline li { display: flex; align-items: center; gap: 10px; }
.steps-inline span { width: 28px; height: 28px; border-radius: 50%; background: var(--color-text); color: var(--color-bg); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 600; }
.register-form > .btn { margin-top: 12px; }
.register-form > .muted { margin-top: 18px; }

/* ---------- Ordine rapido ---------- */
.quick-hero { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; }
.quick-hero .lead { margin: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--color-border); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__tab { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; border: 0; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: .92rem; font-weight: 500; color: var(--color-muted); white-space: nowrap; transition: color .2s, border-color .2s; }
.tabs__tab:hover { color: var(--color-text); }
.tabs__tab.is-active { color: var(--color-text); border-bottom-color: var(--color-text); }
.qo-toolbar { position: sticky; top: var(--header-h); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 0; background: var(--color-bg); border-bottom: 1px solid var(--color-border); margin-bottom: 8px; }
.site-header:not(.site-header--sticky) ~ .main .qo-toolbar { top: 0; }
.qo-search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--color-border-strong); border-radius: var(--radius); padding: 0 14px; color: var(--color-muted); }
.qo-search input { flex: 1; border: 0; min-height: 46px; background: none; color: var(--color-text); min-width: 0; }
.qo-search input:focus { outline: none; }
.qo-search:focus-within { border-color: var(--color-text); }
.qo-toolbar .select-wrap { flex: 0 1 220px; }
.qo-toolbar .select { min-height: 48px; }
.qo-toolbar__count { margin: 0 0 0 auto; font-size: .86rem; color: var(--color-muted); }
.qo-brand { margin-top: 36px; }
.qo-brand__title { font-size: calc(1.8rem * var(--heading-scale)); margin-bottom: 8px; }
.qo-line { margin-top: 20px; }
.qo-line__title { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin: 0 0 4px; padding: 8px 0; }
.qo-table { font-size: .9rem; min-width: 680px; }
.qo-table th, .qo-table td { padding: 10px 10px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: middle; }
.qo-table thead th { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); padding-top: 4px; }
.qo-table tbody tr { transition: background .15s; }
.qo-table tbody tr:hover { background: var(--color-surface-2); }
.qo-table tbody tr.has-qty { background: var(--color-accent-soft); }
.qo-table a { text-decoration: none; }
.qo-table a:hover { text-decoration: underline; }
.qo-table .num { text-align: right; }
.qo-table__qty { width: 150px; text-align: right !important; }
.qo-incart { display: block; font-size: .72rem; color: var(--color-success); margin-top: 4px; }
.qo-table .availability { margin: 0; font-size: .8rem; }
.qo-bar { position: sticky; bottom: 0; z-index: 20; margin-top: 32px; background: var(--color-text); color: var(--color-bg); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: 0 -10px 30px rgb(0 0 0 / .12); }
.qo-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.qo-bar p { margin: 0; font-variant-numeric: tabular-nums; }
.qo-bar small { opacity: .65; }
.qo-bar .btn { --btn-bg: var(--color-bg); --btn-fg: var(--color-text); --btn-bd: var(--color-bg); }
.qo-bar .btn--outline { --btn-bg: transparent; --btn-fg: var(--color-bg); --btn-bd: rgb(255 255 255 / .4); }
.qo-bar .btn[disabled] { opacity: .5; }
.qo-bar .button-group { margin: 0; }
.codes-grid { display: grid; gap: 24px; }
@media (min-width: 990px) { .codes-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.codes-grid .panel { display: grid; gap: 14px; }
.codes-grid .panel .h4, .codes-grid .panel p { margin: 0; }
.codes-grid .panel > .btn { justify-self: start; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 990px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; } }
.contact-cards { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-cards li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius-md); background: var(--color-surface-2); }
.contact-cards .icon { color: var(--color-accent); flex: none; margin-top: 2px; }
.contact-cards div { display: flex; flex-direction: column; font-size: .93rem; }
.contact-cards a { text-decoration: none; }
.contact-form-panel .h3 { margin-bottom: 20px; }

/* ---------- Errore / password ---------- */
.error-page { text-align: center; }
.error-page__code { font-family: var(--font-heading); font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--color-accent); margin: 0 0 8px; letter-spacing: -.04em; }
.password-page { background: var(--color-surface); }
.password { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; gap: 24px; }
.password__card { width: 100%; max-width: 520px; padding: clamp(32px, 6vw, 56px); background: var(--color-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); text-align: center; }
.password__logo { max-width: var(--logo-width); margin: 0 auto 28px; }
.password__logo-text { font-size: 2rem; margin-bottom: 24px; }
.password__form { display: flex; gap: 8px; margin: 24px 0 12px; }
.password__form .input { flex: 1; min-width: 0; }
.password__admin { font-size: .8rem; margin-top: 24px; }
.password__admin a { color: var(--color-muted); }
.password__footer { font-size: .8rem; color: var(--color-muted); }

/* ---------- Editor tema (anteprima) ---------- */
.is-preview .shopify-section { position: relative; }
.is-preview .shopify-section.is-selected::after { content: ''; position: absolute; inset: 0; outline: 2px solid #2c6ecb; outline-offset: -2px; pointer-events: none; z-index: 20; box-shadow: inset 0 0 0 4px rgb(44 110 203 / .15); }

/* ---------- Animazioni ingresso ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Stampa ---------- */
@media print {
  .announcement-bar, .site-header, .site-footer, .account__nav, .account__header > div:last-child, .no-print, .toasts, .cookie-banner, .order-detail__status form, .order-detail__status .btn, [data-print], .link-arrow--back { display: none !important; }
  body { font-size: 11pt; }
  .account { padding: 0; }
  .account__layout { display: block; }
  .panel { border: 0; padding: 0; margin-bottom: 16px; break-inside: avoid; }
  .container { padding: 0; max-width: none; }
  .line-cell__img { display: none; }
  a { text-decoration: none; }
}

/* ==========================================================================
   Scheda prodotto estesa (contenuti a tutta larghezza)
   ========================================================================== */
html:has(.pdp-tabs) { scroll-padding-top: calc(var(--header-h) + 72px); }
.product__highlights { list-style: none; padding: 0; margin: -6px 0 22px; display: grid; gap: 8px; font-size: .92rem; }
.product__highlights li { display: flex; gap: 10px; align-items: flex-start; }
.product__highlights .icon { flex: none; margin-top: 3px; color: var(--brand-accent, var(--color-accent)); }
.product__excerpt { color: var(--color-muted); font-size: .95rem; margin: -6px 0 22px; }
.product__excerpt a { color: var(--color-text); }
.product__quicklinks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font-size: .85rem; }
.product__quicklinks a { display: inline-flex; align-items: center; gap: 6px; color: var(--color-text); text-underline-offset: 3px; }

/* Scaglioni compatti */
.volume-box { padding: 16px 18px; }
.volume-box__header { margin-bottom: 10px; }
.volume-box__icon { width: 34px; height: 34px; }
.tier-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 6px; }
.tier-chip { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 6px; border-radius: var(--radius); background: var(--color-bg); border: 1px solid var(--color-border); text-align: center; transition: background .25s, border-color .25s, color .25s; font-variant-numeric: tabular-nums; }
.tier-chip__qty { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); }
.tier-chip__pct { font-size: 1.1rem; font-weight: 600; color: color-mix(in srgb, var(--brand-accent) 75%, var(--color-text)); }
.tier-chip__price { font-size: .76rem; color: var(--color-muted); }
.tier-chip.is-reached { background: var(--color-accent-soft); border-color: transparent; }
.tier-chip.is-current { background: var(--brand-accent); border-color: var(--brand-accent); }
.tier-chip.is-current span { color: #fff; }
.product-usps--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 14px; font-size: .78rem; line-height: 1.35; }
.product-usps--inline li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border-radius: var(--radius); background: var(--color-surface-2, var(--color-surface)); }
@media (max-width: 480px) { .product-usps--inline { grid-template-columns: 1fr; } .product-usps--inline li { flex-direction: row; align-items: center; } }

/* Navigazione interna */
.pdp-tabs { position: sticky; top: var(--header-h); z-index: 40; background: color-mix(in srgb, var(--color-bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin-top: clamp(32px, 5vw, 64px); }
.pdp-tabs__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pdp-tabs__inner::-webkit-scrollbar { display: none; }
.pdp-tabs__link { flex: none; padding: 18px 16px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--color-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.pdp-tabs__link:hover { color: var(--color-text); }
.pdp-tabs__link.is-active { color: var(--color-text); border-bottom-color: var(--brand-accent, var(--color-text)); }

/* Sezioni */
.pdp-section { padding: clamp(44px, 7vw, 96px) 0; }
.pdp-section--surface { background: var(--color-surface); }
.pdp-section__header { margin-bottom: clamp(22px, 3vw, 36px); max-width: 720px; }
.pdp-section__sub { color: var(--color-muted); margin: 8px 0 0; }
.pdp-eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-accent, var(--color-accent)); margin: 0 0 10px; }
.pdp-heading { font-size: calc(clamp(1.6rem, 3vw, 2.4rem) * var(--heading-scale)); margin: 0; }
.pdp-split { display: grid; gap: 40px; }
@media (min-width: 990px) { .pdp-split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 72px; align-items: start; } .pdp-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pdp-split__side { position: sticky; top: calc(var(--header-h) + 90px); } }
.pdp-split__main .pdp-heading { margin-bottom: 24px; }
.pdp-description { font-size: 1.04rem; line-height: 1.75; max-width: 72ch; }
.pdp-description p:first-child { font-size: 1.14rem; }
.pdp-split__side { display: grid; gap: 16px; }
.pdp-card { padding: 24px; border-radius: var(--radius-lg); background: var(--color-surface); }
.pdp-card--facts { background: var(--color-bg); border: 1px solid var(--color-border); }
.pdp-card__title { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
.pdp-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pdp-benefits li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.pdp-benefits__icon { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-accent, var(--color-accent)); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.pdp-facts { margin: 0; display: grid; gap: 0; font-size: .9rem; }
.pdp-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.pdp-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.pdp-facts dt { color: var(--color-muted); }
.pdp-facts dd { margin: 0; text-align: right; font-weight: 500; }

/* Modo d'uso a passaggi */
.pdp-howto__intro, .pdp-howto__outro, .pdp-howto__text { max-width: 820px; font-size: 1rem; }
.pdp-howto__intro { margin-bottom: 28px; }
.pdp-howto__outro { margin-top: 28px; }
.pdp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: none; }
.pdp-step { position: relative; padding: 26px 24px 24px; border-radius: var(--radius-lg); background: var(--color-bg); box-shadow: var(--shadow-sm); }
.pdp-step__num { display: block; font-family: var(--font-heading); font-size: 2.2rem; line-height: 1; color: var(--brand-accent, var(--color-accent)); margin-bottom: 14px; }
.pdp-step__text { font-size: .96rem; line-height: 1.6; }
.pdp-step__text p { margin: 0; }

/* Video */
.pdp-videos { display: grid; gap: 20px; }
@media (min-width: 750px) { .pdp-videos--2 { grid-template-columns: repeat(2, 1fr); } .pdp-videos--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 990px) { .pdp-videos--3 { grid-template-columns: repeat(3, 1fr); } }
.pdp-videos--1 { max-width: 960px; }
.pdp-video { margin: 0; }
.pdp-video .video-lite { border-radius: var(--radius-lg); }
.pdp-videos--3 .video-lite__play, .pdp-videos--2 .video-lite__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.pdp-video figcaption { margin-top: 12px; font-weight: 500; font-size: .95rem; }
.video-lite--vimeo iframe, .video-lite--file video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }

/* Specifiche */
.spec-table { margin: 0; border-top: 1px solid var(--color-border); font-size: .94rem; }
.spec-table > div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--color-border); }
.spec-table dt { color: var(--color-muted); }
.spec-table dd { margin: 0; font-weight: 500; }
.pdp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pdp-tags span { padding: 3px 10px; border-radius: 999px; background: var(--color-surface); font-size: .8rem; font-weight: 400; }
.pdp-docs { display: grid; gap: 10px; margin-top: 24px; }
.pdp-doc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); text-decoration: none; color: var(--color-text); background: var(--color-bg); transition: border-color .2s; }
.pdp-doc:hover { border-color: var(--color-text); }
.pdp-doc span { display: flex; flex-direction: column; }
.pdp-doc small { color: var(--color-muted); }
.variant-table-wrap { max-height: 520px; overflow: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); }
.variant-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.variant-table th { position: sticky; top: 0; background: var(--color-bg); text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--color-border); }
.variant-table td { padding: 11px 14px; border-bottom: 1px solid var(--color-border); }
.variant-table tr:last-child td { border-bottom: 0; }
.variant-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.variant-table .mono { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; color: var(--color-muted); }
.availability--compact { margin: 0; font-size: .82rem; }
.pdp-inci { font-size: .86rem; line-height: 1.7; color: var(--color-muted); max-width: 980px; margin: 0; }

/* Info B2B */
.pdp-info-grid { display: grid; gap: 16px; }
@media (min-width: 750px) { .pdp-info-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pdp-info { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--color-bg); display: flex; flex-direction: column; gap: 10px; }
.pdp-info h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 4px 0 0; }
.pdp-info p { margin: 0; color: var(--color-muted); font-size: .92rem; flex: 1; }
.pdp-info a { font-size: .86rem; color: var(--color-text); }
.pdp-info__icon { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--color-surface); color: var(--brand-accent, var(--color-accent)); }

/* Brand */
.pdp-brand { padding: clamp(44px, 6vw, 80px) 0; border-top: 1px solid var(--color-border); }
.pdp-brand__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.pdp-brand__logo { max-height: 56px; max-width: 260px; width: auto; }
.pdp-brand__name { font-family: var(--font-heading); font-size: 2rem; }
.pdp-brand__tagline { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); max-width: 720px; margin: 0; }
.site-header:not(.site-header--sticky) ~ .main .pdp-tabs { top: 0; }
/* Box sconti sotto la galleria su desktop */
.product__gallery { grid-area: gallery; }
.product__info { grid-area: info; }
.product__extras { grid-area: extras; min-width: 0; }
.product { grid-template-areas: "gallery" "info" "extras"; }
@media (min-width: 990px) {
  .product { grid-template-areas: "gallery info" "extras info"; grid-template-rows: auto 1fr; row-gap: 0; }
  .product__extras .volume-box { margin-top: 28px; }
}
.product__extras .volume-box { margin-bottom: 0; }
.volume-more { margin-top: 14px; border-top: 1px solid color-mix(in srgb, var(--brand-accent) 18%, transparent); padding-top: 12px; }
.volume-more summary { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: .84rem; font-weight: 600; list-style: none; }
.volume-more summary::-webkit-details-marker { display: none; }
.volume-more[open] summary .icon { transform: rotate(180deg); }
.volume-more .volume-rule { margin-top: 14px; }
.product__group { display: block; } .product__group .icon { vertical-align: -2px; margin-right: 6px; }

/* ==========================================================================
   Slider: griglia bilanciata su una riga, carosello se gli elementi sono troppi
   ========================================================================== */
.slider { --gap: 20px; position: relative; }
.slider__track { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.slider__track > * { min-width: 0; scroll-snap-align: start; }
.slider--carousel .slider__track, .slider.is-scrollable .slider__track {
  grid-template-columns: none; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: 4px;
}
.slider--carousel .slider__track::-webkit-scrollbar, .slider.is-scrollable .slider__track::-webkit-scrollbar { display: none; }
.slider__btn { position: absolute; top: var(--slider-btn-top, 38%); z-index: 3; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 1px solid var(--color-border); background: var(--color-bg); color: var(--color-text); box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity .2s, transform .2s; }
.slider__btn:hover { transform: scale(1.06); }
.slider__btn[disabled] { opacity: 0; pointer-events: none; }
.slider__btn--prev { left: -18px; }
.slider__btn--next { right: -18px; }
.slider--products { --slider-btn-top: 36%; }
.slider--steps { --gap: 14px; --slider-btn-top: 50%; }
.slider--videos { --slider-btn-top: 32%; }
/* tablet: al massimo 2 elementi e mezzo visibili */
@media (min-width: 750px) and (max-width: 989px) {
  .slider:not(.slider--keep) .slider__track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap) * 1.3) / 2.3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .slider[style*="--cols:1;"] .slider__track, .slider[style*="--cols:2;"] .slider__track { grid-auto-flow: row; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
}
/* mobile: sempre scorrevole con anteprima del successivo */
@media (max-width: 749px) {
  .slider { --gap: 14px; }
  .slider:not(.slider--keep) .slider__track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
  .slider--products:not(.slider--keep) .slider__track { grid-auto-columns: 62%; }
  .slider[style*="--cols:1;"] .slider__track { grid-auto-columns: 100%; }
  .slider__btn { display: none; }
}
/* gli elementi interni prendono tutta l'altezza della riga */
.slider__track > .product-card, .slider__track > .brand-card, .slider__track > .article-card, .slider__track > .pdp-step, .slider__track > .pdp-video { height: 100%; }
@media (min-width: 990px) { .multicolumn--balanced { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 989px) { .multicolumn--balanced[style*="--cols: 3"] { grid-template-columns: repeat(3, 1fr); } }
.slider--videos[style*="--cols:1;"] { max-width: 960px; }
.slider--steps .pdp-step { box-shadow: none; border: 1px solid var(--color-border); }

/* Mega menu Brand compatto: una riga, colonne = numero di brand (max 5, poi scorrevole) */
@media (min-width: 990px) {
  .mega--brands { max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
  .mega-brands__head { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; max-width: 1200px; }
  .mega-brands__head .eyebrow { margin: 0; }
  .mega__inner--brands { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 20px; padding-top: 16px; padding-bottom: 26px; }
  .mega__inner--brands.is-scroll { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 5); overflow-x: auto; scrollbar-width: thin; }
  .mega--brands .mega-brand { gap: 10px; }
  .mega--brands .mega-brand__card { aspect-ratio: 16 / 7; }
  .mega--brands .mega-brand__logo { left: 14px; bottom: 12px; font-size: 1.1rem; }
  .mega--brands .mega-brand__logo img { max-height: 24px; }
  .mega--brands .mega-brand__name { font-size: 1.02rem; }
  .mega--brands .mega-brand__tagline { font-size: .8rem; line-height: 1.4; margin: 2px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .mega--brands .mega-brand__lines a { padding: 3px 9px; font-size: .74rem; }
  .mega-brand__more { color: var(--color-muted); }
}
/* Card brand in righe da 4: più compatte e leggibili */
.slider--brands .brand-card { min-height: clamp(360px, 30vw, 460px); }
.slider--brands .brand-card__media::after { background: linear-gradient(180deg, rgb(0 0 0 / .05) 20%, rgb(0 0 0 / .55) 55%, rgb(0 0 0 / .85) 100%); }
.slider--brands .brand-card__body { padding: clamp(18px, 2vw, 28px); gap: 10px; }
.slider--brands .brand-card__logo img { max-height: 32px; }
.slider--brands .brand-card__tagline { font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slider--brands .brand-card__meta { font-size: .78rem; padding-top: 12px; }
.slider--brands[style*="--cols:4;"] .brand-card__meta .link-arrow { white-space: nowrap; }
@media (min-width: 990px) and (max-width: 1199px) { .slider--brands[style*="--cols:4;"] .brand-card__tagline { -webkit-line-clamp: 2; } }

/* Banner delle pagine categoria */
.page-hero--collection { min-height: clamp(300px, 34vw, 460px); padding-bottom: clamp(32px, 4vw, 56px); }
.page-hero--collection .page-hero__media::after { background: linear-gradient(90deg, rgb(0 0 0 / .62) 0%, rgb(0 0 0 / .35) 50%, rgb(0 0 0 / .08) 100%), linear-gradient(180deg, rgb(0 0 0 / 0) 50%, rgb(0 0 0 / .35) 100%); }
.page-hero--collection .page-hero__media img { animation: heroZoom 14s var(--ease) both; }
.page-hero--collection .page-hero__content { text-shadow: 0 1px 16px rgb(0 0 0 / .3); }
.page-hero--collection .rte, .page-hero--collection .rte p { color: rgb(255 255 255 / .9); }
.page-hero--collage { overflow: hidden; min-height: clamp(260px, 30vw, 380px); display: flex; align-items: center; }
.page-hero--collage .page-hero__content { position: relative; z-index: 1; }
.page-hero__collage { position: absolute; top: 0; bottom: 0; right: 0; width: min(46%, 620px); pointer-events: none; }
.page-hero__collage-item { position: absolute; width: 38%; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); background: var(--color-bg); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .25); overflow: hidden; animation: riseIn 1s var(--ease) both; }
.page-hero__collage-item img { width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; }
.page-hero__collage-item--1 { left: 4%; top: 18%; rotate: -6deg; }
.page-hero__collage-item--2 { left: 30%; top: 6%; z-index: 2; animation-delay: .1s; }
.page-hero__collage-item--3 { left: 56%; top: 20%; rotate: 5deg; animation-delay: .2s; }
.page-hero__collage-item--4 { left: 38%; top: 58%; width: 30%; rotate: -2deg; z-index: 3; animation-delay: .3s; }
@media (max-width: 749px) { .page-hero__collage { display: none; } }

/* Banner categorie più bassi: i prodotti salgono sopra la piega */
.page-hero--collection { min-height: clamp(190px, 19vw, 280px); padding-top: 56px; padding-bottom: clamp(22px, 2.6vw, 34px); }
.page-hero--collage { min-height: clamp(190px, 19vw, 260px); padding-top: clamp(24px, 3vw, 36px); padding-bottom: clamp(22px, 2.6vw, 32px); }
.page-hero--collection .h0, .page-hero--collage .h0, .page-hero--simple .h0 { font-size: calc(clamp(2rem, 3.8vw, 3.2rem) * var(--heading-scale)); margin-bottom: 6px; }
.page-hero--collection .breadcrumbs, .page-hero--collage .breadcrumbs { margin-bottom: 8px; }
.page-hero--collection .page-hero__text, .page-hero--collage .page-hero__text { margin-top: 0; font-size: .95rem; }
.page-hero--collection .page-hero__text p, .page-hero--collage .page-hero__text p { margin: 0; }
.page-hero__collage { width: min(40%, 520px); }
.page-hero__collage-item { width: 30%; }
.page-hero__collage-item--1 { top: 14%; } .page-hero__collage-item--2 { top: 4%; } .page-hero__collage-item--3 { top: 16%; }
.page-hero__collage-item--4 { display: none; }
.page-hero + .section--tight.collection { padding-top: clamp(20px, 2.4vw, 32px); }
.collection .price-notice { padding: 10px 16px; margin-bottom: 18px; font-size: .88rem; }
.collection .price-notice__icon { width: 32px; height: 32px; }
.collection .price-notice .btn { min-height: 38px; }

/* Scheda prodotto: ritmo verticale più compatto */
.pdp-tabs { margin-top: clamp(24px, 3vw, 40px); }
.pdp-tabs__link { padding: 15px 14px; }
.pdp-section { padding: clamp(28px, 3.6vw, 52px) 0; }
.pdp-section + .pdp-section:not(.pdp-section--surface) { padding-top: clamp(20px, 2.4vw, 36px); }
.pdp-section--surface + .pdp-section:not(.pdp-section--surface), .pdp-section:not(.pdp-section--surface) + .pdp-section--surface { padding-top: clamp(28px, 3.6vw, 52px); }
.pdp-section__header { margin-bottom: clamp(14px, 1.8vw, 22px); }
.pdp-eyebrow { margin-bottom: 6px; }
.pdp-heading { font-size: calc(clamp(1.45rem, 2.3vw, 1.95rem) * var(--heading-scale)); }
.pdp-split__main .pdp-heading { margin-bottom: 16px; }
.pdp-split { gap: 28px; }
@media (min-width: 990px) { .pdp-split { gap: 48px; } .pdp-split__side { top: calc(var(--header-h) + 72px); } }
.pdp-description { font-size: .98rem; line-height: 1.65; }
.pdp-description p:first-child { font-size: 1.05rem; }
.pdp-description p, .pdp-description ul { margin-bottom: .8em; }
.pdp-split__side { gap: 12px; }
.pdp-card { padding: 18px 20px; }
.pdp-card__title { margin-bottom: 10px; }
.pdp-benefits { gap: 9px; }
.pdp-facts > div { padding: 8px 0; }
.pdp-howto__intro { margin-bottom: 14px; }
.pdp-howto__intro p, .pdp-howto__outro p { margin-bottom: .5em; }
.pdp-howto__outro { margin-top: 16px; }
.pdp-step { padding: 18px 18px 16px; }
.pdp-step__num { font-size: 1.6rem; margin-bottom: 8px; }
.pdp-step__text { font-size: .92rem; line-height: 1.5; }
.pdp-video figcaption { margin-top: 8px; font-size: .9rem; }
.spec-table > div { padding: 9px 0; }
.pdp-docs { margin-top: 16px; }
.pdp-info { padding: 20px; gap: 6px; }
.pdp-info-grid { gap: 14px; }
.pdp-brand { padding: clamp(28px, 3.6vw, 48px) 0; }
.pdp-brand__inner { gap: 10px; }
.product-page { padding-bottom: 0; }
.product-page + .pdp-tabs, .product-page ~ section.section { }
.pdp-content + .section, .pdp-brand + .section { padding-top: clamp(28px, 3.6vw, 52px); }

/* Sezioni consecutive con lo stesso sfondo: niente doppio spazio */
.section:not(.section--surface):not(.section--dark) + .section:not(.section--surface):not(.section--dark),
.shopify-section:has(> .section:not(.section--surface):not(.section--dark)) + .shopify-section > .section:not(.section--surface):not(.section--dark),
.section--surface + .section--surface,
.shopify-section:has(> .section--surface) + .shopify-section > .section--surface { padding-top: 0; }

/* Brand in evidenza più compatto */
.featured-brand__intro { gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); }
@media (min-width: 990px) { .featured-brand__intro { gap: 56px; } }
.featured-brand__media { aspect-ratio: 16 / 10; }
.featured-brand__text .h1 { margin-bottom: 10px; }
.featured-brand__text .lead { margin-bottom: 18px; }
.featured-brand__text .volume-pill { margin-bottom: 18px; }

/* ==========================================================================
   Revisione di coerenza (tutte le pagine)
   ========================================================================== */
/* Scala dei titoli unica: h0 = titolo pagina, h1 = titolo sezione/pagina utility */
.h0 { font-size: calc(clamp(2rem, 3.8vw, 3.2rem) * var(--heading-scale)); line-height: 1.08; }
h1, .h1 { font-size: calc(clamp(1.8rem, 3vw, 2.5rem) * var(--heading-scale)); }
h2, .h2 { font-size: calc(clamp(1.5rem, 2.4vw, 2rem) * var(--heading-scale)); }
.brand-hero .h0 { font-size: calc(clamp(2.4rem, 5vw, 4rem) * var(--heading-scale)); }
.slideshow .h0, .slideshow h2 { font-size: calc(clamp(2.4rem, 5vw, 4.2rem) * var(--heading-scale)); }
.section-header { margin-bottom: clamp(18px, 2.4vw, 32px); }
.section-header .h2, .section-header h2 { margin-bottom: 0; }

/* Testi con icona: icona e testo allineati sulla prima riga */
.product__group, .checkout__terms-note { display: flex; align-items: flex-start; gap: 8px; }
.product__group .icon, .checkout__terms-note .icon { flex: none; margin: 3px 0 0; vertical-align: 0; }
.checkout__terms-note strong { margin: 0 .2em; }

/* Brand: hero un po' più compatto, coerente con gli altri banner */
.brand-hero { min-height: clamp(380px, 46vw, 560px); }
.brand-hero__content { padding-top: 56px; padding-bottom: clamp(32px, 4.4vw, 56px); }
.brand-hero__tagline { margin-bottom: 22px; }

/* CTA banner: overlay caldo e leggibile, meno altezza */
.cta-banner { padding: clamp(56px, 7vw, 96px) 0; }
.cta-banner__media::after { background: linear-gradient(90deg, rgb(20 16 14 / .78), rgb(20 16 14 / .58)); }

/* Card articoli: immagine più bassa quando le card sono larghe (1–2 per riga) */
.slider--articles[style*="--cols:1;"] .article-card__media, .slider--articles[style*="--cols:2;"] .article-card__media,
.article-grid--1 .article-card__media, .article-grid--2 .article-card__media { aspect-ratio: 16 / 9; }

/* Account: link rapidi bilanciati (3 su una riga) */
@media (min-width: 1200px) { .quick-links { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

/* PDP: specifiche su due colonne quando sono da sole; chip caratteristiche visibili su fondo beige */
@media (min-width: 990px) {
  .pdp-split--alone { grid-template-columns: 1fr; }
  .pdp-split--alone .spec-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 0; }
  .pdp-split--alone .spec-table > div:nth-child(-n+2) { border-top: 1px solid var(--color-border); }
  .pdp-split--alone .spec-table > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.pdp-section--surface .pdp-tags span { background: var(--color-bg); }
/* Scaglioni sempre su una riga (niente 3+1 su mobile) */
.tier-chips { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 480px) {
  .tier-chip { padding: 8px 2px; }
  .tier-chip__qty { font-size: .64rem; letter-spacing: .02em; }
  .tier-chip__pct { font-size: .98rem; }
  .tier-chip__price { font-size: .7rem; }
  .product-usps--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .product-usps--inline li { flex-direction: column; align-items: flex-start; padding: 10px; font-size: .72rem; }
}
