/*
Theme Name: Taste Jenin
Theme URI: https://tastejenin.com
Author: Taste Jenin
Description: Custom lightweight theme for Taste Jenin. Built for Elementor + Elementor Pro + WooCommerce. Presentation layer only — WooCommerce remains the single source of truth for products, prices, stock and variations.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: taste-jenin
*/

/* ==========================================================================
   TASTE JENIN — DESIGN TOKENS
   Do not use arbitrary margins/colors anywhere else in the theme.
   Every value used across templates should trace back to a token here.
   ========================================================================== */

:root {
  /* -- Brand colors — Concept B ("punchier, still warm") approved palette -- */
  --jenin-oatmeal:     #EFE7D3;
  --jenin-dark-green:  #3E5A2A; /* was #1F5508 — desaturated to a warmer, more heritage-coded olive */
  --jenin-yellow:      #D9A125; /* was #FFFF6F neon yellow — now a saffron/marigold tone */
  --jenin-olive-leaf:  #98AD3D;
  --jenin-poppy:       #C1512F; /* was #E35335 — nudged toward terracotta */
  --jenin-sumac:       #8B1E3F; /* was #A2183E — slightly deeper wine */
  --jenin-deep-olive:  #B6A225;

  /* -- Header background — a brighter pale gold wash, distinct from both
        the page's oatmeal and the Products section's full saffron, so
        the header reads warm without duplicating either -- */
  --jenin-header-bg:     #F4D896;
  --jenin-header-bg-rgb: 244, 216, 150;

  /* -- RGB decompositions, for rgba() opacity use (masthead border/blur) -- */
  --jenin-oatmeal-rgb:    239, 231, 211;
  --jenin-deep-olive-rgb: 182, 162, 37;
  --jenin-dark-green-rgb: 62, 90, 42;

  /* -- Semantic color roles -- */
  --jenin-bg:              var(--jenin-oatmeal);
  --jenin-text:            var(--jenin-dark-green);
  --jenin-text-inverse:    var(--jenin-oatmeal);
  --jenin-cta-primary-bg:  var(--jenin-poppy);
  --jenin-cta-primary-fg:  var(--jenin-oatmeal);
  --jenin-cta-secondary-fg:var(--jenin-dark-green);
  --jenin-accent-energy:   var(--jenin-yellow);
  --jenin-accent-deep:     var(--jenin-sumac);
  --jenin-accent-alt:      var(--jenin-olive-leaf);
  --jenin-border:          rgba(var(--jenin-dark-green-rgb), 0.18);

  /* -- Typography — Fraunces (headings, via Google Fonts) + General Sans
        (body/nav/buttons, via Fontshare, unchanged). Serif fallbacks for
        Fraunces so a failed font load still lands somewhere editorial,
        not a jarring sans substitute. -- */
  --jenin-font-heavy:  'Fraunces', Georgia, 'Times New Roman', serif;
  --jenin-font-medium: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --jenin-font-arabic-heavy:  'Adobe Naskh', 'Neirizi', 'Traditional Arabic', serif;
  --jenin-font-arabic-body:   'Adobe Naskh', 'Traditional Arabic', serif;

  /* -- Fluid type scale (clamp: min, preferred, max) -- */
  --jenin-h1: clamp(2.75rem, 3.2rem + 3vw, 7rem);
  --jenin-h2: clamp(2rem, 1.6rem + 2.2vw, 4rem);
  --jenin-h3: clamp(1.375rem, 1.2rem + 1vw, 2rem);
  --jenin-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --jenin-eyebrow: 0.8125rem;
  --jenin-button: 1rem;

  /* -- Spacing tokens -- */
  --jenin-page-gutter:  clamp(1.25rem, 4vw, 4rem);
  --jenin-section-space: clamp(3.5rem, 8vw, 9rem);
  --jenin-grid-gap:     clamp(1rem, 2vw, 2rem);
  --jenin-card-gap:     clamp(0.75rem, 1.5vw, 1.5rem);
  --jenin-page-max: 1440px;

  /* -- Motion tokens (approved subtle-detail system only) -- */
  --jenin-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --jenin-move-fast: 0.25s;
  --jenin-move-med: 0.5s;
  --jenin-lift: 3px;
  --jenin-arrow-shift: 4px;

  /* -- Structural details -- */
  --jenin-hairline: 1px solid var(--jenin-border);
  --jenin-radius: 0px; /* flat by design — no rounded generic ecommerce cards */
}

