/* FoodExpress — Swiggy-inspired professional storefront */
:root {
  --fe-orange: #fc8019;
  --fe-orange-hover: #e67e22;
  --fe-orange-soft: #fff5ed;
  --fe-black: #02060c;
  --fe-gray-900: #3d4152;
  --fe-gray-700: #686b78;
  --fe-gray-500: #93959f;
  --fe-gray-200: #e9e9eb;
  --fe-gray-100: #f0f0f5;
  --fe-bg: #f8f8f8;
  --fe-white: #ffffff;
  --fe-green: #60b246;
  --fe-red: #e23744;
  --fe-radius: 16px;
  --fe-radius-sm: 12px;
  --fe-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --fe-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --fe-font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.fe-body {
  margin: 0;
  font-family: var(--fe-font);
  color: var(--fe-gray-900);
  background: var(--fe-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.fe-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .fe-container { width: calc(100% - 24px); }
}

/* ——— Top location bar ——— */
.fe-topbar {
  background: linear-gradient(90deg, #0c1222 0%, #0f172a 50%, #0c1222 100%);
  color: #cbd5e1;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fe-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}
.fe-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  padding: 0.35rem 0;
  max-width: min(420px, 70vw);
}
.fe-location:hover { color: #fff; }
.fe-location--guest { cursor: default; pointer-events: none; opacity: 0.95; }
.fe-location-icon {
  flex-shrink: 0;
  color: var(--fe-orange);
}
.fe-location-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  min-width: 0;
}
.fe-location-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}
.fe-location-value {
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.fe-location-caret { font-size: 0.65rem; opacity: 0.7; }
.fe-topbar-hint { color: #64748b; font-size: 0.75rem; }

/* ——— Main header ——— */
.fe-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--fe-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.fe-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  min-height: 76px;
}
.fe-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--fe-black);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  border: none;
  outline: none;
}
.fe-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, var(--fe-orange) 0%, #e85d04 100%);
  color: #fff;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(252, 128, 25, 0.35);
  border: none;
}
.fe-logo-text { color: var(--fe-gray-900); }

/* Header search (Swiggy-style pill) */
.fe-header-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  background: var(--fe-gray-100);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.fe-header-search:focus-within {
  background: #fff;
  border-color: var(--fe-orange);
  box-shadow: 0 0 0 3px rgba(252, 128, 25, 0.12);
}
.fe-header-search-icon {
  flex-shrink: 0;
  color: var(--fe-gray-500);
}
.fe-header-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  color: var(--fe-gray-900);
}
.fe-header-search input::placeholder { color: var(--fe-gray-500); }

.fe-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.fe-nav a {
  text-decoration: none;
  color: var(--fe-gray-900);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.4rem 0;
}
.fe-nav a:hover { color: var(--fe-orange); }
.fe-nav-muted { color: var(--fe-gray-700) !important; font-weight: 500 !important; }
.fe-nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.fe-cart-ico {
  display: flex;
  color: var(--fe-gray-900);
}
.fe-nav-notif { position: relative; }
.fe-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--fe-red);
  border-radius: 50%;
  vertical-align: super;
  margin-left: 2px;
}

.fe-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--fe-orange);
  color: #fff;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
}

.fe-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: var(--fe-gray-100);
  border-radius: 10px;
  cursor: pointer;
}
.fe-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fe-gray-900);
  margin: 0 auto;
  border-radius: 1px;
}

@media (max-width: 1024px) {
  .fe-header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .fe-header-search {
    max-width: none;
  }
}
@media (max-width: 900px) {
  .fe-header-search { display: none; }
  .fe-nav-toggle { display: flex; }
  .fe-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 88vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 4rem 1.25rem 1.5rem;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    z-index: 300;
    gap: 0;
  }
  .fe-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--fe-gray-200);
  }
  body.fe-nav-open .fe-nav { display: flex; }
  body.fe-nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 250;
  }
}

/* Buttons */
.fe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.fe-btn:active { transform: scale(0.98); }
.fe-btn-primary {
  background: var(--fe-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(252, 128, 25, 0.35);
}
.fe-btn-primary:hover { filter: brightness(1.05); }
.fe-btn-outline {
  background: transparent;
  color: var(--fe-orange);
  border: 2px solid var(--fe-orange);
}
.fe-btn-outline:hover { background: var(--fe-orange-soft); }
.fe-btn-ghost {
  background: transparent;
  color: var(--fe-gray-900);
  border: 1px solid var(--fe-gray-200);
}
.fe-btn-ghost:hover { border-color: var(--fe-orange); color: var(--fe-orange); }
.fe-btn-sm { padding: 0.45rem 0.95rem; font-size: 0.8125rem; }
.fe-btn-block { width: 100%; }

/* Alerts */
.fe-alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin: 0.75rem auto;
  font-size: 0.9rem;
}
.fe-alert-error {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #feb2b2;
}
.fe-alert-success {
  background: #f0fff4;
  color: #276749;
  border: 1px solid #9ae6b4;
}

