/*
Theme Name: KAF Egypt
Theme URI: https://kaf.coffee
Author: KafEgypt
Author URI: https://kafegypt.com/
Description: Custom KAF Coffee theme built for WooCommerce. Arabic-first RTL design with TranslatePress bilingual support.
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: kafegypt
Tags: e-commerce, rtl-language-support, custom-menu, featured-images
*/

/* ========================================================================== 
   KAF Coffee — Design System & Global Styles
   ========================================================================== */
:root {
  --green: #00291b;
  --green-2: #0b5c3f;
  --sage: #b2c389;
  --cream: #f0e6c1;
  --cream-2: #f8f2dd;
  --olive: #697650;
  --rust: #b44a28;
  --brown: #3a1806;
  --ink: #142019;
  --muted: #667069;
  --line: rgba(0, 41, 27, 0.16);
  --white: #fffdf8;
  --shadow-sm: 0 8px 24px rgba(0, 41, 27, 0.08);
  --shadow-md: 0 20px 60px rgba(0, 41, 27, 0.14);
  --shadow-lg: 0 34px 100px rgba(0, 41, 27, 0.2);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --radius-pill: 999px;
  --container: 1240px;
  --section-space: clamp(80px, 10vw, 150px);
  --font-ar: "Alexandria", "Noto Sans Arabic", sans-serif;
  --font-en: "Manrope", Arial, sans-serif;
  --font-price: var(--font-en);
  --price-weight: 800;
  --ease: cubic-bezier(.2,.75,.25,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  --font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-family: var(--font-family);
}
body.is-ltr { --font-family: var(--font-en); }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.035em; }
ul, ol { margin: 0; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--sage); color: var(--green); }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); position: relative; }
.section--dark { color: var(--cream); background: var(--green); }
.section--sage { background: var(--sage); }
.mobile-only { display: none !important; }
.muted { color: var(--muted); }

.skip-link {
  position: fixed; inset-inline-start: 16px; top: -80px; z-index: 9999;
  background: var(--green); color: var(--cream); padding: 12px 18px; border-radius: 0 0 12px 12px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

.icon {
  width: 22px; height: 22px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
[dir="rtl"] .icon--flip-rtl { transform: rotate(180deg); }
[dir="rtl"] .icon--flip-rtl-diag { transform: scale(-1, 1); }
.icon-button, .header__icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  color: inherit; background: transparent; border: 1px solid transparent; border-radius: 50%;
  transition: background .25s var(--ease), border-color .25s, transform .25s;
}
.icon-button:hover, .header__icon:hover { background: rgba(0,41,27,.08); border-color: rgba(0,41,27,.12); }
.icon-button:active, .header__icon:active { transform: scale(.94); }

.eyebrow {
  margin-bottom: 14px;
  color: currentColor;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}
/* Arabic section kickers use the same Alexandria family as the rest of the site.
   Removing tracking and uppercase treatment prevents Arabic labels from looking
   compressed or undersized, while the Latin-only utility preserves brand labels. */
html[dir="rtl"] .eyebrow:not(.eyebrow--latin) {
  font-family: var(--font-ar);
  font-size: clamp(13px, .95vw, 15px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
}
.eyebrow--latin {
  font-family: var(--font-en) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  direction: ltr;
  unicode-bidi: isolate;
}
.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px;
}
.section-heading h2 { margin: 0; max-width: 720px; font-size: clamp(34px, 4.7vw, 68px); }
.section-heading--center { justify-content: center; text-align: center; }
.section-heading--center h2 { margin-inline: auto; }

.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius-pill);
  font-weight: 700; line-height: 1; text-align: center; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.button:active { transform: translateY(0); }