/* On narrow phones, the H1 clamp's preferred value still runs large
   enough that a full hero headline (5-8 words) wraps to 5-6 lines,
   burying the subhead and CTAs below the fold. Capping it lower here
   only affects small phones — desktop/tablet impact is untouched. */
@media (max-width: 480px) {
  :root {
    --jenin-h1: clamp(2rem, 2.1rem + 4vw, 2.75rem);
  }
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--jenin-bg);
  color: var(--jenin-text);
  font-family: var(--jenin-font-medium);
  font-size: var(--jenin-body);
  line-height: 1.5;
  overflow-x: hidden;
}

body.rtl, [dir="rtl"] {
  font-family: var(--jenin-font-arabic-body);
}

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

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

.jenin-container {
  max-width: var(--jenin-page-max);
  margin-inline: auto;
  padding-inline: var(--jenin-page-gutter);
}

h1, .jenin-h1 {
  font-family: var(--jenin-font-heavy);
  font-size: var(--jenin-h1);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 700; /* Fraunces Bold — was 800 under the old font, a weight it doesn't have either, so kept at the real Bold */
  margin: 0 0 0.4em;
  text-transform: uppercase;
}

h2, .jenin-h2 {
  font-family: var(--jenin-font-heavy);
  font-size: var(--jenin-h2);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 700; /* same fix as h1 */
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

h3, .jenin-h3 {
  font-family: var(--jenin-font-heavy);
  font-size: var(--jenin-h3);
  line-height: 1.1;
  font-weight: 600; /* Semibold — deliberately one step lighter than h1/h2's Bold, so H3 reads as a real third tier instead of just "smaller H1" */
  margin: 0 0 0.5em;
}

.jenin-eyebrow {
  font-family: var(--jenin-font-medium);
  font-size: var(--jenin-eyebrow);
  font-weight: 500; /* Medium — matches the brand's original eyebrow spec; without this it defaulted to plain Regular and read thin */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75em;
}

p { margin: 0 0 1em; }

/* ==========================================================================
   BUTTONS (approved CTA vocabulary only — see brief §34/§35)
   ========================================================================== */

.jenin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--jenin-font-medium);
  font-size: var(--jenin-button);
  font-weight: 600;
  padding: 0.9em 1.6em;
  border-radius: var(--jenin-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--jenin-move-fast) var(--jenin-ease),
              color var(--jenin-move-fast) var(--jenin-ease),
              border-color var(--jenin-move-fast) var(--jenin-ease);
}

.jenin-btn .jenin-btn-arrow {
  transition: transform var(--jenin-move-fast) var(--jenin-ease);
  display: inline-block;
}

.jenin-btn:hover .jenin-btn-arrow { transform: translateX(var(--jenin-arrow-shift)); }
[dir="rtl"] .jenin-btn:hover .jenin-btn-arrow { transform: translateX(calc(-1 * var(--jenin-arrow-shift))); }

.jenin-btn--primary {
  background: var(--jenin-cta-primary-bg);
  color: var(--jenin-cta-primary-fg);
}
.jenin-btn--primary:hover { background: var(--jenin-sumac); }

.jenin-btn--secondary {
  background: transparent;
  border-color: var(--jenin-dark-green);
  color: var(--jenin-cta-secondary-fg);
}
.jenin-btn--secondary:hover {
  background: var(--jenin-dark-green);
  color: var(--jenin-oatmeal);
}

.jenin-btn--on-yellow {
  background: var(--jenin-yellow);
  color: var(--jenin-dark-green);
}
.jenin-btn--on-yellow:hover { background: var(--jenin-dark-green); color: var(--jenin-yellow); }

/* ==========================================================================
   STRUCTURAL DIVIDERS + ARCH SYSTEM
   ========================================================================== */

