/* =========================================================
   Pastry Smart Idea — Fruit Mold Futurism
   Design tokens + layout system (mobile-first)
   ========================================================= */

:root {
  /* Fruit / mold palette */
  --berry: #ff2d55;
  --berry-deep: #d9103c;
  --mango: #ff8f3c;
  --lemon: #f5d547;
  --pistachio: #6bcb4a;
  --cyan: #00c2cb;
  --cacao: #3a2418;
  --ink: #141210;
  --ink-soft: #3a342e;
  --mist: #fff7f0;
  --cream: #fffdf9;
  --line: rgba(20, 18, 16, 0.1);
  --white: #ffffff;

  /* Gradients */
  --grad-fruit: linear-gradient(135deg, #ff8f3c 0%, #ff2d55 48%, #00c2cb 100%);
  --grad-wash: linear-gradient(160deg, #fff3e6 0%, #ffe8f0 42%, #e8fbff 100%);
  --grad-hero: linear-gradient(120deg, rgba(255, 143, 60, 0.55), rgba(255, 45, 85, 0.35), rgba(0, 194, 203, 0.45));
  --grad-dark: linear-gradient(145deg, #1a1410 0%, #2a1020 55%, #0d2a2c 100%);

  /* Typography */
  --font-display: "Syne", "Avenir Next", sans-serif;
  --font-body: "Manrope", "Avenir Next", sans-serif;

  /* Space / radius / shadow */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-soft: 0 12px 40px rgba(20, 18, 16, 0.08);
  --shadow-lift: 0 18px 50px rgba(255, 45, 85, 0.16);
  --header-h: 5.75rem;
  --container: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(0, 194, 203, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(255, 143, 60, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 40% at 90% 0%, rgba(255, 45, 85, 0.16), transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 100%, rgba(0, 194, 203, 0.14), transparent 55%),
    var(--mist);
  min-height: 100vh;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent flex/grid children from forcing horizontal scroll */
main,
section,
.container,
.split,
.product-detail,
.footer-grid {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--berry-deep);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-7);
}

.section--tight {
  padding-block: var(--space-6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--berry-deep);
  margin: 0 0 var(--space-3);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--grad-fruit);
}

.display {
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-4);
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.display--xl {
  font-size: clamp(1.85rem, 8.5vw, 4.75rem);
}

.display--lg {
  font-size: clamp(1.9rem, 4.5vw, 3.25rem);
}

.display--md {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.lede {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.muted {
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn:active {
  transform: translateY(0);
}

.btn--berry {
  --btn-bg: var(--berry);
  --btn-fg: var(--white);
}

.btn--berry:hover {
  --btn-bg: var(--berry-deep);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1.5px solid rgba(20, 18, 16, 0.18);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--berry);
  color: var(--berry-deep);
  box-shadow: none;
}

.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.btn--on-dark:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.btn--whatsapp {
  --btn-bg: #1ebe57;
  --btn-fg: #fff;
}

.btn--cyan {
  --btn-bg: var(--cyan);
  --btn-fg: #042a2c;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-5);
  max-width: 100%;
}

.btn-group .btn {
  max-width: 100%;
}

/* ---------- Header / Nav ---------- */
/* Solo logo + pill centrale + lingue: wrapper sempre trasparente (niente barra full-width) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Soft Christmas snow — homepage header only.
   Do NOT set overflow:hidden on the header: it clips the fixed mobile nav
   and leaves the pink wave peeking on the right. Snow/santa already clip themselves. */
.site-header--snow {
  position: relative;
}

body[data-page="home"] .site-header.site-header--snow {
  position: fixed;
}

.header-snow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.85;
}

body[data-page="home"] .site-header.is-scrolled .header-snow {
  opacity: 1;
}

.header-snow span {
  position: absolute;
  top: -12px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 1px 3px rgba(20, 18, 16, 0.22);
  opacity: 0.7;
  animation-name: headerSnowFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

@keyframes headerSnowFall {
  0% {
    transform: translate3d(0, -14px, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.75;
  }
  85% {
    opacity: 0.55;
  }
  100% {
    transform: translate3d(10px, calc(var(--header-h) + 16px), 0);
    opacity: 0;
  }
}

.header-santa {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.header-santa__svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(7.5rem, 18vw, 10rem);
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.28));
  animation: headerSantaFly 18s linear infinite;
  will-change: transform, opacity;
}

@keyframes headerSantaFly {
  /* cross ~4s, then pause ~14s off-screen (cycle 18s) */
  0% {
    transform: translate3d(-130%, -50%, 0);
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  22% {
    transform: translate3d(110vw, -58%, 0);
    opacity: 1;
  }
  24%,
  100% {
    transform: translate3d(120vw, -60%, 0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-snow,
  .header-santa {
    display: none;
  }
}

body[data-page="home"] .site-header,
body[data-page="consulting"] .site-header {
  position: fixed;
  inset: var(--bf-offset, 0px) 0 auto 0;
  background: transparent;
}

/* Su hero scuro/colorato: logo/lingue chiari; allo scroll tornano scuri */
body[data-page="home"] .site-header:not(.is-scrolled) .brand__logo,
body[data-page="consulting"] .site-header:not(.is-scrolled) .brand__logo {
  filter: brightness(0) invert(1);
}

body[data-page="home"] .site-header:not(.is-scrolled) .lang-switch,
body[data-page="consulting"] .site-header:not(.is-scrolled) .lang-switch {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body[data-page="home"] .site-header:not(.is-scrolled) .lang-switch button,
body[data-page="consulting"] .site-header:not(.is-scrolled) .lang-switch button {
  color: rgba(255, 255, 255, 0.9);
}

body[data-page="home"] .site-header:not(.is-scrolled) .lang-switch button[aria-pressed="true"],
body[data-page="consulting"] .site-header:not(.is-scrolled) .lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
}

body[data-page="home"] .site-header:not(.is-scrolled) .nav-toggle,
body[data-page="consulting"] .site-header:not(.is-scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body[data-page="home"] .site-header:not(.is-scrolled) .nav-toggle span,
body[data-page="consulting"] .site-header:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

body[data-page="home"] .site-header:not(.is-scrolled) .header-cta,
body[data-page="consulting"] .site-header:not(.is-scrolled) .header-cta {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.site-header__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "lang brand actions";
  align-items: center;
  gap: 0.5rem;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  background: transparent;
}

.lang-switch {
  grid-area: lang;
  justify-self: start;
  z-index: 2;
}

.header-actions {
  grid-area: actions;
  justify-self: end;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.header-cta {
  min-height: 2.5rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(20, 18, 16, 0.14);
}

.header-cta[aria-current="page"] {
  box-shadow: 0 0 0 2px rgba(255, 45, 85, 0.3), 0 6px 14px rgba(20, 18, 16, 0.14);
}

.brand {
  grid-area: brand;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  line-height: 0;
  z-index: 1;
}

.brand:hover {
  color: var(--ink);
  opacity: 0.88;
}

.brand__logo {
  display: block;
  height: clamp(3.25rem, 12vw, 4.75rem);
  width: auto;
  max-width: min(58vw, 16rem);
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  --nav-wave: #ff2d55;
  position: fixed;
  /* full viewport: evita il taglio della wave sotto l’header */
  inset: 0 0 0 auto;
  width: min(21rem, 88vw);
  background:
    radial-gradient(ellipse 80% 40% at 100% 0%, rgba(255, 45, 85, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 35% at 0% 70%, rgba(0, 194, 203, 0.12), transparent 50%),
    linear-gradient(180deg, #fff9f4 0%, #fffdf9 48%, #ffe8f0 100%);
  border-left: 1px solid rgba(255, 45, 85, 0.12);
  padding: 0;
  transform: translate3d(110%, 0, 0);
  transition: transform 0.4s var(--ease), visibility 0.4s;
  visibility: hidden;
  pointer-events: none;
  box-shadow: -18px 0 50px rgba(20, 18, 16, 0.18);
  z-index: 120;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.site-nav.is-open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}

.site-nav__chrome {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.site-nav__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
}

.site-nav__blob--a {
  width: 8rem;
  height: 8rem;
  right: -2.5rem;
  top: 28%;
  background: radial-gradient(circle, rgba(255, 143, 60, 0.55), transparent 70%);
}

.site-nav__blob--b {
  width: 6.5rem;
  height: 6.5rem;
  left: -2rem;
  bottom: 32%;
  background: radial-gradient(circle, rgba(0, 194, 203, 0.4), transparent 70%);
}

.site-nav__wave {
  display: block;
  width: 100%;
  fill: var(--nav-wave);
}

.site-nav__wave--top {
  position: absolute;
  top: 0;
  left: 0;
  height: calc(var(--header-h) + 2.75rem);
}

.site-nav__wave--top path {
  fill: var(--nav-wave);
}

.site-nav__wave--bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5.5rem;
  z-index: 0;
}

.site-nav__wave--bottom path {
  fill: var(--nav-wave);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: calc(var(--header-h) + 2.25rem) 1rem 1rem;
  display: grid;
  gap: 0.3rem;
  position: relative;
  z-index: 1;
  flex: 1;
  overflow: auto;
}

.site-nav a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.site-nav a:hover {
  background: rgba(255, 45, 85, 0.1);
  color: var(--berry-deep);
  transform: translateX(4px);
}

.site-nav a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.16), rgba(255, 143, 60, 0.14));
  color: var(--berry-deep);
  box-shadow: inset 0 0 0 1px rgba(255, 45, 85, 0.18);
}

.site-nav__foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1rem 1.25rem 5.75rem;
  min-height: 8.5rem;
}

.site-nav__cta {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 999px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 24px rgba(20, 18, 16, 0.08);
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--ink-soft);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(255, 45, 85, 0.25), transparent 60%),
    rgba(20, 18, 16, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 90;
  backdrop-filter: blur(2px);
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Hero showcase (wave contrast + product overlap) ---------- */
.hero-showcase {
  --hero-tone: #c8193a;
  --hero-tone-deep: #8f1028;
  --wave: #fff4e8;
  --wave-ink: #141210;
  --wave-h: clamp(11rem, 28vh, 16rem);
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  /* evita la “linea” rossa sotto: il padding del grid non deve far trasparire il tone */
  background: var(--wave);
}

.hero-showcase[data-theme="bear"] {
  --hero-tone: #d61f45;
  --hero-tone-deep: #9a1230;
  --wave: #fff4e8;
  --wave-ink: #141210;
}

.hero-showcase[data-theme="popcorn"] {
  --hero-tone: #f0b429;
  --hero-tone-deep: #d49210;
  --wave: #24180a;
  --wave-ink: #fff4e8;
  color: #1a140c;
}

.hero-showcase[data-theme="cookie"] {
  --hero-tone: #6b4228;
  --hero-tone-deep: #3d2416;
  --wave: #fff4e8;
  --wave-ink: #141210;
}

/* Home Natale 2026 hero themes */
.hero-showcase[data-theme="renna"] {
  --hero-tone: #c8193a;
  --hero-tone-deep: #6b1228;
  --wave: #1a1014;
  --wave-ink: #fff4e8;
}

.hero-showcase[data-theme="gnomo"] {
  --hero-tone: #9e1b32;
  --hero-tone-deep: #3f0f1c;
  --wave: #140c10;
  --wave-ink: #fff4e8;
}

.hero-showcase[data-theme="albero"] {
  --hero-tone: #1f6b45;
  --hero-tone-deep: #0f3424;
  --wave: #0c1812;
  --wave-ink: #e8fff4;
}

.hero-showcase[data-theme="fiamma"] {
  --hero-tone: #c9922a;
  --hero-tone-deep: #7a4f12;
  --wave: #1a1208;
  --wave-ink: #fff4e8;
}

.home--natale .hero-showcase__copy .brand-lockup {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: rgba(255, 255, 255, 0.96);
}

.home--natale .hero-showcase__copy .display {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
}

.home--natale .marquee--natale {
  background: linear-gradient(90deg, #6b1228, #c8193a 45%, #1f6b45);
  color: #fff;
}

.section--natale-home {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(200, 25, 58, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(31, 107, 69, 0.07), transparent 50%);
}

.section--secondary {
  opacity: 0.92;
}

.collection-grid--natale-first {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .collection-grid--natale-first {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
  }

  .collection-card--featured {
    grid-column: 1 / 2;
  }

  .collection-card--featured .collection-card__media {
    aspect-ratio: 1 / 1;
  }

  .collection-card--featured .collection-card__media img {
    object-fit: contain;
    background: transparent;
  }
}

.product-grid--natale {
  margin-top: 0.25rem;
}

.hero-showcase[data-theme="renna"] .btn--accent,
.hero-showcase[data-theme="gnomo"] .btn--accent,
.hero-showcase[data-theme="albero"] .btn--accent,
.hero-showcase[data-theme="fiamma"] .btn--accent {
  --btn-bg: #fff;
  --btn-fg: #1a1014;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.hero-showcase[data-theme="renna"] .btn--accent:hover,
.hero-showcase[data-theme="gnomo"] .btn--accent:hover,
.hero-showcase[data-theme="albero"] .btn--accent:hover,
.hero-showcase[data-theme="fiamma"] .btn--accent:hover {
  --btn-bg: #fff4e8;
  color: #1a1014;
}

.hero-showcase[data-theme="renna"] .btn--accent-soft,
.hero-showcase[data-theme="gnomo"] .btn--accent-soft,
.hero-showcase[data-theme="albero"] .btn--accent-soft,
.hero-showcase[data-theme="fiamma"] .btn--accent-soft {
  --btn-bg: rgba(255, 255, 255, 0.16);
  --btn-fg: #fff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-showcase[data-theme="renna"] .btn--accent-soft:hover,
.hero-showcase[data-theme="gnomo"] .btn--accent-soft:hover,
.hero-showcase[data-theme="albero"] .btn--accent-soft:hover,
.hero-showcase[data-theme="fiamma"] .btn--accent-soft:hover {
  --btn-bg: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* Background colorato (sempre in contrasto con la wave) */
.hero-showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 78% 36%, rgba(255, 255, 255, 0.2), transparent 60%),
    linear-gradient(160deg, var(--hero-tone) 0%, var(--hero-tone-deep) 100%);
  transition: background 0.55s var(--ease);
}

/* Fascia wave in basso — stessa altezza del padding-bottom del grid */
.hero-showcase__wave-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--wave-h);
  z-index: 1;
  background: var(--wave);
  transition: background 0.45s var(--ease);
  pointer-events: none;
}

.hero-showcase__wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -8.5rem;
  width: 100%;
  height: clamp(8.5rem, 16vw, 11rem);
  fill: var(--wave);
  transition: fill 0.45s var(--ease);
}

/* Contenuto principale sopra bg, prodotto entra nella wave */
.hero-showcase__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  align-items: start;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  min-height: 100svh;
  /* bottom = wave: sfondo hero è cream, niente linea rossa */
  padding: calc(var(--header-h) + 1.25rem) 0 var(--wave-h);
  box-sizing: border-box;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-showcase__grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero-showcase__copy {
  text-align: left;
  max-width: 34rem;
  width: 100%;
  align-self: start;
  position: relative;
  z-index: 4;
  color: #fff;
  /* tiene titolo/CTA sopra la wave e lontano da reviews */
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
}

.hero-showcase__copy .eyebrow {
  color: #fff;
  opacity: 0.95;
}

.hero-showcase__copy .eyebrow::before {
  background: #fff;
}

.hero-showcase__copy .lede {
  color: #fff;
  opacity: 0.96;
  text-shadow: 0 1px 10px rgba(20, 18, 16, 0.22);
}

.hero-showcase__copy .display {
  color: #fff;
  text-shadow: 0 2px 18px rgba(20, 18, 16, 0.28);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: #141210;
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  border: 1.5px solid color-mix(in srgb, currentColor 45%, transparent);
  background: color-mix(in srgb, #fff 12%, transparent);
}

.btn--outline-light:hover {
  border-color: currentColor;
  color: inherit;
  box-shadow: none;
}

/* CTA hero: accenti sempre leggibili su wave e background */
.btn--accent {
  --btn-bg: var(--berry);
  --btn-fg: #fff;
  box-shadow: 0 12px 28px rgba(255, 45, 85, 0.35);
}

.btn--accent:hover {
  --btn-bg: var(--berry-deep);
  color: #fff;
}

.btn--accent-soft {
  --btn-bg: var(--mango);
  --btn-fg: #1a1208;
  box-shadow: 0 12px 28px rgba(255, 143, 60, 0.35);
}

.btn--accent-soft:hover {
  --btn-bg: #ff7a1a;
  color: #1a1208;
}

.hero-showcase[data-theme="popcorn"] .btn--accent {
  --btn-bg: #c8193a;
  box-shadow: 0 12px 28px rgba(200, 25, 58, 0.4);
}

.hero-showcase[data-theme="popcorn"] .btn--accent-soft {
  --btn-bg: #fff;
  --btn-fg: #1a1208;
  box-shadow: 0 12px 28px rgba(26, 18, 8, 0.18);
}

.hero-showcase__stage {
  display: grid;
  justify-items: center;
  align-self: end;
  position: relative;
  z-index: 2;
  /* prodotto entra nella wave senza spingere il copy */
  margin-bottom: 0;
}

.hero-showcase__product-wrap {
  width: min(100%, 22rem);
  display: grid;
  place-items: center;
}

.hero-showcase__product {
  max-width: 100%;
  max-height: min(54svh, 30rem);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.28));
  animation: productIn 0.55s var(--ease);
  /* la parte bassa del prodotto “entra” nella wave */
  transform: translateY(12%);
}

@keyframes productIn {
  from { opacity: 0; transform: translateY(28%) scale(0.94); }
  to { opacity: 1; transform: translateY(12%); }
}

/* UI dentro la wave: reviews | frecce | social */
.hero-showcase__wave-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0 0 1.35rem;
  color: var(--wave-ink);
}

.hero-showcase__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  grid-column: 2;
}

.hero-nav {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #141210;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(20, 18, 16, 0.14);
  transition: transform 0.25s var(--ease);
}

.hero-showcase[data-theme="popcorn"] .hero-nav {
  background: #fff4e8;
  color: #24180a;
}

.hero-nav:hover {
  transform: translateY(-2px);
}

.hero-showcase__dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-showcase__dots button {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: 0;
  background: color-mix(in srgb, currentColor 35%, transparent);
  cursor: pointer;
  padding: 0;
}

.hero-showcase__dots button[aria-selected="true"] {
  width: 1.25rem;
  background: currentColor;
}

.hero-reviews {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
  grid-column: 1;
}

.hero-reviews__avatars {
  display: flex;
}

.hero-reviews__avatars span {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 2px solid var(--wave);
  margin-left: -0.45rem;
  display: block;
}

.hero-reviews__avatars span:first-child {
  margin-left: 0;
}

.hero-reviews strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.1;
}

