/*
Theme Name: Don Bartolo
Description: Tema su misura per l'Azienda Agricola Don Bartolo (Sommatino, Sicilia). Multilingua con Polylang.
Version: 1.2.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: donbartolo
*/

/* Colori presi dalle foto dell'azienda: edera del casale, latta nera delle taniche,
   etichetta kraft, pietra arenaria, verde-oro dell'olio nuovo. */
:root {
	--ivy: #26301a;
	--ivy-2: #37452a;
	--olive: #5d6d2f;
	--oil: #cfca3a;
	--oil-deep: #a9a31f;
	--tin: #171814;
	--kraft: #d3b17f;
	--kraft-ink: #3a2c17;
	--stone: #ece2cb;
	--paper: #f8f4e8;
	--ink: #20231a;
	--muted: #5c5f50;
	--serif: "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", "URW Palladio L", Georgia, serif;
	--sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--wrap: 76rem;
	--gut: clamp(1.1rem, 4vw, 3rem);
	--sec: clamp(4rem, 9vw, 8rem);
	--p: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .6em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.25rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
p { margin: 0 0 1.1em; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--oil); outline-offset: 3px; border-radius: 2px; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.wrap--text { max-width: 46rem; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; max-width: 40rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--oil); color: var(--tin); padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--oil-deep); text-decoration-thickness: 2px; }
.link:hover { text-decoration-color: currentColor; }

/* Il filo d'olio: una linea che scende lungo la pagina mentre si scorre. */
.pour { position: fixed; left: clamp(.35rem, 1.4vw, 1.4rem); top: 0; bottom: 0; width: 3px; z-index: 40; pointer-events: none; }
.pour span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--oil), var(--oil-deep)); border-radius: 0 0 3px 3px; transform-origin: top; transform: scaleY(var(--p)); }
@media (max-width: 640px) { .pour { width: 2px; left: 3px; } }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 3rem; padding: .7rem 1.4rem; border: 2px solid transparent; border-radius: 999px; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.btn--sm { min-height: 2.5rem; padding: .45rem 1rem; font-size: .92rem; }
.btn--oil { background: var(--oil); color: var(--tin); }
.btn--oil:hover { background: #e3de55; }
.btn--ivy { background: var(--ivy); color: var(--paper); }
.btn--ivy:hover { background: var(--ivy-2); }
.btn--ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--tin); }
.btn--line { border-color: var(--ivy); color: var(--ivy); }
.btn--line:hover { background: var(--ivy); color: var(--paper); }

/* Testata */
.head { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background-color .25s, box-shadow .25s; }
.head.is-solid, .db-products .head, .db-contact .head, .db-privacy .head, .db-cookies .head, .db-terms .head, .db-other .head { background: var(--ivy); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.head__in { display: flex; align-items: center; gap: 1.5rem; width: min(100% - 2 * var(--gut), 86rem); margin-inline: auto; min-height: 4.75rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 3.25rem; height: 3.25rem; border-radius: 50%; }
.brand__name { font: 400 1.45rem/1 var(--serif); letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; gap: 1.5rem; list-style: none; }
.nav__list a { text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav__list a:hover, .nav__list a[aria-current] { border-bottom-color: var(--oil); }
.langs { display: flex; gap: .15rem; list-style: none; font-size: .85rem; }
.langs a { display: block; padding: .3rem .42rem; border-radius: 4px; text-decoration: none; opacity: .75; }
.langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; background: rgba(255, 255, 255, .16); font-weight: 700; }
.burger { display: none; align-items: center; gap: .6rem; background: none; border: 0; color: inherit; font: 600 1rem var(--sans); padding: .6rem .2rem; cursor: pointer; }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 1.5rem; height: 2px; background: currentColor; transition: transform .2s; }
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
	.burger { display: inline-flex; }
	.nav { position: fixed; inset: 4.75rem 0 0 0; flex-direction: column; align-items: flex-start; gap: 2rem; padding: 2rem var(--gut) 3rem; background: var(--ivy); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-.5rem); transition: opacity .2s, transform .2s, visibility .2s; }
	.nav.is-open { visibility: visible; opacity: 1; transform: none; }
	.nav__list { flex-direction: column; gap: .4rem; font: 400 2rem/1.2 var(--serif); }
	.langs { font-size: 1rem; gap: .4rem; }
	.langs a { padding: .5rem .7rem; }
	.head:has(.nav.is-open) { background: var(--ivy); }
}

