﻿/* ==========================================================================
   عسل جنين الجبلي — Main stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --gold: #e5a51c;
  --gold-2: #ffd36a;
  --gold-3: #a9660a;
  --gold-soft: #fdf0cf;
  --amber: #f6a91b;

  --bg: #fffaf1;
  --bg-2: #fdf3e1;
  --surface: #ffffff;
  --surface-2: #fdf2dd;
  --surface-3: #f7e5c2;
  --ink: #2a1a0c;
  --ink-2: #4b3420;
  --muted: #7d6449;
  --line: rgba(72, 47, 20, 0.12);
  --line-strong: rgba(72, 47, 20, 0.22);

  --header-bg: rgba(255, 250, 241, 0.78);
  --header-line: rgba(72, 47, 20, 0.08);

  --shadow-sm: 0 6px 18px -8px rgba(94, 59, 14, 0.16);
  --shadow: 0 26px 60px -28px rgba(94, 59, 14, 0.35);
  --shadow-lg: 0 40px 90px -40px rgba(94, 59, 14, 0.45);

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;

  --header-h: 78px;
  --container: 1240px;

  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] {
  --bg: #110b05;
  --bg-2: #170f07;
  --surface: #1c1309;
  --surface-2: #251808;
  --surface-3: #2e1e0c;
  --ink: #f9edda;
  --ink-2: #e8d5b8;
  --muted: #b29b7e;
  --line: rgba(249, 237, 218, 0.12);
  --line-strong: rgba(249, 237, 218, 0.24);
  --gold-soft: #3a270c;

  --header-bg: rgba(17, 11, 5, 0.76);
  --header-line: rgba(249, 237, 218, 0.08);

  --shadow-sm: 0 6px 18px -8px rgba(0, 0, 0, 0.55);
  --shadow: 0 26px 60px -28px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
figure { margin: 0; }
s { text-decoration-color: rgba(229, 165, 28, 0.7); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--gold); color: #1e1206; }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

#i-whatsapp path,
#i-facebook path { fill: currentColor; stroke: none; }
#i-phone path,
#i-drop path,
#i-leaf path,
#i-shield path,
#i-truck path,
#i-star path,
#i-spark path { }
#i-star path { fill: currentColor; stroke: none; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, .brand__text strong {
  font-family: "El Messiri", "Tajawal", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.35rem, 5vw, 4.15rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.18rem; }

.grad-text {
  background: linear-gradient(100deg, var(--gold-3), var(--gold) 38%, var(--gold-2) 62%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 13px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(229, 165, 28, 0.28);
  color: var(--gold-3);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

[data-theme="dark"] .eyebrow { color: var(--gold-2); }

.eyebrow .icon { width: 15px; height: 15px; }

.eyebrow--light {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 211, 106, 0.4);
  color: var(--gold-2);
  backdrop-filter: blur(6px);
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  overflow: hidden;
  white-space: nowrap;
}

.btn .icon { width: 19px; height: 19px; }

.btn--lg { padding: 15px 28px; font-size: 1.03rem; }
.btn--block { width: 100%; }

.btn--gold {
  background: linear-gradient(135deg, #ffd977, var(--gold) 48%, #d18d10);
  color: #24150a;
  box-shadow: 0 14px 30px -14px rgba(229, 165, 28, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -14px rgba(229, 165, 28, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.55) 45%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}

.btn--gold:hover::after { transform: translateX(130%); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff8ea;
  background: rgba(255, 255, 255, 0.06);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn:active { transform: translateY(0) scale(0.985); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease),
    border-color 0.25s ease;
  flex-shrink: 0;
}

.icon-btn .icon { width: 20px; height: 20px; }

.icon-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #24150a;
  transform: translateY(-2px);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: #170f07;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader p {
  color: #f7e5c2;
  font-family: "El Messiri", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.8s 0.25s ease forwards;
}

.preloader__mark { position: relative; display: grid; place-items: center; }
.preloader__mark img { width: 66px; height: 66px; animation: pulseSoft 1.4s ease-in-out infinite; }

.preloader__ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 211, 106, 0.25);
  border-top-color: var(--gold-2);
  animation: spin 1.1s linear infinite;
}

.preloader.is-done { opacity: 0; visibility: hidden; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseSoft { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 3px;
  z-index: 1300;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2));
  box-shadow: 0 0 14px rgba(229, 165, 28, 0.7);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 800;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: height 0.3s var(--ease), background-color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  height: 66px;
  border-bottom-color: var(--header-line);
  box-shadow: 0 12px 40px -30px rgba(60, 34, 5, 0.55);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(150deg, #2a1a0c, #43290f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow-sm);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__mark img { width: 36px; height: 36px; }

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 1.12rem; letter-spacing: 0; }
.brand__text small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.main-nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover { color: var(--ink); background: var(--surface-2); }
.main-nav a:hover::after,
.main-nav a.is-active::after { width: 22px; }
.main-nav a.is-active { color: var(--gold-3); font-weight: 700; }
[data-theme="dark"] .main-nav a.is-active { color: var(--gold-2); }

.header__actions { display: flex; align-items: center; gap: 8px; }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.25s var(--ease), background-color 0.25s ease;
}

.cart-btn:hover { transform: translateY(-2px); background: var(--gold-3); }
.cart-btn .icon { width: 19px; height: 19px; }

.cart-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: #24150a;
  font-size: 0.75rem;
  font-weight: 800;
  transition: transform 0.3s var(--ease-spring);
}

.cart-count.bump { animation: bump 0.45s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }

.menu-btn { display: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 790;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 28px) 28px 34px;
  background: var(--bg);
  transform: translateY(-105%);
  transition: transform 0.45s var(--ease);
  visibility: hidden;
}

.mobile-menu.is-open { transform: none; visibility: visible; }

.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }

.mobile-menu nav a {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-family: "El Messiri", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-menu__foot p { margin-top: 14px; color: var(--muted); text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 54px);
  padding-bottom: 58px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.honeycomb {
  position: absolute;
  inset: -10% -5% auto auto;
  width: 70%;
  height: 130%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 32 4 18V2h48v16L28 32zm0 32L4 50V34h48v16L28 64zM4 82l24 14 24-14' fill='none' stroke='%23c98c1a' stroke-opacity='.3' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 96px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at 75% 40%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 10%, transparent 65%);
}

[data-theme="dark"] .honeycomb { opacity: 0.28; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.blob--1 {
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(255, 199, 74, 0.5), transparent 68%);
}

.blob--2 {
  width: 30vw;
  height: 30vw;
  max-width: 420px;
  max-height: 420px;
  bottom: -6%;
  right: 18%;
  background: radial-gradient(circle, rgba(232, 155, 24, 0.28), transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.hero__content { max-width: 620px; }

.hero h1 { margin: 20px 0 16px; }

.hero__lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  max-width: 55ch;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__stats {
  display: flex;
  gap: 0;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  padding-inline: 26px;
  border-inline-start: 1px solid var(--line);
}

.hero__stats li:first-child { padding-inline-start: 0; border-inline-start: 0; }

.hero__stats strong {
  font-family: "El Messiri", sans-serif;
  font-size: 1.55rem;
  color: var(--gold-3);
  line-height: 1.1;
}

[data-theme="dark"] .hero__stats strong { color: var(--gold-2); }
.hero__stats span { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }

.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px;
}

.hero__arch {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 0.92;
  border-radius: 240px 240px 34px 34px;
  overflow: hidden;
  border: 9px solid var(--surface);
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}

.hero__arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(24, 14, 6, 0.55) 100%);
}

.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}

.hero__arch:hover img { transform: scale(1.07); }

.hero__arch-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(145deg, rgba(255, 211, 106, 0.18), transparent 45%);
  pointer-events: none;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 15px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: floatY 6s ease-in-out infinite;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--gold-soft);
  color: var(--gold-3);
}

[data-theme="dark"] .float-card__icon { color: var(--gold-2); }
.float-card__icon .icon { width: 21px; height: 21px; }

.float-card strong { display: block; font-size: 0.92rem; line-height: 1.3; }
.float-card span { display: block; font-size: 0.75rem; color: var(--muted); }

.float-card--quality { top: 17%; right: -14px; }
.float-card--offer { bottom: 13%; left: -18px; animation-delay: -3s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.bee {
  position: absolute;
  z-index: 2;
  width: 44px;
  opacity: 0.9;
  filter: drop-shadow(0 8px 10px rgba(60, 34, 5, 0.25));
  pointer-events: none;
}

.bee--1 { top: 8%; left: 4%; animation: beeFly1 11s ease-in-out infinite; }
.bee--2 { bottom: 12%; right: 2%; width: 32px; animation: beeFly2 14s ease-in-out infinite; }

@keyframes beeFly1 {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  25% { transform: translate(-18px, 14px) rotate(6deg); }
  50% { transform: translate(8px, 26px) rotate(-4deg); }
  75% { transform: translate(20px, 6px) rotate(8deg); }
}

@keyframes beeFly2 {
  0%, 100% { transform: translate(0, 0) rotate(6deg); }
  33% { transform: translate(-24px, -18px) rotate(-8deg); }
  66% { transform: translate(-6px, -32px) rotate(4deg); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: start center;
  padding-top: 7px;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--gold);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, #1d1207, #3a2409 50%, #1d1207);
  border-block: 1px solid rgba(255, 211, 106, 0.18);
  padding: 14px 0;
  color: #f8e7c2;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee__track span {
  font-family: "El Messiri", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0.92;
}

.marquee__track i { color: var(--gold-2); font-style: normal; font-size: 0.8rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ---------- Perks ---------- */
.perks { padding: 46px 0 10px; }