/* Hero — Swiggy-style light landing */
.fe-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 55%, #f5f0eb 100%);
  color: var(--fe-gray-900);
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--fe-gray-200);
}
.fe-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(252, 128, 25, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(252, 128, 25, 0.06), transparent 50%);
  pointer-events: none;
}
.fe-hero--swiggy::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--fe-gray-200) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 60%);
}
.fe-hero-inner { position: relative; z-index: 1; }
.fe-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.85rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 900px) {
  .fe-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
  }
}
.fe-hero-copy { min-width: 0; }
.fe-hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fe-orange);
}
.fe-hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 0.85rem;
  max-width: 18ch;
  line-height: 1.15;
  color: var(--fe-black);
}
.fe-hero-lead {
  font-size: 1.02rem;
  max-width: 46ch;
  margin: 0 0 1.5rem;
  color: var(--fe-gray-700);
  line-height: 1.55;
}
.fe-hero-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 540px;
}
.fe-hero-search input {
  flex: 1;
  min-width: 200px;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--fe-gray-200);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fe-hero-search input:focus {
  outline: none;
  border-color: var(--fe-orange);
  box-shadow: 0 0 0 3px rgba(252, 128, 25, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}
.fe-hero-search-btn {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
  border-radius: 12px;
  font-weight: 700;
}
.fe-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.fe-hero-stats--pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 0;
  border-top: none;
}
.fe-hero-stats--pills .fe-hero-stat {
  flex: 1 1 auto;
  min-width: 120px;
  max-width: 200px;
  padding: 0.85rem 1rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--fe-gray-200);
  box-shadow: var(--fe-shadow);
}
.fe-hero-stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--fe-orange);
  letter-spacing: -0.02em;
}
.fe-hero-stats--pills .fe-hero-stat strong { font-size: 1.35rem; }
.fe-hero-stat span { font-size: 0.8rem; opacity: 0.85; color: #94a3b8; }
.fe-hero-stats--pills .fe-hero-stat span {
  color: var(--fe-gray-700);
  opacity: 1;
  font-size: 0.75rem;
  font-weight: 600;
}
/* Hero visual */
.fe-hero-visual {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 899px) {
  .fe-hero-visual { min-height: 200px; max-width: 420px; margin-inline: auto; }
}
.fe-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  pointer-events: none;
}
.fe-hero-blob--1 {
  width: min(320px, 90vw);
  height: min(320px, 90vw);
  background: radial-gradient(circle, rgba(252, 128, 25, 0.22) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.fe-hero-blob--2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(96, 178, 70, 0.15) 0%, transparent 70%);
  bottom: 8%;
  right: 5%;
}
.fe-hero-visual-frame {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transform: rotate(-2deg);
  max-width: 100%;
}
.fe-hero-visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
/* Trust strip */
.fe-trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid var(--fe-gray-200);
}
.fe-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--fe-gray-900);
}
.fe-trust-item strong { display: block; font-weight: 700; font-size: 0.9rem; }
.fe-trust-sub {
  display: block;
  color: var(--fe-gray-500);
  font-weight: 500;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}
.fe-trust-ico {
  flex-shrink: 0;
  color: var(--fe-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--fe-orange-soft);
}

/* Sections */
.fe-section { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.fe-section--muted { background: #fafafa; }
.fe-section--tight-top { padding-top: clamp(1.25rem, 3vw, 2rem); }
.fe-section--why { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.fe-section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fe-gray-500);
}
.fe-section-kicker--inline {
  margin-bottom: 0.2rem;
}
.fe-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.fe-section-title--flush { margin-bottom: 1rem; }
.fe-section-title h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fe-black);
}
.fe-section-title a {
  color: var(--fe-orange);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.875rem;
  white-space: nowrap;
}
.fe-section-title a:hover { text-decoration: underline; }

