/* =========================================================
   AURORA — Bakery, Pastry & Ice Cream
   Design tokens
   Color   — cream #FBF7EF · cream-deep #F1E9D8 · ink #3A2A1C
             brown #6B4226 · teal #7FC4BD · teal-deep #4F958D
             sage #B9D189 · gold #E9C77E
   Type    — Display: 'Fraunces' (warm italic serif, Italian gelateria feel)
             Body:    'Sora' (clean geometric sans)
             Mono:    'IBM Plex Mono' (product codes / eyebrows)
   Signature — hand-drawn single-line swirl motif echoing the logo's
             line-art scoop, used as section dividers & markers
   ========================================================= */

:root {
  --cream: #FBF7EF;
  --cream-deep: #F1E8D4;
  --ink: #3A2A1C;
  --ink-soft: #6B5A47;
  --brown: #6B4226;
  --brown-deep: #4A2E19;
  --teal: #7FC4BD;
  --teal-deep: #4F958D;
  --sage: #B9D189;
  --sage-deep: #93AC66;
  --gold: #E9C77E;
  --white: #FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Sora', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 30px rgba(74, 46, 25, 0.08);
  --shadow-hover: 0 14px 40px rgba(74, 46, 25, 0.14);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brown-deep);
  margin: 0 0 0.4em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.italic-accent {
  font-style: italic;
  color: var(--teal-deep);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--teal-deep);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--brown-deep); box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.btn-whatsapp {
  background: #25D366;
  color: #0b3d20;
}
.btn-whatsapp:hover { background: #1ebd5a; transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-outline {
  background: transparent;
  border-color: var(--brown);
  color: var(--brown);
}
.btn-outline:hover { background: var(--brown); color: var(--white); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 66, 38, 0.08);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--brown-deep);
}
.brand img { height: 110px; width: auto; }

nav.primary-nav { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
nav.primary-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
nav.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--teal-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
nav.primary-nav a:hover::after,
nav.primary-nav a.active::after { transform: scaleX(1); }
nav.primary-nav a.active { color: var(--teal-deep); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-deep);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 1180px) {
  nav.primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 20px;
    border-bottom: 1px solid rgba(107,66,38,0.1);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  nav.primary-nav.open { transform: translateY(0); }
  nav.primary-nav a { padding: 12px 0; width: 100%; white-space: normal; }
  .menu-toggle { display: block; }
  .nav-cta .btn span.btn-text { display: none; }
  .nav-cta .social-icons { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero-lede { font-size: 1.15rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-art {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  justify-self: center;
}
.hero-art img { width: 100%; max-width: 340px; margin: 0 auto; }

/* ---------- Photo treatments ---------- */
.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border-radius: 50%;
  padding: 10px;
  box-shadow: var(--shadow-hover);
  width: 92px; height: 92px;
}
@media (max-width: 900px) {
  .hero-photo-badge { left: 50%; transform: translateX(-50%); bottom: -20px; }
}

.card-photo {
  overflow: hidden;
  padding: 0 !important;
}
.card-photo .photo-frame { aspect-ratio: 4/3; overflow: hidden; }
.card-photo .photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card-photo:hover .photo-frame img { transform: scale(1.06); }
.card-photo .card-photo-body { padding: 26px; }

.photo-panel {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.about-photo-grid .photo-panel:first-child { aspect-ratio: 3/4; }
.about-photo-grid .photo-panel:last-child { aspect-ratio: 3/4; align-self: end; }
@media (max-width: 620px) {
  .about-photo-grid { grid-template-columns: 1fr 1fr; }
}

.banner-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 21/8;
  margin-bottom: 20px;
}
.banner-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .banner-photo { aspect-ratio: 4/3; } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .eyebrow { justify-content: center; }
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-deep { background: var(--cream-deep); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* swirl divider — signature element */
.swirl-divider {
  display: block;
  width: 120px;
  height: 40px;
  margin: 0 auto 28px;
  opacity: 0.85;
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card .icon-dot {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

/* ---------- Steps (real sequence -> numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 32px 26px 26px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--teal-deep);
  background: var(--cream-deep);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 14px;
}

/* ---------- Flavor tiers ---------- */
.tier-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tier-tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--brown);
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  transition: 0.18s ease;
}
.tier-tab.active, .tier-tab:hover { background: var(--brown); color: var(--white); }

.tier-panel { display: none; }
.tier-panel.active { display: block; }

.tier-note {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .flavor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flavor-grid { grid-template-columns: 1fr; } }

.flavor-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.flavor-card.has-photo { padding: 0; overflow: hidden; align-items: stretch; }
.flavor-card.has-photo .flavor-photo { width: 74px; flex-shrink: 0; overflow: hidden; }
.flavor-card.has-photo .flavor-photo img { width: 100%; height: 100%; object-fit: cover; }
.flavor-card.has-photo .flavor-text { padding: 16px 18px; }
.flavor-icon { width: 54px; height: 54px; flex-shrink: 0; }
.flavor-icon img { width: 100%; height: 100%; display: block; }
/* Default (English site): show English name only, styled as primary */
.flavor-name-ar { display: none; }
.flavor-name-en {
  font-weight: 700;
  color: var(--brown-deep);
  font-size: 1rem;
}
/* Arabic site (RTL): show both, Arabic primary, English secondary */
[dir="rtl"] .flavor-name-ar {
  display: block;
  font-weight: 700;
  color: var(--brown-deep);
  font-size: 1.05rem;
  direction: rtl;
  font-family: var(--font-arabic);
}
[dir="rtl"] .flavor-name-en {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 500;
}
.flavor-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--teal-deep);
  letter-spacing: 0.05em;
}

/* ---------- Who we serve ---------- */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 800px) { .serve-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brown);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.8); }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
@media (max-width: 560px) { .form-card { padding: 26px; } }

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brown-deep);
  margin-bottom: 8px;
}
.form-row .hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-grid-2 { grid-template-columns: 1fr; } }