.perks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.perk {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.perk:hover { transform: translateY(-4px); border-color: rgba(229, 165, 28, 0.4); box-shadow: var(--shadow); }

.perk__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--gold-soft), var(--surface-3));
  color: var(--gold-3);
}

[data-theme="dark"] .perk__icon { color: var(--gold-2); }
.perk__icon .icon { width: 24px; height: 24px; }

.perk h3 { font-size: 1.02rem; align-self: end; }
.perk p { font-size: 0.82rem; color: var(--muted); grid-column: 2; line-height: 1.55; }

/* ---------- Section base ---------- */
.section { padding: clamp(66px, 9vw, 110px) 0; position: relative; }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(34px, 5vw, 52px);
  text-align: center;
}

.section-head h2 { margin: 16px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Shop ---------- */
.shop { background: linear-gradient(180deg, transparent, var(--bg-2) 22%, var(--bg) 100%); }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: 34px;
}

.chip {
  padding: 9px 19px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}

.chip:hover { border-color: var(--gold); color: var(--gold-3); }
[data-theme="dark"] .chip:hover { color: var(--gold-2); }

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .chip.is-active { background: var(--gold); border-color: var(--gold); color: #24150a; }

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease,
    opacity 0.35s ease;
  animation: cardIn 0.5s var(--ease) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(229, 165, 28, 0.42);
}

