/* ==========================================================================
   بزياده — menu site
   One fixed palette sampled from the printed menu + storefront (charcoal,
   menu gray, bright yellow, white). No dark-mode overrides on purpose: every
   visitor sees exactly these colors regardless of their device setting.
   ========================================================================== */

:root {
  --cream: #1C1C1D;          /* page background */
  --cream-deep: #232324;     /* alternate section background */
  --paper: #2B2B2C;          /* cards */
  --espresso: #121213;       /* darkest bands, footer */
  --espresso-soft: #3A3A3B;
  --gold: #FFD200;           /* brand yellow (titles, prices) */
  --gold-deep: #F2B705;
  --gold-tint: rgba(255, 210, 0, 0.12);
  --rose: #6E6E6E;           /* printed-menu gray */
  --rose-deep: #5C5C5C;
  --rose-tint: #343435;
  --ink: #F7F7F4;
  --ink-soft: #B9B9B3;
  --on-gold: #141414;
  --border: rgba(255, 255, 255, 0.12);
  --shadow-color: 0, 0, 0;

  --font-display-ar: 'Lalezar', 'IBM Plex Sans Arabic', sans-serif;
  --font-display-en: 'Lalezar', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.5s;
  --dur-slow: 0.9s;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container { padding-inline: 40px; }
}

h1, h2, h3 { text-wrap: balance; font-weight: 700; color: var(--ink); }

.display { font-family: var(--font-display-ar); font-weight: 400; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section { padding: 88px 0; position: relative; }
@media (max-width: 640px) { .section { padding: 64px 0; } }
.section-alt { background: var(--cream-deep); }

.section-head {
  max-width: 620px;
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }

.section-title {
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.3;
}

.section-sub { color: var(--ink-soft); font-size: 16.5px; max-width: 52ch; }

.band-dark { background: var(--espresso); }
.band-dark .section-sub { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-deep); }

