/* ============================================================
   Ember & Oak — restaurant.css
   Design system: warm cream palette, Playfair Display headings,
   Plus Jakarta Sans body, soft warm shadows, pill buttons.
   Bootstrap 5.3 handles grid/layout; this file is the brand layer.
   ============================================================ */

:root {
  --terracotta: #BD5D38;
  --terracotta-dark: #A34A28;
  --terracotta-soft: #F0DED3;
  --brown: #5B4513;
  --sage: #768A76;
  --sage-deep: #5F7A54;
  --ink: #2B2421;
  --cream: #F5EFE9;
  --cream-deep: #EFE7DE;
  --sand: #E4D8C8;
  --warmwhite: #FDFBF8;
  --star: #D9A441;
  --success: #5F7A54;

  --shadow-card: 0 2px 12px rgba(43, 36, 33, .06);
  --shadow-card-hover: 0 12px 32px rgba(43, 36, 33, .12);
  --shadow-modal: 0 24px 64px rgba(43, 36, 33, .22);
  --shadow-btn-primary: 0 4px 14px rgba(189, 93, 56, .30);

  --radius-card: 24px;
  --radius-inner: 16px;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

html {
  scroll-behavior: smooth;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  max-width: 100vw;
  overflow-x: clip;
  position: relative;
}

#app-content {
  max-width: 100%;
  overflow-x: clip;
}

/* subtle paper grain so cream backgrounds don't feel flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/img/texture-grain.svg");
  background-repeat: repeat;
  opacity: .04;
  pointer-events: none;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.font-serif {
  font-family: var(--font-serif);
  color: var(--ink);
}

h1, .h1 { font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
h2, .h2 { font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
h3, .h3 { font-weight: 500; line-height: 1.25; }

p { color: rgba(43, 36, 33, .8); }

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-dark); }

::selection { background: var(--terracotta-soft); color: var(--ink); }

img { user-select: none; }

/* Focus visibility — 2px terracotta outline at 40% */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid rgba(189, 93, 56, .4);
  outline-offset: 2px;
}

/* Lucide icons inherit size nicely */
.lucide { width: 1.125rem; height: 1.125rem; stroke-width: 2; }

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.eyebrow-light { color: rgba(245, 239, 233, .8); }

.display-hero {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(43, 36, 33, .7);
  max-width: 62ch;
}

.text-ink-70 { color: rgba(43, 36, 33, .7) !important; }
.text-ink-60 { color: rgba(43, 36, 33, .6) !important; }
.text-terracotta { color: var(--terracotta) !important; }
.text-sage { color: var(--sage) !important; }
.text-star { color: var(--star) !important; }
.bg-cream { background-color: var(--cream) !important; }
.bg-cream-deep { background-color: var(--cream-deep) !important; }
.bg-warmwhite { background-color: var(--warmwhite) !important; }
.bg-ink { background-color: var(--ink) !important; }

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---------- Buttons ---------- */

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 50rem;
  padding: .875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease,
              border-color .25s ease, transform .2s var(--ease-out-expo),
              box-shadow .25s ease;
  white-space: nowrap;
}

.btn-pill:active { transform: scale(.97); }

.btn-pill-primary {
  background-color: var(--terracotta);
  color: var(--warmwhite);
  box-shadow: var(--shadow-btn-primary);
}
.btn-pill-primary:hover, .btn-pill-primary:focus {
  background-color: var(--terracotta-dark);
  color: var(--warmwhite);
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(189, 93, 56, .40);
}
.btn-pill-primary:disabled { opacity: .5; box-shadow: none; transform: none; }

.btn-pill-outline {
  background-color: #faf7f2;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-pill-outline:hover, .btn-pill-outline:focus {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--warmwhite);
  transform: scale(1.02);
}

.btn-pill-secondary {
  background-color: #faf7f2;
  border-color: rgba(43, 36, 33, 0.25);
  color: var(--ink);
}
.btn-pill-secondary:hover, .btn-pill-secondary:focus {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--warmwhite);
  transform: scale(1.02);
}

.btn-pill .lucide {
  transition: transform .25s ease;
}
[dir="rtl"] .btn-pill:hover .lucide,
body.rtl .btn-pill:hover .lucide {
  transform: translateX(-4px);
}
[dir="ltr"] .btn-pill:hover .lucide,
body:not(.rtl) .btn-pill:hover .lucide {
  transform: translateX(4px);
}

.btn-pill-dark {
  background-color: var(--ink);
  color: var(--cream);
}
.btn-pill-dark:hover, .btn-pill-dark:focus {
  background-color: #1e1917;
  color: var(--cream);
  transform: scale(1.02);
}

.btn-pill-cream {
  background-color: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.btn-pill-cream:hover, .btn-pill-cream:focus {
  background-color: var(--cream);
  color: var(--ink);
}

.btn-pill-sm { padding: .625rem 1.25rem; font-size: 14px; }

/* circular icon button (44px) */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--sand);
  background-color: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease,
              border-color .25s ease, transform .3s var(--ease-out-expo);
}
.btn-icon:hover, .btn-icon:focus {
  background-color: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--warmwhite);
}
.btn-icon:disabled { opacity: .3; pointer-events: none; }

/* ---------- Chips ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 50rem;
  padding: .375rem .875rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.chip-terracotta { background-color: var(--terracotta); color: var(--warmwhite); }
.chip-sage { background-color: var(--sage); color: var(--warmwhite); }
.chip-ink { background-color: var(--ink); color: var(--cream); }
.chip-outline { border: 1px solid var(--sand); color: rgba(43, 36, 33, .7); background: transparent; }
.chip-cream-outline { border: 1px solid rgba(245, 239, 233, .5); color: var(--cream); background: transparent; }

/* ---------- Section spacing ---------- */