/* Hero */
.hero { position: relative; min-height: min(100svh, 60rem); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ivy); }
.hero__bg, .band__bg, .phead__bg { position: absolute; inset: -18% 0; will-change: transform; }
.hero__bg img, .band__bg img, .phead__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg picture, .band__bg picture, .phead__bg picture { height: 100%; }
.hero::after, .phead--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 24, 20, .5) 0%, rgba(23, 24, 20, .12) 38%, rgba(23, 24, 20, .82) 100%); }
.hero__in { position: relative; z-index: 1; padding-block: 8rem clamp(3rem, 8vw, 6rem); }
.hero__title { max-width: 15ch; margin-bottom: .35em; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; max-width: 34rem; }
.hero__cta, .phead__cta, .cta__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 0; }
@media (prefers-reduced-motion: no-preference) {
	.hero__title, .hero__lead, .hero__cta { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
	.hero__lead { animation-delay: .12s; }
	.hero__cta { animation-delay: .24s; }
	.hero__bg img { animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(1.6rem); } }
@keyframes settle { from { transform: scale(1.08); } }

/* Testata di pagina */
.phead { background: var(--ivy); color: var(--paper); padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.phead--photo { min-height: min(78svh, 46rem); display: flex; align-items: flex-end; }
.phead__in { position: relative; z-index: 1; }
.phead h1 { max-width: 18ch; font-size: clamp(2.3rem, 5.4vw, 4.4rem); }

/* Introduzione con due foto sfalsate */
.intro { padding-block: var(--sec); }
.intro--stone { background: var(--stone); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intro__text { max-width: 34rem; }
.duo { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem; align-items: start; }
.duo__a, .duo__b { will-change: transform; }
.duo__b { margin-top: 32%; }
.duo img { aspect-ratio: 3 / 4.4; object-fit: cover; width: 100%; border-radius: 2px; }

/* Prodotti in home: foto + etichetta kraft, come sulle taniche */
.tins { background: var(--tin); color: var(--paper); padding-block: var(--sec); }
.tins__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.5rem); margin-top: 2.5rem; }
.tin { display: block; text-decoration: none; }
.tin__photo { overflow: hidden; }
.tin__photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tin:hover .tin__photo img { transform: scale(1.04); }
.label { background: var(--kraft); color: var(--kraft-ink); padding: clamp(1.2rem, 2.5vw, 2rem); border-top: 3px solid var(--oil-deep); }
.tin .label { margin: -3rem clamp(.8rem, 2vw, 1.6rem) 0; position: relative; }
.label__kind { font-size: .95rem; margin: 0 0 .4rem; }
.label__name { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: .35em; }
.label__text { margin: 0 0 .8rem; }
.label__price { font: 400 1.7rem/1.1 var(--serif); margin: 0; }
.label__price small { font: 400 .95rem var(--sans); }
.label__origin { margin: .8rem 0 0; padding-top: .8rem; border-top: 1px solid rgba(58, 44, 23, .35); font-size: .95rem; }

/* Fascia fotografica con parallasse */
.band { position: relative; overflow: hidden; background: var(--ivy); color: #fff; display: grid; place-items: center; min-height: clamp(22rem, 62vh, 38rem); }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(23, 24, 20, .52); }
.band__text { position: relative; z-index: 1; font: 400 clamp(1.7rem, 4vw, 3.2rem)/1.15 var(--serif); text-align: center; max-width: 24ch; text-wrap: balance; margin: 0 auto; padding-block: 4rem; }

/* Valori */
.values { background: var(--ivy); color: var(--paper); padding-block: var(--sec); }
.values__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); margin: 2.5rem 0 0; }
.values dt { font: 400 1.5rem/1.2 var(--serif); padding-top: 1rem; border-top: 2px solid var(--oil); margin-bottom: .6rem; }
.values dd { margin: 0; color: #d9dccb; }

/* Recensioni */
.reviews { background: var(--stone); padding-block: var(--sec); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: 2.5rem; }
.review { margin: 0; }
.review blockquote { margin: 0; font: 400 clamp(1.15rem, 1.5vw, 1.3rem)/1.5 var(--serif); }
.review blockquote p::before { content: "“"; }
.review blockquote p::after { content: "”"; }
.review figcaption { font-weight: 600; margin-top: .4rem; }

/* Invito a scrivere */
.cta { background: var(--oil); color: var(--tin); padding-block: clamp(3rem, 6vw, 5rem); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; }
.cta__btns { margin: 0; }

/* Casale */
.casale { background: var(--stone); padding-block: var(--sec); }
.casale__head { max-width: 40rem; margin-bottom: 2.5rem; }
.casale__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 1rem; align-items: center; }
.casale__grid > div { will-change: transform; }
.casale__grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.casale__grid > div:first-child img { aspect-ratio: 1 / 1; }

