/* ============================================================
   TIRAMO – Main Stylesheet
   Design source: Figma K9eqWKH1OJ3BNRHxpQ0OOm / node 31:4
   ============================================================ */

/* ─── FONTS ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'Wajory Musika';
  src: url('../font/wajorymusika-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wajory Musika';
  src: url('../font/wajorymusika-italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Aima Display';
  src: url('../font/AimadisplayRegular-eZDO6.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aima Signature';
  src: url('../font/AimasignatureRegular-WyXeE.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─── VARIABLES ──────────────────────────────────────────────── */
:root {
  --color-black:        #000000;
  --color-brown:        #8D6D52;
  --color-brown-dark:   #654a33;
  --color-green:        #94CC88;
  --color-green-light:  #CEE4B6;
  --color-orange:       #E7A571;
  --color-hero:         #c47535;
  --color-beige:        #e8d4b8;
  --color-gold:         #FBB650;
  --color-white:        #FFFFFF;
  --color-cream:        #fff5e7;
  --color-card:         #f5edd8;
  --color-text-cream:   #f3ede4;
  --color-text-light:   #faf3ea;
  --color-text-footer:  #f5edd8;

  --font-display:   'Wajory Musika', 'Aima Display', serif;
  --font-signature: 'Wajory Musika', 'Aima Signature', cursive;
  --font-body:      'Poppins', sans-serif;

  --max-w: 1920px;
  --section-pad-x: clamp(20px, 10.4vw, 200px);
  --section-pad-y: clamp(60px, 6vw, 120px);
}

/* ─── RESET / BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-cream);
  color: var(--color-black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}


/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 5vw;  /* solid colour strip seals the hero–wave gap */
  overflow: hidden;
  background-color: var(--color-hero);
}

.hero__bg {
  position: relative;
  width: 100%;
}

.hero__bg-img {
  width: 100%;
  height: auto;
  object-fit: unset;
  object-position: center;
  display: block;
  transform: translateY(-102px);

}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 5vw;  /* match hero padding-bottom so text stays in the image area */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 4.5vw, 86px) var(--section-pad-x) clamp(40px, 8vw, 160px);
  z-index: 2;
}

.hero__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 2vw, 36px);
  transform: translateY(-5vh);
}

.hero__logo {
  width: clamp(50px, 4.1vw, 79px);
  height: auto;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(27px, 6.4vw, 120px);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  color: var(--color-text-light);
  letter-spacing: -0.01em;
}

.hero__bottom {
  text-align: center;
  padding-bottom: clamp(40px, 6vw, 120px);
  font-weight: 360;
  margin-top: auto;
  padding-top: clamp(40px, 10vw, 120px);
}

.hero__question {
  font-family: var(--font-body);
  font-size: clamp(20px, 3.15vw, 60px);
  font-weight: inherit;
  color: var(--color-text-light);
  line-height: 1.2;
}

.hero__tagline {
  font-family: 'Wajory Musika', serif;
  font-style: italic;
  font-size: clamp(56px, 6.7vw, 121px);
  font-weight: inherit;
  color: var(--color-text-light);
  line-height: 1.08;
  word-wrap: break-word;
  margin-top: 0.1em;
}

/* Hands product image — enters from left edge, sits in front of title */
.hero__hands-img {
  position: absolute;
  bottom: 0;
  left: -5vw;   /* wrist bleeds further off-screen left */
  width: clamp(975px, 138vw, 2700px);
  height: auto;
  z-index: 1;   /* behind text overlay at z-index: 2 */
  pointer-events: none;
  display: block;
  user-select: none;
}


/* ═══════════════════════════════════════════════════════════════
   PRODUCT SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.product {
  --product-photo-scale: 0.9;
  --product-photo-float-y: 14px;
  --canvas-height-collapsed: clamp(820px, 70vw, 1280px);
  --canvas-height-expanded: clamp(940px, 84vw, 1600px);
  --wave-width: 100vw;
  --wave-height: 0px;
  --wave-top: 0px;
  --wave-width-expanded: var(--wave-width);
  --wave-height-expanded: var(--wave-height);
  --wave-top-expanded: var(--wave-top);
  position: relative;
  isolation: isolate;
  overflow: visible;
  background-color: transparent;
}

.product::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--product-bg, transparent);
}

.product::after {
  content: '';
  position: absolute;
  top: var(--wave-top);
  left: 50%;
  width: var(--wave-width);
  height: var(--wave-height);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
}

/* ─── CHOCOLATE SECTION — ART-DIRECTED ──────────────────────── */
.product--chocolate {
  --canvas-height-collapsed: clamp(820px, 70vw, 1280px);
  --canvas-height-expanded: clamp(940px, 84vw, 1600px);
  --image-top-collapsed: clamp(50px, 6.8vw, 130px);
  --image-top-expanded: clamp(84px, 9.4vw, 168px);
  position: relative;
  
  margin-top: -13%;
  z-index: 2;
  overflow: visible;
}

/* Wave SVG — overflows viewport on both sides so no edge ever shows */
.product--chocolate::before {
  content: '';
  position: absolute;
  top: -2.6vw;
  left: -5%;
  right: -5%;
  bottom: 0;
  background: url('../public/CHOCOLATE BACK ELEMENT.svg') top center / 100% 100% no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* Canvas: absolute-positioning reference frame */
.product__canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 5%;
  box-sizing: border-box;
  height: var(--canvas-height-collapsed);
  transition: height 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: visible;
}

.product.is-details-open .product__canvas {
  height: var(--canvas-height-expanded);
}

.product.is-details-open {
  position: relative;
  z-index: 12;
}

.product.is-details-open .product__text-col,
.product.is-details-open .ingredient-panel {
  z-index: 4;
}

.product.is-details-open .ingredient-panel {
  position: relative;
}

@keyframes product-photo-float {
  0% {
    transform: translateY(0) scale(var(--product-photo-scale));
  }
  50% {
    transform: translateY(calc(var(--product-photo-float-y) * -1)) scale(var(--product-photo-scale));
  }
  100% {
    transform: translateY(0) scale(var(--product-photo-scale));
  }
}

.product__photo {
  animation: product-photo-float 5.8s ease-in-out infinite;
  will-change: transform;
}

.product--mango .product__photo {
  animation-duration: 6.4s;
  animation-delay: -1s;
}

.product--bueno .product__photo {
  animation-duration: 5.2s;
  animation-delay: -0.6s;
}