.section-pad { padding-top: 6rem; padding-bottom: 6rem; }
@media (max-width: 767.98px) { .section-pad { padding-top: 4rem; padding-bottom: 4rem; } }

/* ---------- Navbar ---------- */

.navbar-eao {
  height: 72px;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
  background-color: rgba(253, 251, 248, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 14px rgba(43, 36, 33, .08);
  border-bottom: 1px solid var(--sand);
  z-index: 1030;
}

.navbar-eao.is-scrolled,
.navbar-eao.is-solid {
  background-color: rgba(253, 251, 248, .98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(43, 36, 33, .12);
  border-bottom: 1px solid var(--sand);
}

.navbar-brand-eao {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  color: var(--ink);
  text-decoration: none;
}
.navbar-brand-eao img,
.navbar-brand-eao .site-brand-logo {
  max-height: 38px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.navbar-brand-eao .wordmark {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  white-space: nowrap;
}

.nav-link-eao {
  position: relative;
  display: inline-block;
  padding: .25rem 0;
  margin: 0 1rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s ease;
}
.nav-link-eao:hover { color: var(--terracotta); }
.nav-link-eao.active { color: var(--terracotta); }
.nav-link-eao.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 50rem;
  background-color: var(--terracotta);
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  border: 1px solid var(--sand);
  border-radius: 50rem;
  padding: .5rem .875rem;
  background: var(--warmwhite);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.location-chip:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  box-shadow: 0 2px 8px rgba(189, 93, 56, .15);
}
.location-chip .lucide { color: var(--terracotta); width: 16px; height: 16px; }

.fav-btn,
.cart-btn {
  position: relative;
  background-color: var(--warmwhite);
}
.fav-btn:hover,
.cart-btn:hover {
  background-color: var(--terracotta);
  color: var(--warmwhite);
}

#fav-count,
#cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 .25rem;
  border-radius: 50rem;
  background-color: var(--terracotta);
  color: var(--warmwhite);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

#cart-count.bounce { animation: eao-badge-bounce .5s var(--ease-out-expo); }

@keyframes eao-badge-bounce {
  0% { transform: scale(.4); }
  55% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* mobile offcanvas nav */
.offcanvas-nav {
  background-color: var(--cream);
  width: 100% !important;
  max-width: 100%;
}
.offcanvas-nav .mobile-link {
  display: block;
  border-radius: var(--radius-inner);
  padding: 1rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--ink);
}
.offcanvas-nav .mobile-link.active { color: var(--terracotta); }
.offcanvas-nav .mobile-link:hover { background-color: var(--cream-deep); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  margin-top: -72px; /* slide under the transparent navbar */
  overflow: hidden;
  max-width: 100%;
  contain: paint;
}

.hero:has(.hero-swiper) {
  align-items: stretch;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08); /* JS zooms out to 1 on load */
  will-change: transform;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(20, 16, 14, 0.88) 0%, rgba(25, 20, 18, 0.72) 42%, rgba(35, 28, 25, 0.35) 75%, rgba(35, 28, 25, 0.15) 100%),
    linear-gradient(180deg, rgba(20, 16, 14, 0.75) 0%, rgba(20, 16, 14, 0.40) 50%, rgba(245, 239, 233, 0.95) 92%, rgba(245, 239, 233, 1) 100%);
  pointer-events: none;
}
[dir="rtl"] .hero-bg::after {
  background:
    linear-gradient(to left, rgba(20, 16, 14, 0.88) 0%, rgba(25, 20, 18, 0.72) 42%, rgba(35, 28, 25, 0.35) 75%, rgba(35, 28, 25, 0.15) 100%),
    linear-gradient(180deg, rgba(20, 16, 14, 0.75) 0%, rgba(20, 16, 14, 0.40) 50%, rgba(245, 239, 233, 0.95) 92%, rgba(245, 239, 233, 1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 6rem;
}

.hero-eyebrow {
  display: inline-block;
  border-radius: 50rem;
  background-color: var(--terracotta);
  color: #FFFFFF;
  padding: .4rem 1.15rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-title {
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.9);
}
.hero-title em {
  font-style: italic;
  font-weight: 600;
  color: #FFA270;
  text-shadow: 0 0 25px rgba(255, 138, 80, 0.5), 0 2px 8px rgba(0, 0, 0, 0.85);
}

.hero-sub {
  margin-top: 1.25rem;
  max-width: 52ch;
  font-size: 19px;
  line-height: 1.65;
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.95);
  font-weight: 500;
}

.hero .btn-pill-primary {
  box-shadow: 0 8px 25px rgba(189, 93, 56, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero .btn-pill-cream {
  background: rgba(255, 255, 255, 0.95);
  color: #2B2421 !important;
  border: 1px solid #FFFFFF;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}
.hero .btn-pill-cream:hover {
  background: #FFFFFF;
  color: var(--terracotta) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
  margin-top: 2.25rem;
  padding: 10px 22px;
  background: rgba(20, 16, 14, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; color: #FFFFFF; }
.hero-meta .lucide { width: 16px; height: 16px; color: #FFA270; }
.hero-meta .lucide.star { color: #F59E0B; fill: #F59E0B; }

/* ---------- Hero Swiper (Slider) ---------- */
.hero-swiper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100%;
}
.hero-swiper .swiper-wrapper {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100%;
}
.hero-swiper .swiper-slide {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.hero-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 16, 14, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.hero-swiper-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
.hero-swiper-btn .lucide {
  width: 22px;
  height: 22px;
}
.hero-swiper-prev {
  left: 2rem;
}
.hero-swiper-next {
  right: 2rem;
}
[dir="rtl"] .hero-swiper-prev {
  left: auto;
  right: 2rem;
}
[dir="rtl"] .hero-swiper-next {
  right: auto;
  left: 2rem;
}

@media (max-width: 767.98px) {
  .hero-swiper-btn {
    width: 38px;
    height: 38px;
  }
  .hero-swiper-prev {
    left: 0.75rem;
  }
  .hero-swiper-next {
    right: 0.75rem;
  }
  [dir="rtl"] .hero-swiper-prev {
    left: auto;
    right: 0.75rem;
  }
  [dir="rtl"] .hero-swiper-next {
    right: auto;
    left: 0.75rem;
  }
}

.hero-swiper-pagination,
.hero .hero-swiper-pagination,
.swiper-horizontal > .hero-swiper-pagination.swiper-pagination-bullets,
.swiper-pagination-bullets.hero-swiper-pagination {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  min-width: 0 !important;
  max-width: 90% !important;
  margin: 0 !important;
  padding: 4px 8px !important;
  bottom: 5.25rem !important;
  top: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  z-index: 15 !important;
  pointer-events: auto !important;
}

[dir="rtl"] .hero-swiper-pagination,
[dir="rtl"] .hero .hero-swiper-pagination,
[dir="rtl"] .swiper-horizontal > .hero-swiper-pagination.swiper-pagination-bullets,
html[lang="ar"] .hero-swiper-pagination {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: rgba(255, 255, 255, 0.45) !important;
  opacity: 1 !important;
  border-radius: 50rem !important;
  transition: all .3s ease !important;
  cursor: pointer !important;
  margin: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
  border: none !important;
}
.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--terracotta) !important;
  width: 26px !important;
  box-shadow: 0 0 12px rgba(189, 93, 56, 0.6) !important;
}

/* ---------- Mouse Scroll Down Indicator ---------- */
.mouse-scroll-indicator {
  position: absolute !important;
  bottom: 1.75rem !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  z-index: 15 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 8px 16px !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, opacity 0.25s ease !important;
}
.mouse-scroll-indicator:hover {
  transform: translateX(-50%) translateY(3px) !important;
}
.mouse-scroll-indicator .mouse-icon {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  position: relative;
  background: rgba(20, 16, 14, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 0 8px rgba(0, 0, 0, 0.3);
}
.mouse-scroll-indicator .mouse-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: #FFA270;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 162, 112, 0.9);
  animation: eao-mouse-scroll 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.mouse-scroll-indicator .mouse-scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.mouse-scroll-indicator .mouse-scroll-arrow {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #FFA270;
  border-bottom: 2px solid #FFA270;
  transform: rotate(45deg);
  animation: eao-mouse-arrow 1.8s infinite;
}

@keyframes eao-mouse-scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  55% {
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes eao-mouse-arrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-2px, -2px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(2px, 2px);
  }
}

/* ---------- Back to Top Floating Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #BD5D38 0%, #A34A28 100%);
  color: #FFFFFF !important;
  border: 2px solid #FFFFFF;
  box-shadow: 0 8px 25px rgba(189, 93, 56, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  background: linear-gradient(135deg, #A34A28 0%, #8A3E20 100%);
  color: #FFFFFF !important;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 32px rgba(189, 93, 56, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.back-to-top:active {
  transform: translateY(-1px) scale(0.96);
}
.back-to-top svg,
.back-to-top .lucide {
  width: 24px;
  height: 24px;
  stroke-width: 2.5px;
  color: #FFFFFF;
  transition: transform 0.2s ease;
}
.back-to-top:hover svg,
.back-to-top:hover .lucide {
  transform: translateY(-2px);
}

/* ---------- Floating WhatsApp Button ---------- */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 24px;
  left: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1055;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

[dir="ltr"] .floating-whatsapp,
body.ltr .floating-whatsapp {
  right: auto;
  left: 24px;
}

[dir="rtl"] .floating-whatsapp,
body.rtl .floating-whatsapp {
  right: 24px;
  left: auto;
}

.floating-whatsapp:hover {
  color: #FFFFFF !important;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.18);
}

.floating-whatsapp:active {
  transform: translateY(-1px) scale(0.96);
}

.floating-whatsapp svg {
  width: 38px;
  height: 38px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-whatsapp:hover svg {
  transform: scale(1.05);
}

/* Subtle Pulse Ping Animation (radiating behind the button) */
.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.55;
  z-index: -1;
  animation: wa-pulse 2.2s infinite cubic-bezier(0.24, 0, 0.38, 1);
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.42);
    opacity: 0;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}

/* Floating WhatsApp Tooltip */
.floating-whatsapp-tooltip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #111827;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-family: inherit;
}

.floating-whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
}

[dir="rtl"] .floating-whatsapp-tooltip,
body.rtl .floating-whatsapp-tooltip {
  right: calc(100% + 14px);
  left: auto;
}

[dir="rtl"] .floating-whatsapp-tooltip::after,
body.rtl .floating-whatsapp-tooltip::after {
  left: 100%;
  border-left-color: #111827;
}

[dir="ltr"] .floating-whatsapp-tooltip,
body.ltr .floating-whatsapp-tooltip {
  left: calc(100% + 14px);
  right: auto;
}

[dir="ltr"] .floating-whatsapp-tooltip::after,
body.ltr .floating-whatsapp-tooltip::after {
  right: 100%;
  border-right-color: #111827;
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 576px) {
  .floating-whatsapp {
    width: 52px;
    height: 52px;
    bottom: 22px;
  }
  [dir="rtl"] .floating-whatsapp,
  body.rtl .floating-whatsapp {
    right: 16px;
  }
  [dir="ltr"] .floating-whatsapp,
  body.ltr .floating-whatsapp {
    left: 16px;
  }
  .floating-whatsapp svg {
    width: 34px;
    height: 34px;
  }
  .floating-whatsapp-tooltip {
    display: none;
  }
}

/* ---------- Section heading ---------- */

.section-heading .section-title { margin-top: .75rem; }
.section-heading .section-subtitle { margin-top: 1rem; }
.section-heading.centered .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Category cards (reference-image style) ---------- */

.category-card {
  position: relative;
  display: block;
  height: 300px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: var(--shadow-card);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease-out-expo);
  color: var(--warmwhite);
}
.category-card:hover {
  border-color: var(--terracotta);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  color: var(--warmwhite);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out-expo);
}
.category-card:hover img { transform: scale(1.05); }

.category-card .card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(43, 36, 33, .30) 0%,
    rgba(43, 36, 33, .35) 45%,
    rgba(43, 36, 33, .78) 100%);
}