.hero-reviews p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  opacity: 0.7;
}

.hero-socials {
  display: flex;
  gap: 0.5rem;
  justify-self: end;
  grid-column: 3;
  justify-content: flex-end;
}

.hero-socials a {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #141210;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.hero-showcase[data-theme="popcorn"] .hero-socials a {
  background: #fff4e8;
  color: #24180a;
}

.hero-socials a:hover {
  transform: translateY(-2px);
  background: var(--berry);
  color: #fff;
}

/* ---------- Floating WhatsApp (dolci fancy) ---------- */
.wa-float {
  --wa-size: 3.6rem;
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: var(--wa-size);
  padding: 0.55rem 0.95rem 0.55rem 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #ff4d7a 0%, #ff2d55 42%, #ff8f3c 100%);
  box-shadow:
    0 14px 36px rgba(255, 45, 85, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: waBob 3.2s ease-in-out infinite;
}

.wa-float:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 18px 42px rgba(255, 45, 85, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.wa-float:focus-visible {
  outline: none;
  box-shadow: var(--focus), 0 14px 36px rgba(255, 45, 85, 0.38);
}

.wa-float__glow {
  position: absolute;
  inset: -0.35rem;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, rgba(255, 213, 102, 0.55), transparent 55%);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.wa-float__candy {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ffe566;
  top: 0.35rem;
  right: 0.85rem;
  box-shadow:
    -1.1rem 0.85rem 0 -0.05rem #7cf0f5,
    0.35rem 1.35rem 0 -0.08rem #fff;
  pointer-events: none;
  z-index: 1;
  animation: waSparkle 2.4s ease-in-out infinite;
}

.wa-float__icon {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.wa-float__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding-right: 0.2rem;
}

@keyframes waBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes waSparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

@media (max-width: 640px) {
  .wa-float {
    padding: 0.45rem;
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .wa-float__label,
  .wa-float__candy {
    display: none;
  }

  .wa-float__icon {
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float,
  .wa-float__candy {
    animation: none;
  }
}

/* ---------- Collections / Cards ---------- */
.section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: var(--space-6);
}

.section-head--row {
  align-items: end;
}

.collection-grid,
.product-grid,
.feature-grid,
.news-grid {
  display: grid;
  gap: 1rem;
}

.collection-card,
.news-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  height: 100%;
  min-height: 0;
}

.collection-card:hover,
.product-card:hover,
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.collection-card a,
.news-card a {
  text-decoration: none;
  color: inherit;
  display: grid;
  height: 100%;
}

.product-card > a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  border-radius: inherit;
  overflow: hidden;
  background: inherit;
}

.collection-card__media,
.news-card__media {
  aspect-ratio: 1 / 1;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0.85rem;
  flex-shrink: 0;
  overflow: hidden;
}

.collection-card__media img,
.product-card__media img {
  width: min(86%, 18rem);
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}

.collection-card:hover img,
.product-card:hover img {
  transform: scale(1.05) rotate(-1.5deg);
}

.collection-card__body,
.news-card__body,
.feature-card {
  padding: 1.1rem 1.2rem 1.3rem;
}

.product-card__body {
  padding: 1rem 1.15rem 1.35rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 0;
}

.product-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 45, 85, 0.1);
  color: var(--berry-deep);
}

