/* =========================================================
   Wad El Assal — Conversion Landing Page (GeneratePress)
   File: wad-el-assal-landing.css
   Version: 2.0.0 (13/02/26)
   ─────────────────────────────────────────────────────────
   Changelog v2.0.0:
   - [BREAKING] Removed .wa-header-info styles (info line removed from header).
   - [NEW] Corporate footer with 4-column grid (Brand, Legal, Social, Contact).
   - [NEW] Dynamic pricing styles: strikethrough on original_price, out-of-stock.
   - Header layout simplified (no CTA button, only logo + lang toggle).
   - Footer uses data-wad-link, data-wad-page, data-wad-contact for WAD_LINKS.

   Changelog v1.4.1:
   - Background images with overlays for problem/solution/guarantee sections.
   - Centered CTA in solution, reduced padding on heavy sections.
   - Beekeeper/crystallisation image styles.
   - Two-line product headings and scarcity styles.

   Changelog v1.3.0:
   - [#4]  Added .wa-announce sticky bar (black bg, white text, fixed top)
   - [#4]  Header top offset adjusted to 36px (below announce bar)
   - [#4]  Section padding-top adjusted to 146px (36+64+46)
   - [#5]  Added .wa-product-grid (2col mobile, 4col desktop)
   - [#5]  Added .wa-product-card, .wa-card-img, .wa-card-body, .wa-card-price
   - [#5]  Added .wa-btn-sm for product card CTAs
   - Updated .wa-product-image to handle real <img> tags

   Changelog v1.2.0:
   - [FIX #43] Added GP full-width overrides (kills .site-content,
     .content-area, sidebar, .grid-container constraints)
   - [FIX #44] Hides GP default header/footer/nav via CSS as safety net
   Changelog v1.1.0:
   - [FIX #1]  Moved @import to line 1 (spec requirement)
   - [FIX #2]  Added &display=swap to Google Fonts URL
   - [FIX #3]  Scroll-snap changed to proximity + removed scroll-snap-stop
   - [FIX #4]  Removed conflicting padding-top, single source of truth
   - [FIX #5]  Added safe-area-inset-bottom on sticky mobile CTA
   - [FIX #6]  Added modal open/close transitions (opacity + transform)
   - [FIX #7]  Expanded RTL support across all layout sections
   - [FIX #8]  Added content-visibility: auto on off-screen sections
   - [FIX #9]  Cleaned up dead code and specificity conflicts
   - [FIX #10] Added header scroll shadow class (.is-scrolled)
   - [FIX #11] Added print styles
   - [FIX #13] Added line-height: 1 on buttons
   - [FIX #14] Added focus-visible styles for accessibility
========================================================= */

/* ---------- Fonts (MUST be first) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap');

/* ==========================================================
   GeneratePress Full-Width Override
   Neutralizes all GP wrappers so .wa-landing controls layout.
   Scoped to pages containing #wad-el-assal-landing only.
   ========================================================== */