.jenin-divider {
  border: 0;
  border-top: var(--jenin-hairline);
  margin: 0;
}

.jenin-arch {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--jenin-border);
  border-top-left-radius: 999px 640px;
  border-top-right-radius: 999px 640px;
  overflow: hidden;
  background: rgba(31, 85, 8, 0.04);
}

.jenin-arch img,
.jenin-arch video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* product media: never crop packaging */
}

.jenin-arch--photo img,
.jenin-arch--photo video {
  object-fit: cover; /* photography arches may cover */
}

.jenin-arch--product { aspect-ratio: 1 / 1.1; }

/* ==========================================================================
   PLACEHOLDER SYSTEM
   ========================================================================== */

.jenin-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 240px;
  background: repeating-linear-gradient(
    45deg,
    rgba(31, 85, 8, 0.06),
    rgba(31, 85, 8, 0.06) 10px,
    transparent 10px,
    transparent 20px
  );
  border: 1px dashed var(--jenin-dark-green);
  color: var(--jenin-dark-green);
  font-family: var(--jenin-font-medium);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1.5rem;
}

/* ==========================================================================
   HEADER — editorial masthead: symmetrical, logo grid-centered.
   Desktop spec: 104px tall, shrinks to 76px on scroll; logo shrinks with it.
   ========================================================================== */

.jenin-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--jenin-header-bg);
  border-bottom: 1px solid rgba(var(--jenin-deep-olive-rgb), 0.22);
  transition: background-color var(--jenin-move-med) var(--jenin-ease),
              backdrop-filter var(--jenin-move-med) var(--jenin-ease);
}

.jenin-header.is-scrolled {
  background: rgba(var(--jenin-header-bg-rgb), 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(var(--jenin-deep-olive-rgb), 0.22);
}

.jenin-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(32px, 4vw, 64px);
  height: 104px;
  transition: height var(--jenin-move-med) var(--jenin-ease);
}

.jenin-header.is-scrolled .jenin-header__inner { height: 76px; }

/* Logo — visually centered via the grid regardless of left/right link count */
.jenin-header__logo {
  grid-column: 2;
  justify-self: center;
  display: block;
  line-height: 0;
}

/* Logo — sized by HEIGHT, not width. Your real logo is a stacked
   two-line lockup (wordmark + Arabic beneath), so it's much taller
   relative to its width than a typical single-line logo. Sizing by
   width let it overflow past the header's fixed height on tall logos;
   sizing by height guarantees it always fits, with max-width as a
   safety cap for unusually wide logos. */
.jenin-header__logo img {
  height: clamp(44px, 6vw, 64px);
  width: auto;
  max-width: 170px;
  display: block;
  transition: height var(--jenin-move-med) var(--jenin-ease);
}

.jenin-header.is-scrolled .jenin-header__logo img { height: 40px; }

.jenin-header__logo-placeholder {
  width: clamp(150px, 12vw, 170px);
  min-height: 40px;
  font-size: 0.7rem;
  line-height: 1.3;
  padding: 0.5rem;
}

/* Left / right nav zones */
.jenin-header__nav { display: flex; align-items: center; }
.jenin-header__nav--left { grid-column: 1; justify-content: flex-end; }
.jenin-header__nav--right { grid-column: 3; justify-content: flex-start; gap: 1.5rem; }
.jenin-header__nav--right nav { display: flex; }

.jenin-header__nav ul {
  display: flex;
  align-items: center;
  gap: clamp(30px, 2vw, 38px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.jenin-header__nav a,
.jenin-bag-link {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  font-family: var(--jenin-font-medium);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jenin-dark-green); /* was deep-olive — too close in hue/lightness to the new gold header, nearly unreadable */
  transition: color var(--jenin-move-fast) var(--jenin-ease);
}

/* Restrained editorial underline — thin, animates in on hover, no scale/shadow/pill */
.jenin-header__nav a::after,
.jenin-bag-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--jenin-ease);
}

.jenin-header__nav a:hover,
.jenin-header__nav a:focus-visible,
.jenin-bag-link:hover,
.jenin-bag-link:focus-visible {
  color: var(--jenin-sumac); /* was dark-green, now identical to the resting color after the contrast fix above — sumac gives a real, visible hover shift */
}

