/*
 * Theme Name: Kalej New
 * Stili globali del tema (base: landing page).
 */

/* ==========================================================================
   STILI GLOBALI — base landing page
   Stili globali applicati a tutto il sito
   ========================================================================== */

body {
  --orange: #ff5c00;
  --orange-soft: #ff8a3d;
  --yellow: #ffcf2f;
  --pink: #ff4d82;
  --pink-soft: #ffb3cc;
  --cream: #fff5e6;
  --electric-blue: #0057ff;
  --lime: #b8ff3c;
  --black: #0d0d0d;
  --dark: #1a1a1a;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);

  --font-display: "Bebas Neue", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", sans-serif;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-soft: cubic-bezier(0.45, 0, 0.25, 1);

  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: default;
  margin: 0;
}

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

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

/* CUSTOM CURSOR */
body .cursor {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s var(--ease-bounce),
    height 0.3s var(--ease-bounce), background 0.3s;
  mix-blend-mode: difference;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

/* Pagine standard corte (carrello, account, checkout, page.php):
   riempi almeno il 90% della viewport così il footer non risale troppo.
   Il padding-top stacca il contenuto dalla nav fixed. */
main.container {
  min-height: 90vh;
  padding-top: 120px;
  padding-bottom: 80px;
}

/* NAV */
/* ==========================================================================
   PARALLASSE DECORATIVO (frutti) — solo landing.
   Elementi .fx-parallax sparsi, mossi a velocità diverse dallo scroll via
   Lenis (data-speed). Sottili, dietro ai contenuti, disattivati su mobile
   e con prefers-reduced-motion.
   ========================================================================== */
body.landing .landing-main {
  position: relative;
  overflow-x: clip;
}
body.landing .fx-parallax {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.55;
  /* Transizione morbida SOLO su opacity: il transform lo gestisce il rAF
     del parallax (mouse/scroll), quindi non lo animo qui per evitare scatti. */
  transition: opacity 1s var(--ease-smooth);
  will-change: transform, opacity;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.16));
}
body.landing .fx-parallax img {
  display: block;
  width: 100%;
  height: auto;
}
/* Stato iniziale prima dell'ingresso: invisibile. JS toglie .fx-reveal quando
   l'elemento entra nel viewport (IntersectionObserver) e lo fa comparire. */
body.landing .fx-parallax.fx-reveal {
  opacity: 0 !important;
}
/* Set extra: più tenui, per profondità e varietà. */
body.landing .fx-extra {
  opacity: 0.48;
}
/* Set BIG: frutti grandi con effetti differenziati. */
body.landing .fx-big {
  opacity: 0.62;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.2));
}
/* Soft = leggermente sfocati e tenui: sembrano lontani, sullo sfondo. */
body.landing .fx-big.fx-soft {
  opacity: 0.4;
  filter: blur(2px) saturate(1.05) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}
/* Blend = fusi col beige via multiply, look editoriale caldo. */
body.landing .fx-big.fx-blend {
  mix-blend-mode: multiply;
  opacity: 0.58;
  filter: saturate(1.15) contrast(1.05);
}
/* Glow = alone colorato caldo attorno al frutto. */
body.landing .fx-big.fx-glow-fruit {
  opacity: 0.66;
  filter: saturate(1.2) drop-shadow(0 0 22px rgba(255, 92, 0, 0.3))
    drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
}
/* Frutti interni alla sezione #problema, attorno al testo "Stanco della routine?". */
body #problema {
  position: relative;
  overflow: hidden;
}
body .sec-fruit {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  opacity: 0.85;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.16));
}
body .sec-fruit img {
  display: block;
  width: 100%;
  height: auto;
}
body .sec-fruit--tl {
  top: 4%;
  left: 3%;
  width: 130px;
  transform: rotate(-14deg);
}
body .sec-fruit--tr {
  top: 8%;
  right: 4%;
  width: 110px;
  transform: rotate(16deg);
}
body .sec-fruit--bl {
  bottom: 8%;
  left: 5%;
  width: 96px;
  transform: rotate(10deg);
}
body .sec-fruit--br {
  bottom: 5%;
  right: 3%;
  width: 120px;
  transform: rotate(-12deg);
}
body #problema .section-inner {
  position: relative;
  z-index: 2;
}
/* Titolo problema più grande, con "routine?" in accento arancione. */
body .problema-title {
  font-size: clamp(3.4rem, 8.5vw, 7.5rem);
  line-height: 0.94;
}
/* Frutti hero che seguono il mouse. */
body .hero-fruit {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  opacity: 0.9;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.2));
}
body .hero-fruit img {
  display: block;
  width: 100%;
  height: auto;
}
body .hero-fruit--1 {
  top: -4%;
  left: -14%;
  width: 96px;
  transform: rotate(-12deg);
}
body .hero-fruit--2 {
  top: 12%;
  right: -16%;
  width: 84px;
  transform: rotate(14deg);
  filter: saturate(1.1) drop-shadow(0 0 18px rgba(255, 92, 0, 0.3));
}
body .hero-fruit--3 {
  bottom: 6%;
  left: -12%;
  width: 110px;
  transform: rotate(10deg);
}
body .hero-fruit--4 {
  bottom: -2%;
  right: -10%;
  width: 78px;
  transform: rotate(-16deg);
}
@media (max-width: 900px) {
  body .sec-fruit,
  body .hero-fruit {
    display: none;
  }
}
/* Le sezioni della landing devono ritagliare e sovrastare i frutti.
   NB: alzo lo stacking dei contenuti SENZA forzare position:relative su
   elementi decorativi che devono restare in absolute (orb, glow), altrimenti
   occuperebbero spazio reale nel DOM e spingerebbero il layout. */
body.landing .landing-main > section {
  position: relative;
}
body.landing
  .landing-main
  > section
  > *:not(.home-orb):not(.orb):not(.flavor-glow):not([aria-hidden="true"]) {
  position: relative;
  z-index: 1;
}
body.landing .landing-main > section > .home-orb,
body.landing .landing-main > section > .orb,
body.landing .landing-main > section > .flavor-glow {
  position: absolute;
  z-index: 1;
}
@media (max-width: 900px) {
  body.landing .fx-parallax {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.landing .fx-parallax {
    transform: none !important;
  }
}

/* Nav statica (versione landing-page-old): nessun effetto scroll/pill. */
body nav#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(13, 13, 13, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body .nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  position: relative;
}

body .nav-logo span {
  color: var(--orange);
}
/* Logo immagine: nero di base (light), invertito in bianco su tema scuro. */
body .nav-logo {
  display: inline-flex;
  align-items: center;
}
body .nav-logo .logo-img {
  height: 40px;
  width: auto;
  display: block;
}
body:not(.theme-light) .logo-img {
  filter: brightness(0) invert(1);
}

body .nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body .nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s;
}

body .nav-links a:hover {
  color: var(--orange);
}

body .nav-cta {
  background: var(--orange);
  color: var(--black) !important;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s var(--ease-bounce) !important;
}

body .nav-cta:hover {
  background: var(--yellow) !important;
  color: var(--black) !important;
  transform: scale(1.04) !important;
}

/* HERO SECTION */
body #hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 40px 80px;
  background: var(--black);
}

body .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg.aperitivi {
  background-image: url("https://kalej.it/wp-content/uploads/2026/07/fondo-sito-web-new.jpeg");
  background-size: cover;
  background-position: center;
}

.theme-light .hero-bg .ap-hero-title, .theme-light .hero-bg p {
  color: white !important;
}



body .hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: kalej-float 8s ease-in-out infinite;
}

body .orb-1 {
  width: 600px;
  height: 600px;
  background: var(--orange);
  top: -150px;
  right: -80px;
  animation-delay: 0s;
}
body .orb-2 {
  width: 400px;
  height: 400px;
  background: var(--pink);
  bottom: -100px;
  left: -100px;
  animation-delay: -3s;
}
body .orb-3 {
  width: 300px;
  height: 300px;
  background: var(--yellow);
  top: 40%;
  left: 35%;
  opacity: 0.25;
  animation-delay: -5s;
}

@keyframes kalej-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

body .geo-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.06);
  animation: kalej-rotate-slow 20s linear infinite;
}

body .geo-circle-1 {
  width: 700px;
  height: 700px;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
}
body .geo-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: 200px;
  animation-direction: reverse;
}

@keyframes kalej-rotate-slow {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

body .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

body .hero-text {
  animation: kalej-fadeUp 1s var(--ease-smooth) both;
}

body .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
  font-weight: 500;
}

body .hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--orange);
}

body .hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
}

body .hero-title .brand-name {
  color: var(--orange);
  display: block;
  position: relative;
  -webkit-text-stroke: 1px var(--orange);
}

body .hero-title .brand-name::after {
  content: "KALEJ";
  position: absolute;
  left: 4px;
  top: 4px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 92, 0, 0.25);
  z-index: -1;
}

body .hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--yellow);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

body .hero-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  max-width: 420px;
  margin-bottom: 44px;
}

body .hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

body .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 2px;
  border: 1px solid;
}

body .badge-orange {
  background: rgba(255, 92, 0, 0.12);
  border-color: var(--orange);
  color: var(--orange);
}
body .badge-yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #1a1712;
  font-weight: 700;
}
body .badge-white {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

body .hero-cta-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Landing button overrides (scoped, non intacca .btn-primary del tema) */
body .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 2px;
  border: none;
  margin-top: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.25s var(--ease-bounce),
    box-shadow 0.3s;
  box-shadow: 0 0 0 0 rgba(255, 92, 0, 0.4);
}

body .btn-primary:hover {
  background: var(--yellow);
  color: #1a1712;
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255, 92, 0, 0.35);
}

body .btn-primary .arrow {
  transition: transform 0.3s var(--ease-bounce);
}
body .btn-primary:hover .arrow {
  transform: translateX(4px);
}

body .btn-ghost {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--white) 60%, transparent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

body .btn-ghost:hover {
  color: var(--white);
}
body .btn-ghost span {
  transition: transform 0.3s var(--ease-bounce);
}
body .btn-ghost:hover span {
  transform: translateX(3px);
}

/* Hero visual */
body .hero-visual {
  position: relative;
  height: 620px;
  animation: kalej-fadeUp 1s var(--ease-smooth) 0.2s both;
}

body .bottle-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: kalej-bottle-float 6s ease-in-out infinite;
}

@keyframes kalej-bottle-float {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-2deg);
  }
  50% {
    transform: translate(-50%, calc(-50% - 20px)) rotate(2deg);
  }
}

body .bottle-main {
  width: 200px;
  height: 500px;
  position: relative;
  margin: 0 auto;
}
body .bottle-main--hidden {
  display: none;
}

/* ---- Hero bottiglia (grande, luminosa, animata) ---- */
body .hero-bottle-png {
  z-index: 2;
}
/* Hero modello 3D */
body .hero-model {
  width: 460px;
  height: 660px;
  max-width: 100%;
  background: transparent;
  --poster-color: transparent;
  position: relative;
  z-index: 3;
  will-change: transform, opacity;
}
body .hero-model::part(default-progress-bar) {
  display: none;
}
body .hero-bottle-img {
  position: relative;
  z-index: 3;
  display: block;

  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 40px rgba(255, 92, 0, 0.25));
  will-change: transform, opacity;
}
/* Alone luminoso pulsante dietro la bottiglia */
body .hero-bottle-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 92, 0, 0.45) 0%,
    rgba(255, 92, 0, 0.12) 45%,
    transparent 70%
  );
  filter: blur(20px);
  z-index: 1;
  animation: kalej-glow-pulse 5s ease-in-out infinite;
}
@keyframes kalej-glow-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}
/* Anello rotante decorativo */
body .hero-bottle-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 92, 0, 0.35);
  z-index: 1;
  animation: kalej-ring-spin 40s linear infinite;
}
body .hero-bottle-ring::after {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 207, 47, 0.25);
}
@keyframes kalej-ring-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* Frutti fluttuanti */
body .hero-bottle-fruit {
  position: absolute;
  z-index: 4;
  font-size: 3.4rem;
  top: 8%;
  right: 6%;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3));
  animation: kalej-fruit-float 7s ease-in-out infinite;
}
body .hero-bottle-fruit-2 {
  font-size: 2.4rem;
  top: auto;
  right: auto;
  bottom: 14%;
  left: 4%;
  animation-duration: 9s;
  animation-delay: 1s;
}
@keyframes kalej-fruit-float {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-22px) rotate(8deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  body .hero-bottle-glow,
  body .hero-bottle-ring,
  body .hero-bottle-fruit {
    animation: none;
  }
}

body .splash {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: kalej-splash-in 3s var(--ease-smooth) infinite;
}

body .splash-1 {
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(255, 92, 0, 0.3) 0%,
    transparent 70%
  );
  top: -40px;
  right: -60px;
  animation-delay: 0s;
}
body .splash-2 {
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(255, 207, 47, 0.35) 0%,
    transparent 70%
  );
  bottom: 80px;
  left: -50px;
  animation-delay: 1s;
}
body .splash-3 {
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle,
    rgba(255, 77, 130, 0.4) 0%,
    transparent 70%
  );
  top: 120px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes kalej-splash-in {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
  70% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

body .float-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 0.75rem;
  animation: kalej-float-badge 5s ease-in-out infinite;
}

body .float-badge-1 {
  top: 60px;
  left: -20px;
  animation-delay: 0s;
}
body .float-badge-2 {
  bottom: 120px;
  right: -30px;
  animation-delay: -2s;
}

@keyframes kalej-float-badge {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

body .float-badge-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange);
  line-height: 1;
}
body .float-badge-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

body .scroll-indicator {
  position: absolute !important;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 10;
  animation: kalej-pulse-opacity 2s ease-in-out infinite;
  width: 100%;
}

body .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--white));
  animation: kalej-scroll-line 2s ease-in-out infinite;
}

@keyframes kalej-scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes kalej-pulse-opacity {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

/* MARQUEE STRIP */
body .marquee-strip {
  background: var(--orange);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  z-index: 5;
}
body .marquee-track {
  display: flex;
  gap: 0;
  animation: kalej-marquee 20s linear infinite;
  width: max-content;
}
body .marquee-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--black);
  white-space: nowrap;
}
body .marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--black);
  opacity: 0.4;
  flex-shrink: 0;
}

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

/* PROBLEMA SECTION */
body #problema {
  padding: 120px 40px;
  background: #111;
  position: relative;
  overflow: hidden;
}
body .problema-bg {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(255, 255, 255, 0.015) 60px,
    rgba(255, 255, 255, 0.015) 61px
  );
}
body .section-inner {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
body .section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}
body .section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
body .section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 60px;
}
body .problema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
body .problema-card {
  background: #161616;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
body .problema-card:hover {
  background: #1c1c1c;
}
body .problema-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
}
body .problema-num {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.4s;
}
body .problema-card:hover .problema-num {
  color: rgba(255, 92, 0, 0.08);
}
body .problema-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: block;
}
body .problema-text {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.4s;
}
body .problema-card:hover .problema-text {
  color: rgba(255, 255, 255, 0.75);
}

/* SOLUZIONE SECTION */
/* Sezione "Un nuovo rituale": carosello 4 gusti scroll-driven.
   La sezione è alta (400vh) e lo stage resta sticky mentre si scorre;
   il gusto attivo cambia in base al progresso di scroll. */