.button--large { min-height: 58px; padding-inline: 30px; }
.button--full { width: 100%; }
.button--grow { flex: 1; }
.button--dark { color: var(--cream); background: var(--green); }
.button--dark:hover { background: #074431; }
.button--light { color: var(--green); background: var(--cream); }
.button--cream { color: var(--green); background: var(--cream); }
.button--sage { color: var(--green); background: var(--sage); }
.button--outline { color: var(--green); background: transparent; border-color: rgba(0,41,27,.32); }
.button--icon { width: 58px; padding: 0; flex: 0 0 58px; }
.button.is-success { background: var(--olive); color: white; }
.text-button { padding: 8px 0; border: 0; background: none; font-weight: 700; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; width: max-content; padding-bottom: 4px;
  font-weight: 700; border-bottom: 1px solid currentColor; transition: gap .25s, opacity .25s;
}
.text-link:hover { gap: 14px; opacity: .75; }
.text-link--center { margin-inline: auto; }
.text-link--hero { color: var(--cream); }

/* Header */
.announcement { color: var(--cream); background: var(--green); font-family: var(--font-en); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.announcement__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header {
  height: 86px; position: sticky; top: 0; z-index: 100; background: rgba(240,230,193,.96);
  border-bottom: 1px solid rgba(0,41,27,.08); backdrop-filter: blur(18px); transition: height .25s, box-shadow .25s;
}
.header.is-scrolled { height: 72px; box-shadow: 0 8px 30px rgba(0,41,27,.08); }
.header__inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 42px; }
.brand { width: 156px; height: 68px; overflow: hidden; display: flex; align-items: center; }
.brand img { width: 100%; height: auto; }
.nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2.3vw, 36px); }
.nav__link { position: relative; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; inset-inline: 0; bottom: -8px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: center; transition: transform .25s; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.language-switch {
  display: inline-flex; align-items: center; line-height: 1; text-decoration: none;
  margin-inline-end: 8px; font-family: var(--font-en); font-size: 13px; font-weight: 700;
  transition: opacity .2s;
}
.language-switch:hover { opacity: .7; }
.cart-trigger { position: relative; }
.count-badge { position: absolute; inset-inline-end: -1px; top: 0; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; color: var(--cream); background: var(--rust); border-radius: 10px; font: 700 10px/1 var(--font-en); }

/* Mobile navigation, drawers, search */
.mobile-nav, .drawer, .search-overlay { position: fixed; inset: 0; z-index: 500; visibility: hidden; pointer-events: none; }
.mobile-nav.is-open, .drawer.is-open, .search-overlay.is-open { visibility: visible; pointer-events: auto; }
.mobile-nav__backdrop, .drawer__backdrop, .search-overlay__backdrop { position: absolute; inset: 0; background: rgba(0,25,16,.58); opacity: 0; transition: opacity .3s; backdrop-filter: blur(3px); }
.mobile-nav.is-open .mobile-nav__backdrop, .drawer.is-open .drawer__backdrop, .search-overlay.is-open .search-overlay__backdrop { opacity: 1; }
.mobile-nav__panel, .drawer__panel {
  position: absolute; top: 0; bottom: 0; width: min(440px, 90vw); background: var(--cream-2);
  transform: translateX(105%); transition: transform .4s var(--ease); display: flex; flex-direction: column;
}
html[dir="ltr"] .mobile-nav__panel, html[dir="ltr"] .drawer__panel { transform: translateX(-105%); }
.mobile-nav__panel { inset-inline-start: 0; }
.drawer__panel { inset-inline-end: 0; }
.mobile-nav.is-open .mobile-nav__panel, .drawer.is-open .drawer__panel { transform: translateX(0); }
.mobile-nav__head, .drawer__head { min-height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.mobile-nav__head strong, .drawer__head h2 { margin: 0; font-size: 24px; }
.mobile-nav nav { display: grid; padding: 12px 24px; }
.mobile-nav nav a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav__foot { margin-top: auto; padding: 24px; display: grid; gap: 10px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.drawer__foot { padding: 22px 24px 26px; border-top: 1px solid var(--line); background: var(--cream-2); }
.drawer__foot:empty { display: none; }
.drawer__subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer__subtotal strong { font: var(--price-weight) 24px/1 var(--font-price); }
.drawer__foot .text-link { margin-top: 16px; }
.cart-item { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.cart-item__image { aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.cart-item__image img { width: 70%; height: 88%; object-fit: contain; }
.cart-item__content { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.cart-item h3 { margin: 0 0 2px; font-size: 15px; }
.cart-item p { margin: 0; color: var(--green); font: var(--price-weight) 15px/1 var(--font-price); }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.remove-button { padding: 4px; color: var(--muted); background: none; border: 0; font-size: 12px; text-decoration: underline; }
.quantity { width: max-content; min-height: 38px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; }
.quantity button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; background: none; border: 0; }
.quantity .icon { width: 15px; }
.quantity span { min-width: 28px; text-align: center; font: 700 13px/1 var(--font-en); }
.empty-state { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 20px; }
.empty-state > .icon { width: 56px; height: 56px; margin-bottom: 20px; color: var(--olive); }
.empty-state h3, .empty-state h1 { margin-bottom: 10px; font-size: 28px; }
.empty-state p { max-width: 430px; color: var(--muted); }

.search-overlay__dialog {
  position: relative; width: min(780px, calc(100% - 32px)); margin: 12vh auto 0; padding: 30px;
  background: var(--cream-2); border-radius: 28px; opacity: 0; transform: translateY(-20px) scale(.98); transition: .3s var(--ease);
}
.search-overlay.is-open .search-overlay__dialog { opacity: 1; transform: none; }
.search-overlay__close { position: absolute; inset-inline-end: 18px; top: 18px; }
.search-field { height: 62px; display: flex; align-items: center; gap: 14px; padding: 0 18px; margin-top: 36px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.search-field input { flex: 1; height: 100%; padding: 0; background: none; border: 0; outline: 0; font-size: 20px; }
.search-results { display: grid; gap: 8px; margin-top: 18px; max-height: 55vh; overflow-y: auto; }
.search-result { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 16px; padding: 10px; border-radius: 16px; transition: background .2s; }
.search-result:hover { background: rgba(178,195,137,.28); }
.search-result__image { width: 76px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; }
.search-result__image img { width: 55%; height: 80%; object-fit: contain; }
.search-result span:nth-child(2) { display: grid; }
.search-result small { color: var(--muted); }

.toast-region { position: fixed; z-index: 1000; inset-inline-end: 22px; bottom: 22px; display: grid; gap: 10px; }
.toast { min-width: 260px; display: flex; align-items: center; gap: 10px; padding: 14px 18px; color: var(--cream); background: var(--green); border-radius: 14px; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(12px); transition: .25s var(--ease); }
.toast.is-visible { opacity: 1; transform: none; }
.toast .icon { width: 18px; }

/* Footer */
.footer { position: relative; overflow: hidden; padding-top: 84px; color: var(--cream); background: var(--green); }
.footer__pattern { position: absolute; inset: 0 0 auto; height: 30px; background: url('assets/img/pattern-green-opt.webp') center/560px auto repeat-x; opacity: .48; }
.footer__grid { display: grid; grid-template-columns: 1.5fr .75fr .85fr 1.25fr; gap: 54px; padding-bottom: 72px; }
.footer__brand img { width: 220px; height: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 360px; color: rgba(240,230,193,.72); }
.footer h3 { margin-bottom: 24px; font-size: 18px; letter-spacing: -.02em; }
.footer__links { list-style: none; display: grid; gap: 11px; color: rgba(240,230,193,.72); font-size: 14px; }
.footer__links a:hover { color: var(--sage); }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(240,230,193,.22); border-radius: 50%; transition: background .2s, color .2s; }
.socials a:hover { color: var(--green); background: var(--sage); }
.newsletter p { color: rgba(240,230,193,.7); font-size: 14px; }
body .footer .newsletter__field { height: 54px; display: flex; align-items: center; margin-bottom: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(240,230,193,.22); border-radius: var(--radius-pill); overflow: hidden; }
body .footer .newsletter__field input { flex: 1; min-width: 0; height: 100%; padding: 0 18px; color: var(--cream); background: none; border: 0; outline: 0; }
body .footer .newsletter__field input::placeholder { color: rgba(240,230,193,.5); }
body .footer .newsletter__field input:focus { border-color: transparent; box-shadow: none; }
body .footer .newsletter__field button { width: 52px; height: 52px; display: grid; place-items: center; color: var(--green); background: var(--sage); border: 0; border-radius: 50%; }
.footer__bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: rgba(240,230,193,.52); border-top: 1px solid rgba(240,230,193,.14); font-family: var(--font-en); font-size: 12px; }
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--sage); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; grid-auto-rows: 1fr; }
.product-grid .product-card { height: 100%; }
.product-card { min-width: 0; }
.product-card__media { position: relative; min-height: 480px; display: grid; place-items: center; overflow: hidden; background: var(--card-bg); border-radius: var(--radius-md); }
.product-card__media::before { content: ""; position: absolute; inset: auto -30% -35% auto; width: 80%; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--card-accent), transparent 55%); border-radius: 50%; }
.product-card__media img { width: 64%; height: 82%; object-fit: contain; filter: drop-shadow(0 24px 20px rgba(40,20,5,.14)); transition: transform .55s var(--ease); }
.product-card:hover .product-card__media img { transform: translateY(-12px) rotate(-2deg) scale(1.035); }
html[dir="ltr"] .product-card:hover .product-card__media img { transform: translateY(-12px) rotate(2deg) scale(1.035); }
.product-card__badge { position: absolute; z-index: 2; inset-inline-start: 18px; top: 18px; padding: 8px 12px; color: white; background: var(--card-accent); border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; }
.product-card__view { position: absolute; inset-inline: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; color: var(--cream); background: var(--green); border-radius: var(--radius-pill); opacity: 0; transform: translateY(12px); transition: .35s var(--ease); font-size: 13px; font-weight: 700; }
.product-card:hover .product-card__view { opacity: 1; transform: none; }
.product-card__content { padding: 20px 4px 0; display: grid; gap: 16px; }
.product-card__content h3 { margin: 0; font-size: 20px; }
.product-card__content .eyebrow .icon { width: 11px; height: 11px; color: var(--muted); }