/* ─── Chocolate text column: absolute left block ─────────────── */
/* Figma: x=201 (10.5vw), title 136px below section top          */
.product--chocolate .product__text-col {
  position: absolute;
  top: clamp(80px, 7.1vw, 136px);
  left: max(clamp(20px, 10.5vw, 201px), calc((100% - var(--max-w)) / 2 + 201px));
  width: clamp(320px, 39.1vw, 751px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 34px);
  padding: 0;
  justify-content: flex-start;
  z-index: 3;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ─── Chocolate image column: oversized art-directed hero ────── */
/* PNG is 1536×1024 with transparent padding; overscale and      */
/* offset manually to match Figma placement.                     */
.product--chocolate .product__image-col {
  position: absolute;
  top: var(--image-top-collapsed);
  right: 5%;
  width: clamp(780px, 72vw, 1380px);
  height: clamp(520px, 48vw, 920px);
  transition: top 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: visible;
  z-index: 2;
}

.product--chocolate.is-details-open .product__image-col {
  top: var(--image-top-expanded);
}

.product--chocolate .product__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
}

/* Photo: negative top pulls visible cup past transparent PNG padding */
.product--chocolate .product__photo {
  position: absolute;
  top: 12%;
  right: -2%;
  height: 88%;
  width: 108%;
  max-width: none;
  object-fit: contain;
  object-position: top right;
  z-index: 1;
}

/* Shadow: sits under enlarged cup base                          */
.product--chocolate .product__shadow-img {
  position: absolute;
  top: 78%;
  left: 32%;
  bottom: auto;
  transform: none;
  width: 52%;
  height: auto;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

/* Product title (grid sections) */
.product__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.8vw, 112px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--color-brown-dark);
  letter-spacing: -0.01em;
}

/* ─── Chocolate title: Wajory Musika Regular (via Aima Display) ─ */
.product--chocolate .product__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(64px, 8.5vw, 134px);
  line-height: 144px;
  letter-spacing: -0.01em;
  color: var(--color-brown-dark);
  max-width: none;
  white-space: nowrap;
}

/* Product description (grid sections) */
.product__desc {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(14px, 1.35vw, 26px);
  line-height: 1.2;
  color: var(--color-brown-dark);
  max-width: 560px;
}

/* ─── Chocolate description ──────────────────────────────────── */
.product--chocolate .product__desc {
  font-style: normal;
  font-size: clamp(14px, 1.46vw, 28px);
  line-height: 1.35;
  max-width: clamp(260px, 31.3vw, 600px);
}


/* ═══════════════════════════════════════════════════════════════
   INGREDIENT TOGGLE MODULE
   ═══════════════════════════════════════════════════════════════ */
.product-ingredients {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.2vw, 22px);
  width: 100%;
}

.ingredient-toggle {
  --toggle-bg: var(--color-brown-dark);
  --toggle-fg: var(--color-text-cream);
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--toggle-bg);
  color: var(--toggle-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(13px, 1vw, 18px);
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  width: fit-content;
  min-width: clamp(150px, 10vw, 196px);
  padding: clamp(12px, 0.9vw, 16px) clamp(16px, 1.3vw, 24px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.8vw, 14px);
  box-shadow: 0 8px 18px rgba(101,74,51,0.18);
  transition: transform 0.22s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease;
}

.ingredient-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(101,74,51,0.2);
}

.ingredient-toggle:focus-visible {
  outline: 2px solid var(--color-brown-dark);
  outline-offset: 3px;
}

.ingredient-toggle__icon {
  width: 1.05em;
  height: 1.05em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.24s ease;
}

.product-ingredients.is-open .ingredient-toggle {
  --toggle-bg: var(--color-card);
  --toggle-fg: var(--color-brown-dark);
  box-shadow: 0 8px 20px rgba(101,74,51,0.14);
}

.product-ingredients.is-open .ingredient-toggle__icon {
  transform: rotate(-135deg) translateY(-1px);
}

.ingredient-panel {
  height: 0;
  overflow: clip;
  opacity: 0;
  transform: translateY(-10px);
  transition: height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.36s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: height, opacity, transform;
}

.ingredient-panel[hidden] {
  display: block;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
}

.ingredient-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.ingredient-panel__inner {
  padding-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .ingredient-toggle,
  .ingredient-toggle__icon,
  .ingredient-panel {
    transition-duration: 0.01ms !important;
  }

  .product__photo {
    animation: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   INGREDIENT CARD
   ═══════════════════════════════════════════════════════════════ */
.ingredient-card {
  background-color: var(--color-card);
  border-radius: clamp(24px, 3.1vw, 60px);
  box-shadow: 0 4px 4px rgba(0,0,0,0.10);
  padding: clamp(20px, 2.2vw, 42px) clamp(16px, 1.5vw, 28px) clamp(28px, 3vw, 56px) clamp(20px, 2.2vw, 42px);
  max-width: 751px;
  width: 100%;
}

/* Chocolate variant — Figma: 751×584px, border-radius 59.9px   */
.ingredient-card--choc {
  border-radius: clamp(28px, 3.1vw, 60px);
  padding: clamp(22px, 2.2vw, 42px) clamp(20px, 2.2vw, 42px) clamp(32px, 3vw, 58px);
  max-width: clamp(340px, 39.1vw, 751px);
}

.ingredient-card__title {
  font-family: var(--font-body);
  font-size: clamp(20px, 1.87vw, 36px);
  font-weight: 600;
  color: var(--color-brown-dark);
  margin-bottom: clamp(12px, 1.5vw, 28px);
}


/* ─── INGREDIENT ICONS (shared) ──────────────────────────────── */
.ingredient-card__icons {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: nowrap;
  margin-bottom: clamp(14px, 1.5vw, 28px);
}

.ingredient {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: clamp(4px, 0.5vw, 8px);
}

/* Icon wrapper: 110×110px reference space */
.ingredient__icon-wrap {
  position: relative;
  width: clamp(56px, 5.72vw, 110px);
  height: clamp(56px, 5.72vw, 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* ─── INGREDIENT ICON SYSTEM ─────────────────────────────────── */

/* Rotator: the 88px element that gets the -16.81deg tilt         */
.ingredient__icon-rotator {
  width: clamp(45px, 4.58vw, 88px);
  height: clamp(45px, 4.58vw, 88px);
  transform: rotate(-16.81deg);
  position: relative;
  flex-shrink: 0;
}

/* Single pre-composited SVG icon (mascarpone, vrhnje, jaja,
   savoiardi-base, daim-base)                                    */
.ingredient__icon-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  max-width: none;
}


/* Ingredient label */
.ingredient__label {
  font-family: var(--font-body);
  font-size: clamp(10px, 0.8vw, 15px);
  font-weight: 500;
  color: var(--color-brown-dark);
  text-align: center;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.ingredient__label--no-break {
  white-space: nowrap;
}


/* ─── NUTRITION TABLE ────────────────────────────────────────── */
.nutrition {
  margin-top: clamp(16px, 1.8vw, 34px);
}

.nutrition__row {
  display: flex;
  align-items: baseline;
  padding: clamp(3px, 0.35vw, 6px) 0;
}

.nutrition__label {
  order: 1;
  flex-shrink: 0;
}

.nutrition__row::after {
  content: '';
  order: 2;
  flex: 1;
  border-bottom: 1px solid rgba(101,74,51,0.22);
  min-width: 20px;
  margin: 0 clamp(6px, 0.6vw, 12px);
  position: relative;
  bottom: 0.25em;
}

.nutrition__label,
.nutrition__value {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.25vw, 24px);
  font-weight: 700;
  color: var(--color-brown-dark);
  line-height: 1.39;
}

.nutrition__value {
  order: 3;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}


/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta {
  background-color: var(--color-cream);
  text-align: center;
  padding: clamp(60px, 8vw, 140px) var(--section-pad-x) clamp(60px, 8vw, 160px);
}

.cta__title {
  display: block;
  width: 100%;
  background-color: var(--color-cream);
  text-align: center;
  padding: clamp(80px, 12vw, 220px) var(--section-pad-x) clamp(60px, 8vw, 140px);
  font-family: 'Wajory Musika', serif;
  font-size: 134px;
  font-weight: 400;
  line-height: 144px;
  color: var(--color-brown-dark);
  letter-spacing: -0.01em;
  word-wrap: break-word;
}

.cta__lead {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 134px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-brown-dark);
  letter-spacing: -0.01em;
  margin-bottom: clamp(16px, 2vw, 36px);
}

.cta__service-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 72px);
  flex-wrap: wrap;
}