body #soluzione.flavor-scroll {
  padding: 0;
  position: relative;
  background: var(--black);
}
body .soluzione-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    rgba(255, 92, 0, 0.08) 0%,
    transparent 70%
  );
  z-index: 0;
}
/* .flavor-sticky viene pinnato da ScrollTrigger (JS). Su desktop è alto 100vh
   e centrato; senza JS resta un normale blocco con padding. */
body .flavor-sticky {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 90px 40px 24px;
}
/* Header centrato in alto: sottotitolo + titolo su una riga. */
body .soluzione-head {
  max-width: 1320px;
  margin: 0 auto 25px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
body .soluzione-head .section-label {
  margin-bottom: 0;
}
body .soluzione-head .section-title {
  margin: 10px 0 0;
  margin-bottom: 0;
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: 0.98;
}

body .soluzione-inner {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
body .flavor-visual {
  position: relative;
  height: 560px;
}
body .soluzione-visual {
  position: relative;
  height: 560px;
}

/* Glow luminoso dietro le bottiglie, colore del gusto attivo. */
body .flavor-glow {
  position: absolute;
  top: calc(50% - 48px);
  left: 50%;
  width: 460px;
  height: 460px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--flavor-glow, rgba(255, 92, 0, 0.55)),
    transparent 66%
  );
  filter: blur(46px);
  transition: background 0.7s ease;
  z-index: 0;
}

/* Titolo di sfondo del gusto: nascosto su desktop, visibile in mobile
   dietro la bottiglia (vedi breakpoint mobile). */
body .flavor-bgtitle {
  display: none;
}
body .flavor-bgtitle-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.86;
  opacity: 0;
  transition: opacity 0.6s var(--ease-smooth);
  pointer-events: none;
  white-space: nowrap;
}
body .flavor-bgtitle-item.is-active {
  opacity: 1;
}

/* Stage: le 4 bottiglie PNG sovrapposte, solo l'attiva visibile.
   Lascia spazio in basso (bottom) per la nav dots/frecce. */
body .flavor-stage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 96px;
  z-index: 1;
}
body .flavor-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  pointer-events: none;
}
body .flavor-layer.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
body .flavor-bottle {
  position: relative;
  z-index: 2;
  height: 500px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.45));
}
body .flavor-fruit {
  position: absolute;
  bottom: 8%;
  right: 12%;
  z-index: 5;
  font-size: 4rem;
  filter: drop-shadow(0 10px 22px var(--fx-glow, rgba(255, 92, 0, 0.5)));
  animation: kalej-fruit-float 5s ease-in-out infinite;
}
body .flavor-fruit.is-active {
  opacity: 1;
  transform: scale(1);
  animation: kalej-fruit-float 5s ease-in-out infinite;
}
@keyframes kalej-fruit-float {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-16px) rotate(6deg);
  }
}

/* Dots + frecce di navigazione, sotto la bottiglia con spazio dedicato. */
body .flavor-nav {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 4;
}
body .flavor-dots {
  display: flex;
  gap: 12px;
}
body .flavor-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-bounce), background 0.3s,
    border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
body .flavor-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: scale(1.08);
}
body .flavor-arrow:active {
  transform: scale(0.94);
}
body.theme-light .flavor-arrow {
  border-color: rgba(26, 23, 18, 0.2);
  color: #1a1712;
}
body.theme-light .flavor-arrow:hover {
  color: #fff;
}
body .flavor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s var(--ease-bounce), background 0.3s, width 0.3s;
}
body .flavor-dot.is-active {
  background: var(--orange);
  width: 30px;
  border-radius: 999px;
}

/* Blocchi copy che cambiano col gusto (sovrapposti, cross-fade). */
body .flavor-info {
  position: relative;
  min-height: 360px;
  margin: 8px 0 0;
}
body .flavor-stats {
  margin-top: 28px;
  gap: 32px;
  align-items: flex-end;
}
body .flavor-stats .stat-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
body .flavor-stats .stat-num {
  font-size: 2.6rem;
  color: var(--white);
  min-height: 2.6rem;
  align-items: flex-end;
}
body .flavor-stats .stat-unit {
  color: var(--white);
}
body .flavor-stats .stat-num--word {
  font-size: 1.9rem;
}
body .flavor-copy-block {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
  pointer-events: none;
}
body .flavor-copy-block.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
body .flavor-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
body .flavor-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  margin: 0 0 16px;
}
body .flavor-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 22px;
  max-width: 440px;
}
body .flavor-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--fx-accent, var(--orange));
  text-decoration: none;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s, filter 0.3s;
  box-shadow: 0 10px 30px -8px var(--fx-accent, rgba(255, 92, 0, 0.5));
}
body .flavor-btn span {
  transition: transform 0.3s var(--ease-bounce);
}
body .flavor-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 16px 40px -8px var(--fx-accent, rgba(255, 92, 0, 0.6));
}
body .flavor-btn:hover span {
  transform: translateX(5px);
}
body.theme-light .flavor-desc {
  color: rgba(26, 23, 18, 0.7);
}
body.theme-light .flavor-name {
  color: #1a1712;
}
body.theme-light .flavor-dot {
  background: rgba(26, 23, 18, 0.2);
}
body .soluzione-visual-legacy {
  position: relative;
  height: 500px;
}
body .soluzione-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--pink) 60%,
    var(--yellow) 100%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  filter: blur(40px);
  animation: kalej-blob-morph 8s ease-in-out infinite;
}
@keyframes kalej-blob-morph {
  0%,
  100% {
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  }
  33% {
    border-radius: 40% 60% 30% 70% / 60% 40% 50% 40%;
  }
  66% {
    border-radius: 70% 30% 50% 50% / 30% 60% 70% 50%;
  }
}
body .soluzione-bottle-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
body .big-bottle {
  font-size: 16rem;
  line-height: 1;
  filter: drop-shadow(0 30px 60px rgba(255, 92, 0, 0.3));
  animation: kalej-bottle-glow 4s ease-in-out infinite;
}
@keyframes kalej-bottle-glow {
  0%,
  100% {
    filter: drop-shadow(0 30px 60px rgba(255, 92, 0, 0.3));
  }
  50% {
    filter: drop-shadow(0 30px 80px rgba(255, 92, 0, 0.55));
  }
}
body .soluzione-text .section-title {
  margin-bottom: 28px;
}
body .highlight-orange {
  color: var(--orange);
}
body .highlight-yellow {
  color: var(--yellow);
}
body .soluzione-copy {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 44px;
  max-width: 440px;
}
body .soluzione-copy strong {
  color: var(--white);
  font-weight: 500;
}
body .stats-row {
  display: flex;
  gap: 44px;
}
body .stat-item {
  text-align: left;
}
body .stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--orange);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
body .stat-unit {
  font-size: 1.5rem;
  color: rgba(255, 92, 0, 0.6);
}
body .stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

/* BENEFICI SECTION */
body #benefici {
  padding: 140px 40px 50px;
  background: linear-gradient(180deg, var(--black) 0%, #0f0a00 100%);
  position: relative;
  overflow: hidden;
}
body .benefici-header {
  text-align: center;
  margin-bottom: 80px;
}
body .benefici-header .section-label {
  justify-content: center;
}
body .benefici-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
}
body .bene-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s,
    box-shadow 0.4s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body .bene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 92, 0, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
body .bene-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 92, 0, 0.35);
  box-shadow: 0 30px 60px rgba(255, 92, 0, 0.1);
}
body .bene-card:hover::before {
  opacity: 1;
}
body .bene-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.4s var(--ease-bounce);
}
body .bene-card:hover .bene-icon {
  transform: scale(1.15);
}
body .bene-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: var(--white);
}
body .bene-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
}
body .bene-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-smooth);
}
body .bene-card:hover .bene-accent {
  transform: scaleX(1);
}

/* LIFESTYLE SECTION */
body #lifestyle {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body .lifestyle-top {
  padding: 120px 40px 60px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
body .lifestyle-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  max-width: 800px;
}
body .lifestyle-title .italic-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.75em;
  color: var(--orange);
}
body .lifestyle-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 3px;
}
body .mosaic-item {
  position: relative;
  overflow: hidden;
}
body .mosaic-img {
  position: relative;
  top: -2%;
  width: 100%;
  height: 104%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}
body .mosaic-item:hover .mosaic-img {
  transform: scale(1.05);
}
body .mosaic-item:first-child {
  grid-row: span 2;
}
body .mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
}
body .mosaic-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
body .lifestyle-copy {
  padding: 80px 40px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
body .lifestyle-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.32;
  color: var(--white);
  font-style: italic;
  margin: 18px 0 0;
  border: none;
  padding: 0;
}
body .lifestyle-quote em {
  color: var(--orange);
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.25em;
  letter-spacing: 0.01em;
}
body .lifestyle-copy-desc {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-top: 24px;
  max-width: 460px;
}
/* Colonna destra: chip momenti + CTA. */
body .lifestyle-copy-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
body .lifestyle-moments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
body .lifestyle-moments li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  color: var(--white);
  padding: 14px 20px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass-bg);
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s;
}
body .lifestyle-moments li:hover {
  transform: translateX(6px);
  border-color: rgba(255, 92, 0, 0.5);
}
body .lifestyle-moments .lm-ico {
  font-size: 1.5rem;
}

/* SOCIAL PROOF */
body #socialproof {
  padding: 140px 40px;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}
body #socialproof::before {
  content: "\201C";
  position: absolute;
  top: -60px;
  left: 40px;
  font-family: var(--font-serif);
  font-size: 35rem;
  color: rgba(255, 92, 0, 0.04);
  line-height: 1;
  pointer-events: none;
}
body .reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 60px auto 0;
}
body .review-card {
  background: #131313;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-smooth);
}
body .review-card:hover {
  border-color: rgba(255, 92, 0, 0.25);
  transform: translateY(-6px);
}
body .review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 0.9rem;
}
body .review-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
}
body .review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
body .review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-display);
  flex-shrink: 0;
}
body .av-1 {
  background: linear-gradient(135deg, var(--orange), var(--pink));
}
body .av-2 {
  background: linear-gradient(135deg, var(--electric-blue), var(--lime));
}
body .av-3 {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}
body .review-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--white);
}
body .review-handle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
}
body .review-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 92, 0, 0.6);
  background: rgba(255, 92, 0, 0.08);
  padding: 4px 10px;
  border-radius: 2px;
}
body .trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 1320px;
  margin: 80px auto 0;
}
body .trust-item {
  text-align: center;
}
body .trust-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
}
body .trust-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 6px;
}
body .trust-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
}

/* CTA SECTION */
/* CTA / CONTACT: sfondo sempre arancione → colori fissi (non var tema).
   Layout split: copy a sinistra, form a destra su desktop. */
body #cta {
  padding: 130px 40px;
  background: linear-gradient(
    140deg,
    #ff6a14 0%,
    var(--orange) 45%,
    #e24500 100%
  );
  position: relative;
  overflow: hidden;
}
body .cta-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
      circle at 18% 30%,
      rgba(255, 207, 47, 0.35) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(255, 77, 130, 0.22) 0%,
      transparent 42%
    );
}
body .cta-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.04) 0px,
      rgba(0, 0, 0, 0.04) 1px,
      transparent 1px,
      transparent 84px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.04) 0px,
      rgba(0, 0, 0, 0.04) 1px,
      transparent 1px,
      transparent 84px
    );
  -webkit-mask-image: radial-gradient(
    circle at 50% 40%,
    #000 0%,
    transparent 78%
  );
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
}
body .cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: left;
}
body .cta-copy {
  max-width: 500px;
}
body .cta-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: #1a1712;
  margin: 20px 0 22px;
}
body .cta-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: rgba(26, 23, 18, 0.72);
  margin: 0 0 32px;
}
body .cta-trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
body .cta-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(26, 23, 18, 0.7);
}
body .cta-trust-item svg {
  width: 18px;
  height: 18px;
  stroke: #1a1712;
}
body .lead-form {
  background: rgba(255, 251, 243, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 40px;
  text-align: left;
  box-shadow: 0 40px 90px rgba(120, 40, 0, 0.28);
}
body .lead-form-head {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #1a1712;
  margin: 0 0 22px;
  letter-spacing: 0.02em;
}
body .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
body .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body .form-field.full {
  grid-column: span 2;
}
body .form-field label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 23, 18, 0.55);
  font-weight: 700;
}
body .form-field input,
body .form-field select {
  background: #fff;
  border: 1.5px solid rgba(26, 23, 18, 0.14);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #1a1712;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  appearance: none;
  width: 100%;
}
body .form-field input:focus,
body .form-field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.12);
}
body .form-field input::placeholder {
  color: rgba(26, 23, 18, 0.35);
}
body .form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0 26px;
}
body .form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--orange);
  cursor: pointer;
}
body .form-check label {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(26, 23, 18, 0.6);
  cursor: pointer;
}
body .form-submit {
  width: 100%;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 19px 40px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, transform 0.25s var(--ease-bounce),
    box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
body .form-submit:hover {
  background: #1a1712;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}
body .form-submit span:last-child {
  transition: transform 0.3s var(--ease-bounce);
}
body .form-submit:hover span:last-child {
  transform: translateX(5px);
}
body .form-microcopy {
  text-align: center;
  margin-top: 14px;
  font-size: 0.75rem;
  color: rgba(26, 23, 18, 0.45);
  letter-spacing: 0.03em;
}
body .urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a1712;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
body .urgency-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7cff6b;
  box-shadow: 0 0 10px #7cff6b;
  animation: kalej-blink 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes kalej-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* FOOTER (landing) */
body footer {
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding: 80px 40px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
body .footer-orb {
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.14), transparent 68%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
body .footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
}
body .footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body .footer-brand {
  max-width: 320px;
}
body .footer-logo {
  display: inline-flex;
  align-items: center;
}
body .footer-logo .logo-img {
  height: 44px;
  width: auto;
  display: block;
}
body .footer-tagline {
  margin: 22px 0 24px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}
body .footer-tagline strong {
  color: var(--orange);
  font-weight: 700;
}
body .footer-social {
  display: flex;
  gap: 12px;
}
body .footer-soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.35s var(--ease-bounce), background 0.3s, color 0.3s,
    border-color 0.3s;
}
body .footer-soc:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}
body .footer-col-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 20px;
  font-weight: 700;
}
body .footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body .footer-links a {
  position: relative;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
}
body .footer-links a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  transform: translateY(-50%) scale(0.4);
  transition: opacity 0.3s, transform 0.3s;
}
body .footer-links a:hover {
  color: var(--white);
  padding-left: 14px;
}
body .footer-links a:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
body .footer-news-txt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 18px;
}
body .footer-news-form {
  display: flex;
  gap: 8px;
}
body .footer-news-input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s;
}
body .footer-news-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
body .footer-news-input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.07);
}
body .footer-news-btn {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.35s var(--ease-bounce), background 0.3s;
}
body .footer-news-btn:hover {
  transform: translateX(3px);
  background: #ff6a14;
}
body .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
}
body .footer-copy {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  margin: 0;
}
body .footer-legal {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0;
  text-align: right;
}

/* FX entrata (progressive enhancement via IntersectionObserver).
   Stato finale visibile di default. Lo stato nascosto è applicato SOLO quando
   il JS aggiunge .fx-armed al contenitore; .fx-in ripristina il visibile. */
body .fx-armed .fx-item {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
body .fx-armed.fx-in .fx-item {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  body .fx-armed .fx-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* STICKY CTA MOBILE (landing override) */
body .sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  width: 100%;
  transform: none;
  z-index: 90;
  padding: 12px 20px;
  background: var(--orange);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
body .sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--black);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0;
  border-radius: 0;
}

