/* ---------- Font locali ---------- */
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

/* ---------- Colori: 60 crema / 30 blu / 10 giallo ---------- */
:root {
  --crema: #fef1d0;
  --crema-2: #f6e3b4;
  --foto: #e3dfd7;
  --blu: #0042af;
  --blu-scuro: #00297a;
  --giallo: #f5c518;
  --nero: #111111;
  --testo: #1b2340;
  --raggio: 22px;
  --molla: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--testo);
  font: 500 17px/1.6 "Inter Tight", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.intro-attiva body { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--giallo); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blu); color: #fff; padding: 10px 16px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Animazione iniziale ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; background: var(--blu);
  display: grid; place-items: center;
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 1s var(--molla), visibility 0s linear 1s;
}
.intro.via { clip-path: circle(0% at 50% 50%); visibility: hidden; }
.intro__logo { position: relative; width: min(64vw, 300px); aspect-ratio: 1; animation: entra .9s var(--molla) both; }
.intro.via .intro__logo { transform: scale(.6); transition: transform .8s var(--molla); }
.intro__giro { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 7s linear infinite; }
.intro__giro text { font: 900 18px "Inter Tight", sans-serif; letter-spacing: .1em; fill: var(--giallo); }
.intro__cerchio {
  position: absolute; inset: 22%; border-radius: 50%; background: var(--blu-scuro);
  border: 3px solid var(--giallo); display: grid; place-items: center;
}
.intro__cerchio img { width: 46%; animation: sale-a 1s var(--molla) .25s both; }
@keyframes entra { from { transform: scale(.5) rotate(-40deg); opacity: 0; } }
@keyframes sale-a { from { transform: translateY(30%); opacity: 0; } }
@keyframes gira { to { transform: rotate(360deg); } }