.jenin-header__nav a:hover::after,
.jenin-header__nav a:focus-visible::after,
.jenin-bag-link:hover::after,
.jenin-bag-link:focus-visible::after {
  transform: scaleX(1);
}

.jenin-header a:focus-visible {
  outline: 1px solid var(--jenin-dark-green); /* was deep-olive — same low-contrast issue against the gold header, and this is an accessibility-critical focus indicator */
  outline-offset: 3px;
}

.jenin-mobile-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.25rem;
  font-family: var(--jenin-font-medium);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--jenin-dark-green); /* was deep-olive — same contrast fix as the nav links */
}

@media (max-width: 900px) {
  /* Simple logo-left, hamburger-right layout on mobile — deliberately
     not trying to center the logo here. Centering only works cleanly
     with two full nav groups on either side, which mobile doesn't have. */
  .jenin-header__inner { grid-template-columns: auto 1fr; height: 84px; }
  .jenin-header.is-scrolled .jenin-header__inner { height: 68px; }
  .jenin-header__nav--left { display: none; }
  .jenin-header__nav--right nav { display: none; }
  .jenin-header__logo { grid-column: 1; justify-self: start; }
  .jenin-header__logo img { height: 42px; width: auto; max-width: 140px; }
  .jenin-header.is-scrolled .jenin-header__logo img { height: 36px; }
  .jenin-header__nav--right { grid-column: 2; justify-content: flex-end; gap: 1rem; }
  .jenin-header__nav--right .jenin-bag-link { padding-block: 0; }
  .jenin-mobile-toggle { display: block; }
}

/* Bag stays visible on mobile (outside the collapsible <nav>) so cart
   access and item count are never hidden behind the hamburger menu. */
.jenin-mobile-nav__bag {
  margin-top: 0.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(239, 231, 211, 0.3);
}
.jenin-mobile-nav__bag a {
  color: var(--jenin-yellow) !important;
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

.jenin-mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--jenin-dark-green);
  color: var(--jenin-oatmeal);
  z-index: 200;
  transform: translateY(-100%);
  transition: transform var(--jenin-move-med) var(--jenin-ease);
  display: flex;
  flex-direction: column;
}

.jenin-mobile-menu.is-open { transform: translateY(0); }

.jenin-mobile-menu__top { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem var(--jenin-page-gutter); }
.jenin-mobile-menu__top img { height: 30px; filter: brightness(0) invert(1); }
.jenin-mobile-menu__close {
  background: none;
  border: 0;
  color: var(--jenin-oatmeal);
  font-size: 1.5rem;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

.jenin-mobile-nav { list-style: none; margin: auto; padding: 0 var(--jenin-page-gutter); }
.jenin-mobile-nav li { border-top: 1px solid rgba(239,231,211,0.2); }
.jenin-mobile-nav li:last-child { border-bottom: 1px solid rgba(239,231,211,0.2); }
.jenin-mobile-nav a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--jenin-font-heavy);
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
}

/* ==========================================================================
   DOOR INTRO OVERLAY
   ========================================================================== */

.jenin-door-intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--jenin-dark-green);
  pointer-events: none;
}

.jenin-door-intro video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jenin-door-intro.is-hidden { display: none; }

/* ==========================================================================
   SECTIONS — shared rhythm
   ========================================================================== */

.jenin-section { padding-block: var(--jenin-section-space); }
.jenin-section--yellow { background: var(--jenin-yellow); }
.jenin-section--dark { background: var(--jenin-dark-green); color: var(--jenin-oatmeal); }

/* HERO */
.jenin-hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.jenin-hero__media { position: absolute; inset: 0; z-index: 0; }
.jenin-hero__media video, .jenin-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.jenin-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,85,8,0.55), rgba(31,85,8,0) 55%);
}
.jenin-hero__content { position: relative; z-index: 1; color: var(--jenin-oatmeal); padding-block-end: clamp(2rem, 6vw, 5rem); }
@media (max-width: 480px) {
  .jenin-hero__content { padding-bottom: calc(clamp(2rem, 6vw, 5rem) + env(safe-area-inset-bottom)); }
}
.jenin-hero__content .jenin-eyebrow, .jenin-hero__content h1 { color: var(--jenin-oatmeal); }
.jenin-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
@media (max-width: 480px) {
  .jenin-hero__ctas { flex-direction: column; align-items: stretch; }
  .jenin-hero__ctas .jenin-btn { width: 100%; justify-content: center; }
}

