/*
  Le Marocain Fruits & Nuts — design system

  Phase 3.6 visual identity: a natural / vegetal / premium-export palette,
  replacing the earlier WordPress-matched colors (documented in
  docs/PHASE-3.6-VISUAL-IDENTITY.md, with the old values kept there for
  reference). Structure, layout, components, breakpoints and the square
  button/section shape convention are all unchanged from before — only
  color values (and the couple of rules noted inline) were touched.
*/

/* Self-hosted Quicksand (was fonts.googleapis.com) - removes the cross-origin
   render-blocking request PageSpeed/Lighthouse flags for that stylesheet;
   same 4 weights, same two unicode subsets Google served (no vietnamese
   subset - not needed for EN/FR/TR/PT-BR content). */
@font-face{
  font-family: "Quicksand"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/quicksand/quicksand-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family: "Quicksand"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/quicksand/quicksand-latinext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family: "Quicksand"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/quicksand/quicksand-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family: "Quicksand"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/quicksand/quicksand-latinext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family: "Quicksand"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/quicksand/quicksand-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family: "Quicksand"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/quicksand/quicksand-latinext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family: "Quicksand"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/quicksand/quicksand-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family: "Quicksand"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/quicksand/quicksand-latinext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root{
  --color-primary: #E51A20;        /* logo red — trust, brand, primary actions */
  --color-primary-dark: #7A0F13;   /* darkest red — footer, heavy CTA surfaces */
  --color-primary-hover: #C0151A;  /* brighter red — hover/active feedback */
  --color-accent: #C0151A;         /* mid red — secondary buttons, small accents */
  --color-text: #241416;           /* dark red-charcoal, replaces pure black */
  --color-text-muted: #6B5B5B;     /* muted warm-grey body text */
  --color-bg: #FBF9F4;             /* crème / off-white page background */
  --color-bg-alt: #F5EAEA;         /* pale warm-grey — alternate section background */
  --color-border: #E3D6D6;         /* soft warm-grey border */
  --color-surface: #FFFFFF;        /* white — cards/surfaces sitting on the crème page bg */
  --font-heading: "Quicksand", Arial, sans-serif;
  --font-body: "Quicksand", Arial, sans-serif;
  --radius: 0px;                   /* unchanged: real site buttons/sections use square corners */
  --shadow: 0 0 14px rgba(0,0,0,0.09); /* unchanged: real box-shadow value from the live CSS */
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
img, video{ -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; } /* deterrent only, not real DRM - see main.js initContentProtection() */
a{ color: var(--color-primary); text-decoration: none; }
a:hover{ color: var(--color-primary-hover); }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--color-text);
}
h1{ font-size: 48.83px; letter-spacing: -1px; }
h2{ font-size: 30px; letter-spacing: -1px; }
h3{ font-size: 24px; }
h4{ font-size: 20px; }
h5{ font-size: 20px; }
h6{ font-size: 16px; text-transform: uppercase; color: var(--color-accent); } /* brand green replaces the old brown/citrus accent */
@media (max-width: 1024px){
  h1{ font-size: 42px; } h2{ font-size: 34px; } h3{ font-size: 28px; }
  h4{ font-size: 24px; } h5{ font-size: 20px; } h6{ font-size: 15px; }
}
@media (max-width: 767px){
  body{ font-size: 14px; }
}
p{ margin: 0 0 1em; color: var(--color-text-muted); text-align: justify; text-justify: inter-word; }
@media (max-width: 480px){ p{ text-align: left; } } /* justify creates awkward gaps on very narrow columns */
.container{
  width: 80%;
  margin: 0 auto;
}
@media (max-width: 767px){ .container{ width: 95%; } }
.visually-hidden{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--color-primary);
  color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* Buttons */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: "Montserrat", Arial, sans-serif; font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1;
  padding: 16px 28px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:focus-visible{ outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn-primary{ background: #E51A20; color: #fff; }
.btn-primary:hover{ background: #C0151A; color: #fff; transform: translateY(-1px); }
.btn-accent{ background: #E51A20; color: #fff; }
.btn-accent:hover{ filter: brightness(0.92); transform: translateY(-1px); }
.btn-outline{ background: transparent; border-color: currentColor; color: var(--color-primary-dark); }
.btn-outline:hover{ background: var(--color-primary-dark); color: #fff; }

/* Header */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled{ box-shadow: 0 4px 16px rgba(0,0,0,.1); } /* subtle shadow once scrolled, never a hard jump */
.site-header::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, transparent, #E51A20 50%, transparent);
  opacity: .55; pointer-events: none;
} /* one subtle accent line - soft red gradient */
.site-header .container{
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 108px; transition: height .2s ease; /* fixed - the header's own visual height, unaffected by the logo size below */
}
.site-header.is-scrolled .container{ height: 84px; }
.site-header.is-scrolled .brand img{ height: 56px; transition: height .2s ease; }
.brand{ display: flex; align-items: center; }
.brand img{ width: auto; height: 72px; transition: height .2s ease; }
.main-nav{ display: none; }
.main-nav ul{ display: flex; gap: 26px; align-items: center; }
.main-nav a{ font-weight: 500; font-size: .95rem; padding-bottom: 4px; border-bottom: 2px solid transparent; color: #000; }
.main-nav a:hover, .main-nav a[aria-current="page"]{ border-bottom-color: #E51A20; color: #000; }
.header-actions{ display: flex; align-items: center; gap: 14px; }
.lang-switcher{ position: relative; }
.lang-switcher button{
  font: inherit; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 999px; padding: 6px; cursor: pointer; font-weight: 600; font-size: .85rem;
  color: var(--color-primary); box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.lang-switcher button:hover{ box-shadow: 0 4px 10px rgba(0,0,0,.12); transform: translateY(-1px); border-color: var(--color-primary); }
.lang-switcher button .lang-flag{ width: 26px; height: 26px; }
.lang-switcher ul{
  display: none; position: absolute; right: 0; top: calc(100% + 10px);
  z-index: 10; /* above the header's red accent line (.site-header::after), which otherwise paints over the open menu */
  background: var(--color-surface); border: none; border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.06);
  min-width: 0; overflow: visible; padding: 8px;
}
.lang-switcher.open ul{ display: flex; gap: 4px; }
.lang-switcher li{ list-style: none; }
.lang-switcher li a{
  display: flex; align-items: center; justify-content: center; padding: 8px;
  border-radius: 999px; transition: background .15s ease, transform .15s ease;
}
.lang-switcher li a:hover{ background: var(--color-bg-alt); transform: translateY(-2px); }
.lang-switcher li a[aria-current="true"]{ box-shadow: inset 0 0 0 2px var(--color-primary); }
.lang-switcher li[aria-disabled="true"] a{ color: #aaa; cursor: not-allowed; pointer-events: none; }
.lang-label{ display: inline-flex; align-items: center; gap: 8px; }
.lang-flag{ width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lang-switcher li .lang-flag{ width: 26px; height: 26px; }
.nav-toggle{
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; padding: 0; cursor: pointer;
}
.nav-toggle span{ display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--color-primary); transition: transform .2s ease, opacity .2s ease; } /* elegant three-line icon, deep green on the white header */

@media (max-width: 959px){
  .header-actions .btn-primary{ display: none; } /* "Get a Quote" is EN/FR/TR/GH-shared CTA text, hidden on mobile to declutter the header */
}
.mobile-nav{
  display: none; flex-direction: column; gap: 4px; background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border); padding: 10px 20px 18px;
}
.mobile-nav.open{ display: flex; }
.mobile-nav a{ padding: 10px 0; font-weight: 500; color: #000; border-bottom: 1px solid var(--color-border); }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"]{ color: #000; border-bottom-color: #E51A20; }
.mobile-nav .lang-row{ display: flex; gap: 8px; padding-top: 12px; flex-wrap: wrap; }
.mobile-nav .lang-row a{ display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--color-border); color: var(--color-primary); border-radius: 999px; padding: 6px 14px; font-size: .85rem; }
.mobile-nav .lang-row a:hover{ background: var(--color-border); }

@media (min-width: 960px){
  .main-nav{ display: block; }
  .nav-toggle{ display: none; }
  .mobile-nav{ display: none !important; }
}

/* Hero */
.hero{
  position: relative; overflow: hidden; color: #fff;
  /* real homepage hero min-height from the live site's own CSS (post-7.css):
     800px desktop, 700px <=1024px, 500px <=767px - not a viewport-relative guess */
  min-height: 800px; display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(122,15,19,.5), rgba(122,15,19,.7)), var(--color-primary);
  background-size: cover; background-position: center;
}
@media (max-width: 1024px){ .hero{ min-height: 700px; } }
@media (max-width: 767px){ .hero{ min-height: 500px; } }
.hero-media{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-video-embed{
  position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center;
  /* Establishes the cqw/cqh context for the iframe's 16:9 cover-fill sizing below.
     Deliberately scoped here rather than on .hero: .hero must stay content-sized
     (min-height is a floor, not a cap) so taller hero content never gets clipped. */
  container-type: size; container-name: hero;
}
.hero-video-embed iframe{
  position: absolute; top: 50%; left: 50%; border: 0;
  width: 100cqw; height: 100cqh;
  min-width: calc(100cqh * 16 / 9); min-height: calc(100cqw * 9 / 16);
  transform: translate(-50%, -50%);
}
.hero-play-toggle{
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8);
  background: rgba(0,0,0,.4); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.hero-play-toggle svg{ width: 28px; height: 28px; margin-left: 2px; }
.hero-play-toggle:hover{ background: rgba(0,0,0,.6); transform: translate(-50%, -50%) scale(1.06); }
.hero-play-toggle:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 767px){ .hero-play-toggle{ width: 56px; height: 56px; } .hero-play-toggle svg{ width: 22px; height: 22px; } }
.hero-sound-toggle{
  position: absolute; z-index: 3; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; transition: background .2s ease;
}
.hero-sound-toggle[hidden]{ display: none; }
.hero-sound-toggle:hover{ background: rgba(0,0,0,.55); }
.hero-sound-toggle:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }
.hero-sound-toggle svg{ width: 20px; height: 20px; }
.hero-sound-toggle .icon-unmuted{ display: none; }
.hero-sound-toggle.is-unmuted .icon-muted{ display: none; }
.hero-sound-toggle.is-unmuted .icon-unmuted{ display: block; }
@media (max-width: 767px){ .hero-sound-toggle{ top: 16px; right: 16px; width: 38px; height: 38px; } }
.hero-slideshow{ position: absolute; inset: 0; z-index: 0; }
.hero-slide{ opacity: 0; transition: opacity 1s ease; }
.hero-slide.active{ opacity: 1; }
@media (prefers-reduced-motion: reduce){ .hero-slide{ transition: none; } }
.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,51,31,.4), rgba(18,51,31,.72)); /* natural green tint, not black */
  z-index: 1;
}
.hero-content{ position: relative; z-index: 2; padding: 90px 0; max-width: 640px; margin: 0 auto; text-align: center; }
.hero-eyebrow{
  display: inline-block; color: #fff; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 6px 16px; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero-content h1{ color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-content p{ font-size: 1.05rem; opacity: .95; color: #fff; text-align: center; }
.hero-cta{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; justify-content: center; }
.hero-stats{ display: flex; gap: 32px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25); justify-content: center; }
.hero-stats > div{ text-align: center; }
.hero-stats strong{ display: block; font-family: var(--font-heading); font-size: 1.6rem; color: #fff; }
.hero-stats span{ display: block; font-size: .8rem; color: rgba(255,255,255,.85); }
/* On narrow phones the 3 stats can't fit on one line and wrap 2+1, which looks broken
   (an orphan third item visually detached from the pair above it). Stack them in a single
   clean column instead of letting flex-wrap split them unevenly. */
@media (max-width: 480px){ .hero-stats{ flex-direction: column; gap: 18px; } }
.hero-scroll-cue{
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 2; color: #fff; font-size: 1.4rem; opacity: .8; text-decoration: none;
  animation: hero-bounce 2s ease-in-out infinite;
}
.hero-scroll-cue:hover{ opacity: 1; }
@keyframes hero-bounce{ 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(8px); } }
@media (prefers-reduced-motion: reduce){ .hero-scroll-cue{ animation: none; } }
@media (max-width: 767px){ .hero-scroll-cue{ display: none; } }
.hero.hero-page{ min-height: 360px; } /* no per-page hero CSS was found for inner pages; scaled down from the real homepage hero proportionally */
@media (max-width: 1024px){ .hero.hero-page{ min-height: 300px; } }
@media (max-width: 767px){ .hero.hero-page{ min-height: 240px; } }
.hero.hero-page .hero-content{ padding: 56px 0; }

/* Sections */
.section{ padding: 50px 0; } /* real site's common section padding (post-7.css: 50px 0 50px 0) */
.section + .section{ border-top: 1px solid var(--color-border); } /* visual separator between consecutive sections, since .section and .section-alt backgrounds are close in tone */
.section-alt{ background: var(--color-bg-alt); }
.section-title{ text-align: center; max-width: 720px; margin: 0 auto 40px; }

/* Homepage intro + "Why us" side by side on wide screens */
.home-intro-grid{ display: grid; gap: 48px; }
@media (min-width: 960px){ .home-intro-grid{ grid-template-columns: 1fr 1fr; align-items: start; } } /* both headings line up at the top now that the left column also has the map image */
.section-title h2{ font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.section-title .eyebrow{
  display: inline-block; color: var(--color-accent); font-weight: 700; /* brand green replaces the old brown/citrus accent */
  letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px;
}

/* Product grid / cards */
.product-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; /* real site gap value from post-7.css */
}
@media (min-width: 640px){ .product-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px){ .product-grid{ grid-template-columns: repeat(4, 1fr); } }
/*
  Real site note: the live homepage's product images use a circular mask
  (confirmed via 8 masked .elementor-widget-image rules in its own CSS,
  webkit-mask-image: circle.svg, one per product) - not a bordered/shadowed
  square card. Reproduced here as a plain circular image + caption, no card
  chrome, matching that source rather than the boxed-card look guessed at
  in an earlier phase.
*/
.product-card{ text-align: center; transition: transform .2s ease; }
.product-card:hover{ transform: translateY(-3px); }
.product-card img{ width: 110px; height: 110px; object-fit: cover; border-radius: 50%; margin: 0 auto; }
@media (max-width: 767px){ .product-card img{ width: 88px; height: 88px; } }

/* Export markets / flags (real flag icons from the live site), grouped by region */
.flag-groups{ display: flex; flex-direction: column; gap: 36px; margin-top: 36px; }
.flag-group-title{
  text-align: center; font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--color-accent); margin-bottom: 20px;
  position: relative;
}
.flag-group-title::after{
  content: ""; display: block; width: 40px; height: 2px; background: var(--color-accent);
  opacity: .5; margin: 8px auto 0;
}
.flag-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 14px;
  text-align: center;
}
@media (min-width: 640px){ .flag-grid{ grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 960px){ .flag-grid{ grid-template-columns: repeat(8, 1fr); } }
.flag-item{
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 6px; border-radius: 14px; background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.flag-item:hover{
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-accent);
}
.flag-item img{
  width: 60px; height: 60px; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--color-bg-alt); transition: border-color .18s ease;
}
.flag-item:hover img{ border-color: var(--color-accent); }
.flag-name{
  font-family: var(--font-heading); font-size: .78rem; font-weight: 600;
  letter-spacing: .01em; color: var(--color-text-muted);
}

