/* ============================================================
   BRUNITTA — foglio di stile principale
   Palette: crema, oro grano, verde ulivo, terracotta
   ============================================================ */
:root {
  --cream: #faf6ee;
  --cream-2: #f3ecdd;
  --wheat: #c89b3c;
  --wheat-dark: #a67f28;
  --olive: #5a6b3b;
  --olive-dark: #3d4a27;
  --terra: #b4573e;
  --ink: #2c2a24;
  --ink-soft: #5c584d;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(44, 42, 36, .10);
  --shadow-lg: 0 18px 50px rgba(44, 42, 36, .16);
  --radius: 14px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-dark); text-decoration: none; transition: color .25s; }
a:hover { color: var(--wheat-dark); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 44px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.section-head .kicker { color: var(--terra); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; display: block; margin-bottom: 10px; }
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 1.05rem; }

/* ---------- pulsanti ---------- */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 40px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; cursor: pointer;
  border: 2px solid transparent; transition: all .3s ease; text-align: center;
}
.btn-primary { background: var(--olive); color: var(--white); }
.btn-primary:hover { background: var(--olive-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--olive); color: var(--olive-dark); background: transparent; }
.btn-outline:hover { background: var(--olive); color: var(--white); transform: translateY(-2px); }
.btn-gold { background: var(--wheat); color: var(--white); }
.btn-gold:hover { background: var(--wheat-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe57; color: #fff; }

/* ---------- topbar + header ---------- */
.topbar { background: var(--olive-dark); color: #eee8d8; font-size: .82rem; line-height: 1.55; padding: 9px 14px; text-align: center; }
/* il numero di telefono non si spezza mai a metà fra due righe */
.topbar a { color: #f5edd8; font-weight: 600; white-space: nowrap; }
header.site-header {
  position: sticky; top: 0; z-index: 300; background: rgba(250, 246, 238, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(44,42,36,.08);
  transition: box-shadow .3s;
}
header.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; max-width: 1320px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 44px; width: auto; filter: brightness(.35) sepia(.4) saturate(2); }
.logo span { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--olive-dark); letter-spacing: .04em; }
nav.main-nav ul { display: flex; gap: 2px; list-style: none; flex-wrap: nowrap; }
nav.main-nav a { padding: 8px 11px; border-radius: 8px; font-size: 1rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
/* su desktop stretti il menu si compatta un po' per restare su una riga */
@media (min-width: 1025px) and (max-width: 1280px) {
  nav.main-nav a { font-size: .88rem; padding: 7px 8px; }
}
nav.main-nav a:hover, nav.main-nav a.active { background: var(--cream-2); color: var(--olive-dark); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; padding: 8px; }
.cart-btn svg { width: 26px; height: 26px; stroke: var(--olive-dark); }
.social-btn svg { width: 22px; height: 22px; stroke: var(--olive-dark); color: var(--olive-dark); }
.has-hero header.site-header:not(.scrolled) .social-btn svg { stroke: #fff; color: #fff; }
@media (max-width: 900px) { .social-btn { display: none; } }
.cart-count {
  position: absolute; top: -2px; right: -4px; background: var(--terra); color: #fff;
  font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.lang-switch { position: relative; }
.lang-switch > button { background: none; border: 1px solid rgba(44,42,36,.2); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--ink); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 6px); background: var(--white); border-radius: 10px; box-shadow: var(--shadow-lg); list-style: none; min-width: 140px; overflow: hidden; display: none; }
.lang-switch.open ul { display: block; }
.lang-switch li a { display: block; padding: 9px 16px; font-size: .9rem; }
.lang-switch li a:hover { background: var(--cream-2); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
/* sottomenu a tendina */
nav.main-nav li { position: relative; }
nav.main-nav .submenu {
  position: absolute; top: 100%; left: 0; background: var(--white); border-radius: 10px;
  box-shadow: var(--shadow-lg); min-width: 200px; padding: 6px 0; display: none; z-index: 450;
}
nav.main-nav li.has-sub:hover .submenu, nav.main-nav li.has-sub:focus-within .submenu { display: block; }
nav.main-nav .submenu a { display: block; padding: 10px 18px; border-radius: 0; }
.has-hero header.site-header:not(.scrolled) nav.main-nav .submenu a,
.has-hero header.site-header:not(.scrolled) nav.main-nav .submenu a:hover,
.has-hero header.site-header:not(.scrolled) nav.main-nav .submenu a.active { color: var(--ink) !important; text-shadow: none; }
.has-hero header.site-header:not(.scrolled) nav.main-nav .submenu a:hover { background: var(--cream-2) !important; }
@media (max-width: 1024px) {
  nav.main-nav .submenu { position: static; display: block; box-shadow: none; background: transparent; padding: 0 0 0 20px; }
}
/* banner cookie */
.cookie-banner {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 200;
  background: var(--olive-dark); color: #e9e4d4; border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 15px 20px; font-size: .88rem;
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  transform: translateY(140%); transition: transform .45s ease; max-width: 860px; margin: 0 auto;
}
.cookie-banner.show { transform: none; }
.cookie-banner a { color: var(--wheat); text-decoration: underline; }
.cookie-banner .btn { padding: 9px 24px; font-size: .85rem; }
/* linguetta sempre intravista dopo la chiusura */
.cookie-tab {
  position: fixed; left: 16px; bottom: -16px; z-index: 199;
  background: var(--olive-dark); color: #e9e4d4; border: none;
  border-radius: 12px 12px 0 0; padding: 7px 16px 22px; font-size: .78rem;
  cursor: pointer; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .3s, bottom .25s;
}
.cookie-tab.show { opacity: 1; pointer-events: auto; }
.cookie-tab:hover { bottom: -8px; }

/* pulsante contatti flottante (WhatsApp + social + mappa + email) */
.fab-contatti { position: fixed; right: 16px; bottom: 18px; z-index: 210; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; }
.fab-main {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: #25d366; color: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.28);
  display: flex; align-items: center; justify-content: center; transition: transform .25s;
}
.fab-main:hover { transform: scale(1.08); }
.fab-main svg { width: 30px; height: 30px; fill: #fff; }
.fab-item {
  display: flex; flex-direction: row-reverse; align-items: center; gap: 8px; text-decoration: none;
  opacity: 0; transform: translateY(12px) scale(.8); pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.fab-contatti.open .fab-item { opacity: 1; transform: none; pointer-events: auto; }
.fab-item .fab-ico {
  width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 4px 16px rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fab-item .fab-ico svg { width: 22px; height: 22px; fill: #fff; }
.fab-item .fab-lbl {
  background: rgba(30,30,25,.85); color: #fff; font-size: .78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 14px; white-space: nowrap;
}
.fab-wa .fab-ico { background: #25d366; }
.fab-fb .fab-ico { background: #1877f2; }
.fab-ig .fab-ico { background: #d6389b; }
.fab-map .fab-ico { background: #4285F4; }
.fab-mail .fab-ico { background: var(--wheat); }

/* lightbox foto */
.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; background: rgba(22, 21, 16, .93); z-index: 900;
  display: flex; align-items: center; justify-content: center; padding: 28px;
  opacity: 0; pointer-events: none; transition: opacity .3s; overflow: auto;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 95vw; max-height: 92vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); cursor: zoom-in; margin: auto; }
.lightbox img.zoomed { max-width: none; max-height: none; cursor: grab; border-radius: 0; margin: 0; }
.lightbox img.zoomed:active { cursor: grabbing; }
.lightbox.zoomed { align-items: flex-start; justify-content: flex-start; padding: 0; }
.lightbox .lb-close { position: fixed; top: 14px; right: 22px; background: rgba(0,0,0,.45); border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; z-index: 5; border-radius: 50%; width: 46px; height: 46px; }
.lightbox .lb-hint { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); color: #d9d4c3; font-size: .82rem; background: rgba(0,0,0,.45); padding: 6px 16px; border-radius: 20px; pointer-events: none; }
/* immagini intere (non ritagliate) nelle card stampa/eventi */
.press-card.uncut .img-wrap { background: var(--cream-2); aspect-ratio: 4/3; }
.press-card.uncut .img-wrap img { object-fit: contain; }
.img-side.uncut { background: var(--cream-2); }
.split .img-side.uncut img, .img-side.uncut img {
  object-fit: contain !important; aspect-ratio: auto !important;
  height: auto !important; max-height: 760px; width: 100%;
}
/* articolo blog */
.article { max-width: 780px; }
.article .art-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 30px; }
.article h2 { margin: 30px 0 12px; font-size: 1.45rem; color: var(--olive-dark); }
.article p { margin-bottom: 14px; color: var(--ink-soft); }
.article ul { margin: 0 0 16px 24px; color: var(--ink-soft); }
.blog-card .img-wrap { aspect-ratio: 16/10; overflow: hidden; display: block; }
.blog-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- hero ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: calc(100vh - 38px); /* schermo pieno sotto la barra info: il menu è sovrapposto al video */
  overflow: hidden; padding: 140px 0 70px; background: var(--olive-dark);
}
@media (max-width: 1024px) { .hero { min-height: calc(100svh - 38px); } }
@media (max-width: 640px)  { .hero { padding: 115px 0 54px; } }

/* menu trasparente sopra il video (solo pagine con hero) */
.has-hero header.site-header { margin-bottom: -78px; }
.has-hero header.site-header:not(.scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.has-hero header.site-header:not(.scrolled) .lang-switch > button { color: #fff; border-color: rgba(255,255,255,.5); }
.has-hero header.site-header:not(.scrolled) .cart-btn svg { stroke: #fff; }
.has-hero header.site-header:not(.scrolled) .cart-count { border: 1px solid #fff; }
.has-hero header.site-header:not(.scrolled) .logo img { filter: drop-shadow(0 1px 6px rgba(0,0,0,.55)); }
@media (min-width: 1025px) {
  .has-hero header.site-header:not(.scrolled) nav.main-nav a { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
  .has-hero header.site-header:not(.scrolled) nav.main-nav a:hover,
  .has-hero header.site-header:not(.scrolled) nav.main-nav a.active { background: rgba(255,255,255,.16); color: #fff; }
}
.has-hero header.site-header:not(.scrolled) .hamburger span { background: #fff; }
.has-hero header.site-header:not(.scrolled) .hamburger.open span { background: var(--ink); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-content .kicker { color: #fff; text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; font-weight: 700; display: block; margin-bottom: 12px; text-shadow: 0 1px 8px rgba(0,0,0,.75); }
.hero-content h1 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.9rem, 3.6vw, 2.7rem); text-shadow: 0 2px 18px rgba(0,0,0,.75), 0 1px 4px rgba(0,0,0,.6); }
.hero-content p { color: #f3efe2; font-size: 1.06rem; margin-bottom: 22px; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- griglie e card ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- usp band ---------- */
.usp-band { background: var(--olive-dark); color: var(--cream); }
.usp-band h2 { color: var(--white); }
.usp-item { text-align: center; padding: 10px 16px; }
.usp-item .icon { font-size: 2.1rem; margin-bottom: 12px; height: 58px; display: flex; align-items: center; justify-content: center; }
.usp-item h3 { color: var(--wheat); font-size: 1.25rem; margin-bottom: 8px; }
.usp-item p { color: #d9d4c3; font-size: .92rem; }

/* ---------- prodotti ---------- */
.product-card { position: relative; text-align: center; }
.product-card .img-wrap { position: relative; overflow: hidden; aspect-ratio: 1/1; background: var(--white); }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .img-wrap img { transform: scale(1.06); }
.badge-sale {
  position: absolute; top: 12px; left: 12px; background: var(--terra); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .06em; z-index: 2;
}
.product-card .name { font-family: var(--font-serif); font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; min-height: 2.5em; display: flex; align-items: center; justify-content: center; }
.price { font-weight: 700; color: var(--olive-dark); font-size: 1.12rem; }
.price .old { color: #a39c8b; text-decoration: line-through; font-weight: 400; font-size: .9rem; margin-right: 8px; }
.product-card .btn { margin-top: auto; padding: 10px 22px; font-size: .85rem; }
.product-card .name { margin-top: 0; }
.product-card .price { margin-bottom: 14px; }

/* cuoricino wishlist */
.wish-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px;
  border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: #c3bcab;
  font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow); transition: all .25s; line-height: 1;
}
.wish-btn:hover { color: var(--terra); transform: scale(1.12); }
.wish-btn.active { color: var(--terra); }
.btn[data-wish].active { border-color: var(--terra); color: var(--terra); }

/* newsletter footer */
.newsletter-form { display: flex; gap: 8px; margin-top: 10px; }
.newsletter-form input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 8px; border: none; font-size: .88rem; }
.newsletter-form button { padding: 10px 18px; border-radius: 8px; border: none; background: var(--wheat); color: #fff; font-weight: 700; cursor: pointer; transition: background .25s; }
.newsletter-form button:hover { background: var(--wheat-dark); }
.news-privacy { display: flex; gap: 8px; align-items: flex-start; font-size: .75rem; margin-top: 10px; color: #a9a390; }
.news-privacy a { color: #cfc9b8; text-decoration: underline; }

/* filtri shop */
.shop-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 42px; }
.shop-filters button {
  padding: 9px 22px; border-radius: 30px; border: 1.5px solid var(--olive); background: transparent;
  color: var(--olive-dark); font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .25s;
}
.shop-filters button:hover, .shop-filters button.active { background: var(--olive); color: #fff; }
.free-ship-banner { background: var(--wheat); color: #fff; text-align: center; font-weight: 600; padding: 10px 16px; border-radius: 10px; margin-bottom: 34px; }

/* ---------- pagina prodotto ---------- */
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 26px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--wheat-dark); }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-gallery .main-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.product-gallery .thumbs { display: flex; gap: 12px; margin-top: 14px; }
.product-gallery .thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; transition: border .25s; }
.product-gallery .thumbs img:hover, .product-gallery .thumbs img.sel { border-color: var(--wheat); }
.product-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.product-info .price { font-size: 1.7rem; margin-bottom: 18px; display: block; }
.product-info .desc { color: var(--ink-soft); margin-bottom: 24px; }
.char-table { width: 100%; border-collapse: collapse; margin: 20px 0 26px; font-size: .92rem; }
.char-table th, .char-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid rgba(44,42,36,.1); }
.char-table th { color: var(--olive-dark); font-weight: 600; width: 45%; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.qty-input { display: inline-flex; align-items: center; border: 1.5px solid rgba(44,42,36,.2); border-radius: 30px; overflow: hidden; }
.qty-input button { width: 40px; height: 42px; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--olive-dark); }
.qty-input input { width: 46px; text-align: center; border: none; font-size: 1rem; font-weight: 600; background: transparent; }
.ship-note { background: var(--cream-2); border-left: 4px solid var(--wheat); padding: 12px 16px; border-radius: 8px; font-size: .88rem; color: var(--ink-soft); margin-top: 22px; }

/* ---------- slider home (prodotti, bomboniere, brochure, recensioni) ---------- */
.pslider { position: relative; max-width: 980px; margin: 0 auto; }
.pslide {
  display: none; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: center;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden; padding: 0; border: 1px solid rgba(200,155,60,.18);
}
.pslide.active { display: grid; animation: psFade .55s ease; }
@keyframes psFade { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
.pslide .ps-img { aspect-ratio: 4/3; overflow: hidden; align-self: stretch; display: block; background: var(--white); }
.pslide .ps-img img { width: 100%; height: 100%; object-fit: contain; }
.pslide.active .ps-img img { animation: psKenburns 7s ease-out forwards; }
@keyframes psKenburns { from { transform: scale(1.05); } to { transform: scale(1); } }
.pslide .ps-body { padding: 26px 34px 26px 0; }
.pslide.active .ps-body > * { animation: psUp .6s ease backwards; }
.pslide.active .ps-body > *:nth-child(2) { animation-delay: .12s; }
.pslide.active .ps-body > *:nth-child(3) { animation-delay: .22s; }
.pslide.active .ps-body > *:nth-child(4) { animation-delay: .32s; }
.pslide.active .ps-body > *:nth-child(5) { animation-delay: .42s; }
@keyframes psUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pslide .ps-body .kicker { color: var(--terra); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; display: block; margin-bottom: 6px; }
.pslide h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); margin-bottom: 8px; }
.pslide .ps-desc { color: var(--ink-soft); font-size: .9rem; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pslide .price { font-size: 1.3rem; display: block; margin-bottom: 14px; }
.ps-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.ps-ctas .btn { padding: 11px 24px; font-size: .88rem; }
/* freccette: solo il simbolo scuro ai bordi, senza cerchio */
.ps-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 32px; height: 52px; border: none; background: transparent; cursor: pointer;
  color: var(--ink); font-size: 2rem; line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center; transition: color .25s;
}
.ps-arrow:hover { color: var(--wheat-dark); }
.ps-prev { left: -4px; } .ps-next { right: -4px; }
.ps-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.ps-dots button { width: 22px; height: 5px; border-radius: 3px; border: none; background: rgba(44,42,36,.18); cursor: pointer; transition: all .3s; padding: 0; }
.ps-dots button.active { background: var(--wheat); width: 34px; }

/* slide recensioni (una colonna, centrata) */
.pslide.review { grid-template-columns: 1fr; text-align: center; background: var(--white); }
.pslide.review .ps-body { padding: 40px 48px; max-width: 700px; margin: 0 auto; }
.pslide.review .stars { color: var(--wheat); font-size: 1.4rem; letter-spacing: .22em; margin-bottom: 14px; }
.pslide.review blockquote { font-family: var(--font-serif); font-size: clamp(1.1rem, 1.9vw, 1.4rem); font-style: italic; color: var(--ink); line-height: 1.5; margin-bottom: 18px; }
.pslide.review .who { font-weight: 700; color: var(--olive-dark); }
.pslide.review .gbadge { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: .8rem; color: var(--ink-soft); }
.review-head-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border-radius: 30px; padding: 8px 20px; box-shadow: var(--shadow); font-weight: 700; color: var(--olive-dark); margin-top: 14px; }
.review-head-badge .stars { color: var(--wheat); letter-spacing: .15em; }

/* slide brochure */
.pslide.brochure .ps-img { background: var(--cream-2); }
.pslide.brochure .ps-img img { object-fit: contain; padding: 18px; }

@media (max-width: 860px) {
  .pslide { grid-template-columns: 1fr; gap: 0; }
  .pslide .ps-img { aspect-ratio: 16/10; }
  .pslide .ps-body { padding: 22px 24px 28px; }
  .pslide.review .ps-body { padding: 30px 22px; }
  /* su mobile: solo freccetta scura, senza cerchio bianco che copre i testi */
  .ps-arrow { background: transparent; box-shadow: none; color: var(--ink); width: 28px; height: 44px; font-size: 1.7rem; }
  .ps-arrow:hover { background: transparent; color: var(--olive-dark); transform: translateY(-50%); }
  .ps-prev { left: 0; } .ps-next { right: 0; }
}

/* ---------- video ---------- */
.video-section { background: var(--cream-2); }
.video-wrap { max-width: 880px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-wrap video { width: 100%; display: block; }

/* ---------- teaser split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split .img-side { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split .img-side img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--ink-soft); margin-bottom: 24px; }

/* ---------- metodo ---------- */
.metodo-step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; margin-bottom: 38px; align-items: start; }
.metodo-step .num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--wheat); color: #fff;
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.metodo-step h3 { margin-bottom: 8px; }
.metodo-step p { color: var(--ink-soft); }
.cert-box { background: var(--olive-dark); color: #e9e4d4; border-radius: var(--radius); padding: 36px 40px; margin-top: 20px; }
.cert-box h3 { color: var(--wheat); margin-bottom: 12px; }

/* ---------- faq ---------- */
.faq-item { background: var(--white); border-radius: 12px; margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary {
  padding: 18px 24px; cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--wheat); transition: transform .3s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--ink-soft); }

/* ---------- punti vendita ---------- */
.pv-card { background: var(--white); border-radius: 12px; padding: 24px 26px; box-shadow: var(--shadow); border-top: 4px solid var(--wheat); }
.pv-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.pv-card .pv-city { color: var(--terra); font-weight: 600; font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.pv-card p { font-size: .92rem; color: var(--ink-soft); margin: 3px 0; }
.pv-empty { text-align: center; color: var(--ink-soft); font-style: italic; padding: 30px; background: var(--cream-2); border-radius: 12px; }
.pv-card.ristorante { border-top-color: var(--terra); }

/* ---------- form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 12px 15px; border: 1.5px solid rgba(44,42,36,.18); border-radius: 10px;
  font-family: inherit; font-size: .95rem; background: var(--white); transition: border .25s; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--wheat); }
textarea { min-height: 120px; resize: vertical; }

/* ---------- carrello ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 12px; border-bottom: 2px solid rgba(44,42,36,.14); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.cart-table td { padding: 16px 12px; border-bottom: 1px solid rgba(44,42,36,.08); vertical-align: middle; }
.cart-table img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.cart-prod { display: flex; align-items: center; gap: 16px; font-weight: 600; }
.cart-remove { background: none; border: none; color: var(--terra); cursor: pointer; font-size: .85rem; text-decoration: underline; }
.cart-summary { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 30px; }
.cart-summary .row { display: flex; justify-content: space-between; padding: 8px 0; }
.cart-summary .row.total { border-top: 2px solid rgba(44,42,36,.14); margin-top: 10px; padding-top: 16px; font-size: 1.25rem; font-weight: 700; }
.free-ship-progress { background: var(--cream-2); border-radius: 10px; padding: 14px 18px; margin: 18px 0; font-size: .9rem; }
.free-ship-progress .bar { height: 8px; background: rgba(44,42,36,.12); border-radius: 4px; margin-top: 10px; overflow: hidden; }
.free-ship-progress .bar > div { height: 100%; background: var(--wheat); border-radius: 4px; transition: width .5s; }

/* checkout */
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.pay-option { border: 1.5px solid rgba(44,42,36,.15); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; cursor: pointer; transition: border .25s, background .25s; }
.pay-option:hover { border-color: var(--wheat); }
.pay-option.selected { border-color: var(--olive); background: var(--cream-2); }
.pay-option .pay-head { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pay-option .pay-desc { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }

/* ---------- media/press ---------- */
.press-card .img-wrap { aspect-ratio: 16/10; overflow: hidden; }
.press-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
footer.site-footer { background: var(--olive-dark); color: #cfc9b8; padding: 60px 0 0; margin-top: 40px; }
footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
footer h4 { color: var(--wheat); font-family: var(--font-sans); font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
footer a { color: #cfc9b8; }
footer a:hover { color: var(--wheat); }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; font-size: .92rem; }
footer .footer-about img { height: 60px; margin-bottom: 16px; }
footer .footer-about p { font-size: .9rem; }
footer .social a { display: inline-flex; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; align-items: center; justify-content: center; margin-right: 10px; }
footer .social svg { width: 18px; height: 18px; fill: #cfc9b8; }
footer .social a:hover { border-color: var(--wheat); }
footer .social a:hover svg { fill: var(--wheat); }
footer .pay-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
footer .pay-badges span { background: rgba(255,255,255,.1); padding: 5px 12px; border-radius: 6px; font-size: .78rem; font-weight: 600; color: #e9e4d4; }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: .82rem; text-align: center; }

/* ---------- animazioni scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; } .reveal-d2 { transition-delay: .24s; } .reveal-d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 26px; right: 26px; background: var(--olive-dark); color: #fff;
  padding: 14px 24px; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 500;
  opacity: 0; transform: translateY(16px); transition: all .35s; pointer-events: none; font-weight: 600;
}
.toast.show { opacity: 1; transform: none; }

/* ---------- pagina hero interna ---------- */
.page-hero { background: linear-gradient(120deg, var(--olive-dark), var(--olive)); color: #fff; padding: 74px 0 60px; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #e2ddca; max-width: 640px; margin: 0 auto; font-size: 1.06rem; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  nav.main-nav {
    position: fixed; inset: 0; background: var(--cream); z-index: 260; display: none;
    padding: 96px 30px 40px; overflow-y: auto;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 0; flex-wrap: wrap; }
  /* voci più compatte: carattere più piccolo e righe più vicine */
  nav.main-nav a { font-size: 1rem; padding: 9px 14px; display: block; white-space: normal; line-height: 1.35; }
  nav.main-nav .submenu { padding-left: 16px; }
  nav.main-nav .submenu a { font-size: .92rem; padding: 7px 14px; color: var(--ink-soft); }
  .hamburger { display: block; z-index: 500; position: relative; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .split, .product-detail, .checkout-grid, .form-grid { grid-template-columns: 1fr; }
  .split { gap: 30px; }
  .hero { min-height: 66vh; }
  .cart-table thead { display: none; }
  .cart-table td { display: block; border: none; padding: 6px 0; }
  .cart-table tr { display: block; border-bottom: 1px solid rgba(44,42,36,.1); padding: 14px 0; }
}
@media (max-width: 640px) {
  /* header mobile compatto e centrato */
  .header-inner { gap: 6px; padding: 8px 10px; }
  .logo img { height: 36px; }
  .header-actions { gap: 6px; }
  .cart-btn { padding: 6px; }
  .cart-btn svg { width: 22px; height: 22px; }
  .cart-count { min-width: 15px; height: 15px; font-size: .6rem; top: 0; right: -2px; }
  .lang-switch > button { padding: 5px 8px; font-size: .76rem; }
  .hamburger { padding: 6px; }
  .hamburger span { width: 21px; margin: 4px 0; }
  .topbar { font-size: .7rem; line-height: 1.5; padding: 7px 10px; }
}
@media (max-width: 520px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 36px 0; }
}

/* ---------- home: tutti i bottoni centrati ----------
   vale solo per la home (body.pagina-home), le altre pagine restano com'erano */
body.pagina-home .ps-ctas { justify-content: center; }
body.pagina-home .split .btn,
body.pagina-home .section-head + .btn {
  display: block; width: fit-content; margin-left: auto; margin-right: auto;
}
body.pagina-home .pslide .ps-body { text-align: center; }
body.pagina-home .pslide .ps-body .price { display: block; }

/* ---------- leggibilità su telefono ---------- */
@media (max-width: 640px) {
  /* le quattro colonne del piè di pagina diventano una sola: a 146px il testo
     andava a capo quasi a ogni parola */
  footer .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  footer .footer-about img { margin-left: auto; margin-right: auto; }
  footer .social-row { justify-content: center; }
  /* nessun testo sotto i 13px: sui telefoni diventa faticoso da leggere */
  .kicker { font-size: .85rem; }
  label, .form-grid label, .privacy-check + span, .cookie-tab { font-size: .84rem; }
  .usp-item p, .card-body p, .ps-desc { font-size: .95rem; line-height: 1.6; }
  .usp-item h3 { font-size: 1.15rem; }
  /* le foto delle slide restavano un filo oltre il bordo */
  .pslide .ps-img, .pslide .ps-img img { max-width: 100%; }
  .pslider, .pslide { max-width: 100%; overflow: hidden; }
}


/* ---------- menu mobile: deve coprire lo schermo ----------
   La sfocatura dell'intestazione creava un "contenitore" che teneva il menu
   dentro la barra alta pochi centimetri: nelle pagine interne si vedeva solo
   la prima voce. Mentre il menu è aperto la sfocatura viene tolta. */
body.menu-aperto header.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-aperto { overflow: hidden; }

/* ---------- elenco dei partner: uno sotto l'altro ---------- */
.elenco-partner { display: grid; gap: 22px; max-width: 900px; margin: 0 auto; }
.scheda-partner {
  display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: center;
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.scheda-partner .foto { display: block; aspect-ratio: 4/3; background: var(--cream-2); overflow: hidden; }
.scheda-partner .foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.scheda-partner:hover .foto img { transform: scale(1.05); }
.scheda-partner .testo { padding: 22px 26px 22px 0; }
.scheda-partner h3 { font-size: 1.45rem; margin-bottom: 4px; }
.scheda-partner h3 a { color: var(--ink); text-decoration: none; }
.scheda-partner h3 a:hover { color: var(--olive-dark); }
.scheda-partner .dove { color: var(--terra); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.scheda-partner .descr { color: var(--ink-soft); font-size: .95rem; line-height: 1.65; margin-bottom: 16px; }
.scheda-partner .azioni { display: flex; gap: 10px; flex-wrap: wrap; }
.scheda-partner .azioni .btn { padding: 9px 20px; font-size: .85rem; }
@media (max-width: 760px) {
  .scheda-partner { grid-template-columns: 1fr; gap: 0; }
  .scheda-partner .foto { aspect-ratio: 16/10; }
  .scheda-partner .testo { padding: 22px 24px 26px; text-align: center; }
  .scheda-partner .azioni { justify-content: center; }
}


/* ---------- foto dentro gli articoli del blog ---------- */
.post-foto { margin: 30px 0; }
.post-foto img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.post-foto figcaption,
.post-didascalia { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: 10px; font-style: italic; }
.post-galleria { display: grid; gap: 14px; margin: 30px 0 6px; grid-template-columns: repeat(2, 1fr); }
.post-galleria:has(figure:nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
.post-galleria figure { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); cursor: zoom-in; }
.post-galleria img { width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; transition: transform .5s ease; }
.post-galleria figure:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .post-galleria, .post-galleria:has(figure:nth-child(3)) { grid-template-columns: 1fr; }
  .post-galleria img { aspect-ratio: 4/3; }
  .post-foto { margin: 22px 0; }
}