/* Restaurant cards — Swiggy style */
.fe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .fe-grid--hscroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.25rem 0 0.75rem;
    margin-inline: -8px;
    padding-inline: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .fe-grid--hscroll .fe-card {
    flex: 0 0 min(280px, 86vw);
    scroll-snap-align: start;
    max-width: min(280px, 86vw);
  }
  .fe-grid--dishes.fe-grid--hscroll .fe-card {
    flex: 0 0 min(240px, 78vw);
    max-width: min(240px, 78vw);
  }
}
.fe-card {
  background: var(--fe-white);
  border-radius: var(--fe-radius);
  overflow: hidden;
  box-shadow: var(--fe-shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}
a.fe-card { display: block; }
.fe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fe-shadow-lg);
}
.fe-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
}
.fe-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fe-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--fe-gray-900);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.fe-card-body { padding: 1rem 1.15rem 1.2rem; }
.fe-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fe-card-cuisine {
  font-size: 0.75rem;
  color: var(--fe-gray-500);
  margin: -0.15rem 0 0.45rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fe-card-meta {
  font-size: 0.8125rem;
  color: var(--fe-gray-700);
  margin: 0 0 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fe-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.fe-rating {
  color: #f59e0b;
  font-weight: 700;
  font-size: 0.875rem;
}
.fe-time-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fe-gray-700);
  background: var(--fe-gray-100);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

/* Dish cards */
.fe-dish-card .fe-card-body {
  display: flex;
  flex-direction: column;
  min-height: 140px;
}
.fe-dish-price {
  margin-top: auto;
  font-weight: 800;
  font-size: 1rem;
  color: var(--fe-gray-900);
}

/* Categories strip */
.fe-cat-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.75rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.fe-cat-strip::-webkit-scrollbar { height: 4px; }
.fe-cat-strip::-webkit-scrollbar-thumb {
  background: var(--fe-gray-200);
  border-radius: 4px;
}
.fe-cat-pill {
  flex: 0 0 auto;
  padding: 0.55rem 1.15rem;
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  color: var(--fe-gray-900);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--fe-gray-200);
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.fe-cat-pill:hover,
.fe-cat-pill.active {
  border-color: var(--fe-orange);
  color: var(--fe-orange);
  background: var(--fe-orange-soft);
}

/* Banners */
.fe-banner-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.fe-banner {
  border-radius: var(--fe-radius);
  overflow: hidden;
  aspect-ratio: 2.4 / 1;
  background: linear-gradient(90deg, #fc8019, #ff9f45);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}
.fe-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}
.fe-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Forms */
.fe-form { max-width: 480px; }
.fe-form-group { margin-bottom: 1.1rem; }
.fe-form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--fe-gray-900);
}
.fe-input, .fe-select, .fe-textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--fe-gray-200);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fe-textarea { min-height: 100px; resize: vertical; }
.fe-input:focus, .fe-select:focus, .fe-textarea:focus {
  outline: none;
  border-color: var(--fe-orange);
  box-shadow: 0 0 0 3px rgba(252, 128, 25, 0.12);
}

/* Tables */
.fe-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--fe-radius);
  box-shadow: var(--fe-shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.fe-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.fe-table th,
.fe-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--fe-gray-200);
}
.fe-table th {
  background: #fafafa;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fe-gray-500);
}
.fe-table tbody tr:hover { background: #fafafa; }

/* Footer */
.fe-footer {
  background: #02060c;
  color: #a0aec0;
  padding: 3rem 0 0;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.fe-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}
.fe-footer h4 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fe-footer a {
  display: block;
  color: #a0aec0;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.fe-footer a:hover { color: var(--fe-orange); }
.fe-footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.fe-muted { color: var(--fe-gray-700); margin: 0.35rem 0; font-size: 0.875rem; }
.fe-logo-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}
.fe-logo-footer .fe-logo-mark { width: 36px; height: 36px; font-size: 0.8rem; }

/* Page shell */
.fe-page { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.5rem, 4vw, 4rem); }
.fe-page-head { margin-bottom: 1.75rem; }
.fe-page-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fe-black);
}
.fe-page-head p { margin: 0.5rem 0 0; }

