/* VICO OTTO, foglio di stile.
   Una griglia a otto colonne, un solo carattere in due voci (Schibsted Grotesk per le parole,
   Geist Mono per i numeri dei tessuti), fotografia a tutta pagina.
   1 token · 2 base · 3 tipografia · 4 struttura · 5 testata e menu · 6 piede · 7 controlli
   8 cassetti e ricerca · 9 home · 10 indice · 11 scheda · 12 lookbook · 13 guardaroba
   14 progetto · 15 pagine di servizio · 16 movimento · 17 risposte allo schermo */

/* ── 1. Token ─────────────────────────────────────────────────────────── */
:root {
  --bone: #EDE9E2;
  --bone-2: #E3DED5;
  --bone-3: #D6CFC3;
  --paper: #F6F4EF;
  --ink: #161615;
  --ink-2: #2E2D2A;
  --mute: #5D5953;
  --mute-ink: #ABA69D;
  --line: rgba(22, 22, 21, .2);
  --line-soft: rgba(22, 22, 21, .1);
  --verde: #23423A;

  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --fs-xs: 11.5px;
  --fs-s: 13px;
  --fs-b: 15px;
  --fs-m: clamp(17px, .95rem + .4vw, 22px);
  --fs-l: clamp(30px, 1rem + 2.9vw, 60px);
  --fs-xl: clamp(48px, 1.4rem + 6.4vw, 132px);

  --m: clamp(16px, 2.4vw, 36px);
  --g: clamp(10px, 1.25vw, 18px);
  --hd: 56px;
  --sec: clamp(80px, 10vw, 168px);
  --ease: cubic-bezier(.22, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t: .5s;
}

/* ── 2. Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hd) + 16px);
  background: var(--bone);
}
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 var(--fs-b)/1.5 var(--sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--bone); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-ink :focus-visible, .ft :focus-visible { outline-color: var(--bone); }
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bone); padding: 12px 16px; font-size: var(--fs-s);
}
.skip:focus { top: 12px; }

/* ── 3. Tipografia ────────────────────────────────────────────────────── */
.mono, .ann, .crumbs, .pdp__ref, .sheet, .row__ref, .row__comp, .row__w, .row__price, .list-head,
.hit__ref, .hit__price, .ln__var, .dr__title--mono, .lk__n, .scale__v, .fl__w, .gb__formula, .cb__cap .mono {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.h-xl { font: 500 var(--fs-xl)/.88 var(--sans); letter-spacing: -.055em; }
.h-l { font: 500 var(--fs-l)/1.02 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.h-sec { font: 500 var(--fs-m)/1.2 var(--sans); letter-spacing: -.012em; }
.h-sec sup, .fbtn sup, .menu__nav sup { font: 400 10.5px/1 var(--mono); letter-spacing: 0; vertical-align: top; position: relative; top: .1em; margin-left: .3em; color: var(--mute); }
.lede { font: 400 var(--fs-m)/1.38 var(--sans); letter-spacing: -.012em; max-width: 34ch; text-wrap: pretty; }
.small { font-size: var(--fs-s); color: var(--mute); }
.muted { color: var(--mute); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 62ch; text-wrap: pretty; }

/* Link testuale: sottolineatura che si ritira al passaggio */
.tlink {
  display: inline;
  font-weight: 500;
  font-size: var(--fs-s);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .45s var(--ease);
  cursor: pointer;
}
@media (hover: hover) {
  .tlink:hover { background-size: 0 1px; background-position: 100% 100%; }
}
.prose a, .doc__main a:not(.tlink):not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }

/* ── 4. Struttura ─────────────────────────────────────────────────────── */
.wrap { padding-inline: var(--m); }
.g8 {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: var(--g);
  padding-inline: var(--m);
}
.sec { padding-block: var(--sec); }
.sec-top {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: var(--g);
  align-items: end;
  padding-inline: var(--m);
  margin-bottom: clamp(28px, 3.4vw, 56px);
}
.sec-top > .h-sec { grid-column: 1 / span 2; }
.sec-top__p { grid-column: 3 / span 3; color: var(--mute); max-width: 46ch; }
.sec-top__r { grid-column: 6 / span 3; justify-self: end; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.sec-foot { padding-inline: var(--m); margin-top: clamp(28px, 3vw, 48px); display: flex; gap: 24px; flex-wrap: wrap; }

.ph { position: relative; overflow: hidden; background: var(--bone-2); aspect-ratio: 1600 / 2143; }
.ph > img, .ph > a > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph > a { position: absolute; inset: 0; display: block; }
figcaption { font-size: var(--fs-s); color: var(--mute); margin-top: 10px; }
.on-ink { background: var(--ink); color: var(--bone); }
.on-ink .muted, .on-ink .sec-top__p, .on-ink figcaption { color: var(--mute-ink); }

/* ── 5. Testata, avviso, menu ─────────────────────────────────────────── */
.ann {
  background: var(--bone-2);
  color: var(--ink-2);
  text-align: center;
  padding: 8px var(--m);
  line-height: 1.3;
}
.ann p { margin: 0; }
.hd {
  position: sticky; top: 0; z-index: 40;
  background: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease);
}
.hd.is-scrolled { border-bottom-color: var(--line-soft); }
.hd__in {
  height: var(--hd);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--m);
  font-size: var(--fs-s);
  font-weight: 500;
}
.hd__nav { display: none; gap: 22px; }
.hd__nav a, .hd__lnk { position: relative; padding: 8px 0; white-space: nowrap; }
.hd__nav a::after, .hd__lnk::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.hd__nav a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) {
  .hd__nav a:hover::after, .hd__lnk:hover::after { transform: scaleX(1); transform-origin: left; }
}
.hd__menu { justify-self: start; padding: 10px 10px 10px 0; font-weight: 500; }
.hd__mark {
  justify-self: center;
  font: 600 14px/1 var(--sans);
  letter-spacing: .26em;
  margin-right: -.26em;
  text-transform: uppercase;
  padding: 10px 0;
  white-space: nowrap;
}
.hd__util { justify-self: end; display: flex; gap: 18px; align-items: center; }
.hd__lnk--wide { display: none; }
.hd__n { font: 400 var(--fs-xs)/1 var(--mono); margin-left: 2px; }

.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bone);
  display: flex; flex-direction: column;
  padding: 0 var(--m) 32px;
  overflow-y: auto;
  visibility: hidden; opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s .35s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.menu__top { height: var(--hd); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu__mark { font: 600 14px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.menu__nav { display: flex; flex-direction: column; margin-top: 6vh; }
.menu__nav a {
  font: 500 clamp(34px, 10vw, 56px)/1.08 var(--sans); letter-spacing: -.04em;
  padding: 2px 0;
}
.menu__nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.menu__sub {
  margin-top: auto; padding-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px var(--g);
  font-size: var(--fs-s); font-weight: 500;
}
.menu__sub a { padding: 6px 0; }

/* ── 6. Piede ─────────────────────────────────────────────────────────── */
.ft {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(64px, 8vw, 120px) var(--m) 28px;
  font-size: var(--fs-s);
}
.ft__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--g); row-gap: 48px; }
.ft__news { grid-column: 1 / span 3; }
.ft__news .h-sec { margin-bottom: 12px; }
.ft__news > p { color: var(--mute-ink); max-width: 38ch; margin-bottom: 22px; }
.ft__col { grid-column: span 1; }
.ft__col:first-of-type { grid-column: 5 / span 1; }
.ft__h { font: 500 var(--fs-s)/1.3 var(--sans); color: var(--mute-ink); margin-bottom: 14px; }
.ft__col li + li { margin-top: 6px; }
.ft__col a { display: inline-block; padding: 2px 0; }
@media (hover: hover) { .ft__col a:hover { text-decoration: underline; text-underline-offset: .22em; } }
.ft__base {
  margin-top: clamp(64px, 8vw, 128px);
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--g); row-gap: 16px;
  align-items: end;
  color: var(--mute-ink);
}
.ft__rings { grid-column: 1 / span 1; width: 30px; height: auto; color: var(--bone); }
.ft__terms { grid-column: 2 / span 5; font-family: var(--mono); font-size: var(--fs-xs); line-height: 1.6; }
.ft__copy { grid-column: 7 / span 2; justify-self: end; text-align: right; }
.ft__social { margin-top: 14px; }