.product.is-hidden { display: none; }

.product__media {
  position: relative;
  aspect-ratio: 4 / 3.6;
  overflow: hidden;
  background: var(--surface-2);
}

.jar {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 62%;
  transition: transform 0.7s var(--ease);
}

.jar--sidr { background-image: url("../img/honey-sidr.jpg"); }
.jar--jabali { background-image: url("../img/honey-jabali.jpg"); }
.jar--marar { background-image: url("../img/honey-marar.jpg"); }
.jar--sal { background-image: url("../img/photo-5.jpg"); background-position: center 55%; }
.jar--comb { background-image: url("../img/photo-8.jpg"); background-position: center 62%; }

.product:hover .jar { transform: scale(1.06); }

.product__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23, 14, 6, 0.22));
  pointer-events: none;
}

.badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #4a2f0c;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.5);
}

.badge--gold { background: linear-gradient(135deg, #ffd977, var(--gold)); color: #24150a; }
.badge--dark { background: rgba(26, 16, 7, 0.86); color: #ffe9b8; border-color: rgba(255, 211, 106, 0.3); }
.badge .icon { width: 13px; height: 13px; }

.quick {
  position: absolute;
  z-index: 2;
  top: 12px;
  inset-inline-end: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #2a1a0c;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.3s var(--ease);
}

.quick .icon { width: 18px; height: 18px; }
.product:hover .quick { opacity: 1; transform: none; }
.quick:hover { background: var(--gold); }

.product__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
  flex: 1;
}

.product__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.product__top h3 { font-size: 1.22rem; }

.product__price { color: var(--gold-3); font-weight: 800; font-size: 1.02rem; white-space: nowrap; }
[data-theme="dark"] .product__price { color: var(--gold-2); }
.product__price small { font-weight: 500; font-size: 0.72rem; color: var(--muted); }

.product__desc {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.product__sizes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }

.size-pill {
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.size-pill:hover { border-color: var(--gold); }
.size-pill.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #24150a;
}

.product__foot { display: flex; align-items: center; gap: 10px; margin-top: 4px; }

.add-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #d08c0e);
  color: #24150a;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 10px 22px -14px rgba(229, 165, 28, 0.95);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, filter 0.25s ease;
}

.add-btn .icon { width: 17px; height: 17px; }
.add-btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 28px -14px rgba(229, 165, 28, 1); }
.add-btn:active { transform: scale(0.97); }