/* Homepage intro: Morocco export map illustration */
.brand-map-img{
  width: 100%; height: auto; margin-bottom: 20px; display: block;
  border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--color-border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.brand-map-img:hover{ transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.14); }

/* IQF page photo gallery (real product/export photos) */
.iqf-gallery{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px;
}
@media (min-width: 640px){ .iqf-gallery{ grid-template-columns: repeat(4, 1fr); } }
.iqf-gallery figure{ margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4; }
.iqf-gallery img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* About page: brand photo + company logo */
.about-photo{ display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow); margin: 24px 0; }
.about-logo-wrap{ text-align: center; margin-top: 32px; }
.about-logo{ width: 160px; height: auto; }
.product-card .card-body{ padding: 14px 12px 4px; }
.product-card h3{ font-size: 1rem; margin-bottom: 4px; color: var(--color-primary-dark); }
.product-card .card-tag{ font-size: .8rem; color: var(--color-text-muted); }

/* Stats */
.stats-grid{ display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; text-align: center; }
@media (min-width: 768px){ .stats-grid{ grid-template-columns: repeat(4,1fr); } }
.stat-item .stat-number{ font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--color-primary); }
.stat-item .stat-label{ font-size: .9rem; color: var(--color-text-muted); }

/* Feature list */
.feature-list{ display: grid; gap: 18px; }
@media (min-width: 768px){ .feature-list{ grid-template-columns: repeat(2,1fr); } }
.feature-item{ display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--color-border); border-left: 3px solid var(--color-accent); border-radius: var(--radius); background: var(--color-surface); }
.feature-item .icon{ flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center; color: var(--color-primary); font-weight: 700; }
.feature-item p{
  text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto;
  word-spacing: -0.5px;
}

