/* ============================================================
   Wardat Jnani — Client CSS
   Aesthetic: Moroccan artisanal luxury — zellige, rose, nature
   Fonts: Cormorant Garamond (display) + DM Sans (body)
         + Noto Naskh Arabic (Arabic text)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Brand tokens ─────────────────────────────────────────── */
:root {
  /* Brand colors — from logo */
  --rose:        #C8224A;      /* deep Moroccan rose */
  --rose-light:  #F5E8EC;
  --rose-mid:    #E8829A;
  --green:       #2D7A3A;      /* dark garden green */
  --green-light: #EAF2EB;
  --green-mid:   #6BAF76;
  --gold:        #B8860B;      /* warm Moroccan gold */
  --gold-light:  #FDF6E3;
  --cream:       #FAF7F2;      /* warm off-white background */
  --sand:        #F0E8D8;      /* warm sand */
  --terracotta:  #C67B5C;      /* Moroccan clay accent */

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-arabic:  'Noto Naskh Arabic', 'Traditional Arabic', serif;

  /* Layout */
  --max-w:     1200px;
  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow:    0 4px 20px rgba(0,0,0,.09);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.13);

  /* Zellige tile color variables */
  --z1: #C8224A;  --z2: #2D7A3A;  --z3: #B8860B;
  --z4: #1A5276;  --z5: #784212;  --z6: #6C3483;
}

/* ── Base body ────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: #1a1a1a;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Arabic text context */
[lang="ar"], [dir="rtl"], .ar {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
}

/* ── Moroccan 8-pointed star tile pattern ─────────────────── */
/*    Two overlapping squares form the classic zellige star     */
.zellige-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect width='80' height='80' fill='%23FAF7F2'/%3E%3Cpolygon points='40,12 68,40 40,68 12,40' fill='none' stroke='%23B8860B' stroke-width='0.9' stroke-opacity='0.22'/%3E%3Cpolygon points='22,22 58,22 58,58 22,58' fill='none' stroke='%23B8860B' stroke-width='0.9' stroke-opacity='0.22'/%3E%3Ccircle cx='40' cy='40' r='5' fill='none' stroke='%23C8224A' stroke-width='0.7' stroke-opacity='0.18'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%23B8860B' fill-opacity='0.22'/%3E%3Cline x1='40' y1='12' x2='40' y2='0' stroke='%23C8224A' stroke-width='0.5' stroke-opacity='0.14'/%3E%3Cline x1='40' y1='68' x2='40' y2='80' stroke='%23C8224A' stroke-width='0.5' stroke-opacity='0.14'/%3E%3Cline x1='12' y1='40' x2='0' y2='40' stroke='%23C8224A' stroke-width='0.5' stroke-opacity='0.14'/%3E%3Cline x1='68' y1='40' x2='80' y2='40' stroke='%23C8224A' stroke-width='0.5' stroke-opacity='0.14'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%232D7A3A' fill-opacity='0.18'/%3E%3Ccircle cx='80' cy='0' r='2' fill='%232D7A3A' fill-opacity='0.18'/%3E%3Ccircle cx='0' cy='80' r='2' fill='%232D7A3A' fill-opacity='0.18'/%3E%3Ccircle cx='80' cy='80' r='2' fill='%232D7A3A' fill-opacity='0.18'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.zellige-dark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect width='80' height='80' fill='%232D3A2E'/%3E%3Cpolygon points='40,12 68,40 40,68 12,40' fill='none' stroke='%23B8860B' stroke-width='0.9' stroke-opacity='0.42'/%3E%3Cpolygon points='22,22 58,22 58,58 22,58' fill='none' stroke='%23B8860B' stroke-width='0.9' stroke-opacity='0.42'/%3E%3Ccircle cx='40' cy='40' r='5' fill='none' stroke='%23C8224A' stroke-width='0.8' stroke-opacity='0.38'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%23B8860B' fill-opacity='0.5'/%3E%3Cline x1='40' y1='12' x2='40' y2='0' stroke='%23C8224A' stroke-width='0.6' stroke-opacity='0.3'/%3E%3Cline x1='40' y1='68' x2='40' y2='80' stroke='%23C8224A' stroke-width='0.6' stroke-opacity='0.3'/%3E%3Cline x1='12' y1='40' x2='0' y2='40' stroke='%23C8224A' stroke-width='0.6' stroke-opacity='0.3'/%3E%3Cline x1='68' y1='40' x2='80' y2='40' stroke='%23C8224A' stroke-width='0.6' stroke-opacity='0.3'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* zellige-strip removed per user request */

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}
.section-title .accent { color: var(--rose); }
.section-title .ar {
  font-family: var(--font-arabic);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.section-subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin-top: 10px;
  max-width: 540px;
}