.add-btn.is-added { background: #2f7d4f; color: #fff; }

.shop__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.shop__note .icon { width: 17px; height: 17px; color: var(--gold-3); }

/* ---------- Offer ---------- */
.offer { padding-top: 10px; }

.offer__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 130% at 92% 10%, rgba(255, 197, 78, 0.22), transparent 55%),
    linear-gradient(140deg, #241506, #150d05 70%);
  color: #fbf0dc;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 211, 106, 0.16);
}

.offer__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 32 4 18V2h48v16L28 32zm0 32L4 50V34h48v16L28 64zM4 82l24 14 24-14' fill='none' stroke='%23ffd36a' stroke-opacity='.4' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 96px;
  opacity: 0.16;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}

.offer__media { position: relative; min-height: 380px; }

.offer__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.offer__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 45%, #1b1005 100%);
}

.offer__stamp {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  display: grid;
  place-content: center;
  justify-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffd977, var(--gold));
  color: #24150a;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6);
  transform: rotate(-9deg);
}

.offer__stamp b { font-family: "El Messiri", sans-serif; font-size: 1.65rem; line-height: 1; }
.offer__stamp small { font-size: 0.72rem; font-weight: 700; }

.offer__body {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.offer__body h2 { color: #fff7e7; }
.offer__body p { color: rgba(251, 240, 220, 0.72); font-size: 0.98rem; max-width: 44ch; }

.offer__price { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.offer__price strong { font-family: "El Messiri", sans-serif; font-size: 2.7rem; color: var(--gold-2); line-height: 1; }
.offer__price s { color: rgba(251, 240, 220, 0.45); font-size: 1.2rem; }
.offer__unit { font-size: 0.82rem; color: rgba(251, 240, 220, 0.6); }

.countdown { display: flex; gap: 8px; margin: 6px 0 8px; }

.countdown > div {
  display: grid;
  justify-items: center;
  min-width: 62px;
  padding: 8px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 211, 106, 0.18);
  backdrop-filter: blur(4px);
}

.countdown b {
  font-family: "El Messiri", sans-serif;
  font-size: 1.5rem;
  line-height: 1.1;
  color: #fff3d6;
  font-variant-numeric: tabular-nums;
}

.countdown span { font-size: 0.66rem; color: rgba(251, 240, 220, 0.55); }

.offer__fine { font-size: 0.74rem !important; color: rgba(251, 240, 220, 0.45) !important; }

/* ---------- Story ---------- */
.story { overflow: hidden; }

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.story__media { position: relative; padding-bottom: 34px; padding-inline-end: 26px; }

.story__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }

.story__img--main { aspect-ratio: 0.86; border: 8px solid var(--surface); }
.story__img--side {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 52%;
  aspect-ratio: 1.05;
  border: 7px solid var(--surface);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  animation: floatY 7s ease-in-out infinite;
}

.story__badge {
  position: absolute;
  top: 26px;
  inset-inline-start: -14px;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px dashed rgba(229, 165, 28, 0.6);
  box-shadow: var(--shadow);
  color: var(--gold-3);
}

[data-theme="dark"] .story__badge { color: var(--gold-2); }
.story__badge span { font-family: "El Messiri", sans-serif; font-size: 1.35rem; font-weight: 700; line-height: 1; }
.story__badge small { font-size: 0.68rem; color: var(--muted); margin-top: 4px; }

.story__content h2 { margin: 16px 0 18px; }
.story__content p { color: var(--muted); margin-bottom: 14px; }

.check-list { display: grid; gap: 10px; margin: 22px 0 26px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink-2);
}

.check-list .icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-3);
  margin-top: 3px;
}

[data-theme="dark"] .check-list .icon { color: var(--gold-2); }
.check-list--small li { font-size: 0.88rem; }

.story__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Process ---------- */
.process { background: var(--bg-2); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}

.step:hover { transform: translateY(-6px); border-color: rgba(229, 165, 28, 0.35); }