/* Chips */
.fe-chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fe-chip-veg { background: #e8f5e9; color: #2e7d32; }
.fe-chip-non { background: #ffebee; color: #c62828; }

/* Split layout */
.fe-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.fe-checkout-split {
  width: 100%;
  max-width: 920px;
}
@media (max-width: 960px) {
  .fe-split { grid-template-columns: 1fr; }
  .fe-checkout-split .fe-sticky-card { position: static; }
}

.fe-sticky-card {
  position: sticky;
  top: 96px;
  background: #fff;
  padding: 1.35rem;
  border-radius: var(--fe-radius);
  box-shadow: var(--fe-shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.fe-sticky-card h3 { margin-top: 0; font-size: 1.05rem; font-weight: 700; }

.fe-split--home {
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: stretch;
}
@media (max-width: 960px) {
  .fe-split--home { grid-template-columns: 1fr; }
}
.fe-why-copy .fe-section-kicker { margin-bottom: 0.4rem; }
.fe-why-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fe-black);
}
.fe-why-list {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--fe-gray-700);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.fe-sticky-card--partner {
  background: linear-gradient(165deg, #fff 0%, var(--fe-orange-soft) 100%);
  border-color: rgba(252, 128, 25, 0.15);
}
.fe-sticky-card-label {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fe-orange);
}

/* Toolbar (filters) */
.fe-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--fe-radius);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--fe-shadow);
}
.fe-toolbar .fe-form-group { margin: 0; flex: 1 1 180px; min-width: 140px; }
.fe-toolbar .fe-btn { flex: 0 0 auto; margin-bottom: 2px; }

/* ——— Browse / restaurants listing (Swiggy-style) ——— */
.fe-page--browse {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.fe-browse-hero {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-bottom: 1px solid var(--fe-gray-200);
  padding: clamp(1.25rem, 3vw, 2rem) 0 1rem;
}
.fe-browse-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fe-orange);
}
.fe-browse-title {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fe-black);
}
.fe-browse-sub {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--fe-gray-700);
  max-width: 52ch;
}
.fe-browse-sticky {
  position: sticky;
  top: 76px;
  z-index: 150;
  background: linear-gradient(180deg, #f8f8f8 0%, var(--fe-bg) 100%);
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--fe-gray-200);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
@media (max-width: 640px) {
  .fe-browse-sticky { top: 72px; }
}
.fe-browse-panel {
  margin: 0;
  padding: 0;
}
.fe-browse-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--fe-gray-200);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fe-browse-search:focus-within {
  border-color: var(--fe-orange);
  box-shadow: 0 0 0 3px rgba(252, 128, 25, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
}
.fe-browse-search-icon {
  flex-shrink: 0;
  color: var(--fe-gray-500);
  display: flex;
}
.fe-browse-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  color: var(--fe-gray-900);
  outline: none;
}
.fe-browse-search-input::placeholder { color: var(--fe-gray-500); }
.fe-browse-search-btn {
  flex-shrink: 0;
  border-radius: 10px;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
}
.fe-browse-toolbar {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.fe-browse-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}
.fe-browse-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fe-gray-500);
  min-width: 3.25rem;
}
.fe-browse-label--block {
  display: block;
  min-width: 0;
  margin-bottom: 0.5rem;
}
.fe-browse-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: #fff;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--fe-gray-200);
}
.fe-browse-seg-item {
  padding: 0.45rem 0.85rem;
  border-radius: 9px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fe-gray-700);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.12s, color 0.12s;
}
.fe-browse-seg-item:hover {
  background: var(--fe-gray-100);
  color: var(--fe-gray-900);
}
.fe-browse-seg-item.is-active {
  background: var(--fe-orange-soft);
  color: var(--fe-orange);
  border-color: rgba(252, 128, 25, 0.35);
}
.fe-browse-cats {
  margin-top: 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--fe-gray-200);
}
.fe-browse-cat-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.35rem;
  margin: 0 -4px;
  padding-inline: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.fe-browse-cat-strip::-webkit-scrollbar { height: 4px; }
.fe-browse-cat {
  flex: 0 0 auto;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--fe-gray-900);
  background: #fff;
  border: 1px solid var(--fe-gray-200);
  white-space: nowrap;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.fe-browse-cat:hover {
  border-color: var(--fe-orange);
  color: var(--fe-orange);
}
.fe-browse-cat.is-active {
  border-color: var(--fe-orange);
  background: var(--fe-orange-soft);
  color: var(--fe-orange);
}
.fe-browse-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--fe-gray-200);
}
.fe-browse-count {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--fe-gray-900);
}
.fe-browse-clear {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--fe-orange);
  text-decoration: none;
}
.fe-browse-clear:hover { text-decoration: underline; }
.fe-browse-results {
  padding-top: 1.5rem;
}
.fe-grid--browse {
  gap: 1.35rem;
}
.fe-card--browse:hover {
  transform: translateY(-3px);
  box-shadow: var(--fe-shadow-lg);
}
.fe-empty--browse {
  background: #fff;
  border-radius: var(--fe-radius);
  border: 1px solid var(--fe-gray-200);
  box-shadow: var(--fe-shadow);
  margin-top: 0.5rem;
}