.jenin-reveal { opacity: 0; transform: translateY(20px); }

/* Hero H1 mask reveal — the heading slides up from behind its own
   baseline, echoing the arch motif's "reveal from behind an edge"
   idea. Deliberately used in exactly one place on the site, not as a
   repeated pattern, so it stays a moment rather than a formula. */
.jenin-hero__h1-mask { overflow: hidden; }
.jenin-hero__h1-inner { display: block; transform: translateY(115%); }

/* Heritage — image wipes open, text rises as a single unhurried block.
   Deliberately NOT the same stagger rhythm as the hero or the same
   scrub as Land, so the site doesn't read as one effect reused everywhere. */
.jenin-heritage__image { clip-path: inset(0 0 100% 0); }
.jenin-heritage__text { opacity: 0; transform: translateY(14px); }

/* Products grid — cards handled individually via JS-added state class
   so each can stagger in; base hidden state lives here to avoid FOUC. */
.jenin-product-grid ul.products li.product.jenin-card-hidden { opacity: 0; transform: translateY(16px); }

@media (prefers-reduced-motion: reduce) {
  .jenin-hero__h1-inner { transform: none; }
  .jenin-heritage__image { clip-path: none; }
  .jenin-heritage__text { opacity: 1; transform: none; }
  .jenin-product-grid ul.products li.product.jenin-card-hidden { opacity: 1; transform: none; }
}

/* HERITAGE */
.jenin-heritage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--jenin-grid-gap); align-items: center; }
@media (max-width: 900px) { .jenin-heritage { grid-template-columns: 1fr; } }

/* PRODUCTS */
.jenin-products__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(1.5rem, 4vw, 3rem); }

.jenin-product-grid ul.products {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: var(--jenin-card-gap);
  list-style: none;
  margin: 0; padding: 0;
}
@media (max-width: 1200px) { .jenin-product-grid ul.products { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 700px) { .jenin-product-grid ul.products { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 460px) { .jenin-product-grid ul.products { grid-template-columns: 1fr !important; } }

/* Neutralize WooCommerce's own default per-item float/width/margin —
   without this, WooCommerce's core stylesheet can still apply its own
   percentage-based sizing to each card even though the parent is a
   grid, causing uneven spacing and cards that don't fill their column. */
.jenin-product-grid ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
}

/* Two-column layouts used on Contact/Gifting — fully responsive */
.jenin-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--jenin-grid-gap); }
@media (max-width: 780px) { .jenin-contact-grid { grid-template-columns: 1fr; } }

.jenin-gifting-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--jenin-grid-gap); }
@media (max-width: 780px) { .jenin-gifting-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .jenin-gifting-grid { grid-template-columns: 1fr; } }

.jenin-product-grid ul.products li.product {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.jenin-product-grid ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  border-radius: 0;
  aspect-ratio: 1/1.1;
  object-fit: contain;
  border: 1px solid var(--jenin-border);
}
.jenin-product-grid ul.products li.product:hover img { transform: translateY(calc(-1 * var(--jenin-lift))); transition: transform var(--jenin-move-fast) var(--jenin-ease); }
.jenin-product-grid ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--jenin-font-heavy);
  font-size: 1.05rem;
  text-transform: none;
  margin-top: 0.75rem;
}
.jenin-product-grid ul.products li.product .price {
  font-family: var(--jenin-font-medium);
  color: var(--jenin-dark-green);
}
.jenin-product-grid ul.products li.product .button {
  font-family: var(--jenin-font-medium);
  font-weight: 600;
  background: var(--jenin-cta-primary-bg);
  border: 0;
  display: inline-block;
  padding: 0.75em 1.1em;
  min-height: 44px;
  box-sizing: border-box;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--jenin-cta-primary-fg);
  margin-top: 0.6rem;
  transition: background-color var(--jenin-move-fast) var(--jenin-ease);
}
.jenin-product-grid ul.products li.product .button:hover {
  background: var(--jenin-sumac);
}

