/* =============================================================
   ICE CREAM Yummy — Stylesheet
   ─────────────────────────────────────────────────────────────
   Brand colors and design tokens are defined as CSS variables
   below. Edit them in :root if you ever want to change colors.
   ============================================================= */

:root {
  --orange: #E8843E;
  --purple: #C49CCF;
  --brown: #3D2817;
  --cream: #FFF6EC;
  --green: #25D366;
  --green-dark: #20b358;
  --grey-200: #e5e7eb;
  --grey-300: #d1d5db;
  --grey-500: #6b7280;
  --grey-700: #374151;
  --amber-50: #fffbeb;
  --amber-200: #fde68a;
  --amber-700: #b45309;
  --rose-100: #ffe4e6;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; cursor: pointer; }

.font-arabic, [lang="ar"] {
  font-family: "Cairo", "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 132, 62, 0.15);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 12px;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--brown);
}
.site-header .brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.site-header .brand-text { display: inline-flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.site-header .brand-text-en { white-space: nowrap; }
.site-header .brand-text-ar { color: var(--orange); font-size: 14px; font-weight: 700; }

/* Hamburger toggle — hidden on desktop, shown on phones via media query below. */
.site-header .nav-toggle {
  display: none;
  background: transparent; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  flex-direction: column; justify-content: space-between;
  border-radius: 10px; flex-shrink: 0;
}
.site-header .nav-toggle:hover { background: rgba(232, 132, 62, 0.1); }
.site-header .nav-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.site-header .nav-toggle-bar {
  display: block; height: 3px; width: 24px; background: var(--brown);
  border-radius: 2px; transition: transform .2s, opacity .2s;
}
.site-header.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header .primary-nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.site-header .primary-nav a {
  color: var(--brown);
  font-weight: 600;
  font-size: 14px;
  padding: 6px 4px;
  white-space: nowrap;
}
.site-header .primary-nav a:hover { color: var(--orange); text-decoration: none; }
.site-header .order-btn {
  background: var(--green);
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.site-header .order-btn:hover { background: var(--green-dark); text-decoration: none; }

/* ── Mobile header (≤ 720px): hamburger drawer ─────────────── */
@media (max-width: 720px) {
  .site-header .inner { padding: 12px 16px; gap: 8px; }
  .site-header .brand { font-size: 16px; gap: 8px; min-width: 0; flex: 1; }
  .site-header .brand img { width: 34px; height: 34px; }
  .site-header .brand-text-en { font-size: 16px; overflow: hidden; text-overflow: ellipsis; }
  .site-header .brand-text-ar { font-size: 12px; }
  .site-header .nav-toggle { display: flex; }
  .site-header .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 246, 236, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(232, 132, 62, 0.2);
    box-shadow: 0 8px 18px rgba(45, 25, 8, 0.08);
    padding: 8px 16px 16px;
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease, padding .25s ease;
    pointer-events: none;
  }
  .site-header.is-open .primary-nav {
    max-height: 480px; pointer-events: auto;
  }
  .site-header .primary-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(232, 132, 62, 0.12);
    font-size: 16px; text-align: left;
  }
  .site-header .primary-nav a:last-child { border-bottom: none; }
  .site-header .order-btn {
    margin-top: 10px;
    justify-content: center;
    padding: 14px 18px;
    font-size: 15px;
    border-bottom: none !important;
  }
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--cream), #fffaf3);
}
.hero .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero .grid { grid-template-columns: 1.1fr 1fr; gap: 60px; }
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  margin: 12px 0;
  color: var(--brown);
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .accent-purple { color: var(--purple); }
.hero .tagline-ar {
  font-size: 28px;
  color: var(--purple);
  margin: 18px 0;
}
.hero .badge {
  display: inline-block;
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--grey-700);
  margin-bottom: 8px;
}
.hero .lead {
  font-size: 17px;
  color: var(--grey-700);
  max-width: 540px;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--orange);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-md);
  transition: transform .15s, background .15s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-primary:hover { background: #d3722c; transform: translateY(-1px); text-decoration: none; }
.btn-outline {
  background: white;
  color: var(--brown);
  border: 1px solid var(--grey-200);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }

.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--rose-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Section Heading ────────────────────────────────────── */
.section { padding: 70px 0; }
.section.alt { background: linear-gradient(180deg, var(--cream), #fdf1e0); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .eyebrow {
  display: inline-block;
  background: rgba(37,211,102,0.12);
  color: #047857;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 6px 0;
  font-weight: 900;
  color: var(--brown);
}
.section-head .ar { color: var(--orange); font-size: 22px; margin: 4px 0; }
.section-head p { color: var(--grey-500); max-width: 600px; margin: 8px auto 0; }

/* ─── Flavors grid ───────────────────────────────────────── */
.flavors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.flavor-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-200);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.flavor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.flavor-card.in-cart { border-color: var(--green); box-shadow: 0 0 0 3px rgba(37,211,102,0.18), var(--shadow-md); }
.flavor-card .popular-tag {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  transform: rotate(8deg);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.flavor-card .flavor-image-wrap {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  background: var(--cream);
}
.flavor-card .flavor-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.flavor-card:hover .flavor-image-wrap img { transform: scale(1.05); }
.flavor-card .name { font-size: 18px; font-weight: 800; text-align: center; margin: 0; color: var(--brown); }
.flavor-card .name-ar { font-size: 15px; color: var(--orange); text-align: center; margin: 2px 0 6px; }
.flavor-card .unit { font-size: 12px; color: var(--grey-500); text-align: center; margin-bottom: 8px; }
.flavor-card .desc { font-size: 13px; color: var(--grey-500); text-align: center; line-height: 1.5; min-height: 38px; }

.flavor-card .actions { margin-top: 16px; }
.flavor-card .add-btn {
  width: 100%;
  background: var(--orange);
  color: white;
  border: none;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: opacity .15s;
}
.flavor-card .add-btn:hover { opacity: .92; }
.flavor-card .qty-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(37,211,102,0.08);
  border: 2px solid var(--green);
  border-radius: var(--radius-md);
  padding: 6px;
}
.flavor-card .qty-controls button {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--green);
  background: white;
  color: var(--green);
  font-size: 18px; font-weight: 800;
}
.flavor-card .qty-controls button.plus { background: var(--green); color: white; border-color: var(--green); }
.flavor-card .qty-controls button:hover { opacity: .9; }
.flavor-card .qty-num { font-size: 18px; font-weight: 900; color: var(--green); }
.flavor-card .qty-label { font-size: 10px; color: var(--grey-500); display:block; text-align:center; }

.flavor-card.unavailable { opacity: 0.55; }
.flavor-card.unavailable .add-btn { background: var(--grey-300); color: var(--grey-700); cursor: not-allowed; }

