:root {
  --green: #2f5d2e;
  --green-dark: #1f3f1f;
  --leaf: #6aa84f;
  --orange: #f08a24;
  --red: #e2483a;
  --brown: #8b5e34;
  --cream: #fbf7ec;
  --paper: #ffffff;
  --ink: #1f2a1f;
  --muted: #5b6b5b;
  --line: #e6dfcc;
  --wa: #25d366;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
.num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.draft-bar {
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 10px 16px;
  background: rgba(251, 247, 236, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 112px; height: 112px; border-radius: 18px; }
@media (min-width: 760px) { .brand img { width: 140px; height: 140px; } }
.brand-name { font-weight: 800; font-size: 20px; color: var(--green); }
.lang {
  margin-inline-start: auto;
  font: inherit; font-weight: 700; font-size: 15px;
  background: var(--paper); color: var(--green);
  border: 1.5px solid var(--green); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
}


/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  border-radius: 999px; font-weight: 700; font-size: 17px;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .35); }
.btn-wa:hover { box-shadow: 0 8px 24px rgba(37, 211, 102, .45); }
.btn-ghost { background: var(--paper); color: var(--green); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--green); }
.btn-wide { width: 100%; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero {
  display: grid; gap: 28px;
  padding: 32px 16px 24px;
  max-width: 1120px; margin: 0 auto;
}
.eyebrow { color: var(--brown); font-weight: 700; margin: 0 0 8px; }
.hero h1 { font-size: clamp(32px, 7vw, 52px); font-weight: 800; color: var(--green); }
.lead { font-size: 19px; color: var(--muted); margin: 14px 0 0; max-width: 34ch; }
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(31, 63, 31, .18);
}
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; padding-top: 56px; padding-bottom: 48px; }
}

/* Promises */
.promises {
  display: grid; gap: 12px;
  padding: 8px 16px 8px;
  max-width: 1120px; margin: 0 auto;
}
.promise {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
}
.promise .icon { grid-row: span 2; font-size: 30px; }
.promise h3 { font-size: 18px; color: var(--green); }
.promise p { margin: 2px 0 0; color: var(--muted); }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(3, 1fr); } }

/* Sections */
.section { max-width: 1120px; margin: 0 auto; padding: 48px 16px; }
.section h2 { font-size: clamp(26px, 5vw, 36px); color: var(--green); font-weight: 800; }
.section-lead { color: var(--muted); margin: 8px 0 0; }

/* Order */
.order { background: var(--paper); border-radius: 28px; margin: 0 16px; padding: 40px 20px; }
@media (min-width: 1152px) { .order { margin: 0 auto; padding: 48px 40px; } }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.step-n {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 800; font-size: 18px;
}
.steps h3 { font-size: 18px; }
.steps p { margin: 2px 0 0; color: var(--muted); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } .btn-wide { width: auto; } }

/* Visit */
.visit { display: grid; gap: 24px; align-items: center; }
.visit address { font-style: normal; font-size: 18px; margin-top: 12px; }
.hours { color: var(--muted); margin: 8px 0 0; }
.sign { width: 100%; border-radius: var(--radius); }
@media (min-width: 860px) { .visit { grid-template-columns: 1fr 1.2fr; } }

/* Footer */
.foot {
  text-align: center; padding: 32px 16px 96px;
  border-top: 1px solid var(--line); color: var(--muted);
}
.foot img { margin: 0 auto 8px; border-radius: 10px; }
.foot p { margin: 4px 0; }
.small { font-size: 14px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 20;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* Products */
.search-wrap { margin-top: 20px; }
.search {
  width: 100%; font: inherit; font-size: 17px;
  padding: 12px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper);
}
.search:focus { outline: none; border-color: var(--green); }
.grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px;
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card-img {
  aspect-ratio: 1; background: #f3efe2; display: grid; place-items: center;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .ph { width: 50%; height: auto; object-fit: contain; opacity: .5; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--green-dark); }
.card-sub { font-size: 13px; color: var(--muted); margin-top: -4px; }
.card-actions { margin-top: auto; }
.add-btn {
  width: 100%; min-height: 42px; font: inherit; font-weight: 700; font-size: 15px;
  border: 0; border-radius: 999px; background: var(--green); color: #fff; cursor: pointer;
}
.stepper {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  border: 1.5px solid var(--green); border-radius: 999px; padding: 3px;
}
.stepper button {
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: var(--green); color: #fff; font-size: 20px; font-weight: 700; cursor: pointer;
}
.stepper .qty { font-weight: 700; font-size: 15px; text-align: center; flex: 1; }
.empty { margin-top: 20px; padding: 20px; background: var(--paper); border-radius: var(--radius); border: 1px dashed var(--line); }

/* Basket button */
.basket-fab {
  position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 20;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 56px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--green); color: #fff; font: inherit; font-weight: 800; font-size: 17px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22); cursor: pointer;
}
.badge {
  min-width: 26px; height: 26px; border-radius: 13px; padding: 0 7px;
  display: grid; place-items: center; background: var(--orange); font-size: 14px;
}