/* Restaurant detail hero */
.fe-rest-hero {
  border-radius: var(--fe-radius);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  max-height: 320px;
  background: var(--fe-gray-100);
  box-shadow: var(--fe-shadow);
}
.fe-rest-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fe-rest-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}
.fe-rest-title h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Menu grid */
.fe-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.fe-menu-item {
  border: 1px solid var(--fe-gray-200);
  border-radius: var(--fe-radius-sm);
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  transition: box-shadow 0.15s;
}
.fe-menu-item:hover { box-shadow: var(--fe-shadow); }
.fe-menu-item .fe-card-img-wrap { aspect-ratio: 4 / 3; }
.fe-menu-item .fe-card-body { padding: 0.85rem 1rem; }

/* Account layout (sidebar) */
.fe-account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .fe-account-layout { grid-template-columns: 1fr; }
}

.fe-account-sidebar {
  background: #fff;
  border-radius: var(--fe-radius);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--fe-shadow);
  overflow: hidden;
}
.fe-account-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--fe-orange-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--fe-gray-200);
}
.fe-account-avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--fe-orange), #e85d04);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.fe-account-user-text strong { display: block; font-size: 0.95rem; color: var(--fe-black); }
.fe-account-user-text span { font-size: 0.75rem; color: var(--fe-gray-500); text-transform: uppercase; letter-spacing: 0.04em; }
.fe-account-links {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}
.fe-account-links a {
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: var(--fe-gray-900);
  font-weight: 600;
  font-size: 0.875rem;
  border-left: 3px solid transparent;
}
.fe-account-links a:hover { background: #fafafa; color: var(--fe-orange); }
.fe-account-links a.is-active {
  background: var(--fe-orange-soft);
  color: var(--fe-orange);
  border-left-color: var(--fe-orange);
  font-weight: 700;
}

.fe-account-main {
  background: #fff;
  border-radius: var(--fe-radius);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--fe-shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
  min-height: 320px;
}
.fe-account-main.fe-account-main--flush {
  padding: 0;
  overflow: hidden;
}
.fe-account-main.fe-account-main--flush .fe-table-wrap {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Auth pages */
.fe-page--auth { padding: 1rem 0 3rem; }
.fe-auth-page {
  min-height: calc(100vh - 220px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
}
.fe-auth-page--register {
  max-width: 1000px;
}
@media (max-width: 800px) {
  .fe-auth-page { grid-template-columns: 1fr; }
}
.fe-auth-visual {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #fc8019 160%);
  border-radius: var(--fe-radius);
  padding: 2.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.fe-auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
}
.fe-auth-visual h2 { position: relative; font-size: 1.75rem; font-weight: 800; margin: 0 0 1rem; letter-spacing: -0.03em; }
.fe-auth-visual p { position: relative; opacity: 0.9; font-size: 0.95rem; line-height: 1.6; }
.fe-auth-panel {
  padding: 2rem 2rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 800px) {
  .fe-auth-visual { min-height: 200px; }
  .fe-auth-panel { padding: 1.5rem 0 0; }
.fe-auth-panel h1 { font-size: 1.5rem; }
}

/* Empty state */
.fe-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--fe-gray-700);
}
.fe-empty-icon { font-size: 3rem; margin-bottom: 0.75rem; opacity: 0.5; }

/* Order status stepper */
.fe-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.fe-step {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: var(--fe-gray-100);
  color: var(--fe-gray-500);
}
.fe-step.is-done { background: #ecfdf5; color: #047857; }
.fe-step.is-current { background: var(--fe-orange-soft); color: var(--fe-orange); }

.fe-review-card {
  background: #fff;
  padding: 1.1rem 1.25rem;
  border-radius: var(--fe-radius-sm);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--fe-shadow);
}

.fe-back-link {
  color: var(--fe-gray-700);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
.fe-back-link:hover { color: var(--fe-orange); }

.fe-subheading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fe-gray-500);
  margin: 0 0 0.35rem;
}

.fe-block-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fe-gray-500);
  margin: 0 0 0.75rem;
}

