/*
Theme Name: Moringato
Theme URI: https://moringamor.com
Description: Independent WooCommerce theme for Moringato — pure organic moringa. Hand-built from the Figma design: cream & forest-green palette, Inter, pill navbar, marquee banner. No parent theme, no page builder.
Author: Moringato
Version: 2.21.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moringato
Tags: e-commerce, woocommerce
*/

/* ============================================================
   FONTS — self-hosted Inter (latin), no external requests
   ============================================================ */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/inter-700.woff2') format('woff2');
}

/* ============================================================
   DESIGN TOKENS — exact values from the Figma file
   ============================================================ */
:root {
  --cream:        #F3F4E9;  /* page background            */
  --ink:          #1E3620;  /* headings / primary text    */
  --ink-deep:     #0E1A0F;  /* banner, footer, bag pill   */
  --text-muted:   #6B7566;  /* body copy                  */
  --green:        #4F7A3D;  /* brand green (buttons)      */
  --green-bright: #5D8B31;  /* hero accent + main CTA     */
  --green-pale:   #DFECDF;  /* section gradient end       */
  --green-card:   #DFEADF;  /* story card                 */
  --green-badge:  #D8EDD8;  /* badge pills                */
  --green-label:  #99B299;  /* footer column headers      */
  --green-sub:    #CCE5CC;  /* product card subtitles     */
  --footer-dim:   #4D664D;  /* footer copyright           */

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --r-card: 20px;
  --r-story: 24px;
  --r-badge: 14px;
  --r-pill: 999px;

  --maxw: 1320px;
  --pad: 24px;

  --shadow-chip: 0 10px 30px rgba(14, 26, 15, .12);
  --shadow-card: 0 14px 34px rgba(14, 26, 15, .10);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Decorative bleeds (story cup at right:-64px) must never create sideways
   scroll. `clip` doesn't make a scroll container, so sticky keeps working;
   `hidden` first as fallback for older engines. */
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.mt-wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
}