.step__num {
  position: absolute;
  top: 18px;
  inset-inline-end: 20px;
  font-family: "El Messiri", sans-serif;
  font-size: 1.5rem;
  color: var(--line-strong);
  font-weight: 700;
}

.step__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--gold-soft), var(--surface-3));
  color: var(--gold-3);
  margin-bottom: 16px;
}

[data-theme="dark"] .step__icon { color: var(--gold-2); }
.step__icon .icon { width: 24px; height: 24px; }
.step h3 { font-size: 1.06rem; margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}

.shot {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.shot--big { grid-column: span 2; grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.4s ease; }
.shot:hover img { transform: scale(1.07); filter: brightness(0.86); }

.shot__zoom {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.shot__zoom .icon {
  width: 22px;
  height: 22px;
  padding: 12px;
  box-sizing: content-box;
  border-radius: 50%;
  background: rgba(26, 16, 7, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.shot:hover .shot__zoom { opacity: 1; }

.shot::after {
  content: attr(data-cap);
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(20, 12, 5, 0.75));
  color: #fff6e6;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s var(--ease);
  text-align: start;
}

.shot:hover::after { opacity: 1; transform: none; }

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.faq__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__intro h2 { margin: 16px 0 14px; }
.faq__intro p { color: var(--muted); margin-bottom: 22px; }

.faq__list { display: grid; gap: 12px; }

.faq-item {
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] { border-color: rgba(229, 165, 28, 0.4); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 18px; height: 18px; color: var(--gold-3); transition: transform 0.35s var(--ease); }
[data-theme="dark"] .faq-item summary .icon { color: var(--gold-2); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding: 0 20px 20px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; }

.contact__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(90% 130% at 10% 0%, rgba(255, 197, 78, 0.25), transparent 55%),
    linear-gradient(135deg, #2c1a07, #150d05 75%);
  color: #fbf0dc;
  border: 1px solid rgba(255, 211, 106, 0.18);
  box-shadow: var(--shadow-lg);
}

.contact__glow {
  position: absolute;
  width: 380px;
  height: 380px;
  bottom: -180px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 199, 74, 0.35), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.contact__body { position: relative; z-index: 2; }
.contact__body h2 { color: #fff8e9; margin: 16px 0 10px; }
.contact__body p { color: rgba(251, 240, 220, 0.7); max-width: 46ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.contact__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 211, 106, 0.15);
  font-size: 0.86rem;
  color: rgba(251, 240, 220, 0.7);
}

.contact__meta li, .contact__meta a { display: inline-flex; align-items: center; gap: 7px; }
.contact__meta .icon { width: 16px; height: 16px; color: var(--gold-2); }
.contact__meta a:hover { color: var(--gold-2); }

.contact__side { position: relative; z-index: 2; display: flex; justify-content: center; }

.hive-card {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 0.78;
  border-radius: 130px 130px 22px 22px;
  overflow: hidden;
  border: 6px solid rgba(255, 244, 224, 0.9);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease);
}

.hive-card:hover { transform: rotate(0) scale(1.02); }
.hive-card img { width: 100%; height: 100%; object-fit: cover; }

.hive-card__tag {
  position: absolute;
  bottom: 14px;
  inset-inline: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(25, 15, 6, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 211, 106, 0.25);
  color: #fdf1d6;
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.5;
}

.hive-card__tag b { color: var(--gold-2); font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer {
  background: #130c05;
  color: rgba(251, 240, 220, 0.72);
  padding-top: 62px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 80% 0%, rgba(229, 165, 28, 0.13), transparent 60%);
  pointer-events: none;
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 44px;
}

.brand--footer { margin-bottom: 14px; }
.brand--footer .brand__text strong { color: #fdf1d6; }
.brand--footer .brand__text small { color: rgba(251, 240, 220, 0.5); }

.footer__brand p { font-size: 0.9rem; max-width: 34ch; }
.footer__brand .socials { display: flex; gap: 8px; margin-top: 18px; }

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 211, 106, 0.22);
  color: #f6e3bd;
  transition: all 0.25s ease;
}

.socials a:hover { background: var(--gold); color: #24150a; border-color: var(--gold); transform: translateY(-2px); }
.socials .icon { width: 18px; height: 18px; }

.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col h3 {
  font-family: "Tajawal", sans-serif;
  font-size: 0.95rem;
  color: #fdf1d6;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.footer__col a, .footer__col p { font-size: 0.88rem; color: rgba(251, 240, 220, 0.62); transition: color 0.2s ease; }
.footer__col a:hover { color: var(--gold-2); }
.footer__col--contact p { display: flex; align-items: center; gap: 8px; }
.footer__col--contact .icon { width: 15px; height: 15px; color: var(--gold); }

.footer__pay {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 211, 106, 0.22);
  font-size: 0.74rem;
  color: rgba(251, 240, 220, 0.7);
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 211, 106, 0.12);
  font-size: 0.8rem;
  color: rgba(251, 240, 220, 0.45);
}

/* ---------- FAB ---------- */
.fab-stack {
  position: fixed;
  inset-inline-start: 20px;
  bottom: 20px;
  z-index: 700;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.fab .icon { width: 26px; height: 26px; }
.fab:hover { transform: translateY(-3px) scale(1.04); }

.fab--wa { background: #22c15e; }
.fab--wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(34, 193, 94, 0.6);
  animation: ring 2.4s ease-out infinite;
}

@keyframes ring {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(1.55); opacity: 0; }
}

.fab__tip {
  position: absolute;
  inset-inline-start: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.fab:hover .fab__tip { opacity: 1; transform: translateY(-50%); }

.fab--top {
  width: 42px;
  height: 42px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
}

.fab--top .icon { width: 20px; height: 20px; transform: rotate(180deg); }
.fab--top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Overlay ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 780;
  background: rgba(18, 10, 4, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- Cart drawer ---------- */
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 950;
  width: min(100%, 452px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-inline-end: 1px solid var(--line);
  box-shadow: 30px 0 80px -40px rgba(0, 0, 0, 0.5);
  transform: translateX(-104%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}

.drawer.is-open { transform: none; visibility: visible; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.drawer__eyebrow { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em; }
.drawer__head h2 { display: flex; align-items: center; gap: 9px; font-size: 1.45rem; }

.drawer__count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-3);
  font-family: "Tajawal", sans-serif;
  font-size: 0.82rem;
}

[data-theme="dark"] .drawer__count { color: var(--gold-2); }

.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 24px; }
.drawer__body::-webkit-scrollbar { width: 8px; }
.drawer__body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }

.cart-empty { display: grid; justify-items: center; gap: 8px; padding: 40px 10px; text-align: center; }
.cart-empty__art { width: 120px; color: var(--gold-3); margin-bottom: 6px; }
[data-theme="dark"] .cart-empty__art { color: var(--gold-2); }
.cart-empty h3 { font-size: 1.3rem; }
.cart-empty p { color: var(--muted); font-size: 0.9rem; max-width: 30ch; margin-bottom: 12px; }

.cart-list { display: grid; gap: 12px; }

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  animation: cardIn 0.35s var(--ease) both;
}