.product-card__content { padding: 20px 4px 0; display: flex; flex-direction: column; gap: 16px; }
.product-card__content .eyebrow { margin-bottom: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card__meta strong { color: var(--green); font: var(--price-weight) 20px/1 var(--font-price); }
.wishlist-button .icon { transition: fill .2s, color .2s; }
.wishlist-button.is-active { color: var(--rust); border-color: rgba(180,74,40,.3); background: rgba(180,74,40,.08); }
.wishlist-button.is-active .icon { fill: currentColor; }

/* ========================================================================== 
   Homepage
   ========================================================================== */
.hero {
  --hero-bg: var(--rust); --hero-fg: var(--cream); --hero-secondary: var(--brown);
  position: relative; min-height: min(820px, calc(100vh - 120px)); overflow: hidden; color: var(--hero-fg); background: var(--hero-bg);
  transition: background .65s var(--ease), color .65s;
}
.hero[data-tone="green"] { --hero-bg: var(--green-2); --hero-fg: var(--cream); --hero-secondary: var(--green); }
.hero[data-tone="cream"] { --hero-bg: var(--cream); --hero-fg: var(--green); --hero-secondary: var(--olive); }
.hero__pattern { position: absolute; inset: 0; opacity: .13; background-image: url('assets/img/pattern-rust-opt.webp'); background-size: 820px auto; mix-blend-mode: multiply; }
.hero[data-tone="green"] .hero__pattern { background-image: url('assets/img/pattern-green-opt.webp'); mix-blend-mode: soft-light; opacity: .18; }
.hero[data-tone="cream"] .hero__pattern { background-image: url('assets/img/pattern-green-opt.webp'); opacity: .06; }
.hero__grid { min-height: 720px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 50px; padding-top: 56px; padding-bottom: 78px; position: relative; z-index: 1; }
.hero__content { position: relative; z-index: 3; }
.hero__kicker { margin-bottom: 20px; }
.hero h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(52px, 6.2vw, 96px); letter-spacing: -.055em; }
.hero__text { max-width: 560px; margin-bottom: 32px; color: color-mix(in srgb, var(--hero-fg), transparent 23%); font-size: clamp(17px,1.55vw,21px); }
.hero__actions { display: flex; align-items: center; gap: 24px; }
.hero[data-tone="cream"] .text-link--hero { color: var(--green); }
.hero__controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; }
.hero-dot { min-width: 120px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr; align-items: center; gap: 10px; padding: 10px 14px; color: inherit; background: transparent; border: 1px solid color-mix(in srgb, var(--hero-fg), transparent 72%); border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; line-height: 1.2; opacity: .7; transition: .25s; }
.hero-dot span { font-family: var(--font-en); font-size: 10px; }
.hero-dot:hover, .hero-dot.is-active { opacity: 1; background: color-mix(in srgb, var(--hero-fg), transparent 88%); border-color: color-mix(in srgb, var(--hero-fg), transparent 40%); }
.hero__visual { position: relative; min-height: 610px; display: grid; place-items: center; }
.hero__product-link { display: grid; place-items: center; justify-self: stretch; align-self: stretch; width: 100%; height: 100%; }
.hero__halo { position: absolute; width: 78%; aspect-ratio: 1; background: color-mix(in srgb, var(--hero-secondary), transparent 30%); border-radius: 50%; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hero-fg), transparent 78%); }
.hero__halo::before, .hero__halo::after { content: ""; position: absolute; inset: 8%; border: 1px solid color-mix(in srgb, var(--hero-fg), transparent 75%); border-radius: 50%; }
.hero__halo::after { inset: -9%; border-style: dashed; animation: spin 28s linear infinite; }
.hero__product { position: relative; z-index: 2; width: min(56%, 390px); height: 570px; object-fit: contain; filter: drop-shadow(0 40px 30px rgba(30,12,5,.28)); transition: opacity .2s, transform .45s var(--ease); }
.hero.is-changing .hero__product, .hero.is-changing .hero__content > :not(.hero__actions):not(.hero__controls) { opacity: 0; transform: translateY(12px); }
.hero__stamp { position: absolute; inset-inline-start: 4%; top: 17%; z-index: 3; width: 112px; height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--hero-fg); border: 1px solid color-mix(in srgb, var(--hero-fg), transparent 55%); border-radius: 50%; transform: rotate(-10deg); }
.hero__stamp strong { font: 800 34px/1 var(--font-en); }
.hero__stamp span { max-width: 82px; text-align: center; font-size: 10px; line-height: 1.35; }
.hero__note { position: absolute; inset-inline-end: 0; bottom: 12%; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: var(--green); background: var(--cream); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); font-size: 12px; font-weight: 700; }
.hero__note .icon { width: 18px; color: var(--rust); }
.hero__ticker { position: absolute; inset-inline: 0; bottom: 0; height: 50px; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--hero-fg), transparent 75%); }
.hero__ticker-track {
  position: absolute; inset: 0 auto 0 0;
  width: max-content; min-width: max-content; height: 100%;
  display: flex; align-items: center; justify-content: flex-start; direction: ltr;
  animation: ticker 58s linear infinite; will-change: transform;
}
.hero__ticker-group { flex: 0 0 auto; width: max-content; min-width: max-content; height: 100%; display: flex; align-items: center; gap: 0; padding: 0; }
.hero__ticker span { display: inline-flex; align-items: center; white-space: nowrap; font: 800 13px/1 var(--font-en); letter-spacing: .18em; }
.hero__ticker span::before { content: "•"; flex: 0 0 auto; margin-inline: clamp(28px, 2.6vw, 54px); font-size: .8em; letter-spacing: 0; }
.hero__ticker .hero__ticker-ar { font-family: var(--font-ar); font-weight: 700; letter-spacing: 0; direction: rtl; }
@keyframes ticker { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes spin { to { transform: rotate(360deg); } }

.section--products { background: var(--white); }
.product-grid--featured { grid-template-columns: repeat(3,minmax(0,1fr)); }

.flavor-selector { background: var(--cream-2); }
.flavor-selector__grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 70px; }
.flavor-selector__copy h2 { margin-bottom: 22px; font-size: clamp(42px,5.2vw,76px); }
.flavor-selector__copy > p:not(.eyebrow) { max-width: 500px; margin-bottom: 30px; color: var(--muted); font-size: 18px; }
.flavor-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; align-items: end; }
.flavor-card { --lift: 0px; position: relative; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 24px; color: var(--green); background: var(--flavor-bg); border-radius: 150px 150px 24px 24px; transform: translateY(var(--lift)); transition: transform .4s var(--ease), box-shadow .35s; }
.flavor-card--2 { --lift: -34px; }
.flavor-card--3 { --lift: 12px; }
.flavor-card:hover { transform: translateY(calc(var(--lift) - 12px)); box-shadow: var(--shadow-md); }
.flavor-card::before { content: ""; position: absolute; top: 0; inset-inline-start: 50%; width: 130%; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--flavor-accent), transparent 55%); border-radius: 50%; transform: translate(-50%,-54%); }
.flavor-card img { position: absolute; top: 40px; inset-inline-start: 50%; width: 72%; height: 300px; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 20px 16px rgba(0,30,20,.14)); transition: transform .4s var(--ease); }
html[dir="rtl"] .flavor-card img { transform: translateX(50%); }
.flavor-card:hover img { transform: translateX(-50%) scale(1.05) rotate(2deg); }
html[dir="rtl"] .flavor-card:hover img { transform: translateX(50%) scale(1.05) rotate(-2deg); }
.flavor-card__number { position: absolute; top: 22px; inset-inline-start: 24px; z-index: 2; font: 800 12px/1 var(--font-en); }
.flavor-card h3 { margin-bottom: 2px; font-size: 28px; }
.flavor-card p { margin: 0; color: color-mix(in srgb, var(--green), transparent 30%); }
.flavor-card > .icon { position: absolute; inset-inline-end: 22px; bottom: 26px; }

.heritage { overflow: hidden; }
.heritage__pattern { position: absolute; inset: 0; background: url('assets/img/pattern-green-opt.webp') center/900px auto; opacity: .035; }
.heritage__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(50px,8vw,110px); }
.heritage__visual { position: relative; min-height: 610px; display: grid; place-items: center; border: 1px solid rgba(240,230,193,.18); border-radius: 50% 50% 24px 24px; overflow: hidden; background: rgba(255,255,255,.025); }
.heritage__visual::before { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(178,195,137,.2); border-radius: inherit; }
.heritage__visual img { position: relative; z-index: 2; width: 53%; max-height: 420px; object-fit: contain; }
.heritage__year { position: absolute; inset-inline-start: 22px; bottom: 12px; color: rgba(178,195,137,.13); font: 800 clamp(80px,12vw,170px)/.8 var(--font-en); letter-spacing: -.08em; }
.heritage__content h2 { margin-bottom: 26px; font-size: clamp(42px,5vw,74px); }
.heritage__content > p:not(.eyebrow) { max-width: 620px; color: rgba(240,230,193,.72); font-size: 17px; }
.heritage__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin: 42px 0; padding: 28px 0; border-block: 1px solid rgba(240,230,193,.16); }
.heritage__stats div { display: grid; gap: 5px; }
.heritage__stats strong { color: var(--sage); font: 800 42px/1 var(--font-en); }
.heritage__stats span { color: rgba(240,230,193,.64); font-size: 12px; }