.btn-ghost { background: rgba(0, 0, 0, 0.25); color: var(--ink); border: 1.5px solid rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { border-color: var(--ink); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
html[dir="rtl"] .btn-ghost svg { transform: scaleX(-1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(18, 18, 19, 0.88);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-glyph { width: 30px; height: 30px; color: var(--ink); flex-shrink: 0; }
.brand-name {
  font-size: 30px;
  color: var(--ink);
  line-height: 1;
  padding-top: 4px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.main-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.07); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
}

@media (max-width: 920px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 100px 24px 40px;
  gap: 6px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  font-size: 22px;
  font-weight: 700;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mobile-nav.open a { opacity: 1; transform: translateY(0); }
.mobile-nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav a:nth-child(4) { transition-delay: 0.2s; }

/* ---------- Hero ----------
   Phone: the storefront photo fills the hero behind the copy.
   Desktop: copy on one side, the photo as a tall framed card on the other. */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 56px;
  overflow: hidden;
  background: var(--espresso);
}
.hero-visual { position: absolute; inset: 0; z-index: 0; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 899px) {
  /* phone: push the photo up so the sign sits above the copy, not behind it */
  .hero-visual { bottom: 32%; }
  .hero-visual img { object-position: center 20%; }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.5) 0%, rgba(10, 10, 11, 0.05) 22%, rgba(10, 10, 11, 0.6) 46%, rgba(10, 10, 11, 0.96) 66%, var(--espresso) 100%);
}

.hero-grid { position: relative; z-index: 1; }
.hero-copy { max-width: 600px; }

@media (min-width: 900px) {
  .hero { align-items: center; padding: 130px 0 80px; }
  .hero-visual {
    inset: auto;
    top: 50%;
    inset-inline-end: max(40px, calc((100vw - var(--container)) / 2 + 40px));
    transform: translateY(-50%);
    width: min(36vw, 420px);
    aspect-ratio: 9 / 16;
    max-height: calc(100svh - 160px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border);
  }
  .hero-scrim { display: none; }
  .hero-copy { max-width: calc(100% - min(36vw, 420px) - 60px); }
}

.hero .eyebrow { color: var(--gold); }

.hero-title {
  font-size: clamp(54px, 9vw, 104px);
  line-height: 1.15;
  margin-block: 14px 10px;
  color: #fff;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.55);
}
.hero-title .accent { color: var(--gold); }

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 44ch;
  margin-bottom: 28px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.hero-branch {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 12px 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.hero-branch:hover { border-color: var(--gold); transform: translateY(-2px); }
.hb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hb-name { font-size: 15.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.hb-name svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.hb-addr { font-size: 12.5px; opacity: 0.78; }
.hb-hours { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--gold); }
.hb-hours svg { width: 14px; height: 14px; flex-shrink: 0; }
.hb-hours-note { font-size: 11.5px; opacity: 0.7; padding-inline-start: 19px; }
.hb-call {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--on-gold);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.hb-call:hover { background: var(--gold-deep); transform: scale(1.06); }
.hb-call svg { width: 18px; height: 18px; }
@media (max-width: 520px) {
  .hero-branches { grid-template-columns: 1fr; }
  .hero-branch { align-items: center; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .hero-branches { grid-template-columns: 1fr; }
  .hero-branch { align-items: center; }
}

.footer-brand .social-row { margin-top: 18px; }

/* ---------- Floating social (bottom-left corner) ---------- */
.floating-social {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.7);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.floating-social a:hover { transform: translateY(-3px); background: var(--gold-deep); }
.floating-social svg { width: 21px; height: 21px; }
@media (max-width: 640px) {
  .floating-social { left: 14px; bottom: 14px; gap: 8px; }
  .floating-social a { width: 42px; height: 42px; }
  /* keep the branch call buttons clear of the floating icons (left edge) */
  .hb-call { order: -1; }
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.hero-copy .eyebrow, .hero-title, .hero-sub, .hero-cta, .hero-branches {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease-out) forwards;
}
.hero-copy .eyebrow { animation-delay: 0.05s; }
.hero-title { animation-delay: 0.15s; }
.hero-sub { animation-delay: 0.3s; }
.hero-cta { animation-delay: 0.42s; }
.hero-branches { animation-delay: 0.54s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow, .hero-title, .hero-sub, .hero-cta, .hero-branches, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Marquee strip ---------- */
.strip {
  overflow: hidden;
  background: var(--gold);
  color: var(--on-gold);
}
.strip-track {
  display: flex;
  width: max-content;
  gap: 44px;
  padding: 12px 0 8px;
  animation: marquee 32s linear infinite;
}
.strip-track span {
  font-family: var(--font-display-ar);
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.strip-track span::after { content: "◆"; font-size: 12px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[dir="rtl"] .strip-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ---------- Promo banner ---------- */
.promo-banner {
  position: relative;
  overflow: hidden;
  padding: 50px 24px 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  background: repeating-linear-gradient(
    -45deg,
    var(--rose) 0px,
    var(--rose) 34px,
    var(--rose-deep) 34px,
    var(--rose-deep) 68px
  );
}
/* the printed menu's white dashed frame */
.promo-banner::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 3px dashed rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  pointer-events: none;
}
.promo-banner-media { position: absolute; inset: 0; z-index: 0; }
.promo-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-banner-scrim { position: absolute; inset: 0; z-index: 1; background: transparent; }
.promo-banner.has-image .promo-banner-scrim { background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.62)); }
.promo-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
}
.promo-word {
  font-size: clamp(56px, 10vw, 96px);
  color: #fff;
  line-height: 1.1;
  padding-top: 8px;
  -webkit-text-stroke: 2px #111;
  paint-order: stroke fill;
  text-shadow: 0 5px 0 #111, 0 10px 24px rgba(0, 0, 0, 0.35);
}
.promo-spark { width: clamp(26px, 4vw, 40px); height: clamp(26px, 4vw, 40px); color: #fff; filter: drop-shadow(0 3px 0 #111); }
.promo-tag {
  position: relative;
  z-index: 2;
  font-family: var(--font-display-ar);
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--gold);
  -webkit-text-stroke: 1px #111;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #111;
}

/* ---------- Promo photo showcase (continuous marquee) ----------
   Cards built in JS from real item photos, shuffled on every load. Pure CSS
   animation; the site-wide reduced-motion rule already covers it. */
.promo { padding-bottom: 40px; }
.promo-scroller-wrap { overflow: hidden; margin-bottom: 24px; }
.promo-scroller {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: promo-marquee 34s linear infinite;
}
.promo-scroller:hover { animation-play-state: paused; }
@keyframes promo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[dir="rtl"] .promo-scroller { animation-name: promo-marquee-rtl; }
@keyframes promo-marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
.promo-card {
  flex: 0 0 auto;
  width: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border);
}
.promo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@media (max-width: 560px) { .promo-card { width: 170px; } }
.promo-caption { text-align: center; color: var(--ink-soft); font-size: 15px; }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 900px;
  margin-inline: auto;
}
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.cat-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.cat-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-tint);
  color: var(--gold);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out);
}
.cat-card:hover .cat-icon { transform: scale(1.06) rotate(-3deg); }
.cat-icon svg { width: 40px; height: 40px; }
.cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-label { font-family: var(--font-display-ar); font-size: 22px; line-height: 1.3; color: var(--ink); }
.cat-count-sm { font-size: 12.5px; color: var(--ink-soft); margin-top: -8px; }