/* Decorative divider with zellige diamond */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 32px;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose), transparent);
  opacity: .4;
}
.divider-diamond {
  width: 10px;
  height: 10px;
  background: var(--rose);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,34,74,.12);
}

.zellige-strip.navbar-strip { height: 4px; }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar-brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose-light);
}
.navbar-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rose);
  line-height: 1.1;
}
.navbar-brand-sub {
  font-size: .65rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.navbar-nav a {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: #374151;
  transition: all .18s;
  white-space: nowrap;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  background: var(--rose-light);
  color: var(--rose);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switch {
  display: flex;
  background: var(--sand);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}
.lang-switch a {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: #6b7280;
  transition: all .15s;
}
.lang-switch a.active {
  background: var(--rose);
  color: #fff;
}

/* WhatsApp CTA button */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: #25D366;
  color: #fff;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-wa svg { width: 16px; height: 16px; }

/* Mobile hamburger */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #374151;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-body);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-rose {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}
.btn-rose:hover {
  background: #a81a3c;
  border-color: #a81a3c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,34,74,.3);
}

.btn-green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-green:hover { background: #1f5929; transform: translateY(-2px); }

.btn-outline-rose {
  background: transparent;
  color: var(--rose);
  border-color: var(--rose);
}
.btn-outline-rose:hover { background: var(--rose-light); }

.btn-outline-dark {
  background: transparent;
  color: #1a1a1a;
  border-color: #d1d5db;
}
.btn-outline-dark:hover { background: var(--sand); border-color: #9ca3af; }

.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: .8rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Hero section ─────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 50%, var(--rose-light) 100%);
  z-index: 0;
}

/* Moroccan star corner decoration */
.hero-zellige-corner {
  position: absolute;
  top: 0; right: 0;
  width: 420px;
  height: 420px;
  opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect width='40' height='40' fill='none'/%3E%3Cpolygon points='20,6 34,20 20,34 6,20' fill='none' stroke='%23C8224A' stroke-width='1'/%3E%3Cpolygon points='11,11 29,11 29,29 11,29' fill='none' stroke='%232D7A3A' stroke-width='0.8'/%3E%3Ccircle cx='20' cy='20' r='3' fill='none' stroke='%23B8860B' stroke-width='0.8'/%3E%3Ccircle cx='20' cy='20' r='1.2' fill='%23B8860B'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 60px 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--rose-light);
  color: var(--rose);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(200,34,74,.15);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.hero-title .rose { color: var(--rose); }
.hero-title .green { color: var(--green); }

.hero-title-ar {
  font-family: var(--font-arabic);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 18px;
  direction: rtl;
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-origin {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--green);
  font-weight: 600;
  margin-top: 24px;
}
.hero-origin svg { width: 16px; height: 16px; }

.hero-image {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 420px;
  max-width: 100%;
}

.hero-image-frame img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* Floating badge on hero image */
.hero-float-badge {
  position: absolute;
  bottom: 28px;
  left: -28px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
}
.hero-float-badge .hfb-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-float-badge .hfb-label { font-weight: 700; color: #1a1a1a; }
.hero-float-badge .hfb-sub   { color: #6b7280; font-size: .72rem; }

.hero-float-badge2 {
  position: absolute;
  top: 32px;
  right: -22px;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .78rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* ── Features strip ───────────────────────────────────────── */
.features-strip {
  background: var(--green);
  padding: 22px 0;
}
.features-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.92);
  font-size: .88rem;
  font-weight: 500;
}
.feature-item svg { width: 20px; height: 20px; opacity: .9; flex-shrink: 0; }
.feature-item-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.2);
}

/* ── Product cards ────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(200,34,74,.08);
  transition: all .25s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,34,74,.18);
}

.product-card-img {
  position: relative;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: var(--sand);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

.product-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sand) 0%, var(--rose-light) 100%);
  background-image:
    linear-gradient(135deg, var(--sand) 0%, var(--rose-light) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='8' fill='none' stroke='%23C8224A' stroke-width='.6' stroke-opacity='.18'/%3E%3Cellipse cx='20' cy='8' rx='4' ry='10' fill='none' stroke='%23C8224A' stroke-width='.5' stroke-opacity='.12'/%3E%3Cellipse cx='32' cy='20' rx='10' ry='4' fill='none' stroke='%23C8224A' stroke-width='.5' stroke-opacity='.12'/%3E%3Cellipse cx='20' cy='32' rx='4' ry='10' fill='none' stroke='%23C8224A' stroke-width='.5' stroke-opacity='.12'/%3E%3Cellipse cx='8' cy='20' rx='10' ry='4' fill='none' stroke='%23C8224A' stroke-width='.5' stroke-opacity='.12'/%3E%3C/svg%3E");
  background-size: auto, 40px 40px;
}

/* Stock badge */
.stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.stock-badge.out {
  background: rgba(0,0,0,.6);
  color: #fff;
}
.stock-badge.new {
  background: var(--rose);
  color: #fff;
}

/* Brand chip on card */
.product-brand-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: .65rem;
  font-weight: 700;
  background: rgba(255,255,255,.92);
  color: #374151;
  backdrop-filter: blur(4px);
}

