/*
Theme Name: Izzi Food
Theme URI: https://www.izzifood.com/
Author: Andez Consultores
Description: Custom landing and private label request theme for Izzi Food.
Version: 2.8.0
Text Domain: izzi-food
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* Brand */
  --green: #00592b;
  --green-deep: #053a1f;
  --green-mid: #077a36;
  --lime: #8bd300;
  --lime-soft: #e9f8c8;
  --yellow: #ffd24a;
  --red: #ed402f;
  --sky: #1786cf;

  /* Neutrals */
  --ink: #0c2a18;
  --ink-soft: #3d5849;
  --cream: #fffaf0;
  --cream-2: #fdf3e2;
  --sand: #f3e7cd;
  --surface: #ffffff;
  --line: color-mix(in srgb, var(--green) 14%, transparent);
  --line-strong: color-mix(in srgb, var(--green) 26%, transparent);

  /* Elevation */
  --shadow-sm: 0 2px 10px rgba(8, 45, 24, 0.06);
  --shadow-md: 0 6px 18px -10px rgba(8, 45, 24, 0.18);
  --shadow-lg: 0 16px 36px -22px rgba(8, 45, 24, 0.26);
  --glow-lime: 0 10px 24px -14px rgba(8, 45, 24, 0.3);

  /* Shape */
  --r-xs: 3px;
  --r-sm: 5px;
  --r-md: 7px;
  --r-lg: 9px;
  --r-xl: 11px;
  --r-pill: 5px;

  /* Rhythm */
  --shell: min(1200px, 100% - 48px);
  --pad-section: clamp(56px, 6vw, 92px);
  --gap: clamp(16px, 1.8vw, 24px);

  /* Type */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.42s var(--ease);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(0.9rem, 0.88rem + 0.1vw, 0.95rem);
  line-height: 1.6;
  font-weight: 450;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 1.35rem + 2.2vw, 3rem);
}

h2 {
  font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.1rem);
}

h3 {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 1.1em;
  color: var(--ink-soft);
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 700;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--lime);
  color: var(--green-deep);
}

/* Shared shell */
.site-header__inner,
.section__inner,
.footer__inner,
.footer__bottom,
.hero__inner,
.page-hero__inner,
.quick-strip__inner,
.quote-wrap,
.product-detail-hero__inner {
  width: var(--shell);
  margin-inline: auto;
}

/* ==========================================================================
   3. Motion primitives
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

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

@keyframes izzi-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes izzi-float {
  50% {
    transform: translate3d(0, -14px, 0) rotate(-1.5deg);
  }
}

@keyframes izzi-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.28);
    opacity: 0;
  }
}

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  transition: background var(--t), box-shadow var(--t);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  transition: min-height var(--t);
}

body.has-scrolled .site-header {
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

body.has-scrolled .site-header__inner {
  min-height: 66px;
}

/* Over a dark hero the header inverts for contrast */
body.has-hero:not(.has-scrolled):not(.menu-open) .site-nav a:not(.button) {
  color: #fff;
}

body.has-hero:not(.has-scrolled):not(.menu-open) .brand-mark__logo {
  filter: brightness(0) invert(1);
}

.brand-mark {
  position: relative;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  transition: transform var(--t);
}

.brand-mark:hover {
  transform: scale(1.04);
}

.brand-mark__logo {
  width: auto;
  height: clamp(34px, 3.4vw, 44px);
  object-fit: contain;
}

.brand-mark__logo--white {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 20px);
}

.site-nav a:not(.button) {
  padding: 10px 2px;
  color: var(--green-deep);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: opacity var(--t);
}

.site-nav a:not(.button):hover {
  opacity: 0.62;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 20px);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 85;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--green);
  cursor: pointer;
  transition: background var(--t), color var(--t);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t), opacity 0.2s linear;
}

.nav-toggle span {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
  margin-left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

body.menu-open .nav-toggle {
  background: var(--green);
  color: #fff;
}

body.menu-open .nav-toggle span {
  background: transparent;
}

body.menu-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-md);
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--lime);
  opacity: 0;
  transition: opacity var(--t);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--glow-lime);
  color: var(--green-deep);
}

.button:hover::before,
.button:focus-visible::before {
  opacity: 1;
}

.button:active {
  transform: translateY(-1px);
}

.button--light {
  background: var(--surface);
  color: var(--green-deep);
  box-shadow: inset 0 0 0 1.5px var(--line-strong), var(--shadow-sm);
}

.button--light::before {
  background: var(--lime);
}