/* GP outer grid: kill sidebar column + centered max-width */
body:has(#wad-el-assal-landing) .site-content,
body.wa-landing-page .site-content {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* GP content area: remove all constraints */
body:has(#wad-el-assal-landing) .content-area,
body:has(#wad-el-assal-landing) .site-main,
body:has(#wad-el-assal-landing) .site-main > article,
body:has(#wad-el-assal-landing) .inside-article,
body:has(#wad-el-assal-landing) .entry-content,
body.wa-landing-page .content-area,
body.wa-landing-page .site-main,
body.wa-landing-page .site-main > article,
body.wa-landing-page .inside-article,
body.wa-landing-page .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* GP sidebar: force-hide even if widget area exists */
body:has(#wad-el-assal-landing) .widget-area,
body:has(#wad-el-assal-landing) #right-sidebar,
body:has(#wad-el-assal-landing) #left-sidebar,
body.wa-landing-page .widget-area,
body.wa-landing-page #right-sidebar,
body.wa-landing-page #left-sidebar {
  display: none !important;
}

/* GP grid layout: force single column */
body:has(#wad-el-assal-landing) .site-content .grid-container,
body.wa-landing-page .site-content .grid-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* GP header + footer: hidden (our landing has its own) */
body:has(#wad-el-assal-landing) .site-header,
body:has(#wad-el-assal-landing) .main-navigation,
body:has(#wad-el-assal-landing) .site-footer,
body:has(#wad-el-assal-landing) #site-navigation,
body.wa-landing-page .site-header,
body.wa-landing-page .main-navigation,
body.wa-landing-page .site-footer,
body.wa-landing-page #site-navigation {
  display: none !important;
}

/* GP article padding/border resets */
body:has(#wad-el-assal-landing) .inside-article,
body.wa-landing-page .inside-article {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ---------- Design tokens ---------- */
:root {
  --honey-gold: #D4A84B;
  --honey-gold-dark: #B8923E;
  --honey-light: #FDF8F0;

  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  --black: #1A1A1A;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #999999;
  --off-white: #F5F5F5;
  --white: #FFFFFF;

  --danger: #EF4444;
  --success: #22C55E;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  --z-fixed: 900;
  --z-header: 1000;
  --z-modal: 2000;
}

/* ---------- Root wrapper ---------- */
.wa-landing {
  background: var(--white);
  color: var(--dark-gray);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

html[dir="rtl"] .wa-landing {
  font-family: "Noto Sans Arabic", Inter, system-ui, sans-serif;
}

.wa-landing,
.wa-landing * {
  box-sizing: border-box;
}

/* ---------- Focus visible (accessibility) ---------- */
.wa-landing :focus-visible {
  outline: 2px solid var(--honey-gold);
  outline-offset: 2px;
}

/* ---------- Layout helpers ---------- */
.wa-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* [FIX #4] Single padding-top source: 146px clears 36px announce + 64px header */
.wa-section {
  position: relative;
  padding: 146px 0 64px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.wa-section-light { background: var(--white); }

/* [FIX #9] Removed .wa-section-light from hero in PHP; hero uses its own gradient */
.wa-section-hero {
  background: linear-gradient(180deg, var(--honey-light) 0%, var(--white) 100%);
  text-align: center;
}

/* [FIX #8] Off-screen sections render lazily */
.wa-section:not(.wa-section-hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 100vh;
}

/* Scroll behavior */
html { scroll-behavior: smooth; }

/* [FIX #3] Changed to proximity + removed scroll-snap-stop */
@media (min-width: 769px) {
  html { scroll-snap-type: y proximity; }
  .wa-section {
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  html { scroll-snap-type: none; }
  .wa-section {
    min-height: auto;
    padding: 88px 0 56px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- [v1.3 #4] Announcement Bar (sticky top) ---------- */
.wa-announce {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-header) + 1);
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  text-align: center;
  line-height: 1.4;
}
.wa-announce-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.wa-announce-sep {
  opacity: 0.4;
  font-size: 10px;
}
html[dir="rtl"] .wa-announce { direction: rtl; }

@media (max-width: 600px) {
  .wa-announce { font-size: 11px; padding: 6px 12px; }
  .wa-announce-sep { display: none; }
  .wa-announce-inner { gap: 4px 10px; }
}

/* ---------- Header (fixed, below announce bar) ---------- */
.wa-header {
  position: fixed;
  top: 36px; /* announce bar height */
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: var(--z-header);
  transition: box-shadow var(--transition-normal);
}

/* [FIX #10] Scroll shadow — toggled by JS */
.wa-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.wa-header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* wa-header-info removed in v2.0.0 — info line no longer exists */

.wa-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-logo {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--honey-gold) 0%, var(--honey-gold-dark) 100%);
  font-size: 20px;
}

.wa-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.wa-brand-text strong {
  font-weight: 700;
  font-size: 18px;
  color: var(--black);
}
/* Reserve space so layout doesn't shift when JS fills tagline */
.wa-brand-text small {
  margin-top: -2px;
  font-size: 10px;
  color: var(--medium-gray);
  min-height: 12px;
}

.wa-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Language toggle */
.wa-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--off-white);
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1px solid #E5E5E5;
  cursor: pointer;
}

.wa-lang-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--medium-gray);
  transition: background var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal);
}

.wa-lang-toggle span.is-active {
  background: var(--honey-gold);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(212, 168, 75, 0.30);
}

/* ---------- Buttons ---------- */
.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  font-family: inherit;
  line-height: 1;
}

.wa-btn-primary {
  padding: 18px 40px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.30);
}
.wa-btn-primary:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.40);
}

.wa-btn-secondary {
  padding: 14px 28px;
  background: transparent;
  color: var(--honey-gold);
  border: 2px solid var(--honey-gold);
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 600;
}
.wa-btn-secondary:hover {
  background: var(--honey-gold);
  color: var(--white);
}

.wa-btn-whatsapp {
  padding: 10px 16px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
}
.wa-btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.20);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 24px;
}

.wa-section-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
@media (min-width: 769px) {
  .wa-section-hero h1 {
    font-size: 52px;
    letter-spacing: -1px;
  }
}

.wa-subtitle {
  font-size: 16px;
  color: var(--medium-gray);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
@media (min-width: 769px) {
  .wa-subtitle { font-size: 18px; }
}

.wa-trust-list {
  margin-top: 18px;
  list-style: none;
  padding: 0;
  display: flex;
  gap: 14px 22px;
  justify-content: center;
  flex-wrap: wrap;
}
.wa-trust-list li {
  font-size: 13px;
  color: var(--medium-gray);
}

/* ---------- Problem ---------- */
#problem {
  background: var(--black);
  color: var(--white);
  text-align: center;
}
#problem h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 26px;
  color: var(--white);
}
@media (min-width: 769px) { #problem h2 { font-size: 38px; } }

.wa-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 26px;
}
@media (min-width: 769px) {
  .wa-stats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.wa-stats > div {
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.wa-stats strong {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 6px;
}
.wa-stats span {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.wa-pain-points {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}
html[dir="rtl"] .wa-pain-points { text-align: right; }

.wa-pain-points li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
}
.wa-pain-points li::before {
  content: "❌";
  color: var(--danger);
  flex: 0 0 auto;
}

/* ---------- Solution ---------- */
#solution h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 22px;
  color: var(--black);
}
@media (min-width: 769px) { #solution h2 { font-size: 38px; } }

.wa-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}
@media (min-width: 769px) {
  .wa-pillars { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.wa-pillar {
  text-align: center;
  padding: 28px 20px;
  background: var(--honey-light);
  border-radius: var(--radius-xl);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.wa-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.wa-pillar h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}
.wa-pillar p {
  font-size: 14px;
  color: var(--medium-gray);
  line-height: 1.7;
  margin: 0;
}

#solution .wa-btn-secondary { display: inline-flex; margin: 32px auto 0; }

/* ---------- Responsive header spacing ---------- */
@media (max-width: 768px) {
  .wa-header-inner { padding: 0 14px; }
  .wa-container { padding: 0 16px; }
}
@media (max-width: 420px) {
  .wa-brand-text strong { font-size: 16px; }
}

/* =========================================================
   Sections 4–10 + Fixed UI
========================================================= */

.wa-center { text-align: center; }
.wa-h1, .wa-h2, .wa-h3 { color: var(--black); margin: 0 0 10px; }
.wa-h2 { font-size: 28px; font-weight: 800; line-height: 1.2; }
.wa-h3 { font-size: 18px; font-weight: 800; }
@media (min-width: 769px) {
  .wa-h2 { font-size: 38px; }
  .wa-h3 { font-size: 20px; }
}
.wa-lead { color: var(--medium-gray); max-width: 760px; margin: 0 auto 22px; }
.wa-muted { color: var(--medium-gray); margin: 6px 0 0; }
.wa-note { color: var(--medium-gray); font-size: 14px; margin-top: 18px; }
.wa-strong { font-weight: 800; color: var(--black); }
.wa-link { color: var(--honey-gold); font-weight: 700; text-decoration: none; }
.wa-link:hover { text-decoration: underline; }

.wa-scroll-hint { margin-top: 24px; color: var(--light-gray); font-weight: 700; }

/* Mini list */
.wa-mini-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}
.wa-mini-list li {
  display: flex;
  gap: 10px;
  justify-content: center;
  color: var(--medium-gray);
  font-size: 13px;
}
.wa-mini-list li::before { content: "✓"; color: var(--success); font-weight: 900; }
.wa-mini-list.wa-left li { justify-content: flex-start; }
html[dir="rtl"] .wa-mini-list.wa-left li { justify-content: flex-end; }

/* Transition line */
.wa-transition {
  max-width: 760px;
  margin: 26px auto 0;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
}

/* ---------- Proof ---------- */
.wa-section-proof { background: var(--white); }

.wa-live {
  margin: 18px auto 26px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.18);
  padding: 10px 14px;
  border-radius: var(--radius-full);
  color: var(--danger);
  font-weight: 800;
  font-size: 13px;
}
.wa-live-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--danger);
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.15);
  animation: waPulse 1.2s infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

.wa-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 12px;
}
@media (min-width: 769px) {
  .wa-testimonials { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
.wa-testimonial {
  background: var(--honey-light);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.wa-testimonial-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--honey-gold) 0%, var(--honey-gold-dark) 100%);
}
.wa-testimonial p {
  margin: 0;
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.55;
}
.wa-testimonial small { color: var(--medium-gray); display: block; margin-top: 2px; }

.wa-cities { margin-top: 26px; }
.wa-city-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}
.wa-city-badges span {
  padding: 8px 12px;
  background: var(--off-white);
  border: 1px solid #EAEAEA;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  color: var(--medium-gray);
}

/* ---------- Beekeepers ---------- */
.wa-beekeepers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}
@media (min-width: 769px) {
  .wa-beekeepers { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.wa-beekeeper {
  border-radius: var(--radius-xl);
  padding: 22px;
  background: var(--honey-light);
  box-shadow: var(--shadow-sm);
}
.wa-beekeeper-photo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(212,168,75,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 10px;
}
.wa-meta {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
  color: var(--medium-gray);
  font-weight: 700;
  font-size: 13px;
}
.wa-quote {
  margin: 12px 0 0;
  font-weight: 700;
  color: var(--dark-gray);
}

/* ---------- Lab ---------- */
.wa-section-lab {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}
.wa-lab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}
@media (min-width: 769px) {
  .wa-lab-grid { grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
}
.wa-lab-card, .wa-qr-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 18px;
}
.wa-lab-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
/* [FIX #7] RTL lab head */
html[dir="rtl"] .wa-lab-head { flex-direction: row-reverse; }

.wa-lab-head strong { display:block; color: var(--black); font-weight: 900; }
.wa-lab-head small { display:block; color: var(--medium-gray); margin-top: 2px; }

.wa-chip {
  font-size: 12px;
  font-weight: 900;
  color: var(--success);
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.22);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.wa-metrics { display: grid; gap: 10px; margin-top: 10px; }
.wa-metric {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 12px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.05);
}
.wa-metric-name { color: var(--medium-gray); font-weight: 800; font-size: 13px; }
.wa-metric-val { color: var(--black); font-weight: 900; font-size: 13px; }
.wa-metric-badge {
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.wa-ok { color: var(--success); background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.22); }
.wa-pure { color: #0F766E; background: rgba(13,148,136,0.10); border: 1px solid rgba(13,148,136,0.22); }

.wa-lab-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--medium-gray);
  font-weight: 700;
  font-size: 13px;
}
/* [FIX #7] RTL lab foot */
html[dir="rtl"] .wa-lab-foot { flex-direction: row-reverse; }

.wa-qr-box {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  border: 2px dashed rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 40px;
  color: rgba(0,0,0,0.35);
}
.wa-onssa { margin-top: 14px; display:flex; justify-content:center; }
.wa-onssa-badge {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  background: rgba(212,168,75,0.12);
  border: 1px solid rgba(212,168,75,0.25);
  color: var(--honey-gold-dark);
  font-weight: 900;
}

/* ---------- Offer ---------- */
.wa-featured {
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, var(--honey-light) 0%, var(--white) 100%);
  border: 1px solid rgba(212,168,75,0.18);
  box-shadow: var(--shadow-md);
  padding: 18px;
  margin-top: 18px;
}