/* REVEAL ANIMATIONS (progressive enhancement: nascosto solo con JS via .reveal-armed) */
body .reveal.reveal-armed {
  opacity: 0;
  transform: translateY(30px);
}
body .reveal {
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}
body .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
body .reveal-delay-1 {
  transition-delay: 0.1s;
}
body .reveal-delay-2 {
  transition-delay: 0.2s;
}
body .reveal-delay-3 {
  transition-delay: 0.3s;
}
body .reveal-delay-4 {
  transition-delay: 0.4s;
}

@keyframes kalej-fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  body .benefici-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  body .hero-inner {
    grid-template-columns: 1fr;
  }
  
  .home-products {
      padding: 80px 0;
  }
  body .hero-visual {
    height: 400px;
  }
  body .soluzione-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  body .lifestyle-copy {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Carosello gusti su mobile/tablet: no sticky, altezza auto, stack. */
  body #soluzione.flavor-scroll {
    padding: 90px 0;
  }
  body .flavor-sticky {
    position: static;
    min-height: 0;
    height: auto;
    padding: 0 20px;
  }
  body .flavor-visual {
    height: 440px;
    order: -1;
    padding-bottom: 70px;
  }
  body .flavor-stage {
    bottom: 84px;
  }
  body .flavor-bottle {
    height: 340px;
  }
  body .flavor-glow {
    width: 300px;
    height: 300px;
  }
  body .flavor-fruit {
    font-size: 3rem;
  }
  /* Titolo del gusto DIETRO la bottiglia (z-index basso), grande e pieno.
     La bottiglia (z-index 2) resta sopra e si sovrappone al testo. */
  body .flavor-bgtitle {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 84px;
    z-index: 0;
    pointer-events: none;
  }
  body .flavor-bgtitle-item {
    top: 54%;
    font-size: clamp(9rem, 17vw, 9rem);
    letter-spacing: 0.01em;
  }
  /* Nascondo il titolo duplicato nella copy: ora sta dietro la bottiglia. */
  body .flavor-copy-block .flavor-name {
    display: none;
  }
  /* Su mobile i blocchi copia non sono più in cross-fade assoluto: mostro solo
     l'attivo in flusso normale così niente testo tagliato. */
  body .flavor-info {
    min-height: 0;
  }
  body .flavor-copy-block {
    position: relative;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    pointer-events: none;
  }
  body .flavor-copy-block.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
    pointer-events: auto;
  }
  body .flavor-btn {
    width: 100%;
    justify-content: center;
  }
  body .flavor-stats {
    flex-wrap: wrap;
    gap: 20px 28px;
  }
}

@media (max-width: 768px) {
  body nav#navbar {
    padding: 16px 20px;
  }
  body .nav-links {
    display: none;
  }
  body #hero {
    padding: 100px 20px 60px;
  }
  body .hero-title {
    font-size: 5rem;
  }
  body .marquee-item {
    font-size: 0.85rem;
  }
  /* Hero bottiglia PNG su mobile: più compatta, badge nascosti per non
     sovrapporsi, alone/anello ridotti. */
  body .hero-visual {
    height: 440px;
    margin-top: 10px;
  }
  body .hero-bottle-img {
    height: 380px;
  }
  body .hero-model {
    width: 320px;
    height: 420px;
  }
  body .hero-bottle-glow {
    width: 300px;
    height: 300px;
  }
  body .hero-bottle-ring {
    width: 330px;
    height: 330px;
  }
  body .hero-bottle-fruit {
    font-size: 2.6rem;
  }
  body .hero-bottle-fruit-2 {
    font-size: 1.9rem;
  }
  body .float-badge {
    display: none;
  }
  body .hero-badges {
    justify-content: center;
  }
  body .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  body .hero-cta-group .btn-primary,
  body .hero-cta-group .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  body #problema {
    padding: 80px 20px;
  }
  body .problema-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  body #soluzione {
    padding: 80px 20px;
  }
  body #benefici {
    padding: 80px 20px;
  }
  body .benefici-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  body #lifestyle {
    min-height: auto;
  }
  body .lifestyle-top {
    padding: 80px 20px 40px;
  }
  body .lifestyle-mosaic {
    grid-template-columns: 1fr 1fr;
  }
  body .mosaic-item:first-child {
    grid-row: span 1;
  }
  body .lifestyle-copy {
    padding: 60px 20px;
  }
  body #socialproof {
    padding: 80px 20px;
  }
  body .reviews-grid {
    grid-template-columns: 1fr;
  }
  body .trust-bar {
    flex-wrap: wrap;
    gap: 30px;
  }
  body #cta {
    padding: 90px 20px;
  }
  body .cta-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  body .cta-copy {
    max-width: none;
  }
  body .lead-form {
    padding: 30px 22px;
  }
  body .form-row {
    grid-template-columns: 1fr;
  }
  body .form-field.full {
    grid-column: span 1;
  }
  body footer {
    padding: 56px 22px 28px;
  }
  body .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
    padding-bottom: 40px;
  }
  body .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
  body .footer-news {
    grid-column: 1 / -1;
  }
  body .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  body .footer-legal {
    text-align: left;
  }
  body .sticky-cta {
    display: block;
  }
  body .cursor {
    display: none;
  }
}

@media (max-width: 480px) {
  body .hero-title {
    font-size: 4rem;
  }
  body .section-title {
    font-size: 3rem;
  }
  body .benefici-grid {
    grid-template-columns: 1fr;
  }
  body .stats-row {
    gap: 28px;
  }
  body .lifestyle-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, auto);
  }
  body .mosaic-item:first-child {
    grid-row: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body *,
  body *::before,
  body *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  body .reveal.reveal-armed {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ==========================================================================
   NAV CART ICON
   ========================================================================== */
body .nav-cart-item {
  display: flex;
  align-items: center;
}
body .nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s, transform 0.2s var(--ease-bounce);
}
body .nav-cart:hover {
  color: var(--orange);
  transform: translateY(-2px);
}
body .kalej-cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
}
body .kalej-cart-count.is-visible {
  display: inline-flex;
}

/* ==========================================================================
   SIDE CART DRAWER
   ========================================================================== */
body.kalej-sidecart-lock {
  overflow: hidden;
}

.kalej-sidecart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1000;
}
.kalej-sidecart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.kalej-sidecart {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100%;
  background: #0f0f0f;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--white);
}
.kalej-sidecart.is-open {
  transform: translateX(0);
}

.kalej-sidecart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.kalej-sidecart-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
.kalej-sidecart-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s, transform 0.2s;
}
.kalej-sidecart-close:hover {
  color: var(--orange);
  transform: rotate(90deg);
}

.kalej-sidecart-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Empty state */
.kalej-sidecart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.5);
}
.kalej-sidecart-shop {
  color: var(--orange);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kalej-sidecart-shop:hover {
  color: var(--yellow);
}

/* Items */
.kalej-sidecart-items {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  flex: 1;
}
.kalej-sidecart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: opacity 0.3s, transform 0.3s;
}
.kalej-sidecart-item.is-removing {
  opacity: 0.4;
  transform: translateX(10px);
}
.kalej-sidecart-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #161616;
}
.kalej-sidecart-thumb img {
  background: #fffbf3 !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kalej-sidecart-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.kalej-sidecart-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kalej-sidecart-qty {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}
.kalej-sidecart-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  width: fit-content;
  margin: 2px 0;
}
.kalej-qty-btn {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.kalej-qty-btn:hover:not(:disabled) {
  background: var(--orange);
  color: var(--black);
}
.kalej-qty-btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.kalej-qty-value {
  min-width: 34px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.kalej-sidecart-item.is-updating {
  opacity: 0.6;
}
.kalej-sidecart-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--orange);
}
.kalej-sidecart-price .amount {
  color: var(--orange);
}
.kalej-sidecart-remove {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s;
}
.kalej-sidecart-remove:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* Footer */
.kalej-sidecart-footer {
  padding: 24px 28px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  background: #0f0f0f;
}
.kalej-sidecart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.kalej-sidecart-total-amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.kalej-sidecart-total-amount .amount {
  color: var(--white);
}
.kalej-sidecart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--orange);
  color: var(--black);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px;
  border-radius: 2px;
  margin-top: 10px;
  transition: background 0.3s, transform 0.2s var(--ease-bounce);
}
.kalej-sidecart-btn:hover {
  background: var(--yellow);
  transform: translateY(-2px);
}
.kalej-sidecart-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.kalej-sidecart-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--orange);
  color: var(--white);
}

/* Add-to-cart loading state */
.single_add_to_cart_button.loading {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 480px) {
  .kalej-sidecart {
    width: 100%;
    max-width: 100vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kalej-sidecart,
  .kalej-sidecart-overlay {
    transition: none !important;
  }
}

/* ==========================================================================
   THEME SWITCH (dark / light) — hero della landing
   ========================================================================== */
body .hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
body .hero-topline .hero-eyebrow {
  margin-bottom: 0;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.theme-switch-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.theme-switch-track {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.35s var(--ease-smooth), border-color 0.35s;
  flex-shrink: 0;
}
.theme-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  transition: transform 0.35s var(--ease-bounce), background 0.35s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.theme-switch-input:checked + .theme-switch-track .theme-switch-thumb {
  transform: translateX(24px);
}
.theme-switch-input:focus-visible + .theme-switch-track {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.theme-switch-icon {
  font-size: 0.95rem;
  line-height: 1;
  transition: opacity 0.35s, color 0.35s;
}
.theme-switch-moon {
  color: var(--yellow);
}
.theme-switch-sun {
  color: rgba(255, 255, 255, 0.4);
}
.theme-switch-input:checked ~ .theme-switch-sun {
  color: var(--orange);
}
.theme-switch-input:checked ~ .theme-switch-moon,
body:not(.theme-light) .theme-switch-sun {
}

/* ==========================================================================
   LIGHT MODE — sfondo beige chiaro (no bianco)
   Ridefinisce i token colore. Le sezioni usano le variabili dove possibile;
   quelle con colori hardcoded vengono corrette qui sotto.
   ========================================================================== */
body.theme-light {
  --black: #f5eee0; /* sfondo base beige chiaro */
  --dark: #ede3d0; /* superfici leggermente pi\u00f9 scure */
  --white: #1a1712; /* "testo bianco" -> ora testo scuro caldo */
  --cream: #fffbf3;
  --glass-bg: rgba(26, 23, 18, 0.05);
  --glass-border: rgba(26, 23, 18, 0.12);
  background: #f5eee0;
  color: #1a1712;
}

/* Track dello switch in light mode */
body.theme-light .theme-switch-track {
  background: rgba(26, 23, 18, 0.12);
  border-color: rgba(26, 23, 18, 0.2);
}
body.theme-light .theme-switch-sun {
  color: var(--orange);
}
body.theme-light .theme-switch-moon {
  color: rgba(26, 23, 18, 0.35);
}

/* Nav */
body.theme-light nav#navbar {
  background: rgba(245, 238, 224, 0.7);
  border-bottom-color: rgba(26, 23, 18, 0.08);
}
body.theme-light .nav-logo {
  color: #1a1712;
}
body.theme-light .nav-links a {
  color: rgba(26, 23, 18, 0.6);
}
body.theme-light .nav-links a:hover {
  color: var(--orange);
}
body.theme-light .nav-cart {
  color: #1a1712;
}

/* HERO */
body.theme-light #hero {
  background: #f5eee0;
}
body.theme-light .hero-eyebrow {
  color: var(--orange);
}
body.theme-light .hero-title {
  color: #1a1712;
}
body.theme-light .hero-sub {
  color: rgba(26, 23, 18, 0.65);
}
body.theme-light .hero-orb {
  opacity: 0.28;
}
body.theme-light .geo-circle {
  border-color: rgba(26, 23, 18, 0.08);
}
body.theme-light .badge-white {
  background: rgba(26, 23, 18, 0.05);
  border-color: rgba(26, 23, 18, 0.2);
  color: rgba(26, 23, 18, 0.75);
}
body.theme-light .float-badge {
  background: rgba(255, 251, 243, 0.8);
  border-color: rgba(26, 23, 18, 0.1);
}
body.theme-light .float-badge-label {
  color: rgba(26, 23, 18, 0.5);
}

/* Section labels & titoli generici */
body.theme-light .section-label {
  color: rgba(26, 23, 18, 0.4);
}
body.theme-light .section-title {
  color: #1a1712;
}

/* PROBLEMA */
body.theme-light #problema {
  background: #ede3d0;
}
body.theme-light .problema-bg {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(26, 23, 18, 0.02) 60px,
    rgba(26, 23, 18, 0.02) 61px
  );
}
body.theme-light .problema-card {
  background: #f5eee0;
}
body.theme-light .problema-card:hover {
  background: #fffbf3;
}
body.theme-light .problema-card::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(26, 23, 18, 0.06),
    transparent
  );
}
body.theme-light .problema-num {
  color: rgba(26, 23, 18, 0.06);
}
body.theme-light .problema-card:hover .problema-num {
  color: rgba(255, 92, 0, 0.12);
}
body.theme-light .problema-text {
  color: rgba(26, 23, 18, 0.6);
}
body.theme-light .problema-card:hover .problema-text {
  color: rgba(26, 23, 18, 0.85);
}

/* SOLUZIONE */
body.theme-light #soluzione {
  background: #f5eee0;
}
body.theme-light .soluzione-copy {
  color: rgba(26, 23, 18, 0.7);
}
body.theme-light .soluzione-copy strong {
  color: #1a1712;
}
body.theme-light .stat-label {
  color: rgba(26, 23, 18, 0.45);
}

/* BENEFICI */
body.theme-light #benefici {
  background: transparent;
}
body.theme-light .bene-card {
  background: rgba(255, 251, 243, 0.6);
  border-color: rgba(26, 23, 18, 0.1);
}
body.theme-light .bene-card:hover {
  border-color: rgba(255, 92, 0, 0.4);
  box-shadow: 0 30px 60px rgba(255, 92, 0, 0.12);
}
body.theme-light .bene-title {
  color: #1a1712;
}
body.theme-light .bene-text {
  color: rgba(26, 23, 18, 0.6);
}

/* LIFESTYLE */
body.theme-light #lifestyle {
  background: transparent;
}
body.theme-light .lifestyle-title {
  color: #1a1712;
}
body.theme-light .lifestyle-quote {
  color: #1a1712;
}
body.theme-light .lifestyle-copy-desc {
  color: rgba(26, 23, 18, 0.65);
}
body.theme-light .lifestyle-moments li {
  color: #1a1712;
}

/* SOCIAL PROOF */
body.theme-light #socialproof {
  background: #ede3d0;
}
body.theme-light #socialproof::before {
  color: rgba(255, 92, 0, 0.06);
}
body.theme-light .review-card {
  background: #fffbf3;
  border-color: rgba(26, 23, 18, 0.08);
}
body.theme-light .review-card:hover {
  border-color: rgba(255, 92, 0, 0.3);
}
body.theme-light .review-text {
  color: rgba(26, 23, 18, 0.75);
}
body.theme-light .review-name {
  color: #1a1712;
}
body.theme-light .review-handle {
  color: rgba(26, 23, 18, 0.45);
}
body.theme-light .trust-bar {
  border-top-color: rgba(26, 23, 18, 0.1);
}
body.theme-light .trust-label {
  color: rgba(26, 23, 18, 0.4);
}
body.theme-light .trust-divider {
  background: rgba(26, 23, 18, 0.12);
}