.news__row { display: flex; border-bottom: 1px solid currentColor; }
.news input {
  flex: 1; min-width: 0; background: transparent; border: 0; padding: 12px 0; font-size: var(--fs-b); color: inherit;
}
.news input::placeholder { color: var(--mute-ink); opacity: 1; }
.news button { padding: 12px 0 12px 16px; font-weight: 500; font-size: var(--fs-s); }
.news__msg { min-height: 1.5em; margin-top: 10px; font-size: var(--fs-s); }
.news__msg.is-error { color: #F0B9A6; }
.news__fine { font-size: var(--fs-xs); color: var(--mute-ink); margin-top: 4px; }
.news__fine a { text-decoration: underline; text-underline-offset: .2em; }

/* ── 7. Controlli ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px;
  background: var(--ink); color: var(--bone);
  border: 1px solid var(--ink);
  font: 500 var(--fs-s)/1.2 var(--sans);
  letter-spacing: .005em;
  text-align: center;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
@media (hover: hover) { .btn:hover { background: var(--bone); color: var(--ink); } }
.btn--block { width: 100%; }
.btn--line { background: transparent; color: var(--ink); }
@media (hover: hover) { .btn--line:hover { background: var(--ink); color: var(--bone); } }
.on-ink .btn { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.seg { display: inline-flex; gap: 2px; font-size: var(--fs-s); font-weight: 500; }
.seg button { padding: 8px 2px; color: var(--mute); position: relative; }
.seg button + button::before { content: '/'; color: var(--line); margin: 0 8px 0 4px; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg button[aria-pressed="true"] span { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.on-ink .seg button { color: var(--mute-ink); }
.on-ink .seg button[aria-pressed="true"] { color: var(--bone); }

.fbtn { padding: 10px 0; margin-right: 20px; font-size: var(--fs-s); font-weight: 500; color: var(--mute); white-space: nowrap; }
.fbtn[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }

.sel { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-s); font-weight: 500; }
.sel span { color: var(--mute); }
.sel select {
  appearance: none; -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M.5.5l4 4 4-4' fill='none' stroke='%23161615'/%3E%3C/svg%3E") no-repeat right 2px center;
  border: 0; padding: 8px 18px 8px 0; font-weight: 500; cursor: pointer;
}

/* Barra del peso: piena = g/m² del tessuto; vuota = peso del capo finito. */
.wbar { position: relative; display: inline-block; width: 64px; height: 5px; background: var(--line-soft); vertical-align: middle; flex: none; }
.wbar i {
  position: absolute; left: 0; top: 0; bottom: 0; background: currentColor;
  transform-origin: left; transition: transform 1.2s var(--ease) .15s;
}
.wbar--capo i { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.on-ink .wbar { background: rgba(237, 233, 226, .14); }

.dots { display: inline-flex; gap: 4px; }
.dots i { width: 9px; height: 9px; box-shadow: inset 0 0 0 1px rgba(22, 22, 21, .22); }

/* Scheda tecnica */
.sheet { display: grid; gap: 0; }
.sheet > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.sheet > div:last-child { border-bottom: 1px solid var(--line-soft); }
.sheet dt { color: var(--mute); }
.sheet__w { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Opzioni di colore e taglia */
.opt { margin-top: 22px; }
.opt__lg { font-size: var(--fs-s); color: var(--mute); margin-bottom: 10px; display: block; width: 100%; }
.opt__lg b { color: var(--ink); font-weight: 500; margin-left: 6px; }
.sws { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sw { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 0; font-size: var(--fs-s); position: relative; }
.sw input, .sz input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw__chip { width: 18px; height: 18px; box-shadow: inset 0 0 0 1px rgba(22, 22, 21, .25); outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.sw__name { color: var(--mute); }
.sw input:checked ~ .sw__chip { outline-color: var(--ink); }
.sw input:checked ~ .sw__name { color: var(--ink); }
.sw input:focus-visible ~ .sw__chip { outline: 2px solid var(--ink); }
.szs { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.sz { position: relative; cursor: pointer; }
.sz span {
  display: grid; place-items: center; height: 44px;
  font: 400 var(--fs-s)/1 var(--mono);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
@media (hover: hover) { .sz:hover span { box-shadow: inset 0 0 0 1px var(--ink); } }
.sz input:checked + span { background: var(--ink); color: var(--bone); box-shadow: inset 0 0 0 1px var(--ink); }
.sz input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt__guide { margin-top: 12px; display: inline-block; }
.opt__note { margin-top: 8px; font-size: var(--fs-s); color: var(--mute); }
.opt__err { margin-top: 10px; font-size: var(--fs-s); color: #8A2A12; font-weight: 500; }

.qty { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.qty button { width: 34px; height: 34px; font-size: 16px; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty span, .qty output { min-width: 22px; text-align: center; font: 400 var(--fs-s)/1 var(--mono); }
.qty--lg button { width: 46px; height: 50px; }

/* Accordion */
.acc__item { border-top: 1px solid var(--line-soft); }
.acc__item:last-child { border-bottom: 1px solid var(--line-soft); }
.acc__h { font: inherit; }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; text-align: left; font-weight: 500; font-size: var(--fs-s);
}
.acc__icon { width: 11px; height: 11px; position: relative; flex: none; }
.acc__icon::before, .acc__icon::after { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
.acc__panel[data-collapsed] { grid-template-rows: 0fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel[data-collapsed] > div { visibility: hidden; transition: visibility 0s .45s; }
.acc__body { padding: 0 0 20px; font-size: var(--fs-s); line-height: 1.6; max-width: 60ch; }
.acc__body p + p, .acc__body p + ul, .acc__body ul + p { margin-top: .8em; }
.bullets li { padding-left: 14px; position: relative; }
.bullets li::before { content: ''; position: absolute; left: 0; top: .72em; width: 5px; height: 1px; background: currentColor; }

.crumbs ol { display: flex; flex-wrap: wrap; color: var(--mute); }
.crumbs li + li::before { content: '/'; margin: 0 .55em; color: var(--line); }
.crumbs a { padding: 4px 0; }
@media (hover: hover) { .crumbs a:hover { color: var(--ink); } }

/* ── 8. Cassetti, ricerca, velo ───────────────────────────────────────── */
.scrim {
  position: fixed; inset: 0; z-index: 50; background: rgba(22, 22, 21, .32);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.scrim.is-on { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 55;
  width: min(460px, 100vw);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translate3d(102%, 0, 0);
  visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s .6s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .6s var(--ease); }
.drawer--qv { width: min(540px, 100vw); }
.drawer--sizes { width: min(560px, 100vw); }
.dr__head {
  display: flex; justify-content: space-between; align-items: center;
  height: var(--hd); padding: 0 22px; flex: none;
  border-bottom: 1px solid var(--line-soft);
}
.dr__title { font: 500 var(--fs-s)/1 var(--sans); }
.dr__title--mono { color: var(--mute); }
.dr__n { font: 400 var(--fs-xs)/1 var(--mono); margin-left: 4px; }
.dr__close { font-size: var(--fs-s); font-weight: 500; padding: 10px 0 10px 10px; }
.dr__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px; }
.dr__foot { flex: none; padding: 18px 22px 22px; border-top: 1px solid var(--line-soft); }
.dr__ship { padding: 14px 22px 16px; font-size: var(--fs-s); flex: none; }
.dr__ship b { font-weight: 600; }
.meter { height: 2px; background: var(--line-soft); margin-top: 10px; }
.meter i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .6s var(--ease); }
.dr__empty { padding-top: 12vh; }
.dr__empty-t { font: 500 var(--fs-l)/1.02 var(--sans); letter-spacing: -.035em; margin-bottom: 12px; }
.dr__links { display: flex; gap: 20px; margin-top: 28px; }
.dr__notice { margin-top: 12px; font-size: var(--fs-s); color: var(--ink-2); padding: 10px 12px; background: var(--bone-2); transition: background-color .3s; }
.dr__notice.is-flash { background: var(--bone-3); }
.dr__vat { margin-top: 10px; font-size: var(--fs-xs); color: var(--mute); }

.lines li + li { margin-top: 18px; }
.ln { display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.ln__img { display: block; aspect-ratio: 1600 / 2143; background: var(--bone-2); overflow: hidden; }
.ln__img img { width: 100%; height: 100%; object-fit: cover; }
.ln__top { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-s); font-weight: 500; }
.ln__price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ln__var { color: var(--mute); margin-top: 4px; }
.ln__act { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.ln__rm { font-size: var(--fs-xs); color: var(--mute); text-decoration: underline; text-underline-offset: .2em; padding: 6px 0; }
.totals { font-size: var(--fs-s); }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals dd { font-variant-numeric: tabular-nums; }
.totals__all { font-weight: 600; padding-top: 10px !important; margin-bottom: 16px; }

/* Vista rapida */
.qv__media {
  display: flex; gap: 4px; margin: -22px -22px 0;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.qv__media::-webkit-scrollbar { display: none; }
.qv__shot { flex: 0 0 58%; scroll-snap-align: start; aspect-ratio: 1600 / 2143; background: var(--bone-2); overflow: hidden; }
.qv__shot img { width: 100%; height: 100%; object-fit: cover; }
.qv__info { padding-top: 22px; }
.qv__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.qv__name { font: 500 clamp(22px, 2vw, 28px)/1.1 var(--sans); letter-spacing: -.025em; }
.qv__price { font-variant-numeric: tabular-nums; font-size: var(--fs-b); white-space: nowrap; }
.qv__tag { color: var(--mute); margin-top: 6px; font-size: var(--fs-s); }
.qv__info .btn { margin-top: 24px; }
.qv__info .sheet { margin-top: 24px; }
.qv__info > p:last-child { margin-top: 18px; }

/* Guida alle taglie */
.sg__fit, .sg__how { font-size: var(--fs-s); }
.sg__fit { margin-bottom: 24px; }
.sg__how { margin-top: 24px; }
.sg__how p + p, .sg__fit p + p { margin-top: 8px; }
.sg__k { font-weight: 500; margin-bottom: 6px; }
.tbl { overflow-x: auto; margin-top: 8px; }
.size-table { width: 100%; min-width: 360px; font: 400 var(--fs-xs)/1.4 var(--mono); font-variant-numeric: tabular-nums; }
.size-table caption { text-align: left; font: 500 var(--fs-s)/1.4 var(--sans); padding-bottom: 10px; }
.size-table th, .size-table td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line-soft); }
.size-table thead th { color: var(--mute); font-weight: 400; }
.size-table tbody th { font-weight: 500; }
.tbl + .small { margin-top: 10px; }
.tbl + .small + .tbl, .tbl + .tbl { margin-top: 28px; }

/* Ricerca */
.search {
  position: fixed; left: 0; right: 0; top: 0; z-index: 55;
  background: var(--paper);
  max-height: 100svh; overflow-y: auto;
  transform: translate3d(0, -102%, 0); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s .6s;
}
.search.is-open { transform: none; visibility: visible; transition: transform .6s var(--ease); }
.search__in { padding: 0 var(--m) 40px; }
.search__form { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; min-height: 96px; border-bottom: 1px solid var(--ink); }
.search__label { font-size: var(--fs-s); font-weight: 500; color: var(--mute); }
.search__input {
  border: 0; background: transparent; min-width: 0;
  font: 500 clamp(24px, 3.4vw, 44px)/1.1 var(--sans); letter-spacing: -.03em; padding: 16px 0;
}
.search__input::placeholder { color: var(--bone-3); opacity: 1; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__status { font-size: var(--fs-s); color: var(--mute); margin-top: 16px; min-height: 1.5em; }
.search__hint { font-size: var(--fs-s); color: var(--mute); margin-top: 8px; }
.search__hint button { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; font-weight: 500; }
.hits { margin-top: 8px; }
.hit {
  display: grid; grid-template-columns: 48px 64px 1fr auto; gap: 16px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-s);
}
.hit__img { aspect-ratio: 1600 / 2143; background: var(--bone-2); overflow: hidden; }
.hit__img img { width: 100%; height: 100%; object-fit: cover; }
.hit__ref { color: var(--mute); }
.hit__name { font-weight: 500; }
.hit__name small { display: block; font: 400 var(--fs-xs)/1.4 var(--mono); color: var(--mute); margin-top: 2px; }
@media (hover: hover) { .hit:hover .hit__name { text-decoration: underline; text-underline-offset: .2em; } }

/* ── 9. Home ──────────────────────────────────────────────────────────── */
.hero__media {
  position: relative; overflow: hidden; background: var(--bone-2);
  height: clamp(420px, calc(100svh - var(--hd) - 30px - 8.5rem), 1040px);
}
.hero__media img, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
}
.hero__video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__video.is-on { opacity: 1; }
.hero__pause {
  position: absolute; right: var(--m); bottom: 16px; z-index: 2;
  font-size: var(--fs-xs); font-weight: 500; padding: 7px 10px;
  background: rgba(237, 233, 226, .86); color: var(--ink);
}
.hero__band { padding-top: clamp(18px, 2vw, 28px); row-gap: 24px; align-items: start; }
.hero__t { grid-column: 1 / span 5; font: 500 var(--fs-xl)/.86 var(--sans); letter-spacing: -.058em; margin-left: -.04em; }
.hero__aside { grid-column: 6 / span 3; padding-top: .5em; }
.hero__sub { max-width: 40ch; color: var(--ink-2); }
.hero__links { display: flex; gap: 22px; margin-top: 20px; flex-wrap: wrap; }
.hero__links .tlink { font-size: var(--fs-b); }
.hero__cap { margin-top: 22px; color: var(--mute); }
.hero__cap a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .25em; }
@media (hover: hover) { .hero__cap a:hover { color: var(--ink); text-decoration-color: currentColor; } }

/* I capi: la vetrina subito sotto la testata */
.capi { padding-block: clamp(56px, 6vw, 104px) var(--sec); }
.capi .sec-top__r .bar__f { justify-content: flex-end; }

/* Donna / Uomo: due fotografie da bordo a bordo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--bone); }
.split__it { position: relative; display: block; height: clamp(560px, 92svh, 1080px); overflow: hidden; background: var(--bone-2); color: var(--bone); }
.split__it img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.8s var(--ease); }
.split__it::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(to top, rgba(22, 22, 21, .58), rgba(22, 22, 21, 0)); pointer-events: none; }
.split__cap { position: absolute; z-index: 1; left: var(--m); right: var(--m); bottom: clamp(20px, 3vw, 44px); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.split__cap b { font: 500 var(--fs-xl)/.84 var(--sans); letter-spacing: -.058em; margin-left: -.04em; }
.split__cap span { font: 400 var(--fs-xs)/1.4 var(--mono); padding-bottom: .4em; text-align: right; }
@media (hover: hover) { .split__it:hover img { transform: scale(1.03); } }
.split__it:focus-visible { outline-offset: -6px; outline-color: var(--bone); }

/* Un capo da vicino: una fotografia grande, due piccole a filo, niente vuoti */
.feat { padding-block: clamp(64px, 7vw, 120px); row-gap: var(--g); }
.feat__big { grid-column: 1 / span 4; grid-row: 1 / span 2; display: flex; }
.feat__big .ph { aspect-ratio: auto; flex: 1; min-height: 100%; }
.feat__txt { grid-column: 5 / span 4; grid-row: 1; padding: 0 0 clamp(24px, 3vw, 48px) clamp(0px, 2vw, 32px); }
.feat__txt .h-l { font-size: clamp(30px, 1rem + 2.4vw, 52px); max-width: 16ch; }
.feat__txt .lede { margin-top: 20px; color: var(--ink-2); max-width: 44ch; }
.feat__spec { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ink-2); }
.feat__spec .wbar { width: 72px; color: var(--ink); }
.feat__act { display: flex; gap: 24px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.feat__small { grid-column: 5 / span 2; grid-row: 2; align-self: end; padding-left: clamp(0px, 2vw, 32px); }
.feat__macro { grid-column: 7 / span 2; grid-row: 2; align-self: end; }
.feat__small .ph, .feat__macro .ph { aspect-ratio: 4 / 5; }

/* Indice in home: sei righe, poi l'indice completo */
.ixh { padding-block: var(--sec); }

/* Striscia del lookbook, al buio */
.strip { padding-block: var(--sec); }
.strip .seg button { color: var(--bone); }
.strip__ctl button:disabled { color: var(--mute-ink); opacity: .6; cursor: default; }
.strip__track {
  display: flex; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0 var(--m) 6px;
  scroll-padding-inline: var(--m);
  scrollbar-width: none;
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__it { flex: 0 0 clamp(270px, 36vw, 620px); scroll-snap-align: start; }
.strip__it a { display: block; }
.strip__img { display: block; aspect-ratio: 1600 / 2143; overflow: hidden; background: #262523; }
.strip__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
@media (hover: hover) { .strip__it a:hover img { transform: scale(1.03); } }
.strip__cap { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; font: 500 var(--fs-m)/1.2 var(--sans); letter-spacing: -.012em; }
.strip__cap .mono { color: var(--mute-ink); }

/* Il guardaroba, in breve */
.wt { padding-block: var(--sec); row-gap: 40px; align-items: end; }
.wt__nums { grid-column: 1 / span 5; display: flex; align-items: flex-end; gap: clamp(20px, 4vw, 72px); flex-wrap: wrap; }
.wt__num { display: flex; flex-direction: column; }
.wt__num b { font: 500 clamp(96px, 3rem + 14vw, 280px)/.78 var(--sans); letter-spacing: -.07em; font-variant-numeric: tabular-nums; margin-left: -.05em; }
.wt__num span { font-size: var(--fs-s); font-weight: 500; margin-top: 14px; }
.wt__num--b b { color: var(--mute); }
.wt__txt { grid-column: 6 / span 3; }
.wt__txt p { margin-top: 18px; color: var(--ink-2); max-width: 40ch; }
.wt__txt .tlink { display: inline-block; margin-top: 24px; }
.wt__pieces { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--g); margin-top: clamp(12px, 3vw, 40px); }
.wt__pieces li { font-size: var(--fs-s); }
.wt__pieces .ph { margin-bottom: 8px; }
.wt__pieces small { display: block; color: var(--mute); font: 400 var(--fs-xs)/1.4 var(--mono); }

/* Tessuti, scala dei pesi */
.fab { padding-block: var(--sec); row-gap: 48px; }
.fab__img { grid-column: 1 / span 3; grid-row: 1 / span 2; }
.fab__head { grid-column: 5 / span 4; }
.fab__head p { color: var(--mute-ink); margin-top: 20px; max-width: 46ch; }
.scale { grid-column: 5 / span 4; align-self: end; }
.scale li {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.6fr) auto; gap: 14px; align-items: center;
  padding: 12px 0; border-top: 1px solid rgba(237, 233, 226, .14); font-size: var(--fs-s);
}
.scale li:last-child { border-bottom: 1px solid rgba(237, 233, 226, .14); }
.scale b { font-weight: 500; display: block; }
.scale small { color: var(--mute-ink); display: block; font-size: var(--fs-xs); margin-top: 2px; }
.scale .wbar { width: 100%; height: 6px; }
.scale__v { text-align: right; min-width: 9ch; }
.scale__note { margin-top: 18px; color: var(--mute-ink); font-size: var(--fs-s); }
.scale__note + p { margin-top: 18px; }

/* Cura, compatta */
.care { padding-block: clamp(56px, 6vw, 104px); row-gap: 32px; align-items: center; background: var(--bone-2); }
.care__a { grid-column: 1 / span 3; }
.care__a .ph { aspect-ratio: 4 / 5; }
.care__txt { grid-column: 5 / span 4; }
.care__notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px var(--g); margin-top: 32px; }
.care__notes dt { font-weight: 500; font-size: var(--fs-s); padding-top: 10px; border-top: 1px solid var(--ink); }
.care__notes dd { margin-top: 8px; font-size: var(--fs-s); color: var(--ink-2); }
.care__txt .tlink { display: inline-block; margin-top: 28px; }

/* ── 10. Indice ───────────────────────────────────────────────────────── */
.shop__head { padding: clamp(28px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); row-gap: 18px; align-items: end; }
.shop__head .crumbs { grid-column: 1 / -1; }
.shop__t { grid-column: 1 / span 5; font: 500 var(--fs-xl)/.86 var(--sans); letter-spacing: -.058em; margin-left: -.04em; }
.shop__intro { grid-column: 6 / span 3; color: var(--ink-2); max-width: 44ch; }
.bar {
  position: sticky; top: var(--hd); z-index: 20;
  background: var(--bone);
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--g);
  padding: 6px var(--m);
  border-top: 1px solid var(--line-soft);
  margin-bottom: clamp(20px, 2.4vw, 36px);
  align-items: center;
}
.bar__f { display: flex; overflow-x: auto; scrollbar-width: none; }
.bar__f::-webkit-scrollbar { display: none; }
.bar__f--g { grid-column: 1 / span 2; }
.bar__f--c { grid-column: 3 / span 4; }
.bar__r { grid-column: 7 / span 2; display: flex; justify-content: flex-end; gap: 20px; align-items: center; flex-wrap: wrap; }
.bar__n { font: 400 var(--fs-xs)/1 var(--mono); color: var(--mute); }
.bar__tools { grid-column: 1 / -1; display: flex; gap: 24px; justify-content: flex-end; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line-soft); margin-top: 2px; }
[data-index] .ix-out { padding-inline: var(--m); }
.is-list [data-photo-group] { display: none; }
.empty { padding: 12vh var(--m); }
.empty p { font: 500 var(--fs-l)/1.05 var(--sans); letter-spacing: -.035em; margin-bottom: 16px; }

/* Griglia */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(32px, 3.6vw, 56px) var(--g);
  grid-auto-flow: dense;
}
.card { position: relative; min-width: 0; }
.card__media { display: block; position: relative; aspect-ratio: 1600 / 2143; background: var(--bone-2); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.6s var(--ease); }
/* Indossato: davanti, al passaggio la seconda vista. Still life: lo still life, al passaggio il dettaglio.
   Le fotografie non in uso sono display:none, quindi non si scaricano. */
.card__fig { position: relative; }
.card__b, .card__d { opacity: 0; }
.card__s, .card__d { display: none; }
.is-still .card__a, .is-still .card__b { display: none; }
.is-still .card__s, .is-still .card__d { display: block; }
@media (hover: hover) {
  .card:hover .card__b, .is-still .card:hover .card__d { opacity: 1; }
  .card:hover .card__media img { transform: scale(1.02); }
}
@media (hover: none) { .card__b, .card__d { display: none !important; } }
.card__add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: 46px; padding: 0 14px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(246, 244, 239, .94); color: var(--ink);
  font-size: var(--fs-s); font-weight: 500;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.card__add-p { font: 300 22px/1 var(--sans); }
@media (hover: hover) {
  .card__add { opacity: 0; transform: translate3d(0, 6px, 0); }
  .card:hover .card__add, .card__add:focus-visible { opacity: 1; transform: none; }
  .card__add:hover { background: var(--ink); color: var(--bone); }
}
@media (hover: none) {
  .card__add { left: auto; width: 44px; height: 44px; padding: 0; justify-content: center; background: rgba(246, 244, 239, .88); }
  .card__add-t { display: none; }
}
.card__txt { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; margin-top: 12px; font-size: var(--fs-s); }
.card__name { font: 500 var(--fs-s)/1.35 var(--sans); }
@media (hover: hover) { .card__name a:hover { text-decoration: underline; text-underline-offset: .2em; } }
.card__price { font-variant-numeric: tabular-nums; }
.card__spec { display: flex; align-items: center; gap: 8px; margin-top: 6px; font: 400 var(--fs-xs)/1.3 var(--mono); color: var(--mute); white-space: nowrap; min-width: 0; }
.card__spec .wbar { width: 40px; color: var(--ink); }
.card__col { align-self: end; justify-self: end; }
.card--edit { grid-column: span 2; grid-row: span 2; display: block; position: relative; min-height: 100%; }
.card--edit__img { position: absolute; inset: 0; background: var(--bone-2); overflow: hidden; }
.card--edit__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
@media (hover: hover) { .card--edit:hover img { transform: scale(1.02); } }
.card--edit__cap {
  position: absolute; left: 0; bottom: 0; display: flex; gap: 10px; align-items: baseline;
  background: var(--bone); padding: 10px 14px 0 0; font-size: var(--fs-s); font-weight: 500;
}
.card--edit__cap .mono { color: var(--mute); }
.grid--4 { padding-inline: var(--m); }

/* Elenco: la scheda tecnica di tutto il guardaroba */
.list-head, .row__a {
  display: grid;
  grid-template-columns: 70px minmax(0, 2.1fr) minmax(0, 2.2fr) minmax(0, 1.5fr) 64px 72px;
  column-gap: var(--g);
  align-items: center;
}
.list-head { padding: 0 44px 10px 0; color: var(--mute); }
.list-head span:last-child, .row__price { text-align: right; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; border-top: 1px solid var(--line-soft); }
.list .row:last-child { border-bottom: 1px solid var(--line-soft); }
.row__a { padding: 15px 0; font-size: var(--fs-s); transition: background-color .25s; }
.row__img { display: none; }
.row__ref { color: var(--mute); }
.row__name b { font-weight: 500; }
.row__name small { display: block; font-size: var(--fs-xs); color: var(--mute); margin-top: 1px; }
.row__w { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.row__qv { width: 44px; height: 44px; display: grid; place-items: center; font: 300 22px/1 var(--sans); }
@media (hover: hover) {
  .row__a:hover .row__name b { text-decoration: underline; text-underline-offset: .2em; }
  .row:hover { background: var(--bone-2); }
}
.list-legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; font-size: var(--fs-xs); color: var(--mute); }
.list-legend span { display: inline-flex; align-items: center; gap: 10px; }
.list-legend .wbar { width: 28px; color: var(--ink); }

.peek {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: clamp(180px, 15vw, 240px); aspect-ratio: 1600 / 2143;
  background: var(--bone-2);
  pointer-events: none; opacity: 0;
  transition: opacity .25s var(--ease);
  will-change: transform;
}
.peek.is-on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ── 11. Scheda del capo ──────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--g); padding-right: var(--m); }
/* Galleria in due colonne, grande; la colonna delle informazioni resta ferma accanto
   (app.js ne regola il top se è più alta dello schermo). */
.pdp__media { grid-column: 1 / span 5; position: relative; }
.pdp__shots { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pdp__shot { aspect-ratio: 1600 / 2143; background: var(--bone-2); overflow: hidden; }
.pdp__shot img, .pdp__shot video { width: 100%; height: 100%; object-fit: cover; }
.pdp__count { display: none; }
.pdp__panel { grid-column: 6 / span 3; padding: 8px 0 40px clamp(0px, 2vw, 32px); position: sticky; top: calc(var(--hd) + 20px); align-self: start; }
.pdp__ref { color: var(--mute); margin-top: 28px; }
.pdp__name { font: 500 clamp(30px, 1rem + 2vw, 46px)/1 var(--sans); letter-spacing: -.04em; margin-top: 10px; }
.pdp__price { margin-top: 14px; font-size: var(--fs-b); font-variant-numeric: tabular-nums; }
.pdp__price span { color: var(--mute); font-size: var(--fs-xs); margin-left: 10px; }
.pdp__tag { color: var(--ink-2); margin-top: 14px; max-width: 40ch; }
.buy { display: flex; gap: 8px; margin-top: 26px; }
.buy .btn { flex: 1; }
.pdp__svc { margin-top: 16px; font-size: var(--fs-xs); color: var(--mute); }
.pdp__svc li + li { margin-top: 2px; }
.pdp__sheet { margin-top: 36px; }
.pdp__k { font: 500 var(--fs-s)/1.3 var(--sans); margin-bottom: 10px; }
.pdp__panel .acc { margin-top: 28px; }

.pdp-looks { padding: var(--sec) var(--m) 0; }
.pdp-looks__head { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--g); margin-bottom: 28px; align-items: end; }
.pdp-looks__head .h-sec { grid-column: 1 / span 2; }
.pdp-looks__lede { grid-column: 3 / span 4; color: var(--mute); }
.pdp-looks__row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--g); row-gap: 40px; }
.pdp-looks__row .lkf { grid-column: 3 / span 3; }
.pdp-looks__row--2 .lkf:first-child { grid-column: 1 / span 3; }
.pdp-looks__row--2 .lkf:last-child { grid-column: 5 / span 3; margin-top: clamp(40px, 8vw, 140px); }
.related { padding-top: var(--sec); }
.related .h-sec, .reviews .h-sec { padding-inline: var(--m); margin-bottom: 24px; }
.reviews { padding: var(--sec) 0; }
.reviews__body { padding-inline: var(--m); max-width: calc(60ch + 2 * var(--m)); color: var(--mute); }
.sticky-buy { display: none; }