/* Basket sheet */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 30; }
.sheet {
  position: fixed; z-index: 31; inset-inline: 0; bottom: 0;
  max-height: 92vh; overflow-y: auto;
  background: var(--cream); border-radius: 24px 24px 0 0;
  padding: 16px 16px 28px; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2);
}
@media (min-width: 760px) {
  .sheet { inset-inline: auto 0; inset-block: 0; width: 440px; max-height: none; border-radius: 0; }
  html[dir="rtl"] .sheet { inset-inline: auto 0; }
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-head h2 { color: var(--green); font-size: 24px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 18px; cursor: pointer; }
.basket-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.basket-list li {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px;
}
.basket-list .bname { flex: 1; font-weight: 700; line-height: 1.3; }
.basket-list .stepper { flex: none; width: 150px; }
.basket-list .remove { border: 0; background: none; color: var(--red); font-size: 20px; cursor: pointer; }
.basket-empty { color: var(--muted); }
.order-form { display: grid; gap: 12px; margin-top: 20px; }
.order-form h3 { color: var(--green); }
.order-form label { display: grid; gap: 4px; font-weight: 500; }
.order-form input:not([type=radio]), .order-form textarea {
  font: inherit; font-size: 16px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); width: 100%;
}
.order-form input:focus, .order-form textarea:focus { outline: none; border-color: var(--green); }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choice label { display: flex; align-items: center; gap: 6px; }
.form-error { color: var(--red); font-weight: 700; margin: 0; }

/* Section tabs */
.tabs {
  flex-basis: 100%;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px -10px; padding: 0 16px 10px;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 9px 16px; border-radius: 999px;
  color: var(--green-dark); background: var(--paper); border: 1.5px solid var(--line);
}
.tabs a[aria-selected="true"] { background: var(--green); color: #fff; border-color: var(--green); }
@media (max-width: 480px) {
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .tabs a { padding: 8px 2px; font-size: 14px; text-align: center; white-space: nowrap; }
}
@media (min-width: 760px) { .tabs { justify-content: center; } }
.panel[hidden] { display: none !important; }
.panel { min-height: 50vh; }
.btn-shop { background: var(--green); color: #fff; }

/* Category tabs */
.cats-bar {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 16px -16px 0; padding: 2px 16px 4px;
}
.cats-bar::-webkit-scrollbar { display: none; }
.cats-bar button {
  flex: none; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  padding: 8px 14px; border-radius: 999px;
  background: var(--paper); color: var(--green-dark); border: 1.5px solid var(--line);
}
.cats-bar button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.cats-bar .n { opacity: .7; font-weight: 500; margin-inline-start: 4px; }
.btn-more { display: flex; margin: 20px auto 0; }

/* Privacy page */
.legal { max-width: 760px; }
.legal h1 { color: var(--green); font-size: clamp(28px, 6vw, 38px); }
.legal h2 { color: var(--green-dark); font-size: 21px; margin-top: 24px; }
.legal li { margin: 6px 0; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.foot a { color: var(--green); }

/* Payment */
.pay { margin-top: 24px; }
.pay h3 { color: var(--green); }
.pay ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; }
.choice legend { font-weight: 500; padding: 0; margin-bottom: 4px; width: 100%; }