/* Ensure featured product names wrap onto two lines when the
   translation string contains a literal newline.  Without
   pre-line whitespace, newline characters collapse into a space. */
.wa-featured h3 {
  white-space: pre-line;
}
.wa-featured-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-weight: 900;
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.22);
  color: var(--danger);
  margin-bottom: 12px;
}
.wa-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 769px) {
  .wa-featured-grid { grid-template-columns: 0.9fr 1.4fr; gap: 18px; align-items: center; }
}
/* [FIX #7] RTL offer grid flips */
@media (min-width: 769px) {
  html[dir="rtl"] .wa-featured-grid { direction: rtl; }
}

.wa-product-image {
  width: 100%;
  min-height: 180px;
  border-radius: var(--radius-xl);
  background: var(--honey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wa-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.wa-checks { list-style:none; padding:0; margin: 12px 0 0; display:grid; gap: 8px; }
.wa-checks li { display:flex; gap:10px; font-weight:700; color: var(--dark-gray); }
.wa-checks li::before { content:"✓"; color: var(--success); font-weight: 900; }

.wa-price-row {
  margin-top: 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
/* [FIX #7] RTL price row */
html[dir="rtl"] .wa-price-row { flex-direction: row-reverse; }

.wa-price { font-size: 28px; font-weight: 900; color: var(--black); }
.wa-scarcity { color: var(--danger); font-weight: 900; font-size: 13px; }

/* ---------- [v1.3 #5] Product Grid (4 cards below featured) ---------- */
.wa-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 600px) {
  .wa-product-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .wa-product-grid { grid-template-columns: repeat(4, 1fr); }
}

.wa-product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);

  /* Make each product card a flex container so the CTA can
     stick to the bottom regardless of product name length. */
  display: flex;
  flex-direction: column;
}
.wa-product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.wa-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--honey-light);
}