/* Product detail page */
.product-hero{
  display: grid; gap: 40px; align-items: start;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
@media (min-width: 860px){ .product-hero{ grid-template-columns: 1fr 1fr; padding: 40px; } }
.product-hero > *{ min-width: 0; }
.product-hero img{ border-radius: var(--radius); }

/* Product image gallery: main photo + a scrollable strip of real product
   photos below it; click a thumbnail to show it large. Vanilla JS only. */
.product-gallery{ display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.gallery-main{
  height: 340px; overflow: hidden; border-radius: var(--radius);
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
}
@media (min-width: 640px){ .gallery-main{ height: 420px; } }
.gallery-main img{ width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs{ display: flex; align-items: center; gap: 8px; min-width: 0; }
.gallery-thumbs-track{
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 2px; min-width: 0;
  scrollbar-width: none; -ms-overflow-style: none; /* hide scrollbar: Firefox, IE/Edge legacy */
}
.gallery-thumbs-track::-webkit-scrollbar{ display: none; } /* hide scrollbar: Chrome, Safari, Edge */
.gallery-thumb{
  flex: none; width: 96px; height: 96px; padding: 0; border-radius: var(--radius);
  border: 2px solid transparent; background: none; cursor: pointer; overflow: hidden;
  scroll-snap-align: start; opacity: .7; transition: opacity .15s ease, border-color .15s ease;
}
.gallery-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover{ opacity: 1; }
.gallery-thumb.active{ opacity: 1; border-color: var(--color-primary); }
.gallery-nav{
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--color-border);
  background: var(--color-surface); cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--color-text-muted);
}
.gallery-nav:hover{ color: var(--color-primary); border-color: var(--color-primary); }
.product-hero > div{ display: flex; flex-direction: column; }
.spec-table{ width: 100%; border-collapse: collapse; margin: 20px 0; }
.spec-table th, .spec-table td{ text-align: left; padding: 12px; border-bottom: 1px solid var(--color-border); font-size: .92rem; }
.spec-table tr:nth-child(odd){ background: var(--color-bg-alt); }
.spec-table th{ width: 40%; color: var(--color-text-muted); font-weight: 600; }
.spec-table th .spec-icon{ margin-right: 8px; }

.incoterms-note{ margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--color-border); }
.incoterms-lead{ margin: 0 0 14px; font-size: .85rem; color: var(--color-text-muted); }
.incoterms-row{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.incoterm-badge{
  text-align: center; padding: 14px 8px;
  border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg-alt);
}
.incoterm-icon{ color: var(--color-primary); display: flex; justify-content: center; margin-bottom: 6px; }
.incoterm-badge strong{ display: block; font-family: var(--font-heading); font-size: .95rem; }
.incoterm-badge span{ display: block; font-size: .72rem; color: var(--color-text-muted); margin-top: 2px; }
.prose h2{ margin-top: 1.6em; font-size: 1.35rem; }
.prose h3, .prose h4, .prose h5{ margin-top: 1.4em; font-size: 1.1rem; }
.prose ul{ list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li{ margin-bottom: .4em; }
@media (min-width: 800px){
  .prose-columns{ column-count: 2; column-gap: 48px; }
  .prose-columns h2{ break-after: avoid; }
  .prose-columns p, .prose-columns ul, .prose-columns img, .prose-columns .about-logo-wrap{ break-inside: avoid; }
}

/* FAQ */
.faq-item{ border-bottom: 1px solid var(--color-border); padding: 16px 0; }
.faq-item summary{ cursor: pointer; font-weight: 600; font-family: var(--font-heading); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{ content: "+"; font-size: 1.3rem; color: var(--color-primary); }
.faq-item[open] summary::after{ content: "\2212"; }
.faq-item p{ margin-top: 12px; color: var(--color-text-muted); }

/* Harvest calendar */
/* position: relative keeps the absolutely-positioned .sr-only cell labels inside this scroller -
   without it they anchor to the page and widen it on phones (white strip when swiping sideways) */
.harvest-chart{ position: relative; overflow-x: auto; margin: 0 0 20px; -webkit-overflow-scrolling: touch; }
.harvest-table{ width: 100%; min-width: 760px; border-collapse: collapse; }
.harvest-table th, .harvest-table td{ padding: 0; }
.harvest-table thead th{ background: var(--color-primary); color: #fff; font-size: .78rem; font-weight: 600; text-align: center; padding: 10px 4px; }
.harvest-table thead th:first-child{ background: transparent; }
.harvest-table tbody th{ text-align: left; padding: 8px 14px 8px 4px; font-weight: 600; white-space: nowrap; font-size: .9rem; }
.harvest-table tbody tr:nth-child(odd){ background: var(--color-bg-alt); }
.harvest-icon{ margin-right: 6px; }
.harvest-table td.on, .harvest-table td.off{ height: 34px; border-left: 2px solid #fff; }
.harvest-table tr{ --harvest-color: var(--color-primary); }
.harvest-table td.on{ background: var(--harvest-color); }
.harvest-table td.off{ background: #F0E3E3; }
.harvest-legend{ display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 4px 0 28px; font-size: .85rem; color: var(--color-text-muted); }
.harvest-legend .legend-dots{ display: inline-flex; gap: 3px; margin-right: 6px; vertical-align: middle; }
.harvest-legend .legend-dots i{ display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.harvest-legend .legend-swatch{ display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.harvest-legend .legend-swatch.off{ background: #F0E3E3; }
.harvest-meta{ display: grid; gap: 20px; }
@media (min-width: 640px){ .harvest-meta{ grid-template-columns: 1fr 1fr; } }
.harvest-meta h3{ font-size: .95rem; margin: 0 0 10px; }
.harvest-flag-row{ display: flex; flex-wrap: wrap; gap: 8px; }
.harvest-flag-row img{ border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.harvest-partners{ display: flex; flex-wrap: wrap; gap: 8px; }
.harvest-partners span{ background: var(--color-bg-alt); color: var(--color-text); border: 1px solid var(--color-border); border-radius: 999px; padding: 5px 12px; font-size: .8rem; font-weight: 600; }
.sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* CTA banner */
.cta-banner{
  background: #F5EAEA; color: var(--color-text); border-radius: var(--radius);
  padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.cta-banner h2{ color: var(--color-text); }

/* Contact */
.contact-grid{ display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px){ .contact-grid{ grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; } }
/* Form card */
.contact-card{
  background: var(--color-surface); border: 1px solid var(--color-border); border-top: 4px solid var(--color-primary);
  box-shadow: 0 10px 30px rgba(36,20,22,.07); padding: 22px 18px;
}
@media (min-width: 640px){ .contact-card{ padding: 32px 34px; } }
.contact-card-title{ font-size: 1.45rem; margin-bottom: 6px; }
.contact-card-sub{ font-size: .92rem; margin-bottom: 22px; text-align: left; }
/* Contact details: compact icon cards, sticky beside the form on desktop */
.contact-info-list{ display: grid; gap: 12px; }
@media (min-width: 900px){ .contact-info-list{ position: sticky; top: 130px; } }
.contact-side-title{ font-size: 1.15rem; margin: 0 0 4px; }
.contact-info-item{
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--color-border); background: var(--color-surface);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.contact-info-item:hover{ border-color: var(--color-primary); box-shadow: 0 6px 18px rgba(36,20,22,.08); transform: translateY(-1px); }
.ci-icon{
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-bg-alt); color: var(--color-primary);
}
.ci-whatsapp .ci-icon{ background: #E7F8EE; color: #1DA851; }
.ci-body{ min-width: 0; }
.ci-label{ display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 2px; }
.ci-value{ font-size: .98rem; line-height: 1.5; color: var(--color-text); overflow-wrap: anywhere; }
.ci-value a{ font-weight: 600; }
.ci-action{ display: inline-block; margin-top: 6px; font-size: .85rem; font-weight: 600; }
/* Form */
.contact-form{ display: grid; gap: 16px; }
.form-row{ display: grid; gap: 16px; }
@media (min-width: 640px){ .form-row{ grid-template-columns: 1fr 1fr; } }
.contact-form label{ font-size: .85rem; font-weight: 600; display: block; margin-bottom: 6px; color: var(--color-text); }
.contact-form input, .contact-form textarea{
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 8px;
  font: inherit; background: var(--color-bg); color: var(--color-text);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.contact-form textarea{ resize: vertical; min-height: 140px; }
.contact-form input::placeholder, .contact-form textarea::placeholder{ color: #A89A9A; }
.contact-form input:hover, .contact-form textarea:hover{ border-color: #CDBDBD; }
.contact-form input:focus, .contact-form textarea:focus{ outline: none; background: #fff; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(229,26,32,.15); }
.form-note{ margin: 0; font-size: .8rem; color: var(--color-text-muted); text-align: center; }
.form-note svg{ display: inline-block; vertical-align: -2px; margin-right: 6px; }
.contact-form .form-check{ display: flex; align-items: flex-start; gap: 10px; }
.contact-form .form-check input{ width: auto; margin-top: 3px; flex: none; }
.contact-form .form-check label{ font-size: .85rem; font-weight: 400; margin-bottom: 0; }
/* "Send by email" + "Send by WhatsApp" buttons side by side; stacked full-width on phones */
.form-actions{ display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn{ flex: 1 1 220px; }
.btn-whatsapp{ background: #25D366; color: #fff; }
.btn-whatsapp:hover{ background: #1DA851; color: #fff; transform: translateY(-1px); }
.btn-whatsapp svg{ flex: none; }
.contact-form .btn:disabled{ opacity: .6; cursor: wait; transform: none; }
.form-status{ font-size: .9rem; padding: 10px 14px; border-radius: 8px; display: none; }
.form-status.visible{ display: block; }
.form-status.info{ background: #FFF7E0; color: #7A5B00; }
.form-status.error{ background: #FDE8E8; color: #9B1C1C; }

/* WhatsApp floating button */
.whatsapp-fab{
  position: fixed; right: 20px; z-index: 200;
  bottom: calc(20px + var(--cookie-banner-h, 0px)); /* floats above the cookie banner while it is shown (main.js) */
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  font-size: 1.4rem; transition: transform .15s ease, bottom .25s ease;
}
.whatsapp-fab:hover{ transform: scale(1.08); }
.whatsapp-fab-ring{
  position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  animation: whatsapp-pulse 2.2s ease-out infinite; z-index: -1;
}
@keyframes whatsapp-pulse{
  0%{ transform: scale(1); opacity: .55; }
  100%{ transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-fab-ring{ animation: none; display: none; }
}

/* Cookie consent banner */
.cookie-banner{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--color-primary-dark); color: #FBEAEA; box-shadow: 0 -4px 16px rgba(0,0,0,.2);
}
.cookie-banner-inner{
  max-width: 1180px; margin: 0 auto; padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.cookie-banner-inner p{ margin: 0; color: #FBEAEA; flex: 1 1 320px; text-align: left; font-size: .92rem; }
.cookie-banner-inner a{ color: #FFB3B0; text-decoration: underline; }
.cookie-banner-inner .btn{ flex: 0 0 auto; }

/* Footer */
.site-footer{ background: #F5EAEA; color: var(--color-text); padding: 24px 0 16px; }
.footer-grid{ display: grid; grid-template-columns: 1fr; gap: 24px 20px; margin-bottom: 20px; text-align: center; }
.footer-brand{ display: flex; flex-direction: column; align-items: center; }
@media (min-width: 768px){
  .footer-grid{ grid-template-columns: 1fr 1fr; text-align: left; }
  .footer-grid > .footer-brand{ grid-column: 1 / -1; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px solid rgba(36,20,22,.18); }
}
@media (min-width: 1024px){
  .site-footer{ padding: 36px 0 20px; }
  .footer-grid{ grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
  .footer-grid > .footer-brand{ grid-column: auto; padding-bottom: 0; border-bottom: none; }
}
.site-footer h3{ color: var(--color-text); font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.footer-logo{ width: 220px; height: auto; margin-bottom: 8px; animation: footer-logo-float 4s ease-in-out infinite; }
@keyframes footer-logo-float{
  0%, 100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-8px) rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce){ .footer-logo{ animation: none; } }
.site-footer a{ color: rgba(36,20,22,.8); text-decoration: none; transition: color .15s ease; }
.site-footer a:hover{ color: var(--color-text); text-decoration: underline; }
.site-footer a:focus-visible{ outline: 2px solid var(--color-text); outline-offset: 2px; }
.footer-brand p{ color: rgba(36,20,22,.8); font-size: .92rem; max-width: 320px; }
.footer-list{ display: flex; flex-direction: column; gap: 8px; }
.footer-list li{ font-size: .92rem; color: rgba(36,20,22,.8); line-height: 1.4; }
.footer-list--2col{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.footer-bottom{
  border-top: 1px solid rgba(36,20,22,.18); padding-top: 14px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .82rem; color: rgba(36,20,22,.8);
}
/* Mobile: everything in the footer centered, bottom bar stacked */
@media (max-width: 767px){
  .footer-brand p{ text-align: center; margin-left: auto; margin-right: auto; }
  .footer-bottom{ flex-direction: column; align-items: center; text-align: center; }
  .footer-list--2col{ max-width: 320px; margin-left: auto; margin-right: auto; }
}
.footer-bottom a{ color: rgba(36,20,22,.8); }
/* Agency credit line under the copyright bar */
.footer-credit{ margin: 10px 0 0; text-align: center; font-size: .78rem; color: rgba(36,20,22,.65); }
.footer-credit a{ font-weight: 600; }
/* Discreet icon link to the private monthly SEO/AEO/GEO report (rapport-seo/) */
.footer-report-link{ display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: 8px; vertical-align: middle; border: 1px solid rgba(36,20,22,.25); border-radius: 50%; }
.footer-report-link svg{ width: 13px; height: 13px; flex-shrink: 0; }
.site-footer .footer-report-link:hover{ color: var(--color-primary); border-color: var(--color-primary); text-decoration: none; }

/* 404 */
.error-page{ text-align: center; padding: 100px 0; }
.error-page .code{ font-family: var(--font-heading); font-size: 5rem; color: var(--color-primary); font-weight: 700; }

/* Empty state (news) */
.empty-state{ text-align: center; padding: 60px 20px; border: 1px dashed var(--color-border); border-radius: var(--radius); background: var(--color-bg-alt); }

/* Product intro: video beside the first paragraphs, side by side on wider screens */
.product-intro-grid{ display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px){ .product-intro-grid{ grid-template-columns: 1fr 1fr; } }

/* Product video placeholder - widescreen (16:9, YouTube-style) box, ready to
   receive a real <video> once supplied */
.video-placeholder{
  max-width: 100%; margin: 0 auto; text-align: center;
  border: 1px dashed var(--color-border); border-radius: var(--radius);
  background: var(--color-surface); padding: 16px;
}
.video-placeholder .poster{ position: relative; margin: 0 auto 16px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }
.video-placeholder .poster img{ display: block; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video-placeholder .play-badge{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.55);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}

/* Real product video (widescreen, same box treatment as the placeholder) */
.video-embed{ aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-embed video{ display: block; width: 100%; height: 100%; object-fit: cover; }
.video-embed iframe{ display: block; width: 100%; height: 100%; border: 0; } /* YouTube product videos */
.video-placeholder p{ margin: 0; font-size: .9rem; }

/* ===== News: article page (news/<slug>/) ===== */
.article-hero{ min-height: 520px; align-items: flex-end; }
.article-hero .hero-overlay{ background: linear-gradient(90deg, rgba(122,15,19,.94) 0%, rgba(122,15,19,.82) 45%, rgba(122,15,19,.35) 100%); }
.article-hero-content{ max-width: 760px; margin: 0; text-align: left; padding: 70px 0 56px; }
.article-hero-content h1{ font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.15; }
.article-hero-content p{ text-align: left; }
.breadcrumb{ font-size: .85rem; margin-bottom: 16px; color: rgba(255,255,255,.85); }
.breadcrumb a{ color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.article-tag{ display: inline-block; background: var(--color-primary); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; margin-bottom: 16px; }
.article-byline{ font-size: .88rem; margin-top: 18px; opacity: .9; }
.article-body{ max-width: 860px; padding: 48px 0 64px; }
@media (max-width: 767px){ .article-body{ width: 92%; } .article-hero{ min-height: 0; } .article-hero-content{ padding: 48px 0 36px; } }
.article-prose p, .article-prose li{ color: var(--color-text); font-size: 1.02rem; line-height: 1.75; text-align: left; }
.article-prose h2{ color: var(--color-primary-dark); font-size: 1.55rem; margin-top: 1.8em; }
.article-note{ font-style: italic; font-size: .9rem; color: var(--color-text-muted) !important; }
/* Quick answer + key figures */
.quick-answer{ border-left: 5px solid var(--color-primary); background: var(--color-surface); padding: 22px 26px; box-shadow: var(--shadow); }
.quick-answer p{ margin: 0; color: var(--color-text); line-height: 1.7; text-align: left; }
.quick-answer .quick-answer-label{ font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 8px; }
.stat-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 8px; }
@media (min-width: 768px){ .stat-grid{ grid-template-columns: repeat(4, 1fr); } }
.stat-card{ background: var(--color-surface); border: 1px solid var(--color-border); padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.stat-card strong{ font-family: var(--font-heading); font-size: 1.55rem; line-height: 1.1; color: var(--color-primary-dark); }
.stat-card span{ font-size: .82rem; color: var(--color-text-muted); line-height: 1.4; }
/* Bar chart (pure HTML/CSS) */
.chart-card{ margin: 28px 0; background: var(--color-surface); border: 1px solid var(--color-border); padding: 22px 22px 16px; }
.chart-title{ font-weight: 700; font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 18px; }
.bar-chart{ position: relative; height: 240px; padding-left: 40px; }
.bar-grid{ position: absolute; inset: 0 0 26px 0; display: flex; flex-direction: column; justify-content: space-between; }
.bar-grid span{ font-size: .72rem; color: var(--color-text-muted); border-bottom: 1px solid var(--color-border); line-height: 0; height: 0; }
.bar-cols{ position: relative; height: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; padding-bottom: 26px; }
.bar-col{ position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar-fill{ width: min(64px, 80%); background: #C9A9A9; }
.bar-record .bar-fill{ background: var(--color-primary); }
.bar-drop .bar-fill{ background: var(--color-primary-dark); }
.bar-forecast .bar-fill{ background: #DCE5D6; outline: 2px dashed #4E6B3A; outline-offset: -2px; }
.bar-num{ font-size: .8rem; font-weight: 700; margin-bottom: 4px; white-space: nowrap; }
.bar-year{ position: absolute; bottom: -24px; font-size: .78rem; color: var(--color-text); white-space: nowrap; }
.chart-source{ font-size: .82rem !important; color: var(--color-text-muted) !important; margin: 14px 0 1.2em; line-height: 1.5 !important; }
/* Data table */
.table-scroll{ overflow-x: auto; margin: 18px 0 0; }
.data-table{ width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.data-table caption{ text-align: left; font-weight: 700; padding-bottom: 10px; }
.data-table th{ text-align: left; background: var(--color-bg-alt); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 12px; }
.data-table td{ padding: 12px; border-bottom: 1px solid var(--color-border); }
.data-table .num{ text-align: right; font-variant-numeric: tabular-nums; }
/* Peak window */
.peak-window{ display: grid; margin: 34px 0; background: #1F2A16; color: #fff; overflow: hidden; }
@media (min-width: 768px){ .peak-window{ grid-template-columns: 1fr 1.1fr; } }
.peak-window img{ width: 100%; height: 100%; max-height: 320px; object-fit: cover; }
.peak-window-text{ padding: 28px 30px; align-self: center; }
.peak-window-text p, .peak-window-text h3{ color: #fff; text-align: left; }
.peak-label{ font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B9D98A !important; border-bottom: 3px solid var(--color-primary); display: inline-block; padding-bottom: 4px; }
.peak-weeks{ font-family: var(--font-heading); font-size: 3.2rem; font-weight: 800; line-height: 1; margin: 6px 0 10px; }
.peak-weeks span{ font-size: 1.2rem; color: #B9D98A; }
.peak-window-text h3{ font-size: 1.2rem; margin-bottom: 6px; }
.peak-window-text p:last-child{ opacity: .85; margin: 0; }
/* Varieties */
.variety-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0 8px; }
@media (min-width: 768px){ .variety-grid{ grid-template-columns: repeat(3, 1fr); } }
.variety-card{ background: var(--color-surface); border: 1px solid var(--color-border); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.variety-card strong{ font-family: var(--font-heading); font-size: 1.1rem; }
.variety-card span{ font-size: .85rem; color: var(--color-text-muted); }
.variety-lead{ border: 2px solid #4E6B3A; }
.variety-card .variety-badge{ align-self: flex-start; background: var(--color-primary); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; }
/* Shocks list, importer box, figure */
.shock-list{ list-style: none !important; padding-left: 0 !important; }
.shock-list li{ position: relative; padding-left: 28px; }
.shock-list li::before{ content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 12px; background: var(--color-primary); }
.importer-box{ background: #EEF2E8; border: 1px solid #D5DFC9; padding: 22px 26px; margin: 28px 0; }
.importer-box h3{ color: #3F5A2C; font-size: 1.2rem; }
.importer-box ul{ list-style: disc; padding-left: 1.2em; }
.importer-box li{ margin-bottom: .5em; line-height: 1.65; }
.article-figure{ margin: 30px 0; }
.article-figure img{ width: 100%; max-height: 420px; object-fit: cover; }
.article-figure figcaption{ font-size: .85rem; color: var(--color-text-muted); margin-top: 8px; }
.article-faq{ margin-top: 40px; }
.article-faq h2{ color: var(--color-primary-dark); }
/* CTA + sources */
.article-cta{ background: var(--color-primary-dark); color: #fff; padding: 30px 30px 26px; margin: 40px 0; }
.article-cta h2{ color: #fff; font-size: 1.45rem; }
.article-cta p{ color: rgba(255,255,255,.9); text-align: left; }
.article-cta-actions{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn-outline-light{ background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover{ background: #fff; color: var(--color-primary-dark); }
.article-sources h2{ color: var(--color-primary-dark); font-size: 1.35rem; }
.article-sources ol{ list-style: decimal; padding-left: 1.4em; }
.article-sources li{ font-size: .9rem; margin-bottom: 6px; line-height: 1.55; }
/* News index: article cards */
.news-grid{ display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.news-card{ background: var(--color-surface); border: 1px solid var(--color-border); display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.news-card:hover{ box-shadow: 0 12px 28px rgba(36,20,22,.1); transform: translateY(-2px); }
.news-card picture{ display: block; }
.news-card img{ width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.news-card-body{ padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card-meta{ font-size: .8rem; color: var(--color-text-muted); }
.news-card-meta .article-tag{ margin: 0 8px 0 0; font-size: .68rem; padding: 4px 8px; }
.news-card h2{ font-size: 1.25rem; margin: 0; }
.news-card h2 a{ color: var(--color-text); }
.news-card h2 a:hover{ color: var(--color-primary); }
.news-card p{ margin: 0; text-align: left; }
.news-card .read-more{ margin-top: auto; font-weight: 700; }
