:root {
  --bg-1: #7c2d12;
  --bg-2: #9a3412;
  --bg-3: #fff7ed;
  --surface: rgba(255, 251, 247, 0.94);
  --surface-strong: rgba(255, 252, 249, 0.98);
  --surface-dark: #7c2d12;
  --line: rgba(251, 146, 60, 0.18);
  --line-strong: rgba(249, 115, 22, 0.28);
  --text: #1F2937;
  --muted: #6b7287;
  --primary: #F97316;
  --primary-dark: #EA580C;
  --primary-soft: rgba(249, 115, 22, 0.12);
  --accent: #FB7185;
  --accent-soft: rgba(251, 113, 133, 0.12);
  --danger: #f04461;
  --danger-soft: rgba(240, 68, 97, 0.12);
  --warning: #ffb649;
  --success: #14a06f;
  --success-soft: rgba(20, 160, 111, 0.12);
  --shadow-2xl: 0 36px 100px rgba(10, 16, 30, 0.18);
  --shadow-xl: 0 28px 64px rgba(10, 16, 30, 0.14);
  --shadow-lg: 0 18px 40px rgba(10, 16, 30, 0.1);
  --shadow-md: 0 14px 28px rgba(10, 16, 30, 0.08);
  --shadow-sm: 0 10px 18px rgba(10, 16, 30, 0.06);
  --radius-3xl: 36px;
  --radius-2xl: 28px;
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --ease: 220ms ease;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 14%, rgba(249, 115, 22, 0.16), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(251, 113, 133, 0.12), transparent 24%),
    radial-gradient(circle at 78% 88%, rgba(251, 191, 36, 0.1), transparent 18%),
    linear-gradient(180deg, #fffaf5 0%, #fff7ed 46%, #ffedd5 100%);
}

body.ui-open {
  overflow: hidden;
}