/* ─── Order section ──────────────────────────────────────── */
.order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .order-grid { grid-template-columns: 2fr 3fr; }
}

.contact-card, .order-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-200);
}
.contact-card h3 { margin: 0 0 18px; font-size: 18px; }
.contact-card .item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 18px; text-decoration: none; color: inherit;
}
.contact-card .item:last-child { margin-bottom: 0; }
.contact-card .item .icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(196,156,207,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.contact-card .item .label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--grey-500); }
.contact-card .item .value { font-weight: 700; color: var(--brown); font-size: 14px; }
.contact-card .item:hover .value { color: var(--orange); }

.whatsapp-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--green); color: white;
  padding: 14px; border-radius: var(--radius-md);
  font-weight: 800; box-shadow: var(--shadow-md); margin-top: 16px;
  text-decoration: none;
}
.whatsapp-btn:hover { background: var(--green-dark); text-decoration: none; }

.order-form-card h3 { margin: 0 0 4px; font-size: 18px; }
.order-form-card .subtitle { color: var(--grey-500); font-size: 13px; margin: 0 0 18px; }

.cart-summary {
  border: 2px solid var(--orange);
  background: rgba(232,132,62,0.06);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
  transition: background .2s, border-color .2s;
}
.cart-summary.empty {
  border-color: var(--amber-200);
  background: var(--amber-50);
}
.cart-summary .head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-weight: 800; font-size: 14px;
}
.cart-summary .empty-msg { color: var(--amber-700); font-size: 14px; margin: 0; }
.cart-summary ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cart-summary li {
  display: flex; align-items: center; gap: 10px;
  background: white; border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm); padding: 8px 10px;
}
.cart-summary li .emoji { font-size: 22px; }
.cart-summary li .info { flex: 1; min-width: 0; }
.cart-summary li .info .nm { font-size: 13px; font-weight: 700; }
.cart-summary li .info .un { font-size: 11px; color: var(--grey-500); }
.cart-summary li .qty-mini { display: flex; gap: 4px; align-items: center; background: rgba(232,132,62,0.12); border-radius: 10px; padding: 4px; }
.cart-summary li .qty-mini button {
  width: 26px; height: 26px; border-radius: 8px; border: none;
  background: white; color: var(--orange); font-weight: 800;
}
.cart-summary li .qty-mini button.plus { background: var(--orange); color: white; }
.cart-summary li .qty-mini .num { width: 24px; text-align: center; font-weight: 800; color: var(--orange); }
.cart-summary li .trash { background: none; border: none; color: var(--grey-500); padding: 4px; }
.cart-summary li .trash:hover { color: #dc2626; }
.cart-summary .total-row {
  border-top: 1px solid rgba(232,132,62,0.3);
  margin-top: 10px; padding-top: 10px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700;
}
.cart-summary .total-row .total-num { font-size: 16px; font-weight: 900; color: var(--orange); }
.cart-summary .totals-block { margin-top: 6px; }
.cart-summary .money-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0;
  font-size: 13px;
  color: var(--grey-700);
}
.cart-summary .money-row.grand {
  border-top: 2px solid var(--orange);
  margin-top: 8px;
  padding-top: 10px;
  font-size: 17px;
  font-weight: 900;
  color: var(--orange);
}

/* Flavor card price */
.flavor-card .price {
  text-align: center;
  margin: 4px 0 8px;
  font-weight: 800;
  color: var(--orange);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  line-height: 1.3;
}
.flavor-card .price .price-num { font-size: 22px; font-weight: 900; color: var(--brown); }
.flavor-card .price .price-cur { font-size: 13px; color: var(--orange); }
.flavor-card .price .price-vat {
  flex-basis: 100%;
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-500);
  margin-top: 2px;
}

/* /invoice page — "PREVIEW / معاينة" banner (only shown when inv=INV-PREVIEW). */
.preview-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  background: #fff7ed;
  border: 2px dashed var(--orange);
  color: #7c2d12;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.45;
}
.preview-banner-tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}
.preview-banner-text { flex: 1 1 220px; }
/* CSS `display:flex` overrides the user-agent rule for [hidden]; restore it. */
.preview-banner[hidden] { display: none; }

/* Diagonal "PREVIEW · معاينة" watermark stamped across the printable invoice
   card whenever the page is in preview mode (body[data-preview="true"]).
   Designed to survive black-and-white printing — uses outline-stroke for
   modern Chromium/WebKit AND a layered text-shadow as a Firefox-safe
   fallback (Firefox does not reliably render -webkit-text-stroke). */
body[data-preview="true"] #preview { position: relative; overflow: hidden; }
body[data-preview="true"] #preview::before {
  content: "PREVIEW · معاينة · NOT A FINAL INVOICE";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-22deg);
  transform-origin: center;
  font-size: clamp(36px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: .08em;
  color: rgba(232, 132, 62, 0.20);          /* faint orange so it doesn't drown the data */
  -webkit-text-stroke: 1.5px rgba(124, 45, 18, 0.30); /* outline for Chromium/WebKit */
  /* Firefox fallback: 8-direction text-shadow simulates a thin outline. */
  text-shadow:
    -1px -1px 0 rgba(124, 45, 18, 0.22), 1px -1px 0 rgba(124, 45, 18, 0.22),
    -1px  1px 0 rgba(124, 45, 18, 0.22), 1px  1px 0 rgba(124, 45, 18, 0.22),
    -1px  0   0 rgba(124, 45, 18, 0.22), 1px  0   0 rgba(124, 45, 18, 0.22),
     0  -1px  0 rgba(124, 45, 18, 0.22), 0   1px  0 rgba(124, 45, 18, 0.22);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
  text-transform: uppercase;
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
/* Keep the actual invoice content above the watermark. */
body[data-preview="true"] #preview > * { position: relative; z-index: 2; }
@media print {
  /* Force the watermark to print (browsers strip background colours and
     faint text by default). Strengthen the colour and outline so it's
     visible on monochrome / draft prints, including Firefox where
     text-stroke isn't reliable. */
  body[data-preview="true"] #preview::before {
    color: rgba(124, 45, 18, 0.45);
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.45);
    text-shadow:
      -1.5px -1.5px 0 rgba(0, 0, 0, 0.40), 1.5px -1.5px 0 rgba(0, 0, 0, 0.40),
      -1.5px  1.5px 0 rgba(0, 0, 0, 0.40), 1.5px  1.5px 0 rgba(0, 0, 0, 0.40);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
@media print {
  /* Make the watermark survive printing so a preview cannot be passed off as a final invoice. */
  .preview-banner {
    background: #fff;
    border: 2px dashed #d97706;
    color: #7c2d12;
    page-break-inside: avoid;
  }
  .preview-banner-tag { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Order form — "Preview Tax Invoice" button (above the green WhatsApp send) */
.preview-invoice-btn {
  display: block;
  width: 100%;
  background: #fff;
  color: var(--orange);
  border: 2px solid var(--orange);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  margin: 6px 0 8px;
  transition: background .15s, color .15s, transform .1s;
  font-family: inherit;
  line-height: 1.3;
}
.preview-invoice-btn:hover:not(:disabled) {
  background: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}
.preview-invoice-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.preview-help {
  font-size: 12px;
  color: var(--grey-500);
  text-align: center;
  margin: 0 0 14px;
  line-height: 1.4;
}

/* Success state — invoice deep-link CTA button */
.success-state .invoice-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange) 0%, #d97706 100%);
  color: #fff !important;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 15px;
  margin: 14px auto 6px;
  box-shadow: 0 4px 14px rgba(232,132,62,0.35);
  transition: transform .15s, box-shadow .15s;
  line-height: 1.25;
}
.success-state .invoice-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232,132,62,0.45);
}