.category-card .badge-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background-color: rgba(43, 36, 33, .65);
  backdrop-filter: blur(4px);
  color: var(--cream);
  border: 1px solid rgba(245, 239, 233, .25);
}
.category-card .badge-chip.badge-hot {
  background-color: var(--terracotta);
  border-color: var(--terracotta);
}

.category-card .card-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.category-card .card-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 12px rgba(43, 36, 33, .5);
}

.category-card .card-tagline {
  margin-top: .375rem;
  font-size: 13px;
  font-weight: 500;
  color: rgba(245, 239, 233, .85);
  max-width: 26ch;
}

.category-card .card-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

.category-card .explore-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
}
.category-card .explore-link .lucide { width: 15px; height: 15px; transition: transform .25s ease; }
.category-card:hover .explore-link { color: var(--terracotta-soft); }
.category-card:hover .explore-link .lucide { transform: translateX(4px); }

.category-card .item-count {
  font-size: 13px;
  font-weight: 500;
  color: rgba(245, 239, 233, .8);
}

/* ---------- Dish card ---------- */

.dish-card {
  height: 100%;
  background-color: var(--warmwhite);
  border-radius: var(--radius-card);
  padding: 1rem;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease;
}
.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.dish-card .dish-media {
  position: relative;
  display: block;
  border-radius: var(--radius-inner);
  overflow: hidden;
}
.dish-card .dish-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .5s ease;
}
.dish-card:hover .dish-media img { transform: scale(1.05); }

