﻿/* ==========================================================================
   Fatak (فاتك) — Burger and More. One fixed light palette taken from the
   printed menu (cream paper, menu red, deep maroon, mustard accent).
   Deliberately NO dark-mode variants: colors are identical for every visitor.
   Variable names are the template's (gold = primary red, rose = mustard accent,
   espresso = deep maroon) so the proven component CSS keeps working.
   ========================================================================== */

:root {
  --cream: #FFFBE3;
  --cream-deep: #F8EFC6;
  --paper: #FFFEF6;
  --espresso: #5B1108;
  --espresso-soft: #7A1D10;
  --gold: #D9312B;
  --gold-deep: #B0221D;
  --gold-tint: #FCE3DD;
  --rose: #E3A72F;
  --rose-deep: #B27A0D;
  --rose-tint: #FBEDC0;
  --ink: #3B0F08;
  --ink-soft: #7A4A3F;
  --border: rgba(91, 17, 8, 0.15);
  --shadow-color: 91, 17, 8;

  --font-display-ar: 'El Messiri', sans-serif;
  --font-display-en: 'Fraunces', serif;
  --font-body: 'Inter', 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: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@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;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}

html[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', var(--font-body); }

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: 24px;
}

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

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

[lang-display="ar"], html[data-lang="ar"] .display { font-family: var(--font-display-ar); }
html[data-lang="en"] .display { font-family: var(--font-display-en); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
html[data-lang="ar"] .eyebrow { letter-spacing: 0.02em; text-transform: none; font-size: 14px; }

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--rose);
}

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

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

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}

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

.on-dark { --cream: var(--espresso); }
.band-dark {
  background: var(--espresso);
  color: #F3E9DD;
}
.band-dark .section-sub { color: #EBD3C5; }
.band-dark h2, .band-dark h3 { color: #F9F2E7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow 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: #FBF6EF;
  box-shadow: 0 10px 24px -12px rgba(217, 49, 43, 0.5);
}
.btn-primary:hover { background: var(--gold-deep); box-shadow: 0 14px 30px -12px rgba(217, 49, 43, 0.6); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--ink); }
.band-dark .btn-ghost { color: #F3E9DD; border-color: rgba(243,233,221,0.28); }
.band-dark .btn-ghost:hover { border-color: #F3E9DD; }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), backdrop-filter var(--dur-fast) var(--ease-out);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(var(--shadow-color), 0.04);
  background-color: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  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: 12px; }
.brand-mark { height: 44px; width: 44px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.brand-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brand-name {
  font-family: var(--font-display-ar);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
html[data-lang="en"] .brand-name { font-family: var(--font-display-en); font-size: 21px; letter-spacing: 0.02em; }
.brand-sub { display: block; font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-soft); text-transform: uppercase; margin-top: 3px; }

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

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

.lang-toggle {
  display: inline-flex;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-toggle button {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.lang-toggle button[aria-pressed="true"] { background: var(--espresso); color: var(--cream); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
}

@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 28px 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; }
.mobile-nav a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav .btn { margin-top: 20px; align-self: flex-start; opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease-out) 0.3s, transform 0.4s var(--ease-out) 0.3s; }
.mobile-nav.open .btn { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 110px;
  overflow: hidden;
  background: var(--espresso);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
@media (max-width: 720px) {
  .hero-media {
    top: 84px;
  }
  .hero-media img {
    object-fit: cover;
    object-position: center 15%;
  }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 14, 10, 0.72) 0%, rgba(20, 14, 10, 0.58) 45%, rgba(20, 14, 10, 0.8) 100%);
}

.hero-photo .hero-copy .eyebrow { color: var(--rose); }
.hero-photo .hero-copy .eyebrow::before { background: var(--gold); }
.hero-photo .hero-title { color: #FBF6EF; }
.hero-photo .hero-title .accent { color: var(--rose); }
.hero-photo .hero-sub { color: rgba(251, 246, 239, 0.86); }
.hero-photo .hero-stat b { color: #FBF6EF; }
.hero-photo .hero-stat span { color: rgba(251, 246, 239, 0.72); }
.hero-photo .btn-ghost { color: #F3E9DD; border-color: rgba(243, 233, 221, 0.4); }
.hero-photo .btn-ghost:hover { border-color: #F3E9DD; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-copy { max-width: 640px; }

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.15;
  margin-block: 20px 18px;
}
html[data-lang="ar"] .hero-title { line-height: 1.35; }

.hero-title .accent { color: var(--rose); }

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 34px;
}

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

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat b { font-size: 26px; font-family: var(--font-display-en); color: var(--ink); }
html[data-lang="ar"] .hero-stat b { font-family: var(--font-display-ar); }
.hero-stat span { font-size: 12.5px; color: var(--ink-soft); }

/* 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); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }

.hero-copy .eyebrow, .hero-title, .hero-sub, .hero-cta, .hero-stats {
  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-stats { 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-stats, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Marquee strip ---------- */
.strip {
  border-block: 1px solid var(--border);
  overflow: hidden;
  background: var(--cream-deep);
}
.strip-track {
  display: flex;
  width: max-content;
  gap: 56px;
  padding: 16px 0;
  animation: marquee 32s linear infinite;
}
.strip-track span {
  font-family: var(--font-display-ar);
  font-size: 18px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
html[data-lang="en"] .strip-track span { font-family: var(--font-display-en); font-style: italic; }
.strip-track span::after { content: "•"; color: var(--rose); }

@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%); }
}

/* ---------- Categories ---------- */
.cat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 820px;
  margin-inline: auto;
}
.cat-grid .cat-card { flex: 0 0 calc(50% - 7px); }
@media (min-width: 560px) { .cat-grid { gap: 18px; } .cat-grid .cat-card { flex: 0 0 calc((100% - 54px) / 4); } }