/* FOOTER */
body.theme-light footer {
  background: #ede3d0;
  border-top-color: rgba(26, 23, 18, 0.1);
}
body.theme-light .footer-orb {
  background: radial-gradient(circle, rgba(255, 92, 0, 0.12), transparent 68%);
}
body.theme-light .footer-top {
  border-bottom-color: rgba(26, 23, 18, 0.12);
}
body.theme-light .footer-tagline {
  color: rgba(26, 23, 18, 0.62);
}
body.theme-light .footer-soc {
  border-color: rgba(26, 23, 18, 0.18);
  color: rgba(26, 23, 18, 0.6);
}
body.theme-light .footer-soc:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
body.theme-light .footer-links a {
  color: rgba(26, 23, 18, 0.62);
}
body.theme-light .footer-links a:hover {
  color: #1a1712;
}
body.theme-light .footer-news-txt {
  color: rgba(26, 23, 18, 0.55);
}
body.theme-light .footer-news-input {
  border-color: rgba(26, 23, 18, 0.18);
  background: rgba(255, 255, 255, 0.5);
  color: #1a1712;
}
body.theme-light .footer-news-input::placeholder {
  color: rgba(26, 23, 18, 0.4);
}
body.theme-light .footer-news-input:focus {
  border-color: var(--orange);
  background: #fffbf3;
}
body.theme-light .footer-copy {
  color: rgba(26, 23, 18, 0.5);
}
body.theme-light .footer-legal {
  color: rgba(26, 23, 18, 0.45);
}

/* CTA resta arancione (contrasto ok in entrambe le modalit\u00e0) */

/* ==========================================================================
   LIGHT MODE — elementi globali (pagine standard, contenuti, product)
   ========================================================================== */
body.theme-light {
  background: #f5eee0;
  color: #1a1712;
}
.ap-hero:has(.hero-bg.aperitivi) .hero-eyebrow,
.ap-hero:has(.hero-bg.aperitivi) .ap-hero-title,
.ap-hero:has(.hero-bg.aperitivi) .ap-hero-sub {
  color: #ffffff !important;
}

/* Il nome brand resta arancione anche su questo sfondo */
.ap-hero:has(.hero-bg.aperitivi) .brand-name {
  color: var(--orange) !important;
}
/* Contenuto pagine standard (page.php, index.php) */
body.theme-light main.container,
body.theme-light .container {
  color: #1a1712;
}



body.theme-light main.container h1,
body.theme-light main.container h2,
body.theme-light main.container h3 {
  color: #1a1712;
}
body.theme-light main.container a {
  color: var(--orange);
}

/* Nav theme switch item */
body .nav-theme-item {
  display: flex;
  align-items: center;
}

/* Single product (WooCommerce) in light mode */
body.theme-light .kalej-product {
  background: #f5eee0;
  color: #1a1712;
}
body.theme-light .kalej-product .product_title {
  color: #1a1712;
}
body.theme-light .kalej-product .woocommerce-breadcrumb {
  color: rgba(26, 23, 18, 0.4);
}
body.theme-light .kalej-product .woocommerce-breadcrumb a {
  color: rgba(26, 23, 18, 0.55);
}
body.theme-light .kalej-orb {
  opacity: 0.25;
}
body.theme-light .kalej-gallery .woocommerce-product-gallery {
  background: linear-gradient(160deg, #fffbf3 0%, #f0e4cc 100%);
  border-color: rgba(26, 23, 18, 0.1);
}
body.theme-light .kalej-product form.cart {
  background: rgba(26, 23, 18, 0.04);
  border-color: rgba(26, 23, 18, 0.12);
}
body.theme-light .kalej-product form.cart .quantity input.qty {
  background: rgba(26, 23, 18, 0.05);
  border-color: rgba(26, 23, 18, 0.15);
  color: #1a1712;
}
body.theme-light
  .kalej-product
  .woocommerce-product-details__short-description {
  color: rgba(26, 23, 18, 0.7);
}
body.theme-light .kalej-product .product_meta {
  color: rgba(26, 23, 18, 0.5);
  border-top-color: rgba(26, 23, 18, 0.1);
}
body.theme-light .kalej-product .product_meta a {
  color: rgba(26, 23, 18, 0.6);
}
body.theme-light .kalej-product .woocommerce-tabs {
  border-top-color: rgba(26, 23, 18, 0.1);
}
body.theme-light .kalej-product .woocommerce-tabs ul.tabs {
  border-bottom-color: rgba(26, 23, 18, 0.12);
}
body.theme-light .kalej-product .woocommerce-tabs ul.tabs li a {
  color: rgba(26, 23, 18, 0.4);
}
body.theme-light .kalej-product .woocommerce-tabs .panel {
  color: rgba(26, 23, 18, 0.7);
}
body.theme-light .kalej-product .related.products,
body.theme-light .kalej-product .upsells.products {
  border-top-color: rgba(26, 23, 18, 0.1);
}

.related.products {
    display: none !important;
}

body.theme-light .kalej-trust-item {
  color: rgba(26, 23, 18, 0.55);
}

/* Link generici arancione primary in light mode (contenuti + Woo) */
body.theme-light
  .kalej-inner
  a:not(.button):not(.added_to_cart):not(.kalej-cta):not([class*="nav"]) {
  color: var(--orange);
}
/* I link della gallery prodotto avvolgono immagini: niente sottolineatura */
.woocommerce-product-gallery__image a {
  text-decoration: none !important;
}

/* ==========================================================================
   FANCYBOX — accenti coerenti col brand
   ========================================================================== */
.fancybox__container {
  --fancybox-accent-color: var(--orange);
}
.fancybox__toolbar,
.fancybox__nav {
  --f-button-color: #fff;
}
.mosaic-item .mosaic-img {
  cursor: pointer;
}
body.theme-light .kalej-inner .woocommerce-tabs .panel a {
  color: var(--orange);
}

/* Form recensioni (WooCommerce) in LIGHT MODE.
   NB: il pannello tab è dentro .kalej-inner, NON dentro .kalej-product. */
body.theme-light .kalej-inner #reply-title,
body.theme-light .kalej-inner .woocommerce-Reviews-title,
body.theme-light .kalej-inner .comment-reply-title {
  color: #1a1712 !important;
}
/* Label "La tua valutazione" / "La tua recensione": scuri, non più bianchi */
body.theme-light .kalej-inner .comment-form-rating label,
body.theme-light .kalej-inner .comment-form-comment label,
body.theme-light .kalej-inner .comment-form label,
body.theme-light .kalej-inner #commentform label {
  color: rgba(26, 23, 18, 0.7) !important;
}
body.theme-light .kalej-inner .comment-form .required {
  color: var(--orange) !important;
}
/* Stelle: arancione primary, niente più blu sottolineato */
body.theme-light .kalej-inner p.stars a,
body.theme-light .kalej-inner .stars a {
  color: var(--orange) !important;
  text-decoration: none !important;
}
/* Barra submit "Invia": sfondo beige, non più nero */
body.theme-light .kalej-inner #respond .form-submit,
body.theme-light .kalej-inner .comment-form .form-submit {
  background: transparent !important;
  padding: 0 !important;
}
/* Campi input/textarea del form in light */
body.theme-light .kalej-inner .comment-form input[type="text"],
body.theme-light .kalej-inner .comment-form input[type="email"],
body.theme-light .kalej-inner .comment-form textarea {
  background: rgba(26, 23, 18, 0.04);
  border-color: rgba(26, 23, 18, 0.15);
  color: #1a1712;
}
body.theme-light .kalej-inner .comment-form .comment-notes {
  color: rgba(26, 23, 18, 0.5);
}

/* Side cart in light mode */
body.theme-light .kalej-sidecart {
  background: #fffbf3;
  border-left-color: rgba(26, 23, 18, 0.1);
  color: #1a1712;
}
body.theme-light .kalej-sidecart-head {
  border-bottom-color: rgba(26, 23, 18, 0.1);
}
body.theme-light .kalej-sidecart-title {
  color: #1a1712;
}
body.theme-light .kalej-sidecart-close {
  color: rgba(26, 23, 18, 0.5);
}
body.theme-light .kalej-sidecart-item {
  border-bottom-color: rgba(26, 23, 18, 0.08);
}
body.theme-light .kalej-sidecart-name {
  color: #1a1712;
}
body.theme-light .kalej-sidecart-footer {
  background: #fffbf3;
  border-top-color: rgba(26, 23, 18, 0.1);
}
body.theme-light .kalej-sidecart-total-amount {
  color: #1a1712;
}
body.theme-light .kalej-qty-value {
  color: #1a1712;
}
body.theme-light .kalej-qty-btn {
  background: rgba(26, 23, 18, 0.05);
  color: rgba(26, 23, 18, 0.7);
}

/* ==========================================================================
   SHOP / ARCHIVIO PRODOTTI — loop di card in stile Kalej
   ========================================================================== */
.kalej-shop {
  position: relative;
  overflow: hidden;
  padding: 140px 0 120px;
  min-height: 70vh;
}
.kalej-shop .kalej-shop-inner {
  position: relative;
  z-index: 2;
}

.kalej-shop-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.kalej-shop-header .section-label {
  margin-bottom: 16px;
}
.kalej-shop-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.85;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--white);
}
.kalej-shop-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Toolbar (ordinamento / risultati) */
.kalej-shop .woocommerce-notices-wrapper:empty {
  display: none;
}
.kalej-shop .woocommerce-result-count,
.kalej-shop .woocommerce-ordering {
  display: none;
}

/* Griglia prodotti: lo shop eredita lo stile card globale
   (.woocommerce ul.products), identico alla home. Qui restano solo
   header/wrapper e il light-mode di quelli. Il prezzo barrato/ins e
   il del sono gestiti sotto in aggiunta allo stile globale. */
.woocommerce ul.products li.product .price del {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  margin-right: 8px;
}
.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

/* ---- Shop in LIGHT MODE (solo header/wrapper) ---- */
body.theme-light .kalej-shop {
  background: #f5eee0;
}
body.theme-light .kalej-shop-title {
  color: #1a1712;
}
body.theme-light .kalej-shop-sub {
  color: rgba(26, 23, 18, 0.6);
}
body.theme-light .woocommerce ul.products li.product .price del {
  color: rgba(26, 23, 18, 0.4);
}

/* Shop: padding sezione responsive */
@media (max-width: 560px) {
  .kalej-shop {
    padding: 110px 0 80px;
  }
}

/* ==========================================================================
   PAGINA UI TEST (Kitchen Sink)
   ========================================================================== */
.kalej-uitest {
  position: relative;
  overflow: hidden;
  padding: 140px 0 120px;
}
.kalej-uitest-inner {
  position: relative;
  z-index: 2;
}
.uitest-head {
  max-width: 760px;
  margin: 0 auto 80px;
  text-align: center;
}
.uitest-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.85;
  text-transform: uppercase;
  margin: 12px 0 18px;
  color: var(--white);
}
.uitest-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  margin: 0;
}
body.theme-light .uitest-title {
  color: #1a1712;
}
body.theme-light .uitest-sub {
  color: rgba(26, 23, 18, 0.6);
}

.uitest-block {
  margin-bottom: 72px;
}
.uitest-h2 {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}
.uitest-note {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 20px;
  font-size: 0.95rem;
}
body.theme-light .uitest-note {
  color: rgba(26, 23, 18, 0.5);
}

/* Swatches */
.uitest-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}
.uitest-swatch {
  aspect-ratio: 3/2;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1712;
}
.uitest-swatch span {
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 8px;
  border-radius: 6px;
}
.uitest-swatch-border {
  border: 1px solid var(--glass-border);
}

/* Tipografia demo */
.uitest-demo-h1 {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 12px;
}
.uitest-demo-h2 {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: 1.8rem;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 10px;
}
.uitest-demo-h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
}
.uitest-demo-p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 18px;
}
.uitest-demo-p a {
  color: var(--orange);
}
.uitest-demo-list {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  margin: 0 0 18px 20px;
}
.uitest-demo-quote {
  border-left: 3px solid var(--orange);
  padding-left: 20px;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--white);
  margin: 0;
}
body.theme-light .uitest-demo-h1,
body.theme-light .uitest-demo-h2,
body.theme-light .uitest-demo-h3,
body.theme-light .uitest-demo-quote {
  color: #1a1712;
}
body.theme-light .uitest-demo-p,
body.theme-light .uitest-demo-list {
  color: rgba(26, 23, 18, 0.7);
}

/* Bottoni demo */
.uitest-buttons,
.uitest-func {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.uitest-btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--orange);
  color: var(--orange);
  background: transparent;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.3s var(--ease-bounce), background 0.3s, color 0.3s;
}
.uitest-btn-outline:hover {
  transform: translateY(-2px);
  background: var(--orange);
  color: #fff;
}
.uitest-btn-ghost {
  display: inline-block;
  padding: 14px 20px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}
.uitest-btn-ghost:hover {
  opacity: 1;
  transform: translateX(4px);
}
body.theme-light .uitest-btn-ghost {
  color: #1a1712;
}

/* Griglie card e badge */
.uitest-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}
.uitest-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Funzioni: normalizza il widget add_to_cart di Woo */
.uitest-func .woocommerce {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.uitest-func .woocommerce .price {
  color: var(--orange);
  font-weight: 700;
}
body.theme-light .uitest-func .woocommerce .price {
  color: var(--orange);
}

/* Link "Aggiungi al carrello" (shortcode Woo) in stile bottone arancione */
.uitest-func a.add_to_cart_button,
.uitest-func a.added_to_cart {
  display: inline-block;
  width: auto;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  transition: transform 0.3s var(--ease-bounce), background 0.3s,
    box-shadow 0.3s;
}
.uitest-func a.add_to_cart_button:hover,
.uitest-func a.added_to_cart:hover {
  transform: translateY(-2px);
  background: #ff6a14;
  box-shadow: 0 12px 28px rgba(255, 92, 0, 0.35);
}
/* Link "Visualizza carrello" che compare dopo l'aggiunta: variante outline */
.uitest-func a.added_to_cart {
  background: transparent;
  color: var(--orange) !important;
}
.uitest-func a.added_to_cart:hover {
  background: var(--orange);
  color: #fff !important;
}

/* Responsive */
@media (max-width: 640px) {
  .kalej-uitest {
    padding: 110px 0 80px;
  }
  .uitest-block {
    margin-bottom: 56px;
  }
}

/* ==========================================================================
   FRONT PAGE (home) — stile landing
   ========================================================================== */
.kalej-home {
  position: relative;
  overflow: hidden;
}

/* HERO */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 200px 0 140px;
  text-align: center;
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.home-hero .hero-eyebrow {
  justify-content: center;
  margin-bottom: 24px;
}
.home-hero-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.85;
  text-transform: uppercase;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.home-hero-title .brand-name {
  color: var(--orange);
}
.home-hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 40px;
}
.home-hero .hero-cta-group {
  justify-content: center;
}
body.theme-light .home-hero-title {
  color: #1a1712;
}
body.theme-light .home-hero-sub {
  color: rgba(26, 23, 18, 0.65);
}