.cart-item__thumb {
  position: relative;
  width: 70px;
  height: 78px;
  border-radius: 13px;
  overflow: hidden;
  background: var(--surface-2);
}

.cart-item__thumb .jar { background-size: 300% auto; }

.cart-item__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-item__name { font-weight: 700; font-size: 0.94rem; line-height: 1.35; }
.cart-item__opt { font-size: 0.76rem; color: var(--muted); }
.cart-item__price { font-size: 0.82rem; font-weight: 700; color: var(--gold-3); }
[data-theme="dark"] .cart-item__price { color: var(--gold-2); }

.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 6px; }

.cart-remove {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: var(--muted);
  transition: all 0.2s ease;
}

.cart-remove:hover { background: #fbe4e2; color: #b23a2e; }
[data-theme="dark"] .cart-remove:hover { background: rgba(178, 58, 46, 0.2); color: #ff8f81; }
.cart-remove .icon { width: 16px; height: 16px; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2);
}

.qty button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-2);
  transition: background-color 0.2s ease;
}

.qty button:hover { background: var(--gold); color: #24150a; }
.qty input { width: 30px; height: 28px; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 0.85rem; }

.cart-summary {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.cart-summary__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 0.9rem; }
.cart-summary__row b { font-size: 0.98rem; }
.cart-summary__row--total { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-weight: 800; }
.cart-summary__row--total b { font-size: 1.25rem; color: var(--gold-3); }
[data-theme="dark"] .cart-summary__row--total b { color: var(--gold-2); }

.cart-summary__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--muted);
}