/* LAND */
.jenin-land { position: relative; min-height: 140vh; }
.jenin-land__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.jenin-land__media { position: absolute; inset: 0; }
.jenin-land__media img { width: 100%; height: 100%; object-fit: cover; }
.jenin-land__copy { position: relative; z-index: 1; color: var(--jenin-oatmeal); text-align: center; max-width: 900px; padding-inline: var(--jenin-page-gutter); }
.jenin-land__copy h2 { color: var(--jenin-oatmeal); }
.jenin-land__stats { display: flex; gap: 2rem; justify-content: center; font-family: var(--jenin-font-heavy); text-transform: uppercase; flex-wrap: wrap; }

/* FOOTER */
.jenin-footer { background: var(--jenin-dark-green); color: var(--jenin-oatmeal); padding-block: var(--jenin-section-space); }
.jenin-footer a { color: var(--jenin-oatmeal); }
.jenin-footer img.jenin-footer__logo { height: 68px; width: auto; margin-bottom: 1.75rem; }
.jenin-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--jenin-grid-gap); }
@media (max-width: 900px) { .jenin-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .jenin-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.jenin-footer h4 { font-family: var(--jenin-font-medium); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; margin-bottom: 1rem; }
.jenin-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.jenin-footer__bottom { border-top: 1px solid rgba(239,231,211,0.25); margin-top: var(--jenin-grid-gap); padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; opacity: 0.85; }

/* WOOCOMMERCE OVERRIDES: kill default blue + rounded cards */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--jenin-cta-primary-bg) !important;
  color: var(--jenin-cta-primary-fg) !important;
  border-radius: 0 !important;
  font-family: var(--jenin-font-medium) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--jenin-sumac) !important;
}
.woocommerce ul.products li.product .price ins { color: var(--jenin-poppy); }

/* ==========================================================================
   MOBILE SHOP BAR — persistent "Shop the Pantry" CTA, mobile only
   ========================================================================== */

.jenin-mobile-shop-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.75rem var(--jenin-page-gutter);
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(var(--jenin-oatmeal-rgb), 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(var(--jenin-deep-olive-rgb), 0.25);
  transform: translateY(100%);
  transition: transform var(--jenin-move-med) var(--jenin-ease);
}

.jenin-mobile-shop-bar.is-visible { transform: translateY(0); }

.jenin-mobile-shop-bar .jenin-btn {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (max-width: 900px) {
  .jenin-mobile-shop-bar { display: block; }
  body.has-mobile-shop-bar { padding-bottom: 4.5rem; }
}

/* ==========================================================================
   OLIVE OIL FEATURE — single-product highlight between Products and Land
   ========================================================================== */

.jenin-oil-feature__media-wrap {
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.jenin-oil-feature__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.jenin-oil-pillar {
  padding-inline: clamp(1rem, 2vw, 2rem);
  text-align: center;
}

.jenin-oil-pillar:not(:first-child) { border-inline-start: var(--jenin-hairline); }

.jenin-oil-pillar p { font-size: 0.95rem; margin: 0; }

@media (max-width: 780px) {
  .jenin-oil-feature__pillars { grid-template-columns: 1fr; gap: 1.5rem; }
  .jenin-oil-pillar:not(:first-child) {
    border-inline-start: 0;
    border-top: var(--jenin-hairline);
    padding-top: 1.5rem;
  }
}

/* Initial hidden states for the reveal — a left-to-right curtain wipe on
   the photo (distinct from Heritage's bottom-up wipe and Hero's
   continuous zoom), pillars settle in after, staggered. */
.jenin-oil-feature__image { clip-path: inset(0 100% 0 0); }
.jenin-oil-pillar { opacity: 0; transform: translateY(14px); }

@media (prefers-reduced-motion: reduce) {
  .jenin-oil-feature__image { clip-path: none; }
  .jenin-oil-pillar { opacity: 1; transform: none; }
}