/* ABOUT */
.home-about {
  position: relative;
  padding: 120px 0;
}
.home-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.home-about-media {
  position: relative;
}
.home-about-img {
  width: 100%;
  border-radius: 24px;
  display: block;
  position: relative;
  z-index: 2;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.home-about-orb {
  position: absolute;
  inset: -30px -30px auto auto;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: 1;
}
.home-about-text .section-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 16px 0 24px;
  color: var(--white);
}
.home-about-text .section-title em {
  color: var(--orange);
  font-style: normal;
}
.home-about-copy {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin: 0 0 18px;
}
.home-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
}
.home-stat {
  display: flex;
  flex-direction: column;
}
.home-stat-num {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: 2.6rem;
  color: var(--orange);
  line-height: 1;
}
.home-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}
body.theme-light .home-about-text .section-title {
  color: #1a1712;
}
body.theme-light .home-about-copy {
  color: rgba(26, 23, 18, 0.7);
}
body.theme-light .home-stat-label {
  color: rgba(26, 23, 18, 0.5);
}

/* PRODOTTI */
.home-products {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}
.home-products-inner {
  position: relative;
  z-index: 2;
}
.home-orb-a {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.18), transparent 70%);
  filter: blur(60px);
  z-index: 1;
}
.home-products-head {
  text-align: center;
  margin-bottom: 96px !important;
}
.home-products-head .section-label {
  justify-content: center;
  margin-bottom: 14px;
}
.home-products-head .section-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.94;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}
.home-products-head .brand-name {
  color: var(--orange);
}
body.theme-light .home-products-head .section-title {
  color: #1a1712;
}

/* Griglia prodotti KALEJ: stile card condiviso da home, landing, shop Woo,
   shortcode [products]. Il selettore .kalej-product-grid copre home/landing;
   .woocommerce ul.products copre shop, categorie, related, [products]. */
.kalej-product-grid ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kalej-product-grid ul.products::before,
.kalej-product-grid ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}
/* La bottiglia è in absolute e sporge dal bordo superiore: la card non è
   più in overflow hidden e riserva spazio in alto con padding-top. */
.kalej-product-grid ul.products li.product,
.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding-top: 200px;
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s,
    box-shadow 0.4s;
}
.kalej-product-grid ul.products li.product:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 92, 0, 0.5);
  box-shadow: 0 30px 60px rgba(255, 92, 0, 0.15);
}
/* Il link resta nel flusso (contiene img + titolo + prezzo). Solo l'IMG
   è absolute rispetto alla card e sporge dal bordo superiore. Il link ha
   padding-top per far scendere titolo/prezzo sotto la bottiglia. */
.kalej-product-grid ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
  text-decoration: none;
  padding-top: 0;
}
/* Alone/pedana dietro la bottiglia (spazio per la foto che sporge in alto) */
.kalej-product-grid ul.products li.product::before,
.woocommerce ul.products li.product::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 220px;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.32));
  border-radius: 50%;
}
.kalej-product-grid ul.products li.product a img,
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 62%;
  height: 250px;
  object-fit: contain;
  margin: 0;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.32));
  transition: transform 0.5s var(--ease-smooth);
}
.kalej-product-grid ul.products li.product:hover a img:not(.kalej-hover-img),
.woocommerce ul.products li.product:hover a img:not(.kalej-hover-img),
.woocommerce ul.products li.product:hover img:not(.kalej-hover-img) {
  transform: translateX(-50%) translateY(-8px) scale(1.03);
}

/* Hover: sostituisce la bottiglia con la versione "con frutti che escono".
   .kalej-hover-img viene inserita via JS sopra l'immagine base e appare in
   cross-fade. La base sfuma via così vediamo i frutti uscire. */
.kalej-product-grid ul.products li.product .kalej-hover-img {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) scale(0.99);
  width: auto;
  max-width: 74%;
  height: 258px;
  object-fit: contain;
  margin: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.34));
  transition: opacity 1.05s var(--ease-smooth),
    transform 1.05s var(--ease-smooth);
}
.kalej-product-grid ul.products li.product:hover .kalej-hover-img {
  opacity: 1;
  transform: translateX(-50%) translateY(-8px) scale(1.04);
}
/* Quando c'è la hover-img, la bottiglia base sfuma via in hover.
   ESCLUDO .kalej-hover-img: altrimenti il selettore "a img" farebbe sparire
   anche la nuova immagine (era il bug "l'ha fatta scomparire"). */
.kalej-product-grid
  ul.products
  li.product.has-hover-img:hover
  a
  img:not(.kalej-hover-img) {
  opacity: 0;
}
.kalej-product-grid ul.products li.product a img:not(.kalej-hover-img) {
  transition: transform 0.6s var(--ease-smooth),
    opacity 1.05s var(--ease-smooth);
}
@media (prefers-reduced-motion: reduce) {
  .kalej-product-grid ul.products li.product .kalej-hover-img {
    transition: opacity 0.2s linear;
  }
  .kalej-product-grid ul.products li.product a img:not(.kalej-hover-img) {
    transition: opacity 0.2s linear;
  }
}
.kalej-product-grid ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 20px 4px;
  margin: 0;
}
.kalej-product-grid ul.products li.product .price,
.woocommerce ul.products li.product .price {
  display: block;
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0 20px 16px;
}
.kalej-product-grid ul.products li.product .button,
.kalej-product-grid ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  position: relative;
  z-index: 3;
  margin: auto 20px 20px;
  padding: 12px 20px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-bounce), background 0.3s,
    box-shadow 0.3s;
}
.kalej-product-grid ul.products li.product .button:hover,
.kalej-product-grid ul.products li.product .added_to_cart:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .added_to_cart:hover {
  transform: translateY(-2px);
  background: #ff6a14;
  box-shadow: 0 12px 28px rgba(255, 92, 0, 0.35);
}
.kalej-product-grid ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .added_to_cart {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  margin-top: 0;
}
.home-products-cta {
  text-align: center;
  margin-top: 56px;
}
body.theme-light .kalej-product-grid ul.products li.product,
body.theme-light .woocommerce ul.products li.product {
  background: rgba(255, 251, 243, 0.7);
  border-color: rgba(26, 23, 18, 0.1);
}
body.theme-light
  .kalej-product-grid
  ul.products
  li.product
  .woocommerce-loop-product__title,
body.theme-light
  .woocommerce
  ul.products
  li.product
  .woocommerce-loop-product__title {
  color: #1a1712;
}

/* RECENSIONI */
.home-reviews {
  position: relative;
  padding: 120px 0;
}
.home-reviews-head {
  text-align: center;
  margin-bottom: 56px;
}
.home-reviews-head .section-label {
  justify-content: center;
  margin-bottom: 14px;
}
.home-reviews-head .section-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}
.home-reviews-head .brand-name {
  color: var(--orange);
}
.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
body.theme-light .home-reviews-head .section-title {
  color: #1a1712;
}

/* NEWSLETTER */
.home-newsletter {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: linear-gradient(135deg, var(--orange) 0%, #cc3300 100%);
  text-align: center;
}
.home-news-orb {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.25),
    transparent 70%
  );
  filter: blur(60px);
}
.home-news-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.home-news-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.home-news-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
}
.home-news-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin: 0 auto 36px;
  max-width: 480px;
}
.home-news-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.home-news-input {
  flex: 1;
  min-width: 220px;
  padding: 16px 22px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1712;
  font-size: 1rem;
}
.home-news-input::placeholder {
  color: rgba(26, 23, 18, 0.4);
}
.home-news-btn {
  padding: 16px 28px;
  border-radius: 999px;
  border: none;
  background: #1a1712;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s var(--ease-bounce), background 0.3s;
}
.home-news-btn:hover {
  transform: translateY(-2px);
  background: #000;
}
.home-news-micro {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  margin-top: 18px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .home-about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .kalej-product-grid ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 20px;
  }
  .home-reviews-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .home-hero {
    padding: 150px 0 90px;
  }
  .kalej-product-grid ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .kalej-product-grid ul.products li.product,
  .woocommerce ul.products li.product {
    padding-top: 170px;
    max-width: 90%;
    margin: 0 auto !important;
  }
  .kalej-product-grid ul.products li.product a img,
  .woocommerce ul.products li.product a img,
  .woocommerce ul.products li.product img {
    max-width: 55%;
    height: 210px;
  }
  .home-stats {
    gap: 24px;
  }
  .home-news-form {
    flex-direction: column;
  }
}

/* Placeholder brandizzato per card prodotto senza immagine (fallback globale) */
.woocommerce ul.products li.product img[src*="placeholder"],
.kalej-product-grid ul.products li.product img[src*="placeholder"] {
  display: none !important;
}
.woocommerce
  ul.products
  li.product
  a.woocommerce-LoopProduct-link:has(img[src*="placeholder"]),
.kalej-product-grid
  ul.products
  li.product
  a.woocommerce-LoopProduct-link:has(img[src*="placeholder"]) {
  display: block;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 62%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  z-index: 5;
  background: radial-gradient(
      circle at 30% 22%,
      rgba(255, 170, 110, 0.55),
      transparent 55%
    ),
    linear-gradient(160deg, #ff5c00 0%, #cc3300 100%);
}
.woocommerce
  ul.products
  li.product
  a.woocommerce-LoopProduct-link:has(img[src*="placeholder"])::after,
.kalej-product-grid
  ul.products
  li.product
  a.woocommerce-LoopProduct-link:has(img[src*="placeholder"])::after {
  content: "KALEJ";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: 2.2rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   FRONT PAGE — Canvas 3D bottiglia + mask reveal testo
   ========================================================================== */
/* Canvas 3D sopra i contenuti (pointer-events none: UI resta cliccabile).
   Così la bottiglia fluttua sempre in primo piano, anche sopra la
   newsletter arancione dove deve affiancarsi al titolo. */
#kalej-3d-stage {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
#kalej-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.kalej-home > section {
  position: relative;
  z-index: 2;
}

/* Mask reveal: ogni riga è overflow hidden, l'inner parte tradotto giù */
.mask-reveal {
  overflow: visible;
}
.mask-reveal .mask-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  line-height: 1.02;
}
.mask-reveal .mask-inner {
  display: inline-block;
  will-change: transform;
  transform: translateY(110%);
}
/* Stato finale visibile di default (progressive enhancement):
   se JS non gira, il testo è comunque visibile. */
.no-js .mask-reveal .mask-inner,
.mask-reveal.is-revealed .mask-inner {
  transform: translateY(0);
}

/* Fallback senza JS / reduced motion: testo subito visibile */
@media (prefers-reduced-motion: reduce) {
  .mask-reveal .mask-inner {
    transform: none !important;
    transition: none !important;
  }
  /* La bottiglia 3D resta visibile (scelta "3D ovunque"): il JS la posa
     ferma in hero senza animazioni di scroll quando reduced-motion è attivo. */
}

/* ==========================================================================
   ABOUT PAGE — stile landing/home
   ========================================================================== */
.kalej-about {
  position: relative;
  overflow: hidden;
}
.kalej-about .about-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}
.about-orb-a {
  top: 6%;
  right: -8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.22), transparent 70%);
}
.about-orb-b {
  bottom: 0;
  left: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(255, 138, 61, 0.18),
    transparent 70%
  );
}
.about-orb-c {
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255, 92, 0, 0.14), transparent 72%);
}

/* HERO con immagine orizzontale grande */
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 200px 0 90px;
  text-align: left;
}
.about-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
/* Scrim: garantisce leggibilità del testo bianco sull'immagine.
   Sfumatura dal basso (dove sta il testo) verso l'alto. */
.about-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 7, 4, 0.9) 0%,
    rgba(10, 7, 4, 0.5) 40%,
    rgba(10, 7, 4, 0.2) 100%
  );
}
.about-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.about-hero .hero-eyebrow {
  margin-bottom: 22px;
}
.about-hero-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  line-height: 0.85;
  text-transform: uppercase;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.about-hero-title .brand-name {
  color: var(--orange);
}
.about-hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0;
}
/* In light mode il testo resta bianco: lo scrim scuro sull'immagine lo richiede */
body.theme-light .about-hero-title {
  color: #fff;
}
body.theme-light .about-hero-sub {
  color: rgba(255, 255, 255, 0.82);
}

/* Titoli/label/copy condivisi */
.kalej-about .section-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 14px 0 24px;
  color: var(--white);
}
.kalej-about .section-title em {
  color: var(--orange);
  font-style: normal;
}
.kalej-about .about-copy {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.8;
  margin: 0 0 18px;
}
.kalej-about .about-copy strong {
  color: var(--white);
}
body.theme-light .kalej-about .section-title {
  color: #1a1712;
}
body.theme-light .kalej-about .about-copy {
  color: rgba(26, 23, 18, 0.72);
}
body.theme-light .kalej-about .about-copy strong {
  color: #1a1712;
}

/* ORIGINE */
.about-origin {
  position: relative;
  padding: 110px 0;
}
.about-origin-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.about-origin-timeline {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-tl-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}
.about-tl-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 30px;
  bottom: -12px;
  width: 2px;
  background: linear-gradient(var(--orange), rgba(255, 92, 0, 0.15));
  transform-origin: top;
}
.about-tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.15);
}
/* Stato animabile timeline (progressive enhancement): il JS aggiunge la classe
   .tl-armed per partire da nascosto, poi ScrollTrigger anima verso il visibile.
   Senza JS resta tutto visibile. */
.about-origin-timeline.tl-armed .about-tl-item::before {
  transform: scaleY(0);
}
.about-origin-timeline.tl-armed .about-tl-item.tl-drawn::before {
  transform: scaleY(1);
}
.about-origin-timeline.tl-armed .about-tl-dot {
  transform: scale(0);
}
.about-origin-timeline.tl-armed .about-tl-item > div {
  opacity: 0;
  transform: translateY(10px);
}
.about-tl-item::before {
  transition: transform 0.6s var(--ease-smooth);
}
.about-tl-dot {
  transition: transform 0.5s var(--ease-bounce);
}
.about-tl-item > div {
  transition: opacity 0.5s ease, transform 0.5s var(--ease-smooth);
}
@media (prefers-reduced-motion: reduce) {
  .about-origin-timeline.tl-armed .about-tl-item::before,
  .about-origin-timeline.tl-armed .about-tl-dot,
  .about-origin-timeline.tl-armed .about-tl-item > div {
    transform: none;
    opacity: 1;
  }
}
.about-tl-year {
  display: block;
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 0.02em;
}
.about-tl-text {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-top: 4px;
  font-size: 0.95rem;
}
body.theme-light .about-tl-text {
  color: rgba(26, 23, 18, 0.65);
}

/* COSA CI RENDE DIVERSI */
.about-diff {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.about-diff-inner {
  position: relative;
  z-index: 2;
}
.about-diff-head {
  text-align: center;
  margin-bottom: 56px;
}
.about-diff-head .section-label {
  justify-content: center;
}
.about-diff-head .section-title {
  justify-content: center;
}
.about-diff-head .brand-name {
  color: var(--orange);
}
.about-diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.about-diff-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px 26px;
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s,
    box-shadow 0.4s;
}
.about-diff-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 92, 0, 0.5);
  box-shadow: 0 24px 50px rgba(255, 92, 0, 0.12);
}
.about-diff-num {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 16px;
}
.about-diff-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
}
.about-diff-copy {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 0;
}
body.theme-light .about-diff-card {
  background: rgba(255, 251, 243, 0.65);
  border-color: rgba(26, 23, 18, 0.1);
}
body.theme-light .about-diff-title {
  color: #1a1712;
}
body.theme-light .about-diff-copy {
  color: rgba(26, 23, 18, 0.65);
}