.dish-card .dish-chips {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  z-index: 2;
}

.dish-card .heart-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(253, 251, 248, .9);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .2s var(--ease-out-expo);
}
.dish-card .heart-btn:hover,
.heart-btn:hover { color: var(--terracotta); }
.dish-card .heart-btn.is-liked,
.dish-card .heart-btn.is-favorited,
.heart-btn.is-liked,
.heart-btn.is-favorited {
  background-color: var(--terracotta) !important;
  color: var(--warmwhite) !important;
  box-shadow: 0 4px 14px rgba(189, 93, 56, .4);
}
.dish-card .heart-btn.is-liked .lucide,
.dish-card .heart-btn.is-favorited .lucide,
.heart-btn.is-liked .lucide,
.heart-btn.is-favorited .lucide {
  fill: currentColor;
}
.dish-card .heart-btn:active,
.heart-btn:active { transform: scale(1.25); }

.dish-card .dish-body { padding: 1rem .25rem .25rem; }

.dish-card .dish-title-row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  min-width: 0;
  flex-wrap: wrap;
}
.dish-card .dish-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
a .dish-name, .dish-name a {
  color: var(--ink);
  transition: color .2s ease;
  overflow-wrap: break-word;
  word-break: break-word;
}
a:hover .dish-name, .dish-name a:hover { color: var(--terracotta); }

.dish-card .dotted-leader {
  flex: 1 1 auto;
  min-width: 8px;
  margin: 0 .25rem;
  border-bottom: 1px dotted rgba(43, 36, 33, .25);
  transform: translateY(-4px);
}

.dish-card .dish-price {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--terracotta);
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .dish-card .dish-name { font-size: 19px; }
  .dish-card .dish-price { font-size: 19px; }
}

.dish-card .dish-desc {
  margin-top: .5rem;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(43, 36, 33, .7);
}

.dish-card .dish-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  min-height: 40px;
}

/* circular add button */
.js-add-btn,
.add-btn-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background-color: var(--cream-deep);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .25s var(--ease-out-expo);
}
.js-add-btn:hover, .add-btn-circle:hover {
  background-color: var(--terracotta);
  color: var(--warmwhite);
}
.js-add-btn:active { transform: scale(1.15); }

/* qty stepper pill (swaps in for the add button via JS) */
.js-qty-stepper,
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border-radius: 50rem;
  background-color: var(--cream-deep);
  padding: .25rem;
}
.qty-stepper .js-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background-color: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.qty-stepper .js-qty-btn:hover { background-color: var(--terracotta); color: var(--warmwhite); }
.qty-stepper .js-qty-num {
  min-width: 22px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Tab pills (menu preview) ---------- */

.menu-tabs {
  position: relative;
  display: inline-flex;
  flex-wrap: nowrap;
  gap: .125rem;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--sand);
  border-radius: 50rem;
  padding: .25rem;
  background-color: var(--warmwhite);
}