.cat-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 34px -20px rgba(var(--shadow-color), 0.35);
  border-color: transparent;
}
.cat-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-tint);
  color: var(--gold-deep);
  transition: transform var(--dur-base) var(--ease-out);
}
.cat-card:nth-child(even) .cat-icon { background: var(--rose-tint); color: var(--rose-deep); }
.cat-card:hover .cat-icon { transform: scale(1.08) rotate(-4deg); }
.cat-icon svg { width: 34px; height: 34px; }
.cat-icon.has-photo { background: none; }
.cat-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cat-card span { font-size: 15.5px; font-weight: 700; }

/* ---------- Products ---------- */
.cat-section { scroll-margin-top: 110px; }
.cat-section + .cat-section { margin-top: 56px; }
.cat-section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cat-section-head .eyebrow { margin: 0; }
.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;
  align-items: flex-start;
  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;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(var(--shadow-color), 0.4); }

.product-art {
  aspect-ratio: 4 / 5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-art svg { width: 68%; height: 68%; transition: transform var(--dur-base) var(--ease-out); }
.product-card:hover .product-art svg { transform: scale(1.06); }
.product-art img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-base) var(--ease-out); }
.product-card:hover .product-art img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: rgba(var(--shadow-color), 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}

.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-name { font-size: 15.5px; font-weight: 700; }
.product-cat { font-size: 12px; color: var(--ink-soft); }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-price { font-family: var(--font-display-en); font-size: 19px; font-weight: 700; color: var(--gold-deep); }
html[data-lang="ar"] .product-price { font-family: var(--font-display-ar); }

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

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

.why-card {
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: rgba(243, 233, 221, 0.04);
  border: 1px solid rgba(243, 233, 221, 0.14);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-num {
  font-family: var(--font-display-en);
  font-size: 14px;
  color: var(--rose);
  font-weight: 700;
}
.why-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(227, 167, 47, 0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--rose);
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 19px; }
.why-card p { color: #EBD3C5; font-size: 14.5px; }

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

.about-art { position: relative; aspect-ratio: 1/1; max-width: 460px; margin-inline: auto; }
.about-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 50px -24px rgba(var(--shadow-color), 0.45);
}
.about-badge {
  position: absolute;
  bottom: 6%;
  inset-inline-start: -6%;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px -22px rgba(var(--shadow-color), 0.35);
}
.about-badge strong { font-size: 22px; font-family: var(--font-display-en); color: var(--rose); display: block; }
.about-badge span { font-size: 11.5px; color: var(--ink-soft); }