input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(107,66,38,0.2);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.18s ease;
}
textarea { resize: vertical; min-height: 100px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal-deep);
}
input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 2px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 560px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
}
.checkbox-item:has(input:checked) {
  border-color: var(--teal-deep);
  background: rgba(127, 196, 189, 0.12);
}
.checkbox-item input { accent-color: var(--teal-deep); width: 16px; height: 16px; }

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(185,209,137,0.25); color: var(--brown-deep); }

/* ---------- Footer ---------- */
footer {
  background: var(--brown-deep);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
footer a { color: rgba(255,255,255,0.8); }
footer a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 90px; }
.footer-brand span { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 56px 0 20px;
  text-align: center;
}
.page-hero p { max-width: 60ch; margin: 0 auto; }

/* ---------- Misc ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--brown-deep);
}
.divider-line {
  border: none;
  border-top: 1px solid rgba(107,66,38,0.12);
  margin: 40px 0;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.map-frame {
  border: 0;
  width: 100%;
  height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-info-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-list .ci-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-list strong { display: block; color: var(--brown-deep); }


/* ---------- Order type toggle ---------- */
.order-type-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}
.order-type-btn {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--brown);
  background: var(--white);
  color: var(--brown);
  cursor: pointer;
  transition: 0.18s ease;
  text-align: center;
}
.order-type-btn small { display: block; font-weight: 500; font-size: 0.78rem; opacity: 0.75; margin-top: 3px; }
.order-type-btn.active { background: var(--brown); color: var(--white); }
.order-fields-group { display: none; }
.order-fields-group.active { display: block; }

/* ---------- Flavor picker ---------- */
.picker-tier-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.picker-tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(107,66,38,0.25);
  background: var(--cream);
  color: var(--brown);
  cursor: pointer;
}
.picker-tab.active { background: var(--brown); color: var(--white); border-color: var(--brown); }
.picker-panel { display: none; }
.picker-panel.active { display: flex; flex-direction: column; gap: 10px; }