/* Footer business / national-address block */
.site-footer .biz-row {
  font-size: 11px;
  opacity: .75;
  margin-top: 6px;
  line-height: 1.7;
}
.site-footer .biz-row .biz-item { display: inline-block; }
.site-footer .biz-row b { font-weight: 800; }

label.field-label {
  display: block; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--grey-500); margin-bottom: 6px;
}
.field-row { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.input, .textarea {
  width: 100%;
  border: 1px solid var(--grey-200);
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  transition: border .15s, box-shadow .15s;
}
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,132,62,0.18);
}
.textarea { resize: vertical; min-height: 80px; }

.location-box {
  background: rgba(232,132,62,0.06);
  border: 1px solid rgba(232,132,62,0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}
.location-box .head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.location-box .head p { margin: 0; }
.location-box .head .title { font-size: 13px; font-weight: 800; }
.location-box .head .sub { font-size: 12px; color: var(--grey-500); }
.location-box .share-btn {
  width: 100%;
  background: white; border: 2px solid rgba(232,132,62,0.4);
  color: var(--orange); padding: 12px; border-radius: var(--radius-sm);
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.location-box .share-btn:hover { background: rgba(232,132,62,0.06); }
.location-box .share-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.location-box .got {
  background: white; border: 1px solid rgba(232,132,62,0.3);
  border-radius: var(--radius-sm); padding: 10px;
}
.location-box .got .coord { font-family: monospace; font-size: 12px; }
.location-box .got a { font-size: 12px; }
.location-box .err { font-size: 12px; color: #dc2626; margin-top: 8px; }
.location-box .hint { font-size: 11px; color: var(--grey-500); margin-top: 8px; }
.location-box .remove-btn { background: none; border: none; color: var(--grey-500); font-size: 12px; }
.location-box .remove-btn:hover { color: #dc2626; }

.send-btn {
  width: 100%;
  background: var(--green);
  color: white;
  border: none;
  padding: 16px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--shadow-md);
  transition: background .15s, transform .15s;
  margin-top: 6px;
}
.send-btn:hover:not(:disabled) { background: var(--green-dark); transform: translateY(-1px); }
.send-btn:disabled {
  background: var(--grey-300);
  color: var(--grey-500);
  cursor: not-allowed;
  box-shadow: none;
}
.send-help {
  font-size: 12px; color: var(--grey-500); text-align: center;
  margin: 8px 0 0;
}

.success-state {
  text-align: center; padding: 36px 12px;
}
.success-state .check {
  font-size: 60px; color: var(--green); margin-bottom: 8px;
}
.success-state h3 { margin: 8px 0; font-size: 24px; }
.success-state .again {
  background: none; border: none; color: var(--orange);
  text-decoration: underline; font-size: 14px;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--brown);
  color: var(--cream);
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
  margin-top: 40px;
}
.site-footer .social { display: flex; gap: 14px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.site-footer .social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-size: 16px; text-decoration: none;
}
.site-footer .social a:hover { background: var(--orange); text-decoration: none; }
.site-footer .copy { margin: 4px 0; opacity: 0.85; }

/* ─── Floating WhatsApp ─────────────────────────────────── */
.fab-whatsapp {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  z-index: 40;
  text-decoration: none;
}
.fab-whatsapp:hover { background: var(--green-dark); text-decoration: none; }

/* ─── Loader & Crash UI ──────────────────────────────────── */
#initial-loader {
  position: fixed; inset: 0;
  background: var(--cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999; gap: 18px;
}
#initial-loader .spinner {
  width: 56px; height: 56px;
  border: 6px solid rgba(232,132,62,0.18);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
#initial-loader .label { font-size: 14px; color: var(--brown); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Invoice page ───────────────────────────────────────── */
.invoice-page { padding: 30px 0; }
.invoice-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
@media (min-width: 900px) { .invoice-grid { grid-template-columns: 1fr 1fr; } }
.invoice-card {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); border: 1px solid var(--grey-200);
  padding: 24px;
}
.invoice-card h2 { margin-top: 0; }
.invoice-card .field-row { margin-bottom: 12px; }
.invoice-card table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.invoice-card th, .invoice-card td {
  border-bottom: 1px solid var(--grey-200);
  padding: 8px 6px; text-align: left; font-size: 13px;
}
.invoice-card th { background: var(--cream); font-weight: 700; }
.invoice-card .actions-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.invoice-card .totals { margin-top: 14px; padding: 14px; background: var(--cream); border-radius: var(--radius-sm); }
.invoice-card .totals .row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.invoice-card .totals .row.grand { font-weight: 900; font-size: 16px; color: var(--orange); border-top: 1px solid rgba(232,132,62,0.3); padding-top: 8px; margin-top: 8px; }
/* QR wrap: white background, framed, with tiny ZATCA label below.
   The <canvas> and the <img> fallback are both centred and use the
   same dimensions so the layout doesn't jump if the JS lib fails. */
.invoice-card .qr-wrap { text-align: center; padding: 18px; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-sm); margin-top: 16px; }
.invoice-card .qr-wrap canvas,
.invoice-card .qr-wrap img { display: inline-block; max-width: 100%; height: auto; border-radius: 8px; }
/* The base64 TLV string is metadata only — kept in the DOM (for tests
   and copy/paste) but hidden by default. Toggle .show-tlv on .qr-wrap
   if you ever need to display it for debugging. */
.invoice-card .qr-base64 { display: none; font-family: monospace; font-size: 10px; word-break: break-all; background: var(--cream); padding: 8px; border-radius: 8px; margin-top: 10px; color: var(--grey-500); }
.invoice-card .qr-wrap.show-tlv .qr-base64 { display: block; }

/* ─── Install App section (PWA install) ────────────────────
   Shown above the footer with a soft cream-to-orange gradient so it
   draws the eye without competing with the order CTA. The buttons
   stack on phones (≤640px) and sit side-by-side on larger screens. */