.site-nav .button {
  padding: 13px 24px;
  font-size: 0.84rem;
}

/* ==========================================================================
   6. Heroes
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(560px, 82vh, 820px);
  margin-top: -84px;
  padding: 140px 0 clamp(90px, 10vw, 140px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: url("assets/images/izzi-home-hero-desktop.webp") center 22% / cover no-repeat;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 40, 21, 0.62);
}

.page-hero::before {
  background: rgba(5, 40, 21, 0.7);
}

.hero__inner {
  position: relative;
}

.hero__copy {
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
  text-shadow: 0 1px 16px rgba(3, 26, 13, 0.55);
  animation: izzi-rise 0.9s var(--ease) both;
}

.hero h1 {
  margin-bottom: 0.3em;
  font-size: clamp(1.5rem, 0.55rem + 3.4vw, 3.5rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-wrap: nowrap;
}

.hero p {
  max-width: 60ch;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(0.98rem, 0.94rem + 0.22vw, 1.1rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.section--green .eyebrow,
.section--video .eyebrow,
.page-hero .eyebrow {
  color: var(--lime);
}

.hero .eyebrow {
  justify-content: center;
  color: #fff;
}

/* Interior page hero */
.page-hero {
  position: relative;
  margin-top: -84px;
  padding: clamp(150px, 16vw, 230px) 0 clamp(56px, 7vw, 96px);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: url("assets/images/izzi-catalog-hero.webp") center / cover no-repeat;
}

.page-hero--our-company {
  background-image: url("assets/images/izzi-our-company.webp");
}

.page-hero--our-brand {
  background-image: url("assets/images/izzi-lifestyle-family.webp");
}

.page-hero--products {
  background-image: url("assets/images/izzi-lifestyle-chips.webp");
}

.page-hero--private-label {
  background-image: url("assets/images/izzi-private-label-range.webp");
}

.page-hero--sustainability {
  background-image: url("assets/images/izzi-catalog-sun.webp");
}

.page-hero--nutrition {
  background-image: url("assets/images/izzi-hero-ai.webp");
}

.page-hero__inner {
  animation: izzi-rise 0.8s var(--ease) both;
}

.page-hero h1,
.page-hero p,
.page-hero .eyebrow {
  max-width: 56ch;
  margin-right: auto;
}

.page-hero h1 {
  margin-bottom: 0.3em;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.95rem, 0.92rem + 0.18vw, 1.05rem);
}

/* ==========================================================================
   7. Eyebrow, leads, section shell
   ========================================================================== */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--green-mid);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.lead {
  color: var(--ink);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  font-weight: 500;
  line-height: 1.5;
}

.section {
  position: relative;
  padding-block: var(--pad-section);
}

.section__inner > h2,
.catalog-intro h2 {
  max-width: 22ch;
}

.section__inner > .lead,
.catalog-intro .lead {
  max-width: 62ch;
}

.section--cream {
  background: var(--cream-2);
}

.section--green,
.section--video {
  background: var(--green-deep);
  color: #fff;
}

.section--green .info-card,
.section--video .info-card {
  border-top-color: var(--lime);
}

.section--green .info-card strong,
.section--video .info-card strong,
.section--green .info-card__icon,
.section--video .info-card__icon {
  color: var(--lime);
}

.section--green h2,
.section--green h3,
.section--green strong,
.section--video h2,
.section--video h3,
.section--video strong {
  color: #fff;
}

.section--green p,
.section--green li,
.section--video p,
.section--video li {
  color: rgba(255, 255, 255, 0.9);
}

.section--green .lead,
.section--video .lead {
  color: #fff;
}

.section__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: clamp(32px, 4vw, 64px);
}

.section__grid--reverse > *:first-child {
  order: 2;
}

.section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.catalog-intro {
  max-width: 62ch;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

/* ==========================================================================
   8. Quick strip
   ========================================================================== */

.quick-strip {
  position: relative;
  z-index: 2;
  margin-top: clamp(-70px, -6vw, -40px);
  padding-bottom: 10px;
}

.quick-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 4px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.quick-strip__item {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  border-radius: var(--r-sm);
  transition: background var(--t);
}

.quick-strip__item + .quick-strip__item {
  box-shadow: -1px 0 0 var(--line);
}

.quick-strip__item:hover {
  background: var(--lime-soft);
}

.quick-strip__item strong {
  color: var(--green);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.quick-strip__item span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ==========================================================================
   9. Visual panels, plates, video
   ========================================================================== */

.visual-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 40vw, 480px);
  padding: 26px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand) center / cover no-repeat;
}