/* FAMIGLIA TERZINI */
.about-family {
  position: relative;
  padding: 110px 0;
}
.about-family-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
/* Card fotografica reale (sostituisce la vecchia card scura testuale):
   stessa logica visiva delle immagini lifestyle della landing (bordo sottile,
   angoli non arrotondati, badge sovrapposto in stile hero-badge). */
.about-family-media {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-family-orb {
  position: absolute;
  top: -12%;
  left: -14%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.3), transparent 70%);
  filter: blur(50px);
  z-index: 0;
}
.about-family-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 30%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}
.about-family-badge {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 22px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 14, 10, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
}
.about-quote {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--orange);
  border-left: 3px solid var(--orange);
  padding-left: 22px;
  margin: 28px 0 0;
}
body.theme-light .about-family-card {
  background: linear-gradient(160deg, #241610 0%, #160d08 100%);
}

/* MANIFESTO — full-screen pinnata (vedi manifestoPin() in main.js): il
   wrapper .about-manifesto-sticky resta bloccato a schermo intero mentre
   lo scroll anima l'opacità di ogni parola da tenue a piena leggibilità. */
.about-manifesto {
  position: relative;
  padding: 0;
}
.about-manifesto-sticky {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.about-manifesto-inner {
  max-width: 1000px;
  text-align: center;
  padding: 0 24px;
}
.about-manifesto-inner .section-label {
  margin-bottom: 32px;
  justify-content: center;
}
.about-manifesto-text {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  line-height: 1;
  color: var(--white);
  margin: 0;
}
.about-manifesto-text em {
  color: var(--orange);
  font-style: italic;
}
body.theme-light .about-manifesto-text {
  color: #1a1712;
}
/* Ogni parola: stato base leggibile (progressive enhancement) + transizione
   di fallback via CSS se GSAP non è disponibile. Il JS imposta l'opacità
   scrub-per-parola quando presente. */
.mf-word {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.3s linear;
}
.js-manifesto-words.mf-armed .mf-word {
  opacity: 0.1;
}
@media (prefers-reduced-motion: reduce) {
  .mf-word {
    opacity: 1 !important;
  }
}

/* CTA */
.about-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--orange) 0%, #cc3300 100%);
}
.about-cta-orb {
  position: absolute;
  top: -25%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.22),
    transparent 70%
  );
  filter: blur(60px);
}
.about-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.about-cta-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.about-cta-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0 auto 36px;
}
.about-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.about-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-origin-inner,
  .about-family-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .about-diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-family-media {
    order: -1;
  }
}
@media (max-width: 560px) {
  .about-hero {
    padding: 150px 0 80px;
  }
  .about-diff-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   APERITIVI PAGE — 4 gusti, blocchi alternati
   ========================================================================== */
.kalej-aperitivi {
  position: relative;
  overflow: hidden;
}

/* HERO */
.ap-hero {
  position: relative;
  overflow: hidden;
  padding: 180px 0 110px;
  text-align: center;

}


.kalej-aperitivi .ap-hero {
  position: relative;
  overflow: hidden;
  padding: 300px 0 ;
  text-align: center;
  margin-bottom:80px;
}

.ap-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
/* 4 bottiglie dietro il titolo hero: scendono lentamente verso il centro
   in stagger, con leggera rotazione. z-index 1, sotto al testo (z-index 2). */
.ap-hero-bottles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.ap-hero-bottle {
  /* La separazione orizzontale/verticale base vive in left/top (non nel
     transform): così resta stabile anche quando l'accessibilità forza
     transform:none per chi preferisce animazioni ridotte. Il transform si
     occupa solo di rotazione + leggero avvicinamento/discesa in stagger. */
  position: absolute;
  top: 2%;
  transition: opacity 1.4s var(--ease-smooth), transform 1.4s var(--ease-smooth),
    top 1.4s var(--ease-smooth);
}
.ap-hero-bottle img {
  display: block;
  width: auto;
  height: 420px;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.28));
}
.ap-hero-bottle--1 {
  left: calc(50% - 460px);
}
.ap-hero-bottle--2 {
  left: calc(50% - 220px);
}
.ap-hero-bottle--3 {
  left: calc(50% + 30px);
}
.ap-hero-bottle--4 {
  left: calc(50% + 270px);
}
/* Stato iniziale ("armed", prima del reveal): più in alto, più aperte/ruotate.
   Specificità (0,3,0) per battere la regola generica "body .reveal.reveal-armed"
   (0,2,1) che altrimenti imporrebbe un transform diverso (translateY) e farebbe
   "saltare" bruscamente le bottiglie invece di animarle con continuità. */
.ap-hero-bottle.reveal-armed.ap-hero-bottle--1 {
  transform: translateX(70px) rotate(-14deg);
}
.ap-hero-bottle.reveal-armed.ap-hero-bottle--2 {
  transform: translateX(45px) rotate(-6deg);
}
.ap-hero-bottle.reveal-armed.ap-hero-bottle--3 {
  transform: translateX(-45px) rotate(6deg);
}
.ap-hero-bottle.reveal-armed.ap-hero-bottle--4 {
  transform: translateX(-70px) rotate(14deg);
}
/* Stato finale (dopo il reveal): scendono lentamente più in basso verso il
   centro, in stagger via reveal-delay-N, con rotazione più leggera. */
.ap-hero-bottle.reveal.visible.ap-hero-bottle--1 {
  top: 24%;
  transform: translateX(30px) rotate(-6deg);
}
.ap-hero-bottle.reveal.visible.ap-hero-bottle--2 {
  top: 24%;
  transform: translateX(18px) rotate(-3deg);
}
.ap-hero-bottle.reveal.visible.ap-hero-bottle--3 {
  top: 24%;
  transform: translateX(-18px) rotate(3deg);
}
.ap-hero-bottle.reveal.visible.ap-hero-bottle--4 {
  top: 24%;
  transform: translateX(-30px) rotate(6deg);
}
@media (max-width: 900px) {
  .ap-hero-bottle img {
    height: 260px;
  }
  .ap-hero-bottle--1 {
    left: calc(50% - 230px);
  }
  .ap-hero-bottle--2 {
    left: calc(50% - 110px);
  }
  .ap-hero-bottle--3 {
    left: calc(50% + 10px);
  }
  .ap-hero-bottle--4 {
    left: calc(50% + 130px);
  }
  .ap-hero-bottle.reveal.visible.ap-hero-bottle--1 {
    transform: translateX(18px) rotate(-6deg);
  }
  .ap-hero-bottle.reveal.visible.ap-hero-bottle--2 {
    transform: translateX(10px) rotate(-3deg);
  }
  .ap-hero-bottle.reveal.visible.ap-hero-bottle--3 {
    transform: translateX(-10px) rotate(3deg);
  }
  .ap-hero-bottle.reveal.visible.ap-hero-bottle--4 {
    transform: translateX(-18px) rotate(6deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ap-hero-bottle {
    transition: opacity 0.3s linear;
  }
}
.ap-hero .hero-eyebrow {
  justify-content: center;
  margin-bottom: 24px;
}
.ap-hero-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.85;
  text-transform: uppercase;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.ap-hero-title .brand-name {
  color: var(--orange);
}
.ap-hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  max-width: 620px;
    margin: 0 auto;
}

body.theme-light .ap-hero-sub {
  color: rgba(26, 23, 18, 0.7);
}

/* INTRO */
.ap-intro {
  padding: 40px 0 80px;
}
.ap-intro-inner {
  max-width: 820px;
  text-align: center;
}
.kalej-aperitivi .section-title {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 22px;
 hite);
}
.kalej-aperitivi .section-title em {
  color: var(--orange);
  font-style: normal;
}
.ap-intro-copy {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.85;
  font-size: 1.08rem;
  margin: 0;
}
body.theme-light .kalej-aperitivi .section-title {
  color: #1a1712;
}
body.theme-light .ap-intro-copy {
  color: rgba(26, 23, 18, 0.72);
}

/* BLOCCHI GUSTO */
.ap-flavor {
  padding: 90px 0;
  position: relative;
}
.ap-flavor-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
/* Blocchi pari: immagine a destra (inverti ordine) */
.ap-flavor:nth-child(even) .ap-flavor-visual {
  order: 2;
}
.ap-flavor-index {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--ap-accent, var(--orange));
}
.ap-flavor-name {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 8px 0 10px;
  color: var(--white);
}
.ap-flavor-tagline {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ap-accent, var(--orange));
  margin: 0 0 22px;
}
.ap-flavor-copy {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.8;
  margin: 0 0 16px;
}
.ap-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}
.ap-note {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--ap-accent, var(--orange));
  color: var(--ap-accent, var(--orange));
}
.ap-flavor .btn-primary {
  background: var(--ap-accent, var(--orange));
}
body.theme-light .ap-flavor-name {
  color: #1a1712;
}
body.theme-light .ap-flavor-copy {
  color: rgba(26, 23, 18, 0.72);
}

/* VISUAL: foto reale del prodotto con glow colorato dietro */
.ap-flavor-visual {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 20px 0;
}
.ap-flavor-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--ap-glow, rgba(255, 92, 0, 0.4)),
    transparent 68%
  );
  filter: blur(50px);
  z-index: 0;
}
.ap-bottle-img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.4));
  transition: transform 0.7s var(--ease-smooth), opacity 0.7s var(--ease-smooth);
}
.ap-flavor:hover .ap-bottle-img {
  transform: translateY(-8px) rotate(-1deg);
}
/* Hover: la bottiglia mostra la sua versione "con i frutti che escono",
   stessa immagine usata nel carosello/hover-prodotti della landing. */