.picker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  border: 1.5px solid transparent;
  transition: border-color 0.15s ease;
}
.picker-row.has-qty { border-color: var(--teal-deep); background: rgba(127,196,189,0.08); }
.picker-row .flavor-icon { width: 40px; height: 40px; }
.picker-row .picker-names { flex: 1; min-width: 0; }
.picker-row .picker-name-ar { font-weight: 700; color: var(--brown-deep); font-size: 0.95rem; direction: rtl; }
.picker-row .picker-name-en { color: var(--ink-soft); font-size: 0.78rem; }

.qty-stepper { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.qty-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--brown);
  background: var(--white);
  color: var(--brown);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.qty-btn:hover { background: var(--brown); color: var(--white); }
.qty-value { width: 28px; text-align: center; font-weight: 700; color: var(--brown-deep); font-family: var(--font-mono); font-size: 0.9rem; }

/* ---------- Order summary panel ---------- */
.order-summary {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 24px;
  position: sticky;
  bottom: 16px;
}
.order-summary h4 { margin-bottom: 10px; font-size: 1rem; color: var(--brown-deep); }
.order-summary-empty { color: var(--ink-soft); font-size: 0.9rem; }
.order-summary-list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 6px; }
.order-summary-list li { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--ink); }
.order-summary-list li b { color: var(--brown-deep); font-family: var(--font-mono); }
.order-summary-total { font-weight: 700; color: var(--brown-deep); border-top: 1px solid rgba(107,66,38,0.15); padding-top: 8px; font-size: 0.92rem; }

/* =========================================================
   BILINGUAL / RTL SUPPORT
   ========================================================= */
:root {
  --font-arabic: 'Cairo', sans-serif;
}

[dir="rtl"] body { font-family: var(--font-arabic); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: var(--font-arabic); }
[dir="rtl"] .eyebrow, [dir="rtl"] .flavor-code, [dir="rtl"] .tag { font-family: var(--font-arabic); }

/* Nav mirrors (desktop only — mobile keeps a consistent stacked layout) */
@media (min-width: 1181px) {
  [dir="rtl"] .nav-inner { flex-direction: row-reverse; }
  [dir="rtl"] nav.primary-nav { flex-direction: row-reverse; }
  [dir="rtl"] .nav-cta { flex-direction: row-reverse; }
}
[dir="rtl"] .brand { flex-direction: row-reverse; }
[dir="rtl"] .eyebrow::before { order: 2; }
[dir="rtl"] .eyebrow { flex-direction: row-reverse; }

/* Hero / two-col mirrors */
[dir="rtl"] .hero-inner { direction: rtl; }
[dir="rtl"] .two-col { direction: rtl; }
[dir="rtl"] .about-photo-grid { direction: rtl; }
[dir="rtl"] .hero-photo-badge { right: -18px; left: auto; }
@media (max-width: 900px) {
  [dir="rtl"] .hero-photo-badge { left: 50%; right: auto; }
}

/* Cards / grids */
[dir="rtl"] .card, [dir="rtl"] .flavor-card, [dir="rtl"] .picker-row,
[dir="rtl"] .contact-info-list li, [dir="rtl"] .footer-brand {
  direction: rtl;
}
[dir="rtl"] .flavor-name-ar { direction: rtl; text-align: right; }
[dir="rtl"] .qty-stepper { flex-direction: row-reverse; }

/* Steps counter stays LTR visually (numbers), text follows RTL */
[dir="rtl"] .step { text-align: right; }

/* Footer mirrors */
[dir="rtl"] .footer-grid { direction: rtl; text-align: right; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .footer-list { align-items: flex-end; }

/* Forms */
[dir="rtl"] .form-row label { text-align: right; }
[dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea { text-align: right; }
[dir="rtl"] .checkbox-item, [dir="rtl"] .order-type-btn small { direction: rtl; }
[dir="rtl"] .picker-names { text-align: right; }
[dir="rtl"] .order-summary-list li { flex-direction: row-reverse; }

/* Buttons with icons/text */
[dir="rtl"] .btn { flex-direction: row-reverse; }
[dir="rtl"] .hero-actions { direction: rtl; }

/* WhatsApp float + tier tabs stay put, just text flips */
[dir="rtl"] .tier-tabs, [dir="rtl"] .picker-tier-tabs { direction: rtl; }
[dir="rtl"] .serve-grid, [dir="rtl"] .grid-3, [dir="rtl"] .grid-4, [dir="rtl"] .steps { direction: rtl; }

/* ---------- Language toggle button ---------- */
.lang-toggle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--brown);
  background: transparent;
  color: var(--brown);
  cursor: pointer;
  transition: 0.18s ease;
  white-space: nowrap;
}
.lang-toggle:hover { background: var(--brown); color: var(--white); }
[dir="rtl"] .lang-toggle { font-family: var(--font-arabic); }

