/* ================================================================
   Restaurant Homepage — Amber Noir Theme
   ================================================================ */

:root {
  --ui-cookie-banner-height: 0px;
  --menu-safe-top: env(safe-area-inset-top, 0px);
  --menu-safe-right: env(safe-area-inset-right, 0px);
  --menu-safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--ui-cookie-banner-height, 0px));
  --menu-safe-left: env(safe-area-inset-left, 0px);

  --color-bg: #0a0a0c;
  --color-surface: #131315;
  --color-surface-raised: #1a1a1d;
  --color-border: rgba(255, 255, 255, 0.07);
  --color-border-hover: rgba(255, 255, 255, 0.14);
  --color-accent: #d4943c;
  --color-accent-hover: #e0a550;
  --color-accent-glow: rgba(212, 148, 60, 0.35);
  --color-text: #ede9e3;
  --color-text-muted: #8c8378;
  --color-text-subtle: rgba(237, 233, 227, 0.45);
}

/* ===== Fonts ===== */
@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/cairo/cairo-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/cairo/cairo-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* ===== Base ===== */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

i {
  margin-right: 0;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar.sticky-top {
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  box-shadow: none;
  z-index: 100;
}

.navbar-shell {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar .navbar-brand {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--color-text);
  text-decoration: none;
}

.navbar .navbar-brand:hover {
  color: var(--color-text);
}

/* --- Language menu --- */
.rt-lang-menu {
  position: absolute;
  top: 50%;
  left: 0;
  right: auto;
  transform: translateY(-50%);
  z-index: 50;
}

.rt-lang-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.rt-lang-menu__toggle:hover,
.rt-lang-menu__toggle:focus-visible {
  border-color: var(--color-border-hover);
  outline: none;
}

.rt-lang-menu__toggle img {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.rt-lang-menu__chevron {
  font-size: 0.7rem;
  opacity: 0.5;
}

.rt-lang-menu__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: auto;
  min-width: 180px;
  max-height: min(320px, 70vh);
  overflow: auto;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  border-radius: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.rt-lang-menu[data-open="true"] .rt-lang-menu__dropdown {
  display: flex;
}

.rt-lang-menu__item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  width: 100%;
  border: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  color: var(--color-text);
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.rt-lang-menu__item img {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
}

.rt-lang-menu__item:hover,
.rt-lang-menu__item:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.rt-lang-menu__item[aria-current="true"] {
  background: rgba(212, 148, 60, 0.15);
}

/* RTL language menu */
html[lang="ar"] .rt-lang-menu,
html[dir="rtl"] .rt-lang-menu {
  left: auto;
  right: 0;
}

html[lang="ar"] .rt-lang-menu__dropdown,
html[dir="rtl"] .rt-lang-menu__dropdown {
  left: auto;
  right: 0;
}

html[lang="ar"] .rt-lang-menu__item,
html[dir="rtl"] .rt-lang-menu__item {
  text-align: right;
}

@media (max-width: 991.98px) {
  .navbar .navbar-brand {
    padding-left: 52px;
    padding-right: 52px;
  }
}

@media (max-width: 575.98px) {
  .rt-lang-menu {
    left: calc(6px + var(--menu-safe-left));
  }

  html[lang="ar"] .rt-lang-menu,
  html[dir="rtl"] .rt-lang-menu {
    left: auto;
    right: calc(6px + var(--menu-safe-right));
  }

  .rt-lang-menu__toggle [data-rt-lang-current] {
    display: none;
  }

  .rt-lang-menu__toggle {
    min-height: 34px;
    padding: 5px 8px;
  }

  .navbar .navbar-brand {
    padding-left: 44px;
    padding-right: 44px;
    font-size: 0.95rem;
  }
}


/* ================================================================
   HERO SECTION
   ================================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-video.is-hidden {
  display: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 12, 0.80) 0%,
      rgba(10, 10, 12, 0.35) 35%,
      rgba(10, 10, 12, 0.30) 55%,
      rgba(10, 10, 12, 0.85) 100%
    );
}

.hero-section.no-video {
  background: var(--color-bg);
}

.hero-section.no-video .video-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 24px 60px;
  width: 100%;
  max-width: 560px;
}

/* Logo */
.hero-logo-wrap {
  margin-bottom: 28px;
}

.hero-logo-wrap img {
  max-height: 160px;
  max-width: 270px;
  border-radius: 16px;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.5));
}

/* Tagline */
.hero-tagline {
  color: rgba(237, 233, 227, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 420px;
  letter-spacing: 0.01em;
}

/* Actions */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: fit-content;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 28px;
  border-radius: 14px;
  background: var(--color-accent);
  color: #0a0a0c;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 8px 32px var(--color-accent-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(212, 148, 60, 0.45);
  color: #0a0a0c;
}