.menu-tabs .tab-indicator {
  position: absolute;
  top: .25rem;
  left: 0;
  height: calc(100% - .5rem);
  border-radius: 50rem;
  background-color: var(--terracotta);
  transition: transform .35s var(--ease-out-expo), width .35s var(--ease-out-expo);
  will-change: transform, width;
}

.menu-tabs .tab-pill {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  border: 0;
  border-radius: 50rem;
  background: transparent;
  padding: .625rem 1.25rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color .25s ease;
  white-space: nowrap;
}
.menu-tabs .tab-pill:hover { color: var(--terracotta); }
.menu-tabs .tab-pill.active { color: var(--warmwhite); }

/* column wrapper used for live filter / tab filter */
.dish-card-col { transition: opacity .3s ease, transform .3s ease; }
.dish-card-col.preview-hide,
.dish-card-col.filter-hide { display: none !important; }

/* ---------- Most Popular ---------- */

.popular-card {
  position: relative;
  height: 100%;
  background-color: var(--warmwhite);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s ease, transform .3s var(--ease-out-expo);
}
.popular-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.popular-card .popular-media {
  position: relative;
  display: block;
  overflow: hidden;
}
.popular-card .popular-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .5s ease;
}
.popular-card:hover .popular-media img { transform: scale(1.06); }

.rank-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--terracotta);
  color: var(--warmwhite);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-btn-primary);
}

.popular-card .popular-body { padding: 1.25rem; }
.popular-card .popular-name { font-size: 24px; font-weight: 500; }
.popular-card .popular-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
  font-size: 14px;
  font-weight: 500;
  color: rgba(43, 36, 33, .6);
}
.popular-card .popular-meta .lucide { width: 16px; height: 16px; color: var(--star); fill: var(--star); }
.popular-action-row {
  border-top: 1px solid rgba(43, 36, 33, 0.08);
}
.popular-card .popular-price {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--terracotta);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.popular-card .js-add-btn.added {
  background-color: var(--sage-deep);
  color: var(--warmwhite);
  box-shadow: none;
}

/* pill-shaped add button in popular cards */
.add-btn-pill {
  width: auto;
  height: auto;
  border-radius: 50rem;
  padding: .44rem .85rem;
  font-size: 13px;
  font-weight: 600;
  background-color: var(--terracotta);
  color: var(--warmwhite);
  box-shadow: var(--shadow-btn-primary);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all .2s ease;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}
.add-btn-pill:hover {
  background-color: var(--terracotta-dark);
  color: var(--warmwhite);
  transform: translateY(-1px);
}
.add-btn-pill .lucide {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  flex-shrink: 0;
}

/* ---------- Order online band ---------- */

.order-band {
  position: relative;
  min-height: 420px;
  border-radius: 40px;
  overflow: hidden;
}

.order-band .band-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.order-band .band-bg img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  will-change: transform;
}
.order-band .band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(43, 36, 33, .78) 0%,
    rgba(43, 36, 33, .55) 50%,
    rgba(43, 36, 33, .32) 100%);
}

.order-band .band-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34rem;
  min-height: 420px;
  padding: 3rem;
}
@media (max-width: 575.98px) { .order-band .band-content { padding: 2rem; } }

.order-band h2 { color: var(--cream); }
.order-band p { color: rgba(245, 239, 233, .85); }

/* ambient pulse on the primary CTA until hovered */
.order-band .btn-pill-primary.pulse { animation: eao-pulse-shadow 2.4s ease-in-out infinite; }
.order-band .btn-pill-primary.pulse:hover { animation: none; box-shadow: 0 6px 20px rgba(189, 93, 56, .4); }

@keyframes eao-pulse-shadow {
  0%, 100% { box-shadow: 0 4px 14px rgba(189, 93, 56, .20); }
  50% { box-shadow: 0 4px 26px rgba(189, 93, 56, .55); }
}

/* ---------- Footer ---------- */

.footer-eao {
  position: relative;
  background-color: var(--ink);
  color: var(--cream);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  overflow-x: clip;
}

.footer-eao .footer-rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--terracotta);
}

.footer-eao .footer-badge {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--ink);
  transition: transform .8s ease-in-out;
}
.footer-eao .footer-badge:hover { transform: translateX(-50%) rotate(360deg); }
.footer-eao .footer-badge img {
  max-width: 36px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.footer-brand-logo {
  max-height: 40px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-eao .brand-word {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--cream);
}

.footer-eao .footer-heading {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.footer-eao p, .footer-eao li, .footer-eao a { color: rgba(245, 239, 233, .75); }
.footer-eao a:hover { color: var(--cream); }

.footer-eao .contact-row {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: 14px;
  transition: color .2s ease;
}
.footer-eao .contact-row .lucide { width: 16px; height: 16px; color: var(--terracotta); flex-shrink: 0; margin-top: 2px; }

.footer-eao .social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(245, 239, 233, .1);
  color: rgba(245, 239, 233, .8);
  transition: background-color .25s ease, color .25s ease, transform .3s var(--ease-out-expo);
}
.footer-eao .social-btn:hover {
  background-color: var(--terracotta);
  color: var(--cream);
  transform: scale(1.1);
}

.footer-eao .hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 14px;
}
.footer-eao .hours-row span:last-child { color: rgba(245, 239, 233, .6); }

