/* HalalEat — European polish + customer shell (overrides halaleat-uber) */
:root {
  --lux-ink: #1a2332;
  --lux-ink-soft: #3d4a5c;
  --lux-cream: #faf7f2;
  --lux-porcelain: #f3f6fb;
  --lux-gold: #c9a227;
  --lux-gold-light: #e8d5a0;
  --lux-navy: #1e3a5f;
  --lux-eu-blue: #003399;
  --lux-line: rgba(30, 58, 95, 0.12);
  --lux-shadow-deep: 0 20px 50px rgba(26, 35, 50, 0.12);
  --lux-shadow-lift: 0 12px 0 rgba(30, 58, 95, 0.06);
}

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

  body.ue-customer .hero-bg--eats {
    animation: none !important;
    background-size: cover, cover !important;
  }
}

@keyframes lux-hero-breathe {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes lux-float {
  0%,
  100% {
    transform: perspective(1000px) rotateX(0.6deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateX(0.9deg) translateY(-4px);
  }
}

@keyframes lux-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Header: logo first, menu isolated —— */
details.ue-menu {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;
  width: min-content;
  max-width: none;
  position: relative;
  overflow: visible;
}

.ue-menu-burger {
  flex-shrink: 0;
}

body.ue-customer .ue-topbar-left .brand-wordmark,
body.ue-rider .ue-topbar-left .brand-wordmark,
body.ue-partners .ue-topbar-left .brand-wordmark,
body.ue-partners .ue-topbar-brand-row .brand-wordmark {
  position: relative;
  z-index: 3;
  isolation: isolate;
}

/* —— Customer shell —— */
body.ue-customer {
  font-family: "DM Sans", system-ui, sans-serif !important;
  background: linear-gradient(165deg, var(--lux-cream) 0%, var(--lux-porcelain) 48%, #eef1e8 100%) !important;
  color: var(--lux-ink) !important;
}

body.ue-customer .halaleat-app {
  background: transparent !important;
}

body.ue-customer .topbar--eats {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(18px) saturate(1.4) !important;
  border-bottom: 1px solid var(--lux-line) !important;
  box-shadow: 0 4px 24px rgba(30, 58, 95, 0.06);
}

body.ue-customer .brand-name,
body.ue-customer .ue-hero-title,
body.ue-customer .section-head--eats h2,
body.ue-customer .partner-strip__title,
body.ue-customer .cert-card--eats h3,
body.ue-customer .weekly-plan-card h3 {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em !important;
  color: var(--lux-navy) !important;
}

body.ue-customer .brand-tag {
  color: var(--lux-ink-soft) !important;
  font-family: "DM Sans", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
}

body.ue-customer .hero-bg--eats {
  background:
    linear-gradient(
      120deg,
      rgba(250, 247, 242, 0.94) 0%,
      rgba(220, 232, 255, 0.65) 36%,
      rgba(255, 248, 210, 0.38) 58%,
      rgba(250, 247, 242, 0.9) 100%
    ),
    url("https://images.unsplash.com/photo-1544025162-d76694265947?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat !important;
  opacity: 1;
  background-size: 180% 180%, cover !important;
  animation: lux-hero-breathe 22s ease-in-out infinite;
}

body.ue-customer .hero-tag--eats {
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.08), rgba(201, 162, 39, 0.12)) !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
  color: var(--lux-navy) !important;
  font-family: "DM Sans", sans-serif !important;
  letter-spacing: 0.14em !important;
}

body.ue-customer .hero-content--eats .hero-lead {
  color: var(--lux-ink-soft) !important;
  font-size: 1.05rem !important;
}

body.ue-customer .ue-hero-inner {
  animation: lux-fade-up 0.7s ease-out both;
}

body.ue-customer .ue-search-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%) !important;
  border: 1px solid var(--lux-line) !important;
  box-shadow: var(--lux-shadow-deep), var(--lux-shadow-lift) !important;
  border-radius: 18px !important;
  animation: lux-float 7s ease-in-out infinite;
}