.hero-cta i {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-cta:hover i {
  transform: translateX(3px);
  opacity: 1;
}

.hero-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.hero-link:hover {
  color: #fff;
}

.hero-link i {
  font-size: 0.78rem;
  opacity: 0.8;
}

.hero-link-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.35);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-text-subtle);
  font-size: 0.9rem;
  animation: scrollBounce 2.5s ease-in-out infinite;
  background: none;
  border: none;
  padding: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.7; }
}

/* Hero responsive */
@media (max-width: 768px) {
  .hero-content {
    padding: 100px 20px 50px;
    max-width: 440px;
  }

  .hero-logo-wrap img {
    max-height: 140px;
  }

  .hero-tagline {
    font-size: 1rem;
    margin-bottom: 28px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content {
    padding: 90px 24px 44px;
  }

  .hero-logo-wrap img {
    max-height: 120px;
  }

  .hero-tagline {
    font-size: 0.93rem;
    margin-bottom: 24px;
  }

  .hero-cta {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .hero-link {
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  .hero-scroll-hint {
    bottom: 8px;
  }

  .showcase-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* ================================================================
   SHOWCASE / GALLERY
   ================================================================ */
.showcase-section {
  background: var(--color-bg);
  color: var(--color-text);
  padding: clamp(72px, 10vh, 120px) 0;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}

.showcase-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.showcase-head__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.showcase-head__title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-text);
  font-weight: 700;
}

.showcase-head__lead {
  margin: 10px auto 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 520px;
}

.showcase-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
}

.showcase-stage {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 10px;
  overflow: hidden;
}

.showcase-stage__frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-bg);
}

.showcase-stage__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: clamp(260px, 48vh, 520px);
}

.showcase-stage__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.3));
}

.showcase-stage__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.showcase-stage__nav i {
  font-size: 0.85rem;
}

.showcase-stage__nav--prev { left: 10px; }
.showcase-stage__nav--next { right: 10px; }

.showcase-stage__nav:hover,
.showcase-stage__nav:focus {
  background: rgba(212, 148, 60, 0.85);
  outline: none;
}

.showcase-stage__caption {
  margin: 10px 0 0;
  color: var(--color-text-muted);
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
}

.showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.showcase-thumb-tile {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  padding: 5px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.showcase-thumb-tile img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}

.showcase-thumb-tile__dot {
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  align-self: center;
}

.showcase-thumb-tile.is-active {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.showcase-thumb-tile.is-active .showcase-thumb-tile__dot {
  background: var(--color-accent);
}

.showcase-thumb-tile:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-1px);
}

@media (max-width: 992px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .showcase-section {
    padding: 56px 0;
  }

  .showcase-stage__nav {
    display: none;
  }

  .showcase-stage__frame img {
    min-height: 220px;
  }

  .showcase-thumbs {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  }

  .showcase-thumb-tile img {
    height: 50px;
  }
}


/* ================================================================
   FOOTER
   ================================================================ */
.footer-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  padding: clamp(40px, 6vw, 80px) 0 calc(24px + env(safe-area-inset-bottom, 0px));
}

/* Contact strip */
.footer-contact-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: clamp(16px, 2.4vw, 24px);
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-contact-card:hover {
  border-color: var(--color-border-hover);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
}

.footer-contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.footer-contact-card--address .footer-contact-card__icon {
  background: rgba(212, 148, 60, 0.15);
  color: var(--color-accent);
}

.footer-contact-card--phone .footer-contact-card__icon {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
}

.footer-contact-card.is-inactive {
  opacity: 0.5;
  border-style: dashed;
}

.footer-contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer-contact-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}

.footer-contact-card__value {
  color: var(--color-text);
  font-size: 0.93rem;
  line-height: 1.5;
  word-break: break-word;
}

html[lang="ar"] .js-restaurant-phone,
html[dir="rtl"] .js-restaurant-phone {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* Footer main grid */
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr auto;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--color-border);
}

/* Brand */
.footer-brand__logo {
  display: inline-flex;
  max-width: 160px;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-brand__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-brand__desc {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  word-break: break-word;
}

/* Navigation */
.footer-nav__title {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
}

.footer-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-accent);
}

/* Social */
.footer-social__title {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
}