/* ---------- Products ---------- */
.prod-head-row { flex-direction: row; align-items: center; justify-content: space-between; max-width: none; margin-bottom: 28px; }

.view-toggle {
  display: inline-flex;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  background: var(--paper);
}
.view-toggle button {
  width: 36px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.view-toggle button svg { width: 18px; height: 18px; }
.view-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }

.cat-section { scroll-margin-top: 90px; }
.cat-section + .cat-section { margin-top: 56px; }
.cat-section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.22);
}
.cat-section-title { font-family: var(--font-display-ar); font-size: 32px; line-height: 1.3; color: var(--gold); }
.cat-section-head .cat-count { font-size: 13px; color: var(--ink-soft); font-weight: 500; }

.coming-soon {
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
}
.coming-soon p { font-size: 14.5px; color: var(--ink-soft); }

.prod-disclaimer {
  margin-top: 40px;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
}

/* Default = grid (2 → 3 → 4 columns). */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* One-item-at-a-time override (view-list on #productSections). */
#productSections.view-list .product-grid {
  grid-template-columns: 1fr;
  max-width: 460px;
  margin-inline: auto;
  gap: 52px;
}
#productSections.view-list .product-art { aspect-ratio: 4 / 3; }
#productSections.view-list .product-name { font-size: 19px; }

.product-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.product-card:hover { transform: translateY(-5px); border-color: rgba(255, 210, 0, 0.55); }

.product-art {
  aspect-ratio: 4 / 5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #232324;
}
.product-art .illus { width: 64%; height: 64%; transition: transform var(--dur-base) var(--ease-out); }
.product-card:hover .product-art .illus { transform: scale(1.06); }
.product-art img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-base) var(--ease-out), opacity 0.5s var(--ease-out); }
.product-card:hover .product-art img { transform: scale(1.05); }

img[loading="lazy"] { opacity: 0; }
img[loading="lazy"].img-loaded { opacity: 1; }

.product-id {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.product-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 12px; color: var(--ink-soft); }
.product-name { font-size: 16px; font-weight: 700; line-height: 1.45; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.product-price { font-family: var(--font-display-ar); font-size: 24px; line-height: 1.2; color: var(--gold); padding-top: 3px; }
.product-price small { font-family: var(--font-body); font-size: 12px; color: var(--ink-soft); font-weight: 600; margin-inline-start: 2px; }
.price-from { font-family: var(--font-body); font-size: 12px; color: var(--ink-soft); font-weight: 600; margin-inline-end: 4px; }

.product-cal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.07);
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.product-cal svg { width: 13px; height: 13px; color: var(--gold); flex-shrink: 0; }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  max-width: 980px;
  margin-inline: auto;
}
@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 2px dashed rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-num { font-size: 14px; color: var(--ink-soft); font-weight: 700; }
.why-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--gold-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-family: var(--font-display-ar); font-weight: 400; font-size: 26px; line-height: 1.3; }
.why-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- About / split ---------- */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .split { grid-template-columns: 1.15fr 1fr; gap: 56px; } }

.about-art { position: relative; }
.about-art img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border);
}

.about-copy .section-title { margin-block: 10px 16px; }
.about-copy p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 14px; }

/* ---------- Branches ---------- */
.branch-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .branch-grid { grid-template-columns: repeat(3, 1fr); } }