body.ue-customer .ue-field,
body.ue-customer .ue-field-select {
  border-radius: 12px !important;
  border-color: rgba(30, 58, 95, 0.14) !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

body.ue-customer .ue-btn-black {
  background: linear-gradient(180deg, #d4b84a 0%, var(--lux-gold) 55%, #a8861a 100%) !important;
  color: var(--lux-navy) !important;
  font-family: "DM Sans", sans-serif !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 4px 0 rgba(168, 134, 26, 0.35), 0 8px 24px rgba(201, 162, 39, 0.25) !important;
  border-radius: 12px !important;
}

body.ue-customer .ue-btn-black:hover {
  background: linear-gradient(180deg, #e0c65e 0%, #d4b84a 100%) !important;
  filter: none !important;
  transform: translateY(-1px);
}

body.ue-customer .btn-eats-primary,
body.ue-customer .btn.primary,
body.ue-customer .btn.small {
  background: linear-gradient(180deg, #2a5080 0%, var(--lux-navy) 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 4px 0 rgba(15, 30, 50, 0.2), 0 12px 28px rgba(30, 58, 95, 0.25) !important;
  border-radius: 12px !important;
  font-family: "DM Sans", sans-serif !important;
  font-weight: 700 !important;
}

body.ue-customer .btn-eats-primary:hover {
  background: linear-gradient(180deg, #355a8f 0%, #2a5080 100%) !important;
  filter: none !important;
}

body.ue-customer .btn-eats-secondary {
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--lux-navy) !important;
  border: 1px solid var(--lux-line) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 0 rgba(30, 58, 95, 0.06) !important;
}

body.ue-customer .btn-nav-solid {
  background: linear-gradient(180deg, #2a5080 0%, var(--lux-navy) 100%) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 3px 12px rgba(30, 58, 95, 0.25) !important;
}

body.ue-customer button.btn-nav-solid {
  font: inherit;
  cursor: pointer;
  border: none;
}

body.ue-customer .btn-nav-solid:hover {
  background: linear-gradient(180deg, #355a8f 0%, #2a5080 100%) !important;
}

body.ue-customer .nav-links--eats a {
  color: var(--lux-navy) !important;
  font-weight: 600 !important;
}

body.ue-customer .kpi-grid article {
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%) !important;
  border: 1px solid var(--lux-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 0 rgba(30, 58, 95, 0.05), 0 16px 32px rgba(26, 35, 50, 0.06) !important;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.ue-customer .kpi-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 0 rgba(30, 58, 95, 0.06), 0 22px 40px rgba(26, 35, 50, 0.1) !important;
}

body.ue-customer .kpi-grid strong {
  color: var(--lux-eu-blue) !important;
  font-family: "Fraunces", serif !important;
}

body.ue-customer .vertical-card {
  border-radius: 16px !important;
  border: 1px solid var(--lux-line) !important;
  background: linear-gradient(165deg, #fff 0%, #f8fafc 100%) !important;
  box-shadow: 0 6px 0 rgba(30, 58, 95, 0.04) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

body.ue-customer .vertical-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 28px rgba(30, 58, 95, 0.1) !important;
}

body.ue-customer .vertical-card--active {
  border-color: var(--lux-eu-blue) !important;
  box-shadow: 0 0 0 2px var(--lux-eu-blue), 0 10px 28px rgba(0, 51, 153, 0.12) !important;
}

body.ue-customer .menu-item {
  border-radius: 16px !important;
  border: 1px solid var(--lux-line) !important;
  box-shadow: 0 6px 20px rgba(26, 35, 50, 0.06) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.ue-customer .menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(26, 35, 50, 0.1) !important;
}

body.ue-customer .floating-whatsapp {
  background: linear-gradient(180deg, #25d366 0%, #128c7e 100%) !important;
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.45) !important;
  border-radius: 999px !important;
}

body.ue-customer .dock {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  border-top: 1px solid var(--lux-line) !important;
}

body.ue-customer .footer--eats {
  background: linear-gradient(180deg, #f0f3f8 0%, #e8ecf4 100%) !important;
  border-top: 1px solid var(--lux-line) !important;
}

body.ue-customer .footer-brand {
  font-family: "Fraunces", serif !important;
  color: var(--lux-navy) !important;
}

/* Rider / partners: lighter premium chrome */
body.ue-rider .topbar--eats,
body.ue-partners .topbar--eats {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--lux-line) !important;
}

body.ue-rider .brand-name,
body.ue-partners .brand-name {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 700 !important;
  color: var(--lux-navy) !important;
}

body.ue-rider,
body.ue-partners {
  font-family: "DM Sans", system-ui, sans-serif !important;
}

body.ue-rider.prem-page,
body.ue-partners.prem-page {
  background: linear-gradient(180deg, var(--lux-cream) 0%, var(--lux-porcelain) 100%) !important;
  color: var(--lux-ink) !important;
}

body.ue-rider .prem-btn--cyan,
body.ue-partners .prem-btn--cyan,
body.ue-partners .prem-btn--gold {
  background: linear-gradient(180deg, #2a5080 0%, var(--lux-navy) 100%) !important;
  color: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.25) !important;
}

body.ue-rider .prem-btn--cyan:hover,
body.ue-partners .prem-btn--cyan:hover,
body.ue-partners .prem-btn--gold:hover {
  background: linear-gradient(180deg, #355a8f 0%, #2a5080 100%) !important;
}

body.ue-customer .cat-btn.active {
  background: linear-gradient(180deg, #2a5080 0%, var(--lux-navy) 100%) !important;
  color: #fff !important;
  border-color: rgba(30, 58, 95, 0.35) !important;
}

body.ue-customer .menu-category-stack.menu-category-stack--spice {
  border-color: rgba(154, 52, 18, 0.22) !important;
  box-shadow: 0 14px 36px rgba(124, 45, 18, 0.12) !important;
  background: linear-gradient(165deg, #fffdfb 0%, #ffedd5 45%, #fed7aa 100%) !important;
}

body.ue-customer .menu-category-stack--spice .cat-btn {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(124, 45, 18, 0.22) !important;
  color: #431407 !important;
}

body.ue-customer .menu-category-stack--spice .cat-btn.active {
  background: linear-gradient(140deg, #ea580c, #7c2d12) !important;
  color: #fffef8 !important;
  border-color: transparent !important;
}

body.ue-customer .menu-category-stack--spice .menu-sub-aisle-label {
  color: #9a3412 !important;
}

body.ue-customer .menu-category-stack--spice .menu-category-hint {
  color: #57534e !important;
}

body.ue-customer .menu-category-stack {
  border-color: rgba(30, 58, 95, 0.14) !important;
  box-shadow: 0 12px 32px rgba(30, 58, 95, 0.08) !important;
}

body.ue-customer .menu-sub-aisle-label {
  color: var(--lux-ink-soft) !important;
}

body.ue-customer .section-head--eats p {
  color: var(--lux-ink-soft) !important;
}

body.ue-partners .prem-hero h1,
body.ue-rider .prem-hero h1 {
  font-family: "Fraunces", Georgia, serif !important;
  color: var(--lux-navy) !important;
}

/* —— Customer + rider + partners: header CTAs (EU ink; legacy --uber-dark alias) —— */
body.ue-customer .btn-nav-solid--eu-ink,
body.ue-customer .btn-nav-solid--uber-dark,
body.ue-rider .btn-nav-solid--eu-ink,
body.ue-rider .btn-nav-solid--uber-dark,
body.ue-partners .btn-nav-solid--eu-ink,
body.ue-partners .btn-nav-solid--uber-dark {
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 10px 18px !important;
}

body.ue-customer .btn-nav-solid--uber-light,
body.ue-rider .btn-nav-solid--uber-light {
  background: #f3f4f6 !important;
  color: #111 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 10px 18px !important;
}

body.ue-customer .btn-nav-solid--eu-ink:hover,
body.ue-customer .btn-nav-solid--uber-dark:hover,
body.ue-rider .btn-nav-solid--eu-ink:hover,
body.ue-rider .btn-nav-solid--uber-dark:hover,
body.ue-partners .btn-nav-solid--eu-ink:hover,
body.ue-partners .btn-nav-solid--uber-dark:hover {
  background: #1a1a1a !important;
  color: #fff !important;
}

body.ue-customer .btn-nav-solid--uber-light:hover,
body.ue-rider .btn-nav-solid--uber-light:hover {
  background: #e5e7eb !important;
}

body.ue-customer .ue-footer-premium .ue-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 28px 32px;
  padding: 40px 0 48px;
  align-items: start;
}

@media (max-width: 900px) {
  body.ue-customer .ue-footer-premium .ue-footer-inner {
    grid-template-columns: 1fr;
  }
}

body.ue-customer .ue-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.ue-customer .ue-footer-nav a {
  color: var(--lux-navy) !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

body.ue-customer .ue-footer-nav a:hover {
  text-decoration: underline;
}

body.ue-customer .ue-footer-eu {
  margin: 12px 0 0;
  font-size: 0.8rem !important;
  line-height: 1.55;
  color: var(--lux-ink-soft) !important;
  max-width: 40rem;
}

body.ue-customer .ue-footer-meta p {
  margin: 0;
  color: var(--lux-ink-soft) !important;
  font-size: 0.88rem;
  line-height: 1.5;
}

body.ue-customer details.ue-menu[open] .ue-menu-burger,
body.ue-rider details.ue-menu[open] .ue-menu-burger,
body.ue-partners details.ue-menu[open] .ue-menu-burger {
  visibility: hidden !important;
  pointer-events: none !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.ue-customer .ue-menu-burger,
body.ue-rider .ue-menu-burger,
body.ue-partners .ue-menu-burger {
  border-color: #e5e7eb !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}