.footer-social__list {
  display: flex;
  gap: 8px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  text-decoration: none;
  border: 1px solid var(--color-border);
  background: transparent;
  font-size: 0.95rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social-link:hover {
  color: var(--color-text);
  border-color: var(--color-border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.footer-social-link.is-hidden,
.footer-social-cloud.is-empty {
  display: none;
}

/* Bottom bar */
.footer-bottom {
  padding-top: 20px;
}

.footer-bottom__copy {
  margin: 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.footer-section .gz-platform-attribution {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.footer-section .gz-platform-attribution__link {
  color: var(--color-text);
}

/* Footer responsive */
@media (max-width: 991.98px) {
  .footer-contact-strip {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 575.98px) {
  .footer-section {
    padding: clamp(40px, 6vw, 80px) 28px calc(24px + env(safe-area-inset-bottom, 0px));
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .footer-section > .container {
    width: 100%;
  }

  .footer-contact-card__icon {
    width: 42px;
    height: 42px;
  }

  .footer-brand__logo {
    max-width: 130px;
  }
}


/* ================================================================
   UTILITIES
   ================================================================ */
.map-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.map-link:hover {
  text-decoration: underline;
}


/* ================================================================
   RTL / ARABIC FONT
   ================================================================ */
html[lang="ar"] body,
html[dir="rtl"] body,
body.cairo-font {
  font-family: "Cairo", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}


/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-cta,
  .hero-link,
  .footer-contact-card,
  .footer-social-link,
  .footer-link,
  .showcase-thumb-tile {
    transition: none;
  }

  .hero-scroll-hint {
    animation: none;
    opacity: 0.4;
  }
}


/* ================================================================
   COOKIE INFO BANNER
   ================================================================ */
.cookie-info-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--color-surface);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
}

.cookie-info-banner--visible {
  display: block;
}

.cookie-info-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-info-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.cookie-info-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-info-text a:hover {
  color: var(--color-accent-hover);
}

.cookie-info-button {
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--color-accent);
  color: #0a0a0c;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  transition: background 0.2s ease;
}

.cookie-info-button:hover {
  background: var(--color-accent-hover);
}

@media (max-width: 640px) {
  .cookie-info-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-info-button {
    width: 100%;
    text-align: center;
  }
}

body.cookie-info-banner-visible {
  padding-bottom: calc(
    clamp(18px, 3vw, 32px) + max(var(--ui-cookie-banner-height, 90px), env(safe-area-inset-bottom, 0px))
  );
}


/* ================================================================
   ONLINE-ORDERING MAINTENANCE MODAL (shared with menu/order flows)
   ================================================================ */
.online-ordering-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(24px + var(--menu-safe-top)) calc(18px + var(--menu-safe-right))
    calc(24px + var(--menu-safe-bottom)) calc(18px + var(--menu-safe-left));
  min-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: radial-gradient(circle at top left, rgba(244, 63, 94, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.98));
  z-index: 10030;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

@supports (height: 1dvh) {
  .online-ordering-modal {
    min-height: 100dvh;
  }
}

.online-ordering-modal,
.online-ordering-modal__panel {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.online-ordering-modal::-webkit-scrollbar,
.online-ordering-modal__panel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.online-ordering-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.online-ordering-modal-open {
  overflow: hidden;
}

.online-ordering-modal__backdrop {
  position: absolute;
  inset: 0;
}

.online-ordering-modal__panel {
  position: relative;
  width: min(520px, 100%);
  max-width: min(520px, 100%);
  max-height: calc(90vh - var(--menu-safe-top) - var(--menu-safe-bottom));
  border-radius: 18px;
  padding: 24px 24px calc(20px + var(--menu-safe-bottom));
  background: radial-gradient(circle at top left, #1f2937, #020617);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
  z-index: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@supports (height: 1dvh) {
  .online-ordering-modal__panel {
    max-height: calc(90dvh - var(--menu-safe-top) - var(--menu-safe-bottom));
  }
}

.online-ordering-modal__header {
  margin-bottom: 12px;
}

.online-ordering-modal__logo {
  margin-bottom: 24px;
}

.online-ordering-modal__logo-img {
  max-height: 96px;
  width: auto;
  display: block;
}

.online-ordering-modal__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f9fafb;
  margin: 0;
}

.online-ordering-modal__body {
  font-size: 0.95rem;
  line-height: 1.6;
}

.online-ordering-modal__message {
  margin: 0 0 16px;
  color: #e5e7eb;
}

.online-ordering-modal__contact-title {
  font-weight: 600;
  margin: 0 0 4px;
  color: #f9fafb;
}

.online-ordering-modal__contact-link {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 4px 0;
  color: #e5e7eb;
  font: inherit;
  cursor: pointer;
}

.online-ordering-modal__contact-link:hover,
.online-ordering-modal__contact-link:focus-visible {
  color: #fb2775;
  background: transparent;
  outline: none;
}

.online-ordering-modal__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.online-ordering-modal__btn {
  border-radius: 999px;
  border: none;
  padding: 10px 26px;
  background: linear-gradient(135deg, #fb2775, #ff5775);
  color: #f9fafb;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow:
    0 10px 25px rgba(248, 113, 113, 0.45),
    0 0 0 1px rgba(248, 113, 113, 0.55);
}

.online-ordering-modal__btn:hover {
  transform: translateY(-1px);
}