.branch-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.branch-card h3 { font-family: var(--font-display-ar); font-weight: 400; font-size: 28px; line-height: 1.3; color: var(--gold); }
.branch-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.branch-line svg { width: 18px; height: 18px; color: var(--ink); flex-shrink: 0; margin-top: 4px; }
.branch-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.branch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.branch-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.branch-btn:hover { border-color: var(--gold); color: var(--gold); }
.branch-btn.primary { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.branch-btn.primary:hover { background: var(--gold-deep); color: var(--on-gold); }

.social-band {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(255, 255, 255, 0.2);
}
.social-band p { font-size: 16px; font-weight: 600; }

.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.social-row svg { width: 19px; height: 19px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--ink-soft); padding: 60px 0 28px; }
.footer-top {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand p { font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.footer-col h5 { font-size: 14px; color: var(--gold); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: var(--ink); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 22px; font-size: 12.5px; color: #8E8E89;
}

/* ---------- Product detail modal ---------- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.product-modal.open { opacity: 1; pointer-events: auto; }
.product-modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.78); }
.product-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  transform: scale(0.94);
  transition: transform var(--dur-base) var(--ease-out);
}
.product-modal.open .product-modal-panel { transform: scale(1); }
.product-modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out);
}
.product-modal-close:hover { background: rgba(0, 0, 0, 0.65); }
.product-modal-close svg { width: 18px; height: 18px; }
.product-modal-media { aspect-ratio: 4 / 3; background: #232324; }
.product-modal-media img { width: 100%; height: 100%; object-fit: cover; }
.product-modal-illus { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-modal-illus .illus { width: 46%; height: 46%; }
.product-modal-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.product-modal-cat { font-size: 12.5px; color: var(--ink-soft); }
.product-modal-name { font-family: var(--font-display-ar); font-weight: 400; font-size: 30px; line-height: 1.35; }
.product-modal-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.product-modal-notes {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.75;
  padding-top: 12px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
  white-space: pre-line; /* keep line breaks typed into a sheet cell */
}
.product-modal-notes:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .product-modal, .product-modal-panel { transition: none; }
}

/* ==========================================================================
   Shopping cart (pattern adapted from rehat-darna-menu, re-themed)
   ========================================================================== */

/* ---------- Cart toggle (header) ---------- */
.cart-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.cart-toggle:hover { border-color: var(--gold); }
.cart-toggle:active { transform: scale(0.94); }
.cart-toggle svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute;
  top: -5px;
  inset-inline-end: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-badge[hidden] { display: none; }