.chip--cyan { background: rgba(0, 194, 203, 0.14); color: #0a6e74; }
.chip--mango { background: rgba(255, 143, 60, 0.16); color: #a04a00; }
.chip--pistachio { background: rgba(107, 203, 74, 0.16); color: #2f6f1a; }
.chip--cacao { background: rgba(58, 36, 24, 0.12); color: #3a2418; }

/* ---------- Natale collection ---------- */
.natale-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  min-height: min(78svh, 42rem);
  display: grid;
  align-items: center;
}

.natale-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 78% 30%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(160deg, #c8193a 0%, #6b1228 55%, #241016 100%);
}

.natale-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  padding: calc(var(--header-h) + 1.5rem) 0 2.5rem;
  align-items: center;
}

.natale-hero__copy .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.natale-hero__copy .eyebrow::before {
  background: currentColor;
}

.natale-hero__copy .lede {
  color: rgba(255, 255, 255, 0.88);
}

.natale-hero__visual {
  display: grid;
  place-items: center;
}

.natale-hero__visual img {
  width: min(100%, 34rem);
  max-height: min(42svh, 18rem);
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.35));
}

@media (min-width: 768px) {
  .natale-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }

  .natale-hero__visual img {
    width: min(100%, 38rem);
    max-height: min(46svh, 20rem);
  }
}