/* Buttons */
.mt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; cursor: pointer;
  border-radius: var(--r-pill);
  padding: 15px 26px;
  font: 500 14px/1 var(--font);
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
/* Primary pills "steep" on hover: the darker green fills bottom-to-top. */
.mt-btn--primary, .mt-btn--green {
  color: #fff;
  background-size: 100% 200%;
  background-position: 0 0;
  transition: background-position .3s ease, transform .15s ease, color .2s ease;
}
.mt-btn--primary { background-image: linear-gradient(to top, var(--green) 50%, var(--green-bright) 50%); }
.mt-btn--green { background-image: linear-gradient(to top, var(--ink) 50%, var(--green) 50%); }
.mt-btn--primary:hover, .mt-btn--green:hover { background-position: 0 100%; color: #fff; }
.mt-btn--primary:hover { transform: translateY(-1px); }
.mt-btn--soft { background: var(--cream); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(30,54,32,.14); }
.mt-btn--soft:hover { background: #fff; color: var(--ink); }

/* Badge pill (OUR STORY / hero eyebrow) */
.mt-badge {
  display: inline-block;
  background: var(--green-badge);
  color: var(--green);
  border-radius: var(--r-badge);
  padding: 7px 14px;
  font: 600 11px/1 var(--font);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ============================================================
   HEADER — floating pill navbar
   ============================================================ */
.mt-header {
  position: sticky; top: 0; z-index: 50;
  padding: 16px var(--pad) 8px;
}
/* Smoked-glass pill (miliamatcha.com style): translucent black over a
   backdrop blur, hairline white border, white text, centered logo with
   symmetric grow zones either side. */
.mt-nav {
  position: relative;
  max-width: 1360px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  min-height: 60px;
  padding: 14px 40px;
  color: #fff;
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 30px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}
/* Blur lives on a pseudo, not .mt-nav itself: an element with backdrop-filter
   becomes a backdrop root, which would keep the mobile dropdown's own blur
   from sampling the page behind it. */
.mt-nav::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mt-nav__logo { display: flex; align-items: center; flex: 0 0 auto; }
.mt-nav__logo img { width: 56px; height: 43px; object-fit: contain; }
.mt-nav__menu {
  display: flex; gap: 36px; list-style: none; margin: 0; padding: 0;
  flex: 1 0 0;
}
.mt-nav__menu a {
  color: #fff; font: 500 13px/1 var(--font);
  text-transform: uppercase; letter-spacing: .04em;
}
.mt-nav__menu a:hover { color: #fff; text-decoration: underline; }
.mt-nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 22px; flex: 1 0 0; }
.mt-nav__lang { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.mt-nav__lang a { color: rgba(255,255,255,.7); font: 500 12px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; }
.mt-nav__lang a:hover { color: #fff; }
.mt-nav__lang .current-lang a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.mt-nav__lang-mobile { display: none; }  /* burger-panel languages — mobile only (≤860px) */
.mt-nav__account { color: rgba(255,255,255,.85); font: 400 14px/1 var(--font); }
.mt-nav__account:hover { color: #fff; }
.mt-nav__bag {
  display: inline-flex; align-items: center;
  background: rgba(255, 255, 255, .12); color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 19px; padding: 11px 19px;
  font: 500 13px/1 var(--font);
}
.mt-nav__bag:hover { background: var(--green); border-color: var(--green); color: #fff; }
.mt-nav__toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.mt-hero { padding: 56px 0 64px; }
.mt-hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 48px; align-items: center;
}
.mt-hero__title {
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 22px 0 30px;
}
.mt-hero__title em { font-style: normal; color: var(--green-bright); }
.mt-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.mt-hero__media { position: relative; }
/* Tight frame around the photo so the chips anchor to the photo's own
   corners (the media column is wider than the image). */
.mt-hero__frame { position: relative; width: fit-content; max-width: 100%; margin-left: auto; }
.mt-hero__frame img {
  border-radius: 17px;
  width: 100%; max-width: 438px;
  box-shadow: var(--shadow-card);
}
/* Frosted-glass chips over the hero photo (position + transparency
   replicated from poc-static/00-original.html). */
.mt-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  padding: 13px 16px;
  box-shadow: var(--shadow-chip);
}
.mt-chip--tl { top: 24px; left: -18px; }
.mt-chip--br { bottom: 26px; right: -16px; }
.mt-chip__check {
  width: 26px; height: 26px; flex: 0 0 auto;
  background: var(--green); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
}
.mt-chip__check svg { display: block; }
/* leaf emoji flattened to a white silhouette — neat, no emoji colours.
   The filter must sit on the glyph only: on the dot it would blow the
   green circle to white as well. */
.mt-chip__leaf {
  font-style: normal; font-size: 14px; line-height: 1;
  filter: grayscale(1) brightness(10);
}
.mt-chip b { display: block; font: 600 14px/1.3 var(--font); color: var(--ink); }
.mt-chip div span { display: block; font: 400 12px/1.3 var(--font); color: var(--text-muted); }
/* Gentle float so the hero feels alive; phases offset per chip. */
.mt-chip { animation: mt-chip-float 6s ease-in-out infinite; }
.mt-chip--br { animation-delay: -3s; }
@keyframes mt-chip-float { 50% { translate: 0 -4px; } }
/* ============================================================
   MARQUEE BANNER
   ============================================================ */
.mt-marquee {
  background: var(--ink-deep); color: #fff;
  overflow: hidden; white-space: nowrap;
  padding: 16px 0;
}
.mt-marquee__track {
  display: inline-flex;
  animation: mt-scroll 108s linear infinite;  /* -50% of 6 copies = 3 copy-widths → same speed as 1-copy/36s */
}
/* Flex containers ignore whitespace-only text nodes → spacing comes only from the ✦ padding. */
.mt-marquee span {
  display: inline-flex; align-items: center;
  font: 500 clamp(12px, .95vw, 14px)/1.4 var(--font);
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
}
.mt-marquee i { font-style: normal; color: var(--green-bright); padding: 0 56px; }
.mt-marquee:hover .mt-marquee__track { animation-play-state: paused; }
@keyframes mt-scroll { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.mt-section { padding: 72px 0; }
.mt-section__head { text-align: center; margin-bottom: 44px; }
.mt-section__head h2 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -0.01em; margin: 0 0 10px; }
.mt-section__head p { color: var(--text-muted); font-size: 16px; margin: 0; }
.mt-grad { background: linear-gradient(180deg, var(--cream) 0%, var(--green-pale) 100%); }

/* ============================================================
   SUPERFOODS — product cards
   ============================================================ */
.mt-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mt-card {
  position: relative; display: block;
  border-radius: var(--r-card); overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.mt-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(14,26,15,.16); }
.mt-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mt-card--soon > img { opacity: .55; }
.mt-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(102,102,102,0) 55%);
}
.mt-card__tag {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  border-radius: var(--r-pill); padding: 7px 13px;
  font: 600 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
}
.mt-card__tag--new { background: var(--green-bright); color: #fff; }
.mt-card__tag--soon { background: rgba(255,255,255,.92); color: var(--ink); }
.mt-card__body { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; }
.mt-card__body h3 { color: #fff; font-size: 22px; margin: 0 0 3px; }
.mt-card__body span { color: var(--green-sub); font: 400 13px/1.4 var(--font); }

/* ============================================================
   FIGURES — stats band
   ============================================================ */
.mt-figures { padding: 64px 0; }
.mt-figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.mt-figures b {
  font-size: clamp(44px, 4.8vw, 64px); font-weight: 700; line-height: 1;
  color: var(--ink); display: block;
  font-variant-numeric: tabular-nums;  /* digits don't wiggle while counting up */
}
.mt-figures span { color: var(--text-muted); font-size: 14px; margin-top: 10px; display: block; }

/* ============================================================
   STORY — packaging + card + ritual steps
   ============================================================ */
.mt-story { padding: 72px 0 64px; position: relative; }
.mt-story__grid {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: 44px; align-items: center;
}
.mt-story__media { position: relative; min-height: 420px; }
.mt-story__media img { position: absolute; }
.mt-story__pack-back { left: 0; top: 0; width: 62%; z-index: 1; }
.mt-story__pack-front { left: 33%; top: 8%; width: 56%; z-index: 2; }
.mt-story__card {
  background: var(--green-card);
  border-radius: var(--r-story);
  padding: 44px 48px;
}
.mt-story__card h2 { font-size: clamp(28px, 3vw, 36px); margin: 16px 0 18px; }
.mt-story__card p { color: var(--text-muted); font-size: 15px; }
.mt-story__card .mt-btn { margin-top: 8px; }
.mt-story__founder {
  border-left: 3px solid var(--green);
  padding-left: 14px; margin: 18px 0 20px;
  color: var(--ink); font-size: 14px; line-height: 1.6;
}
.mt-story__founder span { display: block; margin-top: 6px; color: var(--green); font: 600 12px/1 var(--font); }
.mt-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
  position: relative; z-index: 2;
}
.mt-step {
  background: #fff; border-radius: var(--r-card);
  padding: 26px 26px 24px;
  box-shadow: 0 8px 24px rgba(14,26,15,.06);
}
.mt-step__num {
  width: 32px; height: 32px;
  background: var(--green); color: #fff;
  border-radius: 8px;
  display: grid; place-items: center;
  font: 700 16px/1 var(--font);
  margin-bottom: 14px;
}
.mt-step h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.mt-step p { color: var(--text-muted); font-size: 13px; margin: 0; }
.mt-story__cup {
  position: absolute; right: 8px; bottom: -30px;
  width: 324px; z-index: 3; pointer-events: none;  /* above the step cards so the brewing scene reads */
  opacity: .8;  /* translucent: the card behind stays readable */
}
/* ------------------------------------------------------------
   BREWING SCENE — one 14s clock drives everything in #story.
   Leaves fly pack → over the top → into the cup; one lands every
   beat (14s / 3 leaves = 4.667s). On each landing a ripple fires
   and the cup's tint steps greener; after the third landing the
   steam fades in. Scroll only STARTS the scene: inline JS in
   functions.php adds .is-brewing when #story becomes visible —
   nothing is scrubbed by scrolling.
   ---------------------------------------------------------- */
.mt-story:not(.is-brewing) .mt-story__leaves { visibility: hidden; }
.mt-story:not(.is-brewing) :is(.mt-leaf, .mt-leaf-pulse, .mt-story__cup, .mt-story__steam) {
  animation-play-state: paused;
}

/* Leaves. Delays are exact thirds of the loop: the three share one flight
   path (they never meet on it) and land on the ripple's exact spot. */
.mt-story__leaves {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 4;
  container-type: size;   /* cqw/cqh below = % of the section's size */
}
.mt-leaf {
  position: absolute; top: 0; left: 0;
  width: 44px; height: auto;
  opacity: 0;
  scale: var(--s, 1);
  animation: mt-leaf-fly 14s ease-in-out var(--d, 0s) infinite;
}
.mt-leaf--2 { --s: .72; --d: -4.667s; }
.mt-leaf--3 { --s: .55; --d: -9.333s; }
@keyframes mt-leaf-fly {
  0%   { translate: 16cqw 24cqh; rotate: -20deg; opacity: 0; }
  8%   { opacity: .95; }
  22%  { translate: 34cqw -4cqh; rotate: 25deg; }
  45%  { translate: 62cqw -8cqh; rotate: -12deg; }
  64%  { translate: 84cqw 14cqh; rotate: 30deg; }
  82%  { translate: 91cqw 52cqh; rotate: -18deg; }
  90%  { translate: 88cqw 66cqh; rotate: -6deg; }
  99%  { opacity: .95; }
  100% { translate: 88cqw 74cqh; rotate: 8deg; opacity: 0; }
}

/* Ripple at the landing spot. Period = one beat, delay = the first landing,
   and it starts at full strength — it pops the instant a leaf vanishes. */
.mt-leaf-pulse {
  position: absolute; left: 88cqw; top: 74cqh;
  width: 96px; height: 42px; margin: -2px 0 0 -26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(93,139,49,.75), rgba(93,139,49,0));
  opacity: 0;
  animation: mt-cup-pulse 4.667s linear 4.667s infinite;
}
@keyframes mt-cup-pulse {
  0%   { opacity: .95; scale: .5; }
  16%  { opacity: 0; scale: 1.5; }
  100% { opacity: 0; scale: 1.5; }
}

/* The cup steps greener on each landing beat, then stays green. */
.mt-story__cup { animation: mt-cup-steep 15s linear forwards; }
@keyframes mt-cup-steep {
  0%, 31.1%    { filter: sepia(0)  hue-rotate(0deg)  saturate(1)   brightness(1); }
  37.1%, 62.2% { filter: sepia(.2) hue-rotate(17deg) saturate(1.2) brightness(.99); }
  68.2%, 93.3% { filter: sepia(.4) hue-rotate(35deg) saturate(1.4) brightness(.98); }
  99.3%, 100%  { filter: sepia(.6) hue-rotate(52deg) saturate(1.6) brightness(.96); }
}

/* Steam: the wisps rise forever; their container only fades in right after
   the third landing finishes the brew. */
.mt-story__steam {
  position: absolute; right: 128px; bottom: 240px;
  width: 84px; height: 110px;
  pointer-events: none; z-index: 4;
  opacity: 0;
  animation: mt-steam-in 1.6s ease 14.8s forwards;
}
@keyframes mt-steam-in { to { opacity: 1; } }
.mt-story__steam i {
  position: absolute; bottom: 0;
  width: 14px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(158,178,158,0) 0%, rgba(158,178,158,.6) 45%, rgba(158,178,158,0) 100%);
  filter: blur(4px);
  opacity: 0;
  animation: mt-steam-rise 3.4s ease-in-out infinite;
}
.mt-story__steam i:nth-child(1) { left: 4px; }
.mt-story__steam i:nth-child(2) { left: 32px; height: 72px; animation-delay: -1.1s; }
.mt-story__steam i:nth-child(3) { left: 58px; height: 52px; animation-delay: -2.3s; }
@keyframes mt-steam-rise {
  0%   { transform: translateY(16px) scaleX(1); opacity: 0; }
  30%  { opacity: .8; }
  100% { transform: translateY(-52px) translateX(8px) scaleX(1.5); opacity: 0; }
}

/* Scroll-driven touches (progressive enhancement — static without support):
   the packs drift apart slightly and the ritual steps reveal in cascade. */
@supports (animation-timeline: view()) {
  .mt-story__pack-back  { animation: mt-pack-drift-back  linear both; animation-timeline: view(); }
  .mt-story__pack-front { animation: mt-pack-drift-front linear both; animation-timeline: view(); }
  .mt-step { animation: mt-step-in linear both; animation-timeline: view(); animation-range: entry 5% entry 60%; }
  .mt-step:nth-child(2) { animation-range: entry 20% entry 75%; }
  .mt-step:nth-child(3) { animation-range: entry 35% entry 90%; }
}
@keyframes mt-pack-drift-back  { from { translate: 0 -12px; } to { translate: 0 16px; } }
@keyframes mt-pack-drift-front { from { translate: 0 14px; }  to { translate: 0 -20px; } }
@keyframes mt-step-in {
  from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; }
}

/* ============================================================
   SERVICES (Icones row)
   ============================================================ */
.mt-services { padding: 64px 0; }
.mt-services__note {
  text-align: center; color: var(--text-muted);
  font: 500 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  margin: 40px 0 0;
}
/* Moringa vs matcha */
.mt-vs { padding: 8px 0 60px; }
.mt-vs__card {
  max-width: 900px; margin: 0 auto;
  background: #fff; border-radius: var(--r-story);
  padding: 14px 28px; box-shadow: var(--shadow-card);
}
.mt-vs__row {
  display: grid; grid-template-columns: .8fr 1.1fr 1.1fr;
  gap: 16px; align-items: center;
  padding: 14px 0; font-size: 14px; color: var(--text-muted);
}
.mt-vs__row + .mt-vs__row { border-top: 1px solid rgba(30, 54, 32, .08); }
.mt-vs__row--head { font: 600 13px/1 var(--font); color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.mt-vs__row--head .mt-vs__brand { color: var(--green); }
.mt-vs__label { font-weight: 600; color: var(--ink); }
.mt-vs__brand { color: var(--ink); }

.mt-faq { padding: 8px 0 76px; }
.mt-faq__list { margin-top: 0; }
.mt-services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.mt-service img { width: 44px; height: 44px; margin: 0 auto 14px; }
.mt-service h3 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.mt-service p { color: var(--text-muted); font-size: 13px; margin: 0; }

/* ============================================================
   BENEFITS
   ============================================================ */
.mt-benefits { padding: 76px 0; text-align: center; }
.mt-benefits h2 { font-size: clamp(32px, 3.4vw, 46px); margin: 16px auto 44px; max-width: 16ch; }
.mt-benefits__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 40px 26px; align-items: start;
  max-width: 1180px; margin: 0 auto;
}
.mt-benefit { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mt-benefit img { height: 72px; width: auto; transition: scale .25s ease; }
.mt-benefit:hover img { scale: 1.08; }
.mt-benefit span { font: 500 14px/1.35 var(--font); color: var(--ink); max-width: 16ch; }
.mt-benefits__more { display: none; }  /* desktop shows all 10 */

/* Tea spotlight — one product, one CTA */
.mt-spot {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: 48px; align-items: center;
  background: #fff; border-radius: var(--r-story);
  padding: 40px; box-shadow: var(--shadow-card);
}
.mt-spot__img { width: 100%; border-radius: var(--r-card); }
.mt-spot__body h2 { font-size: clamp(28px, 3vw, 40px); margin: 16px 0 14px; }
.mt-spot__body > p { color: var(--text-muted); font-size: 15px; max-width: 46ch; }
.mt-spot__price { font: 700 20px/1.3 var(--font); color: var(--ink); margin: 0 0 18px; }
.mt-spot__price span { font: 400 13px/1.3 var(--font); color: var(--text-muted); }
.mt-spot__teaser { font-size: 13px; margin: 24px 0 0; }
.mt-spot__teaser a { text-decoration: underline; text-underline-offset: 3px; }

/* Bundle tiers — 1 / 3 / 5 pouches */
.mt-bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.mt-bundle {
  position: relative; text-align: center;
  background: #fff; border: 1px solid rgba(30, 54, 32, .08);
  border-radius: var(--r-card);
  padding: 28px 22px 24px;
  box-shadow: var(--shadow-card);
}
.mt-bundle--hot { border: 2px solid var(--green); }
.mt-bundle__badge {
  position: absolute; top: -14px; left: 50%; translate: -50% 0;
  background: var(--green-badge); color: var(--green);
  border-radius: var(--r-pill); padding: 8px 14px;
  font: 700 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(14, 26, 15, .12);
}
.mt-bundle h3 { font-size: 18px; margin: 0 0 2px; }
.mt-bundle > span { color: var(--text-muted); font-size: 13px; }
.mt-bundle__price { display: block; font: 700 22px/1.2 var(--font); color: var(--ink); margin: 12px 0 16px; }
.mt-bundle__price del { color: var(--text-muted); font-weight: 400; font-size: 14px; margin-right: 6px; }
.mt-bundle__price ins { text-decoration: none; }
.mt-bundle .mt-btn { width: 100%; justify-content: center; padding: 13px 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
/* Newsletter (miliamatcha.com style) — standalone full-bleed section above
   the footer: photo background + dark scrim, glass field blurring the photo. */
.mt-news {
  position: relative; overflow: hidden;
  padding: 88px var(--pad);
  text-align: center;
}
.mt-news__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.mt-news::after {  /* legibility scrim over the photo */
  content: ''; position: absolute; inset: 0;
  background: rgba(14, 26, 15, .45);
}
.mt-news__inner { position: relative; z-index: 1; max-width: 440px; margin: 0 auto; }
.mt-news h2 {
  color: #fff; font: 600 14px/1.4 var(--font);
  letter-spacing: .08em; text-transform: uppercase;
  margin: 0 0 10px;
}
.mt-news p { color: rgba(255, 255, 255, .9); font-size: 12px; margin: 0 0 24px; }
.mt-news__field {
  display: flex; align-items: center; gap: 12px;
  background: rgba(0, 0, 0, .14);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 5px;
  padding: 22px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}
.mt-news__field input {
  flex: 1; min-width: 0;
  background: none; border: 0; padding: 0;
  color: #fff; font: 500 12px/1.4 var(--font);
}
.mt-news__field input::placeholder { color: rgba(255, 255, 255, .85); }
.mt-news__field button {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: #fff; font: 600 12px/1 var(--font);
  letter-spacing: .06em; text-transform: uppercase;
}
.mt-news__field button:hover { color: var(--green-bright); }
.mt-news__hp { position: absolute; left: -9999px; }
.mt-news__done { color: #fff; font-size: 13px; }

.mt-footer {
  background: var(--ink-deep);
  color: var(--text-muted);
  padding: 64px 0 40px;
  font-size: 14px;
}
.mt-footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.mt-footer__brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mt-footer__brand-row img { width: 32px; height: 33px; }
.mt-footer__brand-row b { color: #fff; font-size: 16px; }
.mt-footer__tagline { max-width: 22ch; line-height: 1.75; }
.mt-footer__social { display: flex; gap: 14px; margin-top: 18px; }
.mt-footer__social a { font-size: 18px; line-height: 1; }  /* colors come from .mt-footer a rules */
.mt-footer h4 {
  color: var(--green-label);
  font: 600 12px/1 var(--font);
  letter-spacing: .1em; text-transform: uppercase;
  margin: 6px 0 20px;
}
.mt-footer ul { list-style: none; margin: 0; padding: 0; }
.mt-footer li { margin-bottom: 12px; }
.mt-footer a { color: var(--text-muted); }
.mt-footer a:hover { color: #fff; }
.mt-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  margin-top: 52px; font-size: 12px;
}
.mt-footer__copy { color: var(--footer-dim); }

/* ============================================================
   INNER PAGES (blog / pages / archives)
   ============================================================ */
.mt-page { padding-top: 48px; padding-bottom: 72px; }  /* keep .mt-wrap side padding */
.mt-page__title { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 28px; }
.mt-content { max-width: 760px; }
.mt-content:has(ul.products) { max-width: none; }  /* pages embedding a product grid (FR “Boutique”) */
.mt-content a { text-decoration: underline; }
.mt-content img { border-radius: var(--r-card); }

/* Contact form (template-contact.php) — light form on the cream page. */
.mt-contact { max-width: 560px; margin-top: 8px; display: grid; gap: 18px; }
.mt-contact__intro { margin-bottom: 30px; }
.mt-contact__hp { position: absolute; left: -9999px; }
.mt-contact__field { display: grid; gap: 7px; }
.mt-contact__field > span {
  font: 600 12px/1 var(--font); letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink);
}
.mt-contact__field input,
.mt-contact__field textarea {
  width: 100%; box-sizing: border-box;
  background: #fff; color: var(--ink);
  border: 1px solid rgba(30, 54, 32, .16); border-radius: 10px;
  padding: 13px 14px;
  font: 400 14px/1.5 var(--font);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mt-contact__field input:focus,
.mt-contact__field textarea:focus {
  outline: 0; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(79, 122, 61, .14);
}
.mt-contact__field textarea { resize: vertical; min-height: 120px; }
.mt-contact__consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-muted);
}
.mt-contact__consent input { margin-top: 3px; flex: none; }
.mt-contact .mt-btn { justify-self: start; }
.mt-contact__note {
  max-width: 560px; border-radius: 12px;
  padding: 14px 16px; font-size: 14px; margin: 0 0 22px;
}
.mt-contact__note--ok  { background: var(--green-badge); color: var(--ink); }
.mt-contact__note--err { background: #FBE6E4; color: #8A2B22; }
.mt-loop article { border-bottom: 1px solid rgba(30,54,32,.1); padding: 26px 0; }
.mt-loop h2 { font-size: 24px; margin: 0 0 8px; }
.mt-meta { color: var(--text-muted); font-size: 13px; }

/* ============================================================
   EVENT — VIP presale "TICKET VERT" raffle (template-contact.php)
   A boarding-pass ticket replica + draw-entry form, scoped to
   .mt-event so nothing here leaks into the rest of the theme.
   ============================================================ */
.mt-event {
  --vip-a: #F4B740;   /* colored VIP tag — gold  */
  --vip-b: #9BE15D;   /* colored VIP tag — lime  */
  --mint:  #B8F2C9;   /* prize/mint text on the dark ticket */
  --ticket-line: rgba(223, 234, 223, .30);
  --event-w: 720px;            /* shared width: head, ticket & form all align */
  max-width: var(--event-w);   /* centered by .mt-wrap's margin: 0 auto */
}
/* Everything on one centered axis */
.mt-event__head { text-align: center; }
.mt-event > .mt-contact__note { margin-left: auto; margin-right: auto; text-align: center; }

/* Colored VIP · Pré-vente tag ------------------------------------------- */
.mt-vip {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(90deg, var(--vip-a), var(--vip-b));
  color: #17300f;
  border-radius: var(--r-pill);
  padding: 8px 16px 8px 13px;
  font: 700 12px/1 var(--font);
  letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(155, 225, 93, .35);
  margin-bottom: 18px;
}
.mt-vip__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #17300f;
  box-shadow: 0 0 0 0 rgba(23, 48, 15, .55);
  animation: mt-vip-pulse 1.8s ease-out infinite;
}
@keyframes mt-vip-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(23, 48, 15, .5); }
  70%  { box-shadow: 0 0 0 8px rgba(23, 48, 15, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 48, 15, 0); }
}
@media (prefers-reduced-motion: reduce) { .mt-vip__dot { animation: none; } }
.mt-event__title { margin-bottom: 12px; }
.mt-event__kicker { color: var(--text-muted); font-size: 16px; max-width: 560px; margin: 0 auto 8px; }
.mt-event__intro { max-width: 560px; margin: 0 auto; }

/* The prize ticket ------------------------------------------------------ */
.mt-ticket {
  position: relative;
  display: flex; align-items: stretch;
  margin: 30px auto 40px;
  border-radius: var(--r-card);
  color: #EAF3E8;
  background:
    radial-gradient(120% 150% at 82% 15%, #1a3d21 0%, #0f2413 48%, #08140b 100%);
  box-shadow: 0 26px 60px rgba(8, 20, 11, .38);
  overflow: hidden;
}
/* faint leaf-speckle texture over the gradient */
.mt-ticket::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(155, 225, 93, .16) 1px, transparent 1.6px);
  background-size: 22px 22px; opacity: .5;
}
/* Floating colored VIP badge on the ticket */
.mt-ticket__badge {
  position: absolute; top: 16px; right: 22px; z-index: 3;
  background: linear-gradient(90deg, var(--vip-a), var(--vip-b));
  color: #17300f;
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font: 800 12px/1 var(--font); letter-spacing: .18em;
  box-shadow: 0 8px 20px rgba(155, 225, 93, .38);
}
.mt-ticket__main { position: relative; z-index: 2; flex: 1; padding: 34px 34px 30px; min-width: 0; }
.mt-ticket__eyebrow {
  display: inline-block;
  background: rgba(155, 225, 93, .16);
  color: var(--mint);
  border-radius: var(--r-badge);
  padding: 6px 13px;
  font: 700 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase;
}
.mt-ticket__lead { margin: 18px 0 6px; color: #A9C3A7; font-size: 14px; }
.mt-ticket__prize {
  margin: 0 0 22px; max-width: 15ch;
  font: 800 clamp(26px, 3.6vw, 40px)/1.08 var(--font);
  background: linear-gradient(90deg, var(--mint), var(--vip-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mt-ticket__foot { display: grid; gap: 8px; font-size: 12.5px; color: #9BB29A; }
.mt-ticket__foot strong { color: #EAF3E8; font-weight: 600; }

/* Perforated stub ------------------------------------------------------- */
.mt-ticket__stub {
  position: relative; z-index: 2; flex: 0 0 210px;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  padding: 30px 24px;
  border-left: 2px dashed var(--ticket-line);
}
/* punched notches straddling the perforation (page-colored = "torn out") */
.mt-ticket__stub::before,
.mt-ticket__stub::after {
  content: ""; position: absolute; left: -12px; z-index: 4;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--cream);
}
.mt-ticket__stub::before { top: -12px; }
.mt-ticket__stub::after  { bottom: -12px; }
.mt-ticket__grid { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: baseline; }
.mt-ticket__k { font: 700 10px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #86A085; }
.mt-ticket__v { font: 800 18px/1 var(--font); color: #EAF3E8; }
.mt-ticket__barcode {
  height: 46px; border-radius: 4px;
  background-image: repeating-linear-gradient(90deg,
    #E7F0E2 0 2px, transparent 2px 4px,
    #E7F0E2 4px 5px, transparent 5px 9px,
    #E7F0E2 9px 12px, transparent 12px 14px);
}
.mt-ticket__no { font: 600 11px/1 var(--font); letter-spacing: .06em; color: #9BB29A; }

/* Draw-entry form ------------------------------------------------------- */
.mt-contact--event {
  max-width: none;             /* fill .mt-event → same width as the ticket */
  margin-left: auto; margin-right: auto;
  background: #fff;
  border: 1px solid rgba(30, 54, 32, .12);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.mt-contact--event .mt-btn { justify-self: center; }
.mt-contact__formtitle {
  margin: 0 0 4px; text-align: center;
  font: 700 20px/1.2 var(--font); color: var(--ink);
}
/* Highlighted Instagram/TikTok block — this is the "ticket" the raffle needs */
.mt-contact__draw {
  margin: 4px 0; padding: 18px 18px 20px; border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--green-badge), #EAF4EA);
  box-shadow: inset 0 0 0 1.5px rgba(79, 122, 61, .28);
  display: grid; gap: 16px;
}
.mt-contact__draw legend {
  display: flex; align-items: center; gap: 10px; padding: 0;
  font: 600 14px/1.3 var(--font); color: var(--ink);
}
.mt-contact__drawtag {
  background: linear-gradient(90deg, var(--vip-a), var(--vip-b));
  color: #17300f; border-radius: var(--r-pill);
  padding: 4px 11px; font: 800 10px/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
}
.mt-contact__drawhint { margin: -4px 0 0; font-size: 12.5px; color: var(--text-muted); }

@media (max-width: 720px) {
  .mt-ticket { flex-direction: column; }
  /* perforation flips to the top edge of the stub */
  .mt-ticket__stub { flex-basis: auto; border-left: 0; border-top: 2px dashed var(--ticket-line); }
  .mt-ticket__stub::before  { top: -12px; left: -12px; }
  .mt-ticket__stub::after   { top: -12px; left: auto; right: -12px; bottom: auto; }
  .mt-contact--event { padding: 22px 18px; }
}

/* ============================================================
   WOOCOMMERCE
   ============================================================ */
.woocommerce-page .mt-page, .mt-woo { padding-top: 40px; padding-bottom: 72px; }

/* notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--green) !important;
  background: #fff;
  border-radius: 12px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--green) !important; }

/* shop grid — mirror the Superfoods cards */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 0 40px !important; padding: 0 !important;
  list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
.woocommerce ul.products li.product img {
  border-radius: var(--r-card);
  aspect-ratio: 1/1; object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-card);
  margin: 0 0 14px !important;
  transition: transform .3s ease;
}
.woocommerce ul.products li.product:hover img { transform: translateY(-4px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 17px !important; font-weight: 600; color: var(--ink);
  padding: 0 0 2px !important;
}
.woocommerce ul.products li.product .price {
  color: var(--text-muted) !important; font-size: 14px !important; font-weight: 500;
}
.woocommerce ul.products li.product .price ins { color: var(--green); text-decoration: none; }
.woocommerce ul.products li.product .button {
  margin-top: 10px;
  background: var(--ink-deep); color: #fff;
  border-radius: var(--r-pill); padding: 11px 20px;
  font: 500 13px/1 var(--font);
}
.woocommerce ul.products li.product .button:hover { background: var(--green); }
.woocommerce span.onsale {
  background: var(--green-bright); color: #fff;
  border-radius: var(--r-pill);
  min-height: 0; min-width: 0; line-height: 1;
  padding: 7px 13px; font: 600 11px/1 var(--font);
  letter-spacing: .1em; text-transform: uppercase;
  top: 14px; left: 14px; margin: 0;
}

/* pagination + ordering */
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0 3px; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 10px; padding: 10px 15px; color: var(--ink);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--green-badge); }
.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-result-count { color: var(--text-muted); font-size: 13px; }
.woocommerce .woocommerce-ordering select {
  border: 1px solid rgba(30,54,32,.16); border-radius: var(--r-pill);
  padding: 8px 14px; background: #fff;
}

/* single product */
.woocommerce div.product .woocommerce-product-gallery img { border-radius: var(--r-card); }
.mt-acc { max-width: 900px; margin: 0 auto; }
.mt-acc details { border-bottom: 1px solid rgba(30, 54, 32, .12); }
.mt-acc summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 4px;
  font: 600 15px/1.3 var(--font); color: var(--ink);
}
.mt-acc summary::-webkit-details-marker { display: none; }
.mt-acc summary::after { content: '+'; color: var(--green); font: 600 18px/1 var(--font); }
.mt-acc details[open] summary::after { content: '–'; }
.mt-acc__body { padding: 0 4px 18px; color: var(--text-muted); font-size: 14px; }
.woocommerce div.product .product_title { font-size: clamp(26px, 3vw, 38px); font-weight: 700; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
  color: var(--green); font-size: 22px; font-weight: 600;
}
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--text-muted); }
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce input.button.alt, .woocommerce button.button,
.wc-block-components-button:not(.is-link),
.woocommerce a.button, .woocommerce input.button {
  background: var(--green) !important; color: #fff !important;
  border-radius: var(--r-pill) !important;
  font: 500 14px/1.2 var(--font) !important;
  padding: 14px 26px;
  border: 0;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover,
.woocommerce a.button:hover, .woocommerce input.button:hover { background: var(--ink) !important; }
.woocommerce div.product form.cart div.quantity .qty {
  border: 1px solid rgba(30,54,32,.16); border-radius: var(--r-pill);
  padding: 12px 6px 12px 14px; background: #fff; height: auto;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: rgba(30,54,32,.12); }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent; border: 0; border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 2px solid var(--green); }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }

/* cart / checkout (classic + blocks) */
.woocommerce table.shop_table {
  border: 1px solid rgba(30,54,32,.1); border-radius: 14px;
  border-collapse: separate; overflow: hidden;
}
.woocommerce table.shop_table th { background: var(--green-pale); color: var(--ink); }
.woocommerce-cart table.cart img { border-radius: 10px; width: 64px; }
.wc-block-components-price-slider__range-input-progress,
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  background: var(--green) !important;
}
.wc-block-grid__product .wp-block-button__link,
.wp-block-button__link.add_to_cart_button {
  background: var(--ink-deep); color: #fff;
  border-radius: var(--r-pill); border: 0;
  font: 500 13px/1 var(--font); padding: 11px 20px;
}
.wc-block-grid__product .wp-block-button__link:hover,
.wp-block-button__link.add_to_cart_button:hover { background: var(--green); }
.wc-block-grid__product-title { color: var(--ink); font-weight: 600; }
#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--green) !important; border-radius: var(--r-pill) !important;
}

/* account — centered shell, everything in cards */
.woocommerce-account .mt-page__title { text-align: center; }
.woocommerce-account .mt-content { max-width: 960px; margin: 0 auto; }
.woocommerce-account:not(.logged-in) h2 { text-align: center; }

/* login / register (logged out): centered card */
.woocommerce-account form.woocommerce-form-login,
.woocommerce-account form.woocommerce-form-register {
  max-width: 440px; margin: 10px auto 40px;
  background: #fff; border: 0;
  border-radius: var(--r-card);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-card);
}
.woocommerce-account .woocommerce-form-login__rememberme { display: block; margin-bottom: 4px; }
.woocommerce-account .woocommerce-form-login__submit { width: 100%; margin-top: 8px; }
.woocommerce-account .lost_password { text-align: center; margin: 16px 0 0; font-size: 13px; }

/* my account (logged in): sticky nav card + content card */
.woocommerce-account.logged-in .mt-content > .woocommerce {
  display: grid; grid-template-columns: 230px 1fr;
  gap: 28px; align-items: start;
}
/* Woo's clearfix pseudo-elements would become anonymous grid items and
   shift everything one cell — kill them and place the two cards explicitly. */
.woocommerce-account.logged-in .mt-content > .woocommerce::before,
.woocommerce-account.logged-in .mt-content > .woocommerce::after { display: none; }
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  grid-area: 1 / 1;
  float: none; width: auto;
  background: #fff; border-radius: var(--r-card);
  padding: 14px; box-shadow: var(--shadow-card);
  position: sticky; top: 100px;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  grid-area: 1 / 2;
  float: none; width: auto; min-width: 0;
  background: #fff; border-radius: var(--r-card);
  padding: 32px 36px; box-shadow: var(--shadow-card);
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
  background: var(--cream);  /* readable on the white card */
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin-bottom: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block; padding: 11px 16px; border-radius: 12px; color: var(--ink);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--green-badge); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid rgba(30,54,32,.16); border-radius: 12px;
  padding: 12px 14px; background: #fff; font-family: var(--font);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .mt-products, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .mt-benefits__grid { grid-template-columns: repeat(3, 1fr); }
  .mt-story__cup { width: 220px; right: -20px; }
}
@media (max-width: 860px) {
  /* Dropdown = same smoked glass as the navbar pill, denser tint: the pill's
     20% black is unreadable under white links over the cream hero. */
  .mt-nav__menu {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: rgba(14, 26, 15, .6);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    flex-direction: column; gap: 0; padding: 10px;
    box-shadow: var(--shadow-card);
  }
  .mt-nav { padding: 10px 16px; gap: 8px; }
  .mt-nav__menu.is-open { display: flex; }
  .mt-nav__menu a { display: block; padding: 13px 16px; }  /* white links, base rule */
  /* Languages live in the burger panel here — the inline switcher goes away. */
  .mt-nav__lang { display: none; }
  .mt-nav__menu .mt-nav__lang-mobile { display: block; }
  .mt-nav__menu li:not(.mt-nav__lang-mobile) + .mt-nav__lang-mobile {
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: 8px; padding-top: 8px;
  }
  .mt-nav__menu .mt-nav__lang-mobile.current-lang a {
    text-decoration: underline; text-underline-offset: 4px;
  }
  .mt-nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 10px; cursor: pointer;
    margin-left: -6px; order: -1;  /* burger first, logo beside it */
  }
  .mt-nav__toggle span { width: 20px; height: 2px; background: #fff; display: block; }
  .mt-nav__right { gap: 12px; }
  .mt-nav__account { padding: 8px 0; }
  .mt-nav__bag { padding: 10px 14px; }
  .mt-hero__grid, .mt-story__grid { grid-template-columns: 1fr; }
  .mt-hero__frame { margin: 0 auto; }
  .mt-services__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  /* Figures pop as a 2×2 proof block on phones */
  .mt-figures__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mt-figures__grid > div {
    background: #fff; border: 1px solid rgba(30, 54, 32, .08);
    border-radius: var(--r-card); padding: 24px 14px;
  }
  .mt-figures__grid > div:nth-child(2n) { background: var(--green-pale); }
  .mt-figures b { font-size: clamp(36px, 10vw, 48px); }
  .mt-figures span { font-size: 12px; margin-top: 8px; }
  .mt-spot { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .mt-bundles { grid-template-columns: 1fr; gap: 24px; }
  .mt-benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .mt-benefit img { height: 56px; }
  .mt-benefit span { font-size: 13px; }
  /* Phones: 6 benefits + a "see all" reveal keep the section short. */
  .mt-benefit--extra { display: none; }
  .mt-benefits__more { display: inline-flex; margin-top: 26px; }
  .mt-benefits__toggle:checked ~ .mt-benefits__grid .mt-benefit--extra { display: flex; }
  .mt-benefits__toggle:checked ~ .mt-benefits__more { display: none; }
  .mt-steps { grid-template-columns: 1fr; }
  .mt-story__media { min-height: 0; height: 74vw; max-height: 480px; }
  .mt-story__cup { display: none; }
  .mt-story__leaves, .mt-story__steam { display: none; }  /* no cup on mobile */
  .mt-vs__card { padding: 6px 16px; }
  .mt-vs__row { grid-template-columns: .7fr 1.15fr 1.15fr; gap: 10px; font-size: 12px; padding: 12px 0; }
  .mt-footer__grid { grid-template-columns: 1fr 1fr; }
  .woocommerce-account.logged-in .mt-content > .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation { grid-area: auto; position: static; }
  .woocommerce-account.logged-in .woocommerce-MyAccount-content { grid-area: auto; }
}
@media (max-width: 560px) {
  .mt-products, .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .mt-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .mt-section { padding: 52px 0; }
  .mt-hero { padding: 36px 0 48px; }
  .mt-chip--tl { left: 8px; }
  .mt-chip--br { right: 8px; }
  .mt-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .mt-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   REDUCED MOTION — must stay LAST: media queries add no
   specificity, so these only win by source order.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .mt-marquee__track { animation: none; }
  .mt-leaf, .mt-leaf-pulse { animation: none; }  /* stay at opacity 0 — no brewing scene */
  .mt-story__cup { animation: none; }            /* cup stays clear */
  .mt-story__steam { display: none; }
  .mt-story__pack-back, .mt-story__pack-front { animation: none; }
  .mt-step { animation: none; }                  /* steps just show, no reveal */
}