.cart-badge.pulse { animation: cartPulse 0.4s var(--ease-out); }
@keyframes cartPulse { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- Add-to-cart controls (cards + popup) ---------- */
.product-cart-control { min-height: 40px; }
.product-add-cart {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 13.5px;
  font-weight: 700;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.product-add-cart svg { width: 16px; height: 16px; flex-shrink: 0; }
.product-add-cart:hover { background: var(--gold-deep); }
.product-add-cart:active { transform: scale(0.97); }

.product-cart-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 4px;
  animation: stepperPop 0.22s var(--ease-out);
}
.product-cart-stepper .qty-btn {
  width: 30px;
  height: 30px;
  background: var(--gold-tint);
  color: var(--gold);
}
.product-cart-stepper .qty-btn:hover { background: var(--gold); color: var(--on-gold); }
.product-cart-stepper .qty-value { font-size: 15px; color: var(--ink); }
@keyframes stepperPop { from { transform: scale(0.85); opacity: 0.5; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .product-cart-stepper { animation: none; } }

/* per-size rows: label + price + its own add button / mini stepper */
.size-lines { display: flex; flex-direction: column; border-top: 1px dashed var(--border); }
.size-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
}
.size-line-label { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 13.5px; font-weight: 600; }
.size-line-label .product-price { font-size: 19px; }
.size-line .product-cart-control { min-height: 0; flex-shrink: 0; }
.size-line .product-add-cart { width: 32px; height: 32px; padding: 0; border-radius: 50%; }
.size-line .product-add-cart span { display: none; }
.size-line .product-cart-stepper { width: auto; gap: 4px; padding: 2px; }
.size-line .product-cart-stepper .qty-btn { width: 26px; height: 26px; }
.size-line .product-cart-stepper .qty-value { font-size: 13.5px; min-width: 18px; }
/* narrow 2-column cards: drop the currency on size rows, shrink the stepper,
   and let the control wrap under the label rather than overlap it */
@media (max-width: 639px) {
  .product-card .size-line { flex-wrap: wrap; row-gap: 4px; }
  .product-card .size-line-label { gap: 5px; }
  .product-card .size-line-label .product-price small { display: none; }
  .product-card .size-line .product-cart-control { margin-inline-start: auto; }
  .product-card .size-line .product-cart-stepper .qty-btn { width: 23px; height: 23px; }
  .product-card .size-line .product-cart-stepper .qty-value { min-width: 14px; font-size: 13px; }
}
#productSections.view-list .product-card .size-line { flex-wrap: nowrap; }
#productSections.view-list .product-card .size-line-label .product-price small { display: inline; }
.product-modal .size-line { padding: 10px 2px; }
.product-modal .size-line-label { font-size: 15px; }
.product-modal .size-line-label .product-price { font-size: 22px; }
.product-modal-add { margin-top: 6px; }
.product-modal-add:empty { display: none; }

/* ---------- Cart drawer ---------- */
.cart-drawer { position: fixed; inset: 0; z-index: 310; visibility: hidden; pointer-events: none; }
.cart-drawer.open { visibility: visible; pointer-events: auto; }
.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.cart-drawer.open .cart-drawer-overlay { opacity: 1; }
.cart-drawer-panel {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  height: 100%;
  width: 100%;
  max-width: 420px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform var(--dur-base) var(--ease-out);
}
html[dir="rtl"] .cart-drawer-panel { transform: translateX(-100%); box-shadow: 20px 0 60px -20px rgba(0, 0, 0, 0.6); }
.cart-drawer.open .cart-drawer-panel { transform: translateX(0); }

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 14px;
  border-bottom: 2px dashed var(--border);
  flex-shrink: 0;
}
.cart-drawer-head h3 { font-size: 28px; line-height: 1.3; color: var(--gold); }
.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.cart-drawer-close:hover { border-color: var(--ink); }
.cart-drawer-close svg { width: 16px; height: 16px; }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 16px; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--ink-soft);
  flex: 1;
}
.cart-empty svg { width: 46px; height: 46px; color: var(--rose); }
.cart-empty p { font-size: 14.5px; }

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; padding-bottom: 0; }
.cart-item-img, .cart-item-img-placeholder {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--cream-deep);
}
.cart-item-img-placeholder { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-item-img-placeholder .illus { width: 80%; height: 80%; }
.cart-item-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cart-item-name { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.cart-item-meta { font-size: 12px; color: var(--ink-soft); }
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
}
.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.qty-btn:hover { background: rgba(255, 255, 255, 0.08); }
.qty-btn:active { transform: scale(0.94); }
.qty-value { min-width: 24px; text-align: center; font-size: 13.5px; font-weight: 700; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item-subtotal { font-family: var(--font-display-ar); font-size: 19px; line-height: 1.2; color: var(--gold); white-space: nowrap; }
.cart-item-subtotal small { font-family: var(--font-body); font-size: 11px; color: var(--ink-soft); margin-inline-start: 2px; }
.cart-item-remove {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.cart-item-remove:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.cart-item-note {
  grid-column: 1 / -1;
  width: 100%;
  resize: vertical;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px dashed var(--border);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}
.cart-item-note:focus { outline: none; border-style: solid; border-color: var(--gold); }
.cart-item-note::placeholder { color: #85857F; }
.cart-item-remove svg { width: 14px; height: 14px; }

.cart-drawer-foot {
  flex-shrink: 0;
  padding: 16px 22px 22px;
  border-top: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 62vh;
  overflow-y: auto;
}
.cart-drawer-foot[hidden] { display: none; }
.cart-field-label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.cart-branch { display: flex; flex-direction: column; gap: 8px; }
.cart-branch-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cart-branch-opt {
  padding: 9px 6px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}
.cart-branch-opt:hover { border-color: var(--gold); }
.cart-branch-opt[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.cart-branch-error { font-size: 12.5px; color: #FF8A7A; font-weight: 600; }
.cart-branch-error[hidden] { display: none; }
.cart-branch.needs-choice .cart-branch-opt { border-color: #FF8A7A; }
.cart-note {
  width: 100%;
  resize: vertical;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.cart-note:focus { outline: none; border-color: var(--gold); }
.cart-note::placeholder { color: #85857F; }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 700; margin-top: 4px; }
.cart-total-row span:last-child { font-family: var(--font-display-ar); font-size: 26px; line-height: 1.2; color: var(--gold); }
.cart-total-row small { font-family: var(--font-body); font-size: 12px; color: var(--ink-soft); margin-inline-start: 3px; }
.cart-checkout { width: 100%; justify-content: center; background: #25D366; color: #fff; }
.cart-checkout:hover { background: #1ebe57; }
.cart-checkout svg { width: 19px; height: 19px; }
.cart-clear {
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 4px;
  transition: color var(--dur-fast) var(--ease-out);
}
.cart-clear:hover { color: var(--ink); }

@media (max-width: 480px) {
  .cart-drawer-panel { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-drawer-panel, .cart-drawer-overlay, .cart-badge.pulse { transition: none; animation: none; }
}