body.drawer-open .site-header {
  transform: scale(0.995);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea {
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.page-shell,
.page-orb {
  position: fixed;
  pointer-events: none;
}

.page-shell {
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 12%);
  z-index: -3;
}

.page-orb {
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.48;
  z-index: -2;
}

.orb-one {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -90px;
  background: rgba(249, 115, 22, 0.3);
}

.orb-two {
  width: 420px;
  height: 420px;
  top: 100px;
  right: -120px;
  background: rgba(251, 113, 133, 0.22);
}

.orb-three {
  width: 360px;
  height: 360px;
  bottom: 80px;
  right: 28%;
  background: rgba(255, 182, 73, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  background: rgba(247, 249, 255, 0.72);
  border-bottom: 1px solid rgba(123, 134, 170, 0.14);
  transition: transform var(--ease);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #9287ff);
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.eyebrow {
  font-size: 0.76rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 800;
}

.eyebrow-accent {
  color: var(--primary);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.desktop-nav a,
.ghost-btn,
.primary-btn,
.round-nav-btn,
.soft-badge,
.hero-chip,
.hero-link-btn,
.category-chip,
.vendor-tag,
.vendor-stat,
.summary-pill,
.form-tab-btn,
.account-stat-card,
.tracking-meta-pill {
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    border-color var(--ease),
    background var(--ease),
    color var(--ease);
}

.desktop-nav a,
.ghost-btn,
.primary-btn,
.compact-btn,
.form-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.desktop-nav a,
.ghost-btn,
.form-tab-btn,
.round-nav-btn {
  border: 1px solid rgba(249, 115, 22, 0.16);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
}

.desktop-nav a:hover,
.ghost-btn:hover,
.form-tab-btn:hover,
.round-nav-btn:hover,
.category-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 16px 28px rgba(10, 16, 30, 0.08);
}

.primary-btn {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.24);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(249, 115, 22, 0.28);
}

.compact-btn {
  min-height: 44px;
  padding-inline: 16px;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-action-btn {
  white-space: nowrap;
}

.header-search {
  width: min(420px, 32vw);
}

.shell-input,
.field-group input,
.field-group textarea {
  border: 1px solid rgba(123, 134, 170, 0.16);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 18px;
}

.shell-input {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.shell-input:focus-within,
.field-group input:focus,
.field-group textarea:focus {
  border-color: rgba(249, 115, 22, 0.34);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.shell-input input,
.field-group input,
.field-group textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
}

.shell-input input {
  padding: 15px 16px 15px 46px;
}

.shell-input-icon {
  position: absolute;
  left: 16px;
  line-height: 1;
  color: #9aa3b4;
}

.count-badge,
.soft-badge,
.live-pill,
.floating-chip,
.account-mode-pill,
.tracking-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.count-badge {
  min-width: 34px;
  min-height: 30px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.soft-badge {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.84rem;
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary-dark);
}

.muted {
  color: var(--muted);
}

.hero-section,
.discover-section,
.experience-section {
  position: relative;
  z-index: 1;
}

.hero-section {
  padding: 34px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-showcase-card,
.experience-card,
.overlay-panel,
.drawer-panel,
.vendor-card,
.menu-card,
.hero-stat-card,
.hero-preview-item,
.account-shell,
.order-result,
.tracking-section,
.tracking-summary,
.cart-total-card,
.cart-item,
.my-order-card,
.overlay-metric-card,
.account-stat-card,
.auth-form-shell,
.empty-state-card {
  border: 1px solid rgba(123, 134, 170, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 255, 0.92));
  box-shadow: var(--shadow-lg);
}

.hero-copy,
.hero-showcase-card,
.experience-card,
.overlay-panel,
.drawer-panel {
  overflow: hidden;
  position: relative;
}

.hero-copy::before,
.hero-showcase-card::before,
.overlay-panel::before,
.drawer-panel::before,
.experience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 44%);
  pointer-events: none;
}

.hero-copy {
  padding: 34px;
  border-radius: var(--radius-3xl);
}

.hero-copy h1 {
  margin: 14px 0 14px;
  font-size: clamp(2.4rem, 4.3vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy p {
  margin: 0;
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--muted);
}

.hero-chip-row,
.hero-tag-row,
.vendor-meta-row,
.cart-summary-meta,
.auth-benefit-row,
.account-quick-actions,
.tracking-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip-row {
  margin-top: 22px;
}

.hero-chip,
.vendor-tag,
.vendor-stat,
.summary-pill,
.account-benefit,
.tracking-meta-pill,
.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.05);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.hero-chip,
.summary-pill,
.tracking-meta-pill,
.meta-pill,
.account-benefit {
  background: rgba(249, 115, 22, 0.08);
  color: var(--primary-dark);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-link-btn {
  min-width: 178px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-stat-card {
  padding: 18px 20px;
  border-radius: 22px;
}

.hero-stat-card span {
  color: var(--muted);
}

.hero-stat-card strong {
  display: block;
  margin-top: 7px;
  font-size: 1.72rem;
  letter-spacing: -0.05em;
}

.hero-showcase-card {
  padding: 26px;
  border-radius: var(--radius-3xl);
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.hero-showcase-head,
.section-head,
.tracking-summary,
.drawer-head,
.drawer-subsection-head,
.tracking-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.live-pill {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
  background: var(--accent-soft);
  color: #0e8f83;
}

.hero-showcase-media {
  position: relative;
  min-height: 330px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-showcase-media img,
.vendor-card-cover img,
.vendor-overlay-media img,
.menu-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-showcase-overlay,
.vendor-card-cover::after,
.vendor-overlay-media-shade,
.menu-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 30, 0.08), rgba(11, 16, 30, 0.7));
}

.hero-showcase-content {
  position: absolute;
  inset: auto 24px 24px 24px;
  color: #fff;
  z-index: 1;
}

.hero-showcase-content h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-showcase-content p {
  margin: 0;
  max-width: 620px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.hero-tag-row {
  margin-top: 14px;
}

.hero-tag-row .meta-pill {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(14px);
}

.mini-preview-list {
  display: grid;
  gap: 12px;
}

.hero-preview-item {
  padding: 16px 18px;
  border-radius: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.hero-preview-item strong,
.menu-card h3,
.vendor-card-copy h3,
.drawer-head h2,
.section-head h2,
.vendor-title-stack h2,
.experience-card h3,
.account-summary-header h3,
.tracking-section h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-preview-item strong,
.vendor-card-copy h3,
.menu-card h3,
.vendor-title-stack h2,
.section-head h2,
.drawer-head h2 {
  font-size: 1.2rem;
}

.hero-preview-price {
  font-weight: 900;
  white-space: nowrap;
}

.discover-section {
  padding: 18px 0 18px;
}

.section-head h2 {
  margin-top: 6px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.section-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.round-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.25rem;
}

.section-subcopy {
  margin: 12px 0 18px;
  color: var(--muted);
  max-width: 740px;
  line-height: 1.72;
}

.vendors-carousel {
  overflow: hidden;
  position: relative;
}

.vendors-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 340px);
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 4px 16px;
  scrollbar-width: none;
}

.vendors-track::-webkit-scrollbar {
  display: none;
}

.vendor-card {
  border-radius: 28px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.vendor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.26);
  box-shadow: 0 26px 46px rgba(10, 16, 30, 0.12);
}

.vendor-card.active {
  border-color: rgba(249, 115, 22, 0.38);
  box-shadow: 0 26px 52px rgba(249, 115, 22, 0.16);
}

.vendor-card-cover {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.vendor-card-cover img {
  transition: transform 420ms ease;
}

.vendor-card:hover .vendor-card-cover img {
  transform: scale(1.05);
}

.vendor-card-topline {
  position: absolute;
  inset: 16px 16px auto 16px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.vendor-card-badge,
.vendor-card-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  backdrop-filter: blur(14px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.vendor-card-badge {
  background: rgba(249, 115, 22, 0.35);
}

.vendor-card-rating {
  background: rgba(17, 24, 39, 0.45);
}

.vendor-card-content {
  padding: 18px 18px 20px;
}

.vendor-card-copy h3 {
  font-size: 1.3rem;
}

.vendor-location-line,
.vendor-description,
.menu-description,
.cart-item-meta,
.my-order-items,
.tracking-item-note,
.tracking-last-updated,
.footer-muted,
.footer-brand-row p,
.vendor-card-copy p,
.auth-form-note,
.drawer-summary-bar .muted,
.order-result .muted {
  color: var(--muted);
}

.vendor-location-line {
  margin-top: 6px;
  font-size: 0.96rem;
}

.vendor-card-copy p {
  margin: 10px 0 0;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vendor-card-meta,
.vendor-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vendor-card-meta {
  margin-top: 14px;
}

.vendor-card-tags {
  margin-top: 12px;
}

.vendor-stat,
.vendor-tag {
  min-height: 36px;
  padding-inline: 12px;
  font-size: 0.86rem;
}

.vendor-tag {
  background: rgba(17, 24, 39, 0.05);
  color: var(--muted);
}

.experience-section {
  padding: 20px 0 64px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.experience-card {
  padding: 28px;
  border-radius: 28px;
}

.experience-card h3 {
  margin-top: 14px;
  font-size: 1.35rem;
}

.experience-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.site-footer {
  padding: 0 0 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 28px;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(123, 134, 170, 0.16);
  background: linear-gradient(180deg, rgba(124, 45, 18, 0.96), rgba(154, 52, 18, 0.94));
  color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-xl);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-mark {
  box-shadow: none;
}

.footer-grid h4 {
  margin: 6px 0 14px;
  font-size: 1rem;
}

.footer-grid a,
.footer-grid span,
.footer-brand-block p {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.footer-grid a:hover {
  color: #fff;
}

.ui-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 12, 23, 0.58);
  backdrop-filter: blur(8px);
  z-index: 59;
}

.overlay-shell,
.drawer-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.overlay-shell.active,
.drawer-shell.active {
  pointer-events: auto;
}

.overlay-panel,
.drawer-panel {
  pointer-events: auto;
}

.overlay-shell {
  padding: 26px;
  overflow: auto;
}

.overlay-panel {
  width: min(1500px, 100%);
  min-height: calc(100vh - 52px);
  margin: 0 auto;
  border-radius: 34px;
  padding: 22px 22px 26px;
}

.overlay-close-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(123, 134, 170, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}

.overlay-close-btn:hover {
  transform: translateY(-2px);
}

.vendor-overlay-panel {
  position: relative;
}

#closeVendorModalBtn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.vendor-overlay-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  margin-bottom: 22px;
}

.vendor-overlay-media {
  position: relative;
  min-height: 320px;
  border-radius: 30px;
  overflow: hidden;
}

.vendor-overlay-floating-badges {
  position: absolute;
  inset: 18px 18px auto 18px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.floating-chip {
  min-height: 36px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(14px);
  font-size: 0.84rem;
}

.muted-chip {
  background: rgba(17, 24, 39, 0.38);
}

.vendor-overlay-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.vendor-title-stack h2 {
  margin-top: 10px;
  font-size: clamp(2.1rem, 3vw, 3.3rem);
}

.vendor-title-stack p {
  margin: 10px 0 0;
  line-height: 1.72;
}

.vendor-overlay-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.overlay-metric-card {
  padding: 18px 20px;
  border-radius: 24px;
}

.overlay-metric-card span {
  color: var(--muted);
}

.overlay-metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
}

.vendor-overlay-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.categories-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-chip {
  min-height: 44px;
  padding-inline: 16px;
  border: 1px solid rgba(123, 134, 170, 0.16);
  border-radius: 999px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.84);
}

.category-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.22);
}

.vendor-overlay-toolbar-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.menu-search {
  min-width: 300px;
}

.vendor-overlay-results-row {
  margin-bottom: 16px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.menu-card {
  border-radius: 28px;
  overflow: hidden;
}

.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.28);
  box-shadow: 0 24px 42px rgba(10, 16, 30, 0.12);
}

.menu-card.unavailable {
  opacity: 0.72;
}

.menu-card-media {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.menu-card-media img {
  transition: transform 380ms ease;
}

.menu-card:hover .menu-card-media img {
  transform: scale(1.04);
}

.menu-card-badge-row {
  position: absolute;
  inset: 16px 16px auto 16px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.item-type-badge,
.availability-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.item-type-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.availability-badge {
  background: rgba(17, 24, 39, 0.4);
  color: #fff;
}

.menu-card-body {
  padding: 18px;
}

.menu-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.menu-card-kicker,
.price-line,
.prep-line,
.empty-state,
.tracking-state,
.tracking-empty-row,
.account-empty-row {
  color: var(--muted);
}

.menu-card-kicker {
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}

.menu-price {
  font-size: 1.18rem;
  font-weight: 900;
  white-space: nowrap;
}

.menu-description {
  margin: 12px 0 0;
  line-height: 1.66;
}

.menu-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.menu-card-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}

.quantity-stepper,
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(123, 134, 170, 0.18);
  background: rgba(255, 255, 255, 0.86);
}

.quantity-stepper input {
  width: 42px;
  border: none;
  outline: none;
  text-align: center;
  background: transparent;
}

.qty-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary-dark);
  font-size: 1.1rem;
  font-weight: 800;
}