.wa-card-body {
  padding: 14px 16px 18px;
  /* Let the body fill the available height and space items vertically. */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.wa-card-body h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
  margin: 0 0 4px;
  line-height: 1.3;
  /* Respect literal newlines (\n) in translation strings so FR and
     AR names appear on two separate lines.  Without this, newline
     characters collapse into spaces. */
  white-space: pre-line;
}
.wa-card-meta {
  font-size: 12px;
  color: var(--light-gray);
  margin: 0 0 6px;
}
.wa-card-taste {
  font-size: 13px;
  color: var(--medium-gray);
  font-style: italic;
  margin: 0 0 10px;
}
.wa-card-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 10px;
}

/* Small scarcity indicator below each card price.  This uses the
   danger palette and slightly smaller typography to draw
   attention without overpowering the price. */
.wa-card-scarcity {
  font-size: 12px;
  font-weight: 700;
  color: var(--danger);
  margin-bottom: 12px;
}

/* Small button variant for card CTAs */
.wa-btn-sm {
  padding: 10px 16px;
  font-size: 13px;
}

html[dir="rtl"] .wa-card-body { text-align: right; }
html[dir="rtl"] .wa-product-grid { direction: rtl; }

/* ---------- FAQ ---------- */
.wa-section-faq { background: var(--white); }
.wa-accordion { margin-top: 16px; display:grid; gap: 12px; }
.wa-faq {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--off-white);
  padding: 10px 14px;
}
.wa-faq summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--black);
  list-style: none;
}
.wa-faq summary::-webkit-details-marker { display:none; }
.wa-faq summary::after {
  content: "+";
  float: right;
  font-weight: 900;
  color: var(--honey-gold-dark);
}
html[dir="rtl"] .wa-faq summary::after { float: left; }
.wa-faq[open] summary::after { content: "–"; }
.wa-faq-body {
  margin-top: 10px;
  color: var(--medium-gray);
  font-weight: 600;
  line-height: 1.7;
}