/* Scheda prodotto */
.product { padding-block: clamp(3rem, 7vw, 6rem); }
.product--alt { background: var(--stone); }
.product__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.product__photo { background: var(--tin); padding: clamp(1rem, 3vw, 2.5rem); position: sticky; top: 6rem; overflow: hidden; }
.product__photo img { width: 100%; max-height: 34rem; object-fit: cover; }
.label--big { margin-bottom: 2rem; }
.label--big .label__name { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.product__opt { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.product__opt small { font: 400 .9rem var(--sans); color: var(--muted); }
.formats { list-style: none; border-top: 2px solid var(--ink); }
.formats li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .6rem 1.2rem; padding: .8rem 0; border-bottom: 1px solid rgba(32, 35, 26, .22); }
.formats__price { font: 400 1.35rem/1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Come ordinare: qui i numeri servono, è una sequenza */
.how { padding-block: var(--sec); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); margin: 2.5rem 0 0; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(s); display: block; font: 400 3.2rem/1 var(--serif); color: var(--olive); margin-bottom: .5rem; }
.ship { margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.5rem, 4vw, 3rem); background: var(--stone); }
.ship ul { padding-left: 1.2rem; margin-bottom: 1.4rem; max-width: 44rem; }
.ship li { margin-bottom: .5rem; }

/* Dal campo alla tanica */
.path { padding-block: var(--sec); }
.path__list { list-style: none; counter-reset: s; margin-top: 3rem; display: grid; gap: clamp(3rem, 7vw, 6rem); }
.path__step { counter-increment: s; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.path__step:nth-child(even) .path__img { order: 2; }
.path__img { will-change: transform; }
.path__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.path__text { max-width: 30rem; }
.path__text h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.path__text h3::before { content: counter(s) "."; color: var(--olive); margin-right: .35em; }

/* Contatti */
.contact { padding-block: var(--sec); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
form p { margin-bottom: 1.1rem; }
label { display: block; font-weight: 600; margin-bottom: .35rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; padding: .8rem .9rem; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8b8d7c; border-radius: 4px; }
input:focus, textarea:focus { outline: 3px solid var(--oil); outline-offset: 1px; border-color: var(--ivy); }
textarea { resize: vertical; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .25rem; accent-color: var(--ivy); }
.check label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid; font-weight: 600; }
.notice--ok { background: #e6efcf; border-color: var(--olive); }
.notice--err { background: #f6dfd6; border-color: #a33a1b; }
.contact__info dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.2rem; margin: 0 0 1.4rem; }
.contact__info dt { color: var(--muted); }
.contact__info dd { margin: 0; font-weight: 600; }
.contact__photo { margin-top: 2rem; }
.contact__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }

/* Pagine di testo */
.plain { padding: clamp(8rem, 14vw, 10rem) 0 var(--sec); }
.plain h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 2.2em; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1.1em; }
.prose li { margin-bottom: .5em; }
.prose a { text-decoration-color: var(--oil-deep); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .6rem .8rem; border: 1px solid rgba(32, 35, 26, .25); vertical-align: top; }
.prose th { background: var(--stone); }
.prose__date { color: var(--muted); font-size: .95rem; margin-top: 3rem; }