.about-copy p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 18px; }
.about-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.about-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ---------- Occasions band ---------- */
.occ-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.occ-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.occ-nav:hover { background: var(--gold); color: #fff; border-color: transparent; }
.occ-nav:active { transform: scale(0.94); }
.occ-nav svg { width: 20px; height: 20px; }
.occ-prev svg { transform: scaleX(-1); }
html[dir="rtl"] .occ-prev svg { transform: scaleX(1); }
html[dir="rtl"] .occ-next svg { transform: scaleX(-1); }
@media (max-width: 560px) { .occ-nav { width: 38px; height: 38px; } .occ-nav svg { width: 17px; height: 17px; } }

.occ-scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
}
.occ-scroller::-webkit-scrollbar { display: none; }
.occ-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 240px;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  background: var(--paper);
  border: 1px solid var(--border);
}
.occ-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.occ-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 1080px;
  margin-inline: auto;
}
@media (min-width: 640px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .testi-grid { grid-template-columns: repeat(4, 1fr); } }

.testi-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testi-stars { display: flex; gap: 3px; }
.testi-stars svg { width: 15px; height: 15px; }
.testi-quote { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.testi-name { font-size: 14px; font-weight: 700; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 40px; } }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.contact-row .icon-wrap {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-tint); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.contact-row .icon-wrap svg { width: 20px; height: 20px; }
.contact-row h4 { font-size: 14px; margin-bottom: 4px; }
.contact-row p, .contact-row a { font-size: 14.5px; color: var(--ink-soft); }
.contact-row a:hover { color: var(--gold-deep); }

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  height: 100%;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: saturate(0.85); }
.map-open-link {
  position: absolute;
  inset-inline-end: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(var(--shadow-color), 0.35);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.map-open-link svg { width: 16px; height: 16px; color: var(--rose); flex-shrink: 0; }
.map-open-link:hover { transform: translateY(-2px); background: var(--gold-tint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: #E8DCCB; padding: 64px 0 28px; }
.footer-top {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(232, 220, 203, 0.14);
}
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .brand-name { color: #F9F2E7; }
.footer-brand p { color: #B8A996; font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.footer-col h5 { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #B8A996; margin-bottom: 16px; }
html[data-lang="ar"] .footer-col h5 { text-transform: none; letter-spacing: 0; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: #E8DCCB; }
.footer-col a:hover { color: var(--rose); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(232, 220, 203, 0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.social-row a:hover { background: var(--rose); border-color: var(--rose); }
.social-row svg { width: 17px; height: 17px; }

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

/* ---------- Arch divider ---------- */
.arch-divider { display: block; width: 100%; height: auto; color: var(--cream); }

/* ---------- Product ID badge ---------- */
.product-art[data-lightbox] { cursor: zoom-in; }
.product-id {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  background: rgba(var(--shadow-color), 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  font-family: var(--font-display-en);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 11, 8, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(720px, 90vw);
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: scale(0.94);
  transition: transform var(--dur-base) var(--ease-out);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-close svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox img { transition: none; }
}

/* ==========================================================================
   Fatak additions
   ========================================================================== */

/* ---------- Header over the dark hero ---------- */
.brand-logo { height: 50px; width: auto; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px -8px rgba(0,0,0,0.5); }
.site-header.scrolled .brand-logo { height: 42px; }
.footer-brand .brand-logo { height: 64px; }
.site-header:not(.scrolled) .menu-toggle { color: #FFF3DC; border-color: rgba(255, 243, 220, 0.45); }
.site-header:not(.scrolled) .lang-toggle { border-color: rgba(255, 243, 220, 0.4); }
.site-header:not(.scrolled) .lang-toggle button { color: rgba(255, 243, 220, 0.85); }
.site-header:not(.scrolled) .lang-toggle button[aria-pressed="true"] { background: #FFF3DC; color: var(--espresso); }
.site-header:not(.scrolled) .main-nav a { color: rgba(255, 243, 220, 0.88); }
.site-header:not(.scrolled) .main-nav a:hover { color: #fff; background: rgba(255, 243, 220, 0.12); }
.hero { padding: 150px 0 90px; }
@media (max-width: 640px) { .hero { padding: 128px 0 64px; } }

/* ---------- Hero branch cards ---------- */
.hero-branches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-branch {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 18px;
  border-radius: 16px;
  background: rgba(251, 246, 239, 0.14);
  border: 1.5px solid rgba(251, 246, 239, 0.4);
  backdrop-filter: blur(6px);
  color: #FFF3DC;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.hero-branch:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.hero-branch svg { width: 26px; height: 26px; flex-shrink: 0; color: #FFF3DC; }
.hb-text { display: flex; flex-direction: column; line-height: 1.35; }
.hb-name { font-size: 18px; font-weight: 700; }
.hb-addr { font-size: 14.5px; font-weight: 500; opacity: 0.92; }
html[data-lang="ar"] .hb-name { font-family: var(--font-display-ar); font-size: 20px; }
.hb-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 700; color: #FFD98A; }
.hb-cta svg { width: 15px; height: 15px; }
html[dir="rtl"] .hb-cta svg { transform: scaleX(-1); }
.hero-branch:hover .hb-cta { color: #fff; }
@media (max-width: 560px) { .hero-branch { width: 100%; } }
.hero-branches { opacity: 0; transform: translateY(18px); animation: rise 0.8s var(--ease-out) 0.66s forwards; }
@media (prefers-reduced-motion: reduce) { .hero-branches { animation: none !important; opacity: 1 !important; transform: none !important; } }

/* ---------- Product view toggle ---------- */
.prod-head-row { flex-direction: row; align-items: center; justify-content: space-between; max-width: none; }
.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(--espresso); color: var(--cream); }

/* Grid is the default; one-item-at-a-time is the .view-list override */
.product-grid { gap: 16px; }
@media (min-width: 640px) { .product-grid { gap: 20px; } }
#productSections.view-list .product-grid {
  grid-template-columns: 1fr;
  max-width: 460px;
  margin-inline: auto;
  gap: 50px;
}
#productSections.view-list .product-art { aspect-ratio: 4 / 3; }
.product-card { cursor: pointer; }
.product-price-text { font-size: 16px; }

/* ---------- Category cover (first item's photo) ---------- */
.cat-icon.has-photo { width: 116px; height: 116px; background: none; padding: 0; overflow: hidden; border: 3px solid var(--paper); box-shadow: 0 10px 22px -12px rgba(var(--shadow-color), 0.55); }
.cat-icon.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cat-hero {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 7; max-height: 320px; width: 100%;
  border-radius: var(--radius-lg); margin-bottom: 22px;
  box-shadow: 0 24px 44px -26px rgba(var(--shadow-color), 0.5);
}
.cat-hero img { width: 100%; height: 100%; object-fit: cover; }
.cat-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(var(--shadow-color), 0.7)); }
.cat-hero-title {
  position: absolute; z-index: 1; inset-inline: 20px; bottom: 14px;
  color: #FFF3DC; font-size: clamp(22px, 4vw, 34px); font-weight: 700; line-height: 1.2;
}
html[data-lang="ar"] .cat-hero-title { font-family: var(--font-display-ar); }
.cat-note { font-size: 13px; color: var(--ink-soft); margin: -6px 0 16px; }

/* ---------- Promo banner ---------- */
.promo-banner {
  position: relative; overflow: hidden;
  padding: 46px 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center;
  background: repeating-linear-gradient(135deg, var(--gold-deep) 0, var(--gold-deep) 34px, var(--gold) 34px, var(--gold) 68px);
}
.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(var(--shadow-color), 0.5), rgba(var(--shadow-color), 0.62)); }
.promo-banner-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; }
.promo-word { font-size: clamp(40px, 7vw, 72px); font-weight: 700; color: #FFF3DC; line-height: 1; text-shadow: 0 6px 18px rgba(var(--shadow-color), 0.4); }
.promo-spark { font-size: clamp(20px, 3vw, 30px); color: var(--rose-tint); opacity: 0.9; }
.promo-tag {
  position: relative; z-index: 2;
  font-family: var(--font-display-en); font-style: italic; font-weight: 600;
  font-size: clamp(15px, 2vw, 19px); color: var(--rose-tint); letter-spacing: 0.02em;
}
html[data-lang="ar"] .promo-tag { font-family: var(--font-display-ar); font-style: normal; }

/* ---------- Photo showcase (continuous marquee) ---------- */
.section.promo { padding: 56px 0 8px; }
.promo-scroller-wrap { overflow: hidden; margin-bottom: 28px; }
.promo-scroller { display: flex; width: max-content; gap: 20px; animation: promo-marquee 30s 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; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(var(--shadow-color), 0.4); }
.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; margin-top: 4px; }

/* ---------- Product detail modal ---------- */
.product-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; 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(var(--shadow-color), 0.72); }
.product-modal-panel { position: relative; z-index: 1; width: 100%; max-width: 420px; max-height: 85vh; overflow-y: auto; background: var(--paper); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); 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.4); 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.55); }
.product-modal-close svg { width: 18px; height: 18px; }
.product-modal-media { aspect-ratio: 4 / 3; background: var(--gold-tint); }
.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 svg { width: 46%; height: 46%; }
.product-modal-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.product-modal-cat { font-size: 12px; color: var(--ink-soft); }
.product-modal-name { font-size: 21px; font-weight: 700; }
.product-modal-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.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; }
.product-modal-notes:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .product-modal, .product-modal-panel { transition: none; } }

/* ---------- Floating social (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: #FFF3DC;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -10px rgba(var(--shadow-color), 0.55);
  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) {
  /* Horizontal row on phones: covers one line at the bottom-left instead of a column of text */
  .floating-social { left: 12px; bottom: 12px; flex-direction: row; gap: 8px; }
  .floating-social a { width: 36px; height: 36px; }
  .floating-social svg { width: 18px; height: 18px; }
  .footer-bottom { padding-bottom: 56px; }
}