.cart-summary__note .icon { width: 15px; height: 15px; color: var(--gold-3); }

/* ---------- Order form ---------- */
.order-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.order-form__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.order-form__head h3 { font-size: 1.08rem; }
.order-form__head span { font-size: 0.72rem; color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-2); }
.field label i { color: #c94b3c; font-style: normal; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.75; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(229, 165, 28, 0.18);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.order-form__error { margin-top: 8px; color: #c94b3c; font-size: 0.82rem; font-weight: 700; }
[data-theme="dark"] .order-form__error { color: #ff9c8e; }

.drawer__foot {
  padding: 14px 22px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.drawer__foot .btn { justify-content: space-between; padding: 14px 20px; font-size: 0.95rem; }
.drawer__foot .btn b { font-size: 1.02rem; }
.drawer__fine { margin-top: 8px; font-size: 0.7rem; color: var(--muted); text-align: center; line-height: 1.5; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 960;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__card {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  width: min(100%, 900px);
  max-height: 90vh;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s var(--ease-spring);
}

.modal.is-open .modal__card { transform: none; }

.modal__close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.9);
  color: #2a1a0c;
  border: 0;
}

.modal__media { position: relative; min-height: 380px; background: var(--surface-2); }
.modal__media .jar { background-size: 300% auto; background-position: 50% 58%; }
.modal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 12, 5, 0.3));
}

.modal__body { padding: 32px; overflow-y: auto; }
.modal__body h2 { margin: 10px 0 8px; font-size: 1.9rem; }
.modal__desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.modal__sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.modal__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.modal__buy .btn { flex: 1; min-width: 190px; }
.modal__hint { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.76rem; color: var(--muted); }
.modal__hint .icon { width: 15px; height: 15px; color: var(--gold-3); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 980;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 10px;
  padding: 28px;
  background: rgba(12, 7, 2, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__figure { display: grid; justify-items: center; gap: 12px; max-height: 88vh; }
.lightbox__figure img { max-height: 78vh; max-width: 100%; border-radius: 14px; box-shadow: 0 30px 80px -30px #000; }
.lightbox__figure figcaption { color: rgba(255, 246, 230, 0.75); font-size: 0.9rem; }

.lightbox__close { position: absolute; top: 18px; inset-inline-end: 18px; background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.lightbox__nav { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.2); width: 46px; height: 46px; }
.lightbox__nav:hover { background: var(--gold); color: #24150a; }
.lightbox__nav--prev .icon { transform: rotate(90deg); }
.lightbox__nav--next .icon { transform: rotate(90deg); }

/* ---------- Display panel ---------- */
.display-panel {
  position: fixed;
  top: 88px;
  left: 24px;
  z-index: 970;
  width: min(92vw, 340px);
  padding: 20px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateY(-14px) scale(0.97);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.display-panel.is-open { transform: none; opacity: 1; visibility: visible; }

.display-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.display-panel__head h2 { font-size: 1.18rem; }
.display-panel__head p { font-size: 0.76rem; color: var(--muted); margin-top: 3px; }
.display-panel__head .icon-btn { width: 34px; height: 34px; }

.display-panel__group { padding: 14px 0; border-top: 1px solid var(--line); }
.display-panel__group:first-of-type { border-top: 0; padding-top: 0; }
.display-panel__label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.88rem; font-weight: 700; margin-bottom: 10px; }
.display-panel__label span { display: inline-flex; align-items: center; gap: 7px; }
.display-panel__label .icon { width: 17px; height: 17px; color: var(--gold-3); }
[data-theme="dark"] .display-panel__label .icon { color: var(--gold-2); }
.display-panel__label b { color: var(--gold-3); font-variant-numeric: tabular-nums; }
[data-theme="dark"] .display-panel__label b { color: var(--gold-2); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold) var(--range, 55%), var(--surface-3) var(--range, 55%));
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }

.range-hint { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--muted); margin-top: 6px; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.switch-row__text strong { display: block; font-size: 0.88rem; }
.switch-row__text small { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

.switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--surface-3);
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--ease-spring);
}