.fe-offer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fe-offer-card-top {
  background: linear-gradient(135deg, #fff5ed 0%, #fff 100%);
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--fe-gray-200);
}
.fe-offer-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--fe-orange);
  margin-bottom: 0.5rem;
}
.fe-offer-card-top h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}
.fe-offer-card-body { padding: 1.15rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.fe-offer-value {
  margin: 0;
  font-size: 1.5rem;
  color: var(--fe-black);
}
.fe-offer-value span { font-size: 0.85rem; font-weight: 600; color: var(--fe-gray-700); }

.fe-success-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.fe-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}
.fe-success-meta {
  display: grid;
  gap: 0.75rem;
  text-align: left;
  max-width: 360px;
  margin: 1.5rem auto 0;
  padding: 1.25rem;
  background: #fafafa;
  border-radius: var(--fe-radius-sm);
  border: 1px solid var(--fe-gray-200);
}
.fe-success-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}
.fe-success-meta .fe-muted { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.fe-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.fe-order-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: #fafafa;
  border-radius: var(--fe-radius-sm);
  border: 1px solid var(--fe-gray-200);
}

.fe-order-lines {
  border: 1px solid var(--fe-gray-200);
  border-radius: var(--fe-radius-sm);
  overflow: hidden;
  margin-top: 0.5rem;
}
.fe-order-line {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--fe-gray-200);
  font-size: 0.9rem;
}
.fe-order-line:last-child { border-bottom: none; }

.fe-order-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  align-items: flex-start;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border-radius: var(--fe-radius-sm);
  border: 1px solid var(--fe-gray-200);
}
.fe-order-track-step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fe-gray-500);
}
.fe-order-track-step.is-done { color: var(--fe-green); }
.fe-order-track-step.is-done .fe-order-track-dot {
  background: var(--fe-green);
  box-shadow: 0 0 0 3px rgba(96, 178, 70, 0.25);
}
.fe-order-track-step.is-current {
  color: var(--fe-orange);
}
.fe-order-track-step.is-current .fe-order-track-dot {
  background: var(--fe-orange);
  box-shadow: 0 0 0 3px rgba(252, 128, 25, 0.25);
}
.fe-order-track-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fe-gray-200);
  flex-shrink: 0;
}
.fe-order-track-label { white-space: nowrap; }

.fe-order-cancelled-banner {
  padding: 0.75rem 1rem;
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  font-weight: 600;
  margin: 0 0 1rem;
}

.fe-order-status {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--fe-gray-100);
  color: var(--fe-gray-700);
}
.fe-order-status--placed { background: #eff6ff; color: #1d4ed8; }
.fe-order-status--accepted { background: #fef3c7; color: #b45309; }
.fe-order-status--preparing { background: #ede9fe; color: #6d28d9; }
.fe-order-status--out_for_delivery { background: #e0f2fe; color: #0369a1; }
.fe-order-status--delivered { background: #ecfdf5; color: #047857; }
.fe-order-status--cancelled { background: #fef2f2; color: #b91c1c; }

.fe-notif-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.fe-notif-card {
  padding: 1rem 1.15rem;
  border-radius: var(--fe-radius-sm);
  border: 1px solid var(--fe-gray-200);
  margin-bottom: 0.65rem;
  background: #fff;
}
.fe-notif-card--unread {
  border-left: 4px solid var(--fe-orange);
  background: #fffdfb;
}

.fe-cart-footer {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--fe-gray-200);
  background: #fafafa;
}
.fe-cart-total {
  font-size: 1.1rem;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}
.fe-cart-total strong { font-size: 1.35rem; color: var(--fe-black); }
.fe-cart-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.fe-qty-form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.fe-qty-input { width: 72px !important; padding: 0.4rem 0.5rem !important; }

.fe-checkout-wrap .fe-radio-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--fe-gray-200);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.fe-checkout-wrap .fe-radio-row:hover { border-color: var(--fe-orange); background: #fffdfb; }
.fe-checkout-wrap .fe-radio-row input { margin-top: 0.2rem; }
.fe-checkout-wrap h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fe-gray-500);
  margin: 1.5rem 0 0.75rem;
}
.fe-checkout-wrap h3:first-child { margin-top: 0; }

/* Checkout */
.fe-checkout-summary {
  border-top: 1px dashed var(--fe-gray-200);
  margin-top: 1rem;
  padding-top: 1rem;
}
.fe-price-row {
  display: flex;
  justify-content: space-between;
  margin: 0.35rem 0;
  font-size: 0.9rem;
}
.fe-price-row--total {
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--fe-gray-200);
}

.fe-page--account { padding-top: 1.25rem; }

.fe-address-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--fe-gray-200);
  border-radius: var(--fe-radius-sm);
  margin-bottom: 0.75rem;
  background: #fafafa;
}
.fe-address-default {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fe-orange);
  background: var(--fe-orange-soft);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.fe-address-actions { flex-shrink: 0; }