.price {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin: 0.15rem 0 0;
  line-height: 1.35;
}

.product-card .price {
  margin-top: auto;
  padding-top: 0.25rem;
}

.price small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Marquee / strip ---------- */
.marquee {
  overflow: hidden;
  border: 0;
  background: #fff4e8;
  padding: 0.85rem 0;
}

.marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.marquee__track span {
  white-space: nowrap;
}

.marquee__track span::after {
  content: "✦";
  margin-left: 2rem;
  color: var(--berry);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Split / story ---------- */
.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 16rem;
  box-shadow: var(--shadow-soft);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
}

.feature-grid {
  grid-template-columns: 1fr;
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  overflow: visible;
  min-width: 0;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.feature-card p {
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: var(--grad-fruit);
  color: #fff;
  font-weight: 800;
}

/* ---------- Cataloghi / Brochure ---------- */
.catalog-home {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(200, 25, 58, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(255, 143, 60, 0.1), transparent 50%);
}

.catalog-season {
  margin-bottom: var(--space-6);
}

.catalog-season__head {
  margin-bottom: 1.5rem;
}

.catalog-season__head .chip {
  margin-bottom: 0.75rem;
}

.catalog-season--home {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 244, 232, 0.9));
  border: 1px solid rgba(200, 25, 58, 0.12);
  box-shadow: var(--shadow-soft);
}

.catalog-season__badge {
  margin-bottom: 1rem;
}

.catalog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.catalog-card {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 0;
}

.catalog-card__media {
  background:
    linear-gradient(160deg, #2a0f16 0%, #6b1228 55%, #c8193a 100%);
  aspect-ratio: 3 / 4;
  max-height: 22rem;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.catalog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s var(--ease);
}

.catalog-card:hover .catalog-card__media img {
  transform: scale(1.04);
}

.catalog-card__body {
  padding: 0 1.15rem 1.25rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.catalog-card__meta {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--berry-deep);
}

.catalog-card__body .display {
  font-size: 1.25rem;
  margin: 0;
}

.catalog-card__body .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

.chip--berry {
  background: rgba(255, 45, 85, 0.14);
  color: var(--berry-deep);
}

@media (min-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-card {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .catalog-card__media {
    max-height: none;
    min-height: 100%;
    aspect-ratio: auto;
    align-self: stretch;
  }

  .catalog-card__body {
    padding: 1.35rem 1.35rem 1.35rem 0.25rem;
  }
}

/* ---------- SEO helpers ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

.breadcrumbs a {
  text-decoration: none;
  font-weight: 650;
}

.breadcrumbs a:hover {
  color: var(--berry-deep);
}

/* ---------- Legal pages ---------- */
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}

.legal-nav a {
  display: inline-flex;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
}

.legal-nav a:hover {
  border-color: var(--berry);
  color: var(--berry-deep);
}

.legal-body {
  max-width: 48rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.1rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-soft);
}

.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  letter-spacing: -0.02em;
  margin: 1.6rem 0 0.7rem;
  line-height: 1.25;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3,
.legal-body h4,
.legal-body h5 {
  font-family: var(--font-display);
  font-weight: 650;
  margin: 1.1rem 0 0.45rem;
  line-height: 1.3;
}

.legal-body p,
.legal-body li {
  line-height: 1.65;
  color: var(--ink-soft);
}

.legal-body ul {
  padding-left: 1.2rem;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.9rem;
}

.legal-body th,
.legal-body td {
  border: 1px solid var(--line);
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: top;
}

.legal-source {
  margin-top: 1.5rem;
  font-size: 0.88rem;
}

/* ---------- Competizioni ---------- */
.chef-photo {
  background: #e9e4de;
}

.chef-photo img {
  object-fit: cover;
  object-position: center top;
}

.achievements {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.achievements li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.35;
}

.achievements__mark {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad-fruit);
}

.check-list {
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.4;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--grad-fruit);
}

.comp-gallery {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}

.comp-gallery__item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  min-height: 12rem;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
}

.comp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .comp-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(11rem, 18vw);
  }

  .comp-gallery__item {
    aspect-ratio: auto;
    min-height: 0;
  }

  .comp-gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .comp-gallery__item:first-child img {
    object-position: center center;
  }
}

/* ---------- Filters / shop ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-5);
}

.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-soft);
}

.filter-btn[aria-pressed="true"],
.filter-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---------- Accordion ---------- */
.accordion {
  display: grid;
  gap: 0.65rem;
}

.accordion__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.accordion__trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 1rem 1.1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.accordion__panel {
  padding: 0 1.1rem 1rem;
  color: var(--ink-soft);
  display: none;
}

.accordion__item.is-open .accordion__panel {
  display: block;
}