.visual-panel--company {
  background-image: url("assets/images/izzi-our-company.webp");
}

.visual-panel--meet {
  background-image: url("assets/images/izzi-lifestyle-family.webp");
}

.visual-panel--sun {
  background-image: url("assets/images/izzi-catalog-sun.webp");
}

.visual-panel--chips {
  background-image: url("assets/images/izzi-lifestyle-chips.webp");
}

.visual-panel--dip {
  background-image: url("assets/images/izzi-lifestyle-dip.webp");
}

.visual-panel__caption {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--green-deep);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.45;
}

.ingredient-plate {
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.06);
}

.ingredient-plate img {
  width: min(100%, 460px);
  filter: drop-shadow(0 40px 46px rgba(0, 0, 0, 0.36));
  animation: izzi-float 7s ease-in-out infinite;
}

/* Full-width band for the wide product-range shot (3.8:1) */
.range-band {
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: clamp(18px, 2.4vw, 32px) clamp(18px, 2.4vw, 32px) clamp(14px, 1.6vw, 20px);
  border-radius: var(--r-lg);
  background: #fff;
}

.range-band img {
  width: 100%;
  height: auto;
}

.range-band figcaption {
  margin-top: clamp(12px, 1.6vw, 18px);
  padding-top: clamp(12px, 1.6vw, 18px);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-align: center;
}

.video-block {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--green-deep);
}

.video-block__media {
  width: 100%;
  height: clamp(320px, 38vw, 460px);
  object-fit: cover;
  object-position: center;
}

.video-block__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 30px 24px 20px;
  background: rgba(4, 34, 18, 0.72);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   10. Cards & lists
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
  margin-top: clamp(32px, 4vw, 48px);
}

.info-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 0 0;
  border-top: 2px solid var(--green);
}

.info-card::before {
  content: "";
  position: absolute;
  inset: -2px auto auto 0;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width var(--t);
}

.info-card:hover::before {
  width: 100%;
}

.info-card strong {
  color: var(--green);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.info-card p {
  margin: 0;
  font-size: 0.8rem;
}

.info-card--iconic {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 14px;
}

.info-card__icon {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  color: var(--green-mid);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: background var(--t), transform var(--t);
}

.info-card--iconic:hover .info-card__icon {
  transform: scale(1.08);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.section--green .feature-list li,
.section--video .feature-list li,
.section--green .product-detail-list li,
.product-info-panel--profile .product-detail-list li {
  color: rgba(255, 255, 255, 0.9);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--lime) 26%, transparent);
}

.feature-list li::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.section--green .feature-list li::before,
.section--video .feature-list li::before {
  background: color-mix(in srgb, var(--lime) 34%, transparent);
}

.section--green .feature-list li::after,
.section--video .feature-list li::after {
  border-color: var(--lime);
}

/* ==========================================================================
   11. Product cards
   ========================================================================== */

.product-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--gap);
  margin-top: clamp(36px, 4.5vw, 56px);
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}

.product-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}

.product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card > img,
.product-card__link > img:not(.product-card__claims),
.product-card__placeholder {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 22px 22px 6px;
  background: var(--cream-2);
  transition: transform 0.6s var(--ease);
}

.product-card:hover > img,
.product-card:hover .product-card__link > img:not(.product-card__claims) {
  transform: scale(1.06) rotate(-1.5deg);
}

.product-card__placeholder {
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  color: var(--green);
}