.notfound { padding: 14vh var(--m); max-width: 900px; }
.notfound__t { font: 500 var(--fs-l)/1.02 var(--sans); letter-spacing: -.035em; margin-bottom: 18px; }
.notfound__links { display: flex; gap: 24px; align-items: center; margin-top: 28px; flex-wrap: wrap; }

/* ── 12. Lookbook ─────────────────────────────────────────────────────── */
html:has(body.pg-lookbook) { scroll-snap-type: y proximity; }
.lb__intro { padding: clamp(40px, 7vw, 120px) 0 clamp(40px, 6vw, 96px); row-gap: 24px; align-items: end; }
.lb__t { grid-column: 1 / span 4; font: 500 var(--fs-xl)/.86 var(--sans); letter-spacing: -.058em; margin-left: -.04em; }
.lb__p { grid-column: 5 / span 3; color: var(--ink-2); max-width: 44ch; }
.lb__how { grid-column: 5 / span 3; font-size: var(--fs-s); color: var(--mute); }
.lk-rail {
  position: fixed; right: calc(var(--m) - 8px); top: 50%; transform: translateY(-50%); z-index: 15;
  display: none; flex-direction: column; gap: 2px;
}
.lk-rail a { font: 400 var(--fs-xs)/1 var(--mono); color: var(--mute); padding: 6px 8px; text-align: right; transition: color .3s; }
.lk-rail a[aria-current] { color: var(--ink); }
.lk-rail a[aria-current]::before { content: ''; display: inline-block; width: 14px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 8px; }