.qty-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-full {
  width: 100%;
}

.drawer-shell {
  display: flex;
  justify-content: flex-end;
  padding: 18px;
}

.drawer-panel {
  position: relative;
  width: min(460px, 100%);
  height: calc(100vh - 36px);
  border-radius: 32px;
  padding: 22px;
  overflow: auto;
}

.account-drawer-panel,
.tracking-drawer-panel {
  width: min(520px, 100%);
}

.drawer-head h2 {
  margin-top: 6px;
  font-size: 1.9rem;
}

.drawer-head-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.drawer-summary-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.cart-items,
.tracking-items,
.tracking-history,
#myOrdersList {
  display: grid;
  gap: 12px;
}

.cart-item,
.my-order-card,
.tracking-item-card,
.tracking-history-row,
.account-shell,
.auth-form-shell,
.empty-state-card {
  padding: 16px;
  border-radius: 22px;
}

.cart-item-header,
.cart-item-footer,
.my-order-card-top,
.my-order-meta-row,
.account-profile-row,
.account-user-meta,
.account-split-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.cart-item-footer,
.my-order-meta-row {
  margin-top: 12px;
}

.cart-item-price,
.tracking-item-total {
  font-weight: 900;
}

.remove-link {
  color: var(--danger);
  font-weight: 700;
}