.open-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 50rem;
  padding: .375rem .875rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--cream);
  background-color: rgba(118, 138, 118, .25);
}
.open-pill.closed { background-color: rgba(189, 93, 56, .25); }
.open-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--sage);
}
.open-pill.closed .dot { background-color: var(--terracotta); }

.footer-eao .quick-link {
  display: inline-block;
  font-size: 14px;
  color: rgba(245, 239, 233, .7);
  transition: color .2s ease, transform .2s ease;
}
.footer-eao .quick-link:hover { color: var(--terracotta); transform: translateX(4px); }

.footer-eao .newsletter-box {
  display: flex;
  align-items: center;
  border-radius: 50rem;
  background-color: rgba(245, 239, 233, .1);
  padding: .375rem .375rem .375rem 1rem;
}
.footer-eao .newsletter-box input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 14px;
  outline: none;
  box-shadow: none;
}
.footer-eao .newsletter-box input::placeholder { color: rgba(245, 239, 233, .4); }
.footer-eao .newsletter-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background-color: var(--terracotta);
  color: var(--cream);
  transition: background-color .2s ease;
}
.footer-eao .newsletter-box button:hover { background-color: var(--terracotta-dark); }

.footer-eao .footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 239, 233, .1);
  font-size: 13px;
  color: rgba(245, 239, 233, .5);
}
.footer-eao .footer-bottom a { color: rgba(245, 239, 233, .5); font-size: 13px; }
.footer-eao .footer-bottom a:hover { color: var(--cream); }

/* ---------- Location popup (gate) ---------- */

.location-modal .modal-content {
  border: 0;
  border-radius: var(--radius-card);
  background-color: var(--warmwhite);
  box-shadow: var(--shadow-modal);
  padding: 1rem;
}

.location-modal .logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  background-color: var(--cream-deep);
  animation: eao-breath 1.2s ease-in-out 1;
}
.location-modal .logo-badge img { width: 64px; height: 64px; }

@keyframes eao-breath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.location-modal .gate-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.location-modal .form-select,
.location-modal .form-control {
  border-radius: 50rem;
  border-color: var(--sand);
  background-color: var(--warmwhite);
  padding: .875rem 1.25rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.location-modal .form-select:focus,
.location-modal .form-control:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(189, 93, 56, .15);
}
.location-modal .form-select.is-chosen {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(189, 93, 56, .15);
}
.location-modal .manual-input {
  background-color: var(--cream-deep);
  border-color: transparent;
  padding-left: 3rem;
}
.location-modal .input-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(43, 36, 33, .5);
  pointer-events: none;
}

.location-modal .gate-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(43, 36, 33, .5);
  font-size: 13px;
}
.location-modal .gate-divider::before,
.location-modal .gate-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--sand);
}

.location-modal .skip-link {
  display: block;
  margin: 0 auto;
  border: 0;
  background: none;
  color: var(--brown);
  font-size: 14px;
  font-weight: 500;
  text-underline-offset: 4px;
  cursor: pointer;
}
.location-modal .skip-link:hover { text-decoration: underline; }

.suggestion-list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5;
  margin-top: .5rem;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--sand);
  border-radius: var(--radius-inner);
  background-color: var(--warmwhite);
  box-shadow: var(--shadow-card-hover);
}
.suggestion-list button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: .5rem;
  border: 0;
  background: none;
  padding: .75rem 1.25rem;
  text-align: left;
  font-size: 14px;
  color: rgba(43, 36, 33, .8);
  cursor: pointer;
}
.suggestion-list button:hover { background-color: var(--cream-deep); }
.suggestion-list .lucide { width: 14px; height: 14px; color: var(--terracotta); }

/* gate lock — blur + freeze the app behind the modal */
body.gate-locked { overflow: hidden; }
body.gate-locked #app-content {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}
body.gate-locked .navbar-eao,
body.gate-locked .footer-eao {
  filter: blur(8px);
  pointer-events: none;
}

/* ---------- Cart drawer (offcanvas) ---------- */

.offcanvas-cart {
  background-color: var(--warmwhite);
  width: 420px !important;
  max-width: 100%;
  border-left: 0;
  box-shadow: var(--shadow-modal);
}
@media (max-width: 575.98px) { .offcanvas-cart { width: 100% !important; } }

.offcanvas-cart .cart-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

.cart-item {
  display: flex;
  gap: 1rem;
  border: 1px solid var(--sand);
  border-radius: var(--radius-card);
  background-color: var(--warmwhite);
  padding: .75rem;
  box-shadow: var(--shadow-card);
}
.cart-item img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-inner);
  object-fit: cover;
}
.cart-item .item-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.cart-item .item-price {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--terracotta);
}
.cart-item .remove-btn {
  border: 0;
  background: none;
  color: rgba(43, 36, 33, .4);
  padding: .25rem;
  cursor: pointer;
  transition: color .2s ease;
}
.cart-item .remove-btn:hover { color: var(--terracotta); }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  min-height: 320px;
  text-align: center;
  padding: 2rem;
}
.cart-empty .empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(118, 138, 118, .15);
  color: var(--sage);
}
.cart-empty .empty-icon .lucide { width: 36px; height: 36px; }

/* ---------- Cart toast ---------- */

#cart-toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: .625rem;
  border-radius: var(--radius-inner);
  background-color: var(--warmwhite);
  padding: .875rem 1.25rem;
  box-shadow: var(--shadow-card-hover);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0;
  transform: translateY(24px) scale(.95);
  pointer-events: none;
  transition: opacity .3s ease, transform .35s var(--ease-out-expo);
}
#cart-toast.show { opacity: 1; transform: translateY(0) scale(1); }
#cart-toast .lucide { width: 20px; height: 20px; color: var(--terracotta); }