/* ---------- Barra di avanzamento ---------- */
.progresso { position: fixed; top: 0; left: 0; height: 4px; width: 100%; background: var(--giallo); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 800 16px/1 "Inter Tight", sans-serif; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--molla), background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: scale(.97); }
.btn--blu { background: var(--blu); color: #fff; }
.btn--blu:hover { background: var(--blu-scuro); }
.btn--linea { border-color: var(--blu); color: var(--blu); }
.btn--linea:hover { background: var(--blu); color: #fff; }
.btn--giallo { background: var(--giallo); color: var(--nero); }
.btn--pieno { width: 100%; }

/* ---------- Menu fisso ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, transform .4s var(--molla); }
.top.is-pieno { background: rgba(254, 241, 208, .96); box-shadow: 0 1px 0 rgba(0, 66, 175, .15); backdrop-filter: blur(8px); }
.top.is-nascosto { transform: translateY(-100%); }
.top__in { width: min(1160px, 100% - 32px); margin-inline: auto; height: 72px; display: flex; align-items: center; gap: 24px; }
.top__logo img { width: 150px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 800; color: var(--blu); font-size: 15px; background: linear-gradient(var(--giallo), var(--giallo)) 0 100% / 0 3px no-repeat; transition: background-size .3s var(--molla); padding-bottom: 2px; }
.nav a:hover { background-size: 100% 3px; }
.cart-btn {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--blu); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.cart-btn__n {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 99px; background: var(--giallo); color: var(--nero); font-size: 12px; font-weight: 900; line-height: 22px;
}
.cart-btn.salta { animation: salta .5s ease; }
@keyframes salta { 30% { transform: scale(1.2); } 60% { transform: scale(.94); } }
.burger { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 12px; }
.burger span { display: block; height: 3px; background: var(--blu); border-radius: 3px; margin: 6px 0; transition: transform .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  width: min(1160px, 100% - 32px); margin-inline: auto;
  min-height: 100svh; padding: 110px 0 60px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
}
.hero__title {
  margin: 0 0 36px; color: var(--blu);
  font-weight: 900; font-size: clamp(42px, 5.6vw, 82px); line-height: .95; letter-spacing: -.035em;
}
.riga--logo { margin: .22em 0 0; padding: .04em 0 .08em; }
.hero__logo { display: block; width: 100%; max-width: 640px; height: auto; color: var(--blu); }
.hero__title em { font-size: 1.08em; color: var(--nero); }
.riga { display: block; overflow: hidden; padding: .1em 0 .3em; margin: -.1em 0 -.3em; }
.riga > span { display: block; transform: translateY(110%); transition: transform 1s var(--molla); }
.riga:nth-child(2) > span { transition-delay: .08s; }
.riga:nth-child(3) > span { transition-delay: .16s; }
.pronto .riga > span { transform: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; transform: translateY(20px); transition: opacity .8s ease .4s, transform .8s var(--molla) .4s; }
.pronto .hero__cta { opacity: 1; transform: none; }

.hero__art { position: relative; aspect-ratio: 1 / 1.02; }
.hero__art > * { will-change: transform; }
.hero__sole { position: absolute; inset: 10% 8%; border-radius: 50%; background: var(--giallo); transform: translate3d(0, var(--y, 0), 0); scale: 0; transition: scale 1.1s var(--molla) .1s; }
.pronto .hero__sole { scale: 1; }
.hero__foto {
  position: absolute; width: 52%; border-radius: 24px; overflow: hidden; background: var(--foto);
  box-shadow: 0 30px 50px -18px rgba(0, 30, 90, .45);
  opacity: 0; transition: opacity .8s ease .35s;
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
}
.pronto .hero__foto { opacity: 1; }
.hero__foto--a { right: 3%; top: 4%; --r: 6deg; }
.hero__foto--b { left: 3%; bottom: 3%; --r: -5deg; }
.timbro { position: absolute; right: 2%; bottom: 4%; width: 27%; aspect-ratio: 1; background: var(--blu); border-radius: 50%; display: grid; place-items: center; transform: translateY(var(--y, 0)); box-shadow: 0 14px 30px -10px rgba(0, 30, 90, .5); }
.timbro svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 14s linear infinite; }
.timbro text { font: 900 17px "Inter Tight", sans-serif; letter-spacing: .14em; fill: #fff; }
.timbro img { width: 30%; }

/* ---------- Striscia ---------- */
.striscia { background: var(--blu); color: var(--giallo); overflow: hidden; padding: 20px 0; transform: rotate(-1.6deg); margin: 0 -12px; position: relative; z-index: 2; }
.striscia__in { display: flex; gap: 40px; width: max-content; font-weight: 900; font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -.01em; white-space: nowrap; will-change: transform; }
.striscia .stella { color: #fff; font-size: .6em; align-self: center; }

/* ---------- Titoli sezione ---------- */
.titolo { margin: 0 0 40px; color: var(--blu); font-weight: 900; font-size: clamp(40px, 5.6vw, 76px); line-height: .98; letter-spacing: -.03em; max-width: 14ch; }
.titolo em { color: var(--nero); }
.titolo--chiaro { color: #fff; }
.titolo--chiaro em { color: var(--giallo); }
/* parole che salgono una alla volta */
.parole .p { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .06em .3em; margin: -.1em -.06em -.3em; }
.parole .p > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform .9s var(--molla); transition-delay: calc(var(--i) * 60ms); }
.parole.is-visto .p > span { transform: none; }

/* ---------- Comparsa generica ---------- */
.sale { opacity: 0; transform: translateY(48px) rotate(1.5deg); transition: opacity .8s ease, transform .9s var(--molla); transition-delay: calc(var(--i, 0) * 90ms); }
.sale.is-visto { opacity: 1; transform: none; }

/* ---------- Negozio ---------- */
.shop { padding: 130px 0 100px; }
.filtri { display: flex; gap: 8px; margin: -10px 0 30px; flex-wrap: wrap; }
.filtro { min-height: 44px; padding: 0 20px; border-radius: 99px; border: 2px solid var(--blu); background: none; color: var(--blu); font: 800 15px "Inter Tight", sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.filtro.is-on { background: var(--blu); color: #fff; }
.prodotti { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.prodotto { background: #fff; border-radius: var(--raggio); overflow: hidden; box-shadow: 0 2px 0 rgba(0, 66, 175, .12); display: flex; flex-direction: column; }
.prodotto.nascosto { display: none; }
.prodotto__foto { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--foto); }
.vista { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(calc(var(--z, 1) * 1.04)); transition: opacity .5s ease, transform .6s var(--molla); }
.vista--on { opacity: 1; transform: scale(var(--z, 1)); }
.giro { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; background: rgba(255, 255, 255, .92); border-radius: 99px; padding: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
.giro__b { border: 0; background: none; min-height: 40px; padding: 0 18px; border-radius: 99px; font: 800 14px "Inter Tight", sans-serif; color: var(--blu); cursor: pointer; }
.giro__b.is-on { background: var(--blu); color: #fff; }
.prodotto__info { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.prodotto__riga { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.prodotto h3 { margin: 0; line-height: 1.05; font-size: 28px; font-weight: 900; letter-spacing: -.02em; color: var(--nero); }
.prezzo { margin: 0; font-weight: 900; font-size: 22px; color: var(--blu); white-space: nowrap; }
.taglie { border: 0; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.taglie legend { font-weight: 500; font-size: 13px; letter-spacing: .01em; margin-bottom: 10px; color: #6b665c; }
.taglie label { position: relative; }
.taglie input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.taglie span { display: grid; place-items: center; min-width: 50px; height: 46px; padding: 0 10px; border: 2px solid #d8d2c2; border-radius: 12px; font-weight: 800; cursor: pointer; transition: border-color .2s, background .2s; }
.taglie input:checked + span { border-color: var(--blu); background: var(--blu); color: #fff; }
.taglie input:focus-visible + span { outline: 3px solid var(--giallo); outline-offset: 2px; }
.aggiungi { margin-top: auto; }

.vantaggi { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; font-weight: 800; color: var(--blu); }
.vantaggi li { display: flex; align-items: center; gap: 10px; }
.vantaggi svg { width: 26px; height: 26px; }

/* ---------- Il nome ---------- */
.nome { background: var(--blu); color: #fff; padding: 120px 0 110px; position: relative; overflow: hidden; }
.nome__scia { position: absolute; top: 26px; left: 0; white-space: nowrap; pointer-events: none; }
.nome__scia span { display: block; font-weight: 900; font-size: clamp(90px, 16vw, 230px); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .12); will-change: transform; }
.nome__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.nome__parola { margin: 0; font-weight: 900; font-size: clamp(54px, 7.6vw, 108px); line-height: .9; letter-spacing: -.04em; color: var(--giallo); }
.nome__pron { margin: 16px 0 0; font-size: 20px; }
.nome__pron em { font-size: 1.2em; }
.nome__sensi { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.nome__sensi li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border: 2px solid rgba(255, 255, 255, .22); border-radius: var(--raggio); background: rgba(0, 41, 122, .35); transition: background .25s, border-color .25s, opacity .8s ease, transform .9s var(--molla); }
.nome__sensi li:hover { background: rgba(255, 255, 255, .07); border-color: var(--giallo); }
.nome__sensi span { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--giallo); color: var(--nero); display: grid; place-items: center; font-weight: 900; }
.nome__sensi h3 { margin: 0 0 4px; font-size: 22px; font-weight: 900; }
.nome__sensi p { margin: 0; color: #dbe4ff; }

/* ---------- Numeri ---------- */
.numeri { padding: 100px 0; }
.numeri__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.numero strong { display: block; font-weight: 900; font-size: clamp(46px, 6vw, 80px); line-height: 1; color: var(--blu); letter-spacing: -.03em; }
.numero span { display: block; margin-top: 10px; font-weight: 800; }

/* ---------- Taglie ---------- */
.taglie-sez { padding: 40px 0 100px; }
.nota { margin: -20px 0 28px; max-width: 36em; }
.tabella { overflow-x: auto; background: #fff; border-radius: var(--raggio); }
table { width: 100%; border-collapse: collapse; min-width: 560px; text-align: center; }
th, td { padding: 18px 12px; border-bottom: 1px solid #efe6cf; }
thead th { background: var(--nero); color: #fff; font-weight: 900; }
tbody th { text-align: left; padding-left: 24px; font-weight: 900; color: var(--blu); white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }

/* ---------- Domande ---------- */
.domande { padding: 40px 0 120px; }
.domande__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 900; font-size: 19px; color: var(--nero); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(#fff, #fff) center / 14px 3px no-repeat, linear-gradient(#fff, #fff) center / 3px 14px no-repeat, var(--blu); transition: background .25s; }
.faq details[open] summary::after { background: linear-gradient(var(--nero), var(--nero)) center / 14px 3px no-repeat, var(--giallo); }
.faq p { margin: 0 0 22px; color: #444b63; }

/* ---------- Contatti ---------- */
.contatti { background: var(--nero); padding: 100px 0; }
.contatti__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contatti .titolo { margin: 0; }
.contatti__link { display: grid; gap: 14px; }
.contatto { display: block; padding: 22px 26px; border-radius: var(--raggio); background: #1d1d1d; color: #fff; text-decoration: none; font-weight: 900; font-size: clamp(18px, 2.2vw, 24px); transition: background .2s, color .2s, transform .3s var(--molla); overflow-wrap: anywhere; }
.contatto span { display: block; font-size: 14px; font-weight: 800; color: var(--giallo); margin-bottom: 4px; }
.contatto:hover { background: var(--giallo); color: var(--nero); transform: translateX(6px); }
.contatto:hover span { color: var(--blu); }

/* ---------- Footer ---------- */
.piede { background: var(--blu-scuro); color: #dbe4ff; padding: 70px 0 30px; font-size: 15px; }
.piede__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.piede__in img { width: 160px; margin-bottom: 14px; }
.piede h3 { color: #fff; font-size: 16px; margin: 0 0 12px; }
.piede__in a { display: block; text-decoration: none; padding: 5px 0; }
.piede__in a:hover { color: var(--giallo); }
.piede__legale { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }
.piede__legale p { margin: 0; }

/* ---------- Carrello ---------- */
.velo { position: fixed; inset: 0; background: rgba(10, 20, 50, .45); z-index: 60; }
.carrello {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); z-index: 70;
  background: var(--crema); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--molla); box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
}
.carrello.is-aperto { transform: none; }
.carrello__testa { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 2px solid var(--crema-2); }
.carrello__testa h2 { margin: 0; font-size: 24px; font-weight: 900; color: var(--blu); }
.chiudi { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--blu); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.carrello__lista { list-style: none; margin: 0; padding: 12px 24px; overflow-y: auto; flex: 1; }
.riga-c { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--crema-2); }
.riga-c img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--foto); }
.riga-c h3 { margin: 0; font-size: 16px; font-weight: 900; line-height: 1.2; }
.riga-c p { margin: 2px 0 8px; font-size: 14px; color: #555c74; }
.qta { display: inline-flex; align-items: center; gap: 4px; background: #fff; border-radius: 99px; padding: 3px; }
.qta button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--crema-2); font-weight: 900; cursor: pointer; }
.qta span { min-width: 24px; text-align: center; font-weight: 900; }
.riga__prezzo { font-weight: 900; color: var(--blu); }
.carrello__vuoto { padding: 24px; margin: 0; flex: 1; }
.carrello__piede { padding: 20px 24px 26px; border-top: 2px solid var(--crema-2); display: grid; gap: 14px; }
.totale { display: flex; justify-content: space-between; font-size: 20px; font-weight: 900; }
.demo { margin: 0; padding: 12px 14px; background: #fff; border-radius: 12px; font-size: 14px; font-weight: 800; color: var(--blu); }

.avviso { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--nero); color: #fff; padding: 14px 22px; border-radius: 99px; font-weight: 800; z-index: 80; transition: transform .45s var(--molla); max-width: calc(100% - 32px); text-align: center; }
.avviso.is-su { transform: translate(-50%, 0); }

/* ---------- Telefono e tablet ---------- */
@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--crema); padding: 8px 16px 20px; box-shadow: 0 12px 20px rgba(0, 0, 0, .08);
    transform: translateY(-130%); transition: transform .4s var(--molla); margin: 0;
  }
  .nav.is-aperto { transform: none; }
  .nav a { padding: 14px 4px; font-size: 20px; border-bottom: 1px solid var(--crema-2); background: none; }
  .cart-btn { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 104px; gap: 20px; }
  .hero__art { width: min(520px, 100%); margin-inline: auto; }
  .nome__in, .domande__in, .contatti__in { grid-template-columns: 1fr; }
  .nome__in { gap: 34px; }
  .numeri__in { grid-template-columns: 1fr; gap: 36px; }
  .piede__in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__cta .btn { flex: 1; padding: 0 16px; }
  .shop { padding-top: 100px; }
  .prodotti { grid-template-columns: 1fr; }
  .prodotto__info { padding: 20px 18px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sale, .parole .p > span, .riga > span, .hero__cta, .hero__foto { opacity: 1 !important; transform: none !important; }
  .hero__sole { transform: none !important; }
  .intro { display: none; }
}
.esclama { color: var(--giallo); font-weight: 800; white-space: nowrap; }

/* ---------- Negozio in una sola schermata ---------- */
.shop { min-height: 100svh; padding: 96px 0 32px; display: flex; flex-direction: column; justify-content: center; }
.shop__testa { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.shop .titolo { font-size: clamp(34px, 4vw, 56px); margin: 0; }
.prodotti { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prodotto__foto { aspect-ratio: auto; height: clamp(150px, calc(100svh - 500px), 330px); }
.giro { top: 8px; bottom: auto; left: auto; right: 8px; transform: none; }
/* capo sempre intero: niente ritaglio né zoom */
.vista { object-fit: contain; transform: none; transition: opacity .5s ease; }
.vista--on { transform: none; }
.giro__b { min-height: 30px; padding: 0 11px; font-size: 12px; }
.prodotto__info { padding: 14px 16px 16px; gap: 10px; }
.prodotto h3 { font-size: 21px; }
.prezzo { font-size: 18px; }
.taglie { gap: 6px; flex-wrap: nowrap; margin: 0; }
.taglie legend { margin-bottom: 6px; }
.taglie label { flex: 1; }
.taglie span { min-width: 0; height: 36px; padding: 0 2px; border-radius: 10px; font-size: 14px; }
.shop .aggiungi { min-height: 46px; font-size: 15px; }
.vantaggi { margin: 22px 0 0; font-size: 15px; }
.vantaggi svg { width: 22px; height: 22px; }
/* telefono e tablet: le schede scorrono di lato, così la sezione sta in uno schermo */
@media (max-width: 899px) {
  .shop { padding: 88px 0 24px; }
  .shop__testa { margin-bottom: 16px; }
  .prodotti { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .prodotti::-webkit-scrollbar { display: none; }
  .prodotto { flex: 0 0 80%; scroll-snap-align: start; }
  .prodotto.sale { transform: none; }
  .prodotto__foto { height: clamp(170px, calc(100svh - 500px), 340px); }
  .prodotto__info { padding: 14px 14px 16px; }
  .giro__b { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .vantaggi { gap: 8px 18px; font-size: 13px; margin-top: 16px; }
  .vantaggi svg { width: 18px; height: 18px; }
}
@media (min-width: 641px) and (max-width: 899px) { .prodotto { flex-basis: 44%; } .prodotto__foto { height: clamp(220px, calc(100svh - 520px), 380px); } }

/* ---------- Galleria foto: frecce e puntini ---------- */
.vista--zoom { object-fit: cover; object-position: 50% 42%; }
.freccia {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--blu); cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12); transition: background .2s, color .2s, transform .2s;
}
.freccia svg { width: 20px; height: 20px; }
.freccia:hover { background: var(--blu); color: #fff; }
.freccia:active { transform: translateY(-50%) scale(.92); }
.freccia:focus-visible { outline: 3px solid var(--giallo); outline-offset: 2px; }
.freccia--sx { left: 10px; }
.freccia--dx { right: 10px; }
.puntini { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.puntini span { width: 7px; height: 7px; border-radius: 99px; background: rgba(0, 41, 122, .25); transition: width .3s var(--molla), background .3s; }
.puntini span.is-on { width: 20px; background: var(--blu); }

/* ---------- Niente scorrimento laterale (telefono) ---------- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* ---------- Parallasse più leggera ---------- */
.hero__foto { transform: translate3d(0, var(--y, 0), 0) rotate(var(--r, 0deg)); backface-visibility: hidden; }
.timbro { transform: translate3d(0, var(--y, 0), 0); }

/* ---------- Chi sono ---------- */
.chi { padding: 100px 0 0; text-align: center; }
.chi__in { display: flex; flex-direction: column; align-items: center; }
.chi .titolo { margin: 0 auto 18px; max-width: none; }
.chi__testo { margin: 0 0 28px; font-size: clamp(18px, 2vw, 22px); font-weight: 500; }
.chi + .numeri { padding-top: 70px; }
@media (max-width: 640px) { .chi { padding-top: 72px; } .chi__btn { width: 100%; } }