.switch input:checked + i { background: linear-gradient(135deg, #ffd977, var(--gold)); }
.switch input:checked + i::after { transform: translateX(-20px); }

.segmented { display: flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--surface-2); }
.segmented button { flex: 1; padding: 8px; border-radius: 9px; font-size: 0.82rem; font-weight: 700; color: var(--muted); transition: all 0.25s ease; }
.segmented button.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Layers ---------- */
.brightness-layer, .night-layer {
  position: fixed;
  inset: 0;
  z-index: 9950;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.brightness-layer { background: #000; mix-blend-mode: normal; }
.night-layer { background: #ff9d3c; mix-blend-mode: multiply; }

/* ---------- Toasts ---------- */
.toasts {
  position: fixed;
  z-index: 10000;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(92vw, 420px);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: toastIn 0.4s var(--ease-spring);
}

.toast .icon { width: 19px; height: 19px; color: var(--gold-2); }
.toast--success { background: #1f6b43; color: #fff; }
.toast--success .icon { color: #b8ffd4; }
.toast.is-out { animation: toastOut 0.35s ease forwards; }

@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(0.98); } }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 9px; font-size: 0.88rem; }
  .hero__inner { grid-template-columns: 1fr 0.92fr; }
  .float-card--quality { right: -4px; }
  .float-card--offer { left: -4px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .hero { padding-top: calc(var(--header-h) + 26px); }
  .hero__inner { grid-template-columns: 1fr; gap: 38px; }
  .hero__content { max-width: none; text-align: center; }
  .hero__cta, .hero__stats { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero__media { order: -1; }
  .hero__arch { width: min(78vw, 360px); aspect-ratio: 0.88; }
  .hero__stats li { padding-inline: 18px; }
  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 520px; margin-inline: auto; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; text-align: center; }
  .faq__intro .eyebrow { margin-inline: auto; }
  .offer__card { grid-template-columns: 1fr; }
  .offer__media { min-height: 260px; }
  .offer__media::after { background: linear-gradient(180deg, transparent 40%, #1b1005 100%); }
  .offer__stamp { top: auto; bottom: 16px; left: 16px; }
  .offer__body { padding-top: 26px; }
  .contact__card { grid-template-columns: 1fr; }
  .contact__side { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .shot--big { grid-column: span 2; grid-row: span 1; }
  .display-panel { left: 16px; }
}

@media (max-width: 700px) {
  :root { --header-h: 68px; }
  .container { width: calc(100% - 32px); }
  .brand__mark { width: 42px; height: 42px; border-radius: 13px; }
  .brand__mark img { width: 31px; height: 31px; }
  .brand__text strong { font-size: 1rem; }
  .brand__text small { font-size: 0.65rem; }
  .cart-btn__label { display: none; }
  .cart-btn { padding: 0 12px; gap: 6px; }
  .header__actions { gap: 6px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn .icon { width: 18px; height: 18px; }
  .hero { padding-bottom: 46px; }
  h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .hero__stats { gap: 0; margin-top: 28px; }
  .hero__stats strong { font-size: 1.3rem; }
  .hero__stats span { font-size: 0.7rem; }
  .float-card { padding: 9px 11px; border-radius: 14px; }
  .float-card__icon { width: 34px; height: 34px; border-radius: 11px; }
  .float-card strong { font-size: 0.8rem; }
  .float-card span { font-size: 0.66rem; }
  .float-card--quality { top: 10%; right: -6px; }
  .float-card--offer { bottom: 6%; left: -6px; }
  .products { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .shot--big { grid-column: span 2; grid-row: span 1; }
  .perks__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .drawer { width: 100%; }
  .modal { padding: 10px; }
  .modal__card { grid-template-columns: 1fr; max-height: 94vh; overflow-y: auto; }
  .modal__media { min-height: 240px; }
  .modal__body { padding: 22px; }
  .lightbox { grid-template-columns: 40px 1fr 40px; padding: 12px; gap: 4px; }
  .lightbox__nav { width: 36px; height: 36px; }
  .fab-stack { inset-inline-start: 14px; bottom: 14px; }
  .fab { width: 48px; height: 48px; }
  .fab .icon { width: 23px; height: 23px; }
  .fab--top { width: 38px; height: 38px; }
  .toasts { bottom: 84px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .offer__body { padding: 24px 20px 28px; }
  .offer__price strong { font-size: 2.2rem; }
  .countdown > div { min-width: 54px; }
  .contact__actions .btn { width: 100%; }
}

@media (max-width: 400px) {
  .hero__stats { flex-direction: column; gap: 12px; align-items: center; }
  .hero__stats li { border: 0; padding: 0; }
  .header__actions .icon-btn:first-child { display: none; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