/* ---------- Contact: per-branch blocks + map stack ---------- */
.row-phone { display: block; margin-top: 2px; }
.map-stack { display: grid; gap: 16px; }
.map-stack .map-frame { min-height: 240px; height: 240px; }
.map-stack .map-frame iframe { min-height: 240px; }

/* ---------- About art ---------- */
.about-art { display: flex; align-items: center; justify-content: center; background: var(--rose-tint); border-radius: var(--radius-lg); box-shadow: 0 30px 50px -24px rgba(var(--shadow-color), 0.45); }
.about-art svg { width: 56%; height: 56%; }


/* Mobile menu open: header controls turn dark so they stay visible on the cream overlay */
.site-header.nav-open .menu-toggle { color: var(--ink); border-color: var(--border); }
.site-header.nav-open .lang-toggle { border-color: var(--border); }
.site-header.nav-open .lang-toggle button { color: var(--ink-soft); }
.site-header.nav-open .lang-toggle button[aria-pressed="true"] { background: var(--espresso); color: var(--cream); }

/* Keep price and calorie badge readable in narrow two-column cards */
.product-foot { flex-wrap: wrap; row-gap: 6px; }
.product-price { white-space: nowrap; }

/* ---------- Add-ons strip (under a category, like the printed menu) ---------- */
.cat-addons {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius-md);
}
.cat-addons-title { font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.cat-addons ul { display: flex; flex-direction: column; }
.cat-addons li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-top: 1px solid var(--border); }
.cat-addons li:first-child { border-top: none; }
.addon-name { font-weight: 700; font-size: 15px; }
.addon-name small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.addon-price { font-weight: 700; color: var(--gold-deep); white-space: nowrap; }