.lk {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--g);
  min-height: calc(100svh - var(--hd));
  padding: 20px var(--m) 24px;
  scroll-snap-align: start;
  align-items: start;
}
.lk__head { grid-column: 1 / span 2; position: sticky; top: calc(var(--hd) + 20px); }
.lk__n { color: var(--mute); }
.lk__t { font: 500 var(--fs-l)/1 var(--sans); letter-spacing: -.035em; margin-top: 10px; text-wrap: balance; }
.lk__note { margin-top: 16px; color: var(--ink-2); max-width: 30ch; font-size: var(--fs-s); }
.lk__fig { grid-column: 3 / span 4; justify-self: center; width: min(100%, calc((100svh - var(--hd) - 44px) * .7466)); }
.lk__items { grid-column: 7 / span 2; align-self: end; }
.lk__items li { border-top: 1px solid var(--line-soft); }
.lk__items li:last-child { border-bottom: 1px solid var(--line-soft); }
.lk__item { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 0; text-align: left; font-size: var(--fs-s); }
.lk__item b { font-weight: 500; }
.lk__item .mono { color: var(--mute); grid-column: 1; }
.lk__plus { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 300 22px/1 var(--sans); }
@media (hover: hover) { .lk__item:hover b { text-decoration: underline; text-underline-offset: .2em; } }
.lb__end { padding: var(--sec) 0; row-gap: 24px; align-items: end; }
.lb__end .h-l { grid-column: 1 / span 5; }
.lb__end p { grid-column: 6 / span 3; display: flex; gap: 24px; flex-wrap: wrap; }