.ap-bottle-hover-img {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) scale(0.99);
  width: auto;
  max-width: 100%;
  height: 470px;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 32px 46px rgba(0, 0, 0, 0.42));
  transition: opacity 1.1s var(--ease-smooth), transform 1.1s var(--ease-smooth);
}
.ap-flavor:hover .ap-bottle-hover-img {
  opacity: 1;
  transform: translateX(-50%) translateY(-8px) scale(1.01);
}
.ap-flavor:hover .ap-bottle-img {
  opacity: 0;
  transition: opacity 1.1s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
@media (prefers-reduced-motion: reduce) {
  .ap-bottle-hover-img {
    transition: opacity 0.2s linear;
  }
  .ap-flavor-visual.has-hover-img:hover .ap-bottle-img {
    transition: opacity 0.2s linear;
  }
}

/* Accenti per gusto */
.ap-flavor--black {
  --ap-accent: #ff5c00;
  --ap-glow: rgba(255, 92, 0, 0.35);
  --ap-bottle: linear-gradient(160deg, #2a1a12, #0f0906);
}
.ap-flavor--lemon {
  --ap-accent: #f4c430;
  --ap-glow: rgba(244, 196, 48, 0.35);
  --ap-bottle: linear-gradient(160deg, #4a3d10, #1c1705);
}
.ap-flavor--peach {
  --ap-accent: #ff8fa3;
  --ap-glow: rgba(255, 143, 163, 0.38);
  --ap-bottle: linear-gradient(160deg, #5a2b32, #231014);
}
.ap-flavor--passion {
  --ap-accent: #c05cff;
  --ap-glow: rgba(192, 92, 255, 0.38);
  --ap-bottle: linear-gradient(160deg, #3a1c52, #160a20);
}

/* Separatore sottile tra i gusti */
.ap-flavor:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: var(--ap-accent, var(--orange));
  opacity: 0.5;
}

/* CTA (riusa .about-cta) */
.ap-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--orange) 0%, #cc3300 100%);
}
.ap-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.ap-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .ap-flavor-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ap-flavor:nth-child(even) .ap-flavor-visual {
    order: -1;
  }
  .ap-flavor-visual {
    order: -1;
  }
}

/* ==========================================================================
   WOOCOMMERCE BLOCKS — Carrello, Checkout, Thank you (order-received)
   Allineati allo stile landing: beige #F5EEE0, testo #1A1712, arancione
   #FF5C00, font display/serif, card arrotondate, bottoni pill.
   I blocchi Woo (React) espongono classi .wc-block-* e variabili CSS:
   le sovrascrivo qui, senza override di template.
   ========================================================================== */
/* --- SEZIONE 1: layout base + variabili ------------------------------- */
/* Le pagine cart/checkout usano il layout container del tema. Do respiro
   sotto la nav fixed e centro il blocco. */
.woocommerce-cart main.container,
.woocommerce-checkout main.container,
.woocommerce-order-received main.container {
  max-width: 1120px;
}
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  color: #1a1712;
}
/* Variabili dei blocchi Woo: le riporto ai colori landing. */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.woocommerce-order-received .woocommerce {
  --wc-green: #ff5c00; /* accento primario (successo/azione) */
  --wp--preset--color--primary: #ff5c00;
  --wc-highlight: #ff5c00;
  --wc-highlight-rgb: 255, 92, 0;
  --wc-form-color-text: #1a1712;
  --wc-form-color-background: #fffbf3;
  --wc-form-border-color: rgba(26, 23, 18, 0.18);
  --wc-input-border-color: rgba(26, 23, 18, 0.18);
}
/* Titoli di sezione dentro i blocchi col font display del brand. */
.wp-block-woocommerce-cart .wc-block-components-title,
.wp-block-woocommerce-checkout .wc-block-components-title,
.wp-block-woocommerce-cart h1,
.wp-block-woocommerce-cart h2,
.wp-block-woocommerce-checkout h1,
.wp-block-woocommerce-checkout h2 {
  font-family: var(--font-display, "Anton", sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #1a1712;
}
/* Testo generico e link. */
.wp-block-woocommerce-cart a,
.wp-block-woocommerce-checkout a {
  color: #ff5c00;
}
.wc-block-components-product-metadata,
.wc-block-components-order-summary {
  color: #1a1712;
}
/* --- SEZIONE 2: tabella items carrello -------------------------------- */
/* La lista prodotti diventa una card beige-chiara arrotondata. */
.wp-block-woocommerce-cart-line-items-block .wc-block-cart-items,
.wc-block-cart .wc-block-cart-items {
  background: rgba(255, 251, 243, 0.7);
  border: none;
  border-radius: 0;
  padding: 8px 22px;
  overflow: hidden;
}
.wc-block-cart-items__header {
  border-bottom: 1px solid rgba(26, 23, 18, 0.12);
}
.wc-block-cart-items__header th,
.wc-block-cart-items__header .wc-block-cart-items__header-image,
.wc-block-cart-items__header .wc-block-cart-items__header-product {
  font-family: var(--font-display, "Anton", sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: rgba(26, 23, 18, 0.55);
}
.wc-block-cart-items__row {
  border-bottom: 1px solid rgba(26, 23, 18, 0.08);
}
.wc-block-cart-items__row:last-child {
  border-bottom: none;
}
/* Nome prodotto in evidenza. */
.wc-block-cart-item__product-name,
.wc-block-components-product-name {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #1a1712;
  text-decoration: none;
}
.wc-block-components-product-name:hover {
  color: #ff5c00;
}
/* Thumbnail prodotto: squadrata, senza bordo. */
.wc-block-cart-item__image img,
.wc-block-cart-items__row img {
  border-radius: 0;
  border: none;
  background: #fffbf3;
}
/* Prezzo prodotto in arancione col font display. */
.wc-block-cart-item__prices .wc-block-components-product-price__value,
.wc-block-components-product-price__value {
  font-family: var(--font-display, "Anton", sans-serif);
  color: #1a1712;
}
/* Stepper quantità: squadrato, senza bordo evidente. */
.wc-block-components-quantity-selector {
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: #fffbf3;
}
.wc-block-components-quantity-selector__button {
  color: #1a1712;
}
.wc-block-components-quantity-selector__button:hover {
  color: #ff5c00;
}
.wc-block-components-quantity-selector__input {
  color: #1a1712;
}
/* Link "Rimuovi". */
.wc-block-cart-item__remove-link {
  color: rgba(26, 23, 18, 0.5);
}
.wc-block-cart-item__remove-link:hover {
  color: #ff5c00;
}
/* --- SEZIONE 3: totali / order summary -------------------------------- */
/* Box totali: card arrotondata leggermente più marcata. */
.wp-block-woocommerce-cart-totals-block,
.wc-block-components-totals-wrapper,
.wc-block-checkout__sidebar .wc-block-components-order-summary,
.wp-block-woocommerce-checkout-totals-block {
  background: rgba(255, 251, 243, 0.85);
  border: none;
  border-radius: 0;
}
.wp-block-woocommerce-cart-totals-block {
  padding: 26px 24px;
}
.wp-block-woocommerce-checkout-totals-block {
  padding: 8px 22px 22px;
}
/* Righe totali. */
.wc-block-components-totals-item {
  color: #1a1712;
}
.wc-block-components-totals-item__label {
  color: rgba(26, 23, 18, 0.7);
}
.wc-block-components-totals-item__value {
  color: #1a1712;
  font-weight: 600;
}
/* Totale finale in arancione, display font. */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item {
  font-family: var(--font-display, "Anton", sans-serif);
  color: #ff5c00;
  font-size: 1.5rem;
}
.wc-block-components-totals-item__description {
  color: rgba(26, 23, 18, 0.5);
}
/* Divisori. */
.wc-block-components-totals-wrapper {
  border-color: rgba(26, 23, 18, 0.1);
}
/* Coupon: campo input + bottone applica (squadrati, no bordo). */
.wc-block-components-totals-coupon__form .wc-block-components-text-input input {
  background: #fffbf3;
  border-radius: 0;
  border: none;
  color: #1a1712;
}
.wc-block-components-totals-coupon__button {
  border-radius: 0 !important;
  background: #1a1712 !important;
  color: #fffbf3 !important;
}
.wc-block-components-panel__button {
  color: #1a1712;
}
/* --- SEZIONE 4: bottoni (procedi, place order) ------------------------ */
/* Bottone primario landing: pill arancione, hover giallo, leggero lift. */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button,
.wc-block-checkout__actions_row .wc-block-components-button.contained {
  background: #ff5c00 !important;
  color: #1a1712 !important;
  font-family: var(--font-display, "Anton", sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px !important;
  border: none !important;
  padding: 16px 34px !important;
  font-size: 1rem;
  box-shadow: 0 14px 30px rgba(255, 92, 0, 0.28);
  transition: transform 0.35s var(--ease-smooth),
    background 0.35s var(--ease-smooth);
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout__actions_row .wc-block-components-button.contained:hover {
  background: #ffb000 !important;
  transform: translateY(-2px);
}
/* Bottone "aggiungi al carrello" nei cross-sell (blocchi product). */
.wp-block-woocommerce-cart .wp-block-button__link,
.wc-block-grid__product .wp-block-button__link,
.wc-block-components-product-button .wc-block-components-button {
  background: #1a1712;
  color: #fffbf3;
  border-radius: 0;
  border: none;
}
.wc-block-components-product-button .wc-block-components-button:hover {
  background: #ff5c00;
  color: #1a1712;
}
/* --- SEZIONE 5: form checkout (input, step) --------------------------- */
/* Blocco form come card arrotondata. */
.wc-block-checkout__main .wc-block-components-checkout-step {
  background: rgba(255, 251, 243, 0.6);
  border: none;
  border-radius: 0;
  padding: 24px 26px;
  margin-bottom: 20px;
}
/* Titolo dello step + numero. */
.wc-block-components-checkout-step__title {
  font-family: var(--font-display, "Anton", sans-serif);
  text-transform: uppercase;
  color: #1a1712;
  font-size: 1.15rem;
}
.wc-block-components-checkout-step__heading-content {
  color: rgba(26, 23, 18, 0.6);
}
.wc-block-components-checkout-step__title-number {
  background: #ff5c00 !important;
  color: #1a1712 !important;
  font-weight: 700;
}
/* Input, select, textarea: sfondo crema, bordo landing, angoli morbidi. */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-select .wc-blocks-components-select__container,
.wc-block-components-address-form input,
.wc-block-checkout .components-form-token-field__input {
  background: #fffbf3 !important;
  color: #1a1712 !important;
  border: none !important;
  border-bottom: 1px solid rgba(26, 23, 18, 0.2) !important;
  border-radius: 0 !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-address-form input:focus {
  border-bottom-color: #ff5c00 !important;
  box-shadow: 0 2px 0 0 rgba(255, 92, 0, 0.4) !important;
}
.wc-block-components-text-input label,
.wc-block-components-checkout-step__description {
  color: rgba(26, 23, 18, 0.6);
}
/* Radio/checkbox accent. */
.wc-block-components-radio-control__input,
.wc-block-components-checkbox__input {
  accent-color: #ff5c00;
}
.wc-block-components-radio-control__option {
  border-color: rgba(26, 23, 18, 0.14);
}
.wc-block-components-radio-control__option--checked {
  border-color: #ff5c00;
}
/* Riepilogo ordine laterale (sidebar checkout): squadrato. */
.wc-block-checkout__sidebar {
  border-radius: 0;
}

/* --- Azzeramento bordi + arrotondamenti su TUTTO il checkout a blocchi --- */
/* Il checkout Woo (React) mette bordi/box-radius su molti wrapper: li tolgo
   in blocco. Mantengo solo i separatori sottili tra righe dove servono. */
.wc-block-checkout .wc-block-components-checkout-step,
.wc-block-checkout__sidebar,
.wc-block-checkout__main,
.wc-block-components-order-summary,
.wc-block-components-address-card,
.wc-block-components-address-address-first,
.wc-block-components-shipping-rates-control,
.wc-block-components-shipping-rates-control__package,
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option,
.wc-block-components-payment-methods,
.wc-block-checkout__payment-method,
.wc-block-components-panel,
.wc-block-components-express-payment,
.wc-block-components-order-summary-item,
.wc-block-checkout__actions,
.wc-block-checkout__actions_row {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* Separatori: solo una linea sottile in basso dove aiuta la leggibilità. */
.wc-block-components-checkout-step {
  border-bottom: 1px solid rgba(26, 23, 18, 0.08) !important;
}
.wc-block-components-radio-control__option {
  border-bottom: 1px solid rgba(26, 23, 18, 0.08) !important;
}
/* Card indirizzo modificabile: sfondo crema, nessun contorno. */
.wc-block-components-address-card {
  background: rgba(255, 251, 243, 0.6);
  padding: 16px 18px;
}
/* --- SEZIONE 6: thank you / order received (minimal) ------------------ */
/* Markup classico .woocommerce-order. Obiettivo: pulito, arieggiato, font
   corretti (DM Sans per etichette, display solo per i titoli, arancione
   usato con parsimonia). */
.woocommerce-order {
  color: #1a1712;
  font-family: var(--font-body, "DM Sans", sans-serif);
}
/* Messaggio di conferma: sobrio, una riga di respiro. */
.woocommerce-order .woocommerce-notice--success,
.woocommerce-thankyou-order-received {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 8px;
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: 1.7rem;
  font-style: italic;
  color: #1a1712;
  margin: 0 0 44px;
}
/* Riepilogo ordine: griglia a piena larghezza, etichette DM Sans piccole. */
.woocommerce-order .woocommerce-order-overview {
  list-style: none;
  margin: 0 0 56px;
  padding: 26px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px;
  background: transparent;
  border-top: 1px solid rgba(26, 23, 18, 0.12);
  border-bottom: 1px solid rgba(26, 23, 18, 0.12);
}
.woocommerce-order .woocommerce-order-overview li {
  border: none !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  color: rgba(26, 23, 18, 0.5);
  padding: 0;
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-weight: 600;
}
.woocommerce-order .woocommerce-order-overview li strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: #1a1712;
  font-weight: 600;
  font-family: var(--font-body, "DM Sans", sans-serif);
}
/* Titoli sezione: display, con spazio sopra generoso. */
.woocommerce-order h2,
.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-column__title {
  font-family: var(--font-display, "Anton", sans-serif);
  text-transform: uppercase;
  color: #1a1712;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
}
/* Tabella dettagli ordine: PIENA LARGHEZZA, spaziatura comoda, no card. */
.woocommerce-order .woocommerce-table--order-details {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  border-collapse: collapse;
  margin: 0 0 56px;
}
.woocommerce-order .woocommerce-table--order-details th,
.woocommerce-order .woocommerce-table--order-details td {
  border: none;
  border-bottom: 1px solid rgba(26, 23, 18, 0.1);
  padding: 14px 8px;
  text-align: left;
  vertical-align: top;
}
/* Colonna Totale allineata a destra. */
.woocommerce-order
  .woocommerce-table--order-details
  th.woocommerce-table__product-total,
.woocommerce-order
  .woocommerce-table--order-details
  td.woocommerce-table__product-total,
.woocommerce-order .woocommerce-table--order-details tfoot td {
  text-align: right;
}
/* Intestazioni colonne: DM Sans maiuscolo tenue. */
.woocommerce-order .woocommerce-table--order-details thead th {
  font-family: var(--font-body, "DM Sans", sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: rgba(26, 23, 18, 0.5);
  font-weight: 600;
}
/* Nome prodotto in serif, spazio dopo il nome prima di ' x N'. */
.woocommerce-order
  .woocommerce-table--order-details
  td.woocommerce-table__product-name {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.woocommerce-order .woocommerce-table--order-details .product-quantity {
  margin-left: 6px;
  color: rgba(26, 23, 18, 0.55);
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 0.95rem;
}
.woocommerce-order .woocommerce-table--order-details a {
  color: #1a1712;
}
.woocommerce-order .woocommerce-table--order-details a:hover {
  color: #ff5c00;
}
/* Righe totali (tfoot): etichette DM Sans, importi normali. */
.woocommerce-order .woocommerce-table--order-details tfoot th {
  font-family: var(--font-body, "DM Sans", sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(26, 23, 18, 0.6);
  text-align: left;
}
.woocommerce-order .woocommerce-table--order-details tfoot .amount {
  font-family: var(--font-body, "DM Sans", sans-serif);
  color: #1a1712;
}
/* Riga TOTALE finale: unica in evidenza, importo arancione display. */
.woocommerce-order .woocommerce-table--order-details tfoot .order-total th {
  color: #1a1712;
}
.woocommerce-order
  .woocommerce-table--order-details
  tfoot
  .order-total
  .amount {
  font-family: var(--font-display, "Anton", sans-serif);
  color: #ff5c00;
  font-size: 1.35rem;
}
/* Indirizzi: DM Sans normale, non italico dominante. */
.woocommerce-order .woocommerce-customer-details address {
  background: transparent;
  border: none;
  border-radius: 0;
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-style: normal;
  line-height: 1.9;
  padding: 0;
  color: #1a1712;
}
.woocommerce-order .woocommerce-customer-details {
  margin-bottom: 40px;
}
/* --- SEZIONE 7: responsive -------------------------------------------- */
@media (max-width: 780px) {
  .woocommerce-cart main.container,
  .woocommerce-checkout main.container,
  .woocommerce-order-received main.container {
    padding-top: 100px;
  }
  .wp-block-woocommerce-cart-line-items-block .wc-block-cart-items,
  .wc-block-cart .wc-block-cart-items {
    padding: 4px 14px;
  }
  .wp-block-woocommerce-cart-totals-block {
    padding: 20px 18px;
  }
  .wc-block-checkout__main .wc-block-components-checkout-step {
    padding: 18px 16px;
  }
  .woocommerce-order .woocommerce-order-overview {
    gap: 16px;
    padding: 18px;
  }
  .wc-block-cart__submit-button,
  .wc-block-components-checkout-place-order-button {
    width: 100%;
  }
}

.wp-block-woocommerce-checkout-order-summary-block
  .checkout-order-summary-block-fill {
  border: 0 !important;
}

.wc-block-checkout__form--with-step-numbers
  .wc-block-components-checkout-step--with-step-number
  .wc-block-components-checkout-step__content:before,
.wc-block-checkout__form--with-step-numbers
  .wc-block-components-checkout-step--with-step-number
  .wc-block-components-checkout-step__description:before,
.wc-block-checkout__form--with-step-numbers
  .wc-block-components-checkout-step--with-step-number
  .wc-block-components-checkout-step__title:before {
  display: none;
}

.wp-block-woocommerce-checkout-order-summary-block {
  border: 0 !important;
}

/* ==========================================================================
   WOOCOMMERCE BLOCKS — VERSIONE SCURA (Carrello, Checkout, Thank you)
   Le regole base (senza prefisso) sono pensate per il tema chiaro.
   Qui sovrascriviamo per body:not(.theme-light), riusando la palette scura
   già in uso nel resto del sito (glass-bg / glass-border / bianco).
   ========================================================================== */

/* --- Variabili blocchi Woo in dark --- */
body:not(.theme-light) .wp-block-woocommerce-cart,
body:not(.theme-light) .wp-block-woocommerce-checkout,
body:not(.theme-light) .woocommerce-order-received .woocommerce {
  --wc-form-color-text: #ffffff;
  --wc-form-color-background: rgba(255, 255, 255, 0.05);
  --wc-form-border-color: rgba(255, 255, 255, 0.15);
  --wc-input-border-color: rgba(255, 255, 255, 0.15);
}
body:not(.theme-light) .wp-block-woocommerce-cart,
body:not(.theme-light) .wp-block-woocommerce-checkout {
  color: #ffffff;
}

/* Titoli sezione */
body:not(.theme-light) .wp-block-woocommerce-cart .wc-block-components-title,
body:not(.theme-light)
  .wp-block-woocommerce-checkout
  .wc-block-components-title,
body:not(.theme-light) .wp-block-woocommerce-cart h1,
body:not(.theme-light) .wp-block-woocommerce-cart h2,
body:not(.theme-light) .wp-block-woocommerce-checkout h1,
body:not(.theme-light) .wp-block-woocommerce-checkout h2 {
  color: #ffffff;
}

/* Lista prodotti nel carrello */
body:not(.theme-light)
  .wp-block-woocommerce-cart-line-items-block
  .wc-block-cart-items,
body:not(.theme-light) .wc-block-cart .wc-block-cart-items {
  background: var(--glass-bg);
}
body:not(.theme-light) .wc-block-cart-items__header {
  border-bottom-color: var(--glass-border);
}
body:not(.theme-light) .wc-block-cart-items__header th,
body:not(.theme-light)
  .wc-block-cart-items__header
  .wc-block-cart-items__header-image,
body:not(.theme-light)
  .wc-block-cart-items__header
  .wc-block-cart-items__header-product {
  color: rgba(255, 255, 255, 0.55);
}
body:not(.theme-light) .wc-block-cart-items__row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Nome prodotto, thumbnail, prezzo */
body:not(.theme-light) .wc-block-cart-item__product-name,
body:not(.theme-light) .wc-block-components-product-name {
  color: #ffffff;
}
body:not(.theme-light) .wc-block-components-product-name:hover {
  color: #ff5c00;
}
body:not(.theme-light) .wc-block-cart-item__image img,
body:not(.theme-light) .wc-block-cart-items__row img {
  background: rgba(255, 255, 255, 0.05);
}
body:not(.theme-light)
  .wc-block-cart-item__prices
  .wc-block-components-product-price__value,
body:not(.theme-light) .wc-block-components-product-price__value {
  color: #ffffff;
}

/* Stepper quantità + rimuovi */
body:not(.theme-light) .wc-block-components-quantity-selector {
  background: rgba(255, 255, 255, 0.05);
}
body:not(.theme-light) .wc-block-components-quantity-selector__button {
  color: #ffffff;
}
body:not(.theme-light) .wc-block-components-quantity-selector__button:hover {
  color: #ff5c00;
}
body:not(.theme-light) .wc-block-components-quantity-selector__input {
  color: #ffffff;
}
body:not(.theme-light) .wc-block-cart-item__remove-link {
  color: rgba(255, 255, 255, 0.5);
}
body:not(.theme-light) .wc-block-cart-item__remove-link:hover {
  color: #ff5c00;
}

/* Totali / riepilogo ordine */
body:not(.theme-light) .wp-block-woocommerce-cart-totals-block,
body:not(.theme-light) .wc-block-components-totals-wrapper,
body:not(.theme-light)
  .wc-block-checkout__sidebar
  .wc-block-components-order-summary,
body:not(.theme-light) .wp-block-woocommerce-checkout-totals-block {
  background: var(--glass-bg);
}
body:not(.theme-light) .wc-block-components-totals-item {
  color: #ffffff;
}
body:not(.theme-light) .wc-block-components-totals-item__label {
  color: rgba(255, 255, 255, 0.7);
}
body:not(.theme-light) .wc-block-components-totals-item__value {
  color: #ffffff;
}
body:not(.theme-light) .wc-block-components-totals-item__description {
  color: rgba(255, 255, 255, 0.5);
}
body:not(.theme-light) .wc-block-components-totals-wrapper {
  border-color: var(--glass-border);
}

/* Coupon */
body:not(.theme-light)
  .wc-block-components-totals-coupon__form
  .wc-block-components-text-input
  input {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}
body:not(.theme-light) .wc-block-components-totals-coupon__button {
  background: #ff5c00 !important;
  color: #1a1712 !important;
}
body:not(.theme-light) .wc-block-components-panel__button {
  color: #ffffff;
}

/* Bottone cross-sell "aggiungi al carrello" nei related/upsell */
body:not(.theme-light) .wp-block-woocommerce-cart .wp-block-button__link,
body:not(.theme-light) .wc-block-grid__product .wp-block-button__link,
body:not(.theme-light)
  .wc-block-components-product-button
  .wc-block-components-button {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
body:not(.theme-light)
  .wc-block-components-product-button
  .wc-block-components-button:hover {
  background: #ff5c00;
  color: #1a1712;
}

/* Step del form checkout */
body:not(.theme-light)
  .wc-block-checkout__main
  .wc-block-components-checkout-step {
  background: var(--glass-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body:not(.theme-light) .wc-block-components-checkout-step__title {
  color: #ffffff;
}
body:not(.theme-light) .wc-block-components-checkout-step__heading-content {
  color: rgba(255, 255, 255, 0.6);
}
body:not(.theme-light) .wc-block-components-checkout-step__title-number {
  background: #ff5c00 !important;
  color: #1a1712 !important;
}

/* Input, select, textarea */
body:not(.theme-light) .wc-block-components-text-input input,
body:not(.theme-light) .wc-block-components-text-input textarea,
body:not(.theme-light)
  .wc-block-components-select
  .wc-blocks-components-select__container,
body:not(.theme-light) .wc-block-components-address-form input,
body:not(.theme-light) .wc-block-checkout .components-form-token-field__input {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}
body:not(.theme-light) .wc-block-components-text-input input:focus,
body:not(.theme-light) .wc-block-components-address-form input:focus {
  border-bottom-color: #ff5c00 !important;
}
body:not(.theme-light) .wc-block-components-text-input label,
body:not(.theme-light) .wc-block-components-checkout-step__description {
  color: rgba(255, 255, 255, 0.6);
}
body:not(.theme-light) .wc-block-components-radio-control__option {
  border-color: rgba(255, 255, 255, 0.14);
}
body:not(.theme-light) .wc-block-components-radio-control__option--checked {
  border-color: #ff5c00;
}
body:not(.theme-light) .wc-block-components-address-card {
  background: rgba(255, 255, 255, 0.05);
}
body:not(.theme-light) .wc-block-components-radio-control__option {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

/* --- Thank you / order received in dark --- */
body:not(.theme-light) .woocommerce-order {
  color: #ffffff;
}
body:not(.theme-light) .woocommerce-order .woocommerce-notice--success,
body:not(.theme-light) .woocommerce-thankyou-order-received {
  color: #ffffff;
}
body:not(.theme-light) .woocommerce-order .woocommerce-order-overview {
  border-top-color: rgba(255, 255, 255, 0.12);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
body:not(.theme-light) .woocommerce-order .woocommerce-order-overview li {
  color: rgba(255, 255, 255, 0.5);
}
body:not(.theme-light)
  .woocommerce-order
  .woocommerce-order-overview
  li
  strong {
  color: #ffffff;
}
body:not(.theme-light) .woocommerce-order h2,
body:not(.theme-light) .woocommerce-order .woocommerce-order-details__title,
body:not(.theme-light) .woocommerce-order .woocommerce-column__title {
  color: #ffffff;
}
body:not(.theme-light) .woocommerce-order .woocommerce-table--order-details th,
body:not(.theme-light) .woocommerce-order .woocommerce-table--order-details td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
body:not(.theme-light)
  .woocommerce-order
  .woocommerce-table--order-details
  thead
  th {
  color: rgba(255, 255, 255, 0.5);
}
body:not(.theme-light)
  .woocommerce-order
  .woocommerce-table--order-details
  td.woocommerce-table__product-name {
  color: #ffffff;
}
body:not(.theme-light)
  .woocommerce-order
  .woocommerce-table--order-details
  .product-quantity {
  color: rgba(255, 255, 255, 0.55);
}
body:not(.theme-light) .woocommerce-order .woocommerce-table--order-details a {
  color: #ffffff;
}
body:not(.theme-light)
  .woocommerce-order
  .woocommerce-table--order-details
  a:hover {
  color: #ff5c00;
}
body:not(.theme-light)
  .woocommerce-order
  .woocommerce-table--order-details
  tfoot
  th {
  color: rgba(255, 255, 255, 0.6);
}
body:not(.theme-light)
  .woocommerce-order
  .woocommerce-table--order-details
  tfoot
  .amount {
  color: #ffffff;
}
body:not(.theme-light)
  .woocommerce-order
  .woocommerce-table--order-details
  tfoot
  .order-total
  th {
  color: #ffffff;
}
body:not(.theme-light)
  .woocommerce-order
  .woocommerce-customer-details
  address {
  color: #ffffff;
}

@media (max-width: 780px) {
  /* nessuna eccezione responsive necessaria: eredita i colori sopra */
}

.editor-styles-wrapper
  table.wc-block-cart-items
  .wc-block-cart-items__row
  .wc-block-components-product-name,
table.wc-block-cart-items
  .wc-block-cart-items__row
  .wc-block-components-product-name {
  display: block;
  font-size: 24px;
  font-family: "DM Sans";
}


/* ==========================================================================
   CONTATTI PAGE
   ========================================================================== */
.contact-main {
  padding: 100px 0 110px;
  position: relative;
}
.contact-main-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 18px;
  margin-top:0;
}
.contact-intro {
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  font-size: 1.02rem;
  margin: 0 0 40px;
  max-width: 420px;
}
body.theme-light .contact-intro {
  color: rgba(26,23,18,0.68);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--white);
  transition: background 0.3s, transform 0.3s var(--ease-smooth);
}
.contact-info-item:hover {
  background: var(--glass-bg);
  transform: translateX(6px);
}
.contact-info-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,92,0,0.12);
  color: var(--orange);
}
.contact-info-icon svg {
  width: 20px;
  height: 20px;
}
.contact-info-text {
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.contact-info-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 4px;
}
body.theme-light .contact-info-text {
  color: rgba(26,23,18,0.85);
}

.contact-hours {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}
body.theme-light .contact-hours {
  color: rgba(26,23,18,0.6);
}
.contact-hours-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7CFF6B;
  box-shadow: 0 0 8px #7CFF6B;
  flex-shrink: 0;
}

/* Riuso .lead-form ma con variante per pagina scura/chiara (non è più
   sempre su sfondo arancione come nella home CTA). */
.contact-form.lead-form {
  background: var(--cream, #FFF5E6);
  box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}
.contact-form .form-field select,
.contact-form .form-field textarea {
  background: #fff;
  border: 1.5px solid rgba(26,23,18,0.14);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #1A1712;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  width: 100%;
  resize: vertical;
}
.contact-form .form-field select:focus,
.contact-form .form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,92,0,0.12);
}
.contact-form .form-submit {
  background: var(--orange);
}

@media (max-width: 900px) {
  .contact-main-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 560px) {
  .contact-main {
    padding: 70px 0 80px;
  }
  
  body #hero {
      flex-direction: column;
  }
}

.contact-map-section {
  padding: 0 0 110px;
}
.contact-map-wrap {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  filter: grayscale(0.15) contrast(1.05);
}
.contact-map-wrap iframe {
  display: block;
}



/* ==========================================================================
   BLOG — archivio (home.php) e singolo articolo (single.php)
   ========================================================================== */
.kalej-blog { position: relative; overflow: hidden; }
.kalej-blog-orb { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; pointer-events: none; }
.kalej-blog-orb-a { top: 10%; right: -10%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(255,92,0,0.16), transparent 70%); }
.kalej-blog-orb-b { bottom: 0; left: -12%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,138,61,0.14), transparent 70%); }

/* Griglia articoli */
.blog-archive { padding: 90px 0 110px; position: relative; z-index: 1; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s, box-shadow 0.4s;
}
.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,92,0,0.4);
  box-shadow: 0 30px 60px rgba(255,92,0,0.12);
}
.blog-card-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-smooth); }
.blog-card:hover .blog-card-img { transform: scale(1.06); }
.blog-card-img--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #2a1a12, #0f0906);
  color: rgba(255,255,255,0.15);
  font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: 0.12em;
}
.blog-card-tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(13,13,13,0.7); color: var(--orange);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.blog-card-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.blog-card-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.blog-card-title {
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15;
  text-transform: uppercase; margin: 0 0 10px;
}
.blog-card-title a { color: var(--white); text-decoration: none; transition: color 0.3s; }
.blog-card-title a:hover { color: var(--orange); }
.blog-card-excerpt { color: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.6; margin: 0 0 18px; flex: 1; }
.blog-card-link {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.blog-card-link .arrow { transition: transform 0.3s var(--ease-bounce); }
.blog-card-link:hover .arrow { transform: translateX(4px); }
body.theme-light .blog-card { background: rgba(255,251,243,0.7); border-color: rgba(26,23,18,0.1); }
body.theme-light .blog-card-title a { color: #1A1712; }
body.theme-light .blog-card-excerpt { color: rgba(26,23,18,0.65); }
body.theme-light .blog-card-meta { color: rgba(26,23,18,0.4); }

/* Paginazione */
.blog-pagination { display: flex; justify-content: center; margin-top: 60px; }
.blog-pagination .nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--glass-border);
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.85rem; transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--orange); border-color: var(--orange); color: #fff;
}
body.theme-light .blog-pagination .page-numbers { color: rgba(26,23,18,0.6); border-color: rgba(26,23,18,0.15); }