/* ---------- Values grid (6 items) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Differentiator checklist ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}
@media (max-width: 640px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--brown-deep);
  font-size: 0.95rem;
}
.diff-item .diff-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(127,196,189,0.18);
  color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}
[dir="rtl"] .diff-item { direction: rtl; }

/* ---------- Event type cards ---------- */
.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .event-grid { grid-template-columns: 1fr; } }
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.event-card .event-icon { font-size: 2rem; margin-bottom: 12px; }
.event-card h3 { font-size: 1.05rem; margin: 0; }

/* ---------- Mission / Vision cards ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card {
  background: var(--brown);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
}
.mv-card h3 { color: var(--gold); margin-bottom: 12px; }
.mv-card p { color: rgba(255,255,255,0.85); margin: 0; }

/* ---------- Photo badge flavors (real/branded images instead of drawn icon) ---------- */
.flavor-icon.is-photo img {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ---------- Photo gallery grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid .photo-panel { aspect-ratio: 3/4; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   HEADER UPGRADE: announcement bar, tagline, sticky-scroll,
   social icons, gallery masonry
   ========================================================= */

/* ---------- Announcement bar ---------- */
.announce-bar {
  background: var(--brown);
  color: rgba(255,255,255,0.92);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}

/* ---------- Brand + tagline ---------- */
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.35rem; }
.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

/* ---------- Sticky header scroll transition ---------- */
header.site-header {
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
header.site-header.at-top {
  background: rgba(251, 247, 239, 0.0);
  border-bottom-color: transparent;
  box-shadow: none;
}
header.site-header.scrolled {
  background: rgba(251, 247, 239, 0.92);
  box-shadow: 0 4px 20px rgba(74,46,25,0.08);
}

/* ---------- Social icons ---------- */
.social-icons { display: flex; align-items: center; gap: 12px; }
.social-icons a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown);
  border: 1.5px solid rgba(107,66,38,0.25);
  transition: 0.18s ease;
}
.social-icons a:hover { background: var(--brown); color: var(--white); border-color: var(--brown); }
.social-icons svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Order Now button with icon ---------- */
.btn-order-icon { font-size: 1rem; line-height: 1; }

/* ---------- Gallery masonry ---------- */
.gallery-section-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 40px 0 16px;
}
.gallery-section-title:first-child { margin-top: 0; }
.masonry-row { display: grid; gap: 14px; grid-auto-flow: column; grid-auto-columns: 1fr; margin-bottom: 14px; }
.masonry-row img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.masonry-row.wide img { aspect-ratio: 4/3; }
@media (max-width: 800px) {
  .masonry-row { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }
}

/* ---------- RTL support for header upgrade ---------- */
[dir="rtl"] .brand-text { align-items: flex-end; }
[dir="rtl"] .social-icons { flex-direction: row-reverse; }
[dir="rtl"] .masonry-row { direction: rtl; }

/* ---------- Button icon spacing ---------- */
.btn-icon { font-size: 1.05rem; line-height: 1; }

/* ---------- Mobile: scale down logo/brand to prevent header crowding ---------- */
@media (max-width: 1180px) {
  .brand img { height: 56px; }
  .brand-name { font-size: 1.05rem; }
  .brand-tagline { font-size: 0.58rem; }
  .nav-cta { gap: 8px; }
}
@media (max-width: 480px) {
  .brand-text { display: none; }
}