.wa-edu-box {
  margin-top: 18px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, var(--honey-light) 0%, var(--white) 100%);
  border: 1px solid rgba(212,168,75,0.18);
  padding: 18px;
}
.wa-edu-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 769px) {
  .wa-edu-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.wa-edu-col {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-xl);
  padding: 14px;
}
.wa-edu-col h4 { margin: 0 0 10px; color: var(--black); font-weight: 900; }
.wa-edu-col ul { margin: 0; padding-left: 18px; color: var(--dark-gray); font-weight: 700; }
html[dir="rtl"] .wa-edu-col ul { padding-left: 0; padding-right: 18px; }
.wa-edu-tip { margin-top: 12px; color: var(--medium-gray); font-weight: 700; }

/* ---------- Guarantee ---------- */
.wa-guarantee-box {
  margin-top: 16px;
  border-radius: var(--radius-2xl);
  background: var(--honey-light);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-md);
  padding: 22px;
}
.wa-shield { font-size: 44px; display:flex; justify-content:center; margin-bottom: 10px; }
.wa-guarantee-list {
  list-style:none;
  padding: 0;
  margin: 14px auto 0;
  display:flex;
  gap: 10px 18px;
  justify-content:center;
  flex-wrap: wrap;
}
.wa-guarantee-list li {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-full);
  padding: 10px 14px;
  font-weight: 900;
  color: var(--black);
}
.wa-trust-row {
  margin-top: 16px;
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap: wrap;
}
.wa-trust-row span {
  font-weight: 900;
  font-size: 12px;
  color: var(--medium-gray);
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-full);
  padding: 8px 12px;
}