.cart-summary-meta {
  margin: 14px 0 18px;
}

.cart-total-card {
  padding: 18px;
  border-radius: 24px;
}

.cart-total-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.9rem;
  letter-spacing: -0.05em;
}

.checkout-form,
.tracking-form,
.auth-form {
  display: grid;
  gap: 14px;
}

.checkout-form {
  margin-top: 16px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-size: 0.92rem;
  font-weight: 700;
}

.field-group input,
.field-group textarea {
  padding: 15px 16px;
}

.field-group textarea {
  min-height: 110px;
  resize: vertical;
}

.order-result {
  margin-top: 16px;
  padding: 16px;
  border-radius: 22px;
  line-height: 1.7;
}

.drawer-subsection {
  margin-top: 18px;
}

.drawer-subsection-head h3 {
  margin: 0;
  font-size: 1.14rem;
}

.account-shell {
  display: grid;
  gap: 14px;
}

.account-summary-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-mode-pill {
  min-height: 36px;
  padding: 0 12px;
  width: fit-content;
  background: rgba(17, 24, 39, 0.06);
  color: var(--muted);
  font-size: 0.84rem;
}

.auth-benefit-row {
  margin-top: 4px;
}

.account-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form-tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.22);
}

.auth-form-shell {
  display: grid;
  gap: 14px;
}