/* Quick WA button (appears on hover) */
.product-wa-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  transition: all .22s;
  white-space: nowrap;
  font-size: .78rem;
  padding: 8px 16px;
  border-radius: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-card:hover .product-wa-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-card-body {
  padding: 14px 16px 16px;
}
.product-brand {
  font-size: .72rem;
  color: var(--rose);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 3px;
}
.product-name-ar {
  font-family: var(--font-arabic);
  font-size: .9rem;
  color: #6b7280;
  direction: rtl;
  text-align: right;
  margin-bottom: 10px;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.product-price-main {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rose);
}
.product-price-currency {
  font-size: .75rem;
  color: #9ca3af;
  font-weight: 500;
}

/* ── Pack cards ───────────────────────────────────────────── */
.pack-card {
  background: linear-gradient(135deg, var(--green) 0%, #1f5929 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  position: relative;
  transition: all .25s;
}
.pack-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(45,122,58,.35);
}
.pack-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpolygon points='20,1 39,11 39,29 20,39 1,29 1,11' fill='none' stroke='%23ffffff' stroke-width='0.5' stroke-opacity='0.1'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

.pack-card-body { padding: 24px; position: relative; }
.pack-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 8px;
}
.pack-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.pack-prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 16px;
}
.pack-price-old {
  text-decoration: line-through;
  opacity: .5;
  font-size: .9rem;
}
.pack-price-new {
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFD700;
}
.pack-currency { font-size: .8rem; opacity: .8; }
.pack-savings {
  display: inline-block;
  background: rgba(255,215,0,.2);
  color: #FFD700;
  border: 1px solid rgba(255,215,0,.3);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ── Category pills ───────────────────────────────────────── */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.category-pill {
  padding: 8px 18px;
  border-radius: 24px;
  border: 1.5px solid var(--rose);
  background: transparent;
  color: var(--rose);
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  font-family: var(--font-body);
}
.category-pill:hover,
.category-pill.active {
  background: var(--rose);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,34,74,.25);
}
.category-pill[data-lang="ar"] { font-family: var(--font-arabic); }