.accordion__item.is-open .accordion__trigger span {
  transform: rotate(45deg);
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.form--two {
  display: grid;
  gap: 1rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-weight: 700;
  font-size: 0.9rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  border-color: var(--cyan);
}

.form-row.is-invalid input,
.form-row.is-invalid select,
.form-row.is-invalid textarea {
  border-color: var(--berry);
}

.field-error {
  color: var(--berry-deep);
  font-size: 0.82rem;
  min-height: 1.1em;
}

.form-success {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(107, 203, 74, 0.16);
  color: #246414;
  font-weight: 650;
}

.form-success.is-visible {
  display: block;
}

/* ---------- CTA band ---------- */
.cta-band {
  margin: var(--space-7) auto;
  width: min(100% - 2rem, var(--container));
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  color: #fff;
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: -6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 85, 0.45), transparent 70%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--space-8);
  padding: var(--space-7) 0 var(--space-5);
  background: #120f0d;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffd27a;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-size: 1.05rem;
  color: #fff;
}

.footer-brand .brand__badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #0e0c0a;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-brand .brand__badge img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  gap: 1.5rem;
}

.product-detail__media {
  border-radius: var(--radius-xl);
  background: transparent;
  border: 1px solid var(--line);
  padding: 1.5rem;
  display: grid;
  place-items: center;
  min-height: 18rem;
}

.product-detail__media img {
  max-height: 26rem;
  object-fit: contain;
}

.product-gallery {
  display: grid;
  gap: 0.75rem;
  width: 100%;
}

.product-gallery__main {
  display: grid;
  place-items: center;
  min-height: 16rem;
}

.product-gallery__main img {
  width: 100%;
  max-height: 26rem;
  object-fit: contain;
}

.product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.product-gallery__thumb {
  appearance: none;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  cursor: pointer;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
  border-color: var(--berry);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: none;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

/* ---------- Consulting / custom molds ---------- */
.consult-hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 44rem);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 1.75rem) 0 3.5rem;
  color: #fff;
  overflow: clip;
  margin-top: 0;
}

.consult-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      rgba(8, 6, 5, 0.92) 0%,
      rgba(8, 6, 5, 0.78) 42%,
      rgba(8, 6, 5, 0.35) 70%,
      rgba(8, 6, 5, 0.18) 100%
    ),
    url("assets/images/hero/consulting-custom.jpg") center / cover no-repeat;
}

.consult-hero__grid {
  width: min(100% - 2.75rem, var(--container));
  margin-inline: auto;
}

.consult-hero__copy {
  max-width: min(100%, 34rem);
}

.consult-hero .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.consult-hero .display {
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 8px 28px rgba(0, 0, 0, 0.45);
}

.consult-hero .display--xl {
  font-size: clamp(1.85rem, 6.2vw, 3.6rem);
}

.consult-hero .lede {
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.consult-intro {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.consult-intro .lede {
  margin-inline: auto;
}

/* Showcase: sidebar tabs + copy + slanted media (MoldBrothers-inspired) */
.consult-showcase {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.4), rgba(255, 247, 240, 0.85));
  overflow: clip;
}

.consult-showcase__head {
  margin-bottom: 1.75rem;
}

.consult-showcase__layout {
  display: grid;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  align-items: stretch;
}

.consult-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.consult-tabs::-webkit-scrollbar {
  display: none;
}

.consult-tabs__btn {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.consult-tabs__btn:hover {
  color: var(--ink);
  background: rgba(20, 18, 16, 0.05);
}

.consult-tabs__btn.is-active {
  color: var(--ink);
  font-weight: 800;
  background: rgba(255, 45, 85, 0.1);
}

.consult-panels {
  position: relative;
  min-width: 0;
}

.consult-panel {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.consult-panel.is-active {
  display: grid;
  animation: consultPanelIn 0.45s var(--ease) both;
}

@keyframes consultPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.consult-panel__copy {
  display: grid;
  gap: 1.15rem;
  align-content: start;
  min-width: 0;
}

.consult-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.consult-panel__body {
  display: grid;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
}

.consult-panel__body p {
  margin: 0;
}

.consult-panel__body strong {
  color: var(--ink);
  font-weight: 750;
}

.consult-panel__cta {
  justify-self: start;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.consult-panel__cta span:last-child {
  transition: transform 0.25s var(--ease);
}

.consult-panel__cta:hover span:last-child {
  transform: translateX(4px);
}

.consult-panel__media {
  margin: 0;
  min-width: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  aspect-ratio: 4 / 5;
  background: #f3ece4;
  box-shadow: var(--shadow-soft);
}

.consult-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn--ink {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
}

.btn--ink:hover {
  --btn-bg: #000;
}

.process-steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.process-step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--berry);
  min-width: 2.5rem;
}

.process-step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.process-step .muted {
  margin: 0;
}

.consult-request {
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(255, 45, 85, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(0, 194, 203, 0.1), transparent 50%),
    var(--mist);
}

.consult-request__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.consult-bullets {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.consult-bullets li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.consult-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--grad-fruit);
}

.form--consult {
  background: rgba(255, 253, 249, 0.95);
}

@media (min-width: 768px) {
  .consult-showcase__layout {
    grid-template-columns: minmax(11rem, 0.85fr) minmax(0, 2.4fr);
    gap: 1.75rem 2rem;
    align-items: start;
  }

  .consult-tabs {
    flex-direction: column;
    overflow: visible;
    gap: 0.15rem;
    padding: 0.25rem 0;
    border-left: 1px solid rgba(20, 18, 16, 0.12);
  }

  .consult-tabs__btn {
    position: relative;
    width: 100%;
    text-align: left;
    white-space: normal;
    border-radius: 0;
    padding: 0.85rem 0.9rem 0.85rem 1.15rem;
    font-size: 1rem;
    background: transparent;
  }

  .consult-tabs__btn.is-active {
    background: transparent;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 800;
  }

  .consult-tabs__btn.is-active::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 0.7rem;
    bottom: 0.7rem;
    width: 3px;
    border-radius: 2px;
    background: var(--berry);
  }

  .consult-panel.is-active {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.75rem;
  }

  .consult-panel__media {
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
    min-height: 28rem;
    aspect-ratio: auto;
  }

  .consult-request__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.5rem;
    align-items: center;
  }

  .process-steps {
    gap: 1.15rem;
  }
}