/* ---------- Reveal animation base state (JS-gated) ---------- */

.js-anim [data-reveal] { opacity: 0; }

/* ---------- About / Contact ---------- */

.value-card {
  height: 100%;
  background-color: var(--warmwhite);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.value-card .value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--terracotta-soft);
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}
.value-card .value-icon .lucide { width: 24px; height: 24px; }

.info-card {
  height: 100%;
  background-color: var(--warmwhite);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.info-card .info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--terracotta-soft);
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.rounded-media { border-radius: var(--radius-card); box-shadow: var(--shadow-card); }

/* ---------- Forms (brand defaults for Bootstrap controls) ---------- */

.form-control, .form-select {
  border-radius: var(--radius-inner);
  border-color: var(--sand);
  background-color: var(--warmwhite);
  color: var(--ink);
  padding: .75rem 1rem;
  font-size: 15px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 .25rem rgba(189, 93, 56, .15);
}
.form-control::placeholder { color: rgba(43, 36, 33, .4); }

/* ---------- Check-draw keyframes (payment success uses too) ---------- */

@keyframes eao-check-draw {
  from { stroke-dashoffset: 48; }
  to { stroke-dashoffset: 0; }
}
@keyframes eao-circle-draw {
  from { stroke-dashoffset: 166; }
  to { stroke-dashoffset: 0; }
}

/* ---------- Misc responsive ---------- */

@media (max-width: 991.98px) {
  .hero,
  .hero-swiper,
  .hero-swiper .swiper-wrapper,
  .hero-swiper .swiper-slide {
    min-height: 560px;
    min-height: 72vh;
    min-height: 72dvh;
    height: auto;
  }
  .hero-content {
    padding-top: 90px;
    padding-bottom: 5rem;
  }
  .hero-swiper-pagination,
  .hero .hero-swiper-pagination,
  .swiper-horizontal > .hero-swiper-pagination.swiper-pagination-bullets {
    bottom: 3.8rem !important;
  }
  .mouse-scroll-indicator {
    bottom: 1.1rem !important;
  }
}

@media (max-width: 767.98px) {
  .section-subtitle { font-size: 16px; }
  .hero-sub { font-size: 15px; margin-top: 0.85rem; }
  .order-band { border-radius: var(--radius-card); }

  .hero,
  .hero-swiper,
  .hero-swiper .swiper-wrapper,
  .hero-swiper .swiper-slide {
    min-height: 500px;
    min-height: 65vh;
    min-height: 65dvh;
    height: auto;
  }
  .hero-content {
    padding-top: 80px;
    padding-bottom: 4.25rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.5rem) !important;
  }
  .hero-meta {
    margin-top: 1.25rem;
    padding: 6px 14px;
    font-size: 12px;
  }
  .hero-swiper-pagination,
  .hero .hero-swiper-pagination,
  .swiper-horizontal > .hero-swiper-pagination.swiper-pagination-bullets {
    bottom: 3.25rem !important;
  }
  .mouse-scroll-indicator {
    bottom: 0.75rem !important;
  }
  .mouse-scroll-indicator .mouse-icon {
    width: 20px;
    height: 32px;
    border-radius: 10px;
  }
  .mouse-scroll-indicator .mouse-wheel {
    top: 4px;
    width: 3px;
    height: 6px;
  }
}

@media (max-width: 575.98px) {
  .hero,
  .hero-swiper,
  .hero-swiper .swiper-wrapper,
  .hero-swiper .swiper-slide {
    min-height: 460px;
    min-height: 60vh;
    min-height: 60dvh;
  }
  .hero-content {
    padding-top: 75px;
    padding-bottom: 3.75rem;
  }
  .hero-title {
    font-size: 24px !important;
  }
  .hero-swiper-pagination,
  .hero .hero-swiper-pagination,
  .swiper-horizontal > .hero-swiper-pagination.swiper-pagination-bullets {
    bottom: 3rem !important;
  }
  .mouse-scroll-indicator {
    bottom: 0.5rem !important;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-bg img { transform: none !important; }
  .js-anim [data-reveal] { opacity: 1; }
}

/* reveal-group children + hero entrance initial states (JS-gated) */
.js-anim [data-reveal-group] > * { opacity: 0; }
.js-anim .hero-anim { opacity: 0; }
.no-anim .hero-bg img { transform: none; }

/* tab indicator starts hidden until JS positions it */
.menu-tabs .tab-indicator { width: 0; opacity: 0; }
.js-anim .menu-tabs .tab-indicator, .no-anim .menu-tabs .tab-indicator { opacity: 1; }

/* ---------- Helpers used by views ---------- */

.min-w-0 { min-width: 0 !important; }

/* social buttons outside the footer (contact page) */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .25s ease, color .25s ease, transform .3s var(--ease-out-expo);
}
.social-btn:hover { background-color: var(--terracotta) !important; color: var(--cream) !important; transform: scale(1.1); }

/* ---------- Most Popular track: 4-col grid desktop, scroll-snap mobile ---------- */

#popular {
  overflow-x: clip;
  max-width: 100%;
}

.popular-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 991.98px) {
  .popular-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .popular-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1rem;
    max-width: calc(100% + 2rem);
    -webkit-overflow-scrolling: touch;
  }
  .popular-track > * {
    flex: 0 0 80vw;
    max-width: 85vw;
    scroll-snap-align: center;
  }
}