.craft { background: var(--white); }
.craft__grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.craft-card { position: relative; min-height: 330px; padding: 34px 28px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s, color .3s, transform .3s var(--ease); }
.craft-card:hover { z-index: 2; color: var(--cream); background: var(--green); transform: translateY(-7px); }
.craft-card__icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 65px; color: var(--green); background: var(--sage); border-radius: 50%; }
.craft-card__number { position: absolute; inset-inline-end: 24px; top: 28px; color: var(--muted); font: 700 12px/1 var(--font-en); }
.craft-card:hover .craft-card__number { color: rgba(240,230,193,.5); }
.craft-card h3 { margin-bottom: 12px; font-size: 24px; }
.craft-card p { margin: 0; color: var(--muted); font-size: 14px; }
.craft-card:hover p { color: rgba(240,230,193,.68); }

.wholesale-banner { background: var(--white); }
.wholesale-banner__inner { position: relative; min-height: 390px; display: flex; align-items: center; justify-content: space-between; gap: 56px; overflow: hidden; padding: clamp(42px,6vw,78px); color: var(--cream); background: var(--rust); border-radius: var(--radius-lg); }
.wholesale-banner__pattern { position: absolute; inset: 0; background: url('assets/img/pattern-rust-opt.webp') center/720px auto; opacity: .1; mix-blend-mode: multiply; }
.wholesale-banner__inner > *:not(.wholesale-banner__pattern) { position: relative; z-index: 1; }
.wholesale-banner__inner h2 { max-width: 760px; margin-bottom: 14px; font-size: clamp(38px,5vw,68px); }
.wholesale-banner__inner p:not(.eyebrow) { max-width: 650px; margin: 0; color: rgba(240,230,193,.75); }
.wholesale-banner__inner .button { flex: 0 0 auto; }

.reviews { padding-top: 30px; background: var(--white); }
.reviews__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; margin: 0; padding: 34px; background: var(--cream-2); border-radius: var(--radius-md); }
.review-card:nth-child(2) { color: var(--cream); background: var(--green); }
.review-card__stars { display: flex; gap: 3px; color: var(--rust); }
.review-card__stars .icon { width: 16px; height: 16px; fill: currentColor; }
.review-card:nth-child(2) .review-card__stars { color: var(--sage); }
.review-card > p { margin-block: 34px; font-size: 20px; line-height: 1.75; }
.review-card footer { display: grid; }
.review-card footer span { font-weight: 700; }
.review-card footer small { color: var(--muted); }
.review-card:nth-child(2) footer small { color: rgba(240,230,193,.55); }
.ritual-card { align-items: flex-start; }
.ritual-card__icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--cream); background: var(--green); border-radius: 50%; }
.ritual-card:nth-child(2) .ritual-card__icon { color: var(--green); background: var(--sage); }
.ritual-card__icon .icon { width: 26px; height: 26px; }
.ritual-card h3 { margin: 28px 0 0; font-size: 28px; }
.ritual-card > p { margin: 16px 0 28px; color: var(--muted); font-size: 16px; }
.ritual-card:nth-child(2) > p { color: rgba(240,230,193,.7); }
.ritual-card .text-link { margin-top: auto; }

/* ========================================================================== 
   Shop & Catalog
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; color: var(--cream); background: var(--green); }
.page-hero__pattern { position: absolute; inset: 0; background: url('assets/img/pattern-green-opt.webp') center/760px auto; opacity: .09; }
.page-hero__inner { position: relative; min-height: 420px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 70px; }
.page-hero h1 { max-width: 820px; margin-bottom: 16px; font-size: clamp(52px,7vw,102px); }
.page-hero p:not(.eyebrow) { max-width: 620px; color: rgba(240,230,193,.7); font-size: 18px; }
.shop { padding-top: 58px; }
.shop__toolbar { min-height: 70px; display: grid; grid-template-columns: 1fr minmax(280px,430px) auto; align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.shop__result { color: var(--muted); }
.shop__result strong { color: var(--green); font: 800 20px/1 var(--font-en); }
.shop__search label { height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--cream-2); border: 1px solid transparent; border-radius: var(--radius-pill); transition: border-color .2s; }
.shop__search label:focus-within { border-color: var(--olive); }
.shop__search input { width: 100%; height: 100%; background: none; border: 0; outline: 0; }
.shop__layout { display: grid; grid-template-columns: 240px 1fr; gap: 54px; padding-top: 42px; }
.filters { align-self: start; position: sticky; top: 110px; display: grid; gap: 34px; }
.filters fieldset { display: grid; gap: 7px; }
.filters legend { margin-bottom: 13px; font-size: 15px; font-weight: 800; }
.filter-option { min-height: 40px; display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--muted); }
.filter-option input { appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid rgba(0,41,27,.35); border-radius: 4px; transition: .2s; }
.filter-option input[type="radio"] { border-radius: 50%; }
.filter-option input:checked { background: var(--green); box-shadow: inset 0 0 0 4px var(--cream-2); border-color: var(--green); }
.filter-option span { flex: 1; }
.filter-option small { font-family: var(--font-en); }
.filter-option:has(input:checked) { color: var(--green); font-weight: 700; }
.shop__products .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.shop__products .product-card__media { min-height: 500px; }
.shop__empty { background: var(--cream-2); border-radius: var(--radius-md); }

/* ========================================================================== 
   Product detail
   ========================================================================== */