/* Fotografia con punti: mai ritagliata, così i punti restano sul capo */
.lkf__img { position: relative; aspect-ratio: 1600 / 2143; background: var(--bone-2); }
.lkf__img img { width: 100%; height: 100%; object-fit: cover; }
.lkf__cap { margin-top: 10px; font-size: var(--fs-s); font-weight: 500; color: var(--ink); }
.lkf__cap .mono { color: var(--mute); margin-right: 6px; }
.hs {
  position: absolute; z-index: 2;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  display: grid; place-items: center;
}
.hs__dot {
  position: relative; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bone);
  box-shadow: 0 0 0 1px rgba(22, 22, 21, .28), 0 1px 6px rgba(22, 22, 21, .25);
  transition: transform .35s var(--ease);
}
.hs__dot::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(237, 233, 226, .9);
  animation: hs 2.8s var(--ease) infinite;
}
@keyframes hs { 0% { transform: scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.hs__lbl {
  position: absolute; left: 34px; top: 50%; transform: translate(-4px, -50%);
  white-space: nowrap; background: var(--bone); color: var(--ink);
  padding: 7px 10px; font-size: var(--fs-xs); font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.hs--l .hs__lbl { left: auto; right: 34px; transform: translate(4px, -50%); }
.hs:hover .hs__dot, .hs:focus-visible .hs__dot { transform: scale(1.25); }
.hs:hover .hs__lbl, .hs:focus-visible .hs__lbl { opacity: 1; transform: translate(0, -50%); }
.hs:focus-visible { outline: none; }
.hs:focus-visible .hs__dot { outline: 2px solid var(--ink); outline-offset: 4px; }

/* ── 13. Il guardaroba ────────────────────────────────────────────────── */
.gb__head { padding-block: clamp(40px, 6vw, 96px) clamp(32px, 4vw, 56px); row-gap: 24px; align-items: end; }
.gb__title { grid-column: 1 / span 5; font: 500 var(--fs-xl)/.86 var(--sans); letter-spacing: -.058em; margin-left: -.04em; }
.gb__lede { grid-column: 6 / span 3; color: var(--ink-2); max-width: 44ch; }
.gb__ctl {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  border-top: 1px solid var(--line-soft); padding-top: 8px; margin-top: 16px;
}
.gb__presets { display: flex; gap: 22px; align-items: center; }
.gb__body { align-items: start; row-gap: 40px; }
.gb__pick { grid-column: 1 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: 36px var(--g); }
.gb__h { font: 500 var(--fs-s)/1.3 var(--sans); margin-bottom: 10px; display: flex; justify-content: space-between; }
.gb__h span { font: 400 var(--fs-xs)/1.3 var(--mono); color: var(--mute); }
.gb__list li + li { margin-top: 6px; }
.pc {
  width: 100%; display: grid; grid-template-columns: 52px 1fr 18px; gap: 14px; align-items: center;
  text-align: left; padding: 6px 10px 6px 6px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: box-shadow .25s, background-color .25s;
}
.pc__img { aspect-ratio: 1600 / 2143; overflow: hidden; background: var(--bone-2); }
.pc__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(.92); opacity: .7; transition: filter .4s, opacity .4s; }
.pc__t { font-size: var(--fs-s); min-width: 0; }
.pc__t b { font-weight: 500; display: block; }
.pc__t span { color: var(--mute); font-size: var(--fs-xs); }
.pc__mark { width: 14px; height: 14px; box-shadow: inset 0 0 0 1px var(--ink); justify-self: end; transition: background-color .2s; }
.pc[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }
.pc[aria-pressed="true"] .pc__img img { filter: none; opacity: 1; }
.pc[aria-pressed="true"] .pc__mark { background: var(--ink); }
@media (hover: hover) { .pc:hover { box-shadow: inset 0 0 0 1px var(--ink); } }

.gb__out { grid-column: 6 / span 3; position: sticky; top: calc(var(--hd) + 24px); }
.gb__n { display: flex; align-items: flex-end; gap: 16px; }
.gb__num { font: 500 clamp(96px, 2rem + 10vw, 220px)/.76 var(--sans); letter-spacing: -.07em; font-variant-numeric: tabular-nums; margin-left: -.05em; }
.gb__unit { font-size: var(--fs-s); font-weight: 500; padding-bottom: 6px; }
.gb__formula { margin-top: 24px; color: var(--ink-2); line-height: 1.55; }
.gb__acc { margin-top: 8px; font-size: var(--fs-s); color: var(--mute); }
.gb__total { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: var(--fs-s); }
.gb__total b { font-weight: 500; font-variant-numeric: tabular-nums; }
.gb__combos { padding-top: var(--sec); }
.gb__combos .h-sec { padding-inline: var(--m); margin-bottom: 24px; }
.gb__combos > div { padding-inline: var(--m); }
.cbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px var(--g); }
.cb a { display: block; }
.cb__photo, .cb__set { display: block; aspect-ratio: 1600 / 2143; overflow: hidden; background: var(--bone-2); }
.cb__photo img { width: 100%; height: 100%; object-fit: cover; }
.cb__set { display: grid; gap: 3px; background: var(--bone); }
.cb__set--2 { grid-template-rows: 1fr 1fr; }
.cb__set--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.cb__set--3 .cb__p:first-child { grid-row: 1 / span 2; }
.cb__p { overflow: hidden; background: var(--bone-2); min-height: 0; }
.cb__p img { width: 100%; height: 100%; object-fit: cover; }
.cb__cap { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; font-size: var(--fs-s); font-weight: 500; }
.cb__cap .mono { color: var(--mute); }
.cbs__more { margin-top: 32px; }
.gb__chosen-wrap { padding: var(--sec) var(--m) 0; max-width: 760px; }
.gb__chosen li { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: var(--fs-s); }
.gb__chosen li:last-child { border-bottom: 1px solid var(--line-soft); }
.gb__chosen a { font-weight: 500; }
.gb__chosen span { font-variant-numeric: tabular-nums; color: var(--mute); }
.gb__how { padding-block: var(--sec); row-gap: 24px; }
.gb__how .h-sec { grid-column: 1 / span 2; }
.gb__how .prose { grid-column: 3 / span 4; }

/* ── 14. Il progetto ──────────────────────────────────────────────────── */
.ab__head { padding: clamp(40px, 7vw, 120px) 0 clamp(40px, 5vw, 80px); row-gap: 28px; }
.ab__t { grid-column: 1 / span 6; font: 500 var(--fs-l)/1.02 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.ab__t span { color: var(--mute); }
.ab__wide { position: relative; height: clamp(380px, 62vw, 960px); overflow: hidden; background: var(--bone-2); }
.ab__wide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.ab__lead { padding-block: var(--sec); row-gap: 32px; }
.ab__lead .lede { grid-column: 2 / span 4; max-width: 30ch; }
.ab__lead .prose { grid-column: 6 / span 3; color: var(--ink-2); }
.ab__pair { padding-block: 0 var(--sec); row-gap: 32px; align-items: end; }
.ab__pair figure:first-child { grid-column: 1 / span 3; }
.ab__pair figure:last-child { grid-column: 5 / span 3; margin-bottom: clamp(40px, 10vw, 200px); }

.pr { padding-block: var(--sec); }
.pr .h-sec { grid-column: 1 / span 2; }
.pr__text {
  grid-column: 3 / span 6;
  font: 400 clamp(20px, .9rem + 1vw, 30px)/1.32 var(--sans); letter-spacing: -.02em;
  columns: 2; column-gap: calc(var(--g) * 2);
}
.pr__text p { break-inside: avoid; margin-bottom: 1em; text-wrap: pretty; }
.pr__text b { font-weight: 500; }
.pr__n { font: 400 11px/1 var(--mono); vertical-align: top; position: relative; top: .35em; margin-right: .5em; color: var(--mute); letter-spacing: 0; }
.on-ink .pr__n { color: var(--mute-ink); }

.fl { padding-block: var(--sec); }
.fl__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 48px var(--g); padding-inline: var(--m); }
.fl__crop { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bone-2); }
.fl__crop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transform-origin: var(--x, 50%) var(--y, 50%); transition: transform 1.6s var(--ease); }
@media (hover: hover) { .fl__it:hover .fl__crop img { transform: scale(calc(var(--z, 1) * 1.08)); } }
.fl__name { font-weight: 500; margin-top: 14px; font-size: var(--fs-b); }
.fl__w { display: flex; align-items: center; gap: 10px; margin-top: 6px; color: var(--ink-2); }
.fl__w .wbar { width: 56px; color: var(--ink); }
.fl__it p { font-size: var(--fs-s); color: var(--ink-2); margin-top: 10px; }
.fl__uses { font-size: var(--fs-s); margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.fl__uses a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .22em; }
@media (hover: hover) { .fl__uses a:hover { text-decoration-color: currentColor; } }