.install-section { padding: 36px 0; background: linear-gradient(135deg, var(--cream) 0%, #FFF6EC 100%); }
.install-card {
  max-width: 960px; margin: 0 auto; background: #fff;
  border-radius: var(--radius-lg, 18px);
  border: 2px dashed rgba(232, 132, 62, 0.35);
  padding: 28px; display: grid; gap: 24px;
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 720px) { .install-card { grid-template-columns: 1.2fr 1fr; padding: 36px; } }
.install-text .eyebrow { display: inline-block; margin-right: 8px; }
.install-text h2 { margin: 8px 0 4px; font-size: 22px; color: var(--brown, #3D2817); }
.install-text .ar { color: var(--orange); font-weight: 700; margin: 0 0 10px; font-size: 18px; }
.install-text .lead { margin: 4px 0; color: var(--grey-700, #5A4630); font-size: 14px; line-height: 1.55; }
.install-buttons { display: flex; flex-direction: column; gap: 12px; }
.install-btn {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #E8843E 0%, #D26A22 100%);
  color: #fff; border: none; border-radius: 14px;
  padding: 14px 18px; font-size: 15px; font-weight: 700;
  cursor: pointer; box-shadow: 0 6px 14px rgba(232, 132, 62, 0.28);
  text-align: left; transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.install-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 18px rgba(232, 132, 62, 0.35); }
.install-btn:active { transform: translateY(0); }
.install-btn:focus-visible { outline: 3px solid #ffd9b8; outline-offset: 2px; }
.install-btn-icon { font-size: 26px; line-height: 1; flex-shrink: 0; }
.install-btn-label { display: flex; flex-direction: column; line-height: 1.2; gap: 2px; }
.install-btn-label .font-arabic { font-size: 13px; opacity: .92; font-weight: 400; }
/* iOS button styled in a darker / "native" tone so the two are visually distinct. */
.install-btn-ios { background: linear-gradient(135deg, #3D2817 0%, #1f140a 100%); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22); }
.install-btn-ios:hover { box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28); }
/* When platform is detected, the inactive button is dimmed but still clickable. */
.install-btn-secondary { opacity: .55; }

/* ─── Install instructions modal (Android or iOS) ─────────── */
.install-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(45, 25, 8, 0.55); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; animation: install-modal-fade .15s ease;
}
.install-modal[hidden] { display: none; }
@keyframes install-modal-fade { from { opacity: 0; } to { opacity: 1; } }
.install-modal-card {
  background: #fff; border-radius: 18px; max-width: 460px; width: 100%;
  padding: 26px 24px; position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  max-height: 90vh; overflow-y: auto;
}
.install-modal-close {
  position: absolute; top: 8px; right: 12px;
  background: transparent; border: none; font-size: 28px; line-height: 1;
  color: var(--grey-500); cursor: pointer; padding: 4px 10px; border-radius: 8px;
}
.install-modal-close:hover { background: var(--cream); color: var(--brown, #3D2817); }
.install-modal-title { margin: 0 0 16px; font-size: 20px; color: var(--brown, #3D2817); padding-right: 28px; }
.install-modal-steps { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 14px; }
.install-modal-steps li { font-size: 14px; line-height: 1.55; color: var(--brown, #3D2817); }
.install-modal-ok {
  width: 100%; background: var(--orange, #E8843E); color: #fff;
  border: none; border-radius: 12px; padding: 12px 18px;
  font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit;
}
.install-modal-ok:hover { background: #D26A22; }

@media print {
  body { background: white; }
  .site-header, .fab-whatsapp, .site-footer, .no-print, .install-section, .install-modal { display: none !important; }
  .invoice-card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
}

/* ─── Util ───────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ============================================================
   STRAWBERRY IMAGE — vibrant pink filter
   EDIT FILTER VALUES HERE to make it more or less vivid.
   Higher saturate = more colourful · negative hue-rotate = pinker.
   ============================================================ */
.flavor-strawberry img {
  filter: saturate(1.6) hue-rotate(-8deg) brightness(0.95) contrast(1.05);
}

/* ============================================================
   CART BADGE on the header "Order" link (count of tubs in cart).
   ============================================================ */
.cart-badge {
  display: inline-block;
  min-width: 20px;
  padding: 1px 7px;
  margin-left: 6px;
  background: var(--orange, #E8843E);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  vertical-align: middle;
}
.cart-badge[data-count="0"] { display: none; }

/* ============================================================
   PAGE INTRO (small "page title" block at top of inner pages).
   ============================================================ */
.page-intro {
  text-align: center;
  padding: 36px 16px 8px;
  max-width: 720px;
  margin: 0 auto;
}
.page-intro h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin: 6px 0 4px;
  color: var(--brown, #3D2817);
}
.page-intro .ar { font-size: 22px; color: var(--orange, #E8843E); margin: 0 0 10px; }
.page-intro p { color: var(--grey-500, #6b7280); margin: 0; }

/* ============================================================
   SHIPPING POLICY BANNER (top of flavors page).
   Warm gradient — orange to gold. Mobile-friendly.
   EDIT BANNER COLOURS HERE.
   ============================================================ */
.shipping-banner {
  background: linear-gradient(90deg, #f59e0b 0%, #E8843E 100%);
  color: #fff;
  padding: 14px 16px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.shipping-banner-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.shipping-line {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 14px;
  line-height: 1.45;
}
.shipping-line[dir="rtl"] { justify-content: center; }
.shipping-icon { font-size: 20px; flex: 0 0 auto; }
.shipping-banner b { font-weight: 800; }
@media (max-width: 720px) {
  .shipping-banner-inner { grid-template-columns: 1fr; gap: 4px; }
  .shipping-line { font-size: 13px; }
}

/* ============================================================
   COMING SOON RIBBON (overlay on flavor cards).
   EDIT RIBBON COLOURS HERE.
   ============================================================ */
.flavor-card { position: relative; overflow: hidden; }
.flavor-card.coming-soon { opacity: 0.6; }
.flavor-card.coming-soon:hover { transform: none; box-shadow: var(--shadow-md); }
.coming-soon-ribbon {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b, #E8843E);
  color: #fff;
  padding: 8px 22px;
  font-weight: 800;
  font-size: 13px;
  border-radius: 999px;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.coming-soon-note {
  margin-top: 12px;
  text-align: center;
  background: var(--cream, #FFF7E6);
  color: var(--brown, #3D2817);
  border: 2px dashed var(--orange, #E8843E);
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
}

/* ============================================================
   "ORDER NOW" BUTTON inside each available flavor card.
   ============================================================ */
.order-now-btn {
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--orange, #E8843E);
  color: #fff;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .15s, transform .15s;
  box-shadow: 0 4px 12px rgba(232,132,62,.28);
}
.order-now-btn:hover { opacity: .92; transform: translateY(-1px); }
.order-now-btn:active { transform: translateY(0); }

/* ============================================================
   QUICK-ORDER MODAL (single-flavor checkout popup).
   ============================================================ */
.quick-order-modal {
  position: fixed; inset: 0;
  background: rgba(40, 18, 8, 0.55);
  z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto;
  padding: 20px 16px;
  animation: qo-fade .18s ease;
}
.quick-order-modal[hidden] { display: none; }
@keyframes qo-fade { from { opacity: 0; } to { opacity: 1; } }

.quick-order-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.30);
  width: 100%;
  max-width: 480px;
  padding: 22px 22px 26px;
  position: relative;
  margin: auto 0;
}
.qo-close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px;
  background: var(--cream, #FFF7E6);
  border: 0; border-radius: 50%;
  font-size: 22px; cursor: pointer;
  color: var(--brown, #3D2817);
  display: flex; align-items: center; justify-content: center;
}
.qo-close:hover { background: #ffeacb; }

.qo-header {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 18px; padding-right: 36px;
}
.qo-emoji { font-size: 38px; line-height: 1; }
.qo-title {
  margin: 0; font-size: 22px; color: var(--brown, #3D2817); line-height: 1.2;
}
.qo-flavor-ar { margin: 2px 0 0; color: var(--orange, #E8843E); font-size: 16px; }

.quick-order-card .field { margin: 0 0 12px; }
.quick-order-card .field label {
  display: block; font-weight: 700; color: var(--brown, #3D2817); margin: 0 0 6px; font-size: 14px;
}
.quick-order-card .field input,
.quick-order-card .field textarea {
  width: 100%; padding: 12px 14px;
  border: 2px solid var(--grey-200, #e5e7eb);
  border-radius: 12px; font: inherit; font-size: 15px;
  background: #fff; color: var(--brown, #3D2817);
  transition: border-color .15s;
}
.quick-order-card .field input:focus,
.quick-order-card .field textarea:focus {
  border-color: var(--orange, #E8843E); outline: 0;
}

/* Quantity stepper inside the modal */
.qty-stepper {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--cream, #FFF7E6);
  border-radius: 14px; padding: 6px 8px;
  border: 2px solid var(--orange, #E8843E);
}
.qty-stepper button {
  width: 38px; height: 38px;
  border-radius: 10px; border: 0;
  background: var(--orange, #E8843E);
  color: #fff; font-size: 22px; font-weight: 900;
  cursor: pointer; line-height: 1;
}
.qty-stepper button:hover { opacity: .9; }
.qty-stepper button:disabled { background: var(--grey-300, #d1d5db); cursor: not-allowed; opacity: .6; }
.qty-stepper .qty-num { font-size: 22px; font-weight: 900; min-width: 36px; text-align: center; color: var(--brown, #3D2817); }

/* Totals box inside the modal */
.qo-totals {
  background: var(--cream, #FFF7E6);
  border-radius: 14px; padding: 12px 16px;
  margin: 16px 0 14px;
}
.qo-totals .row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px; color: var(--brown, #3D2817); padding: 4px 0;
}
.qo-totals .row b { font-weight: 800; }
.qo-totals .row.grand {
  border-top: 2px dashed var(--orange, #E8843E);
  margin-top: 8px; padding-top: 10px;
  font-size: 17px; font-weight: 900;
  color: var(--brown, #3D2817);
}
.qo-totals .row.grand b { color: var(--orange, #E8843E); font-size: 18px; }
.qo-delivery-hint {
  font-size: 11px; color: var(--grey-500, #6b7280);
  margin: 4px 0 0; text-align: center; line-height: 1.5;
}
[data-qo-delivery-cell].free {
  color: var(--green, #25D366);
}
[data-qo-delivery-cell].free::after {
  content: " · FREE / مجاناً";
  font-size: 11px; opacity: .85;
}

/* Payment options */
.qo-payment { margin: 4px 0 14px; }
.qo-payment-label {
  font-weight: 800; color: var(--brown, #3D2817); margin: 0 0 8px; font-size: 14px;
}
.payment-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; margin: 0 0 8px;
  background: #fff;
  border: 2px solid var(--grey-200, #e5e7eb);
  border-radius: 12px; cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: 14px;
}
.payment-option:hover { border-color: var(--orange, #E8843E); }
.payment-option input[type="radio"] {
  width: 18px; height: 18px; accent-color: var(--orange, #E8843E); flex: 0 0 auto;
}
.payment-option:has(input:checked) {
  border-color: var(--orange, #E8843E);
  background: var(--cream, #FFF7E6);
}

.qo-submit { width: 100%; margin-top: 4px; }
.qo-status {
  font-size: 13px; text-align: center; margin: 10px 0 0;
  min-height: 20px; color: var(--brown, #3D2817);
}
.qo-status.error { color: #dc2626; }
.qo-status.success { color: var(--green, #25D366); font-weight: 700; }

@media (max-width: 540px) {
  .quick-order-card { padding: 18px 16px 22px; border-radius: 18px; }
  .qo-header { gap: 10px; }
  .qo-emoji { font-size: 32px; }
  .qo-title { font-size: 19px; }
}

/* ============================================================
   INVENTORY ADMIN PAGE  (inventory.html)
   ============================================================ */
.inventory-page { padding: 30px 16px 60px; max-width: 1100px; margin: 0 auto; }
.inv-gate {
  max-width: 380px; margin: 60px auto;
  background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 30px 24px; text-align: center;
}
.inv-gate h2 { margin: 0 0 8px; color: var(--brown, #3D2817); }
.inv-gate p { color: var(--grey-500, #6b7280); margin: 0 0 18px; font-size: 14px; }
.inv-gate input {
  width: 100%; padding: 12px 14px;
  border: 2px solid var(--grey-200, #e5e7eb);
  border-radius: 12px; font: inherit; font-size: 16px;
  text-align: center; letter-spacing: 0.4em;
}
.inv-gate input:focus { border-color: var(--orange, #E8843E); outline: 0; }
.inv-gate .gate-error { color: #dc2626; font-size: 13px; min-height: 20px; margin: 8px 0 0; }
.inv-gate button { width: 100%; margin-top: 14px; }

.inv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.inv-card {
  background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 18px 18px 16px;
  border-top: 4px solid var(--flavor-color, var(--orange, #E8843E));
}
.inv-card h3 { margin: 0 0 4px; font-size: 17px; color: var(--brown, #3D2817); }
.inv-card .inv-card-ar { margin: 0 0 12px; color: var(--orange, #E8843E); font-size: 14px; }
.inv-row {
  display: grid; grid-template-columns: 1fr 90px;
  align-items: center; gap: 8px; padding: 6px 0;
  font-size: 14px; color: var(--brown, #3D2817);
}
.inv-row label { font-weight: 600; }
.inv-row input {
  padding: 8px 10px; border: 2px solid var(--grey-200, #e5e7eb);
  border-radius: 10px; font: inherit; font-size: 14px;
  text-align: right; color: var(--brown, #3D2817);
}
.inv-row input:focus { border-color: var(--orange, #E8843E); outline: 0; }
.inv-row.remaining { padding-top: 10px; border-top: 1px dashed var(--grey-200, #e5e7eb); margin-top: 6px; }
.inv-row.remaining .inv-remaining {
  text-align: right; font-weight: 900; font-size: 18px; color: var(--green, #25D366);
}
.inv-card.out-of-stock .inv-row.remaining .inv-remaining { color: #dc2626; }
.inv-out-warning {
  display: none; margin: 8px 0 0;
  background: #fee2e2; color: #991b1b;
  padding: 8px 12px; border-radius: 10px;
  font-size: 13px; font-weight: 700; text-align: center;
}
.inv-card.out-of-stock .inv-out-warning { display: block; }

.inv-actions {
  display: flex; gap: 8px; margin-top: 12px;
}
.inv-actions button {
  flex: 1; padding: 9px 12px; border-radius: 10px;
  font-weight: 700; font-size: 13px; cursor: pointer; border: 0;
}
.inv-actions .btn-save  { background: var(--green, #25D366); color: #fff; }
.inv-actions .btn-reset { background: var(--grey-200, #e5e7eb); color: var(--brown, #3D2817); }
.inv-actions button:hover { opacity: .9; }

.inv-summary {
  margin-top: 24px; background: var(--cream, #FFF7E6);
  border-radius: 18px; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  border: 2px solid var(--orange, #E8843E);
}
.inv-summary-label { font-weight: 800; color: var(--brown, #3D2817); }
.inv-summary-num {
  font-size: 28px; font-weight: 900; color: var(--orange, #E8843E);
}
@media (max-width: 540px) {
  .inv-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   "ADD TO CART" BUTTON  (replaces order-now-btn on flavors.html)
   ============================================================ */
.add-to-cart-btn {
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--orange, #E8843E);
  color: #fff;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .15s, transform .15s, background .15s;
  box-shadow: 0 4px 12px rgba(232,132,62,.28);
}
.add-to-cart-btn:hover { opacity: .92; transform: translateY(-1px); background: #D26A22; }
.add-to-cart-btn:active { transform: translateY(0); }

/* ============================================================
   CART FLOATING BUTTON  (top-right, fixed, visible on every page)
   ============================================================ */
.cart-fab {
  position: fixed;
  top: 156px;
  right: 18px;
  z-index: 900;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--orange, #E8843E);
  background: #fff;
  color: var(--orange, #E8843E);
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.cart-fab:hover { transform: scale(1.06); box-shadow: 0 10px 28px rgba(232,132,62,.55); }
.cart-fab:active { transform: scale(.98); }
.cart-fab .cart-fab-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--green, #25D366);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-fab .cart-fab-count[data-count="0"] { display: none; }
.cart-fab.pulse { animation: cart-pulse .5s ease; }
@keyframes cart-pulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.18); box-shadow: 0 12px 32px rgba(37,211,102,.55); }
  100% { transform: scale(1); }
}

/* Toast feedback when adding to cart */
.cart-toast {
  position: fixed;
  top: 168px;
  right: 92px;
  z-index: 950;
  background: var(--brown, #3D2817);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.cart-toast[hidden] { display: none; }
.cart-toast.show { opacity: 1; transform: translateY(0); }

/* ============================================================
   CART SIDEBAR  (slide-in panel: right on desktop, bottom on mobile)
   ============================================================ */
.cart-sidebar {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  justify-content: flex-end;
}
.cart-sidebar[hidden] { display: none; }
.cart-sidebar-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 18, 8, 0.5);
  animation: cs-fade .2s ease;
}
@keyframes cs-fade { from { opacity: 0; } to { opacity: 1; } }
.cart-sidebar-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: -8px 0 32px rgba(0,0,0,.18);
  animation: cs-slide-r .25s ease;
}
@keyframes cs-slide-r {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.cs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 2px solid var(--cream, #FFF7E6);
  background: var(--orange, #E8843E);
  color: #fff;
}
.cs-header h2 { margin: 0; font-size: 19px; font-weight: 800; }
.cs-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.25);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cs-close:hover { background: rgba(255,255,255,.4); }

.cs-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  background: var(--cream-light, #FFFAF0);
}
.cs-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--brown, #3D2817);
}
.cs-empty-icon { font-size: 64px; margin-bottom: 12px; }
.cs-empty p { margin: 4px 0; font-size: 16px; }
.cs-empty-hint { font-size: 13px; color: var(--grey-500, #6b7280); margin-top: 14px !important; }

.cs-items { display: flex; flex-direction: column; gap: 12px; }
.cart-line {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.06));
  align-items: flex-start;
}
.cart-line-emoji {
  font-size: 32px;
  width: 50px;
  height: 50px;
  background: var(--cream, #FFF7E6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name {
  font-weight: 800;
  color: var(--brown, #3D2817);
  font-size: 15px;
  line-height: 1.2;
}
.cart-line-name-ar {
  color: var(--orange, #E8843E);
  font-size: 13px;
  margin-bottom: 8px;
}
.cart-line-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 6px;
}
.cl-minus, .cl-plus {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 0;
  background: var(--orange, #E8843E);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
}
.cl-minus:hover, .cl-plus:hover { opacity: .9; }
.cl-qty {
  font-weight: 800;
  font-size: 16px;
  min-width: 26px;
  text-align: center;
  color: var(--brown, #3D2817);
}
.cl-total {
  margin-left: auto;
  font-weight: 800;
  color: var(--brown, #3D2817);
  font-size: 14px;
}
.cl-remove {
  background: none;
  border: 0;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
}
.cl-remove:hover { text-decoration: underline; }

.cs-totals {
  padding: 14px 18px 6px;
  border-top: 2px solid var(--cream, #FFF7E6);
  background: #fff;
}
.cs-totals .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: var(--brown, #3D2817);
  padding: 4px 0;
}
.cs-totals .row b { font-weight: 800; }
.cs-totals .row.grand {
  border-top: 2px dashed var(--orange, #E8843E);
  margin-top: 6px;
  padding-top: 8px;
  font-size: 17px;
  font-weight: 900;
}
.cs-totals .row.grand b { color: var(--orange, #E8843E); font-size: 19px; }
[data-cs-delivery-cell].free { color: var(--green, #25D366); }
[data-cs-delivery-cell].free::after {
  content: " · FREE";
  font-size: 11px;
  opacity: .9;
}
.cs-delivery-hint {
  margin: 4px 0 6px;
  font-size: 11px;
  color: var(--grey-500, #6b7280);
  text-align: center;
  line-height: 1.5;
}

.cs-actions {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
  background: #fff;
  border-top: 1px solid var(--cream, #FFF7E6);
}
.cs-actions[hidden] { display: none; }
.cs-continue, .cs-checkout {
  flex: 1;
  padding: 12px 10px;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.3;
  text-align: center;
}
.cs-continue {
  background: var(--cream, #FFF7E6);
  color: var(--brown, #3D2817);
}
.cs-continue:hover { background: #ffeacb; }
.cs-checkout {
  background: var(--green, #25D366);
  color: #fff;
}
.cs-checkout:hover { background: #1fb957; }

/* Mobile — bottom sheet */
@media (max-width: 640px) {
  .cart-sidebar { align-items: flex-end; }
  .cart-sidebar-panel {
    max-width: 100%;
    height: 92vh;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -8px 32px rgba(0,0,0,.22);
    animation: cs-slide-b .25s ease;
  }
  @keyframes cs-slide-b {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }
  .cart-fab { top: 130px; right: 12px; width: 56px; height: 56px; font-size: 24px; }
  .cart-toast { right: 12px; top: 140px; }
}

/* ============================================================
   CHECKOUT MODAL  (extends quick-order-card visual style)
   ============================================================ */
.co-card { max-width: 520px; }
.co-summary {
  background: var(--cream, #FFF7E6);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 14px 0;
}
.co-summary h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--brown, #3D2817);
  font-weight: 800;
}
.co-summary ul {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}
.co-summary li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--brown, #3D2817);
  padding: 4px 0;
  border-bottom: 1px dashed rgba(232,132,62,.3);
}
.co-summary li:last-of-type { border-bottom: 0; }
.co-summary .row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 3px 0;
  color: var(--brown, #3D2817);
}
.co-summary .row.grand {
  border-top: 2px dashed var(--orange, #E8843E);
  margin-top: 6px;
  padding-top: 8px;
  font-size: 16px;
  font-weight: 900;
}
.co-summary .row.grand b { color: var(--orange, #E8843E); font-size: 17px; }

/* =========================================================
   v6 — DELIVERY ZONE + NEW PAGES (about / why-us / contact)
   ========================================================= */

/* --- Footer quick links row --- */
.foot-quick-links { margin-top: 6px; }
.foot-quick-links a {
  color: #fff; text-decoration: none; opacity: .9;
  border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 1px;
  margin: 0 4px;
}
.foot-quick-links a:hover { opacity: 1; border-bottom-color: #fff; }

/* --- Slightly tighten the primary nav so 7 items fit on smaller desktops --- */
@media (min-width: 721px) and (max-width: 1180px) {
  .primary-nav { gap: 4px; }
  .primary-nav > a:not(.nav-cta) {
    font-size: 13px;
    padding: 8px 8px;
  }
  .primary-nav .nav-cta { font-size: 13px; padding: 8px 12px; }
}

/* --- Delivery zone selector inside checkout modal --- */
.qo-zone {
  border: 1.5px dashed rgba(232,132,62,.5);
  background: #FFF8F1;
}
.qo-zone .payment-option-disabled {
  opacity: .9;
  background: #FFF3F3;
  border-color: #F4C7C7;
}
.qo-zone .zone-na {
  display: block;
  margin-top: 2px;
  color: #C44;
  font-weight: 700;
}
.zone-warning {
  background: #FFE5E5;
  border: 1.5px solid #F4A4A4;
  color: #8A1F1F;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0 0 0;
  font-weight: 600;
  line-height: 1.45;
  font-size: 14px;
}

/* =========================================================
   WHY-US PAGE
   ========================================================= */
.why-us { padding: 28px 0 56px; }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.why-card {
  background: #fff;
  border: 1.5px solid #FCE6D2;
  border-radius: 20px;
  padding: 26px 22px 24px;
  box-shadow: 0 6px 18px rgba(232,132,62,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-align: center;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(232,132,62,.15);
  border-color: #E8843E;
}
.why-card-icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 10px;
}
.why-card h3 {
  margin: 0 0 4px;
  color: #E8843E;
  font-size: 20px;
}
.why-card p {
  margin: 4px 0;
  color: #4A3520;
  line-height: 1.55;
  font-size: 15px;
}
.why-card .font-arabic {
  color: #7A5A3A;
  font-weight: 700;
}
.why-card-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #FFF8F1 0%, #FFE9D6 100%);
  border-color: #E8843E;
}
@media (max-width: 640px) {
  .why-card-wide { grid-column: auto; }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero {
  background: linear-gradient(135deg, #FFF3E3 0%, #FFE0C2 100%);
  padding: 48px 0 36px;
  text-align: center;
  border-bottom: 1.5px solid #F4D5B5;
}
.about-hero-inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.about-hero-logo {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(232,132,62,.25);
  background: #fff;
}
.about-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  color: #B85B14;
}
.about-hero .hero-tagline { margin-top: 6px; font-size: 22px; }

.about-story { padding: 40px 0; background: #fff; }
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 820px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 24px; }
}
.about-story h2 {
  color: #E8843E;
  font-size: 26px;
  margin: 0 0 14px;
}
.about-story p {
  color: #4A3520;
  line-height: 1.75;
  font-size: 16px;
  margin: 0 0 14px;
}
.about-story .about-quote {
  border-left: 4px solid #E8843E;
  padding-left: 14px;
  font-size: 17px;
  color: #B85B14;
}
.about-story-ar .about-quote {
  border-left: 0;
  border-right: 4px solid #E8843E;
  padding-left: 0;
  padding-right: 14px;
}

.about-process {
  padding: 48px 0 60px;
  background: linear-gradient(180deg, #FFF8F1 0%, #fff 100%);
}
.about-process-header {
  text-align: center;
  margin-bottom: 30px;
}
.about-process-header h2 {
  margin: 4px 0;
  color: #B85B14;
  font-size: clamp(24px, 3.4vw, 34px);
}
.about-timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  position: relative;
}
.about-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, #E8843E 0%, #FFD8B5 100%);
  border-radius: 3px;
}
.about-timeline-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  margin-bottom: 22px;
  align-items: start;
  position: relative;
}
.about-timeline-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #E8843E;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(232,132,62,.35);
  position: relative; z-index: 1;
}
.about-timeline-body {
  background: #fff;
  border: 1.5px solid #FCE6D2;
  border-radius: 16px;
  padding: 16px 18px;
}
.about-timeline-body h3 {
  margin: 0 0 4px;
  color: #E8843E;
  font-size: 18px;
}
.about-timeline-body p {
  margin: 4px 0;
  line-height: 1.55;
  color: #4A3520;
  font-size: 15px;
}
.about-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn-outline {
  background: #fff;
  color: #E8843E;
  border: 2px solid #E8843E;
}
.btn-outline:hover { background: #FFF3E3; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-section { padding: 28px 0 40px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-form-card,
.contact-info-card {
  background: #fff;
  border: 1.5px solid #FCE6D2;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 6px 18px rgba(232,132,62,.07);
}
.contact-form-card h2,
.contact-info-card h2 {
  color: #E8843E;
  margin: 0 0 14px;
  font-size: 22px;
}
.contact-form-card .field { margin-bottom: 14px; }
.contact-form-card .field label {
  display: block;
  font-weight: 700;
  color: #4A3520;
  margin-bottom: 6px;
  font-size: 14px;
}
.contact-form-card .field small { color: #888; font-weight: 400; }
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: 1.5px solid #E8C9A8;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #FFFCF7;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: #E8843E;
  box-shadow: 0 0 0 3px rgba(232,132,62,.2);
}
.contact-form-card textarea { resize: vertical; min-height: 110px; }
.contact-form-card .btn-send {
  width: 100%;
  margin-top: 6px;
  padding: 14px 18px;
  font-size: 16px;
}
.contact-status {
  min-height: 22px;
  margin: 12px 0 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
}
.contact-status.error   { color: #B33A3A; }
.contact-status.success { color: #1F7A3E; }
.contact-form-note {
  font-size: 12px;
  color: #888;
  margin: 10px 0 0;
  line-height: 1.5;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 14px;
}
.contact-info-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}
.ci-icon {
  width: 38px; height: 38px;
  background: #FFF3E3;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.ci-label {
  font-size: 12px;
  color: #888;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 2px;
}
.contact-info-list a {
  color: #B85B14;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}
.contact-info-list a:hover { color: #E8843E; text-decoration: underline; }

.contact-subhead {
  margin: 18px 0 10px;
  color: #4A3520;
  font-size: 16px;
  border-top: 1.5px dashed #FCE6D2;
  padding-top: 14px;
}
.contact-hours {
  list-style: none; padding: 0; margin: 0 0 8px;
  display: grid; gap: 8px;
}
.contact-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFF8F1;
  padding: 10px 14px;
  border-radius: 10px;
  gap: 14px;
  font-size: 14px;
  color: #4A3520;
}
.contact-hours li > span:last-child { text-align: right; color: #B85B14; font-weight: 700; }

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  background: #E8843E;
  box-shadow: 0 4px 12px rgba(232,132,62,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.contact-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(232,132,62,.35);
}
.contact-social-instagram { background: linear-gradient(135deg,#F58529,#DD2A7B,#8134AF); }
.contact-social-whatsapp  { background: #25D366; }
.contact-social-snapchat  { background: #FFFC00; color: #000; }

.contact-map-section {
  padding: 0 0 60px;
}
.contact-map-title {
  margin: 0 0 14px;
  color: #B85B14;
  font-size: 22px;
}
.contact-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(232,132,62,.15);
  background: #FFF3E3;
}

/* --- Delivery-zone <fieldset> reset (so it visually matches qo-payment) --- */
fieldset.qo-zone { border: 1.5px dashed rgba(232,132,62,.5); padding: 12px 14px; margin: 0 0 14px; }
fieldset.qo-zone legend.qo-payment-label { padding: 0 6px; margin-bottom: 6px; font-weight: 800; }

/* ============================================================
   LIVE LOCATION SECTION (checkout modal) — mandatory
   ============================================================ */
fieldset.qo-location {
  border: 1.5px dashed rgba(232,132,62,.5);
  padding: 14px;
  margin: 0 0 14px;
  border-radius: 12px;
  background: #fffaf3;
  transition: border-color .25s, background .25s;
}
fieldset.qo-location legend.qo-payment-label {
  padding: 0 6px; margin-bottom: 8px; font-weight: 800;
}
fieldset.qo-location.loc-error {
  border-color: #dc2626;
  background: #fff5f5;
}
.loc-share-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #E8843E 0%, #d97333 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232,132,62,.35);
  transition: transform .15s, box-shadow .2s, opacity .2s;
  font-family: inherit;
}
.loc-share-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(232,132,62,.45);
}
.loc-share-btn:active:not(:disabled) { transform: translateY(0); }
.loc-share-btn:disabled { opacity: .7; cursor: wait; }
.loc-share-btn .font-arabic { font-weight: 700; }

.loc-hint {
  margin: 10px 0 0;
  padding: 10px 12px;
  font-size: .9rem;
  line-height: 1.55;
  color: #b45309;
  background: rgba(251, 191, 36, .12);
  border: 1px solid rgba(251, 191, 36, .35);
  border-radius: 8px;
  text-align: center;
}
.loc-hint .font-arabic { display: inline-block; margin-top: 4px; }

.loc-result {
  margin-top: 4px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #25D366;
  box-shadow: 0 2px 8px rgba(37, 211, 102, .15);
}
.loc-map {
  width: 100%;
  height: 200px;
  background: #eef2f7;
}
.loc-map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-weight: 700;
  color: #1a73e8;
  text-decoration: none;
  background: #eef4ff;
}
.loc-map-fallback:hover { background: #dde7ff; text-decoration: underline; }
.loc-address {
  margin: 0;
  padding: 12px 14px;
  font-size: .95rem;
  font-weight: 600;
  color: #166534;
  background: #f0fdf4;
  border-top: 1px solid rgba(0,0,0,.06);
  word-wrap: break-word;
}
.loc-change-btn {
  display: block;
  width: 100%;
  padding: 9px 14px;
  font-size: .9rem;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border: none;
  border-top: 1px solid rgba(0,0,0,.06);
  cursor: pointer;
  transition: background .15s, color .15s;
  font-family: inherit;
}
.loc-change-btn:hover { background: #e2e8f0; color: #1e293b; }

.loc-fallback {
  margin-top: 10px;
  padding: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}
.loc-denied {
  margin: 0 0 10px;
  font-size: .9rem;
  line-height: 1.55;
  color: #991b1b;
}
.loc-fallback textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: .95rem;
  font-family: inherit;
  border: 1.5px solid #d4a4a4;
  border-radius: 8px;
  resize: vertical;
  background: #fff;
  box-sizing: border-box;
}
.loc-fallback textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}

/* Disabled submit-button styling so it's obviously inactive */
.qo-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.4);
  box-shadow: none;
  transform: none;
}

/* On narrow screens, slightly shorter map */
@media (max-width: 480px) {
  .loc-map { height: 160px; }
}

/* Live-location privacy disclosure + manual-fallback label */
.loc-privacy {
  margin: 10px 0 0;
  padding: 8px 10px;
  font-size: .8rem;
  line-height: 1.5;
  color: #475569;
  background: #f1f5f9;
  border-radius: 6px;
  text-align: center;
}
.loc-manual-label {
  display: block;
  margin: 0 0 6px;
  font-size: .85rem;
  font-weight: 700;
  color: #991b1b;
}

/* Visually-hidden utility (for accessible-only headings/labels) */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