.product-page { padding-top: 38px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--green); }
.product-detail { display: grid; grid-template-columns: 1.04fr .96fr; align-items: start; gap: clamp(50px,7vw,100px); }
.product-gallery { position: sticky; top: 118px; min-height: 720px; display: grid; place-items: center; overflow: hidden; background: var(--product-bg); border-radius: var(--radius-lg); }
.product-gallery__pattern { position: absolute; inset: 0; background: url('assets/img/pattern-green-opt.webp') center/720px auto; opacity: .045; mix-blend-mode: multiply; }
.product-gallery::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--product-accent), transparent 50%); border-radius: 50%; }
.product-gallery__stage { position: relative; z-index: 2; width: 100%; height: 610px; display: grid; place-items: center; cursor: zoom-in; }
.product-gallery__slide { width: 100%; height: 100%; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: zoom-in; }
.product-gallery__slide[aria-hidden="true"] { display: none; }
.product-gallery__image { width: 55%; height: 560px; object-fit: contain; filter: drop-shadow(0 32px 26px rgba(30,12,4,.2)); transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%); transition: transform .4s var(--ease); will-change: transform; }
.product-gallery__stage:hover .product-gallery__slide.is-active .product-gallery__image { transform: scale(1.9); }
.product-gallery__thumbs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 92%; margin-top: 16px; }
.product-gallery__thumb { width: 76px; height: 76px; padding: 4px; border: 2px solid rgba(255,255,255,.72); background: rgba(255,255,255,.5); border-radius: 14px; overflow: hidden; transition: border-color .2s, transform .2s var(--ease); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumb:hover { transform: translateY(-2px); }
.product-gallery__thumb.is-active { border-color: var(--product-accent); }
.product-gallery__badge { position: absolute; z-index: 3; inset-inline-start: 28px; top: 28px; padding: 10px 16px; color: white; background: var(--product-accent); border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; }
.product-gallery__year { position: absolute; inset-inline-end: 26px; bottom: 24px; color: color-mix(in srgb, var(--product-accent), transparent 22%); font: 800 13px/1 var(--font-en); letter-spacing: .13em; }

/* gallery lightbox */
.gallery-lightbox { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); background: rgba(14,30,22,.93); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.gallery-lightbox.is-open { opacity: 1; visibility: visible; }
.gallery-lightbox__figure { position: relative; max-width: min(92vw, 1100px); }
.gallery-lightbox__figure img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius-md); }
.gallery-lightbox__caption { margin-top: 14px; text-align: center; color: rgba(240,230,193,.75); font: 700 13px/1.6 var(--font-en); }
.gallery-lightbox__btn { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; color: var(--cream); background: rgba(255,255,255,.08); border: 1px solid rgba(240,230,193,.35); border-radius: 50%; transition: background .2s, transform .2s; }
.gallery-lightbox__btn:hover { background: rgba(255,255,255,.2); }
.gallery-lightbox__btn:active { transform: scale(.94); }
.gallery-lightbox__close { top: 22px; inset-inline-end: 22px; }
.gallery-lightbox__prev { inset-inline-start: 18px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox__next { inset-inline-end: 18px; top: 50%; transform: translateY(-50%); }
.product-info { padding-top: 32px; }
.product-info h1 { margin-bottom: 18px; font-size: clamp(40px,5vw,68px); }
.product-info__rating { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.product-info__rating > span { display: flex; color: var(--rust); }
.product-info__rating .icon { width: 15px; height: 15px; fill: currentColor; }
.product-info__rating a { color: var(--muted); font-size: 12px; text-decoration: underline; }
.product-info__status { width: max-content; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 8px 13px; color: var(--green); background: rgba(178,195,137,.32); border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; }
.product-info__status .icon { width: 16px; height: 16px; }
.product-info__price { margin-bottom: 24px; color: var(--green); font: var(--price-weight) clamp(28px,3vw,38px)/1 var(--font-price); }
.product-info__description { max-width: 620px; margin-bottom: 34px; color: var(--muted); font-size: 17px; }
.product-options { display: grid; gap: 26px; padding-block: 28px; border-block: 1px solid var(--line); }
.product-options__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.product-options legend { margin-bottom: 12px; font-weight: 800; }
.segmented { display: flex; flex-wrap: wrap; gap: 9px; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { min-width: 86px; min-height: 44px; display: grid; place-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius-pill); transition: .2s; }
.segmented input:checked + span { color: var(--cream); background: var(--green); border-color: var(--green); }
.segmented input:disabled + span { opacity: .45; }
.segmented label:has(input:disabled) { cursor: not-allowed; }
/* Variable products: the stock WC `.variations` selects / `.single_variation_wrap`
   stay in the DOM as the data contract for the plugin's variation JS, but are
   not visible — the chip selectors are the only visible controls. */
.variations_form .variations[hidden] { display: none; }
.variations_form .single_variation_wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.variations_form .reset_variations_alert { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Grouped products: clean list-style table with a compact qty field per row. */
.grouped_form .woocommerce-grouped-product-list { width: 100%; border-collapse: collapse; margin-block: 24px; }
.grouped_form .woocommerce-grouped-product-list-item td { padding-block: 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.grouped_form .woocommerce-grouped-product-list-item:first-child td { border-top: 0; }
.grouped_form .woocommerce-grouped-product-list-item__thumbnail { width: 72px; padding-inline-end: 16px; }
.grouped_form .woocommerce-grouped-product-list-item__thumbnail img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.grouped_form .woocommerce-grouped-product-list-item__label a { color: var(--ink); font-weight: 800; text-decoration: none; }
.grouped_form .woocommerce-grouped-product-list-item__label a:hover { color: var(--green); }
.grouped_form .woocommerce-grouped-product-list-item__price { padding-inline-start: 16px; text-align: end; white-space: nowrap; }
.grouped_form .woocommerce-grouped-product-list-item__price .price { display: block; font: var(--price-weight) 16px/1.2 var(--font-price); }
.grouped_form .woocommerce-grouped-product-list-item__price .stock { margin: 6px 0 0; font-size: 12px; }
.grouped_form .woocommerce-grouped-product-list-item__price .out-of-stock { color: var(--rust); }
.grouped_form .quantity { border: 0; overflow: visible; background: none; }
.grouped_form .quantity input.qty { width: 84px; min-height: 44px; padding-inline: 12px; text-align: center; font: 700 15px/1 var(--font-en); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); }
.grouped_form .quantity input.qty:focus { outline: none; border-color: var(--green); }
.grouped_form .wc-grouped-product-add-to-cart-checkbox { width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.quantity--large { min-height: 48px; }
.quantity--large button { width: 46px; height: 46px; }
.quantity--large span { min-width: 45px; font-size: 16px; }
.product-info__actions { display: flex; gap: 12px; padding-top: 24px; }
.product-info__actions .button--dark { justify-content: space-between; }
.product-info__actions .button--dark span { color: var(--sage); font-family: var(--font-en); }
.product-benefits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-benefits li { min-height: 78px; display: flex; align-items: center; gap: 13px; padding: 14px; background: var(--cream-2); border-radius: 14px; }
.product-benefits li > .icon { color: var(--olive); }
.product-benefits li span { display: grid; }
.product-benefits small { color: var(--muted); font-size: 10px; }
.product-story { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; margin-block: var(--section-space); padding: 50px 0; border-block: 1px solid var(--line); }
.product-story h2 { margin: 0; font-size: clamp(36px,4vw,56px); }
.product-story > p { margin: 0; color: var(--muted); font-size: 20px; }
.brew-guide { min-height: 520px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; padding: clamp(36px,6vw,72px); color: var(--cream); background: var(--brown); border-radius: var(--radius-lg); }
.brew-guide__visual { min-height: 350px; display: grid; place-items: center; position: relative; border: 1px solid rgba(240,230,193,.22); border-radius: 50%; }
.brew-guide__visual .icon { width: 120px; height: 120px; color: var(--sage); stroke-width: .8; }
.brew-guide__visual span { position: absolute; font: 800 12px/1 var(--font-en); }
.brew-guide__visual span:first-child { top: 25px; inset-inline-start: 25px; }
.brew-guide__visual span:last-child { bottom: 25px; inset-inline-end: 25px; }
.brew-guide h2 { font-size: clamp(36px,4vw,58px); }
.brew-guide ol { list-style: none; display: grid; gap: 0; margin-top: 32px; }
.brew-guide li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding-block: 15px; border-top: 1px solid rgba(240,230,193,.16); }
.brew-guide li span { color: rgba(240,230,193,.68); }
.related-products { padding-top: var(--section-space); }
form.cart {
  margin-block: 10px;
}
/* ========================================================================== 
   About
   ========================================================================== */
.about-hero { position: relative; overflow: hidden; color: var(--cream); background: var(--green); }
.about-hero__pattern { position: absolute; inset: 0; background: url('assets/img/pattern-green-opt.webp') center/860px auto; opacity: .05; }
.about-hero__grid { position: relative; min-height: 730px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 70px; padding-block: 80px; }
.about-hero h1 { white-space: pre-line; margin-bottom: 28px; font-size: clamp(52px,7vw,96px); }
.about-hero p:not(.eyebrow) { max-width: 680px; color: rgba(240,230,193,.68); font-size: 18px; }
.about-hero__mark { position: relative; min-height: 480px; display: grid; place-items: center; border: 1px solid rgba(240,230,193,.18); border-radius: 50% 50% 24px 24px; }
.about-hero__mark::before { content: ""; position: absolute; inset: 20px; border: 1px dashed rgba(178,195,137,.2); border-radius: inherit; }
.about-hero__mark img { position: relative; z-index: 1; width: 48%; }
.about-hero__mark span { position: absolute; bottom: 24px; font: 700 11px/1 var(--font-en); letter-spacing: .12em; text-transform: uppercase; }
.story-intro__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; }
.big-number { display: block; margin-bottom: 46px; color: var(--rust); font: 800 15px/1 var(--font-en); }
.story-intro h2 { font-size: clamp(42px,5vw,70px); }
.story-intro__grid > div:last-child { padding-top: 84px; }
.story-intro__grid > div:last-child p { color: var(--muted); font-size: 19px; }
.timeline { overflow: hidden; }
.timeline__track { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(0,41,27,.35); }
.timeline-card { position: relative; min-height: 320px; padding: 34px 28px; border-inline-end: 1px solid rgba(0,41,27,.25); }
.timeline-card::before { content: ""; position: absolute; top: -7px; inset-inline-start: 28px; width: 13px; height: 13px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px var(--sage); }
.timeline-card > span { display: block; margin-bottom: 72px; color: var(--green); font: 800 clamp(24px, 1vw + 16px, 32px)/1.2 var(--font-family); }
.timeline-card h3 { font-size: 24px; }
.timeline-card p { color: color-mix(in srgb,var(--green),transparent 30%); font-size: 14px; }
.values__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.value-card { min-height: 280px; position: relative; padding: 34px; background: var(--cream-2); border-radius: var(--radius-md); transition: .3s; }
.value-card:hover { color: var(--cream); background: var(--green); transform: translateY(-5px); }
.value-card > span { position: absolute; inset-inline-end: 28px; top: 28px; font: 700 12px/1 var(--font-en); }
.value-card h3 { margin-top: 90px; margin-bottom: 14px; font-size: 32px; }
.value-card p { max-width: 500px; margin: 0; color: var(--muted); }
.value-card:hover p { color: rgba(240,230,193,.66); }
.about-cta { padding-top: 0; }
.about-cta__inner { min-height: 360px; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: clamp(40px,6vw,72px); color: var(--cream); background: var(--rust); border-radius: var(--radius-lg); }
.about-cta h2 { max-width: 800px; margin: 0; font-size: clamp(40px,5vw,68px); }

/* ========================================================================== 
   Contact
   ========================================================================== */
.contact-hero { color: var(--cream); background: var(--green); }
.contact-hero__grid { min-height: 630px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 80px; padding-block: 70px; }
.contact-hero h1 { white-space: pre-line; font-size: clamp(52px,7vw,94px); }
.contact-hero p:not(.eyebrow) { max-width: 620px; color: rgba(240,230,193,.68); font-size: 18px; }
.contact-hero__cards { display: grid; gap: 12px; }
.contact-hero__cards > * { min-height: 98px; display: flex; align-items: center; gap: 18px; padding: 20px; border: 1px solid rgba(240,230,193,.16); border-radius: 18px; transition: background .2s; }
.contact-hero__cards > a:hover { background: rgba(255,255,255,.06); }
.contact-hero__cards > * > .icon { width: 28px; height: 28px; color: var(--sage); }
.contact-hero__cards span { display: grid; }
.contact-hero__cards small { color: rgba(240,230,193,.5); }
.contact-section__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.contact-section h2 { font-size: clamp(42px,5vw,68px); }
.contact-section > .container > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.contact-social { display: grid; gap: 10px; margin-top: 35px; }
.contact-social a { width: max-content; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-size: 14px; }
.form-card, .wholesale-form, .checkout-form section, .account-card { padding: clamp(28px,4vw,48px); background: var(--cream-2); border-radius: var(--radius-md); }
.form-card, .wholesale-form, .checkout-form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-section .wpcf7-form, #wholesale .wpcf7-form { display: grid; gap: 18px; }
.contact-section .wpcf7-form p, #wholesale .wpcf7-form p,
.contact-section .form-grid, #wholesale .form-grid { display: contents; }
.form-card label, .wholesale-form label, .checkout-form label, .account-card label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.form-card input, .form-card select, .form-card textarea, .wholesale-form input, .wholesale-form select, .checkout-form input, .checkout-form select, .checkout-form textarea, .account-card input {
  width: 100%; min-height: 52px; padding: 12px 15px; background: white; border: 1px solid rgba(0,41,27,.15); border-radius: 12px; outline: 0; transition: border-color .2s, box-shadow .2s;
}
.form-card textarea, .checkout-form textarea { resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus, .wholesale-form input:focus, .wholesale-form select:focus, .checkout-form input:focus, .checkout-form select:focus, .checkout-form textarea:focus, .account-card input:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(105,118,80,.12); }
.wholesale-section__grid { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 100px; }
.checkout__heading h1 { font-size: clamp(44px,6vw,78px); }
/* Checkout kicker mirrors the cart kicker's bilingual font/shape but flips the
   alignment to the visual end: left on AR (RTL), right on EN (LTR). */
.eyebrow--checkout { text-align: end; }
.wholesale-section h2 { font-size: clamp(42px,5vw,70px); }
.wholesale-section__grid > div:first-child p { color: rgba(240,230,193,.66); }
.wholesale-form p { color: var(--ink); }
.wholesale-section ul { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.wholesale-section li { display: flex; align-items: center; gap: 12px; }
.wholesale-section li .icon { width: 19px; color: var(--sage); }
.wholesale-form { color: var(--ink); background: var(--cream); }
.wholesale-form h3 { font-size: 28px; }
.faq__grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.faq h2 { font-size: clamp(42px,5vw,68px); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-weight: 700; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .25s; }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion details p { padding-bottom: 25px; color: var(--muted); }

/* ========================================================================== 
   Checkout & Account
   ========================================================================== */
.checkout { background: var(--white); }
.checkout__heading { margin-bottom: 42px; }
.checkout__heading h1 { font-size: clamp(44px,6vw,78px); }
.checkout__grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: start; gap: 36px; }
.checkout-fields { display: grid; gap: 22px; align-content: start; }
.checkout-form { gap: 22px; }
.checkout-form section { display: grid; gap: 20px; }
.form-section-title { display: flex; align-items: center; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.form-section-title span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--cream); background: var(--green); border-radius: 50%; font: 700 11px/1 var(--font-en); }
.form-section-title h2 { margin: 0; font-size: 24px; }
.payment-options { display: grid; gap: 10px; }
.payment-options label { cursor: pointer; }
.payment-options input { position: absolute; opacity: 0; }
.payment-options label > span { min-height: 80px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 14px; padding: 14px 18px; background: white; border: 1px solid var(--line); border-radius: 14px; transition: .2s; }
.payment-options label > span > .icon { grid-row: 1 / 3; }
.payment-options small { color: var(--muted); }
.payment-options input:checked + span { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.order-summary { position: sticky; top: 105px; padding: 32px; background: var(--green); color: var(--cream); border-radius: var(--radius-md); }
.order-summary h2 { font-size: 28px; }
.osum__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.osum__top h2 { margin: 0; }
.osum-edit { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; color: var(--cream); background: rgba(240,230,193,.1); border: 1px solid rgba(240,230,193,.25); border-radius: var(--radius-pill); font: 700 12px/1 var(--font-en), var(--font-ar); text-decoration: none; transition: .2s; }
.osum-edit .icon { width: 13px; height: 13px; }
.osum-edit:hover { color: var(--green); background: var(--sage); border-color: var(--sage); }
.osum-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.osum-tag { padding: 4px 11px; color: var(--sage); background: rgba(178,195,137,.12); border: 1px solid rgba(178,195,137,.3); border-radius: var(--radius-pill); font: 600 11px/1 var(--font-en), var(--font-ar); white-space: nowrap; }
.order-summary__items { display: grid; gap: 16px; margin: 26px 0; padding-block: 24px; border-block: 1px solid rgba(240,230,193,.15); }
.summary-item { display: grid; grid-template-columns: 68px 1fr auto; align-items: center; gap: 13px; }
.summary-item__image { position: relative; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 12px; }
.summary-item__image img { width: 54%; height: 80%; object-fit: contain; }
.summary-item__image b { position: absolute; top: -5px; inset-inline-end: -5px; width: 20px; height: 20px; display: grid; place-items: center; color: var(--green); background: var(--sage); border-radius: 50%; font: 700 10px/1 var(--font-en); }
.summary-item > div { display: grid; }
.summary-item strong { font-size: 13px; }
.summary-item small { color: rgba(240,230,193,.5); }
.summary-item > span:last-child { font: var(--price-weight) 13px/1 var(--font-price); }
.order-summary__totals { display: grid; gap: 12px; }
.order-summary__totals > div { display: flex; justify-content: space-between; }
.order-summary__totals > div:not(.order-summary__grand) { color: rgba(240,230,193,.65); font-size: 13px; }
.order-summary__totals strong { font-family: var(--font-price); font-weight: var(--price-weight); }
.order-summary__grand { margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(240,230,193,.16); font-size: 20px; }
.order-summary__grand strong { color: var(--sage); font-family: var(--font-price); font-weight: var(--price-weight); }
.secure-note { display: flex; align-items: center; gap: 8px; margin: 25px 0 0; color: rgba(240,230,193,.5); font-size: 11px; }
.secure-note .icon { width: 16px; }
.order-success { min-height: 70vh; display: grid; place-items: center; }
.order-success__card { max-width: 720px; margin-inline: auto; padding: clamp(42px,7vw,84px); text-align: center; background: var(--cream-2); border-radius: var(--radius-lg); }
.order-success__card > .icon { width: 72px; height: 72px; margin-inline: auto; margin-bottom: 24px; padding: 18px; color: var(--cream); background: var(--green); border-radius: 50%; }
.order-success h1 { font-size: clamp(42px,6vw,70px); }
.order-success p:not(.eyebrow) { color: var(--muted); }
.order-number { display: block; margin: 25px 0; font: 800 18px/1 var(--font-en); }
.account { min-height: 74vh; display: grid; align-items: center; background: var(--cream-2); }
.account__grid { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 100px; }
.account__intro h1 { font-size: clamp(48px,6vw,82px); }
.account__intro > p { max-width: 650px; color: var(--muted); font-size: 18px; }
.account__benefits { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.account__benefits div { display: flex; align-items: center; gap: 9px; padding: 10px 15px; background: white; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; }
.account__benefits .icon { width: 17px; color: var(--olive); }
.account-card { background: white; box-shadow: var(--shadow-md); }
/* ---------- checkout options editor (popup) ---------- */
.kaf-co-change {
  justify-self: start;
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px 5px 10px;
  border: 1px solid rgba(240, 230, 193, 0.28);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--sage);
  font: 600 11px/1 var(--font-en), var(--font-ar);
  letter-spacing: 0.02em;
  transition: background .2s, color .2s, border-color .2s;
}
.kaf-co-change .icon { width: 13px; height: 13px; }
.kaf-co-change:hover { background: var(--sage); color: var(--green); border-color: var(--sage); }

.kaf-co-popup { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; }
.kaf-co-popup[aria-hidden="true"] { display: none; }
.kaf-co-popup__backdrop { position: absolute; inset: 0; background: rgba(0, 41, 27, 0.55); backdrop-filter: blur(2px); }
.kaf-co-popup__card {
  position: relative;
  width: min(100%, 360px);
  padding: 30px 26px 26px;
  background: var(--cream-2);
  color: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: kafCoPop .22s var(--ease);
}
@keyframes kafCoPop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.kaf-co-popup__close {
  position: absolute; top: 14px; inset-inline-end: 14px;
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted);
  transition: background .2s, color .2s;
}
.kaf-co-popup__close:hover { background: var(--cream); color: var(--green); }
.kaf-co-popup__close .icon { width: 16px; height: 16px; }
.kaf-co-popup__title { margin-bottom: 18px; font-size: 22px; }
.kaf-co-options { display: grid; gap: 13px; }
.kaf-co-option { display: grid; gap: 6px; }
.kaf-co-option span { font-size: 12px; font-weight: 700; }
.kaf-co-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.kaf-co-select:focus { border-color: var(--sage); box-shadow: 0 0 0 4px rgba(178, 195, 137, 0.25); }
.kaf-co-popup__done { margin-top: 22px; }
.kaf-co-popup__done.is-loading { opacity: .6; pointer-events: none; }


.account-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 30px; padding: 5px; background: var(--cream-2); border-radius: var(--radius-pill); }
.account-tabs button { min-height: 44px; background: transparent; border: 0; border-radius: var(--radius-pill); font-weight: 700; }
.account-tabs button.is-active { color: var(--cream); background: var(--green); }
.account-card form { display: grid; gap: 18px; }
.form-inline { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.checkbox { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px !important; }
.checkbox input { width: 16px; min-height: 16px; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease) var(--delay,0ms), transform .7s var(--ease) var(--delay,0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ========================================================================== 
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  :root { --container: 1040px; }
  .nav { gap: 18px; }
  .nav__link { font-size: 12px; }
  .header__inner { gap: 24px; }
  .hero__grid { grid-template-columns: 1fr .85fr; gap: 25px; }
  .hero__visual { min-height: 540px; }
  .hero__product { height: 500px; }
  .flavor-selector__grid { gap: 40px; }
  .flavor-card { min-height: 470px; }
  .flavor-card img { height: 265px; }
  .footer__grid { grid-template-columns: 1.35fr .7fr .75fr 1fr; gap: 34px; }
  .product-gallery { min-height: 650px; }
  .product-gallery__stage { height: 550px; }
  .product-gallery__image { height: 550px; }
  .timeline__track { grid-template-columns: repeat(2,1fr); }
  .timeline-card:nth-child(-n+2) { border-bottom: 1px solid rgba(0,41,27,.25); }
}

@media (max-width: 960px) {
  :root { --section-space: 88px; }
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-grid !important; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .announcement__inner span:last-child { display: none; }
  .announcement__inner { justify-content: center; text-align: center; }
  .header { height: 72px; }
  .header__inner { grid-template-columns: 44px 1fr auto; gap: 8px; }
  .brand { width: 126px; height: 58px; justify-self: center; }
  .header__actions .language-switch { display: none; }
  .header__actions { gap: 0; }

  .hero { min-height: auto; }
  .hero__grid { min-height: 0; grid-template-columns: 1fr; gap: 12px; padding-top: 70px; padding-bottom: 94px; }
  .hero__content { text-align: center; }
  .hero h1, .hero__text { margin-inline: auto; }
  .hero__actions, .hero__controls { justify-content: center; }
  .hero__visual { min-height: 510px; order: -1; }
  .hero__product { width: min(42%, 300px); height: 470px; }
  .hero__halo { width: min(60%, 480px); }
  .hero__stamp { inset-inline-start: 16%; }
  .hero__note { inset-inline-end: 12%; }
  .product-grid, .product-grid--featured { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-card__media { min-height: 460px; }
  .flavor-selector__grid { grid-template-columns: 1fr; }
  .flavor-selector__copy { text-align: center; }
  .flavor-selector__copy > p:not(.eyebrow), .flavor-selector__copy .button { margin-inline: auto; }
  .flavor-cards { max-width: 760px; margin-inline: auto; }
  .heritage__grid { grid-template-columns: 1fr; }
  .heritage__visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .heritage__content { text-align: center; }
  .heritage__content > p:not(.eyebrow), .heritage__content .button { margin-inline: auto; }
  .craft__grid { grid-template-columns: repeat(2,1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .review-card { min-height: 270px; }
  .wholesale-banner__inner { align-items: flex-start; flex-direction: column; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .newsletter { grid-column: 1 / -1; max-width: 620px; }

  .shop__layout { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 550; inset: 0 0 0 auto; width: min(390px,90vw); overflow-y: auto; padding: 22px 26px 40px; background: var(--cream-2); transform: translateX(105%); transition: transform .35s var(--ease); }
  html[dir="rtl"] .filters { inset: 0 auto 0 0; transform: translateX(-105%); }
  .filters.is-open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .filters__mobile-head { display: flex !important; align-items: center; justify-content: space-between; margin-bottom: 15px; }
  .filters__mobile-head h2 { margin: 0; }
  .shop__toolbar { grid-template-columns: 1fr auto; }
  .shop__search { grid-column: 1 / -1; grid-row: 2; }

  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { position: relative; top: auto; min-height: 650px; max-width: 720px; width: 100%; margin-inline: auto; }
  .product-info { max-width: 720px; width: 100%; margin-inline: auto; }
  .product-story, .brew-guide { grid-template-columns: 1fr; }
  .product-story { gap: 30px; }
  .brew-guide__visual { max-width: 430px; width: 100%; margin-inline: auto; }

  .about-hero__grid, .story-intro__grid, .contact-hero__grid, .contact-section__grid, .wholesale-section__grid, .faq__grid, .checkout__grid, .account__grid { grid-template-columns: 1fr; }
  .about-hero__grid, .contact-hero__grid { gap: 50px; }
  .about-hero__mark { max-width: 560px; width: 100%; margin-inline: auto; }
  .story-intro__grid { gap: 24px; }
  .story-intro__grid > div:last-child { padding-top: 0; }
  .contact-hero__cards { max-width: 680px; }
  .order-summary { position: static; }
  .account__grid { gap: 50px; }
  .account-card { max-width: 650px; width: 100%; }
}

@media (max-width: 680px) {
  :root { --section-space: 68px; --radius-lg: 26px; }
  body { font-size: 15px; }
  html[dir="rtl"] .eyebrow:not(.eyebrow--latin) { font-size: 13px; line-height: 1.65; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .announcement { font-size: 9px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 32px; }
  .section-heading h2 { font-size: clamp(34px,10vw,48px); }
  .section-heading .text-link { align-self: flex-start; }
  .button--large { min-height: 54px; padding-inline: 22px; }

  .hero__grid { padding-top: 42px; }
  .hero__visual { min-height: 390px; }
  .hero__product { width: min(54%, 250px); height: 350px; }
  .hero__halo { width: min(80%, 390px); }
  .hero__stamp { inset-inline-start: 1%; top: 12%; width: 88px; height: 88px; }
  .hero__stamp strong { font-size: 27px; }
  .hero__note { inset-inline-end: 0; bottom: 7%; font-size: 9px; padding: 9px 12px; }
  .hero h1 { font-size: clamp(46px,13vw,66px); }
  .hero__text { font-size: 15px; }
  .hero__actions { flex-direction: column; gap: 15px; }
  .hero__actions .button { width: 100%; max-width: 330px; }
  .hero__controls { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; }
  .hero-dot { min-width: 96px; display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto; justify-items: center; text-align: center; gap: 2px; padding: 8px 10px; }
  .hero__ticker-track { animation-duration: 44s; }
  .hero__ticker span::before { margin-inline: 28px; }

  .product-grid, .product-grid--featured, .shop__products .product-grid { grid-template-columns: 1fr; }
  .product-card__media, .shop__products .product-card__media { min-height: 440px; }
  .product-card__view { opacity: 1; transform: none; }
  .flavor-cards { grid-template-columns: 1fr; gap: 14px; width: 100%; margin-inline: 0; }
  .flavor-card, .flavor-card--2, .flavor-card--3 { --lift: 0px; min-height: 410px; border-radius: 120px 120px 22px 22px; }
  .flavor-card img { top: 24px; height: 250px; width: 60%; }
  .flavor-card > .icon { top: 28px; bottom: auto; inset-inline-end: 28px; width: 22px; height: 22px; }
  .heritage__visual { min-height: 480px; }
  .heritage__visual img { width: 60%; max-height: 340px; }
  .heritage__stats { gap: 10px; }
  .heritage__stats strong { font-size: 32px; }
  .heritage__stats span { font-size: 9px; }
  .craft__grid { grid-template-columns: 1fr; }
  .craft-card { min-height: 270px; }
  .craft-card__icon { margin-bottom: 36px; }
  .wholesale-banner__inner { min-height: 420px; padding: 34px 24px; }
  .wholesale-banner__inner h2 { font-size: 40px; }
  .wholesale-banner__inner .button { width: 100%; }
  .review-card { padding: 26px; }
  .footer { padding-top: 70px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
  .footer__brand, .newsletter { grid-column: 1 / -1; }
  .footer__brand img { width: 180px; }
  .footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }

  .page-hero__inner { min-height: 330px; }
  .page-hero h1 { font-size: 54px; }
  .shop__toolbar { grid-template-columns: 1fr auto; }
  .shop__layout { padding-top: 25px; }
  .product-gallery { min-height: 520px; }
  .product-gallery__stage { height: 450px; }
  .product-gallery__image { width: 60%; height: 450px; }
  .product-info h1 { font-size: 42px; }
  .product-info__actions { flex-wrap: wrap; }
  .product-info__actions .button--grow { flex-basis: calc(100% - 70px); }
  .product-benefits { grid-template-columns: 1fr; }
  .product-story { margin-block: 70px; }
  .product-story > p { font-size: 17px; }
  .brew-guide { padding: 30px 22px; gap: 35px; }
  .brew-guide__visual { min-height: 280px; }
  .brew-guide__visual .icon { width: 90px; height: 90px; }
  .brew-guide li { grid-template-columns: 80px 1fr; font-size: 13px; }

  .about-hero__grid, .contact-hero__grid { min-height: auto; padding-block: 60px; }
  .about-hero h1, .contact-hero h1 { font-size: 50px; }
  .about-hero__mark { min-height: 400px; }
  .timeline__track { grid-template-columns: 1fr; }
  .timeline-card { min-height: 260px; border-bottom: 1px solid rgba(0,41,27,.25); }
  .timeline-card > span { margin-bottom: 45px; }
  .values__grid { grid-template-columns: 1fr; }
  .about-cta__inner { align-items: flex-start; flex-direction: column; padding: 34px 24px; }
  .about-cta__inner .button { width: 100%; }
  .contact-section__grid, .wholesale-section__grid, .faq__grid { gap: 50px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .wholesale-form, .checkout-form section, .account-card { padding: 24px 18px; }
  .contact-hero__cards > * { min-height: 84px; }
  .checkout { padding-top: 30px; }
  .summary-item { grid-template-columns: 58px 1fr auto; }
  .summary-item__image { width: 58px; height: 58px; }
  .order-summary { padding: 24px 18px; }
  .account__benefits { display: grid; grid-template-columns: 1fr; }
  .form-inline { align-items: flex-start; flex-direction: column; }
  .search-overlay__dialog { padding: 20px; margin-top: 7vh; }
  .search-field { margin-top: 40px; }
  .drawer__panel { width: 94vw; }
  .cart-item { grid-template-columns: 82px 1fr; }
  .toast-region { inset-inline: 14px; bottom: 14px; }
  .toast { min-width: 0; width: 100%; }
}

@media (max-width: 390px) {
  .brand { width: 112px; }
  .header__icon { width: 40px; height: 40px; }
  .hero h1 { font-size: 43px; }
  .hero__visual { min-height: 350px; }
  .hero__product { height: 320px; }
  .hero__controls { width: 100%; }
  .hero-dot { min-width: 0; flex: 1 1 0; gap: 6px; padding: 8px 10px; font-size: 10px; }
  .product-card__media { min-height: 400px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand, .newsletter { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