.auth-form-note {
  line-height: 1.65;
}

.account-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #8f85ff);
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.2);
}

.account-user-stack {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-user-meta {
  flex-direction: column;
  align-items: flex-start;
}

.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-stat-card {
  padding: 16px;
  border-radius: 20px;
}

.account-stat-card span {
  color: var(--muted);
}

.account-stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
}

.account-quick-actions button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.14);
  background: rgba(249, 115, 22, 0.08);
  color: var(--primary-dark);
  font-weight: 700;
}

.account-quick-actions button:hover {
  transform: translateY(-2px);
}

.tracking-state {
  margin: 14px 0;
  line-height: 1.6;
}

.tracking-panel {
  display: grid;
  gap: 14px;
}

.tracking-summary {
  padding: 18px;
  border-radius: 24px;
}

.tracking-summary h3 {
  margin-top: 6px;
  font-size: 1.4rem;
}

.tracking-status-badge {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.82rem;
  background: rgba(17, 24, 39, 0.08);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-created,
.status-accepted,
.status-preparing,
.status-ready,
.status-completed,
.status-cancelled {
  border: 1px solid transparent;
}

.status-created {
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary-dark);
}

.status-accepted,
.status-ready {
  background: var(--accent-soft);
  color: #0e8f83;
}

.status-preparing {
  background: rgba(255, 182, 73, 0.16);
  color: #b66c00;
}

.status-completed {
  background: var(--success-soft);
  color: var(--success);
}

.status-cancelled {
  background: var(--danger-soft);
  color: var(--danger);
}

.tracking-order-meta {
  margin-top: -2px;
}

.tracking-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.tracking-step {
  position: relative;
  padding: 14px 10px;
  border-radius: 20px;
  border: 1px solid rgba(123, 134, 170, 0.16);
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.tracking-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c8cfdd;
}

.tracking-step.done,
.tracking-step.active,
.tracking-step.cancelled {
  border-color: transparent;
}

.tracking-step.done {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.18), rgba(251, 113, 133, 0.1));
}

.tracking-step.done .tracking-step-dot {
  background: var(--accent);
}

.tracking-step.active {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(249, 115, 22, 0.1));
}

.tracking-step.active .tracking-step-dot {
  background: var(--primary);
}

