/* ==========================================================================
   Mawzona — main.css
   Gold + deep-green wellness system. RTL-first. No framework.
   ========================================================================== */

:root {
  /* EXACT live-site tokens (Elementor global kit) */
  --gold:      #B68F5B;  /* --e-global-color-primary */
  --gold-2:    #D19D4E;  /* --e-global-color-secondary */
  --gold-dk:   #9c7a48;
  --green-900: #0c524c;
  --green-800: #2D4F41;  /* --e-global-color-accent */
  --green-600: #427460;
  --green-500: #14746c;
  --cyan-100:  #aaeef9;
  --ink:       #2D4F41;  /* headings = accent green */
  --muted:     #7A7A7A;  /* --e-global-color-text (body) */
  --paper:     #ffffff;
  --paper-2:   #f7f6f1;
  --paper-3:   #f1efe6;
  --line:      #e6e2d5;

  --grad-gold: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 55%, var(--gold-dk) 100%);
  --grad-green: linear-gradient(160deg, #0f5d55 0%, var(--green-900) 100%);

  --shadow-sm: 0 4px 14px rgba(12,82,76,.06);
  --shadow:    0 14px 40px rgba(12,82,76,.10);
  --shadow-lg: 0 24px 60px rgba(12,82,76,.16);

  --radius:    18px;
  --radius-sm: 12px;
  --pill:      999px;

  --container: 1200px;
  --gap:       clamp(20px, 4vw, 40px);

  --font-display: 'Almarai', system-ui, sans-serif;  /* live uses Almarai throughout */
  --font-body:    'Almarai', system-ui, sans-serif;

  /* ---- SIZING TOKENS — matched to live desktop kit (mobile tuned via Figma) ---- */
  --fs-body:    16px;
  --fs-small:   0.875rem;
  --fs-h1:      clamp(1.9rem, 4vw, 2.5rem);
  --fs-h2:      clamp(1.7rem, 3.6vw, 2.5rem);   /* ~40px live section titles */
  --fs-h3:      clamp(1.15rem, 1.8vw, 1.375rem); /* ~22px card titles */
  --fs-hero:    clamp(2rem, 5.5vw, 2.9rem);      /* ~46px live hero */
  --lh-body:    1.85;
  --lh-head:    1.25;
  --sp-section: clamp(56px, 8vw, 104px);
  --card-radius: var(--radius);
  --card-pad:   30px;
  --product-thumb-ratio: 4 / 3;
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--muted);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: var(--lh-head); color: var(--green-800); margin: 0 0 .5em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- layout ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--sp-section); position: relative; }
.section--tint { background: var(--paper-2); }
.section--paper3 { background: var(--paper-3); }
.section-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .eyebrow { color: var(--gold-dk); font-weight: 700; letter-spacing: .04em; font-size: .95rem; }
.section-head h2 { margin-top: .35rem; }
.section-head h2::after {
  content: ""; display: block; width: 68px; height: 4px; border-radius: 4px;
  background: var(--grad-gold); margin: .7rem auto 0;
}
.section-head p { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.8em; border-radius: var(--pill); font-family: var(--font-display);
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .2s ease, background .2s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--grad-gold); color: #fff; box-shadow: 0 10px 24px rgba(181,150,80,.35); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(181,150,80,.42); }
.btn--green { background: var(--green-800); color: #fff; }
.btn--green:hover { background: var(--green-900); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn--ghost:hover { background: var(--green-800); color: #fff; }
.btn--sm { padding: .6em 1.2em; font-size: .9rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* homepage: transparent header floating over the hero (matches live) */
.is-front .site-header {
  position: absolute; inset-inline: 0; top: 0;
  background: transparent; border-bottom-color: transparent; backdrop-filter: none;
}
/* becomes solid white once you scroll, so it stays readable over the sections */
.is-front .site-header.scrolled {
  position: fixed;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(12,82,76,.07);
}
.is-front .hero2 { padding-top: 0; }
.site-header .bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.site-brand .brand-logo { display: inline-flex; align-items: center; }
.site-brand .brand-logo-full { display: block; height: 46px; width: auto; }
.site-brand .brand-logo-mark { display: none; width: 30px; height: 30px; object-fit: contain; }
.site-brand img, .site-brand .logo-text { height: 46px; width: auto; }
.site-brand .logo-text { display: flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--green-800); }
.site-brand .logo-text b { color: var(--gold); }
.primary-nav { margin-inline-start: auto; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a { padding: .55em 1em; border-radius: var(--pill); font-family: var(--font-display); font-weight: 600; color: var(--green-800); }
.nav-menu a:hover { color: var(--gold-dk); }
.nav-menu .current-menu-item > a, .nav-menu .current_page_item > a, .nav-menu .current-menu-parent > a {
  color: var(--gold-dk); background: rgba(181,150,80,.14);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
/* login = green pill button (matches live) */
.header-login { display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-display); font-weight: 600; color: #fff; background: var(--green-800); padding: .6em 1.2em; border-radius: var(--pill); }
.header-login:hover { background: var(--green-900); color: #fff; }
.mobile-login { display: none; }
/* cart = price + icon pill (matches live) */
.cart-link { display: inline-flex; align-items: center; gap: 10px; padding: .3em .4em .3em 1em; border-radius: var(--pill); background: var(--paper-2); color: var(--green-800); font-family: var(--font-display); font-weight: 700; }
.cart-link:hover { background: #efece1; }
.cart-link .cart-total { font-size: .88rem; white-space: nowrap; }
.cart-link .cart-total .amount, .cart-link .cart-total bdi { color: var(--green-800); }
.cart-link .cart-ico { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green-800); color: #fff; }
.cart-link .count { position: absolute; inset-block-start: -3px; inset-inline-start: -3px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: var(--pill); background: var(--gold); color: #fff; font-size: .68rem; font-weight: 700; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--paper-2); border-radius: 12px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width: 22px; height: 2px; background: var(--gold); margin-inline: auto; position: relative; transition:.25s; }
.nav-toggle span::before { position:absolute; top:-7px; } .nav-toggle span::after { position:absolute; top:7px; }

@media (min-width: 761px) {
  .is-front .site-header .container { width: min(100% - 56px, 1330px); }
  .is-front .site-brand .brand-logo-full { height: 38px; }
  .is-front .site-brand .logo-text { height: 38px; }
  .is-front .primary-nav {
    margin-inline: auto;
    background: var(--green-800);
    border-radius: 12px;
    padding: 0 12px;
    box-shadow: 0 8px 22px rgba(45,79,65,.14);
  }
  .is-front .nav-menu { gap: 0; }
  .is-front .nav-menu li { position: relative; }
  .is-front .nav-menu li + li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    width: 1px;
    height: 22px;
    background: rgba(209,157,78,.72);
    transform: translateY(-50%);
  }
  .is-front .nav-menu a {
    color: #fff;
    border-radius: 0;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    padding: 0 1.05em;
    font-size: .94rem;
  }
  .is-front .nav-menu a:hover,
  .is-front .nav-menu .current-menu-item > a,
  .is-front .nav-menu .current_page_item > a,
  .is-front .nav-menu .current-menu-parent > a {
    color: #fff;
    background: rgba(255,255,255,.1);
  }
  .is-front .header-login { display: none; }
  .is-front .cart-link {
    min-height: 52px;
    padding: .45em .85em;
    background: var(--green-800);
    color: #fff;
    border-radius: 10px;
  }
  .is-front .cart-link .cart-total .amount,
  .is-front .cart-link .cart-total bdi { color: #fff; }
  .is-front .cart-link .cart-ico {
    width: auto;
    height: auto;
    background: transparent;
  }
  .is-front .cart-link .count { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-green); color: #fff; }
.hero::before { content:""; position:absolute; inset:0; background:
  radial-gradient(60% 80% at 90% 10%, rgba(181,150,80,.35), transparent 60%),
  radial-gradient(50% 60% at 5% 90%, rgba(170,238,249,.14), transparent 60%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: var(--gap); padding-block: clamp(48px, 8vw, 96px); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero .lede { font-size: 1.18rem; color: rgba(255,255,255,.9); max-width: 44ch; }
.hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.4rem; }
.hero .hero-badges { display: flex; gap: 22px; margin-top: 2rem; flex-wrap: wrap; }
.hero .hero-badges b { display:block; font-family: var(--font-display); font-size: 1.5rem; color: var(--cyan-100); }
.hero .hero-badges span { color: rgba(255,255,255,.75); font-size: .9rem; }
.hero-media { position: relative; }
.hero-media img { margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.hero-media .blob { position: absolute; inset: 8% 6%; background: var(--grad-gold); border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; opacity:.22; filter: blur(6px); z-index:-1; }

/* ---------- generic cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s, border-color .25s;
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #e3d7b8; }
.card .ico { width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; background: var(--paper-2); margin-bottom: 18px; }
.card .ico img { width: 38px; height: 38px; }
.card h3 { color: var(--green-800); }
.card p { color: var(--muted); font-size: .98rem; }

/* category (feature) cards with gradient top */
.feature-card {
  text-align: center;
  padding-top: 42px;
}
.feature-card .ico {
  position: absolute;
  inset-block-start: -25px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  margin: 0;
  background: #f7f6f1;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(12,82,76,.08);
  z-index: 2;
}
.feature-card .ico img { filter: none; }

/* lab division split cards */
.lab-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; overflow: hidden; }
.lab-card .lab-img { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; }

/* ---------- product cards (Woo + static) ---------- */
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product-card .thumb { aspect-ratio: 4/3; background: var(--paper-2); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .save-badge { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; background: var(--grad-gold); color: #fff; font-weight: 700; font-size: .8rem; padding: .35em .8em; border-radius: var(--pill); z-index: 2; }
.product-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.product-card .desc { color: var(--muted); font-size: .92rem; flex: 1; }
.product-card .feat { list-style: none; margin: 0 0 4px; padding: 0; flex: 1; text-align: right; }
.product-card .feat li { position: relative; padding-inline-start: 22px; margin-bottom: 7px; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.product-card .feat li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--gold); font-weight: 700; }
.product-card .price { display: flex; align-items: baseline; gap: 8px; margin: .6rem 0 1rem; }
.product-card .price .now { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--gold-dk); }
.product-card .price .was { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.product-card .price .cur { font-size: .95rem; color: var(--muted); }
.product-card .actions { display: flex; gap: 10px; }
.product-card .actions .btn { flex: 1; }

.featured-products {
  align-items: stretch;
}
.featured-products .product-card {
  min-height: 430px;
  padding: 34px 26px 30px;
  background: linear-gradient(180deg, #2f786d 0%, #0c524c 100%);
  border: 1px solid rgba(45,79,65,.14);
  border-radius: 26px;
  box-shadow: 0 18px 34px rgba(12,82,76,.18);
  color: #fff;
}
.featured-products .product-card .thumb { display: none; }
.featured-products .product-card .body {
  padding: 0;
  align-items: center;
  text-align: center;
}
.featured-products .product-card .save-badge {
  position: static;
  align-self: center;
  display: inline-flex;
  margin-bottom: 18px;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 8px 18px rgba(181,143,91,.25);
}
.featured-products .product-card h3 {
  color: #f4c97a;
  font-size: 1.32rem;
  line-height: 1.45;
  margin-bottom: 1rem;
  text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(244,201,122,.16);
}
.featured-products .product-card .desc,
.featured-products .product-card .feat {
  color: rgba(255,255,255,.88);
  font-size: .98rem;
  line-height: 1.85;
  width: 100%;
  margin-bottom: 18px;
}
.featured-products .product-card .feat {
  text-align: center;
}
.featured-products .product-card .feat li {
  padding-inline-start: 0;
  margin-bottom: 5px;
  color: rgba(255,255,255,.9);
  font-size: .98rem;
}
.featured-products .product-card .feat li::before {
  content: none;
}
.featured-products .product-card .actions {
  width: auto;
  justify-content: center;
  margin-top: auto;
}
.featured-products .product-card .actions .btn {
  flex: 0 0 auto;
  min-width: 112px;
  border-radius: 14px;
  padding: .68em 1.35em;
  background: linear-gradient(180deg, #d7ad68 0%, #b68f5b 100%);
}
.featured-products .product-card .price {
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 14px 0 0;
}
.featured-products .product-card .price .was {
  color: rgba(255,255,255,.78);
  font-size: 1rem;
}
.featured-products .product-card .price .now {
  color: #fff;
  font-size: 1.45rem;
}
.featured-products .product-card .price .cur {
  color: inherit;
  font-size: .9em;
}

/* ---------- why-us ---------- */
.why { background: var(--grad-green); color: #fff; overflow: hidden; }
.why h2, .why h3 { color: #fff; }
.why .why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); align-items: center; }
.why .why-list { display: grid; gap: 18px; margin-top: 1.4rem; }
.why .why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why .why-list .dot { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: var(--cyan-100); }
.why .why-list b { font-family: var(--font-display); display: block; }
.why .why-list span { color: rgba(255,255,255,.78); font-size: .95rem; }

/* ---------- support CTA band ---------- */
.support { text-align: center; }
.support .band { background: var(--grad-gold); color: #fff; border-radius: 26px; padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); }
.support .band h2 { color: #fff; }
.support .band .contacts { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }
.support .band .contacts a { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: .75em 1.4em; border-radius: var(--pill); font-family: var(--font-display); font-weight: 600; }
.support .band .contacts a:hover { background: #fff; color: var(--gold-dk); }

/* ---------- footer ---------- */
.site-footer { background: #08423d; color: rgba(255,255,255,.75); padding-block: clamp(48px, 6vw, 72px) 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .fmenu li { margin-bottom: .6rem; }
.site-footer .brand-col .logo-text { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.site-footer .brand-col p { font-size: .95rem; margin-top: .8rem; }
.site-footer .socials { display: flex; gap: 10px; margin-top: 1rem; }
.site-footer .socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.site-footer .socials a:hover { background: var(--gold); color: #08423d; }
.site-footer .foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-block: 22px; text-align: center; font-size: .88rem; }

/* ---------- page/content ---------- */
.page-hero { background: var(--grad-green); color:#fff; text-align:center; padding-block: clamp(48px,6vw,84px); }
.page-hero h1 { color:#fff; }
.page-hero .crumbs { color: rgba(255,255,255,.7); font-size:.9rem; }
.entry { padding-block: clamp(40px,6vw,72px); }
.entry .prose { max-width: 760px; margin-inline: auto; }
.entry .prose h2 { margin-top: 1.6em; }
.entry .prose img { border-radius: var(--radius-sm); margin-block: 1.4em; }

/* ---------- blog listing ---------- */
.blog-hero {
  padding-block: 96px 16px;
  background: #fff;
  text-align: center;
}
.blog-hero h1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-800);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
}
.blog-hero h1::after {
  content: "";
  width: 28px;
  height: 28px;
  background: url("../img/section-banner.png") center / contain no-repeat;
}
.blog-grid {
  align-items: start;
}
.blog-card {
  position: relative;
  padding-top: 0;
  text-align: center;
}
.blog-card .post-thumb {
  position: relative;
  z-index: 2;
  display: block;
  width: min(82%, 300px);
  aspect-ratio: 1 / 1.05;
  margin: 0 auto -84px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 28px rgba(12,82,76,.18);
}
.blog-card .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body {
  min-height: 320px;
  padding: 116px 26px 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, #2f786d 0%, #0c524c 100%);
  box-shadow: 0 18px 34px rgba(12,82,76,.18);
}
.blog-card h2 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: .7rem;
}
.blog-card p {
  color: rgba(255,255,255,.86);
  font-size: .95rem;
  line-height: 1.8;
}
.blog-card .btn {
  margin-top: 8px;
}
.home-posts {
  background: #fff;
}
.home-posts .section-head {
  margin-bottom: clamp(26px, 4vw, 42px);
}
.home-posts .section-head h2 {
  color: var(--green-800);
}
.home-posts .blog-card .post-thumb {
  background: #eef3ef;
}
.home-posts .blog-card .post-thumb img {
  object-fit: cover;
  object-position: center center;
}
.home-posts-more {
  margin-top: 34px;
  text-align: center;
}
.muted-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  text-align: center;
}

/* whatsapp float */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; width: 58px; height: 58px; border-radius: 50%; background:#25D366; color:#fff; display:grid; place-items:center; box-shadow: 0 10px 30px rgba(37,211,102,.5); z-index: 90; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- HERO v2 (faithful: photo + gold/teal heading) ---------- */
/* hero: photo is the background layer (real img = correct aspect); heading overlaid; fades to white */
.hero2 { position: relative; overflow: hidden; background: #fff; }
.hero2-media { position: relative; z-index: 0; height: 100%; }
.hero2-media .hero-img-d, .hero2-media .hero-img-m { width: 100%; height: auto; margin: 0 auto; }
.hero2-media .hero-img-m { display: none; }   /* desktop shows landscape */
.hero2-inner { position: absolute; inset-inline: 0; top: 0; z-index: 2; }
.hero2-copy { text-align: center; padding-top: 96px; }
.hero2::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 24%; background: linear-gradient(to bottom, rgba(255,255,255,0), #ffffff); z-index: 1; pointer-events: none; }
@media (min-width: 901px) {
  .hero2 { height: clamp(700px, 52vw, 820px); }
  .hero2-media .hero-img-d {
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .hero2-copy {
    width: min(50%, 620px);
    margin-left: clamp(72px, 9vw, 135px);
    margin-right: auto;
    padding-top: clamp(250px, 22vw, 320px);
    text-align: center;
  }
}
.hero2-copy h1 { font-size: clamp(2.4rem, 4.8vw, 4.55rem); line-height: 1.15; color: var(--gold); letter-spacing: 0; }
.hero2-copy h1 .gd { color: var(--green-900); }
.hero2-copy .lede { color: var(--muted); font-size: 1.12rem; max-width: 46ch; margin-top: .4rem; }
.hero2-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.5rem; }
.hero2-media img { width: 100%; height: auto; margin-inline: auto; }
.hero-img-m { display: none; }

.is-front .hero2 + .section {
  margin-top: -42px;
  padding-top: 0;
  z-index: 3;
}

/* section head on light/dark variants */
.section-head--light h2 { color: #fff; }
.section-head--light h2::after { background: var(--grad-gold); }
.section-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin: 0 auto 18px;
}
.section-head--lab { margin-bottom: clamp(26px, 4vw, 42px); }
.section-head--lab h2 { color: var(--gold); }
.section-head--lab p {
  color: var(--muted);
  max-width: 64ch;
  margin-inline: auto;
}

/* ---------- icon as image ---------- */
.card .ico--img { background: linear-gradient(160deg,#f3efe1,#eef3ef); }
.card .ico--img img { width: 40px; height: 40px; object-fit: contain; }

/* ---------- أقسامنا المخبرية : dark green section ---------- */
.lab-section { background: #fff; }
.lab-dark {
  background: linear-gradient(180deg, #2f786d 0%, #0c524c 100%);
  border: 1px solid rgba(45,79,65,.14); border-radius: 26px;
  padding: 36px 34px 34px; color: #fff; text-align: center; transition: transform .2s, border-color .25s, box-shadow .25s;
  box-shadow: 0 18px 34px rgba(12,82,76,.18);
  overflow: visible;
}
.lab-dark:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 42px rgba(12,82,76,.24); }
.lab-dark .lab-ic {
  width: min(76%, 250px);
  height: auto;
  max-height: 205px;
  object-fit: contain;
  margin: -58px auto 18px;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.18));
}
.lab-dark h3 {
  color: #f4c97a;
  font-size: 1.25rem;
  text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(244,201,122,.16);
}
.lab-dark p { color: rgba(255,255,255,.86); font-size: .98rem; }
.lab-dark .btn { margin-top: 8px; }

/* ---------- nutrition cards ---------- */
.nut-card { text-align: center; }
.nut-card .nut-img { width: 92px; height: 92px; object-fit: contain; margin: 0 auto 14px; }

/* ---------- لماذا موزونة + gallery ---------- */
.why2-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px,4vw,44px); }
.why2-head h2 { position: relative; }
.why2-head h2::after { content:""; display:block; width: 72px; height: 4px; border-radius: 4px; background: var(--grad-gold); margin: .7rem auto 0; }
.why2-head p { color: var(--muted); }
.gallery { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.gslide { flex: 0 0 clamp(220px, 26vw, 300px); scroll-snap-align: center; }
.gslide img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero2 { height: 550px; }
  .hero2-media { max-width: 480px; margin-inline: auto; }
  .hero2-media .hero-img-d { display: none; }
  .hero2-media .hero-img-m {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .hero2-copy { padding-top: 78px; }
  .hero2-copy h1 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero2-copy .lede { margin-inline: auto; }
  .hero2-cta { justify-content: center; }
  .is-front .hero2 + .section { margin-top: -120px; }
}

/* ---------- scroll-reveal animations (progressive; only when JS on) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js [data-reveal].in {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
/* stagger children inside a grid */
.js .grid [data-reveal].in:nth-child(2) { transition-delay: .08s; }
.js .grid [data-reveal].in:nth-child(3) { transition-delay: .16s; }
.js .grid [data-reveal].in:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Motion polish — "طريقة تحرّك المنتجات والصور"
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* hero photo gentle float */
  .hero2-media img { animation: mzFloat 6.5s ease-in-out 1s infinite; }
  @keyframes mzFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
}

/* product image zoom on hover (static cards + Woo grid) */
.product-card .thumb, .woocommerce ul.products li.product a { overflow: hidden; display: block; }
.product-card .thumb img,
.woocommerce ul.products li.product a img { transition: transform .55s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.product-card:hover .thumb img,
.woocommerce ul.products li.product:hover a img { transform: scale(1.07); }

/* icons lift on card hover */
.feature-card .ico, .lab-dark .lab-ic, .nut-card .nut-img { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.feature-card:hover .ico, .lab-dark:hover .lab-ic, .nut-card:hover .nut-img { transform: translateY(-5px) scale(1.06); }

/* gold button shimmer sweep */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%);
  transform: translateX(-130%);
}
.btn--gold:hover::after { transform: translateX(130%); transition: transform .75s ease; }

/* gallery slides scale toward center on hover */
.gslide img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.gslide:hover img { transform: scale(1.04); }

/* (nav uses the gold pill for active state, matching the live site) */

@media (max-width: 980px) {
  .hero .container, .why .why-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; margin-inline: auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  /* clean mobile header: logo (right) · cart-icon · hamburger (left) */
  .is-front .site-header { position: absolute; background: transparent; border-bottom: 0; }
  .site-header .bar { min-height: 62px; gap: 10px; }
  .site-brand .brand-logo,
  .nav-toggle { width: 46px; height: 46px; }
  .site-brand .brand-logo {
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 8px 20px rgba(12,82,76,.12);
  }
  .site-brand .brand-logo-full { display: none; }
  .site-brand .brand-logo-mark { display: block; width: 30px; height: 30px; }
  .header-actions { order: 1; margin-inline-start: auto; gap: 8px; }
  .nav-toggle { display: grid; place-items:center; order: 2; }
  .cart-link { padding: .28em .34em; background: var(--green-800); color: #fff; box-shadow: 0 8px 20px rgba(12,82,76,.12); }
  .cart-link .cart-total { display: none; }   /* cart icon only on mobile */
  .cart-link .cart-ico { background: transparent; }
  .header-login { display: none; }             /* login lives in the menu on mobile */
  .nav-toggle { background: rgba(255,255,255,.86); box-shadow: 0 8px 20px rgba(12,82,76,.12); }
  .primary-nav { position: fixed; inset: 62px 0 auto 0; background:#fff; border-bottom:1px solid var(--line); padding: 16px; transform: translateY(-120%); transition: transform .3s; margin:0; }
  .primary-nav.open { transform: translateY(0); box-shadow: var(--shadow); }
  .nav-menu { flex-direction: column; align-items: stretch; }
  .nav-menu a { padding: .8em 1em; }
  .mobile-login { display: block; margin-top: 14px; text-align: center; background: var(--green-800); color: #fff; padding: .75em; border-radius: var(--pill); font-family: var(--font-display); font-weight: 600; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  /* category cards stay 3-in-a-row on mobile (matches live) */
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 22px; }
  .cat-grid .feature-card { padding: 34px 8px 14px; }
  .cat-grid .feature-card .ico { width: 46px; height: 46px; inset-block-start: -23px; margin-bottom: 0; }
  .cat-grid .feature-card .ico img, .cat-grid .feature-card .ico svg { width: 26px; height: 26px; }
  .cat-grid .feature-card h3 { font-size: .82rem; margin-bottom: .35em; }
  .cat-grid .feature-card p { font-size: .68rem; line-height: 1.45; }
  .featured-products {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 8px 20px 18px;
    margin-inline: -20px;
    scroll-snap-type: x mandatory;
  }
  .featured-products::-webkit-scrollbar { display: none; }
  .featured-products .product-card {
    flex: 0 0 82%;
    min-height: 0;
    scroll-snap-align: center;
    padding: 30px 22px 28px;
  }
  .featured-products .product-card h3 { font-size: 1.22rem; }
  .featured-products .product-card .desc,
  .featured-products .product-card .feat,
  .featured-products .product-card .feat li {
    font-size: .92rem;
    line-height: 1.75;
  }
  .home-posts-grid {
    display: flex;
    overflow-x: auto;
    gap: 18px;
    padding: 0 20px 18px;
    margin-inline: -20px;
    scroll-snap-type: x mandatory;
  }
  .home-posts-grid::-webkit-scrollbar { display: none; }
  .home-posts-grid .blog-card {
    flex: 0 0 86%;
    scroll-snap-align: center;
  }
  .lab-card { grid-template-columns: 1fr; text-align:center; }
  .lab-card .lab-img { margin-inline:auto; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
}