.pal { display: flex; height: clamp(260px, 34vw, 520px); }
.pal li {
  flex: 1 1 0; background: var(--c); color: var(--on, var(--bone));
  padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  font-size: var(--fs-s); transition: flex-grow .8s var(--ease);
}
.pal li b { font-weight: 500; }
.pal li span { font: 400 var(--fs-xs)/1.4 var(--mono); opacity: .85; }
@media (hover: hover) { .pal li:hover { flex-grow: 1.8; } }
.pal-head { padding-block: var(--sec) 32px; align-items: end; row-gap: 16px; }
.pal-head .h-sec { grid-column: 1 / span 2; }
.pal-head p { grid-column: 3 / span 4; color: var(--mute); }

.lo { padding-block: var(--sec); row-gap: 40px; align-items: start; }
.lo figure { grid-column: 1 / span 3; }
.lo__txt { grid-column: 5 / span 4; }
.lo__list { margin-top: 32px; }
.lo__list li { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); font-size: var(--fs-s); }
.lo__list li:last-child { border-bottom: 1px solid var(--line-soft); }
.lo__list b { font-weight: 500; }
.lo__list span { color: var(--ink-2); }
.ab__end { padding-block: 0 var(--sec); row-gap: 24px; align-items: end; }
.ab__end .h-l { grid-column: 1 / span 5; }
.ab__end p { grid-column: 6 / span 3; display: flex; gap: 24px; flex-wrap: wrap; }