/* Piè di pagina */
.foot { background: var(--tin); color: #d9dccb; padding: clamp(3rem, 6vw, 5rem) 0 2rem; font-size: 1rem; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.foot__brand img { width: 6rem; height: 6rem; margin-bottom: 1rem; }
.foot__brand p { max-width: 22rem; }
.foot h2 { font: 600 1rem/1.3 var(--sans); color: #fff; margin-bottom: .9rem; letter-spacing: 0; }
.foot ul { list-style: none; }
.foot li { margin-bottom: .45rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }
.foot__legal { width: min(100% - 2 * var(--gut), var(--wrap)); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: #a9ac9b; }

.wa-float { position: fixed; right: clamp(.8rem, 2vw, 1.5rem); bottom: clamp(.8rem, 2vw, 1.5rem); z-index: 45; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #1faa53; color: #fff; box-shadow: 0 6px 18px rgba(23, 24, 20, .35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }

/* Tablet e telefono */
@media (max-width: 900px) {
	.intro__grid, .product__grid, .contact__grid, .path__step { grid-template-columns: minmax(0, 1fr); }
	.path__step:nth-child(even) .path__img { order: 0; }
	.product__photo { position: static; max-width: 22rem; }
	.tins__grid { grid-template-columns: minmax(0, 1fr); }
	.values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.reviews__grid, .steps { grid-template-columns: minmax(0, 1fr); }
	.casale__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.duo { max-width: 30rem; }
}
@media (max-width: 560px) {
	.values__list, .foot__in { grid-template-columns: minmax(0, 1fr); }
	.formats li { grid-template-columns: 1fr auto; }
	.formats li .btn { grid-column: 1 / -1; }
	.hero__cta .btn, .phead__cta .btn, .cta__btns .btn { width: 100%; }
	.brand__name { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.hero__bg, .band__bg, .phead__bg { inset: 0; }
}

@media print {
	.head, .pour, .wa-float, .cta, .foot__in { display: none; }
	.plain { padding-top: 1rem; }
}

/* =====================================================================
   MOVIMENTO (v1.1)
   Curve: uscita decisa per quello che entra, entrata-uscita per quello che si scopre.
   ===================================================================== */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); }
@view-transition { navigation: auto; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.head { transition: background-color .25s ease, box-shadow .25s ease, transform .4s var(--ease-out); }
.head.is-hidden { transform: translateY(-100%); }
.btn { transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .14s var(--ease-out); }
.btn:active { transform: scale(.97); }

/* Parole dei titoli */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.w > span { display: inline-block; }

/* Sigillo che ruota nella testata della home */
.seal { position: absolute; right: clamp(1.5rem, 6vw, 6rem); bottom: clamp(2.5rem, 7vw, 6rem); z-index: 1; width: clamp(9.5rem, 15vw, 13rem); aspect-ratio: 1; display: grid; place-items: center; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; font: 600 15px var(--sans); letter-spacing: .08em; text-transform: uppercase; will-change: transform; }
.seal img { width: 56%; height: auto; border-radius: 50%; }
.hero__cue { position: absolute; left: 50%; bottom: 0; z-index: 1; width: 1px; height: 3.5rem; background: rgba(255, 255, 255, .7); transform-origin: top; }
.hero__in { will-change: transform, opacity; }
@media (max-width: 900px) { .seal { display: none; } }

/* Striscia di parole */
.strip { background: var(--oil); color: var(--tin); padding: .9rem 0 1.1rem; overflow: hidden; }
.strip__row { white-space: nowrap; margin-left: -25vw; will-change: transform; }
.strip__track { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; font: 400 clamp(1.9rem, 5vw, 4.2rem)/1.15 var(--serif); }
.strip i { flex: none; width: .32em; height: .32em; border-radius: 50%; background: var(--tin); }
.strip__row--b .strip__track { color: transparent; -webkit-text-stroke: 1px var(--tin); }
.strip__row--b i { background: none; border: 1px solid var(--tin); }

/* Goccia accanto alle foto */
.drop { position: absolute; right: -1.2rem; top: 6%; width: clamp(3rem, 5vw, 4.5rem); aspect-ratio: 1; will-change: transform; pointer-events: none; }
.drop::before { content: ""; position: absolute; inset: 0; background: var(--oil); border-radius: 0 50% 50% 50%; transform: rotate(45deg); }

/* Schede prodotto inclinabili */
.tins__grid { perspective: 1100px; }
.tin { transform-style: preserve-3d; }
.tin .label { transition: transform .45s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.tin:hover .label { transform: translateY(-.6rem); }
}

/* Valori: la riga si disegna */
.values dt { border-top: 0; position: relative; }
.values dt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--oil); transform-origin: left; }

/* Recensioni */
.stars { display: block; color: var(--oil-deep); font-size: 1.25rem; letter-spacing: .12em; margin-bottom: .6rem; }
.stars i { font-style: normal; color: rgba(32, 35, 26, .2); }
.review figcaption span { font-weight: 400; }
.reviews--home { overflow: hidden; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.reviews__head h2 { margin: 0; }
.reviews__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.carousel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.carousel__track { display: flex; align-items: stretch; width: max-content; }
.carousel__copy { display: contents; }
.carousel .review, .reviews__wall .review { background: var(--paper); padding: 1.6rem 1.8rem; border-top: 3px solid var(--oil-deep); }
.carousel .review { flex: 0 0 min(27rem, 82vw); margin-right: 1.5rem; }
.reviews__wall { columns: 3 19rem; column-gap: 2rem; margin-top: 2.5rem; }
.reviews__wall .review { break-inside: avoid; margin: 0 0 2rem; }

.revform { padding-block: var(--sec); }
.revform__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.revform__intro { position: sticky; top: 6rem; }
.revform small { display: block; color: var(--muted); font-size: .9rem; margin-top: .35rem; }
.rate { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.rate legend { font-weight: 600; padding: 0; margin-bottom: .2rem; }
.rate__stars { display: inline-flex; flex-direction: row-reverse; gap: .1rem; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { margin: 0; font-size: 2.6rem; line-height: 1; color: #cbc8b6; cursor: pointer; transition: color .15s ease, transform .14s var(--ease-out); }
.rate input:checked ~ label { color: var(--oil-deep); }
.rate label:active { transform: scale(.88); }
.rate input:focus-visible + label { outline: 3px solid var(--oil); outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) {
	.rate__stars:hover label { color: #cbc8b6; }
	.rate__stars label:hover, .rate__stars label:hover ~ label { color: var(--oil); }
}
@media (max-width: 900px) {
	.revform__grid { grid-template-columns: minmax(0, 1fr); }
	.revform__intro { position: static; }
}

@keyframes slide { to { transform: translateX(-50%); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.14) translate(-1.5%, 1%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
	.hero__title, .hero__lead, .hero__cta { animation: none; }
	.hero__bg img, .phead__bg img { animation: kenburns 26s ease-in-out infinite alternate; }
	.seal__ring text { transform-origin: 100px 100px; animation: spin 38s linear infinite; }
	.hero__cue { animation: cue 2.4s var(--ease-in-out) infinite; }
	.strip__track { animation: slide 46s linear infinite; }
	.strip__row--b .strip__track { animation-direction: reverse; }
	.carousel__track { animation: slide 70s linear infinite; }
	.carousel:hover .carousel__track, .carousel:focus-within .carousel__track { animation-play-state: paused; }

	/* Comparsa: testo che sale, foto che si scoprono, parole dei titoli una alla volta. */
	.js .rv { opacity: 0; transform: translateY(2.4rem); }
	.js .rv.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
	.js .tin.rv.is-tilting { transition: transform .12s linear; }
	.js .rvi { clip-path: inset(0 0 100% 0); }
	.js .rvi img { transform: scale(1.2); }
	.js .path__step:nth-child(odd) .rvi { clip-path: inset(0 100% 0 0); }
	.js .path__step:nth-child(even) .rvi { clip-path: inset(0 0 0 100%); }
	.js .rvi.is-in, .js .path__step .rvi.is-in { clip-path: inset(0); transition: clip-path 1.1s var(--ease-in-out) var(--d, 0ms); }
	.js .rvi.is-in img { transform: none; transition: transform 1.7s var(--ease-out) var(--d, 0ms); }
	.js .rvw .w > span { transform: translateY(115%); }
	.js .rvw.is-in .w > span { transform: none; transition: transform .95s var(--ease-out) calc(var(--i) * 45ms + var(--d, 0ms)); }
	.js .values__list .rv dt::before { transform: scaleX(0); }
	.js .values__list .rv.is-in dt::before { transform: none; transition: transform 1.1s var(--ease-in-out) calc(var(--d, 0ms) + 150ms); }

	/* Se lo script non parte, dopo qualche secondo tutto torna visibile. */
	.js.rv-all .rv, .js.rv-all .rvi, .js.rv-all .rvi img, .js.rv-all .rvw .w > span { opacity: 1; transform: none; clip-path: none; }
}

@media (prefers-reduced-motion: reduce) {
	.carousel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.carousel__copy { display: none; }
	.strip__row { margin-left: 0; }
}

/* Foto di testata: meno ingrandimento (gli originali sono a bassa risoluzione) e velo più deciso. */
.hero__bg, .band__bg, .phead__bg { inset: -9% 0; }
.hero::after, .phead--photo::after { background: linear-gradient(180deg, rgba(23, 24, 20, .62) 0%, rgba(23, 24, 20, .3) 40%, rgba(23, 24, 20, .86) 100%); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, .6%); } }

/* =====================================================================
   CARRELLO (v1.2)
   ===================================================================== */
:root { --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1); }

/* Pulsante nella testata */
.cartbtn { position: relative; display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 2px solid rgba(255, 255, 255, .7); border-radius: 50%; background: none; color: inherit; cursor: pointer; transition: background-color .18s ease, color .18s ease, transform .14s var(--ease-out); }
.cartbtn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .cartbtn:hover { background: #fff; color: var(--tin); } }
.cartbtn__n { position: absolute; top: -.4rem; right: -.4rem; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; border-radius: 999px; background: var(--oil); color: var(--tin); font: 700 .78rem/1.35rem var(--sans); text-align: center; }
.cartbtn__n.is-bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* Selettore di quantità */
.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 2.9rem; border: 0; background: none; font: 400 1.4rem/1 var(--sans); color: var(--ink); cursor: pointer; transition: background-color .15s ease; }
.stepper button:active { background: var(--stone); }
@media (hover: hover) and (pointer: fine) { .stepper button:hover { background: var(--stone); } }
.stepper input { width: 3.2rem; border: 0; border-radius: 0; padding: .6rem 0; text-align: center; font: 600 1.05rem var(--sans); background: none; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--sm button { width: 2.2rem; font-size: 1.15rem; }
.stepper--sm input { width: 2.6rem; padding: .3rem 0; font-size: .95rem; }

.product__price { font: 400 clamp(2rem, 3.4vw, 2.8rem)/1.1 var(--serif); margin: 0 0 1.2rem; }
.product__price small { font: 400 .95rem var(--sans); color: var(--muted); }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.btn.is-done { background: var(--ivy); color: var(--paper); }
.notice--top { margin: 2rem 0 0; }

/* Pannello laterale */
.cart { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(31rem, 100vw); height: 100dvh; max-width: none; max-height: none; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: -18px 0 50px rgba(23, 24, 20, .28); transform: translateX(100%); transition: transform .42s var(--ease-drawer), overlay .42s allow-discrete, display .42s allow-discrete; }
.cart[open] { display: flex; flex-direction: column; transform: none; }
@starting-style { .cart[open] { transform: translateX(100%); } }
.cart::backdrop { background: rgba(23, 24, 20, 0); transition: background-color .42s ease, overlay .42s allow-discrete, display .42s allow-discrete; }
.cart[open]::backdrop { background: rgba(23, 24, 20, .55); }
@starting-style { .cart[open]::backdrop { background: rgba(23, 24, 20, 0); } }
.cart__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--ivy); color: var(--paper); }
.cart__head h2 { margin: 0; font-size: 1.6rem; }
.cart__close { width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: inherit; font: 400 1.7rem/1 var(--sans); cursor: pointer; }
.cart__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.4rem; }
.cart__empty { padding: 2rem 0; text-align: center; }
.cart__lines { list-style: none; margin: 0 0 1.2rem; }
.cart__line { display: grid; grid-template-columns: 4rem 1fr auto; gap: .9rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid rgba(32, 35, 26, .18); }
.cart__line img { width: 4rem; height: 4rem; object-fit: cover; border-radius: 2px; }
.cart__info { display: grid; gap: .3rem; justify-items: start; }
.cart__info span { color: var(--muted); font-size: .92rem; }
.cart__side { display: grid; gap: .5rem; justify-items: end; }
.cart__price { font: 400 1.25rem/1.2 var(--serif); white-space: nowrap; }
.cart__rm { border: 0; background: none; padding: 0; color: var(--muted); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; }
.cart__totals { margin: 0; }
.cart__totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.cart__totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.cart__total { margin-top: .4rem; padding-top: .7rem !important; border-top: 2px solid var(--ink); font: 400 1.5rem/1.2 var(--serif); }
.cart__hint, .cart__note { color: var(--muted); font-size: .92rem; }
.cart__form { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(32, 35, 26, .18); }
.cart__form h3 { margin-bottom: .9rem; }
.cart__form p { margin-bottom: .9rem; }
.cart__row { display: grid; grid-template-columns: 8rem 1fr; gap: .8rem; }
.cart select { width: 100%; padding: .8rem .9rem; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8b8d7c; border-radius: 4px; }
.cart__send { display: grid; gap: .7rem; }
.cart__send .btn { width: 100%; }

@media (max-width: 1180px) { .cartbtn { margin-left: auto; } .brand { margin-right: 0; } }
@media (prefers-reduced-motion: reduce) {
	.cart, .cart::backdrop { transition: none; }
	.cartbtn__n.is-bump { animation: none; }
}

@media (min-width: 1181px) { .cartbtn { order: 3; } }

.cart [hidden] { display: none !important; }

/* Pagamenti (v1.3) */
.cart__online { margin-top: .4rem; }
.cart__done { padding: 1.5rem 0; }
#db-pp-buttons { min-height: 3rem; }
.bank { margin: 1.5rem 0 0; padding: clamp(1.2rem, 3vw, 2rem); background: var(--stone); border-top: 3px solid var(--oil-deep); max-width: 44rem; }
.bank h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.4rem; margin: 0; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.bank__iban { font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em; }

/* =====================================================================
   SCHEDA DELL'OLIO, VIDEO, ESAURITO (v1.4)
   ===================================================================== */
.product__wa { margin: .9rem 0 0; }
.product__note { color: var(--muted); font-size: .95rem; margin: .9rem 0 0; }
.soldout { display: inline-block; margin: 0 0 1rem; padding: .45rem 1rem; background: var(--tin); color: var(--paper); font: 600 1rem/1.3 var(--sans); border-radius: 999px; }
.label__price--out { font: 600 1.05rem/1.3 var(--sans); }

.sheet { background: var(--ivy); color: var(--paper); padding-block: var(--sec); }
.sheet h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.sheet__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.cultivars { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.2rem, 3vw, 2.5rem); margin: 2rem 0 0; }
.cultivars li { border-top: 2px solid var(--oil); padding-top: 1rem; }
.cultivars h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: .2em; }
.cultivars__origin { color: var(--oil); font-size: .95rem; margin-bottom: .6rem; }
.cultivars p:last-child { margin: 0; color: #d9dccb; }
.sheet__blend { font: 400 clamp(1.3rem, 2.2vw, 1.8rem)/1.3 var(--serif); margin: 2.2rem 0 0; max-width: 30ch; }
.sheet__img { will-change: transform; }
.sheet__img img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; border-radius: 2px; }
.sheet__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 4rem); margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid rgba(255, 255, 255, .18); }
.sheet__num h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); color: var(--oil); }
.sheet__num p { color: #d9dccb; }
.kv { margin: 0; display: grid; gap: .2rem; }
.kv dt { color: var(--oil); font-weight: 600; margin-top: .7rem; }
.kv dd { margin: 0; color: #e6e8da; }
.sheet__specs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid rgba(255, 255, 255, .18); }
.sheet__label img { width: 100%; height: auto; border-radius: 2px; background: #fff; }
.kv--table { grid-template-columns: auto 1fr; gap: 0 1.5rem; }
.kv--table dt, .kv--table dd { margin: 0; padding: .65rem 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }

.film { background: var(--tin); color: var(--paper); padding-block: var(--sec); }
.film__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.film__text { max-width: 30rem; }
.film .link { text-decoration-color: var(--oil); }
.film__video { justify-self: center; width: min(100%, 21rem); }
.film__video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 1.4rem; background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }

@media (max-width: 900px) {
	.sheet__top, .sheet__specs, .film__grid { grid-template-columns: minmax(0, 1fr); }
	.cultivars, .sheet__cols { grid-template-columns: minmax(0, 1fr); }
	.sheet__img { max-width: 20rem; }
	.sheet__label { max-width: 24rem; }
}

/* =====================================================================
   GALLERIA UNIFORME E MENU FISSO (v1.5)
   ===================================================================== */
/* Il menu resta sempre in alto. */
.head, .head.is-hidden { transform: none; }

/* Galleria: riquadri tutti uguali, foto ritagliate al centro. */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, 1rem); margin: 0; padding: 0; }
.gallery__item { display: block; width: 100%; padding: 0; border: 0; background: var(--tin); cursor: zoom-in; overflow: hidden; border-radius: 2px; }
.gallery__item picture { display: block; aspect-ratio: 4 / 5; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery__item:hover img { transform: scale(1.05); } }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Stesso formato anche per le coppie di foto e per le foto dei passaggi. */
.duo picture, .sheet__img picture { display: block; aspect-ratio: 3 / 4.4; overflow: hidden; border-radius: 2px; }
.duo img, .sheet__img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.path__img picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.path__img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }

/* Ingrandimento */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(23, 24, 20, .94); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(23, 24, 20, .6); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; padding: 3.5rem .5rem 1.5rem; height: 100dvh; grid-template-rows: 1fr auto; min-width: 0; min-height: 0; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; align-self: center; min-height: 0; }
.lightbox figcaption { font-size: .95rem; color: #d9dccb; text-align: center; }
.lightbox__close, .lightbox__nav { border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; border-radius: 50%; width: 3rem; height: 3rem; font: 400 1.9rem/1 var(--sans); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; z-index: 1; }
.lightbox__nav { margin: 0 clamp(.3rem, 1.5vw, 1.2rem); }

/* =====================================================================
   CONSENSO COOKIE E BARRA ORDINI SU TELEFONO (v1.6)
   ===================================================================== */
/* Barra fissa in basso su telefono e tablet: Ordina su WhatsApp + Carrello sempre a portata di dito. */
.mbar { display: none; }
@media (max-width: 1180px) {
	.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; display: grid; grid-template-columns: 1.5fr 1fr; gap: .6rem; padding: .6rem max(.8rem, env(safe-area-inset-left)) calc(.6rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid rgba(32, 35, 26, .18); box-shadow: 0 -8px 24px rgba(23, 24, 20, .14); }
	.mbar .btn { width: 100%; min-height: 3rem; padding-inline: .8rem; font-size: .98rem; }
	.mbar__n { display: inline-block; min-width: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--oil); color: var(--tin); font-size: .82rem; line-height: 1.4rem; }
	.mbar__n[hidden] { display: none; }
	body { padding-bottom: 4.6rem; }
	.wa-float { display: none; }           /* sostituito dal pulsante nella barra */
	.pour { bottom: 4.6rem; }
}