/* ---------- Final CTA ---------- */
.wa-section-final {
  background: radial-gradient(circle at top, rgba(212,168,75,0.35), transparent 55%),
              linear-gradient(180deg, var(--honey-light) 0%, var(--white) 100%);
}
.wa-final-icon { font-size: 52px; margin-bottom: 10px; }
.wa-btn-mega {
  width: min(520px, 100%);
  margin: 10px auto 0;
  padding: 20px 40px;
  font-size: 18px;
}
.wa-urgency { margin-top: 14px; color: var(--danger); font-weight: 900; }

/* =====================================================================
 * Custom enhancements for v1.4.1
 * - Section backgrounds with overlays for problem/solution/guarantee
 * - Reduced spacing on heavy sections
 * - Centered CTA in solution section
 * - Beekeeper and crystallisation images styling
 * ===================================================================== */

/* Background images with overlays */
.wa-bg-problem {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/background-problem.jpg') center/cover no-repeat;
  color: var(--white);
}
.wa-bg-solution {
  background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url('../images/background-solution.jpg') center/cover no-repeat;
}
.wa-bg-guarantee {
  background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('../images/background-guarantee.jpg') center/cover no-repeat;
}

/* Reduce vertical padding on sections that felt heavy */
#problem,
#solution,
#guarantee {
  min-height: auto;
  padding-top: 80px;
  padding-bottom: 48px;
}

/* Center the CTA button in solution */
#solution .wa-btn-secondary {
  justify-content: center;
}

/* Adjust beekeeper photos for image avatars */
.wa-beekeeper-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  display: block;
}

/* Style images in crystallisation FAQ */
.wa-edu-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  margin-bottom: 12px;
}

/* ---------- Footer — Corporate v2.0 ---------- */
.wa-footer {
  background: var(--black);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 0;
}

/* 4-column grid */
.wa-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (min-width: 769px) {
  .wa-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
}

/* Footer columns */
.wa-footer-col {}

/* Brand column */
.wa-footer-brand-col {}
.wa-footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.wa-footer-brand .wa-logo {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--honey-gold) 0%, var(--honey-gold-dark) 100%);
  font-size: 20px;
}
.wa-footer-brand strong {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}
.wa-footer-tagline {
  color: rgba(255,255,255,0.60);
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.3px;
}

/* Column headings */
.wa-footer-heading {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 14px;
}

/* Link lists */
.wa-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.wa-footer-links a,
.wa-footer-links span {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.wa-footer-links a:hover {
  color: var(--honey-gold);
}

/* Bottom bar */
.wa-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.wa-footer-onssa {
  font-weight: 600;
}

/* RTL footer adjustments */
html[dir="rtl"] .wa-footer-grid { direction: rtl; }
html[dir="rtl"] .wa-footer-bottom { flex-direction: row-reverse; }
html[dir="rtl"] .wa-footer-brand { flex-direction: row-reverse; }
html[dir="rtl"] .wa-footer-links { text-align: right; }

@media (max-width: 768px) {
  .wa-footer { padding: 32px 0 0; }
  .wa-footer-grid { gap: 24px; }
  .wa-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ---------- Floating WhatsApp (desktop) ---------- */
.wa-float-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-fixed);
  transition: var(--transition-normal);
}
@media (min-width: 769px) { .wa-float-whatsapp { display: inline-flex; } }
.wa-float-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }
html[dir="rtl"] .wa-float-whatsapp { right: auto; left: 16px; }

/* ---------- Sticky Mobile CTA ---------- */
/* [FIX #5] Added safe-area-inset-bottom for iPhone home bar */
@media (max-width: 768px) {
  .wa-landing {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
}

.wa-sticky-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-fixed);
  display: none;
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 768px) { .wa-sticky-mobile { display: block; } }

.wa-sticky-mobile-btn {
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
}
.wa-sticky-mobile-btn:hover { background: var(--whatsapp-dark); }