/* ── 15. Pagine di servizio ───────────────────────────────────────────── */
.doc-head { padding: clamp(36px, 5vw, 88px) 0 clamp(36px, 4vw, 64px); row-gap: 20px; align-items: end; }
.doc-head .crumbs { grid-column: 1 / -1; }
.doc-head h1 { grid-column: 1 / span 5; font: 500 var(--fs-xl)/.88 var(--sans); letter-spacing: -.058em; margin-left: -.04em; }
.doc-head .lede { grid-column: 6 / span 3; color: var(--ink-2); font-size: var(--fs-b); line-height: 1.5; }
.doc-head .legal-meta { grid-column: 6 / span 3; color: var(--mute); }
.doc { padding-bottom: var(--sec); align-items: start; }
.doc__nav { grid-column: 1 / span 2; position: sticky; top: calc(var(--hd) + 24px); font-size: var(--fs-s); font-weight: 500; }
.doc__nav li + li { margin-top: 2px; }
.doc__nav a { display: inline-block; padding: 4px 0; color: var(--mute); }
@media (hover: hover) { .doc__nav a:hover { color: var(--ink); } }
.doc__main { grid-column: 3 / span 5; }
.doc__sec { padding-top: 8px; padding-bottom: clamp(48px, 6vw, 88px); }
.doc__sec h2 { font: 500 var(--fs-l)/1.02 var(--sans); letter-spacing: -.035em; margin-bottom: 24px; }
.doc__sec h3 { font: 500 var(--fs-b)/1.3 var(--sans); margin: 28px 0 8px; }
.doc__sec p, .doc__sec li { max-width: 64ch; text-wrap: pretty; }
.doc__sec p + p { margin-top: .9em; }
.doc__sec ol { list-style: decimal; padding-left: 1.3em; }
.doc__sec ol li + li, .doc__sec ul.bullets li + li { margin-top: .5em; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 var(--g); margin-bottom: 24px; }
.facts div { border-top: 1px solid var(--ink); padding-top: 10px; }
.facts dt { font-size: var(--fs-xs); color: var(--mute); }
.facts dd { font-size: var(--fs-m); font-weight: 500; letter-spacing: -.01em; margin-top: 4px; }
.defs div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.defs div:last-child { border-bottom: 1px solid var(--line-soft); }
.defs dt { font-weight: 500; }
.defs dd { color: var(--ink-2); }
.doc .acc { margin-top: 8px; max-width: 720px; }
.doc .acc__btn { font-size: var(--fs-b); padding: 18px 0; }
.doc .acc__body { font-size: var(--fs-b); }
.contact { padding: 20px; background: var(--bone-2); max-width: 520px; margin-top: 18px; }
.contact a { font: 500 var(--fs-m)/1.3 var(--sans); text-decoration: underline; text-underline-offset: .2em; }
code { font: 400 .92em/1 var(--mono); background: var(--bone-2); padding: 2px 4px; }

.e404 { padding: clamp(48px, 10vw, 160px) 0 var(--sec); row-gap: 28px; align-items: end; }
.e404__mark { grid-column: 1 / span 2; width: clamp(64px, 9vw, 140px); color: var(--ink); }
.e404 h1 { grid-column: 3 / span 5; font: 500 var(--fs-xl)/.88 var(--sans); letter-spacing: -.058em; }
.e404 p { grid-column: 3 / span 4; color: var(--ink-2); max-width: 44ch; }
.e404 .notfound__links { grid-column: 3 / span 5; margin-top: 0; }