.blog-empty { text-align: center; padding: 60px 0; color: rgba(255,255,255,0.5); }

/* ============ SINGLE POST ============ */
.single-post-hero .about-hero-title { font-size: clamp(2.2rem,5.5vw,4.4rem); }
.single-post-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 22px;
}
.single-post-author { display: inline-flex; align-items: center; gap: 8px; }
.single-post-avatar { border-radius: 50%; }
.single-post-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.single-post-body { padding: 90px 0 60px; }
.single-post-layout { max-width: 760px; margin: 0 auto; }

.single-post-content {
  font-family: var(--font-body);
  font-size: 1.08rem; line-height: 1.85;
  color: rgba(255,255,255,0.78);
}
.single-post-content h2 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.8rem; color: var(--white); margin: 48px 0 18px;
}
.single-post-content h3 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.4rem; color: var(--white); margin: 36px 0 14px;
}
.single-post-content p { margin: 0 0 22px; }
.single-post-content a { color: var(--orange); text-decoration: underline; text-decoration-color: rgba(255,92,0,0.3); }
.single-post-content a:hover { text-decoration-color: var(--orange); }
.single-post-content img { max-width: 100%; height: auto; border-radius: 16px; margin: 30px 0; }
.single-post-content blockquote {
  font-family: var(--font-serif); font-style: italic; font-size: 1.3rem;
  color: var(--orange); border-left: 3px solid var(--orange);
  padding-left: 22px; margin: 36px 0;
}
.single-post-content ul, .single-post-content ol { margin: 0 0 22px 20px; }
.single-post-content li { margin-bottom: 8px; }
body.theme-light .single-post-content { color: rgba(26,23,18,0.75); }
body.theme-light .single-post-content h2,
body.theme-light .single-post-content h3 { color: #1A1712; }

.single-post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.single-post-tag {
  font-size: 0.78rem; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--glass-border); color: rgba(255,255,255,0.6);
  text-decoration: none; transition: border-color 0.3s, color 0.3s;
}
.single-post-tag:hover { border-color: var(--orange); color: var(--orange); }

.single-post-author-box {
  display: flex; gap: 20px; align-items: flex-start;
  margin-top: 60px; padding: 28px; border-radius: 20px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
}
.single-post-author-avatar { border-radius: 50%; flex-shrink: 0; }
.single-post-author-label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.single-post-author-name { font-family: var(--font-display); font-size: 1.2rem; margin: 4px 0 8px; color: var(--white); }
.single-post-author-bio { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0; }
body.theme-light .single-post-author-box { background: rgba(255,251,243,0.6); border-color: rgba(26,23,18,0.1); }
body.theme-light .single-post-author-name { color: #1A1712; }
body.theme-light .single-post-author-bio { color: rgba(26,23,18,0.6); }

.single-post-nav-section { padding: 0 0 90px; }
.single-post-nav {
  max-width: 760px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.single-post-nav-item {
  display: flex; align-items: center; gap: 14px;
  padding: 20px; border-radius: 16px;
  border: 1px solid var(--glass-border); text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}
.single-post-nav-item:hover { border-color: var(--orange); background: var(--glass-bg); }
.single-post-nav-next { justify-content: flex-end; text-align: right; }
.single-post-nav-arrow { font-size: 1.2rem; color: var(--orange); flex-shrink: 0; }
.single-post-nav-label { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.single-post-nav-title { display: block; font-size: 0.95rem; color: var(--white); font-weight: 500; }
body.theme-light .single-post-nav-title { color: #1A1712; }
body.theme-light .single-post-nav-label { color: rgba(26,23,18,0.4); }

.single-post-related { padding-top: 0; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .single-post-nav { grid-template-columns: 1fr; }
  .single-post-nav-next { justify-content: flex-start; text-align: left; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-archive { padding: 60px 0 80px; }
  .single-post-body { padding: 60px 0 40px; }
}