/* Banner cookie: riquadro in basso, non blocca la lettura. Pulsanti con lo stesso peso. */
.consent { position: fixed; z-index: 60; left: 50%; bottom: clamp(.8rem, 2vw, 1.5rem); transform: translateX(-50%); width: min(100% - 1.6rem, 46rem); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: 1.4rem 1.5rem 1.3rem; background: var(--paper); color: var(--ink); border-top: 4px solid var(--oil-deep); box-shadow: 0 18px 60px rgba(23, 24, 20, .4); }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.5rem; margin: 0 2.5rem .4rem 0; }
.consent p { margin: 0 0 1rem; font-size: .98rem; }
.consent a { text-decoration-color: var(--oil-deep); text-decoration-thickness: 2px; }
.consent__x { position: absolute; top: .7rem; right: .7rem; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: var(--stone); color: var(--ink); font: 400 1.6rem/1 var(--sans); cursor: pointer; }
.consent__prefs { display: grid; gap: .7rem; margin: 0 0 1.1rem; padding: 1rem; background: var(--stone); }
.consent__prefs[hidden] { display: none; }
.consent__cat { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; margin: 0; font-weight: 400; font-size: .96rem; }
.consent__cat input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--ivy); }
.consent__btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.consent__btns .btn { min-height: 2.8rem; }
.consent__btns .btn[hidden] { display: none; }
@media (max-width: 1180px) { .consent { bottom: 5.2rem; } }
@media (max-width: 560px) {
	.consent__btns { display: grid; grid-template-columns: 1fr 1fr; }
	.consent__btns .btn--ivy { grid-column: 1 / -1; order: -1; }
}

.cart__hint--pay { margin: .6rem 0; }
.prose h2 + p { margin-top: 0; }

/* Accetta e Rifiuta hanno lo stesso peso visivo, come chiedono le linee guida del Garante. */
@media (max-width: 560px) { .consent__btns .btn--ivy { grid-column: auto; order: 0; } .consent__btns [data-consent="customize"], .consent__btns [data-consent="save"] { grid-column: 1 / -1; } }