/* ── 16. Movimento ────────────────────────────────────────────────────── */
/* I contenuti sono nascosti solo sotto html.rv (aggiunto da app.js se il movimento è consentito). */
.rv [data-rv] { transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.rv [data-rv]:not(.is-in) { opacity: 0; transform: translate3d(0, 22px, 0); }
.rv [data-rv]:not(.is-in) .wbar i, .rv [data-rv]:not(.is-in).wbar i { transform: scaleX(0); }
.rv figure[data-rv]:not(.is-in), .rv .ph[data-rv]:not(.is-in) { transform: none; }
.rv figure[data-rv] img, .rv .ph[data-rv] img { transition: transform 1.8s var(--ease); }
.rv figure[data-rv]:not(.is-in) img, .rv .ph[data-rv]:not(.is-in) img { transform: scale(1.06); }
/* Ultima rete: se app.js non conferma (rv-ok), tutto torna visibile da solo dopo pochi secondi. */
.rv:not(.rv-ok) [data-rv]:not(.is-in) { animation: rv-fail .01s linear 3.5s forwards; }
@keyframes rv-fail { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hs__dot::after { display: none; }
  html:has(body.pg-lookbook) { scroll-snap-type: none; }
}

/* ── 17. Risposte allo schermo ────────────────────────────────────────── */
@media (min-width: 1100px) {
  .hd__menu { display: none; }
  .hd__nav { display: flex; }
  .hd__lnk--wide { display: inline; }
  .lk-rail { display: flex; }
  .lk { padding-right: calc(var(--m) + 52px); }
}
@media (min-width: 1500px) {
  :root { --fs-b: 16px; --fs-s: 13.5px; }
}

@media (max-width: 1099px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .capi .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card__txt { grid-template-columns: minmax(0, 1fr); }
  .card__col { justify-self: start; margin-top: 8px; }
  .card--edit { grid-column: span 3; grid-row: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .ft__news { grid-column: 1 / -1; max-width: 560px; }
  .ft__col, .ft__col:first-of-type { grid-column: span 2; }
  .fl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bar__f--g { grid-column: 1 / span 3; }
  .bar__f--c { grid-column: 4 / span 5; }
  .bar__r { grid-column: 1 / -1; justify-content: space-between; }
  .pdp__media { grid-column: 1 / span 4; }
  .pdp__panel { grid-column: 5 / span 4; }
  .pdp__shots { grid-template-columns: 1fr; }
  .lk__head { grid-column: 1 / span 3; }
  .lk__fig { grid-column: 4 / span 5; }
  .lk__items { grid-column: 1 / span 3; grid-row: 1; align-self: end; }
  .gb__pick { grid-column: 1 / span 8; }
  /* Su schermi stretti il conto resta in vista, compatto, mentre si scelgono i capi. */
  .gb__out {
    grid-column: 1 / -1; order: -1; position: sticky; top: var(--hd); z-index: 5;
    background: var(--bone); padding: 10px 0 12px; border-bottom: 1px solid var(--line-soft);
    display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: end;
  }
  .gb__n { grid-row: 1 / span 2; }
  .gb__num { font-size: clamp(56px, 12vw, 104px); }
  .gb__formula { margin-top: 0; font-size: var(--fs-xs); }
  .gb__acc { margin-top: 4px; }
  .gb__total { display: none; }
  .cbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  :root { --hd: 52px; }
  .g8, .sec-top, .bar, .ft__grid, .ft__base, .pdp, .pdp-looks__head, .pdp-looks__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sec-top { row-gap: 12px; }
  .sec-top > .h-sec, .sec-top__p, .sec-top__r { grid-column: 1 / -1; justify-self: start; justify-content: flex-start; }

  .hero__media { height: auto; aspect-ratio: 3 / 4; max-height: 82svh; }
  .hero__media img { object-position: 74% 50%; }
  .hero__t, .hero__aside { grid-column: 1 / -1; }
  .hero__aside { padding-top: 0; }

  .feat { row-gap: 28px; }
  .feat__big { grid-column: 1 / -1; grid-row: auto; margin-inline: calc(var(--m) * -1); }
  .feat__big .ph { aspect-ratio: 1600 / 2143; min-height: 0; }
  .feat__txt { grid-column: 1 / -1; grid-row: auto; padding: 0; }
  .feat__small { grid-column: 1 / span 2; grid-row: auto; padding-left: 0; }
  .feat__macro { grid-column: 3 / span 2; grid-row: auto; }
  .capi .sec-top__r { width: 100%; }
  .capi .sec-top__r .bar__f { justify-content: flex-start; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); width: calc(100% + 2 * var(--m)); }
  .split { grid-template-columns: 1fr; }
  .split__it { height: auto; aspect-ratio: 4 / 5; max-height: 86svh; }
  .strip__it { flex-basis: 78vw; }

  .wt__nums, .wt__txt { grid-column: 1 / -1; }
  .wt__pieces { grid-template-columns: repeat(5, minmax(96px, 1fr)); overflow-x: auto; margin-inline: calc(var(--m) * -1); padding-inline: var(--m); scrollbar-width: none; }
  .wt__pieces::-webkit-scrollbar { display: none; }

  .fab__img { grid-column: 1 / span 3; grid-row: auto; }
  .fab__head, .scale { grid-column: 1 / -1; }
  .care__a { grid-column: 1 / span 3; }
  .care__txt { grid-column: 1 / -1; }
  .care__notes { grid-template-columns: 1fr; gap: 18px; }

  .shop__t, .shop__intro { grid-column: 1 / -1; }
  .bar { position: static; padding-block: 2px; }
  .bar__f--g, .bar__f--c, .bar__r { grid-column: 1 / -1; }
  .bar__f { margin-inline: calc(var(--m) * -1); padding-inline: var(--m); }
  .bar__r { justify-content: flex-start; gap: 6px 20px; padding: 4px 0; border-top: 1px solid var(--line-soft); }
  .bar__n { width: 100%; padding-top: 6px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .card--edit { grid-column: span 2; aspect-ratio: 4 / 5; }
  .card__txt { grid-template-columns: 1fr; }
  .card__price { margin-top: 1px; }
  .card__col { justify-self: start; margin-top: 8px; }
  .capi .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Bersagli da almeno 44 px */
  .fbtn, .seg button, .hd__lnk, .hd__menu, .dr__close, .ln__rm, .sw { min-height: 44px; display: inline-flex; align-items: center; }
  .hd__lnk--wide { display: none; }
  .qty button { width: 44px; height: 44px; }
  .ft__col li + li { margin-top: 0; }
  .ft__col a, .menu__sub a, .doc__nav a, .crumbs a { padding: 11px 0; display: inline-block; }
  .tlink { position: relative; }
  .tlink::after { content: ""; position: absolute; left: -4px; right: -4px; top: -12px; bottom: -12px; }

  .list-head { display: none; }
  .row__a {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas: "img name price" "img comp comp" "img w col";
    row-gap: 4px; padding: 12px 0;
  }
  .row__ref { display: none; }
  .row__img { display: block; grid-area: img; align-self: start; aspect-ratio: 1600 / 2143; overflow: hidden; background: var(--bone-2); }
  .row__img img { width: 100%; height: 100%; object-fit: cover; }
  .row__name { grid-area: name; }
  .row__comp { grid-area: comp; color: var(--ink-2); }
  .row__w { grid-area: w; }
  .row__col { grid-area: col; justify-self: end; }
  .row__price { grid-area: price; align-self: start; }

  .pdp { padding-right: 0; }
  .pdp__media { grid-column: 1 / -1; }
  .pdp__shots {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .pdp__shots::-webkit-scrollbar { display: none; }
  .pdp__shot { flex: 0 0 100%; scroll-snap-align: start; }
  .pdp__count { display: block; position: absolute; right: var(--m); bottom: 12px; background: rgba(237, 233, 226, .86); padding: 4px 8px; font: 400 var(--fs-xs)/1 var(--mono); }
  .pdp__panel { grid-column: 1 / -1; position: static; padding: 8px var(--m) 24px; }
  .pdp-looks__head .h-sec, .pdp-looks__lede { grid-column: 1 / -1; }
  .pdp-looks__lede { margin-top: 8px; }
  .pdp-looks__row .lkf, .pdp-looks__row--2 .lkf:first-child, .pdp-looks__row--2 .lkf:last-child { grid-column: 1 / -1; margin-top: 0; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-buy {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    justify-content: space-between; align-items: center; gap: 12px;
    padding: 10px var(--m) calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line-soft);
    transform: translate3d(0, 110%, 0); transition: transform .45s var(--ease);
  }
  .sticky-buy.is-on { transform: none; }
  .sticky-buy__t { font-size: var(--fs-s); min-width: 0; }
  .sticky-buy__t b { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy__t span { color: var(--mute); }
  .sticky-buy .btn { min-height: 46px; padding: 0 18px; flex: none; }

  .lb__t, .lb__p, .lb__how { grid-column: 1 / -1; }
  .lk { display: block; min-height: 0; padding-block: 28px 40px; }
  .lk__head { position: static; margin-bottom: 18px; }
  .lk__t { font-size: clamp(28px, 8vw, 40px); }
  .lk__fig { width: auto; margin-inline: calc(var(--m) * -1); }
  .lk__items { margin-top: 14px; }
  .lb__end .h-l, .lb__end p { grid-column: 1 / -1; }

  .gb__title, .gb__lede { grid-column: 1 / -1; }
  .gb__pick { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .gb__out { grid-column: 1 / -1; }
  .gb__how .h-sec, .gb__how .prose { grid-column: 1 / -1; }
  .cbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ab__t { grid-column: 1 / -1; }
  .ab__lead .lede, .ab__lead .prose { grid-column: 1 / -1; }
  .ab__pair figure:first-child { grid-column: 1 / span 3; }
  .ab__pair figure:last-child { grid-column: 2 / span 3; margin-bottom: 0; }
  .pr .h-sec, .pr__text { grid-column: 1 / -1; }
  .pr__text { columns: 1; margin-top: 20px; }
  .fl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .pal-head .h-sec, .pal-head p { grid-column: 1 / -1; }
  .pal { flex-direction: column; height: auto; }
  .pal li { min-height: 76px; flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .lo figure { grid-column: 1 / span 3; }
  .lo__txt { grid-column: 1 / -1; }
  .lo__list li, .defs div { grid-template-columns: 1fr; gap: 4px; }
  .ab__end .h-l, .ab__end p { grid-column: 1 / -1; }

  .doc-head h1, .doc-head .lede, .doc-head .legal-meta { grid-column: 1 / -1; }
  .doc__nav { grid-column: 1 / -1; position: static; margin-bottom: 32px; }
  .doc__nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .doc__main { grid-column: 1 / -1; }
  .e404__mark, .e404 h1, .e404 p, .e404 .notfound__links { grid-column: 1 / -1; }

  .ft__news { grid-column: 1 / -1; }
  .ft__col, .ft__col:first-of-type { grid-column: span 2; }
  .ft__rings { grid-column: 1 / -1; }
  .ft__terms { grid-column: 1 / -1; }
  .ft__copy { grid-column: 1 / -1; justify-self: start; text-align: left; }
}

@media (max-width: 520px) {
  .hd__mark { font-size: 13px; letter-spacing: .2em; margin-right: -.2em; }
  .hd__util { gap: 14px; }
  .ann .ann__x { display: none; }
  .card__spec > span:first-child { display: none; }
  .qv__shot { flex-basis: 74%; }
  .split__cap b { font-size: clamp(44px, 14vw, 64px); }
  .qv__media { grid-template-columns: 1fr 1fr; }
  .hit { grid-template-columns: 44px 1fr auto; }
  .hit__ref { display: none; }
  .scale li { grid-template-columns: minmax(0, 1fr) auto; }
  .scale .wbar { grid-column: 1 / -1; grid-row: 2; }
  .menu__sub { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  :root { --fs-b: 14.5px; }
  .hd__util { gap: 12px; }
  .fbtn { margin-right: 16px; }
}

@media print {
  .hd, .ann, .ft, .bar, .sticky-buy, .scrim, .drawer, .search, .menu, .lk-rail, .hero__pause { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Mobile: ritocchi del 26/11/2026
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* niente lampo grigio al tocco e niente zoom col doppio tocco sui comandi */
a, button, summary, label, select, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
/* su iPhone un campo con testo sotto i 16px fa ingrandire tutta la pagina quando lo tocchi */
@media (hover: none) and (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]), select, textarea { font-size: max(16px, 1em) !important; }
}
@media (hover: none) and (pointer: coarse) {
  .hd__menu, .hd__lnk { padding-block: 13px; }
  .hero__pause { padding: 11px 14px; }
}
/* il bottone del checkout non finisce sotto la barra di sistema dell'iPhone */
.dr__foot { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
