:root {
  --green: #161311;
  --green-2: #8d7044;
  --mint: #f3eadc;
  --cream: #f3eee6;
  --paper: #f6f3ee;
  --gold: #8d7044;
  --ink: #161311;
  --muted: #6e655c;
  --line: #e3d9cc;
  --white: #fff;
  --shadow: 0 18px 48px rgba(22, 19, 17, 0.08);
  --header: 72px;
  font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.skip-link {
  position: fixed; top: -60px; inset-inline-start: 16px; z-index: 100;
  background: #fff; padding: 12px 18px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }

.announcement {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 8px 22px; min-height: 38px; padding: 8px 16px;
  background: var(--green); color: #fff; font-size: 0.86rem; font-weight: 700;
}
.announcement span + span::before { content: "•"; margin-inline-end: 22px; color: #c6b48a; }

.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(16px, calc((100% - 1160px) / 2));
  background: rgba(246, 243, 238, 0.94); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; white-space: nowrap; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand strong { color: var(--green-2); }
.site-nav { display: flex; align-items: center; gap: 26px; color: #3e4c45; font-weight: 700; }
.site-nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--green); font-weight: 800; cursor: pointer;
}
.nav-toggle__bars { width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }

.btn, .header-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 18px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800;
}
.btn:hover, .header-cta:hover { background: #2c2622; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid #d8cdbf; }

.hero { padding: 48px 0 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); gap: 40px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--green-2); font-weight: 800; font-size: 0.86rem; }
h1, h2, h3 { line-height: 1.25; }
.hero h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 4vw, 3.15rem); letter-spacing: -0.03em; }
.hero h1 span { color: var(--green-2); }
.hero-lead { margin: 0; max-width: 38rem; color: var(--muted); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.hero-trust { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.hero-trust strong { display: block; color: var(--green); font-size: 1rem; }
.hero-trust span { color: var(--muted); font-size: 0.82rem; }

.store-search label { display: block; margin-bottom: 6px; font-weight: 800; font-size: 0.9rem; }
.store-search div { display: flex; gap: 8px; }
.store-search input {
  flex: 1; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 16px;
}
.store-search button { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 800; }
#searchStatus { min-height: 1.4em; margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; }

.store-slider { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.store-slide { display: none; grid-template-columns: 1fr 1fr; min-height: 100%; }
.store-slide.is-active { display: grid; }
.store-slide__media, .product-media {
  position: relative; aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden;
}
.store-slide__media img, .product-media img {
  position: absolute; inset: 7%; width: 86%; height: 86%; max-width: none;
  object-fit: contain; object-position: center;
}
.store-slide__content { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px; }
.store-slide__content small, .kicker { color: var(--green-2); font-weight: 800; font-size: 0.8rem; }
.store-slide__content strong { font-size: 1.35rem; line-height: 1.35; }
.store-slide__content b { color: var(--green); font-size: 1.4rem; }
.store-slide__content em { display: block; margin-top: 6px; color: var(--gold); font-style: normal; font-weight: 800; font-size: 0.92rem; }
.slider-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.slider-arrows, .slider-dots { display: flex; align-items: center; gap: 8px; }
.slider-arrows button, .slider-dots button {
  min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 1.2rem;
}
.slider-dots button { width: 10px; min-width: 10px; height: 10px; min-height: 10px; padding: 0; }
.slider-dots button.is-active { background: var(--green); border-color: var(--green); }
.slider-footer p { margin: 0; color: var(--muted); font-size: 0.82rem; font-weight: 700; }

.section { padding: 64px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2, .why-copy h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-heading p { max-width: 420px; margin: 0; color: var(--muted); }
.center { text-align: center; }
.center .section-heading, .center .eyebrow { justify-content: center; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.product-card:hover { box-shadow: var(--shadow); }
.product-media { display: block; }
.badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 1;
  padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--green); font-size: 0.75rem; font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.product-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 16px 18px; }
.product-body h3 { margin: 0; font-size: 1.12rem; }
.product-body h3 a:hover { color: var(--green-2); }
.product-body > p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { margin: 0; color: var(--green); font-weight: 800; }
.price b { font-size: 1.45rem; }
.price s { display: block; color: #8d968f; font-size: 0.78rem; font-weight: 500; }
.cod { margin: 0; color: var(--green-2); font-size: 0.8rem; font-weight: 800; }
.empty-products { margin: 18px 0 0; padding: 18px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; color: var(--muted); }

.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.category-card {
  min-height: 84px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  text-align: start; cursor: pointer; color: inherit;
}
.category-card span, .category-card small { display: block; }
.category-card span { font-weight: 800; }
.category-card small { margin-top: 4px; color: var(--muted); }
.category-card.active { background: var(--green); border-color: var(--green); color: #fff; }
.category-card.active small { color: #e6d7bc; }

.why { background: var(--green); color: #fff; }
.why-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: center; }
.why .eyebrow { color: #e4d0a8; }
.why-copy p { color: #e7e1d8; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.benefit-grid article { padding: 18px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; background: rgba(255, 255, 255, 0.05); }
.benefit-grid span { color: #e2c27a; font-weight: 800; }
.benefit-grid h3 { margin: 6px 0; font-size: 1.05rem; }
.benefit-grid p { margin: 0; color: #e7e1d8; font-size: 0.92rem; }

.steps { background: var(--cream); }
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 24px; padding: 0; }
.steps li { display: flex; gap: 12px; padding: 18px; background: #fff; border: 1px solid #ece6da; border-radius: 16px; text-align: start; }
.steps li > span {
  flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-weight: 800;
}
.steps h3 { margin: 0 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { margin: 10px 0 0; color: var(--muted); }

.site-footer { padding: 40px 0 24px; background: #100e0c; color: #e7e1d8; text-align: center; }
.site-footer .brand { justify-content: center; color: #fff; margin-bottom: 8px; }
.site-footer .brand strong { color: #d4bc8a; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin: 18px 0; }
.site-footer small { display: block; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #b7aa9a; }

.mobile-bottom-nav {
  display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(246, 243, 238, 0.96); border-top: 1px solid var(--line); backdrop-filter: blur(12px);
}
.mobile-bottom-nav a { flex: 1; min-height: 44px; display: grid; place-items: center; font-size: 0.82rem; font-weight: 800; color: var(--muted); }
.mobile-bottom-nav a[aria-current="page"] { color: var(--green); }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(10px); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.45s ease; }

@media (max-width: 980px) {
  .hero-grid, .why-grid, .steps ol { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 14px;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
}

@media (max-width: 680px) {
  .announcement { font-size: 0.78rem; gap: 4px 12px; }
  .announcement span:last-child { display: none; }
  .hero { padding-top: 28px; }
  .hero-trust { grid-template-columns: 1fr; }
  .store-slide.is-active { grid-template-columns: 1fr; }
  .store-slide__media { aspect-ratio: 1 / 1; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 8px; }
  .product-grid, .benefit-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .product-meta { align-items: center; }
  .slider-footer { flex-wrap: wrap; }
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