/* ---------- Modal (Exit Intent) ---------- */
/* [FIX #6] Smooth open/close transitions */
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  visibility: hidden;
  pointer-events: none;
}
.wa-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.wa-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.wa-modal.is-open .wa-modal-overlay {
  opacity: 1;
}

.wa-modal-card {
  position: relative;
  width: min(520px, 92vw);
  margin: 12vh auto 0;
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 22px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}
.wa-modal.is-open .wa-modal-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wa-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: var(--off-white);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
html[dir="rtl"] .wa-modal-close { right: auto; left: 12px; }
.wa-modal-icon { font-size: 44px; display:flex; justify-content:center; margin-bottom: 8px; }
.wa-gift {
  margin: 12px auto 14px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212,168,75,0.20);
  background: var(--honey-light);
  padding: 14px;
  text-align: center;
}
.wa-gift-sub { color: var(--medium-gray); font-weight: 700; margin-top: 6px; }
.wa-btn-block { width: 100%; }
.wa-link-muted {
  margin-top: 10px;
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--medium-gray);
  font-weight: 800;
}

/* ---------- Dynamic Pricing (v2.0) ---------- */
/* Strikethrough for original price when promo is active */
[data-wad-field="original_price"] {
  font-size: 0.75em;
  color: var(--light-gray);
  text-decoration: line-through;
  margin-right: 6px;
}
html[dir="rtl"] [data-wad-field="original_price"] {
  margin-right: 0;
  margin-left: 6px;
}
/* Out of stock visual */
.wad-out-of-stock {
  color: var(--danger);
  font-weight: 700;
}
.wad-in-stock {
  color: var(--success);
  font-weight: 700;
}

/* ---------- FAQ item (details/summary) ---------- */
.wa-faq-item {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--off-white);
  padding: 10px 14px;
}
.wa-faq-item summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--black);
  list-style: none;
}
.wa-faq-item summary::-webkit-details-marker { display: none; }
.wa-faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 900;
  color: var(--honey-gold-dark);
}
html[dir="rtl"] .wa-faq-item summary::after { float: left; }
.wa-faq-item[open] summary::after { content: "–"; }
.wa-faq-answer {
  margin-top: 10px;
  color: var(--medium-gray);
  font-weight: 600;
  line-height: 1.7;
}

/* ---------- Beekeeper Grid ---------- */
.wa-beekeeper-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}
@media (min-width: 769px) {
  .wa-beekeeper-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.wa-beekeeper-card {
  border-radius: var(--radius-xl);
  padding: 22px;
  background: var(--honey-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

/* ---------- Lab Grid (v2.0 updated layout) ---------- */
.wa-lab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}
@media (min-width: 769px) {
  .wa-lab-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
.wa-lab-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 22px;
  text-align: center;
}
.wa-lab-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.wa-lab-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--success);
}
.wa-lab-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.wa-lab-note {
  font-size: 13px;
  color: var(--medium-gray);
  margin: 0;
}
.wa-lab-bottom {
  margin-top: 24px;
}

/* ---------- Crystal Grid ---------- */
.wa-crystal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}
@media (min-width: 769px) {
  .wa-crystal-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
.wa-crystal-card {
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  text-align: center;
}
.wa-crystal-good { border-color: rgba(34,197,94,0.20); }
.wa-crystal-bad { border-color: rgba(239,68,68,0.20); }
.wa-crystal-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  margin-bottom: 12px;
}

/* ---------- Guarantee pills ---------- */
.wa-guarantee-pills {
  display: flex;
  gap: 10px 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 14px 0 0;
}
.wa-guarantee-pills span {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-full);
  padding: 10px 14px;
  font-weight: 900;
  color: var(--black);
}
.wa-guarantee-icon { font-size: 44px; display: flex; justify-content: center; margin-bottom: 10px; }
.wa-guarantee-final { font-weight: 900; margin-top: 14px; color: var(--black); }

/* ---------- Print styles ---------- */
@media print {
  .wa-header,
  .wa-float-whatsapp,
  .wa-sticky-mobile,
  .wa-modal,
  .wa-scroll-hint { display: none !important; }

  .wa-section {
    min-height: auto !important;
    padding: 24px 0 !important;
    break-inside: avoid;
  }

  .wa-landing { padding-bottom: 0 !important; }
}