.fe-table-wrap a {
  color: var(--fe-orange);
  font-weight: 600;
  text-decoration: none;
}
.fe-table-wrap a:hover { text-decoration: underline; }

/* ——— Restaurant menu page (Swiggy-style PDP) ——— */
.fe-rest-page {
  background: var(--fe-bg);
  padding-bottom: 3rem;
}

.fe-rest-banner {
  position: relative;
  min-height: min(48vw, 340px);
  max-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.fe-rest-banner-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #1e293b 0%, #334155 45%, #fed7aa 100%);
}
.fe-rest-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fe-rest-banner-bg--fallback {
  background: linear-gradient(160deg, #0f172a 0%, #ea580c 90%);
}
.fe-rest-banner-bg--fallback img { opacity: 0; }

.fe-rest-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2, 6, 12, 0.92) 0%,
    rgba(15, 23, 42, 0.35) 48%,
    rgba(15, 23, 42, 0.15) 100%
  );
  pointer-events: none;
}

.fe-rest-banner-inner {
  position: relative;
  z-index: 2;
  padding: 1rem 0 2.25rem;
  width: 100%;
}

.fe-breadcrumb--rest {
  font-size: 0.8125rem;
  margin-bottom: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  color: rgba(255, 255, 255, 0.72);
}
.fe-breadcrumb--rest .fe-breadcrumb-sep {
  opacity: 0.55;
  display: flex;
}
.fe-breadcrumb--rest a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
}
.fe-breadcrumb--rest a:hover { opacity: 1; text-decoration: underline; }
.fe-breadcrumb-current {
  font-weight: 700;
  color: #fff;
  opacity: 1;
  max-width: 100%;
}

.fe-rest-banner-title h1 {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.fe-rest-cuisines {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  max-width: 56ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.fe-rest-banner-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.fe-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #16a34a;
  color: #fff;
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4);
}
.fe-rating-badge--hero {
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
}
.fe-rating-badge svg { flex-shrink: 0; }
.fe-rating-badge--sm {
  background: var(--fe-orange-soft);
  color: var(--fe-orange);
  box-shadow: none;
  font-weight: 700;
}

.fe-meta-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.fe-meta-chip--muted {
  background: rgba(255, 255, 255, 0.12);
}

.fe-rest-body {
  margin-top: -2.25rem;
  position: relative;
  z-index: 3;
}

/* Info rail — overlaps hero (Swiggy-style stats strip) */
.fe-rest-info-rail {
  margin-bottom: 1.25rem;
}
.fe-rest-info-rail-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.65rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}
.fe-rest-info-tile {
  flex: 1 1 calc(33.33% - 0.5rem);
  min-width: 120px;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  border: 1px solid var(--fe-gray-200);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.fe-rest-info-tile--wide {
  flex: 1 1 100%;
  min-width: 100%;
}
.fe-rest-info-tile-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fe-gray-500);
}
.fe-rest-info-tile-value {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fe-black);
}
.fe-rest-info-tile-value--small {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--fe-gray-700);
}

.fe-split--rest {
  grid-template-columns: 1fr min(340px, 100%);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.fe-rest-main {
  background: var(--fe-white);
  border-radius: var(--fe-radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  padding: clamp(1.35rem, 3vw, 1.85rem);
}
.fe-rest-menu-kicker {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fe-gray-500);
}

.fe-rest-lede {
  font-size: 0.9375rem;
  color: var(--fe-gray-700);
  line-height: 1.65;
  margin: 0 0 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--fe-gray-200);
}

/* Legacy meta bar (if used elsewhere) */
.fe-rest-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 1rem 0;
  margin-bottom: 0.5rem;
  border-top: 1px solid var(--fe-gray-200);
  border-bottom: 1px solid var(--fe-gray-200);
}
.fe-rest-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fe-gray-700);
  max-width: 100%;
}
.fe-rest-meta-icon {
  flex-shrink: 0;
  color: var(--fe-orange);
  margin-top: 0.1rem;
}