.cta__service-logo {
  width: auto;
  height: auto;
  max-height: clamp(24px, 3.4vw, 46px);
  object-fit: contain;
}

.cta__service-logo--wolt {
  width: clamp(76px, 7.2vw, 142px);
}

.cta__service-logo--glovo {
  width: clamp(84px, 8vw, 158px);
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-brown-dark);
  color: var(--color-text-cream);
  font-family: var(--font-body);
  font-size: clamp(11px, 0.75vw, 14px);
  font-weight: 700;
  letter-spacing: 0.08em;
  width: clamp(80px, 6.5vw, 124px);
  padding: clamp(7px, 0.7vw, 13px) clamp(10px, 1.1vw, 20px);
  border-radius: 100px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  cursor: pointer;
  white-space: nowrap;
}

.cta__btn:hover {
  background-color: var(--color-brown);
  transform: translateY(-1px);
}


/* ═══════════════════════════════════════════════════════════════
   PARTNERS SECTION
   ═══════════════════════════════════════════════════════════════ */
.partners {
  background-color: var(--color-cream);
  padding: clamp(40px, 5vw, 100px) 0 clamp(40px, 5vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 40px);
}

.partners__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 134px);
  font-weight: 400;
  line-height: 144px;
  color: var(--color-brown-dark);
  text-align: center;
  letter-spacing: -0.01em;
  padding: 0 var(--section-pad-x);
}

/* ─── Partner row ─────────────────────────────────────────────── */
.partner-row {
  padding: clamp(8px, 1vw, 20px) 0;
  border-top: 1.5px solid rgba(101,74,51,0.15);
  border-bottom: 1.5px solid rgba(101,74,51,0.15);
  background-color: var(--color-beige);
}

.partner-row + .partner-row {
  margin-top: 0;
}

.partner-row__header {
  padding: clamp(6px, 0.8vw, 14px) clamp(16px, 1.5vw, 30px);
}

.partner-row__region {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.1vw, 20px);
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-black);
}

/* ─── Marquee ────────────────────────────────────────────────── */
.partner-row__outer {
  overflow: hidden;
  width: 100%;
  padding: clamp(8px, 1vw, 16px) 0;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.partner-row__track {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.7vw, 25px);
  width: max-content;
  animation: marquee 30s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  transform: translate3d(0, 0, 0);
}

.partner-row__track:hover {
  animation-play-state: paused;
}

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

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

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

/* Kvarner (4 sets) */
/* Stagger start positions so logos don't line up across rows.
   Durations are proportional to logo count for same pixel speed:
   Slavonija 8 logos = 30s, Kvarner 10 = 37.5s, Zagreb 6 = 22.5s, Zadar 5 = 18.75s */
.partner-row:nth-child(2) .partner-row__track {
  animation-duration: 30s;
  animation-delay: 0s;
}

.partner-row:nth-child(3) .partner-row__track {
  animation-duration: 37.5s;
  animation-delay: -9.4s;
}

.partner-row:nth-child(4) .partner-row__track {
  animation-duration: 22.5s;
  animation-delay: -5.6s;
}

.partner-row:nth-child(5) .partner-row__track {
  animation-duration: 18.75s;
  animation-delay: -4.7s;
}

/* Partner logos */
.partner-logo {
  height: clamp(48px, 5.6vw, 107px);
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  backface-visibility: hidden;
  will-change: auto;
}

.partner-logo--wide {
  height: clamp(44px, 4.8vw, 92px);
  width: auto;
  max-width: clamp(100px, 12vw, 230px);
  object-fit: contain;
}

.partner-logo--round {
  height: clamp(48px, 4.8vw, 93px);
  width: clamp(48px, 4.8vw, 93px);
  object-fit: cover;
  border-radius: 50%;
}

.partner-star {
  width: clamp(14px, 1.3vw, 25px);
  height: clamp(14px, 1.3vw, 25px);
  object-fit: contain;
  flex-shrink: 0;
}

.partner-text {
  font-family: var(--font-body);
  font-size: clamp(11px, 0.74vw, 14px);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-black);
  white-space: nowrap;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   B2B CONTACT SECTION
   ═══════════════════════════════════════════════════════════════ */
.b2b {
  background-color: var(--color-cream);
  padding: clamp(60px, 8vw, 160px) var(--section-pad-x);
}

.b2b__inner {
  max-width: 820px;
  margin: 0 auto;
}

.b2b__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 134px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-brown-dark);
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: clamp(8px, 1vw, 18px);
}

.b2b__subtitle {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 42px);
  font-weight: 400;
  font-style: italic;
  color: var(--color-brown-dark);
  text-align: center;
  margin-bottom: clamp(28px, 3vw, 56px);
}

/* Form grid: 2 columns, full-width rows for first 2 fields */
.b2b__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 36px);
}

.b2b__field {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.6vw, 10px);
}

.b2b__field--full {
  grid-column: 1 / -1;
}