.tracking-step.cancelled {
  background: linear-gradient(135deg, rgba(240, 68, 97, 0.16), rgba(240, 68, 97, 0.08));
}

.tracking-step.cancelled .tracking-step-dot {
  background: var(--danger);
}

.tracking-item-card,
.tracking-section {
  border-radius: 22px;
}

.tracking-history-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
}

.tracking-history-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.empty-state,
.tracking-empty-row,
.account-empty-row {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.04);
}

.empty-state-card {
  padding: 18px;
  border-radius: 24px;
}

.toast-container {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  right: 18px;
  z-index: 90;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 220px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.info {
  background: linear-gradient(135deg, #1f2937, #111827);
}

.toast.success {
  background: linear-gradient(135deg, #0e9f6e, #0a7f59);
}

.toast.error {
  background: linear-gradient(135deg, #f04461, #d93552);
}

.reveal-up {
  animation: revealUp 540ms ease both;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 140ms;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromBottom {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drawer-shell.active .drawer-panel {
  animation: slideFromRight 220ms ease both;
}

.overlay-shell.active .overlay-panel {
  animation: slideFromBottom 220ms ease both;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(123, 134, 170, 0.4);
  border-radius: 999px;
}

::-webkit-scrollbar-track {
  background: transparent;
}


.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 14px;
}

.auth-card {
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(123, 134, 170, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 255, 0.92));
  box-shadow: var(--shadow-xl);
}

.auth-card h1 {
  margin: 12px 0 10px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.auth-card .muted {
  line-height: 1.7;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.auth-links a {
  color: var(--primary-dark);
  font-weight: 700;
}

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

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1140px) {
  .desktop-nav {
    display: none;
  }

  .header-search {
    display: none;
  }

  .vendor-overlay-hero,
  .vendor-overlay-summary,
  .menu-grid,
  .hero-stat-grid,
  .account-stats-grid,
  .tracking-steps {
    grid-template-columns: 1fr;
  }

  .vendor-overlay-toolbar {
    flex-direction: column;
  }

  .vendor-overlay-toolbar-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .menu-search {
    min-width: 0;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100%, calc(100% - 22px));
  }

  .header-inner {
    min-height: 76px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .brand-copy .eyebrow {
    display: none;
  }

  .header-actions {
    width: 100%;
    justify-content: stretch;
    gap: 10px;
  }

  .header-action-btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .hero-copy,
  .hero-showcase-card,
  .overlay-panel,
  .drawer-panel,
  .experience-card,
  .footer-grid {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .vendor-card-cover,
  .hero-showcase-media,
  .menu-card-media {
    height: 220px;
    min-height: 220px;
  }

  .vendors-track {
    grid-auto-columns: minmax(280px, 86vw);
  }

  .overlay-shell {
    padding: 10px;
  }

  .overlay-panel {
    min-height: calc(100vh - 20px);
  }

  .drawer-shell {
    padding: 10px;
  }

  .drawer-panel {
    height: calc(100vh - 20px);
    width: 100%;
  }

  .cart-item-header,
  .cart-item-footer,
  .my-order-card-top,
  .my-order-meta-row,
  .account-profile-row,
  .account-split-row,
  .tracking-summary,
  .tracking-history-head,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 2.18rem;
  }

  .hero-cta-row,
  .account-auth-tabs,
  .menu-card-actions,
  .vendor-overlay-summary,
  .hero-tag-row,
  .hero-chip-row {
    grid-template-columns: 1fr;
  }

  .hero-cta-row,
  .menu-card-actions,
  .account-auth-tabs {
    display: grid;
  }

  .hero-link-btn,
  .primary-btn,
  .ghost-btn,
  .form-tab-btn {
    width: 100%;
  }

  .quantity-stepper,
  .cart-item-qty {
    width: 100%;
    justify-content: center;
  }

  .vendor-card-cover,
  .hero-showcase-media,
  .menu-card-media {
    height: 200px;
    min-height: 200px;
  }
}


@media (max-width: 1360px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

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