/* ---------- Hero photo (storefront) ---------- */
.hero-media, .hero-media img { top: 0; }
.hero-media img { object-position: 50% 40%; }
.hero-scrim {
  background: linear-gradient(180deg, rgba(48, 8, 3, 0.86) 0%, rgba(48, 8, 3, 0.72) 40%, rgba(48, 8, 3, 0.9) 100%);
}
@media (min-width: 900px) {
  html[dir="rtl"] .hero-scrim { background: linear-gradient(270deg, rgba(48, 8, 3, 0.92) 0%, rgba(48, 8, 3, 0.78) 45%, rgba(48, 8, 3, 0.3) 100%); }
  html[dir="ltr"] .hero-scrim { background: linear-gradient(90deg, rgba(48, 8, 3, 0.92) 0%, rgba(48, 8, 3, 0.78) 45%, rgba(48, 8, 3, 0.3) 100%); }
}
@media (max-width: 720px) { .hero-media { top: 0; } .hero-media img { object-position: 45% 30%; } }

/* ==========================================================================
   Shopping cart — side drawer, WhatsApp checkout (Prompt 2)
   ========================================================================== */

/* ---------- Cart toggle (header) ---------- */
.cart-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.site-header:not(.scrolled) .cart-toggle { color: #FFF3DC; border-color: rgba(255, 243, 220, 0.4); }
.site-header.nav-open .cart-toggle { color: var(--ink); border-color: var(--border); }
.cart-toggle:hover { border-color: var(--ink); }
.cart-toggle:active { transform: scale(0.94); }
.cart-toggle svg { width: 19px; height: 19px; }
.cart-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display-en);
  transition: transform var(--dur-fast) var(--ease-out);
}
.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 control on product cards ---------- */
.product-cart-control { margin-top: 10px; }
.product-add-cart {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold-tint);
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 700;
  transition: background var(--dur-fast) var(--ease-out), color 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); color: #fff; }