.b2b__label {
  font-family: var(--font-body);
  font-size: clamp(10px, 0.7vw, 13px);
  font-weight: 600;
  color: var(--color-brown-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.b2b__input {
  width: 100%;
  height: clamp(44px, 3.6vw, 68px);
  background: var(--color-beige);
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: clamp(14px, 1vw, 18px);
  color: var(--color-brown-dark);
  padding: 0 clamp(16px, 1.5vw, 28px);
  transition: box-shadow 0.2s;
  outline: none;
}

.b2b__input:focus {
  box-shadow: 0 0 0 2px var(--color-brown-dark);
}

.b2b__submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: clamp(12px, 1.5vw, 28px);
}

.b2b__submit {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 14px);
  background-color: var(--color-brown-dark);
  color: var(--color-text-cream);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.2vw, 22px);
  font-weight: 600;
  padding: clamp(10px, 1vw, 18px) clamp(10px, 1vw, 18px) clamp(10px, 1vw, 18px) clamp(32px, 3vw, 56px);
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  letter-spacing: 0.02em;
}

.b2b__submit-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2b__submit-arrow img {
  width: clamp(32px, 2.8vw, 52px);
  height: clamp(32px, 2.8vw, 52px);
  object-fit: contain;
}

.b2b__submit:hover {
  background-color: var(--color-brown);
  transform: translateY(-1px);
}

.b2b__submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.b2b__gdpr-row {
  align-items: flex-start;
}

.b2b__gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, 0.8vw, 14px);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: clamp(12px, 0.85vw, 15px);
  font-weight: 500;
  color: var(--color-brown-dark);
  line-height: 1.45;
}

.b2b__gdpr-checkbox {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 2px solid var(--color-brown-dark);
  border-radius: 5px;
  background: var(--color-beige);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.b2b__gdpr-checkbox:checked {
  background-color: var(--color-brown-dark);
}

.b2b__gdpr-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: 2px solid var(--color-text-cream);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.b2b__gdpr-checkbox:focus-visible {
  outline: 2px solid var(--color-brown-dark);
  outline-offset: 3px;
}

.b2b__gdpr-link {
  color: var(--color-brown-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.b2b__gdpr-link:hover {
  color: var(--color-brown);
}

.b2b__captcha-row {
  align-items: flex-start;
}

.b2b__captcha {
  min-height: 66px;
}

.b2b__status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  font-family: var(--font-body);
  font-size: clamp(12px, 0.9vw, 16px);
  font-weight: 500;
  text-align: center;
  color: var(--color-brown-dark);
}

.b2b__status.is-error {
  color: #9d2b1f;
}

.b2b__status.is-success {
  color: #2f6a2f;
}

.b2b__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background-color: var(--color-brown-dark);
  padding: clamp(40px, 4.5vw, 86px) var(--section-pad-x);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 60px);
  flex-wrap: wrap;
}

.footer__logo {
  width: clamp(50px, 4.1vw, 79px);
  height: auto;
  aspect-ratio: 117 / 165;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__text {
  flex: 1;
  min-width: 240px;
}

.footer__partner-label {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.05vw, 20px);
  font-weight: 500;
  color: var(--color-text-footer);
  line-height: 1.2;
}

.footer__company {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.1vw, 40px);
  font-weight: 800;
  color: var(--color-text-footer);
  line-height: 1.2;
  margin: clamp(2px, 0.2vw, 4px) 0;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.05vw, 20px);
  font-weight: 500;
  color: var(--color-text-footer);
  line-height: 1.4;
}

.footer__desc {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.05vw, 20px);
  font-weight: 400;
  color: var(--color-text-footer);
  line-height: 1.6;
  margin-top: clamp(4px, 0.4vw, 8px);
  opacity: 0.85;
}

.footer__address {
  font-family: var(--font-body);
  font-size: clamp(12px, 0.95vw, 18px);
  font-weight: 400;
  color: var(--color-text-footer);
  font-style: normal;
  line-height: 1.6;
  margin-top: clamp(4px, 0.4vw, 8px);
  opacity: 0.85;
}

.footer__contact {
  flex-shrink: 0;
  min-width: 180px;
}

.footer__contact-title {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.05vw, 20px);
  font-weight: 700;
  color: var(--color-text-footer);
  margin-bottom: clamp(4px, 0.4vw, 8px);
}

.footer__contact-item {
  font-family: var(--font-body);
  font-size: clamp(12px, 0.95vw, 18px);
  font-weight: 400;
  color: var(--color-text-footer);
  line-height: 1.7;
  opacity: 0.85;
}

.footer__contact-item a {
  color: inherit;
  text-decoration: none;
}

.footer__contact-item a:hover {
  text-decoration: underline;
}

.footer__social {
  display: flex;
  gap: clamp(8px, 1vw, 16px);
  flex-shrink: 0;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer__social-link:hover {
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE – TABLET (≤ 1024px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  .ingredient-card__icons {
    gap: 0;
  }

  .ingredient__label {
    font-size: clamp(9px, 0.9vw, 13px);
  }
}




/* ═══════════════════════════════════════════════════════════════
   MANGO & PASSION SECTION — ART-DIRECTED
   ═══════════════════════════════════════════════════════════════ */

.product--mango {
  --canvas-height-collapsed: clamp(770px, 66vw, 1260px);
  --canvas-height-expanded: clamp(960px, 78vw, 1500px);
  --image-top-collapsed: clamp(20px, 2.5vw, 48px);
  --image-top-expanded: clamp(30px, 3vw, 58px);
  position: relative;
  background-color: transparent;
  margin-top: clamp(22px, 2.2vw, 44px);
  overflow: visible;
  z-index: 3;
}

/* Canvas: absolute-positioning reference frame
   At 1920px: height = 1197px (section 3240→4437)           */
.product--mango .product__canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--canvas-height-collapsed);
  overflow: visible;
}

/* Image column: absolute LEFT block
   Figma: x=-1 (0), width=951 (49.5%), height=867 (45.2%)   */
.product--mango .product__image-col {
  position: absolute;
  top: var(--image-top-collapsed);
  left: clamp(60px, 9vw, 172px);
  width: clamp(520px, 56vw, 1075px);
  height: clamp(450px, 51vw, 980px);
  transition: top 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: visible;
  z-index: 2;
}

.product--mango.is-details-open .product__image-col {
  top: var(--image-top-expanded);
}

.product--mango .product__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
}

.product--mango .product__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top left;
  z-index: 1;
  max-width: none;
}

/* Shadow ellipse
   Figma: x=158 (16.6% of img), y=595 (68.6% of img), w=453 (47.6%) */