@media (min-width: 1025px) {
  .consult-hero {
    min-height: min(82svh, 44rem);
    align-items: center;
    padding-bottom: 4rem;
  }

  .consult-showcase__layout {
    grid-template-columns: minmax(13rem, 0.75fr) minmax(0, 2.6fr);
    gap: 2.5rem 3rem;
    width: min(100% - 2.5rem, 78rem);
  }

  .consult-panel.is-active {
    gap: 2.5rem;
  }

  .consult-panel__media {
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    min-height: 32rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 0.5rem;
}

.page-hero .display {
  max-width: 18ch;
}

/* ---------- Reveal motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  .hero-showcase__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1.5rem;
    align-items: start;
  }

  .hero-showcase__copy {
    padding-top: 1.25rem;
    max-width: 32rem;
  }

  .hero-showcase__stage {
    align-self: end;
    justify-self: center;
  }

  .hero-showcase__product-wrap {
    width: min(100%, 26rem);
  }

  .hero-showcase__product {
    max-height: min(52svh, 30rem);
  }

  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }

  .split > * {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .product-detail {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .section-head--row {
    grid-template-columns: 1fr auto;
  }

  .form--two {
    grid-template-columns: 1fr 1fr;
  }

  .form--two .form-row--full {
    grid-column: 1 / -1;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 1025px) {
  .nav-toggle { display: none; }

  .site-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .brand {
    order: 1;
    justify-self: start;
    flex: 0 0 auto;
  }

  .brand__logo {
    height: clamp(3.75rem, 8vw, 5rem);
    max-width: min(78vw, 22rem);
    object-position: left center;
  }

  .lang-switch {
    order: 3;
    margin-left: 0;
    justify-self: unset;
  }

  .header-actions {
    order: 4;
    gap: 0.65rem;
  }

  .header-cta {
    min-height: 2.75rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .site-nav__chrome,
  .site-nav__foot {
    display: none !important;
  }

  .site-nav ul {
    padding: 0;
  }

  .site-nav {
    order: 2;
    position: static;
    width: max-content;
    max-width: 100%;
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    margin-inline: auto;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-left: 1px solid rgba(255, 255, 255, 0.65);
    padding: 0.35rem;
    box-shadow: 0 12px 36px rgba(20, 18, 16, 0.12);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    border-radius: 999px;
  }

  .site-nav ul {
    padding: 0;
    flex: none;
    overflow: visible;
  }

  .site-nav a {
    font-family: var(--font-body);
    font-weight: 650;
    font-size: 0.88rem;
    letter-spacing: 0;
    border-radius: 999px;
  }

  .site-nav a:hover {
    transform: none;
  }

  .site-nav a[aria-current="page"] {
    background: rgba(255, 45, 85, 0.1);
    box-shadow: none;
  }

  /* Pill sempre bianca/glass — niente second barra dietro */
  body[data-page="home"] .site-header:not(.is-scrolled) .site-nav {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 36px rgba(20, 18, 16, 0.14);
  }

  body[data-page="home"] .site-header:not(.is-scrolled) .site-nav a {
    color: var(--ink);
  }

  body[data-page="home"] .site-header:not(.is-scrolled) .site-nav a:hover,
  body[data-page="home"] .site-header:not(.is-scrolled) .site-nav a[aria-current="page"] {
    background: rgba(255, 45, 85, 0.1);
    color: var(--berry-deep);
  }

  body[data-page="home"] .site-header.is-scrolled .site-nav {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 40px rgba(20, 18, 16, 0.12);
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 0.1rem;
  }

  .site-nav a {
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
    border-radius: 999px;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Max 2 colonne: titoli lunghi restano leggibili anche nello split */
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-showcase__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: start;
  }

  .hero-showcase__copy {
    padding-top: 2rem;
  }

  .hero-showcase__product-wrap {
    width: min(100%, 30rem);
  }

  .hero-showcase__product {
    max-height: min(56svh, 34rem);
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  :root {
    --header-h: 6rem;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .section {
    padding-block: var(--space-6);
  }

  .site-header__inner {
    width: min(100% - 1.5rem, var(--container));
    grid-template-columns: auto 1fr auto;
    gap: 0.35rem;
  }

  .brand__logo {
    height: clamp(4.25rem, 18vw, 5.5rem);
    max-width: min(52vw, 15rem);
  }

  .lang-switch button {
    padding: 0.4rem 0.55rem;
  }

  .header-cta {
    min-height: 2.35rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.72rem;
    box-shadow: 0 4px 12px rgba(20, 18, 16, 0.16);
  }

  .nav-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .display--xl {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
    line-height: 1.08;
  }

  .display--lg {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .consult-hero {
    align-items: flex-end;
    padding: calc(var(--header-h) + 1.25rem) 0 2.75rem;
  }

  .consult-hero__grid {
    width: min(100% - 2.5rem, var(--container));
  }

  .consult-hero .display--xl {
    font-size: clamp(1.7rem, 7.2vw, 2.15rem);
    line-height: 1.18;
  }

  .hero-showcase {
    --wave-h: clamp(8rem, 24vh, 10rem);
  }

  .hero-showcase__grid {
    width: min(100% - 1.5rem, var(--container));
    gap: 0.65rem;
    align-items: start;
    padding: calc(var(--header-h) + 0.85rem) 0 var(--wave-h);
    min-height: 100svh;
  }

  .hero-showcase__copy {
    max-width: none;
  }

  .hero-showcase__copy .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    max-width: 100%;
  }

  .hero-showcase__copy .display {
    font-size: clamp(1.65rem, 8.5vw, 2.2rem);
  }

  .hero-showcase__copy .lede {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #fff;
    opacity: 0.96;
  }

  .hero-showcase__copy .btn-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 1rem;
  }

  .hero-showcase__copy .btn-group .btn {
    width: 100%;
    min-height: 2.85rem;
    padding-inline: 1rem;
  }

  .hero-showcase__stage {
    justify-items: center;
    margin-top: 0.15rem;
  }

  .hero-showcase__product-wrap {
    width: min(100%, 18rem);
  }

  .hero-showcase__product {
    max-height: min(36svh, 17rem);
    transform: translateY(14%);
  }

  @keyframes productIn {
    from { opacity: 0; transform: translateY(24%) scale(0.94); }
    to { opacity: 1; transform: translateY(14%); }
  }

  .hero-showcase__wave {
    top: -4.25rem;
    height: clamp(4.25rem, 14vw, 5.5rem);
  }

  .hero-showcase__wave-content {
    width: min(100% - 1.5rem, var(--container));
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "controls controls"
      "reviews socials";
    gap: 0.45rem;
    padding-bottom: 0.65rem;
    align-items: end;
  }

  .hero-showcase__controls {
    grid-area: controls;
    grid-column: auto;
    margin-bottom: 0;
  }

  .hero-reviews {
    grid-area: reviews;
    grid-column: auto;
    min-width: 0;
    gap: 0.5rem;
  }

  .hero-reviews__avatars span {
    width: 1.75rem;
    height: 1.75rem;
  }

  .hero-reviews strong {
    font-size: 0.88rem;
  }

  .hero-reviews p {
    font-size: 0.72rem;
  }

  .hero-socials {
    grid-area: socials;
    grid-column: auto;
    justify-self: end;
  }

  .hero-socials a {
    width: 2.15rem;
    height: 2.15rem;
  }

  .hero-nav {
    width: 2.5rem;
    height: 2.5rem;
  }

  .btn-group {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-group .btn {
    width: 100%;
  }

  .page-hero {
    padding-top: 0.5rem;
  }

  .page-hero .btn-group {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .filter-btn {
    flex: 1 1 auto;
    min-width: calc(50% - 0.3rem);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-grid,
  .collection-grid,
  .product-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    padding: 0.65rem;
    align-items: flex-end;
  }

  .cookie-banner__panel {
    padding: 1.1rem;
    max-height: min(90svh, 36rem);
  }

  .cookie-banner__actions {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cookie consent (GDPR) ---------- */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(20, 18, 16, 0.42);
  backdrop-filter: blur(4px);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__panel {
  width: min(40rem, 100%);
  max-height: min(88svh, 40rem);
  overflow: auto;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
  padding: 1.35rem 1.35rem 1.2rem;
  animation: cookie-in 0.35s var(--ease);
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--berry-deep);
}

.cookie-banner__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.2;
}

.cookie-banner__text {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cookie-banner__text a {
  color: var(--berry-deep);
  font-weight: 700;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 560px) {
  .cookie-banner__actions {
    grid-template-columns: repeat(3, 1fr);
  }

  .cookie-banner__prefs .cookie-banner__actions {
    grid-template-columns: 1fr 1fr;
  }
}

.cookie-banner__btn {
  width: 100%;
  justify-content: center;
  min-height: 2.85rem;
}

.cookie-cats {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.cookie-cat {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 0.85rem 0.95rem;
}

.cookie-cat__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
}

.cookie-cat__head p {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.cookie-cat__lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 1.75rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(0, 194, 203, 0.15);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cookie-cat input[data-cat="necessary"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.cookie-switch__ui {
  width: 2.75rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.18);
  border: 1px solid var(--line);
  position: relative;
  transition: background 0.2s var(--ease);
}

.cookie-switch__ui::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s var(--ease);
}

.cookie-switch input:checked + .cookie-switch__ui {
  background: var(--berry);
  border-color: var(--berry-deep);
}

.cookie-switch input:checked + .cookie-switch__ui::after {
  transform: translateX(1.15rem);
}

.cookie-switch input:focus-visible + .cookie-switch__ui {
  outline: none;
  box-shadow: var(--focus);
}

.footer-links .footer-cookie-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  opacity: 0.85;
}

.footer-links .footer-cookie-btn:hover {
  opacity: 1;
  color: var(--white);
  text-decoration: underline;
}

.cookie-reopen {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 10040;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.cookie-reopen:hover {
  border-color: var(--berry);
  color: var(--berry-deep);
}

.cookie-reopen[hidden] {
  display: none !important;
}

body.cookie-open {
  overflow: hidden;
}

body.cookie-open .wa-float {
  visibility: hidden;
}

@media (max-width: 640px) {
  .cookie-reopen {
    bottom: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Payment icons (Visa / Mastercard / Klarna) ---------- */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
}

.payment-icons__label {
  width: 100%;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.payment-icons--footer .payment-icons__label {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
}

.payment-icon {
  display: inline-flex;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(20, 18, 16, 0.12);
}

.payment-icons--footer .payment-icon {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.payment-icon svg {
  display: block;
}

/* ---------- Cart / Checkout ---------- */
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header-cart:hover {
  background: #fff;
  border-color: rgba(20, 18, 16, 0.28);
  color: var(--ink);
}

.header-cart__badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--berry, #ff2d55);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.15rem;
  text-align: center;
  font-family: Manrope, system-ui, sans-serif;
}

.header-cart__badge:empty,
.header-cart__badge[hidden] {
  display: none;
}

body[data-page="home"] .site-header:not(.is-scrolled) .header-cart,
body[data-page="consulting"] .site-header:not(.is-scrolled) .header-cart {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cart-toast {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #1c1612;
  color: #fff;
  box-shadow: 0 12px 30px rgba(20, 18, 16, 0.28);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 0.92rem;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-toast a {
  color: #ffb3c4;
  font-weight: 700;
}

.cart-layout,
.checkout-layout {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1.4fr 0.9fr;
    align-items: start;
  }
}

.cart-lines {
  display: grid;
  gap: 0.85rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.9rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.cart-line__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f3eee7;
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-line__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-family: Syne, Manrope, sans-serif;
}

.cart-line__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.55rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.qty-control button {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink);
}

.qty-control input {
  width: 2.4rem;
  height: 2rem;
  border: 0;
  text-align: center;
  font: inherit;
  background: transparent;
}

.cart-line__remove {
  border: 0;
  background: none;
  color: #8a6f58;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-size: 0.86rem;
}

.cart-summary,
.checkout-summary {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf9, #f7f1ea);
  position: sticky;
  top: 5.5rem;
}

.cart-summary h2,
.checkout-summary h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}

.cart-summary__row,
.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

.cart-summary__total,
.checkout-summary__total {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 700;
}

.product-buy-box {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.product-buy-box__qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-card__actions {
  padding: 0 1rem 1rem;
  margin-top: auto;
  flex-shrink: 0;
}

.product-card__actions .btn {
  width: 100%;
}

.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card--soldout .product-card__media img {
  opacity: 0.72;
  filter: grayscale(0.15);
}

.btn--soldout,
.btn--soldout:disabled {
  width: 100%;
  cursor: not-allowed;
  background: #d9d4cc;
  color: #5c564e;
  border: none;
  box-shadow: none;
  opacity: 1;
}

.product-buy-box--soldout {
  margin-top: 1rem;
}

.checkout-form .form-row--full {
  grid-column: 1 / -1;
}

.checkout-billing {
  margin-top: 0.5rem;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid rgba(40, 30, 24, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}

.checkout-billing__toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.35;
}

.checkout-billing__toggle input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--berry, #b42318);
  flex-shrink: 0;
}

.checkout-billing__fields[hidden] {
  display: none !important;
}

/* ——— Black Friday (temporaneo) ——— */
:root {
  --bf-black: #0a0709;
  --bf-red: #a3112b;
  --bf-red-hi: #d4193d;
  --bf-gold: #e8c26a;
  --bf-gold-deep: #b8892b;
}

.bf-banner {
  position: relative;
  z-index: 110;
  overflow: hidden;
  background:
    radial-gradient(120% 220% at 15% 0%, rgba(163, 17, 43, 0.55), transparent 55%),
    radial-gradient(90% 200% at 100% 100%, rgba(232, 194, 106, 0.14), transparent 60%),
    var(--bf-black);
  border-bottom: 1px solid rgba(232, 194, 106, 0.45);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* ticker scorrevole */
.bf-ticker {
  overflow: hidden;
  background: linear-gradient(90deg, var(--bf-red), var(--bf-red-hi), var(--bf-red));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bf-ticker__track {
  display: inline-flex;
  animation: bf-marquee 38s linear infinite;
}
.bf-ticker__track span {
  padding: 0.38rem 1.4rem;
}
.bf-ticker__track span::after {
  content: "✦";
  margin-left: 2.8rem;
  color: var(--bf-gold);
}
@keyframes bf-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* scintille */
.bf-banner__sparks,
.bf-home__sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.bf-banner__sparks i,
.bf-home__sparks i {
  position: absolute;
  left: var(--x);
  bottom: -12px;
  width: var(--s);
  height: var(--s);
  background: var(--bf-gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: 0;
  animation: bf-rise 6s ease-in infinite;
  animation-delay: var(--d);
}
@keyframes bf-rise {
  0% {
    transform: translateY(0) scale(0.6) rotate(0);
    opacity: 0;
  }
  20% {
    opacity: 0.95;
  }
  100% {
    transform: translateY(-180px) scale(1.1) rotate(90deg);
    opacity: 0;
  }
}

.bf-banner__link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 1.4rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.6rem 3rem 0.6rem 1rem;
  color: #fff;
  text-decoration: none;
}

.bf-banner__art {
  width: 58px;
  height: 72px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid var(--bf-gold);
  box-shadow: 0 0 0 3px rgba(232, 194, 106, 0.18), 0 6px 18px rgba(0, 0, 0, 0.5);
  transform: rotate(-4deg);
  transition: transform 0.3s ease;
}
.bf-banner__link:hover .bf-banner__art {
  transform: rotate(0) scale(1.06);
}

.bf-banner__copy {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.bf-banner__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bf-gold);
}
.bf-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bf-red-hi);
  box-shadow: 0 0 0 0 rgba(212, 25, 61, 0.7);
  animation: bf-pulse 1.6s ease-out infinite;
}
@keyframes bf-pulse {
  to {
    box-shadow: 0 0 0 10px rgba(212, 25, 61, 0);
  }
}

/* scaglioni esagonali */
.bf-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.bf-tier {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.22rem 0.8rem;
  background: linear-gradient(180deg, var(--bf-red-hi), var(--bf-red));
  border: 1px solid rgba(232, 194, 106, 0.55);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  padding-inline: 1.1rem;
  color: #fff;
  line-height: 1.1;
}
.bf-tier b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  background: linear-gradient(100deg, var(--bf-gold) 20%, #fff6d6 45%, var(--bf-gold) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bf-shine 3.2s linear infinite;
}
.bf-tier small {
  font-size: 0.7rem;
  opacity: 0.92;
}
@keyframes bf-shine {
  to {
    background-position: -200% 0;
  }
}

.bf-countdown {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}
.bf-countdown strong {
  font-variant-numeric: tabular-nums;
  color: var(--bf-gold);
  letter-spacing: 0.04em;
}

.bf-banner__cta {
  white-space: nowrap;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--bf-gold), var(--bf-gold-deep));
  color: #1a0d05;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(232, 194, 106, 0.35);
  transition: transform 0.2s ease;
}
.bf-banner__link:hover .bf-banner__cta {
  transform: translateX(3px);
}

.bf-banner__close {
  position: absolute;
  top: 2.2rem;
  right: 0.6rem;
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.bf-banner__close:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* sezione home */
.bf-home {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(70% 90% at 80% 20%, rgba(163, 17, 43, 0.5), transparent 60%),
    radial-gradient(60% 80% at 10% 100%, rgba(232, 194, 106, 0.12), transparent 60%),
    var(--bf-black);
  color: #fff;
}
.bf-home__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.bf-home__poster {
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(232, 194, 106, 0.55);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(212, 25, 61, 0.35), 0 24px 48px rgba(0, 0, 0, 0.55);
  animation: bf-float 5s ease-in-out infinite;
}
.bf-home__poster img {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes bf-float {
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}
.bf-home__title {
  margin: 0.4rem 0 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(100deg, #fff 30%, var(--bf-gold) 50%, #fff 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bf-shine 5s linear infinite;
}
.bf-home__sub {
  margin: 0 0 1rem;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
}
.bf-tiers--big {
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.bf-tiers--big .bf-tier {
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.7rem 1.7rem;
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%);
}
.bf-tiers--big .bf-tier b {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}
.bf-tiers--big .bf-tier small {
  font-size: 0.8rem;
}
.bf-home .bf-countdown {
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}
.bf-home__only {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

/* tema leggero BF sul resto del sito */
body.bf-live .btn--accent {
  box-shadow: 0 0 0 0 rgba(232, 194, 106, 0.5);
  animation: bf-btn 2.4s ease-out infinite;
}
@keyframes bf-btn {
  to {
    box-shadow: 0 0 0 12px rgba(232, 194, 106, 0);
  }
}

.cart-summary__discount,
.checkout-summary__row.cart-summary__discount {
  color: #b42318;
  font-weight: 600;
}
.bf-nexttier {
  margin: 0 0 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: #fff7e0;
  border: 1px dashed var(--bf-gold-deep);
  color: #6b4a07;
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 720px) {
  .bf-banner__link {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.6rem 2.6rem 0.7rem 0.8rem;
  }
  .bf-banner__cta {
    grid-column: 1 / -1;
    text-align: center;
  }
  .bf-banner__close {
    top: 2.3rem;
  }
  .bf-banner .bf-tiers {
    flex-wrap: nowrap;
    gap: 0.25rem;
  }
  .bf-banner .bf-tier {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0.2rem 0.7rem;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
  }
  .bf-banner .bf-tier b {
    font-size: 0.9rem;
  }
  .bf-banner .bf-tier small {
    font-size: 0.58rem;
    white-space: nowrap;
  }
  .bf-banner__eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }
  .bf-home__inner {
    grid-template-columns: 1fr;
  }
  .bf-home__poster {
    max-width: 280px;
    margin: 0 auto;
  }
  .bf-home__copy {
    text-align: center;
  }
  .bf-home__copy .bf-banner__eyebrow,
  .bf-tiers--big,
  .bf-home__copy .btn-group {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-ticker__track,
  .bf-banner__sparks i,
  .bf-home__sparks i,
  .bf-pulse,
  .bf-tier b,
  .bf-home__title,
  .bf-home__poster,
  body.bf-live .btn--accent {
    animation: none;
  }
}


/* Prezzi Black Friday (solo durante lo sconto) */
.price--bf {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}
.price__old {
  color: #8a8a8a;
  font-weight: 400;
  text-decoration: line-through;
}
.price__sale {
  color: #a3112b;
  font-weight: 700;
}
.price__badge {
  font-style: normal;
  font-size: 0.7em;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #e8c26a, #b8892b);
  color: #1a0d05;
}

/* Super Promo Snack e Frutta + slide banner */
.bf-slides {
  display: grid;
}
.bf-slides .bf-slide {
  grid-area: 1 / 1;
  width: 100%;
}
.bf-slides--multi .bf-slide {
  animation: bf-slide 12s infinite;
}
.bf-slides--multi .bf-slide:nth-child(2) {
  animation-delay: 6s;
}
@keyframes bf-slide {
  0% {
    opacity: 0;
    visibility: visible;
    transform: translateY(8px);
  }
  6%,
  46% {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  52% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.bf-tier--sp {
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.bf-tier--sp b {
  font-size: 1.25rem;
}
.bf-tier--sp small {
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}
.bf-home--sp {
  background:
    radial-gradient(70% 90% at 20% 20%, rgba(163, 17, 43, 0.55), transparent 60%),
    radial-gradient(60% 80% at 90% 100%, rgba(232, 194, 106, 0.14), transparent 60%),
    #0d0508;
  border-top: 1px solid rgba(232, 194, 106, 0.25);
}
.bf-home--sp .bf-home__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
}
.bf-home--sp .bf-home__poster {
  order: 2;
}
.bf-home__title--sp {
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.05;
}
.bf-home--sp .bf-tier {
  min-width: 9rem;
}
.bf-note {
  margin: 0 0 0.6rem;
  font-size: 0.76rem;
  color: #6b6b6b;
}
@media (max-width: 720px) {
  .bf-home--sp .bf-home__inner {
    grid-template-columns: 1fr;
  }
  .bf-home--sp .bf-home__poster {
    order: 0;
  }
  .bf-banner .bf-tier--sp {
    padding: 0.2rem 0.8rem;
  }
  .bf-banner .bf-tier--sp b {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bf-slides--multi .bf-slide {
    animation: none;
  }
  .bf-slides--multi .bf-slide:nth-child(2) {
    display: none;
  }
}