.product-card__placeholder span {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.product-card__placeholder strong {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.product-card__claims {
  width: calc(100% - 44px);
  margin: 14px 22px 0;
  opacity: 0.62;
  transition: opacity var(--t);
}

.product-card:hover .product-card__claims {
  opacity: 1;
}

.product-card > span,
.product-card__link > span {
  align-self: flex-start;
  margin: 18px 22px 0;
  padding: 3px 7px;
  border-radius: var(--r-xs);
  background: var(--lime-soft);
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card > strong,
.product-card__link > strong {
  margin: 12px 22px 0;
  color: var(--green-deep);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.product-card > p,
.product-card__link > p {
  margin: 8px 22px 22px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.product-card__link em {
  margin: auto 22px 22px;
  color: var(--green-mid);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 750;
}

.product-card__link em::after {
  content: " →";
  display: inline-block;
  transition: transform var(--t);
}

.product-card:hover .product-card__link em::after {
  transform: translateX(5px);
}

/* ==========================================================================
   12. Catalog
   ========================================================================== */

.collection-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.collection-nav a {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background var(--t), color var(--t), transform var(--t), border-color var(--t);
}

.collection-nav a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.catalog-collections {
  display: grid;
  gap: clamp(56px, 7vw, 96px);
}

.product-collection {
  scroll-margin-top: 110px;
}

.product-collection__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.product-collection__head p {
  margin: 0 0 6px;
  color: var(--green-mid);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-collection__head h3 {
  margin: 0;
}

.product-collection__head > span {
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--lime-soft);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
}

.product-collection__intro {
  max-width: 68ch;
  margin: 18px 0 0;
}

/* ==========================================================================
   13. Product detail
   ========================================================================== */

.product-detail-hero {
  padding: clamp(104px, 9vw, 128px) 0 clamp(40px, 5vw, 64px);
  margin-top: -84px;
  background: var(--cream-2);
}

.product-detail-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(32px, 4vw, 60px);
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 550;
}

.product-breadcrumb a:hover {
  color: var(--green);
  text-decoration: underline;
}

.product-breadcrumb [aria-current="page"] {
  color: var(--green);
  font-weight: 700;
}

.product-detail-visual {
  display: grid;
  gap: 20px;
}

.product-detail-media {
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: var(--lime-soft);
}

.product-detail-media img {
  width: min(100%, 360px);
  filter: drop-shadow(0 18px 26px rgba(8, 45, 24, 0.16));
  animation: izzi-float 8s ease-in-out infinite;
}

.product-detail-mockup {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 300px;
  color: var(--green);
  text-align: center;
}

.product-detail-mockup span {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.product-detail-mockup small,
.product-detail-mockup em {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-style: normal;
}

.product-claims-strip {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  opacity: 0.82;
}

.product-detail-kicker {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 3px 7px;
  border-radius: var(--r-xs);
  background: var(--lime-soft);
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-detail-copy h1 {
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem);
}

.product-detail-lede,
.product-detail-copy .lead {
  max-width: 46ch;
  font-size: clamp(0.96rem, 0.93rem + 0.15vw, 1.05rem);
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.product-badges span {
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 650;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}

.product-detail-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 0 0;
  padding: 0;
  border-radius: var(--r-md);
  background: var(--line);
  overflow: hidden;
}

.product-detail-specs div {
  padding: 18px 20px;
  background: var(--surface);
}

.product-detail-specs dt {
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-detail-specs dd {
  margin: 6px 0 0;
  color: var(--green);
  font-size: 1.02rem;
  font-weight: 700;
}

.product-info-section {
  padding-block: var(--pad-section);
}

.product-info-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--gap);
}

.product-info-panel {
  padding: clamp(28px, 3.2vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.product-info-panel--profile {
  border-color: transparent;
  background: var(--green-deep);
  color: #fff;
}

.product-info-panel--profile h2,
.product-info-panel--profile span {
  color: #fff;
}

.product-info-panel--profile p {
  color: rgba(255, 255, 255, 0.9);
}

.product-info-panel span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green-mid);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-info-panel h2 {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
}

.product-detail-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.product-detail-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.product-detail-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--lime);
}

.product-related-section {
  background: var(--cream-2);
}

/* ==========================================================================
   14. Nutrition
   ========================================================================== */

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--gap);
  margin-top: clamp(36px, 4.5vw, 56px);
}

.nutrition-card {
  display: grid;
  align-content: start;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.nutrition-card h3 {
  margin-bottom: 10px;
  color: var(--green);
}

.nutrition-card p {
  font-size: 0.8rem;
}

.nutrition-facts {
  margin-top: 24px;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}

.nutrition-facts > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  font-size: 0.86rem;
  transition: background var(--t);
}

.nutrition-facts > div:nth-child(odd) {
  background: color-mix(in srgb, var(--lime-soft) 45%, transparent);
}

.nutrition-facts > div:hover {
  background: var(--lime-soft);
}

.nutrition-facts span {
  color: var(--ink-soft);
  font-weight: 550;
}

.nutrition-facts strong {
  color: var(--green);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.nutrition-facts__head {
  background: transparent !important;
  padding-block: 11px !important;
}

.nutrition-facts__head span {
  color: var(--green-mid);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nutrition-facts__head span:last-child {
  text-align: right;
}

/* ==========================================================================
   15. Quote form
   ========================================================================== */

.quote-wrap {
  max-width: 880px;
}

.form-message {
  margin-bottom: 22px;
  padding: 16px 20px;
  border-left: 3px solid var(--green);
  border-radius: var(--r-sm);
  background: var(--lime-soft);
  color: var(--green-deep);
  font-size: 0.9rem;
}

.form-message--error {
  border-left-color: var(--red);
  background: color-mix(in srgb, var(--red) 10%, #fff);
  color: #7d1f14;
}

.quote-form {
  display: grid;
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.form-block {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0 0 clamp(26px, 3vw, 34px);
  border: 0;
  min-width: 0;
}

.form-block + .form-block {
  padding-top: clamp(26px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.form-block__title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: var(--green-deep);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.form-block__title span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--r-xs);
  background: var(--lime-soft);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

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

.field label,
.field__label {
  padding: 0;
  color: var(--green-deep);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.field label em,
.form-footer__note em {
  color: var(--red);
  font-style: normal;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 30%, transparent);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--cream);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--t), background var(--t), transform var(--t);
}

.choice:hover {
  transform: translateY(-2px);
  border-color: var(--green-mid);
}

.choice input {
  width: 19px;
  height: 19px;
  accent-color: var(--green);
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--green);
  background: var(--lime-soft);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
}

.form-footer__note {
  max-width: 42ch;
  margin: 0;
  font-size: 0.78rem;
}

/* Honeypot: reachable by bots, invisible and unfocusable for people */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   15b. Error page
   ========================================================================== */

.error-page {
  display: grid;
  align-items: center;
  min-height: 70vh;
  margin-top: -84px;
  padding: clamp(130px, 14vw, 180px) 0 var(--pad-section);
  background: var(--cream-2);
}

.error-page__inner {
  width: var(--shell);
  margin-inline: auto;
  max-width: 56ch;
}

.error-page__code {
  margin: 0 0 8px;
  color: var(--lime);
  font-size: clamp(3.4rem, 2rem + 6vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.error-page__links a {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background var(--t), color var(--t), border-color var(--t);
}

.error-page__links a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ==========================================================================
   16. Footer
   ========================================================================== */

.site-footer {
  position: relative;
  padding-top: clamp(56px, 7vw, 92px);
  background: var(--green-deep);
  color: #fff;
  overflow: hidden;
}

.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer__brand .brand-mark__logo {
  height: 42px;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  max-width: 30ch;
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
}

.footer__col h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__col ul {
  display: grid;
  gap: 11px;
}

.footer__col a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  transition: color var(--t), transform var(--t);
}

.footer__col a:hover {
  color: var(--lime);
  transform: translateX(4px);
}

.footer__cta p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
}

.footer__cta .button {
  background: var(--lime);
  color: var(--green-deep);
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
}

.footer__bottom strong {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
}

.footer__credit [aria-hidden] {
  color: var(--lime);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   17. Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  :root {
    --shell: min(1200px, 100% - 36px);
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    order: 2;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 104px 24px 36px;
    background: var(--cream);
    box-shadow: var(--shadow-lg);
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0.5s;
  }

  body.menu-open .site-nav {
    transform: none;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav a:not(.button) {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav a:not(.button)::after {
    display: none;
  }

  .site-nav .button {
    margin-top: 18px;
    padding: 16px 24px;
  }

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

  .section__grid--reverse > *:first-child {
    order: 0;
  }

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

  .quick-strip__item:nth-child(odd) + .quick-strip__item {
    box-shadow: -1px 0 0 var(--line);
  }

  .quick-strip__item:nth-child(odd) {
    box-shadow: none;
  }

  .hero {
    background-image: url("assets/images/izzi-home-hero-mobile.webp");
    background-position: center top;
    min-height: clamp(520px, 78vh, 700px);
  }

  .product-detail-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(1200px, 100% - 28px);
    --pad-section: clamp(52px, 11vw, 72px);
  }

  .quick-strip {
    margin-top: -34px;
  }

  .quick-strip__inner {
    grid-template-columns: 1fr;
    padding: 6px;
  }

  .quick-strip__item {
    padding: 16px 18px;
    box-shadow: none !important;
  }

  .quick-strip__item + .quick-strip__item {
    border-top: 1px solid var(--line);
  }

  .hero__actions .button,
  .section__actions .button,
  .product-detail-actions .button {
    flex: 1 1 100%;
  }

  .product-showcase,
  .product-showcase--related,
  .cards-grid,
  .nutrition-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-footer .button {
    width: 100%;
  }

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

  .info-card--iconic {
    grid-template-columns: 1fr;
  }

  .info-card__icon {
    grid-row: auto;
  }

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

  .footer__bottom {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   18. Preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .nav-toggle {
    display: none;
  }
}