.product--mango .product__shadow-img {
  position: absolute;
  top: 68.6%;
  left: 16.6%;
  bottom: auto;
  transform: none;
  width: 47.6%;
  height: auto;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* Text column: absolute RIGHT block
   Figma: x=970 (50.5%), title starts 120px below top        */
.product--mango .product__text-col {
  position: absolute;
  top: clamp(60px, 6.25vw, 120px);
  left: 55%;
  width: clamp(300px, 35vw, 700px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 34px);
  padding: 0;
  z-index: 3;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Heading: Wajory Musika Regular (via Aima Display)          */
.product--mango .product__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(72px, 8.5vw, 134px);
  line-height: 144px;
  letter-spacing: -0.01em;
  color: var(--color-brown-dark);
  max-width: none;
  white-space: nowrap;
}

/* Description: italic Poppins                               */
.product--mango .product__desc {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(14px, 1.46vw, 28px);
  line-height: 1.35;
  color: var(--color-brown-dark);
  max-width: clamp(260px, 31.3vw, 600px);
}


/* Ingredient card — mango variant                           */
.ingredient-card--mango {
  background-color: var(--color-card);
  border-radius: clamp(28px, 3.1vw, 60px);
  box-shadow: 0 4px 16px rgba(101,74,51,0.12);
  padding: clamp(22px, 2.2vw, 42px) clamp(20px, 2.2vw, 42px) clamp(32px, 3vw, 58px);
  max-width: clamp(340px, 39.1vw, 751px);
  width: 100%;
}

/* Nutrition — mango                                         */
.ingredient-card--mango .nutrition {
  margin-top: clamp(14px, 1.8vw, 34px);
}

.ingredient-card--mango .nutrition__row {
  display: flex;
  align-items: baseline;
  padding: clamp(3px, 0.37vw, 7px) 0;
}

.ingredient-card--mango .nutrition__row::after {
  content: '';
  order: 2;
  flex: 1;
  border-bottom: 1.5px solid rgba(101,74,51,0.22);
  min-width: 16px;
  margin: 0 clamp(6px, 0.63vw, 12px);
  position: relative;
  bottom: 0.2em;
}

.ingredient-card--mango .nutrition__label { order: 1; flex-shrink: 0; }
.ingredient-card--mango .nutrition__value { order: 3; flex-shrink: 0; white-space: nowrap; text-align: right; }

.ingredient-card--mango .nutrition__label,
.ingredient-card--mango .nutrition__value {
  font-family: var(--font-body);
  font-size: clamp(11px, 1.25vw, 24px);
  font-weight: 700;
  line-height: 1.39;
  color: var(--color-brown-dark);
}


/* ═══════════════════════════════════════════════════════════════
   BUENO SECTION — ART-DIRECTED
   ═══════════════════════════════════════════════════════════════ */

.product--bueno {
  --canvas-height-collapsed: clamp(680px, 54vw, 1020px);
  --canvas-height-expanded: clamp(1000px, 74vw, 1450px);
  --image-top-collapsed: clamp(50px, 6.8vw, 130px);
  --image-top-expanded: clamp(84px, 9.4vw, 168px);
  position: relative;
  background-color: transparent;
  margin-top: 0;
  overflow: visible;
  z-index: 2;
}

/* Wave SVG — overflows viewport on both sides so no edge ever shows */
.product--bueno::before {
  content: '';
  position: absolute;
  top: -3vw;
  left: -7%;
  right: -7%;
  bottom: -3%;
  background: url('../public/BUENO BACK ELEMENT.svg') top center / 100% 100% no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* Canvas: absolute-positioning reference frame
   At 1920px: canvas height = 1156px                        */
.product--bueno .product__canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--canvas-height-collapsed);
  overflow: visible;
}

/* Text column: absolute LEFT block
   Figma: x=203 (10.6%), title 207px below top              */
.product--bueno .product__text-col {
  position: absolute;
  top: clamp(80px, 7.1vw, 136px);
  left: max(clamp(20px, 10.5vw, 201px), calc((100% - var(--max-w)) / 2 + 201px));
  width: clamp(320px, 39.1vw, 751px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 34px);
  padding: 0;
  z-index: 3;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Heading: Wajory Musika Regular (via Aima Display)          */
.product--bueno .product__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(72px, 8.5vw, 134px);
  line-height: 144px;
  letter-spacing: -0.01em;
  color: var(--color-brown-dark);
  max-width: none;
  white-space: nowrap;
}

/* Description: italic Poppins                               */
.product--bueno .product__desc {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(14px, 1.46vw, 28px);
  line-height: 1.35;
  color: var(--color-brown-dark);
  max-width: clamp(260px, 31.3vw, 600px);
}

/* Ingredient card — bueno variant                          */
.ingredient-card--bueno {
  background-color: var(--color-card);
  border-radius: clamp(28px, 3.1vw, 60px);
  box-shadow: 0 4px 16px rgba(101,74,51,0.12);
  padding: clamp(22px, 2.2vw, 42px) clamp(20px, 2.2vw, 42px) clamp(32px, 3vw, 58px);
  max-width: clamp(340px, 39.1vw, 751px);
  width: 100%;
}

/* Nutrition — bueno                                         */
.ingredient-card--bueno .nutrition {
  margin-top: clamp(14px, 1.8vw, 34px);
}

.ingredient-card--bueno .nutrition__row {
  display: flex;
  align-items: baseline;
  padding: clamp(3px, 0.37vw, 7px) 0;
}

.ingredient-card--bueno .nutrition__row::after {
  content: '';
  order: 2;
  flex: 1;
  border-bottom: 1.5px solid rgba(101,74,51,0.22);
  min-width: 16px;
  margin: 0 clamp(6px, 0.63vw, 12px);
  position: relative;
  bottom: 0.2em;
}

.ingredient-card--bueno .nutrition__label { order: 1; flex-shrink: 0; }
.ingredient-card--bueno .nutrition__value { order: 3; flex-shrink: 0; white-space: nowrap; text-align: right; }

.ingredient-card--bueno .nutrition__label,
.ingredient-card--bueno .nutrition__value {
  font-family: var(--font-body);
  font-size: clamp(11px, 1.25vw, 24px);
  font-weight: 700;
  line-height: 1.39;
  color: var(--color-brown-dark);
}

/* Image column: absolute RIGHT block
   Figma: x=970 (50.5%), width=950 (49.5%), height=898 (46.8%) */
.product--bueno .product__image-col {
  position: absolute;
  top: var(--image-top-collapsed);
  right: 5%;
  width: clamp(780px, 72vw, 1380px);
  height: clamp(520px, 48vw, 920px);
  transition: top 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: visible;
  z-index: 2;
  display: block;
}

.product--bueno.is-details-open .product__image-col {
  top: var(--image-top-expanded);
}

.product--bueno .product__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
}