.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;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.product-cart-stepper .qty-btn:hover { background: var(--gold); color: #fff; }
.product-cart-stepper .qty-btn:active { transform: scale(0.94); }
.product-cart-stepper .qty-value {
  font-family: var(--font-display-en);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  min-width: 20px;
  text-align: center;
}
html[data-lang="ar"] .product-cart-stepper .qty-value { font-family: var(--font-display-ar); }
@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; } }

/* ---------- Product modal: add-on & box options, qty + add ---------- */
.product-modal-options { padding: 0 22px; display: flex; flex-direction: column; gap: 14px; }
.product-modal-options:empty { display: none; }
.modal-option-group { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; }
.modal-option-title { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.modal-option-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; }
.modal-option-row label { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.modal-option-row input[type="checkbox"], .modal-option-row input[type="radio"] { width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; }
.modal-option-price { font-size: 13px; font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.modal-meal-drinks { margin-top: 2px; padding-top: 10px; border-top: 1px dashed var(--border); display: none; flex-direction: column; gap: 2px; }
.modal-meal-drinks.open { display: flex; }

.modal-box-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.modal-box-row:last-child { border-bottom: none; }
.modal-box-name { font-size: 13.5px; font-weight: 600; }
.modal-box-stepper { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.modal-box-stepper .qty-btn { width: 26px; height: 26px; border-radius: 50%; background: var(--cream-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.modal-box-stepper .qty-value { min-width: 18px; text-align: center; font-weight: 700; font-family: var(--font-display-en); }
.modal-box-progress { font-size: 13px; font-weight: 700; text-align: center; padding-top: 10px; }
.modal-box-progress.ok { color: #1f8a4c; }
.modal-box-progress.bad { color: var(--rose-deep); }

.product-modal-nocart { padding: 0 22px 22px; font-size: 13px; color: var(--ink-soft); font-style: italic; }

.product-modal-add-row { display: flex; align-items: center; gap: 12px; padding: 18px 22px 24px; }
.product-modal-qty { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--border); border-radius: 999px; padding: 4px; flex-shrink: 0; }
.product-modal-qty .qty-btn { width: 32px; height: 32px; border-radius: 50%; background: var(--cream-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.product-modal-qty .qty-value { min-width: 26px; text-align: center; font-weight: 800; font-family: var(--font-display-en); }
html[data-lang="ar"] .product-modal-qty .qty-value { font-family: var(--font-display-ar); }
.product-modal-add { flex: 1; justify-content: center; }
.product-modal-add[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Cart line details (chosen add-ons / box breakdown) ---------- */
.cart-item-details { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
.cart-item-details span { font-size: 11.5px; color: var(--ink-soft); }

/* ---------- Branch selector (cart drawer foot) ---------- */
.cart-branch { display: flex; flex-direction: column; gap: 8px; }
.cart-branch-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.cart-branch-options { display: flex; gap: 8px; }
.cart-branch-btn {
  flex: 1;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  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-btn[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.cart-branch-hint { font-size: 12px; color: var(--rose-deep); display: none; }
.cart-branch-hint.show { display: block; }

/* ---------- 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(59, 15, 8, 0.55);
  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.4);
  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.4); }
.cart-drawer.open .cart-drawer-panel { transform: translateX(0); }

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer-head h3 { font-size: 19px; }
.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  color: var(--ink);
  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: 14px;
  padding: 60px 20px;
  color: var(--ink-soft);
  flex: 1;
}
.cart-empty svg { width: 46px; height: 46px; color: var(--border); }
.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);
  flex-shrink: 0;
}
.cart-item-img-placeholder { display: flex; align-items: center; justify-content: center; color: var(--gold-deep); }
.cart-item-img-placeholder svg { width: 26px; height: 26px; }
.cart-item-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-item-name { font-size: 14px; font-weight: 700; line-height: 1.35; }
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
}
.cart-item-qty .qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease-out);
}
.cart-item-qty .qty-btn:hover { background: var(--cream-deep); }
.cart-item-qty .qty-value { min-width: 24px; text-align: center; font-size: 13.5px; font-weight: 700; font-family: var(--font-display-en); }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item-subtotal { font-size: 14px; font-weight: 700; color: var(--gold-deep); font-family: var(--font-display-en); white-space: nowrap; }
html[data-lang="ar"] .cart-item-subtotal { font-family: var(--font-display-ar); }
.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: var(--rose-tint); color: var(--rose-deep); }
.cart-item-remove svg { width: 14px; height: 14px; }

.cart-drawer-foot { flex-shrink: 0; padding: 18px 22px 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.cart-drawer-foot[hidden] { display: none; }
.cart-total-row { display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 700; }
.cart-total-row span:last-child { font-family: var(--font-display-en); font-size: 19px; color: var(--gold-deep); }
html[data-lang="ar"] .cart-total-row span:last-child { font-family: var(--font-display-ar); }
.cart-checkout { width: 100%; justify-content: center; background: #25D366; box-shadow: 0 10px 24px -12px rgba(37, 211, 102, 0.55); }
.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: 6px;
  transition: color var(--dur-fast) var(--ease-out);
}
.cart-clear:hover { color: var(--rose); }

@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; }
}


/* ---------- Multi-size items (tea, karak): one row per size ---------- */
.size-table { display: flex; flex-direction: column; margin-top: 4px; }
.size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.size-row:last-child { border-bottom: none; }
.size-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.size-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.size-price { font-family: var(--font-display-en); font-weight: 700; font-size: 14.5px; color: var(--ink); white-space: nowrap; }
html[data-lang="ar"] .size-price { font-family: var(--font-display-ar); }

.size-add-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.size-add-btn svg { width: 17px; height: 17px; }
.size-add-btn:hover { background: var(--gold); color: #fff; }
.size-add-btn:active { transform: scale(0.94); }

.size-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 3px 5px;
  animation: stepperPop 0.22s var(--ease-out);
}
.size-stepper .qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.size-stepper .qty-btn:hover { background: var(--gold); color: #fff; }
.size-stepper .qty-value { min-width: 16px; text-align: center; font-weight: 800; font-size: 13px; font-family: var(--font-display-en); }
html[data-lang="ar"] .size-stepper .qty-value { font-family: var(--font-display-ar); }


/* ---------- Cart notes ---------- */
.cart-notes { display: flex; flex-direction: column; gap: 6px; }
.cart-notes-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.cart-notes-input {
  width: 100%;
  resize: vertical;
  min-height: 56px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.cart-notes-input::placeholder { color: var(--ink-soft); }
.cart-notes-input:focus { outline: none; border-color: var(--gold); }