/* ---------- User Account Navbar Dropdown ---------- */
.btn-icon.user-btn.is-logged-in {
  background: var(--terracotta);
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px var(--terracotta);
  position: relative;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.btn-icon.user-btn.is-logged-in:hover,
.btn-icon.user-btn.is-logged-in:focus {
  background: #A34A28;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(189, 93, 56, 0.35);
}
.btn-icon.user-btn .user-status-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  background-color: #10B981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.4);
}
.user-account-menu {
  box-shadow: 0 16px 36px rgba(43, 36, 33, 0.12) !important;
  border: 1px solid var(--sand) !important;
  background: #ffffff;
}
.user-account-menu .dropdown-item {
  color: var(--ink);
  transition: all .2s ease;
}
.user-account-menu .dropdown-item:hover,
.user-account-menu .dropdown-item:focus {
  background-color: var(--cream);
  color: var(--terracotta) !important;
}
.user-nav-dropdown .dropdown-toggle::after {
  display: none !important;
}

/* ================= Universal Modern Breadcrumb ================= */
.breadcrumb {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 8px 20px !important;
  margin-bottom: 1.25rem !important;
  list-style: none !important;
  background: #ffffff !important;
  border: 1px solid var(--sand, #E4D8C8) !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}
.breadcrumb-item {
  display: inline-flex !important;
  align-items: center !important;
  color: #7A6E66 !important;
  font-weight: 500 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.breadcrumb-item a {
  color: var(--terracotta, #BD5D38) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  transition: color 0.2s ease !important;
}
.breadcrumb-item a:hover {
  color: #A34A28 !important;
  text-decoration: underline !important;
}
.breadcrumb-item.active {
  color: var(--ink, #2B2421) !important;
  font-weight: 800 !important;
}
.breadcrumb-item + .breadcrumb-item {
  padding-inline-start: 4px !important;
}
.breadcrumb-item + .breadcrumb-item::before {
  float: none !important;
  display: inline-block !important;
  padding: 0 6px !important;
  color: #A89C92 !important;
  content: "›" !important;
  font-size: 14px !important;
  line-height: 1 !important;
}
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before,
body.rtl .breadcrumb-item + .breadcrumb-item::before,
html[lang="ar"] .breadcrumb-item + .breadcrumb-item::before {
  content: "‹" !important;
}

/* ---------- Language Switcher ---------- */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 4px 3px 6px;
  border-radius: 9999px;
  background-color: rgba(43, 36, 33, 0.05);
  border: 1px solid rgba(43, 36, 33, 0.12);
  line-height: 1;
  transition: all .2s ease;
  user-select: none;
}
.lang-switcher:hover {
  background-color: rgba(43, 36, 33, 0.08);
  border-color: rgba(189, 93, 56, 0.3);
}
.lang-switcher .lang-icon {
  width: 14px;
  height: 14px;
  color: var(--terracotta);
  margin-inline-start: 4px;
  margin-inline-end: 2px;
  flex-shrink: 0;
}
.lang-switcher .lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 9999px;
  color: rgba(43, 36, 33, 0.65);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  transition: all .2s ease;
}
.lang-switcher .lang-opt:hover {
  color: var(--ink);
  opacity: 1;
}
.lang-switcher .lang-opt.is-active {
  background-color: #ffffff;
  color: var(--terracotta);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(43, 36, 33, 0.12), 0 0 1px rgba(43, 36, 33, 0.08);
}

/* ---------- Comprehensive RTL Styles ---------- */
html[lang="ar"],
[dir="rtl"],
body.rtl {
  --font-sans: "Cairo", system-ui, -apple-system, sans-serif;
  --font-serif: "Cairo", "Playfair Display", Georgia, serif;
  font-family: var(--font-sans);
  text-align: right;
}

[dir="rtl"] .breadcrumb-eao .lucide,
body.rtl .breadcrumb-eao .lucide {
  transform: scaleX(-1);
}

.menu-full-link .lucide,
.category-card .explore-link .lucide {
  transition: transform .25s ease;
}
.menu-full-link:hover .lucide,
.category-card:hover .explore-link .lucide {
  transform: translateX(4px);
}

[dir="rtl"] .menu-full-link:hover .lucide,
body.rtl .menu-full-link:hover .lucide,
[dir="rtl"] .category-card:hover .explore-link .lucide,
body.rtl .category-card:hover .explore-link .lucide {
  transform: translateX(-4px);
}

[dir="rtl"] #cart-count,
body.rtl #cart-count {
  right: auto;
  left: -4px;
}

[dir="rtl"] .mouse-scroll-indicator,
body.rtl .mouse-scroll-indicator {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

[dir="rtl"] .back-to-top,
body.rtl .back-to-top {
  right: auto;
  left: 1.5rem;
}

/* ---------- Legal & Content Page Styles ---------- */
.legal-body-content {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(43, 36, 33, 0.9);
}
.legal-body-content h2,
.legal-body-content h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(43, 36, 33, 0.08);
}
.legal-body-content h2:first-child,
.legal-body-content h3:first-child {
  margin-top: 0;
}
.legal-body-content p {
  margin-bottom: 1.25rem;
  color: rgba(43, 36, 33, 0.82);
  line-height: 1.85;
}
.legal-body-content ul,
.legal-body-content ol {
  margin-bottom: 1.5rem;
  padding-inline-start: 1.75rem;
  color: rgba(43, 36, 33, 0.82);
}
.legal-body-content li {
  margin-bottom: 0.6rem;
  line-height: 1.75;
}
.page-content-card {
  transition: all .25s ease;
}