.product--bueno .product__shadow-img {
  position: absolute;
  top: 78%;
  left: 32%;
  bottom: auto;
  transform: none;
  width: 52%;
  height: auto;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.product--bueno .product__photo {
  position: absolute;
  top: 12%;
  right: -2%;
  height: 88%;
  width: 108%;
  max-width: none;
  object-fit: contain;
  object-position: top right;
  z-index: 1;
  max-width: none;
}

@media (min-width: 2065px) {
  .hero__bg-img {
    transform: translateY(calc(-102px + 5%));
  }
}

/* Desktop tune: center content vertically in collapsed product sections. */
@media (min-width: 1500px) {
  .product--chocolate .product__photo,
  .product--bueno .product__photo {
    top: 4%;
    height: 96%;
  }

  /* Keep text cols vertically centered in both states to avoid jump on expand */
  .product--chocolate .product__text-col,
  .product--mango .product__text-col,
  .product--bueno .product__text-col {
    top: 50%;
    transform: translateY(-50%);
  }

  /* Bueno has taller text+card stack; keep dynamic centering but reduce upward shift */
  .product--bueno .product__text-col {
    top: 52%;
    transform: translateY(-42%);
  }

  .product--chocolate:not(.is-details-open) .product__image-col,
  .product--mango:not(.is-details-open) .product__image-col,
  .product--bueno:not(.is-details-open) .product__image-col {
    top: 50%;
    transform: translateY(-50%);
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE – WIDE DESKTOP (2001px–2200px)
   Keep Mango image clear of text before full large-desktop base values.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 2200px) and (min-width: 2001px) {

  .product--mango .product__image-col {
    left: 5vw;
    width: 40vw;
  }

  .product--mango .product__text-col {
    left: 54.5%;
    width: 35vw;
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE – UPPER DESKTOP (1851px–2000px)
   Tighten columns before large-desktop base styles kick in.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 2000px) and (min-width: 1851px) {

  .product--chocolate {
    --canvas-height-collapsed: clamp(800px, 65vw, 1160px);
    --canvas-height-expanded:  clamp(1100px, 80vw, 1480px);
    --image-top-collapsed: clamp(44px, 5.8vw, 106px);
    --image-top-expanded:  clamp(72px, 7.8vw, 144px);
  }

  .product--mango {
    --canvas-height-collapsed: clamp(780px, 63vw, 1120px);
    --canvas-height-expanded:  clamp(1080px, 78vw, 1460px);
    --image-top-collapsed: 0;
    --image-top-expanded:  clamp(24px, 2.2vw, 40px);
  }

  .product--bueno {
    --canvas-height-collapsed: clamp(680px, 54vw, 980px);
    --canvas-height-expanded:  clamp(1050px, 74vw, 1400px);
    --image-top-collapsed: clamp(44px, 5.8vw, 106px);
    --image-top-expanded:  clamp(72px, 7.8vw, 144px);
  }

  .product--chocolate .product__image-col,
  .product--bueno .product__image-col {
    width: 40vw;
    overflow: visible; /* keep full product photo visible */
  }

  .product--chocolate .product__text-col,
  .product--bueno .product__text-col {
    width: 35vw;
  }

  .product--mango .product__image-col {
    left: 5vw;
    width: 40vw; /* reduced from 46vw: imgCol.right clears text.left */
  }

  .product--mango .product__text-col {
    left: 54.5%;
    width: 35vw;
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE – INTERMEDIATE DESKTOP (1500px–1850px)
   Prevent text/image collisions while preserving desktop art direction.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1850px) and (min-width: 1500px) {

  .product--chocolate {
    --canvas-height-collapsed: clamp(760px, 60vw, 1080px);
    --canvas-height-expanded:  clamp(1040px, 84vw, 1600px);
    --image-top-collapsed: clamp(44px, 5.8vw, 106px);
    --image-top-expanded:  clamp(72px, 7.8vw, 144px);
    margin-top: -18%;
  }

  .product--mango {
    --canvas-height-collapsed: clamp(740px, 58vw, 1040px);
    --canvas-height-expanded:  clamp(1020px, 82vw, 1540px);
    --image-top-collapsed: 0;
    --image-top-expanded:  clamp(24px, 2.2vw, 40px);
  }

  .product--bueno {
    --canvas-height-collapsed: clamp(650px, 50vw, 900px);
    --canvas-height-expanded:  clamp(980px, 78vw, 1460px);
    --image-top-collapsed: clamp(44px, 5.8vw, 106px);
    --image-top-expanded:  clamp(72px, 7.8vw, 144px);
  }

  .product--chocolate .product__image-col,
  .product--bueno .product__image-col {
    width: 40vw;
    overflow: visible; /* keep full product photo visible */
  }

  .product--chocolate .product__text-col,
  .product--bueno .product__text-col {
    width: 35vw;
  }

  .product--mango .product__image-col {
    left: 6vw;
    width: 40vw; /* reduced from 44vw: imgCol.right clears text.left */
  }

  .product--mango .product__text-col {
    left: 55%;
    width: 35vw;
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE – SMALL DESKTOP / LARGE TABLET (1025px–1499px)
   Keep art direction while reducing collision risk before mobile stack.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1499px) and (min-width: 1025px) {

  .product--chocolate {
    --canvas-height-collapsed: clamp(720px, 66vw, 1020px);
    --canvas-height-expanded:  clamp(980px, 102vw, 1500px);
    --image-top-collapsed: clamp(36px, 5vw, 88px);
    --image-top-expanded:  clamp(62px, 7vw, 122px);
    margin-top: -26%;
  }

  .product--mango {
    --canvas-height-collapsed: clamp(700px, 62vw, 980px);
    --canvas-height-expanded:  clamp(960px, 100vw, 1460px);
    --image-top-collapsed: 0;
    --image-top-expanded:  clamp(18px, 2vw, 32px);
  }

  .product--bueno {
    --canvas-height-collapsed: clamp(630px, 52vw, 860px);
    --canvas-height-expanded:  clamp(940px, 98vw, 1420px);
    --image-top-collapsed: clamp(36px, 5vw, 88px);
    --image-top-expanded:  clamp(62px, 7vw, 122px);
  }

  .product--chocolate .product__image-col,
  .product--bueno .product__image-col {
    width: 40vw;
    overflow: visible; /* keep full product photo visible */
  }

  .product--chocolate .product__text-col,
  .product--bueno .product__text-col {
    width: 35vw;
  }

  .product--mango .product__image-col {
    left: 2vw;
    width: 44vw; /* 2+44=46vw < textLeft 50.4vw — already clear, no change */
  }

  .product--mango .product__text-col {
    left: 56%;
    width: 35vw;
  }
}




/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE – LARGE TABLET / NARROW DESKTOP (769px–1024px)
   Switch to stacked layout to eliminate text/image col overlap.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 769px) {

  .product__canvas {
    height: auto;
    transition: none;
    display: flex;
    flex-direction: column;
  }

  .product.is-details-open .product__canvas {
    height: auto;
  }

  /* Chocolate */

  .product--chocolate {
    margin-top: -32%;
  }

  .product--chocolate .product__image-col {
    position: relative;
    top: auto; right: auto;
    width: 100%; height: auto;
    min-height: 360px;
    order: -1;
    transition: none;
  }

  .product--chocolate .product__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: auto;
  }

  .product--chocolate .product__photo {
    position: relative;
    inset: auto; right: auto; top: auto;
    width: 88%; height: auto;
    max-width: 640px;
    margin-top: 14px;
    object-fit: contain;
  }

  .product--chocolate .product__text-col {
    position: relative;
    top: auto; left: auto;
    width: 100%;
    padding: 28px 32px 44px;
  }

  .product--chocolate .product__title {
    font-size: clamp(52px, 7.5vw, 90px);
    line-height: 1.05;
    white-space: normal;
  }

  /* Mango */
  .product--mango {
    margin-top: 20px;
    overflow: hidden;
  }

  .product--mango .product__canvas {
    display: flex;
    flex-direction: column;
  }

  .product--mango .product__image-col {
    position: relative;
    top: auto; left: auto;
    width: 100%; height: auto;
    min-height: 360px;
    order: -1;
    transition: none;
  }

  .product--mango .product__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: auto;
  }

  .product--mango .product__photo {
    position: relative;
    inset: auto;
    width: 88%; height: auto;
    max-width: 640px;
    margin-top: 14px;
  }

  .product--mango .product__text-col {
    position: relative;
    top: auto; left: auto;
    width: 100%;
    padding: 28px 32px 44px;
  }

  .product--mango .product__title {
    font-size: clamp(52px, 7.5vw, 90px);
    line-height: 1.05;
    white-space: normal;
  }

  /* Bueno */

  .product--bueno .product__canvas {
    display: flex;
    flex-direction: column;
  }

  .product--bueno .product__image-col {
    position: relative;
    top: auto; right: auto;
    width: 100%; height: auto;
    min-height: 360px;
    order: -1;
    transition: none;
  }

  .product--bueno .product__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: auto;
  }

  .product--bueno .product__photo {
    position: relative;
    inset: auto; right: auto; top: auto;
    width: 88%; height: auto;
    max-width: 620px;
    margin-top: 14px;
    object-fit: contain;
  }

  .product--bueno .product__text-col {
    position: relative;
    top: auto; left: auto; right: auto;
    width: 100%;
    padding: 28px 32px 44px;
  }

  .product--bueno .product__title {
    font-size: clamp(52px, 7.5vw, 90px);
    line-height: 1.05;
    white-space: normal;
  }

  /* Keep image cols locked when ingredient panel opens */
  .product--chocolate.is-details-open .product__image-col,
  .product--mango.is-details-open .product__image-col,
  .product--bueno.is-details-open .product__image-col {
    top: auto;
    transition: none;
  }

  /* Shadow ellipses */
  .product--chocolate .product__shadow-img,
  .product--mango .product__shadow-img,
  .product--bueno .product__shadow-img {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    opacity: 0.34;
  }
}


@media (min-width: 480px) and (max-width: 1500px) {
  .hero__bottom {
    transform: translateY(clamp(-180px, -11vw, -70px));
  }
}

@media (min-width: 1025px) and (max-width: 1850px) {
  .hero__title {
    font-size: clamp(26.63px, 6.32vw, 118.33px);
    transform: translateY(-3vh);
  }

  .hero__question {
    font-size: clamp(14.61px, 2.30vw, 43.82px);
  }

  .hero__tagline {
    font-size: clamp(40.90px, 4.90vw, 88.37px);
  }

  .hero__bottom {
    transform: translateY(clamp(-110px, -6.5vw, -55px));
  }
}

@media (min-width: 768px) and (max-width: 1500px) {
  .hero__bottom {
    transform: translateY(clamp(-195px, -11.5vw, -85px));
  }
}

@media (min-width: 768px) and (max-width: 1025px) {
  .hero__bottom {
    transform: translateY(clamp(-255px, -14.5vw, -115px));
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE – MOBILE (≤ 768px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .product__canvas {
    height: auto;
    transition: none;
  }

  /* Hero */
  .hero__bg-img {
    width: 100%;
    height: auto;
    transform: translateY(-72px);
  }

  .hero__overlay {
    padding: 20px 16px 32px;
  }

  .hero__title {
    font-size: clamp(28px, 9vw, 56px);
  }

  .hero__question {
    font-size: clamp(18px, 5vw, 32px);
  }

  .hero__tagline {
    font-size: clamp(22px, 7vw, 48px);
    line-height: 1.1;
  }

  .hero__bottom {
    padding-bottom: clamp(10px, 2.4vw, 24px);
    transform: translateY(-154px);
  }

  .hero__logo {
    width: 50px;
    height: auto;
    margin-bottom: 20px;
  }

  .footer__logo {
    width: 50px;
    height: auto;
  }

  /* Product sections: stack vertically */
  .product {
    --product-photo-scale: 1;
    --product-photo-float-y: 8px;
  }

  .product__text-col {
    padding: 32px 20px 40px;
  }

  /* Chocolate section: revert to stacked flow on mobile */
  .product--chocolate {
    margin-top: -44%;
  }

  .product--chocolate .product__image-col {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    min-height: 340px;
    order: -1;
  }

  .product--chocolate .product__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
  }

  .product--chocolate .product__photo {
    position: relative;
    inset: auto;
    width: 96%;
    height: auto;
    margin-top: 20px;
    max-width: 520px;
    object-position: center center;
  }

  .product--chocolate .product__shadow-img {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
  }

  .product--chocolate .product__text-col {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding: 24px 20px 40px;
  }

  .product--chocolate .product__title {
    font-size: clamp(52px, 13vw, 80px);
    line-height: 1.05; /* Fix 3: override fixed 144px desktop value */
    white-space: normal;
  }

  /* Fix 4: make chocolate canvas a flex column so order:-1 works on image-col */
  .product--chocolate .product__canvas {
    display: flex;
    flex-direction: column;
  }

  /* Mango section: stacked flow */
  .product--mango {
    margin-top: 14px;
    overflow: hidden;
  }
  .product--mango .product__canvas { height: auto; display: flex; flex-direction: column; }
  .product--mango .product__image-col {
    position: relative; top: auto; left: auto;
    width: 100%; height: auto; min-height: 340px; order: -1;
  }
  .product--mango .product__img-wrap {
    display: flex; align-items: center; justify-content: center; width: 100%; height: auto;
  }
  .product--mango .product__photo {
    position: relative; inset: auto; width: 96%;
    height: auto; margin-top: 14px; max-width: 530px; object-position: center center;
  }
  .product--mango .product__shadow-img {
    position: absolute; top: auto; bottom: 0;
    left: 50%; transform: translateX(-50%); width: 55%;
  }
  .product--mango .product__text-col {
    position: relative; top: auto; left: auto;
    width: 100%; padding: 24px 20px 40px;
  }
  .product--mango .product__title {
    font-size: clamp(52px, 13vw, 80px);
    line-height: 1.05; /* Fix 3 */
    white-space: normal;
  }
  .ingredient-card--mango .ingredient-card__icons { flex-wrap: wrap; }
  .ingredient-card--mango .ingredient { flex: 0 0 calc(100% / 3); }

  /* Bueno section: stacked flow */
  .product--bueno { margin-top: 0; }
  .product--bueno .product__canvas { height: auto; display: flex; flex-direction: column; }
  .product--bueno .product__image-col {
    position: relative; top: auto; right: auto;
    width: 100%; height: auto; min-height: 330px; order: -1;
  }
  .product--bueno .product__img-wrap {
    display: flex; align-items: center; justify-content: center; width: 100%; height: auto;
  }
  .product--bueno .product__photo {
    position: relative; inset: auto; width: 95%;
    height: auto; margin-top: 74px; max-width: 500px; object-position: center center;
  }

  /* Keep image columns fixed on mobile even when ingredient cards open. */
  .product--chocolate.is-details-open .product__image-col,
  .product--mango.is-details-open .product__image-col,
  .product--bueno.is-details-open .product__image-col {
    top: auto;
    transition: none;
  }

  /* Optional: remove floating motion on mobile for steadier product framing. */
  .product__photo {
    animation: none;
  }

  .product--chocolate .product__shadow-img,
  .product--mango .product__shadow-img,
  .product--bueno .product__shadow-img {
    top: auto;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50%;
    opacity: 0.34;
  }
  .product--bueno .product__text-col {
    position: relative; top: auto; left: auto;
    width: 100%; padding: 24px 20px 40px;
  }
  .product--bueno .product__title { font-size: clamp(52px, 13vw, 80px); line-height: 1.05; white-space: normal; } /* Fix 3 */
  .ingredient-card--bueno .ingredient-card__icons { flex-wrap: wrap; }

  /* Ingredient icons: wrap on mobile */
  .ingredient-card__icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .ingredient {
    flex: 0 0 calc(25% - 8px);
  }

  /* Bueno: 3 columns — must come after generic .ingredient rule */
  .ingredient-card--bueno .ingredient { flex: 0 0 calc((100% - 16px) / 3); }

  .ingredient__icon-wrap {
    width: 56px;
    height: 56px;
  }

  .ingredient__label {
    font-size: 9px;
  }

  /* CTA */
  .cta__title {
    font-size: clamp(36px, 11vw, 72px);
    line-height: 1.1;
  }

  .cta__buttons {
    flex-direction: column;
    gap: 24px;
  }

  /* Partners */
  .partners__title {
    font-size: clamp(32px, 9vw, 56px);
  }

  /* B2B form: single column */
  .b2b__form {
    grid-template-columns: 1fr;
  }

  .b2b__field--full {
    grid-column: 1;
  }

  .b2b__title {
    font-size: clamp(32px, 10vw, 64px);
    line-height: 1.1;
  }

  /* Footer: stack */
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* Fix 5: prevent is-details-open from forcing a fixed canvas height on mobile.
     This selector (specificity 0,3,0) matches the desktop rule — cascade order wins. */
  .product.is-details-open .product__canvas {
    height: auto;
  }

  /* Fix 6: disable float animation so images can't drift above section boundary */
  .product__photo {
    animation: none;
  }

  /* Fix 6: add breathing room at top of image columns (they sit at section top via order:-1) */
  .product--chocolate .product__image-col,
  .product--mango    .product__image-col,
  .product--bueno    .product__image-col {
    padding-top: 16px;
  }
}

@media (min-width: 490px) and (max-width: 768px) {
  .hero__bottom {
    transform: translateY(clamp(-320px, -42vw, -220px));
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE – SMALL MOBILE (≤ 480px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .ingredient-card__icons {
    gap: 4px;
  }

  .ingredient {
    flex: 0 0 calc(33.333% - 4px);
  }

  .partner-row__track {
    animation-duration: 20s;
  }
}


/* ═══════════════════════════════════════════════════════════════
   COOKIE CONSENT UI
   ═══════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 2000;
  background: var(--color-card);
  border-radius: clamp(16px, 1.4vw, 28px);
  box-shadow: 0 24px 42px rgba(57, 38, 22, 0.24);
  padding: clamp(18px, 1.8vw, 28px);
  max-width: 860px;
  margin: 0 auto;
}

.cookie-banner__title {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.2vw, 22px);
  font-weight: 700;
  color: var(--color-brown-dark);
}

.cookie-banner__text {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: clamp(13px, 0.95vw, 16px);
  line-height: 1.5;
  color: var(--color-brown-dark);
  opacity: 0.92;
}

.cookie-banner__link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--color-brown-dark);
  color: var(--color-text-cream);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.cookie-banner__btn:hover {
  transform: translateY(-1px);
  background: var(--color-brown);
}

.cookie-banner__btn--secondary {
  background: #8a4f26;
}

.cookie-banner__btn--ghost {
  background: transparent;
  color: var(--color-brown-dark);
  border: 1.5px solid rgba(101, 74, 51, 0.44);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(32, 19, 10, 0.45);
  backdrop-filter: blur(2px);
  padding: clamp(14px, 2vw, 34px);
  display: grid;
  place-items: center;
}

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

.cookie-modal__surface {
  width: min(100%, 760px);
  background: #fff4e4;
  border-radius: clamp(18px, 2vw, 30px);
  padding: clamp(20px, 2.1vw, 32px);
  box-shadow: 0 28px 50px rgba(57, 38, 22, 0.26);
}

.cookie-modal__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 50px);
  line-height: 1.1;
  color: var(--color-brown-dark);
}

.cookie-modal__row {
  margin-top: 14px;
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.cookie-modal__row-title {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brown-dark);
}

.cookie-modal__row-text {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-brown-dark);
  opacity: 0.9;
}

.cookie-modal__toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.cookie-modal__toggle {
  width: 20px;
  height: 20px;
}

.cookie-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(101, 74, 51, 0.18);
  color: var(--color-brown-dark);
}

.cookie-modal__actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-settings-trigger {
  position: fixed;
  right: clamp(12px, 1.6vw, 20px);
  bottom: clamp(12px, 1.6vw, 20px);
  z-index: 1900;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(101, 74, 51, 0.92);
  color: var(--color-text-cream);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.cookie-settings-trigger:hover {
  background: var(--color-brown-dark);
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 16px;
  }

  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-modal__actions {
    justify-content: stretch;
  }

  .cookie-modal__actions .cookie-banner__btn {
    width: 100%;
  }

  .cookie-settings-trigger {
    bottom: 32px;
  }
}