/* ── Ingredients / benefits section ──────────────────────── */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.ingredient-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07);
  transition: all .25s;
}
.ingredient-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.ingredient-img-wrap {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ingredient-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  z-index: 1;
}
.ingredient-card:hover .ingredient-img-wrap img { transform: scale(1.07); }
.ingredient-img-fallback {
  font-size: 3.5rem;
  position: relative;
  z-index: 0;
  line-height: 1;
}

.ingredient-body {
  padding: 15px 18px 18px;
}
.ingredient-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5px;
}
.ingredient-desc { font-size: .82rem; color: #6b7280; line-height: 1.55; }

/* ── About / story section ────────────────────────────────── */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-img-wrap {
  position: relative;
}
.story-img-wrap img {
  border-radius: var(--radius-xl);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.story-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 4px solid var(--cream);
  box-shadow: var(--shadow);
}
.story-img-accent img { width: 100%; height: 100%; object-fit: cover; }

/* Zellige decorative frame around story image */
.story-img-frame {
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--rose);
  border-radius: var(--radius-xl);
  opacity: .2;
  pointer-events: none;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(200,34,74,.08);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--rose);
  opacity: .15;
  line-height: 1;
}
.stars { color: #F59E0B; font-size: .9rem; margin-bottom: 10px; }
.testimonial-text { font-size: .92rem; color: #374151; line-height: 1.7; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--rose);
  font-size: .85rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: .88rem; color: #1a1a1a; }
.testimonial-city { font-size: .75rem; color: #9ca3af; }

/* ── Trust banner (neutral/green) ────────────────────────── */
.trust-banner {
  background: #fff;
  border: 1px solid rgba(45,122,58,.12);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 180px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-title { font-weight: 700; font-size: .9rem; color: #1a1a1a; }
.trust-desc  { font-size: .78rem; color: #6b7280; margin-top: 2px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  color: rgba(255,255,255,.85);
  padding: 0;
}
.footer-top {
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 2px solid rgba(255,255,255,.2);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.footer-brand-origin { font-size: .78rem; opacity: .6; }
.footer-desc { font-size: .85rem; line-height: 1.7; margin-top: 12px; opacity: .75; max-width: 240px; }

.footer-col-title {
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  opacity: .9;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .85rem;
  opacity: .7;
  transition: opacity .15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { opacity: 1; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .83rem;
  opacity: .75;
  margin-bottom: 10px;
}
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  opacity: .55;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.anim-fade-up  { animation: fadeUp .6s ease both; }
.anim-delay-1  { animation-delay: .1s; }
.anim-delay-2  { animation-delay: .2s; }
.anim-delay-3  { animation-delay: .3s; }
.anim-delay-4  { animation-delay: .4s; }

/* Scroll-reveal (JS adds .revealed) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Product detail responsive layout ────────────────────── */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}
@media (max-width: 860px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Product page specific ────────────────────────────────── */
.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
}
.product-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.thumb-btn {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  padding: 0;
  background: none;
}
.thumb-btn:hover  { border-color: rgba(200,34,74,.35); }
.thumb-btn.active { border-color: var(--rose); box-shadow: 0 2px 8px rgba(200,34,74,.2); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

.product-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--sand);
  position: relative;
  cursor: zoom-in;
}
.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .18s;
}
.product-main-img:hover img { transform: scale(1.04); }

/* Lightbox overlay */
.img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.img-lightbox.open { display: flex; }
.img-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.img-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.img-lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ── Forms (COD / contact) ────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.form-label .req { color: var(--rose); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--radius);
  background: #fff;
  color: #1a1a1a;
  font-size: .9rem;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  font-family: var(--font-body);
}
.form-control:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(200,34,74,.1);
}
.form-control::placeholder { color: #d1d5db; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: #9ca3af;
  padding: 14px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: #6b7280; transition: color .15s; }
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb-sep { opacity: .5; }
.breadcrumb-current { color: var(--rose); font-weight: 600; }

/* ── Mobile nav overlay ───────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--cream);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .28s ease;
}
.mobile-nav.open { display: block; }
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #374151;
}
.mobile-nav-links {
  list-style: none;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  color: #374151;
  transition: all .15s;
}
.mobile-nav-links a:hover  { background: var(--rose-light); color: var(--rose); }
.mobile-nav-links a.active { background: var(--rose-light); color: var(--rose); font-weight: 600; }

/* ── WhatsApp floating button ─────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 99;
  transition: all .2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s ease-out infinite;
  opacity: 0;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 60px 0 40px; }
  .hero-image { display: none; }
  .story-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .navbar-nav, .navbar-actions .btn-wa { display: none; }
  .navbar-toggle { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .section { padding: 48px 0; }
  .hero-title { font-size: 2rem; }
  .hero-float-badge, .hero-float-badge2 { display: none; }
  .trust-banner { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .container { padding: 0 14px; }
  .hero-content { padding: 40px 0 32px; }
}

/* ── Cosmetics / icon-free additions ──────────────────────── */

/* Hero image placeholder (no product image) */
.hero-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--rose-light) 0%, var(--sand) 50%, var(--green-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Product detail page: no-image placeholder */
.product-no-image {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sand) 0%, var(--rose-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Product trust strip below CTA */
.product-trust-strip {
  display: flex;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.product-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-trust-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--green);
}

/* Ingredient fallback SVG container */
.ingredient-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

/* Benefits list: replace ✦ with clean line marker */
.benefit-marker {
  width: 14px;
  height: 1px;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 10px;
  border-radius: 1px;
}

/* Refined section header — cosmetics style */
.section-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}

/* Category pills — refined, no heavy border */
.category-pill {
  border-width: 1px;
  font-size: .8rem;
  letter-spacing: .03em;
}

/* Pack card: remove decorative hexagon background (keep clean) */
.pack-card::before { display: none; }

/* Footer link arrows — keep as text › (already fine) */

/* Navbar brand sub — uppercase spaced */
.navbar-brand-sub {
  letter-spacing: .1em;
}

/* Product card hover — subtle lift only */
.product-card:hover {
  transform: translateY(-3px);
}

/* ── Utility ──────────────────────────────────────────────── */
.text-rose   { color: var(--rose); }
.text-green  { color: var(--green); }
.text-gold   { color: var(--gold); }
.text-muted  { color: #6b7280; }
.fw-700 { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }

/* ══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — FULL OVERHAUL
══════════════════════════════════════════════════════════ */

/* ── Prevent horizontal scroll on all screens ─────────── */
html { overflow-x: hidden; }
body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; }

/* ── Touch friendliness ───────────────────────────────── */
.btn,
.category-pill,
.lang-switch a,
.navbar-toggle,
.mobile-nav-close,
.mobile-nav-links a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn        { min-height: 44px; }
.btn-sm     { min-height: 36px; }
.navbar-toggle,
.mobile-nav-close { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.mobile-nav-links a { min-height: 48px; display: flex; align-items: center; }

/* ── Mobile nav: safe-area + smooth scroll ────────────── */
.mobile-nav-panel {
  -webkit-overflow-scrolling: touch;
  padding-top:    max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.mobile-nav-close {
  top: max(16px, env(safe-area-inset-top));
}

/* ── WhatsApp button: clear of home-bar ──────────────── */
.wa-float {
  bottom: max(24px, calc(16px + env(safe-area-inset-bottom)));
  right:  max(20px, env(safe-area-inset-right));
}

/* ── Product gallery: horizontal thumbs on narrow screens */
@media (max-width: 640px) {
  .product-gallery {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto;
  }
  .product-gallery-thumbs {
    flex-direction: row !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px !important;
    padding-bottom: 4px;
    order: 2;
    scrollbar-width: none;
  }
  .product-gallery-thumbs::-webkit-scrollbar { display: none; }
  .thumb-btn {
    width: 64px !important;
    height: 64px !important;
    flex-shrink: 0;
  }
  .product-main-img { order: 1; }
  .product-detail-layout { gap: 24px; }
}

/* ── 768px additions ──────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-inner { height: 58px; }
  .navbar-brand img { width: 38px; height: 38px; }
  .navbar-brand-name { font-size: 1rem; }

  .story-section { gap: 28px; }
  .story-img-accent { display: none; }

  .trust-banner { padding: 20px 18px; gap: 16px; }
  .trust-item   { min-width: 140px; }

  .product-detail-layout { gap: 28px; }

  .category-pill  { padding: 7px 14px; font-size: .8rem; }
  .category-pills { gap: 6px; margin-bottom: 20px; }

  .testimonial-card { padding: 20px; }

  .footer-top    { padding: 40px 0 28px; }
  .footer-bottom { padding: 14px 0; font-size: .8rem; }
}

/* ── 480px ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .section    { padding: 36px 0; }
  .section-sm { padding: 24px 0; }

  /* Hero */
  .hero-title     { font-size: 1.75rem; line-height: 1.2; }
  .hero-subtitle  { font-size: .88rem; }
  .hero-content   { text-align: center; align-items: center; }
  .hero-content > .d-flex,
  .hero-content > div[style*="display:flex"],
  .hero-content > div[style*="display: flex"] { justify-content: center !important; }

  /* Section text */
  .section-title    { font-size: 1.7rem; }
  .section-subtitle { font-size: .875rem; }

  /* Story */
  .story-section  { gap: 20px; }
  .story-content h2 { font-size: 1.5rem; }

  /* Ingredients */
  .ingredients-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Products */
  .products-grid { gap: 10px; }
  .product-card-body { padding: 12px; }
  .product-card-name { font-size: .875rem; }
  .product-price { font-size: 1.1rem; }

  /* Pack cards (inline-grid override) */
  [style*="minmax(320px"] { grid-template-columns: 1fr !important; }
  .pack-card   { padding: 20px 16px; }
  .pack-name   { font-size: 1.05rem; }
  .pack-price  { font-size: 1.5rem; }

  /* Category pills */
  .category-pill  { padding: 6px 12px; font-size: .78rem; }
  .category-pills { gap: 5px; margin-bottom: 14px; }

  /* Trust banner */
  .trust-banner { padding: 16px; flex-direction: column; }
  .trust-item   { min-width: 0; width: 100%; }

  /* Testimonials */
  .testimonial-card { padding: 16px; }

  /* Footer */
  .footer-brand   { text-align: center; align-items: center; display: flex; flex-direction: column; }
  .footer-brand img { margin: 0 auto 8px; }
  .footer-links li  { margin-bottom: 6px; }
  .footer-contact-item { font-size: .875rem; }
  .footer-bottom > .container { flex-direction: column; text-align: center; gap: 4px; }
}

/* ── Products page sidebar layout ────────────────────── */
@media (max-width: 768px) {
  .products-layout {
    grid-template-columns: 1fr !important;
  }
  .products-sidebar {
    position: static !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .products-sidebar > * { margin-bottom: 0 !important; }
}
@media (max-width: 480px) {
  .products-sidebar {
    grid-template-columns: 1fr;
  }
}

/* ── 360px — small Android phones ────────────────────── */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .section-title  { font-size: 1.45rem; }
  .hero-title     { font-size: 1.35rem; }
  .ingredients-grid { grid-template-columns: 1fr; }
  .products-grid  { grid-template-columns: 1fr; gap: 10px; }
  .btn            { padding: 10px 18px; font-size: .85rem; }
  .btn-lg         { padding: 12px 22px; }
}
.gap-3 { gap: 12px; }

/* ── RTL overrides ────────────────────────────────────────── */
[dir="rtl"] .mobile-nav-panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}
[dir="rtl"] .mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);
}
[dir="rtl"] .mobile-nav-close {
  right: auto;
  left: 16px;
}
[dir="rtl"] .wa-float {
  right: auto;
  left: max(20px, env(safe-area-inset-left));
}