.fe-rest-cat-nav-wrap {
  position: sticky;
  top: 76px;
  z-index: 40;
  margin: 0 -1rem 1.5rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(to bottom, #fff 65%, rgba(255, 255, 255, 0.88));
  border-bottom: 1px solid var(--fe-gray-200);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  border-radius: 0 0 12px 12px;
}
@media (max-width: 900px) {
  .fe-rest-cat-nav-wrap { top: 72px; margin: 0 -0.75rem 1.25rem; }
}

.fe-rest-cat-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.fe-rest-cat-link {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--fe-gray-900);
  background: var(--fe-gray-100);
  border: 1px solid var(--fe-gray-200);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.fe-rest-cat-link:hover {
  background: var(--fe-orange-soft);
  border-color: rgba(252, 128, 25, 0.35);
  color: var(--fe-orange);
}

.fe-menu-section {
  scroll-margin-top: 120px;
  padding-top: 0.5rem;
}
.fe-menu-section-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fe-black);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.fe-menu-section-title--reviews {
  margin-top: 0.25rem;
}
.fe-menu-section-bar {
  width: 4px;
  height: 1.25em;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--fe-orange) 0%, #e85d04 100%);
  flex-shrink: 0;
}

.fe-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fe-menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--fe-gray-200);
  align-items: start;
}
.fe-menu-row:last-child { border-bottom: none; }

.fe-menu-row-text {
  position: relative;
  padding-left: 1.35rem;
  min-width: 0;
}

.fe-veg-dot {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1.5px solid currentColor;
}
.fe-veg-dot--veg {
  color: #16a34a;
  background: #16a34a;
  box-shadow: inset 0 0 0 2px #fff;
}
.fe-veg-dot--non {
  color: #e23744;
  background: #e23744;
  box-shadow: inset 0 0 0 2px #fff;
}
.fe-veg-dot--egg {
  color: #e23744;
  background: linear-gradient(90deg, #16a34a 50%, #e23744 50%);
  box-shadow: inset 0 0 0 2px #fff;
}

.fe-menu-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}
.fe-menu-row-name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fe-black);
}
.fe-menu-row-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fe-orange);
  background: var(--fe-orange-soft);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}
.fe-menu-row-desc {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  color: var(--fe-gray-700);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fe-menu-row-portion {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--fe-gray-500);
}
.fe-menu-row-price {
  margin-top: 0.65rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--fe-gray-900);
}

.fe-menu-row-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 130px;
  flex-shrink: 0;
}

.fe-menu-row-img {
  width: 118px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--fe-gray-100);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.fe-menu-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fe-menu-row-add-form {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.fe-btn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--fe-green);
  background: #fff;
  border: 2px solid var(--fe-gray-200);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s, transform 0.12s;
}
.fe-btn-add:hover {
  border-color: var(--fe-green);
  box-shadow: 0 4px 14px rgba(96, 178, 70, 0.25);
  transform: translateY(-1px);
}
.fe-btn-add--ghost {
  color: var(--fe-orange);
  border-color: var(--fe-orange);
  background: #fff;
}
.fe-btn-add--ghost:hover {
  background: var(--fe-orange-soft);
}

.fe-reviews-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fe-gray-200);
}
.fe-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fe-review-card--rest {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--fe-gray-200);
  background: #fafafa;
  margin-bottom: 0.75rem;
}
.fe-review-card--rest .fe-review-top {
  justify-content: flex-start;
  align-items: flex-start;
}
.fe-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--fe-orange-soft);
  color: var(--fe-orange);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fe-review-head {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}
.fe-review-head strong {
  font-size: 0.9375rem;
  color: var(--fe-black);
}
.fe-review-text {
  margin: 0.65rem 0 0;
  padding-left: calc(42px + 0.75rem);
  font-size: 0.875rem;
  color: var(--fe-gray-700);
  line-height: 1.55;
}
@media (max-width: 480px) {
  .fe-review-text {
    padding-left: 0;
    margin-top: 0.5rem;
  }
}

.fe-sticky-card--rest {
  top: 96px;
  padding: 1.5rem;
  border-radius: var(--fe-radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--fe-shadow-lg);
  background: linear-gradient(165deg, #fff 0%, #fffaf5 100%);
}
.fe-sticky-card-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fe-orange);
}
.fe-sticky-card-lead {
  font-size: 0.875rem;
  line-height: 1.55;
}
.fe-sticky-card--rest h3 {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--fe-black);
}
.fe-sticky-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--fe-orange-soft);
  color: var(--fe-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}
.fe-sticky-list {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  color: var(--fe-gray-700);
  line-height: 1.6;
}
.fe-sticky-fav { margin-top: 0.75rem; }

@media (max-width: 640px) {
  .fe-menu-row {
    grid-template-columns: 1fr;
  }
  .fe-menu-row-aside {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .fe-menu-row-img {
    width: 96px;
    height: 80px;
  }
  .fe-menu-row-text { padding-left: 1.25rem; }
}
