/* ==========================================================================
   Porch Drop — design system
   Paper & ink · tomato · deep teal
   ========================================================================== */

:root {
  --navy-950: #08152b;
  --navy-900: #0a1611;
  --navy-850: #0e1f18;
  --navy-800: #13281f;
  --navy-700: #193a2c;
  --navy-600: #234c3a;

  --silver-100: #ffffff;
  --silver-200: #f7faff;
  --silver-300: #dce6f4;
  --silver-400: #afc2dc;
  --silver-500: #8fa6c4;
  --silver-600: #5b6b7e;

  --white: #ffffff;
  --ink: #08152b;

  --line: rgba(220, 230, 244, 0.13);
  --line-2: rgba(220, 230, 244, 0.24);
  --line-3: rgba(255, 255, 255, 0.34);

  --metal: linear-gradient(135deg, #FFF8E9 0%, #F3CE93 32%, #C99A5B 58%, #FFF3D8 78%, #E8C08A 100%);
  --metal-soft: linear-gradient(135deg, rgba(255, 245, 224, 0.16), rgba(201, 154, 91, 0.05));

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-lg: 0 40px 90px -46px rgba(0, 0, 0, 0.95);
  --shadow-md: 0 22px 50px -30px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 30px 70px -40px rgba(120, 160, 210, 0.55);

  --font-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;

  --topbar: 74px;
  --ease: cubic-bezier(0.22, 0.72, 0.16, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--silver-100);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 700px at 82% -8%, rgba(224, 112, 58, 0.18), transparent 62%),
    radial-gradient(900px 620px at 4% 14%, rgba(243, 206, 147, 0.09), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(20, 55, 42, 0.22), transparent 65%);
}

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

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(255, 255, 255, 0.9); color: var(--navy-950); }

:focus-visible { outline: 2px solid var(--silver-200); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-xs { width: 13px; height: 13px; stroke-width: 2; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 24px; height: 24px; stroke-width: 1.5; }
.ico-solid { fill: currentColor; stroke: none; }

.shell { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 44px); position: relative; z-index: 1; }

main { display: block; min-height: 60vh; position: relative; z-index: 1; }

.muted { color: var(--silver-500); }
.dim { color: var(--silver-400); }
.silver-text {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.preview-chip {
  margin-left: 6px;
  padding: 3px 7px;
  border: 1px dashed rgba(220, 230, 244, 0.42);
  border-radius: 999px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-400);
  line-height: 1.4;
}
@media (max-width: 520px) { .preview-chip { display: none; } }

.icon-btn.mobile-only { display: none; }

/* --- Typography helpers -------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--silver-400);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver-400));
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
.display em {
  font-style: italic;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: clamp(52px, 7vw, 96px) 0; position: relative; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.9vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-top: 12px;
}
.section-head p { color: var(--silver-400); max-width: 46ch; margin-top: 10px; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.4s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px) scale(0.995); }
.btn-primary {
  background: var(--metal);
  color: var(--navy-950);
  box-shadow: 0 16px 34px -18px rgba(250, 220, 170, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -20px rgba(250, 220, 170, 0.65), inset 0 1px 0 #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--silver-200); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.06); color: var(--white); }
.btn-dark { background: var(--navy-700); color: var(--white); border-color: var(--line); }
.btn-dark:hover { background: var(--navy-600); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 12.5px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn-danger { border-color: rgba(226, 122, 122, 0.4); color: #f0a9a9; }
.btn-danger:hover { background: rgba(226, 122, 122, 0.12); color: #ffc9c9; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--silver-200);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color 0.3s, gap 0.3s;
}
.link-arrow:hover { border-color: var(--silver-100); gap: 11px; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--silver-200);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--line-2); }

/* --- Badges / chips ------------------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  background: rgba(9, 21, 16, 0.55);
  color: var(--silver-200);
  backdrop-filter: blur(10px);
}
.badge-solid { background: var(--metal); color: var(--navy-950); border-color: transparent; }
.badge-live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #9fe3bb;
  box-shadow: 0 0 0 0 rgba(159, 227, 187, 0.55);
  animation: livePulse 2.4s infinite;
}
.badge-new { border-color: rgba(159, 227, 187, 0.35); color: #bfe7cb; }

.tiny-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-500);
  font-weight: 500;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 12.5px;
  color: var(--silver-300);
  background: rgba(255, 255, 255, 0.025);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--line-3); color: var(--white); background: rgba(255, 255, 255, 0.07); }
.chip.active { background: var(--metal); color: var(--navy-950); border-color: transparent; font-weight: 600; }

/* --- Top bar ------------------------------------------------------------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--topbar);
  z-index: 70;
  background: rgba(9, 21, 16, 0.72);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s, border-color 0.4s;
}
.topbar.scrolled { background: rgba(8, 18, 14, 0.9); border-color: var(--line-2); }
.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(16px, 3vw, 34px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 34px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; display: block; filter: drop-shadow(0 4px 12px rgba(180, 205, 235, 0.25)); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-type {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--white);
  display: inline-flex;
}
.brand-type span { color: var(--silver-500); margin-left: 5px; }
.brand-type.sm { font-size: 13px; }

.mainnav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.mainnav a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--silver-400);
  transition: color 0.25s, background 0.25s;
  letter-spacing: 0.01em;
}
.mainnav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.05); }
.mainnav a.active { color: var(--white); background: rgba(255, 255, 255, 0.08); }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--silver-300);
  font-size: 12px;
  transition: border-color 0.25s, color 0.25s;
}
.loc-chip:hover { border-color: var(--line-2); color: var(--white); }
.loc-chip .ico { color: var(--silver-400); }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--silver-100);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.cart-btn:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--line-3); }
.cart-count {
  min-width: 21px; height: 21px;
  border-radius: 999px;
  background: var(--metal);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 5px;
  transition: transform 0.35s var(--ease);
}
.cart-count.pop { animation: countPop 0.45s var(--ease); }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(660px, 92vh, 900px);
  display: flex;
  align-items: center;
  padding: calc(var(--topbar) + 46px) 0 54px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: 58% 50%;
  filter: saturate(0.72) contrast(1.05);
  transform: scale(1.02);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(95deg, rgba(7, 17, 13, 0.98) 0%, rgba(5, 12, 21, 0.92) 34%, rgba(5, 12, 21, 0.55) 62%, rgba(5, 12, 21, 0.86) 100%),
    linear-gradient(0deg, var(--navy-900) 2%, rgba(9, 21, 16, 0.1) 34%, rgba(9, 21, 16, 0.55) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 60%;
  z-index: -1;
  background: radial-gradient(60% 60% at 50% 100%, rgba(224, 150, 94, 0.22), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
  width: 100%;
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 6.15vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
  color: var(--white);
}
.hero h1 em {
  font-style: italic;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 22px;
  color: var(--silver-300);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  max-width: 46ch;
  font-weight: 300;
}
.hero-search {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 7px 7px 16px;
  border-radius: 18px;
  background: rgba(8, 17, 30, 0.72);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  max-width: 560px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-search:focus-within { border-color: var(--line-3); box-shadow: 0 30px 70px -40px rgba(243, 206, 147, 0.45); }
.hero-search > .ico { color: var(--silver-400); }
.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 12px 4px;
  font-size: 14.5px;
  color: var(--white);
  outline: none;
}
.hero-search input::placeholder { color: var(--silver-500); }
.hero-search .btn { min-height: 44px; padding: 0 20px; font-size: 13px; }
.hero-quick { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero-quick .tiny-label { margin-right: 2px; }
.hero-quick .chip { padding: 6px 12px; font-size: 11.5px; }

.hero-trust {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 30px;
  align-items: center;
}
.hero-stat { display: flex; align-items: baseline; gap: 8px; }
.hero-stat b { font-family: var(--font-display); font-size: 25px; font-weight: 400; color: var(--white); letter-spacing: -0.01em; }
.hero-stat span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-500); }
.hero-divider { width: 1px; height: 26px; background: var(--line-2); }

/* Hero visual */
.hero-visual { position: relative; height: clamp(400px, 46vw, 540px); }
.hero-photo {
  position: absolute;
  right: 2%;
  top: 4%;
  width: 76%;
  aspect-ratio: 4 / 5;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: floatSlow 9s ease-in-out infinite;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 13, 0) 32%, rgba(7, 17, 13, 0.55) 68%, rgba(7, 17, 13, 0.92));
}
.hero-photo-caption {
  position: absolute;
  left: 18px; right: 18px; bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
}
.hero-photo-caption .name { font-family: var(--font-display); font-size: 22px; color: #fff; line-height: 1.1; }
.hero-photo-caption .tiny-label { color: rgba(255, 255, 255, 0.7); }
.hero-photo-caption .score {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: #fff; padding: 5px 9px;
  border-radius: 999px; background: rgba(8, 17, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}
.hero-photo-caption .score .ico { color: #f0cd93; }

.hero-float {
  position: absolute;
  background: rgba(13, 29, 23, 0.82);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.95);
  padding: 15px 17px;
  z-index: 3;
}
.hero-live { left: 0; bottom: 13%; width: 268px; animation: floatSlow 11s ease-in-out infinite 1s; }
.hero-live .row { display: flex; align-items: center; justify-content: space-between; }
.hero-live .live-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #bfe7cb; }
.hero-live .live-dot i {
  width: 7px; height: 7px; border-radius: 50%; background: #9edcb0;
  box-shadow: 0 0 0 0 rgba(142, 224, 173, 0.6); animation: livePulse 2.2s infinite;
}
.hero-live h4 { font-size: 15px; margin-top: 8px; color: #fff; font-weight: 500; }
.hero-live .sub { font-size: 11.5px; color: var(--silver-400); margin-top: 2px; }
.hero-live .track { margin-top: 12px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.hero-live .track i { display: block; height: 100%; width: 62%; border-radius: 99px; background: var(--metal); animation: trackGrow 2.4s var(--ease) both; }
.hero-live .eta { margin-top: 9px; display: flex; justify-content: space-between; font-size: 11px; color: var(--silver-400); }
.hero-live .eta b { color: #fff; font-weight: 500; }

.hero-rating { right: 0; top: 0; display: flex; align-items: center; gap: 12px; animation: floatSlow 9.5s ease-in-out infinite 0.4s; }
.hero-rating .ring {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(242, 230, 200, 0.4);
  color: #f0cd93;
  background: radial-gradient(circle at 50% 30%, rgba(242, 230, 200, 0.16), transparent 70%);
}
.hero-rating b { display: block; font-size: 14px; color: #fff; font-weight: 600; line-height: 1.2; }
.hero-rating span { display: block; font-size: 10.5px; color: var(--silver-400); }

.hero-seal {
  position: absolute;
  left: 6%;
  top: 7%;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--metal);
  color: var(--navy-950);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 20px 40px -18px rgba(210, 228, 246, 0.5);
  z-index: 4;
  animation: sealFloat 7s ease-in-out infinite;
}
.hero-seal::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(7, 16, 31, 0.32);
}
.hero-seal b { font-size: 11px; letter-spacing: 0.14em; line-height: 1.3; display: block; font-weight: 700; }
.hero-seal span { display: block; font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1; margin-top: 2px; }

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 18, 14, 0.6);
  overflow: hidden;
  padding: 15px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-900), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--navy-900), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee-set { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee-set span {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver-500);
  white-space: nowrap;
}
.marquee-set i { width: 4px; height: 4px; border-radius: 50%; background: var(--silver-600); display: block; }

/* --- Category rail ------------------------------------------------------- */
.cat-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(112px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat-tile { scroll-snap-align: start; text-align: center; }
.cat-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-800);
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.4s; filter: saturate(0.9); }
.cat-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 13, 0.05) 20%, rgba(7, 17, 13, 0.66));
}
.cat-tile:hover .cat-thumb { transform: translateY(-5px); border-color: var(--line-3); }
.cat-tile:hover .cat-thumb img { transform: scale(1.08); filter: saturate(1.05); }
.cat-tile span { display: block; margin-top: 10px; font-size: 12.5px; color: var(--silver-300); letter-spacing: 0.02em; }

/* --- Restaurant cards ---------------------------------------------------- */
.rest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
  gap: 22px;
}
.rest-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(22, 52, 41, 0.74), rgba(7, 15, 27, 0.94));
  overflow: hidden;
  transition: transform 0.55s var(--ease), border-color 0.4s, box-shadow 0.55s;
  display: flex;
  flex-direction: column;
}
.rest-card:hover { transform: translateY(-7px); border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.05); }
.rest-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.rest-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.5s; filter: saturate(0.94) brightness(0.96); }
.rest-card:hover .rest-media img { transform: scale(1.07); filter: saturate(1.04) brightness(1); }
.rest-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 13, 0.05) 40%, rgba(7, 17, 13, 0.72));
}
.rest-media-top {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; z-index: 2;
}
.rest-media-bottom {
  position: absolute; bottom: 11px; left: 12px; right: 12px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.rest-city {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 5px 9px; border-radius: 999px;
  background: rgba(9, 21, 16, 0.5); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}
.rating-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(9, 21, 16, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11.5px; font-weight: 600; color: #fff;
  backdrop-filter: blur(6px);
}
.rating-pill .ico { color: #f0cd93; }
.rating-pill span { font-weight: 400; color: var(--silver-400); font-size: 10.5px; }
.rest-body { padding: 16px 17px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.rest-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rest-title h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: #fff; letter-spacing: -0.01em; line-height: 1.15; }
.rest-title .price { font-size: 11.5px; color: var(--silver-500); letter-spacing: 0.06em; white-space: nowrap; }
.rest-tagline { font-size: 12.5px; color: var(--silver-400); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rest-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; font-size: 11.5px; color: var(--silver-300); margin-top: auto; padding-top: 4px; }
.rest-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--silver-600); }
.rest-meta .ico { width: 14px; height: 14px; color: var(--silver-500); }
.rest-perk {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase;
  color: #f7faff; border-top: 1px solid var(--line);
  padding-top: 11px; margin-top: 3px;
}
.rest-perk .ico { width: 13px; height: 13px; color: var(--silver-300); }
.rest-perk em { font-style: normal; color: var(--silver-500); letter-spacing: 0.02em; text-transform: none; font-size: 11px; margin-left: auto; }

/* Spotlight */
.spotlight {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--navy-850);
  box-shadow: var(--shadow-lg);
  min-height: 380px;
}
.spotlight-img { position: relative; min-height: 300px; overflow: hidden; }
.spotlight-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spotlight:hover .spotlight-img img { transform: scale(1.05); }
.spotlight-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 17, 13, 0.1), rgba(8, 18, 31, 0.55)); }
.spotlight-body {
  padding: clamp(28px, 3.4vw, 46px);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(31, 74, 57, 0.28), transparent 62%);
}
.spotlight-body h3 { font-family: var(--font-display); font-size: clamp(28px, 3.1vw, 42px); line-height: 1.06; font-weight: 400; color: #fff; }
.spotlight-body p { color: var(--silver-400); font-size: 13.5px; max-width: 42ch; }
.spotlight-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 30px 30px 30px 0; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: 30px; }
.step-n {
  font-family: var(--font-display); font-style: italic; font-size: 15px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  color: var(--silver-200); margin-bottom: 16px;
}
.step h4 { font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--silver-400); max-width: 34ch; }

/* Promo band */
.promo-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
  background: linear-gradient(120deg, #112a20 0%, #16382a 52%, #0f251d 100%);
  padding: clamp(32px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.promo-band::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px; right: -120px; top: -180px;
  background: radial-gradient(circle, rgba(243, 206, 147, 0.16), transparent 62%);
  pointer-events: none;
}
.promo-band::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(70% 70% at 80% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 80% 20%, #000, transparent 75%);
}
.promo-band h2 { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 60px); line-height: 0.98; font-weight: 400; color: #fff; margin: 14px 0 12px; }
.promo-band p { color: var(--silver-300); font-size: 14px; max-width: 46ch; }
.promo-code-box { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; position: relative; z-index: 1; }
.code-tile {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(7, 17, 13, 0.55);
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  padding: 16px 20px;
  width: 100%;
  justify-content: space-between;
}
.code-tile b { font-size: 24px; letter-spacing: 0.22em; font-weight: 600; color: #fff; font-family: var(--font-sans); }
.code-tile span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-500); display: block; }
.promo-fine { font-size: 11px; color: var(--silver-500); line-height: 1.6; max-width: 40ch; }

/* Rides */
.rides-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-850);
}
.rides-photo { position: relative; min-height: 340px; }
.rides-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.rides-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 17, 13, 0.15), rgba(8, 18, 14, 0.55)); }
.rides-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.rides-body h3 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 400; color: #fff; line-height: 1.08; }
.rides-body p { color: var(--silver-400); font-size: 13.5px; max-width: 42ch; }
.fare-preview {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px;
  border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  background: rgba(7, 17, 13, 0.4); margin-top: 6px;
}
.fare-preview span { font-size: 12px; color: var(--silver-400); }
.fare-preview b { font-size: 12.5px; color: #fff; font-weight: 500; text-align: right; }
.fare-preview .total { font-size: 16px; }
.fare-preview .total-b { font-family: var(--font-display); font-size: 22px; }

/* Areas */
.area-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  background: linear-gradient(160deg, rgba(22, 52, 41, 0.5), rgba(7, 15, 27, 0.35));
  transition: border-color 0.3s, transform 0.4s var(--ease), background 0.4s;
}
.area-card:hover { border-color: var(--line-2); transform: translateY(-3px); background: linear-gradient(160deg, rgba(28, 64, 50, 0.62), rgba(7, 15, 27, 0.4)); }
.area-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.area-card h4 { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: #fff; }
.area-card p { font-size: 12.5px; color: var(--silver-400); margin-top: 6px; }
.area-card .badge { font-size: 9.5px; }
.area-count { font-family: var(--font-display); font-size: 32px; color: var(--silver-300); line-height: 1; }

/* --- Page header (inner pages) ------------------------------------------- */
.page-wrap { padding-top: calc(var(--topbar) + 30px); padding-bottom: 80px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--silver-500); margin-bottom: 18px; }
.crumbs a:hover { color: var(--white); }
.crumbs .ico { width: 12px; height: 12px; }
.page-head { margin-bottom: 28px; }
.page-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 50px); line-height: 1.04; color: #fff; margin-top: 10px; }
.page-head p { color: var(--silver-400); margin-top: 10px; max-width: 60ch; font-size: 14px; }

/* --- Restaurant detail --------------------------------------------------- */
.rest-hero {
  position: relative;
  margin-top: var(--topbar);
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 44px 0 34px;
  overflow: hidden;
  isolation: isolate;
}
.rest-hero-media { position: absolute; inset: 0; z-index: -2; }
.rest-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.rest-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 18, 14, 0.72) 0%, rgba(8, 18, 14, 0.5) 35%, rgba(9, 21, 16, 0.94) 88%, var(--navy-900) 100%);
}
.rest-hero .shell { width: 100%; }
.back-link {
  position: absolute; top: 22px; left: clamp(18px, 4vw, 44px); z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--silver-300);
  background: rgba(9, 21, 16, 0.5); border: 1px solid var(--line-2);
  padding: 7px 13px; border-radius: 999px; backdrop-filter: blur(10px);
}
.back-link:hover { color: #fff; border-color: var(--line-3); }
.rest-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 5.4vw, 68px); line-height: 0.98; color: #fff; margin: 12px 0 10px; }
.rest-hero .tagline { color: var(--silver-300); max-width: 60ch; font-size: 14.5px; }
.rest-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 18px; font-size: 12.5px; color: var(--silver-300); }
.rest-facts .fact { display: inline-flex; align-items: center; gap: 7px; }
.rest-facts .ico { color: var(--silver-500); width: 15px; height: 15px; }
.rest-facts .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--silver-600); }
.open-flag { display: inline-flex; align-items: center; gap: 7px; color: #bfe7cb; font-size: 12px; }
.open-flag i { width: 6px; height: 6px; border-radius: 50%; background: #9edcb0; animation: livePulse 2.4s infinite; }

.rest-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: clamp(24px, 4vw, 52px); align-items: start; padding: 10px 0 40px; }
.menu-tabs {
  position: sticky; top: var(--topbar);
  z-index: 20;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 14px 0; margin-bottom: 8px;
  background: linear-gradient(180deg, var(--navy-900) 55%, rgba(9, 21, 16, 0.6) 100%);
  border-bottom: 1px solid var(--line);
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs a { font-size: 12.5px; padding: 7px 13px; border-radius: 999px; color: var(--silver-400); white-space: nowrap; border: 1px solid transparent; }
.menu-tabs a:hover { color: #fff; border-color: var(--line); }
.menu-group { padding-top: 26px; }
.menu-group h2 { font-family: var(--font-display); font-size: 28px; font-weight: 400; color: #fff; margin-bottom: 6px; }
.menu-group .group-note { font-size: 12px; color: var(--silver-500); margin-bottom: 10px; }
.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.menu-item:last-child { border-bottom: 0; }
.menu-item-body { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.menu-item h3 { font-size: 15.5px; font-weight: 500; color: #fff; letter-spacing: -0.01em; }
.menu-item p { font-size: 12.5px; color: var(--silver-400); line-height: 1.5; max-width: 52ch; }
.menu-price { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--silver-100); margin-top: 2px; }
.menu-price .from { font-size: 10.5px; color: var(--silver-500); text-transform: uppercase; letter-spacing: 0.12em; }
.tag-soft {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24); color: var(--silver-200);
}
.menu-item-media { position: relative; }
.menu-item-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); transition: transform 0.6s var(--ease); }
.menu-item:hover .menu-item-media img { transform: scale(1.03); }
.add-fab {
  position: absolute; right: -7px; bottom: -7px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--metal); color: var(--navy-950);
  display: grid; place-items: center;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.9), 0 0 0 3px var(--navy-900);
  transition: transform 0.35s var(--ease);
}
.add-fab:hover { transform: scale(1.1) rotate(90deg); }
.add-fab .ico { width: 17px; height: 17px; stroke-width: 2.4; }
.menu-item.sold-out img { filter: grayscale(1) brightness(0.6); }
.menu-item.sold-out .add-fab { display: none; }
.sold-out-flag { font-size: 10px; color: #f0a9a9; letter-spacing: 0.14em; text-transform: uppercase; }

.menu-side { position: sticky; top: calc(var(--topbar) + 20px); display: flex; flex-direction: column; gap: 14px; }
.side-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(13, 29, 23, 0.72); padding: 20px; }
.side-card h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-500); font-weight: 500; margin-bottom: 12px; }
.side-list { display: flex; flex-direction: column; gap: 9px; }
.side-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--silver-300); line-height: 1.45; }
.side-list .ico { color: var(--silver-500); margin-top: 2px; }
.side-cta { display: flex; flex-direction: column; gap: 9px; }
.mini-cart-line { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--silver-300); padding: 5px 0; }
.mini-cart-line b { color: #fff; font-weight: 500; }
.mini-cart-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; display: flex; justify-content: space-between; font-size: 14px; color: #fff; }

/* --- Cart drawer --------------------------------------------------------- */
.backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(5, 13, 10, 0.68);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(430px, 100%);
  background: var(--navy-850);
  border-left: 1px solid var(--line-2);
  transform: translateX(102%);
  transition: transform 0.5s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, 0.9);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: #fff; }
.drawer-head .sub { font-size: 11.5px; color: var(--silver-500); margin-top: 2px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: rgba(9, 21, 16, 0.6); }
.drawer-empty { padding: 50px 20px; text-align: center; color: var(--silver-500); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.drawer-empty .ico { width: 34px; height: 34px; color: var(--silver-600); }

.cart-line { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 62px; height: 62px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.cart-line h4 { font-size: 13px; font-weight: 500; color: #fff; line-height: 1.3; }
.cart-line .opts { font-size: 11px; color: var(--silver-500); margin-top: 3px; line-height: 1.45; }
.cart-line .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.cart-line .price { font-size: 12.5px; color: var(--silver-200); }
.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty button { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; color: var(--silver-300); }
.qty button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.qty span { min-width: 22px; text-align: center; font-size: 12px; color: #fff; }
.cart-remove { font-size: 10.5px; color: var(--silver-500); text-decoration: underline; text-underline-offset: 3px; }
.cart-remove:hover { color: #f0a9a9; }
.cart-fee-note { font-size: 11px; color: var(--silver-500); display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 8px; }

/* --- Forms --------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver-500); font-weight: 500; }
.input, .select, .textarea {
  width: 100%;
  background: rgba(7, 17, 13, 0.5);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #fff;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  min-height: 46px;
}
.textarea { min-height: 84px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--silver-600); }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(255, 255, 255, 0.5); background: rgba(7, 17, 13, 0.72); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07); }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239eb0c3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
.select option { background: var(--navy-800); color: #fff; }
.field-hint { font-size: 11px; color: var(--silver-500); }
.input-affix { position: relative; }
.input-affix .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--silver-500); }
.input-affix .input { padding-left: 40px; }
.form-error { font-size: 12px; color: #f0a9a9; display: none; }
.form-error.show { display: block; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track {
  width: 40px; height: 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line-2);
  padding: 2px; transition: background 0.3s, border-color 0.3s;
  flex: none;
}
.switch .track i { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--silver-400); transition: transform 0.3s var(--ease), background 0.3s; }
.switch input:checked + .track { background: var(--metal); border-color: transparent; }
.switch input:checked + .track i { transform: translateX(18px); background: var(--navy-900); }
.switch span.label { font-size: 12.5px; color: var(--silver-300); }

.radio-grid { display: grid; gap: 9px; }
.radio-card {
  display: flex; align-items: center; gap: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  background: rgba(7, 17, 13, 0.28);
}
.radio-card:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }
.radio-card.selected { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.06); }
.radio-card input { position: absolute; opacity: 0; }
.radio-dot {
  width: 17px; height: 17px; border-radius: 50%;
  border: 1px solid var(--line-3);
  display: grid; place-items: center; flex: none;
  transition: border-color 0.25s;
}
.radio-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--metal); transform: scale(0); transition: transform 0.25s var(--ease); }
.radio-card.selected .radio-dot { border-color: #fff; }
.radio-card.selected .radio-dot::after { transform: scale(1); }
.radio-card .rc-main { flex: 1; min-width: 0; }
.radio-card .rc-title { font-size: 13.5px; color: #fff; display: flex; align-items: center; gap: 8px; }
.radio-card .rc-sub { font-size: 11.5px; color: var(--silver-500); margin-top: 2px; }
.radio-card .ico { color: var(--silver-300); }

.segmented { display: inline-flex; padding: 4px; gap: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(7, 17, 13, 0.45); }
.segmented button { padding: 8px 16px; border-radius: 999px; font-size: 12.5px; color: var(--silver-400); transition: all 0.25s var(--ease); }
.segmented button.active { background: var(--metal); color: var(--navy-950); font-weight: 600; }
.segmented button:not(.active):hover { color: #fff; }
.segmented.sm button { padding: 6px 12px; font-size: 11.5px; }

/* --- Checkout ------------------------------------------------------------ */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(20px, 3vw, 42px); align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(13, 29, 23, 0.66); padding: clamp(18px, 2.4vw, 26px); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.panel-head h3 { font-size: 16px; font-weight: 500; color: #fff; display: flex; align-items: center; gap: 9px; }
.panel-head h3 .ico { color: var(--silver-400); }
.panel-note { font-size: 11px; color: var(--silver-500); }
.checkout-summary { position: sticky; top: calc(var(--topbar) + 18px); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: linear-gradient(170deg, rgba(22, 52, 41, 0.7), rgba(7, 15, 27, 0.92)); padding: 22px; box-shadow: var(--shadow-md); }
.sum-list { display: flex; flex-direction: column; gap: 8px; max-height: 210px; overflow-y: auto; padding-right: 4px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--silver-300); }
.sum-line .q { color: var(--silver-500); margin-right: 6px; }
.sum-line b { color: var(--silver-100); font-weight: 500; }
.sum-rows { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.sum-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--silver-400); }
.sum-row b { color: var(--silver-100); font-weight: 500; }
.sum-row.free b { color: #bfe7cb; }
.sum-row.discount b { color: #bfe7cb; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.sum-total span { font-size: 13px; color: var(--silver-300); letter-spacing: 0.04em; }
.sum-total b { font-family: var(--font-display); font-size: 30px; font-weight: 400; color: #fff; letter-spacing: -0.01em; }
.secure-row { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: var(--silver-500); margin-top: 12px; line-height: 1.5; }
.secure-row .ico { color: var(--silver-400); }

.tip-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.tip-opt { border: 1px solid var(--line); border-radius: 11px; padding: 10px 6px; text-align: center; font-size: 12.5px; color: var(--silver-300); transition: all 0.25s; }
.tip-opt b { display: block; font-size: 11px; color: var(--silver-500); font-weight: 400; margin-top: 2px; }
.tip-opt.active { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); color: #fff; }
.tip-opt.active b { color: var(--silver-300); }

.pay-extra { margin-top: 12px; display: none; }
.pay-extra.show { display: block; animation: fadeUp 0.35s var(--ease) both; }
.card-preview {
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, #173a2b, #0e211a 60%, #1f4434);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}
.card-preview::after {
  content: "";
  position: absolute; right: -60px; top: -80px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 65%);
}
.card-preview .row { display: flex; justify-content: space-between; align-items: center; }
.card-preview .num { font-size: 15px; letter-spacing: 0.18em; margin-top: 26px; color: #fff; }
.card-preview .meta { display: flex; gap: 26px; margin-top: 14px; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-500); }
.card-preview .meta b { display: block; font-size: 11.5px; letter-spacing: 0.04em; color: var(--silver-200); text-transform: none; margin-top: 2px; font-weight: 500; }
.card-preview .brandmark { font-size: 11px; letter-spacing: 0.16em; color: var(--silver-300); }

.demo-note {
  display: flex; gap: 9px; align-items: flex-start;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 11px;
  color: var(--silver-500);
  line-height: 1.55;
  background: rgba(7, 17, 13, 0.3);
}
.demo-note .ico { color: var(--silver-400); margin-top: 1px; flex: none; }
.demo-note b { color: var(--silver-300); font-weight: 500; }

/* --- Order confirmation / tracking --------------------------------------- */
.track-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.track-head h1 { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 54px); font-weight: 400; line-height: 1.02; color: #fff; margin-top: 8px; }
.track-head .order-ref { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-500); }
.track-eta { text-align: right; }
.track-eta .big { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); color: #fff; line-height: 1; }
.track-eta .tiny-label { margin-top: 6px; }
.track-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px; align-items: start; }
.map-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #08152b; position: relative; }
.map-card > svg { width: 100%; height: auto; display: block; }
.map-label {
  position: absolute; left: 14px; top: 12px;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver-500);
  background: rgba(7, 17, 13, 0.7); padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.map-legend { position: absolute; right: 14px; top: 12px; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.eta-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(13, 29, 23, 0.85); border: 1px solid var(--line-2);
  padding: 6px 11px; border-radius: 999px; font-size: 11px; color: var(--silver-200);
  backdrop-filter: blur(8px);
}
.eta-chip i { width: 6px; height: 6px; border-radius: 50%; background: #9edcb0; animation: livePulse 2.4s infinite; }
.driver-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-top: 1px solid var(--line); background: rgba(13, 29, 23, 0.8); }
.driver-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--metal); color: var(--navy-950);
  display: grid; place-items: center; font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  flex: none;
}
.driver-card .name { font-size: 14px; color: #fff; font-weight: 500; }
.driver-card .meta { font-size: 11.5px; color: var(--silver-500); margin-top: 2px; }
.driver-card .actions { margin-left: auto; display: flex; gap: 7px; }
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 4px; }
.tl-step { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding-bottom: 20px; position: relative; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before {
  content: ""; position: absolute; left: 12px; top: 24px; bottom: 0; width: 1px;
  background: var(--line-2);
}
.tl-step:last-child::before { display: none; }
.tl-marker {
  width: 25px; height: 25px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--silver-500);
  background: var(--navy-850);
  position: relative; z-index: 1;
}
.tl-marker .ico { width: 13px; height: 13px; stroke-width: 2.2; }
.tl-step.done .tl-marker { background: var(--metal); color: var(--navy-950); border-color: transparent; }
.tl-step.current .tl-marker { border-color: var(--silver-100); color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.09); }
.tl-step.current .tl-marker::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--silver-100); }
.tl-step.current .tl-marker .ico { display: none; }
.tl-title { font-size: 13.5px; color: var(--silver-500); font-weight: 500; padding-top: 3px; }
.tl-step.done .tl-title, .tl-step.current .tl-title { color: #fff; }
.tl-sub { font-size: 11.5px; color: var(--silver-600); margin-top: 3px; }
.tl-step.done .tl-sub, .tl-step.current .tl-sub { color: var(--silver-400); }
.progress-rail { display: flex; gap: 4px; margin-top: 16px; }
.progress-rail i { height: 3px; border-radius: 99px; flex: 1; background: rgba(255, 255, 255, 0.09); }
.progress-rail i.on { background: var(--metal); }
.track-side { display: flex; flex-direction: column; gap: 16px; }
.help-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* --- Auth gate (driver/owner) -------------------------------------------- */
.gate {
  max-width: 440px; margin: clamp(40px, 8vh, 90px) auto;
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  background: linear-gradient(170deg, rgba(22, 52, 41, 0.8), rgba(7, 15, 27, 0.95));
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.gate::before { content: ""; position: absolute; inset: -40% 40% 60% -20%; background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%); pointer-events: none; }
.gate-icon { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--silver-200); margin-bottom: 18px; background: rgba(7, 17, 13, 0.4); }
.gate h1 { font-family: var(--font-display); font-size: 34px; font-weight: 400; color: #fff; line-height: 1.05; }
.gate p { font-size: 12.5px; color: var(--silver-400); margin: 8px 0 20px; line-height: 1.6; }
.gate .form-grid { grid-template-columns: 1fr; }
.gate .demo-hint { margin-top: 14px; font-size: 11px; color: var(--silver-500); text-align: center; }
.gate .demo-hint b { color: var(--silver-200); letter-spacing: 0.16em; }

/* --- Console (driver + owner) -------------------------------------------- */
.console-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 22px;
}
.console-head h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); font-weight: 400; color: #fff; line-height: 1.03; margin-top: 8px; }
.console-head .sub { font-size: 12.5px; color: var(--silver-400); margin-top: 8px; }
.console-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #bfe7cb; border: 1px solid rgba(142, 224, 173, 0.3); background: rgba(142, 224, 173, 0.07); padding: 6px 11px; border-radius: 999px; }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: #9edcb0; animation: livePulse 2.2s infinite; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.kpi {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 17px; background: linear-gradient(160deg, rgba(22, 52, 41, 0.55), rgba(7, 15, 27, 0.4));
  position: relative; overflow: hidden;
}
.kpi .label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-500); display: flex; align-items: center; gap: 6px; }
.kpi .value { font-family: var(--font-display); font-size: 30px; color: #fff; line-height: 1.1; margin-top: 8px; letter-spacing: -0.01em; }
.kpi .delta { font-size: 10.5px; color: var(--silver-500); margin-top: 4px; }
.kpi .delta.up { color: #bfe7cb; }
.kpi.highlight { border-color: rgba(255, 255, 255, 0.32); background: linear-gradient(160deg, rgba(31, 74, 57, 0.6), rgba(10, 21, 36, 0.6)); }

.console-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 22px; padding-bottom: 2px; }
.console-tabs::-webkit-scrollbar { display: none; }
.console-tabs button { position: relative; padding: 11px 15px; font-size: 12.5px; color: var(--silver-400); white-space: nowrap; transition: color 0.2s; }
.console-tabs button:hover { color: #fff; }
.console-tabs button.active { color: #fff; }
.console-tabs button.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; background: var(--metal); border-radius: 2px; }

.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.board-col { border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(7, 15, 27, 0.5); padding: 12px; min-height: 180px; }
.board-col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 0 2px; }
.board-col-head h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-400); font-weight: 500; }
.count-pill { min-width: 20px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; font-size: 10.5px; color: var(--silver-200); padding: 0 5px; }
.order-ticket {
  border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(160deg, rgba(22, 52, 41, 0.72), rgba(13, 29, 23, 0.9));
  padding: 12px; margin-bottom: 9px;
  transition: border-color 0.25s, transform 0.25s;
}
.order-ticket:hover { border-color: var(--line-2); }
.order-ticket .top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.order-ticket .ref { font-size: 11px; letter-spacing: 0.1em; color: var(--silver-300); }
.order-ticket .time { font-size: 10px; color: var(--silver-500); }
.order-ticket .rest { font-size: 13px; color: #fff; font-weight: 500; margin-top: 7px; line-height: 1.25; }
.order-ticket .items { font-size: 10.5px; color: var(--silver-500); margin-top: 4px; line-height: 1.5; }
.order-ticket .bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.order-ticket .amt { font-size: 12.5px; color: #fff; font-weight: 500; }
.order-ticket .meta-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.mini-tag { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; border: 1px solid var(--line); color: var(--silver-400); }
.mini-tag.assign { color: #bfe7cb; border-color: rgba(159, 227, 187, 0.25); }
.mini-tag.unassigned { color: #f3d6a6; border-color: rgba(243, 214, 166, 0.25); }
.ticket-actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.ticket-actions .btn { min-height: 30px; padding: 0 10px; font-size: 10.5px; }
.assign-select { width: 100%; margin-top: 8px; padding: 7px 28px 7px 9px; font-size: 11px; border-radius: 8px; background-color: rgba(7, 17, 13, 0.6); border: 1px solid var(--line-2); min-height: 32px; background-position: right 8px center; }
.empty-col { text-align: center; padding: 22px 6px; font-size: 11px; color: var(--silver-600); }

.list-card { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: rgba(7, 15, 27, 0.45); }
.list-row { display: flex; align-items: center; gap: 14px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row .thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.list-row .main { flex: 1; min-width: 0; }
.list-row .main h4 { font-size: 13px; color: #fff; font-weight: 500; }
.list-row .main p { font-size: 11px; color: var(--silver-500); margin-top: 2px; }
.list-row .end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.price-input { width: 84px; background: rgba(7, 17, 13, 0.6); border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 9px; font-size: 12px; color: #fff; min-height: 34px; }
.price-input:focus { outline: none; border-color: var(--line-3); }

.offer {
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(28, 64, 50, 0.62), rgba(8, 18, 31, 0.9));
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.offer .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.offer .top > :last-child { flex: none; text-align: right; }
.offer .pay { white-space: nowrap; }
.offer .offer-actions { flex-wrap: wrap; }
.offer h4 { font-size: 14.5px; color: #fff; font-weight: 500; }
.offer .sub { font-size: 11.5px; color: var(--silver-500); margin-top: 3px; line-height: 1.5; }
.offer .pay { font-family: var(--font-display); font-size: 24px; color: #fff; }
.offer .route { display: flex; flex-direction: column; gap: 7px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.route-line { display: grid; grid-template-columns: 16px 1fr; gap: 9px; align-items: start; font-size: 12px; color: var(--silver-300); }
.route-line .dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--silver-400); margin-top: 5px; }
.route-line .dot.fill { background: var(--metal); border-color: transparent; }
.route-line .lbl { font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver-600); display: block; margin-bottom: 1px; }
.offer-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; align-items: start; }
.stat-bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; padding-top: 10px; }
.stat-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; height: 100%; justify-content: flex-end; }
.stat-bar i { width: 100%; max-width: 34px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(123, 141, 162, 0.35)); display: block; transition: height 0.7s var(--ease); }
.stat-bar span { font-size: 9.5px; color: var(--silver-500); letter-spacing: 0.1em; text-transform: uppercase; }
.refund-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--silver-300); }
.refund-row:last-child { border-bottom: 0; }
.refund-row b { color: #fff; font-weight: 500; }

/* --- Account ------------------------------------------------------------- */
.account-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; }
.profile-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: linear-gradient(170deg, rgba(22, 52, 41, 0.6), rgba(7, 15, 27, 0.85)); text-align: center; }
.profile-avatar { width: 68px; height: 68px; border-radius: 50%; background: var(--metal); color: var(--navy-950); display: grid; place-items: center; font-family: var(--font-display); font-size: 26px; margin: 0 auto 14px; }
.profile-card h3 { font-family: var(--font-display); font-size: 24px; color: #fff; font-weight: 400; }
.profile-card p { font-size: 12px; color: var(--silver-500); margin-top: 4px; }
.profile-stats { display: flex; justify-content: center; gap: 22px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-stats div b { display: block; font-family: var(--font-display); font-size: 21px; color: #fff; font-weight: 400; }
.profile-stats div span { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-500); }
.account-sections { display: flex; flex-direction: column; gap: 16px; }
.address-card { border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; display: flex; align-items: flex-start; gap: 11px; margin-bottom: 8px; }
.address-card .ico { color: var(--silver-400); margin-top: 2px; }
.address-card h4 { font-size: 12.5px; color: #fff; font-weight: 500; }
.address-card p { font-size: 11.5px; color: var(--silver-500); margin-top: 2px; }
.address-card .end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.order-history-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.order-history-row:last-child { border-bottom: 0; }
.order-history-row img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.order-history-row h4 { font-size: 13px; color: #fff; font-weight: 500; }
.order-history-row p { font-size: 11px; color: var(--silver-500); margin-top: 2px; }
.order-history-row .end { margin-left: auto; text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.status-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--silver-300); }
.status-chip.delivered { color: #bfe7cb; border-color: rgba(159, 227, 187, 0.3); }
.status-chip.active { color: #f3d6a6; border-color: rgba(243, 214, 166, 0.3); }
.status-chip.refunded { color: #f0a9a9; border-color: rgba(226, 122, 122, 0.3); }

/* --- Search page --------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.filter-bar .chip-row { flex: 1; }
.search-count { font-size: 12px; color: var(--silver-500); }

/* --- Rides page ---------------------------------------------------------- */
.ride-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.ride-summary { position: sticky; top: calc(var(--topbar) + 18px); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: linear-gradient(170deg, rgba(20, 42, 66, 0.72), rgba(7, 15, 27, 0.94)); padding: 22px; }
.ride-summary h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: #fff; margin-bottom: 4px; }
.ride-quote { display: flex; flex-direction: column; gap: 7px; margin: 14px 0; }
.ride-quote .sum-row { font-size: 12.5px; }
.ride-big { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line-2); margin-top: 10px; padding-top: 12px; }
.ride-big b { font-family: var(--font-display); font-size: 30px; color: #fff; font-weight: 400; }
.ride-zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ride-zone { border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; }
.ride-zone b { display: block; font-size: 12.5px; color: #fff; font-weight: 500; }
.ride-zone span { font-size: 10px; color: var(--silver-500); }

/* --- Modal / sheet ------------------------------------------------------- */
.modal-root { position: fixed; inset: 0; z-index: 100; display: none; }
.modal-root.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 13, 10, 0.74); backdrop-filter: blur(6px); animation: fadeIn 0.3s both; }
.sheet-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.sheet {
  position: relative;
  width: min(560px, 100%);
  max-height: min(88vh, 880px);
  background: var(--navy-850);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  animation: sheetIn 0.45s var(--ease) both;
  overflow: hidden;
}
.sheet-wide { width: min(720px, 100%); }
.sheet-media { position: relative; height: 210px; flex: none; }
.sheet-media img { width: 100%; height: 100%; object-fit: cover; }
.sheet-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 17, 13, 0.1), rgba(8, 18, 31, 0.95)); }
.sheet-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(7, 17, 13, 0.6); border: 1px solid var(--line-2);
  display: grid; place-items: center; color: #fff; backdrop-filter: blur(8px);
}
.sheet-body { padding: 20px 22px 22px; overflow-y: auto; }
.sheet-body h2 { font-family: var(--font-display); font-size: 27px; font-weight: 400; color: #fff; line-height: 1.1; }
.sheet-body .desc { font-size: 12.5px; color: var(--silver-400); margin-top: 7px; line-height: 1.55; }
.opt-group { margin-top: 20px; }
.opt-group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.opt-group-head h4 { font-size: 12.5px; color: #fff; font-weight: 500; }
.opt-group-head span { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-600); }
.opt-row {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 7px;
  cursor: pointer; transition: border-color 0.25s, background 0.25s;
  font-size: 12.5px; color: var(--silver-200);
}
.opt-row:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }
.opt-row.selected { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.07); }
.opt-row input { position: absolute; opacity: 0; pointer-events: none; }
.opt-check { width: 17px; height: 17px; border-radius: 5px; border: 1px solid var(--line-3); display: grid; place-items: center; flex: none; }
.opt-check::after { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--metal); transform: scale(0); transition: transform 0.2s; }
.opt-row.selected .opt-check::after { transform: scale(1); }
.opt-dot { width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--line-3); display: grid; place-items: center; flex: none; }
.opt-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--metal); transform: scale(0); transition: transform 0.2s; }
.opt-row.selected .opt-dot::after { transform: scale(1); }
.opt-price { margin-left: auto; font-size: 12px; color: var(--silver-400); }
.sheet-foot { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }
.sheet-foot .qty { padding: 5px; }
.sheet-foot .qty button { width: 30px; height: 30px; }
.sheet-foot .qty span { font-size: 14px; min-width: 26px; }
.sheet-foot .btn { flex: 1; min-height: 50px; justify-content: space-between; padding: 0 20px; }

/* --- Toasts -------------------------------------------------------------- */
.toasts {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center;
  width: min(420px, calc(100% - 28px)); pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  background: rgba(11, 24, 40, 0.96);
  border: 1px solid var(--line-2);
  border-radius: 13px;
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--silver-100);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  animation: toastIn 0.45s var(--ease) both;
  pointer-events: auto;
  width: 100%;
}
.toast.out { animation: toastOut 0.35s var(--ease) both; }
.toast .ico { color: #bfe7cb; }
.toast.warn .ico { color: #f3d6a6; }
.toast b { font-weight: 600; color: #fff; }

/* --- Mobile menu --------------------------------------------------------- */
.mobile-sheet {
  position: fixed; inset: var(--topbar) 0 0 0; z-index: 65;
  background: rgba(8, 18, 14, 0.98);
  backdrop-filter: blur(20px);
  transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  padding: 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-sheet.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-sheet a { padding: 15px 6px; font-size: 17px; color: var(--silver-200); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.mobile-sheet a .ico { color: var(--silver-500); }
.mobile-sheet .ms-foot { margin-top: auto; padding-top: 20px; }

/* --- Tab bar ------------------------------------------------------------- */
.tabbar { display: none; }

/* --- Footer -------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(42px, 6vw, 70px) 0 26px; margin-top: 40px; position: relative; z-index: 1; background: rgba(7, 17, 13, 0.5); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-brand .footer-slogan { font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--silver-200); margin: 14px 0 8px; }
.footer-blurb { font-size: 12px; color: var(--silver-500); max-width: 34ch; line-height: 1.6; }
.paymarks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.paymarks span { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--silver-500); border: 1px solid var(--line); border-radius: 5px; padding: 4px 7px; }
.footer-col h4 { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-400); margin-bottom: 14px; font-weight: 500; }
.footer-col li { font-size: 12.5px; color: var(--silver-400); margin-bottom: 9px; }
.footer-col li a:hover { color: #fff; }
.footer-note { font-size: 11.5px; color: var(--silver-600); line-height: 1.65; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; font-size: 11px; color: var(--silver-600); }
.footer-links { display: flex; gap: 16px; }
.footer-links a:hover { color: var(--silver-300); }

/* --- Animations ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(22px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes countPop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(142, 224, 173, 0.5); } 70% { box-shadow: 0 0 0 7px rgba(142, 224, 173, 0); } 100% { box-shadow: 0 0 0 0 rgba(142, 224, 173, 0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes sealFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-9px) rotate(2deg); } }
@keyframes heroDrift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.09) translate3d(-1.5%, -1.5%, 0); } }
@keyframes trackGrow { from { width: 0; } }
@keyframes dash { to { stroke-dashoffset: -240; } }
.page-enter { animation: fadeUp 0.5s var(--ease) both; }

.route-anim { stroke-dasharray: 7 8; animation: dash 9s linear infinite; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .mainnav a { padding: 9px 9px; font-size: 12.5px; }
  .loc-chip { display: none; }
  .hero-inner { gap: 28px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; max-width: 60ch; }
}

@media (max-width: 1024px) {
  .hero-visual { height: 440px; }
  .hero-seal { width: 88px; height: 88px; left: 2%; }
  .hero-seal b { font-size: 9.5px; }
  .hero-seal span { font-size: 17px; }
  .hero-live { width: 238px; left: -10px; bottom: 8%; }
  .rest-layout { grid-template-columns: 1fr; }
  .menu-side { display: none; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
  .track-layout { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .ride-layout { grid-template-columns: 1fr; }
  .ride-summary { position: static; }
}

@media (max-width: 900px) {
  :root { --topbar: 64px; }
  .mainnav { display: none; }
  .icon-btn.mobile-only { display: inline-grid; }
  .topbar-inner { gap: 10px; }
  .cart-btn-label { display: none; }
  .hero { min-height: auto; padding: calc(var(--topbar) + 34px) 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(42px, 9.6vw, 64px); }
  .hero-sub { font-size: 15px; }
  .hero-visual { height: 380px; max-width: 440px; width: 100%; margin: 0 auto; }
  .hero-photo { width: 74%; right: 0; }
  .hero-seal { left: 0; top: 2%; }
  .hero-rating { right: 0; top: 10%; padding: 11px 13px; }
  .hero-live { left: 0; bottom: 2%; }
  .hero-trust { gap: 16px 22px; margin-top: 26px; }
  .hero-stat b { font-size: 21px; }
  .section { padding: 46px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-img { min-height: 240px; }
  .rides-split { grid-template-columns: 1fr; }
  .rides-photo { min-height: 220px; }
  .promo-band { grid-template-columns: 1fr; padding: 28px 22px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:not(:first-child) { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step-n { margin-bottom: 10px; }
  .area-cards { grid-template-columns: 1fr; }
  .area-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 18px; }
  .area-card .top { grid-column: 1 / -1; margin-bottom: 6px; }
  .area-count { font-size: 26px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .site-footer { padding-bottom: 96px; }
  .cat-rail { grid-auto-columns: 106px; gap: 11px; }
  .rest-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
  .rest-title h3 { font-size: 20px; }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 68;
    background: rgba(9, 21, 16, 0.92);
    backdrop-filter: blur(20px) saturate(150%);
    border-top: 1px solid var(--line-2);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; font-size: 9.5px; letter-spacing: 0.06em; color: var(--silver-500); border-radius: 10px; }
  .tabbar a .ico { width: 21px; height: 21px; }
  .tabbar a.active { color: #fff; }
  .tabbar a.active .ico { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4)); }
  .toasts { bottom: 82px; }
  .drawer { width: 100%; }
  .rest-hero { min-height: 320px; padding: 30px 0 24px; }
  .rest-hero h1 { font-size: clamp(34px, 8vw, 46px); }
  .back-link { top: 14px; left: 16px; }
  .menu-tabs { top: var(--topbar); }
  .page-wrap { padding-top: calc(var(--topbar) + 22px); padding-bottom: 60px; }
  .console-head { align-items: flex-start; }
  .board { grid-template-columns: 1fr; }
  .board-col { min-height: 0; }
  .gate { margin: 24px auto; }
  .list-row { flex-wrap: wrap; }
  .ride-zones { grid-template-columns: 1fr 1fr 1fr; }
  .map-card > svg { min-height: 220px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-search { padding: 6px 6px 6px 13px; border-radius: 15px; flex-wrap: wrap; }
  .hero-search input { font-size: 13.5px; padding: 10px 2px; width: 100%; flex: 1 0 60%; }
  .hero-search .btn { flex: 1 0 100%; min-height: 42px; justify-content: center; }
  .hero-quick { display: none; }
  .hero-trust { display: none; }
  .hero-visual { height: 330px; }
  .hero-photo { width: 78%; aspect-ratio: 1 / 1.1; border-radius: 24px; top: 0; }
  .hero-live { width: 210px; padding: 12px 13px; bottom: -4px; }
  .hero-live h4 { font-size: 13px; }
  .hero-rating { right: -4px; top: 2%; padding: 9px 11px; gap: 8px; }
  .hero-rating .ring { width: 32px; height: 32px; }
  .hero-rating b { font-size: 12px; }
  .hero-rating span { font-size: 9px; }
  .hero-seal { width: 76px; height: 76px; }
  .hero-seal b { font-size: 8px; letter-spacing: 0.1em; }
  .hero-seal span { font-size: 14px; }
  .brand-type { font-size: 13px; letter-spacing: 0.13em; }
  .brand-mark { width: 28px; height: 28px; }
  .topbar-right { gap: 6px; }
  .hero-photo-caption .name { font-size: 18px; }
  .section-head h2 { font-size: 30px; }
  .rest-grid { grid-template-columns: 1fr; }
  .cat-rail { grid-auto-columns: 92px; }
  .cat-tile span { font-size: 11.5px; margin-top: 8px; }
  .menu-item { grid-template-columns: minmax(0, 1fr) 92px; gap: 12px; padding: 14px 0; }
  .menu-item h3 { font-size: 14.5px; }
  .menu-item p { font-size: 11.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .form-grid { grid-template-columns: 1fr; }
  .kpi .value { font-size: 26px; }
  .panel { padding: 16px; }
  .sheet-wrap { padding: 0; align-items: flex-end; }
  .sheet { max-height: 92vh; border-radius: 22px 22px 0 0; width: 100%; }
  .sheet-media { height: 170px; }
  .sheet-body { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  .toasts { width: calc(100% - 20px); bottom: 80px; }
  .tip-options { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .tip-opt { padding: 9px 3px; font-size: 11.5px; }
  .tip-opt b { font-size: 9.5px; }
  .rest-perk .ico { display: none; }
  .checkout-summary { padding: 18px; }
  .sum-total b { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .console-head h1 { font-size: 30px; }
  .console-tabs button { padding: 10px 11px; font-size: 11.5px; }
  .track-eta { text-align: left; }
  .driver-card { flex-wrap: wrap; }
  .driver-card .actions { margin-left: 0; width: 100%; }
  .driver-card .actions .btn { flex: 1; }
  .order-ticket .rest { font-size: 12.5px; }
  .offer-grid { grid-template-columns: 1fr; }
  .status-chip { font-size: 9px; }
  .ride-zones { grid-template-columns: 1fr; }
  .profile-stats { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- real-data additions */
.hero-call {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  margin: 14px 0 0; font-size: 12px; color: var(--silver-400);
}
.hero-call .ico { color: var(--silver-500); }
.hero-call a { color: var(--silver-100); text-decoration: none; border-bottom: 1px solid rgba(220, 230, 244, 0.3); }
.hero-call a:hover { color: #fff; border-color: var(--silver-100); }

.rest-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 14px 0 0; max-width: 62ch; font-size: 12px; line-height: 1.6; color: var(--silver-400);
}
.rest-note .ico { flex: none; margin-top: 2px; color: var(--silver-500); }
.rest-arrow { margin-left: auto; color: var(--silver-500); transition: transform 0.2s ease; }
.rest-card:hover .rest-arrow { transform: translateX(3px); color: var(--silver-200); }

.track-search {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 18px 20px; margin-bottom: 16px;
}
.track-search h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #fff; font-weight: 500; }
.track-search .field-hint { margin-top: 4px; }
.track-search-row { display: flex; gap: 8px; flex: 1; min-width: 240px; max-width: 430px; }
.track-search-row .input { flex: 1; text-transform: uppercase; letter-spacing: 0.06em; }

.reward-dots { display: flex; gap: 6px; margin: 14px 0 10px; flex-wrap: wrap; }
.reward-dots span {
  width: 30px; height: 6px; border-radius: 99px;
  background: rgba(220, 230, 244, 0.14); border: 1px solid rgba(220, 230, 244, 0.1);
}
.reward-dots span.on { background: var(--metal); border-color: transparent; }
.reward-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--silver-400); }
.reward-caption b { color: #fff; font-weight: 500; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.service-tile {
  position: relative; display: flex; align-items: center; gap: 11px;
  padding: 13px 14px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(7, 17, 13, 0.35);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.service-tile:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.service-tile:has(input:checked) { border-color: rgba(240, 205, 147, 0.55); background: rgba(35, 76, 58, 0.35); }
.service-tile input { position: absolute; opacity: 0; width: 0; height: 0; }
.service-icon {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(220, 230, 244, 0.07); color: var(--silver-200);
}
.service-tile:has(input:checked) .service-icon { background: var(--metal); color: #10241b; }
.service-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.service-copy b { font-size: 12.5px; font-weight: 500; color: var(--silver-050, #ffffff); line-height: 1.25; }
.service-copy span { font-size: 10.5px; color: var(--silver-500); }
.service-price { margin-left: auto; flex: none; font-size: 10.5px; letter-spacing: 0.04em; color: var(--silver-300); white-space: nowrap; }

@media (max-width: 720px) {
  .service-grid { grid-template-columns: 1fr; }
  .track-search-row { max-width: none; }
  .reward-dots span { width: 24px; }
}
/* ==========================================================================
   REDESIGN — Blue steel
   Silver-white paper, navy ink, blue + steel accents. Printed-card edges.
   ========================================================================== */

:root {
  --paper: #f2f5fa;
  --paper-2: #e7edf6;
  --card: #ffffff;
  --ink: #0a1a33;
  --ink-2: #1b2c47;
  --ink-3: #46597a;
  --ink-4: #6a7d9c;
  --tomato: #1f5ad8;
  --tomato-dark: #123e9e;
  --teal: #0e3a6b;
  --gold: #c9d5e6;

  --navy-950: #0a1a33;
  --navy-900: #f2f5fa;
  --navy-850: #e9eff7;
  --navy-800: #dee7f2;
  --navy-700: #33456a;
  --navy-600: #445b80;

  --silver-100: #0a1a33;
  --silver-200: #15294a;
  --silver-300: #334a6e;
  --silver-400: #46597a;
  --silver-500: #6a7d9c;
  --silver-600: #8a9bb7;

  --white: #0a1a33;
  --line: rgba(10, 26, 51, 0.14);
  --line-2: rgba(10, 26, 51, 0.26);
  --line-3: rgba(10, 26, 51, 0.4);

  --metal: linear-gradient(120deg, #5b8def, #1f5ad8);
  --metal-soft: linear-gradient(135deg, rgba(31, 90, 216, 0.12), rgba(31, 90, 216, 0.02));
  --shadow-lg: 0 30px 70px -40px rgba(10, 26, 51, 0.5);
  --shadow-md: 0 18px 40px -28px rgba(10, 26, 51, 0.42);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 30px 70px -40px rgba(10, 26, 51, 0.35);

  --font-display: "Bricolage Grotesque", "Inter Tight", -apple-system, sans-serif;
}

body {
  background: var(--paper);
  color: var(--ink);
}
body::before {
  background-image: radial-gradient(rgba(10, 26, 51, 0.085) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: 0 0;
  opacity: 0.55;
}
::selection { background: #f7c9ba; color: var(--ink); }
:focus-visible { outline: 2px solid var(--tomato); outline-offset: 3px; }
.muted { color: var(--ink-4); }

/* Type ---------------------------------------------------------------- */
.display, .hero h1, .section-head h2, .page-head h1, .track-head h1,
.track-eta .big, .console-head h1, .gate h1, .promo-band h2,
.spotlight-body h3, .area-card h4, .sheet-body h2, .ride-summary h3,
.sum-total b, .ride-big b, .footer-brand .footer-slogan {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.035em;
}
.hero h1 { font-size: clamp(44px, 6.4vw, 94px); line-height: 0.9; color: var(--ink); }
.hero h1 em, .display em, .section-head h2 em, .page-head h1 em, .promo-band h2 em {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--tomato);
  font-style: normal;
}
.hero-sub { color: var(--ink-3); font-weight: 400; }
.hero-stat b { color: var(--ink); font-weight: 650; }
.hero-stat span { color: var(--ink-4); }
.hero-call { color: var(--ink-3); }
.hero-call a { color: var(--ink); border-bottom-color: var(--ink); }
.eyebrow { color: var(--ink-4); }
.eyebrow::before { background: linear-gradient(90deg, transparent, var(--tomato)); }
.section-head p, .page-head p { color: var(--ink-3); }

/* Chrome -------------------------------------------------------------- */
.topbar, .topbar.scrolled {
  background: rgba(242, 245, 250, 0.92);
  border-bottom: 1.5px solid var(--ink);
}
.brand-type { color: var(--ink); letter-spacing: 0.14em; }
.brand-type span { color: var(--tomato); }
.brand-mark { filter: none; }
.preview-chip { color: var(--ink-4); border-color: rgba(10, 26, 51, 0.4); }
.mainnav a { color: var(--ink-3); }
.mainnav a:hover, .mainnav a.active { color: var(--ink); background: #ffffff; box-shadow: inset 0 0 0 1px var(--line-2); }
.loc-chip, .cart-btn {
  background: #ffffff; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px;
}
.loc-chip:hover, .cart-btn:hover { background: #fff; }
.cart-count { background: var(--tomato); color: #ffffff; }
.icon-btn { border-color: var(--line-2); color: var(--ink); background: #ffffff; }
.icon-btn:hover { background: #fff; border-color: var(--ink); }

/* Buttons / chips / badges -------------------------------------------- */
.btn { border-radius: 999px; font-weight: 600; }
.btn-primary {
  background: var(--tomato); color: #ffffff; border: 1.5px solid var(--tomato-dark);
  box-shadow: 4px 4px 0 rgba(10, 26, 51, 0.18);
}
.btn-primary:hover { background: var(--tomato-dark); box-shadow: 5px 5px 0 rgba(10, 26, 51, 0.22); }
.btn-ghost { background: #ffffff; border: 1.5px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-danger { border-color: rgba(178, 54, 31, 0.4); color: var(--tomato-dark); }
.badge { background: rgba(255, 255, 255, 0.94); color: var(--ink); border-color: var(--line-2); backdrop-filter: none; }
.badge-solid { background: var(--tomato); color: #ffffff; }
.badge-live::before { background: #2f8f5b; }
.chip { background: #ffffff; color: var(--ink-3); border-color: var(--line-2); }
.chip:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.chip.active { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.tiny-label { color: var(--ink-4); }
.link-arrow { color: var(--ink); border-bottom-color: var(--ink); }

/* Hero ---------------------------------------------------------------- */
.hero { background: transparent; min-height: 0; padding: calc(var(--topbar) + 54px) 0 60px; }
.hero-media { display: none; }
.hero-copy .badge-solid { background: var(--ink); color: #ffffff; }
.hero-search {
  background: #ffffff; border: 1.5px solid var(--ink); border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(10, 26, 51, 0.12);
  backdrop-filter: none;
}
.hero-search:focus-within { box-shadow: 5px 5px 0 rgba(31, 90, 216, 0.35); border-color: var(--ink); }
.hero-search input { color: var(--ink); }
.hero-search input::placeholder { color: var(--ink-4); }
.hero-search > .ico { color: var(--ink-3); }
.hero-quick .chip { background: #ffffff; }
.hero-divider { background: var(--line-2); }
.hero-photo {
  border: 8px solid #ffffff; outline: 1.5px solid var(--ink); border-radius: 6px;
  transform: rotate(-1.6deg); box-shadow: 12px 14px 0 rgba(10, 26, 51, 0.16);
  animation: none;
}
.hero-photo::after { background: linear-gradient(180deg, transparent 55%, rgba(15, 12, 9, 0.72)); }
.hero-photo-caption .name { color: #ffffff; }
.hero-photo-caption .tiny-label { color: rgba(255, 255, 255, 0.75); }
.hero-seal {
  background: var(--tomato); color: #ffffff; border: 1.5px solid var(--tomato-dark);
  box-shadow: 6px 6px 0 rgba(10, 26, 51, 0.2); left: 2%;
}
.hero-seal::before { border-color: rgba(255, 255, 255, 0.5); }
.hero-seal span { font-style: normal; font-family: var(--font-display); }
.hero-float {
  background: #ffffff; border: 1.5px solid var(--ink); border-radius: 12px;
  box-shadow: 5px 6px 0 rgba(10, 26, 51, 0.14); backdrop-filter: none;
}
.hero-live h4, .hero-live .eta b, .hero-rating b { color: var(--ink); }
.hero-live .sub, .hero-live .eta, .hero-rating span { color: var(--ink-4); }
.hero-live .live-dot { color: #266b47; }
.hero-live .track { background: rgba(10, 26, 51, 0.12); }
.hero-rating .ring { border-color: var(--line-2); color: var(--tomato); background: #fff6ec; }
.hero-rating { right: 2%; top: -2%; }

/* Marquee ------------------------------------------------------------- */
.marquee { background: var(--tomato); border-color: var(--tomato-dark); }
.marquee::before { background: linear-gradient(90deg, var(--tomato), transparent); }
.marquee::after { background: linear-gradient(270deg, var(--tomato), transparent); }
.marquee-set span { color: #fff2e6; }
.marquee-set i { background: rgba(255, 242, 230, 0.6); }

/* Cards / sections ---------------------------------------------------- */
.cat-thumb { border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper-2); }
.cat-thumb::after { background: linear-gradient(180deg, transparent 55%, rgba(15, 12, 9, 0.55)); }
.cat-tile span { color: var(--ink); font-weight: 500; }
.rest-card {
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px;
  box-shadow: 5px 5px 0 rgba(10, 26, 51, 0.1);
}
.rest-card:hover { box-shadow: 9px 9px 0 rgba(10, 26, 51, 0.16); transform: translateY(-4px); }
.rest-media::after { background: linear-gradient(180deg, rgba(15, 12, 9, 0.28), transparent 45%); }
.rest-media-top .badge, .rest-city { background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.rest-media-bottom .badge { background: rgba(10, 26, 51, 0.82); color: #ffffff; border-color: transparent; }
.rest-title h3 { color: var(--ink); font-weight: 600; }
.rest-tagline { color: var(--ink-3); }
.rest-meta { color: var(--ink-4); }
.rest-meta .ico { color: var(--tomato); }
.rest-perk { color: var(--ink-3); background: #f8efe0; border-top-color: var(--line); }
.rest-perk em { color: var(--ink-4); }
.rest-arrow { color: var(--ink); }

.spotlight {
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px;
  box-shadow: 6px 6px 0 rgba(10, 26, 51, 0.1); overflow: hidden;
}
.spotlight-body { background: var(--card); }
.spotlight-body h3 { color: var(--ink); }
.spotlight-body p { color: var(--ink-3); }
.spotlight .rest-meta { color: var(--ink-3); }

.promo-band {
  background: var(--teal); border-radius: 16px; border: 1.5px solid #0a3530;
  box-shadow: 6px 6px 0 rgba(10, 26, 51, 0.16);
}
.promo-band h2 { color: #fdf3e4; }
.promo-band h2 em { color: var(--gold); }
.promo-band > div > p { color: rgba(253, 243, 228, 0.75); }
.promo-band .eyebrow { color: rgba(253, 243, 228, 0.65); }
.promo-band .eyebrow::before { background: var(--gold); }
.promo-code-box .code-tile { background: #ffffff; border-color: #ffffff; }
.promo-code-box .code-tile b { color: var(--ink); }
.promo-code-box .code-tile span { color: var(--ink-4); }
.promo-fine { color: rgba(253, 243, 228, 0.6) !important; }
.promo-band .btn-primary { background: var(--gold); color: var(--ink); border-color: #d9a856; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.22); }

.steps { border-top: 1.5px solid var(--ink); }
.step { border-right: 1px solid var(--line); }
.step-n { color: var(--tomato); }
.step h4 { color: var(--ink); font-weight: 600; }
.step p { color: var(--ink-3); }

.rides-split { background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 rgba(10, 26, 51, 0.1); }
.rides-body h3 { color: var(--ink); }
.rides-body p { color: var(--ink-3); }
.fare-preview { border-color: var(--line); }
.fare-preview span { color: var(--ink-4); }
.fare-preview b { color: var(--ink); }
.fare-preview .total { color: var(--ink); }
.fare-preview .total-b { color: var(--tomato); }

.area-card { background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 rgba(10, 26, 51, 0.09); }
.area-card:hover { background: #fff; border-color: var(--ink); }
.area-card h4 { color: var(--ink); }
.area-card p { color: var(--ink-3); }
.area-count { color: var(--tomato); }
.area-card .badge-live { background: #e7f2e8; color: #266b47; border-color: #b9d8c2; }
/* Pages, panels, forms ------------------------------------------------ */
.page-head h1 { color: var(--ink); }
.page-head p { color: var(--ink-3); }
.crumbs { color: var(--ink-4); }
.crumbs a:hover { color: var(--tomato); }
.search-count { color: var(--ink-4); }
.filter-bar .chip { background: #ffffff; }
.filter-bar .chip.active { background: var(--ink); color: #ffffff; }

/* Restaurant page ----------------------------------------------------- */
.rest-hero::before {
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.35), rgba(12, 10, 8, 0.72) 55%, rgba(12, 10, 8, 0.94));
}
.rest-hero h1 { color: #ffffff; }
.rest-hero .tagline { color: rgba(255, 255, 255, 0.82); }
.rest-hero .badge { background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.rest-hero .badge-solid { background: var(--tomato); color: #ffffff; }
.rest-facts, .rest-facts .fact { color: rgba(255, 255, 255, 0.82); }
.rest-facts .fact b { color: #ffffff !important; }
.rest-facts .dot { background: rgba(255, 255, 255, 0.4); }
.rest-facts .open-flag { color: #ffffff; }
.rest-note { color: rgba(255, 255, 255, 0.7); }
.rest-note .ico { color: var(--gold); }
.back-link { color: #ffffff; background: rgba(12, 10, 8, 0.5); border-color: rgba(255, 255, 255, 0.3); }
.menu-tabs { border-bottom-color: var(--line); }
.menu-tabs a { color: var(--ink-3); }
.menu-tabs a:hover { color: var(--ink); background: #ffffff; border-color: var(--ink); }
.menu-group h2 { color: var(--ink); }
.menu-item { border-bottom-color: var(--line); }
.menu-item h3 { color: var(--ink); }
.menu-item p { color: var(--ink-3); }
.menu-item-media img { border-radius: 12px; border-color: var(--line-2); }
.menu-price { color: var(--ink); }
.tag-soft { background: #f8e6d4; color: #8a4a25; border-color: #e6c3a4; }
.add-fab { background: var(--tomato); color: #ffffff; border: 1.5px solid var(--tomato-dark); box-shadow: 3px 3px 0 rgba(10, 26, 51, 0.2); }
.side-card { background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px; }
.side-card h4 { color: var(--ink); }
.side-list li { color: var(--ink-3); border-bottom-color: var(--line); }
.side-list .ico { color: var(--tomato); }
.mini-cart-line { color: var(--ink-3); border-bottom-color: var(--line); }
.mini-cart-line b { color: var(--ink); }
.mini-cart-total { color: var(--ink); border-top-color: var(--ink); }

/* Panels, forms, rows ------------------------------------------------- */
.panel { background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px; }
.panel-head h3 { color: var(--ink); }
.panel-head h3 .ico { color: var(--tomato); }
.panel-note { color: var(--ink-4); }
.sum-row, .sum-line, .timeline { color: var(--ink-3); }
.sum-line b, .sum-row b, .sum-total b { color: var(--ink); }
.sum-total { border-top-color: var(--ink); }
.secure-row { color: var(--ink-4); }
.input, .select, .textarea {
  background: #ffffff; border: 1.5px solid var(--line-2); color: var(--ink); border-radius: 10px;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--tomato); box-shadow: 0 0 0 3px rgba(31, 90, 216, 0.12); outline: none; }
.input::placeholder, .textarea::placeholder { color: #a2937f; }
.field label, .field-hint { color: var(--ink-4); }
.radio-card, .opt-row { background: #ffffff; border-color: var(--line-2); color: var(--ink); }
.radio-card.selected, .opt-row.selected { background: #eaf1fc; border-color: var(--tomato); }
.radio-card .rc-title, .opt-row { color: var(--ink); }
.radio-card .rc-sub, .opt-price { color: var(--ink-4); }
.segmented { background: #e4ecf7; border-color: var(--line-2); }
.segmented button { color: var(--ink-3); }
.segmented button.active { background: var(--ink); color: #ffffff; }
.tip-opt { background: #ffffff; border-color: var(--line-2); color: var(--ink-3); }
.tip-opt.active { background: #eaf1fc; border-color: var(--tomato); color: var(--ink); }
.checkout-summary { background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 rgba(10, 26, 51, 0.1); }
.demo-note { background: #fbf2df; border-color: #cbb088; color: #6d5b3f; }
.demo-note b { color: #453826; }
.demo-note .ico { color: #a3783f; }
.switch .track { background: #e4d8c5; border-color: var(--line-2); }
.switch input:checked + .track { background: var(--tomato); }
.switch input:checked + .track i { background: #ffffff; }
.switch span.label { color: var(--ink-3); }
.status-chip { color: var(--ink-3); border-color: var(--line-2); }
.status-chip.delivered { color: #266b47; border-color: #b9d8c2; }
.status-chip.active { color: #8a4a25; border-color: #e6c3a4; }

/* Account / lists ----------------------------------------------------- */
.profile-card { background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px; }
.profile-card h3 { color: var(--ink); }
.profile-avatar { background: var(--ink); color: #ffffff; }
.profile-stats div b { color: var(--ink); }
.address-card { background: #ffffff; border-color: var(--line-2); }
.address-card h4 { color: var(--ink); }
.order-history-row { border-bottom-color: var(--line); }
.order-history-row h4 { color: var(--ink); }
.list-card { background: var(--card); border: 1.5px solid var(--ink); }
.list-row { border-bottom-color: var(--line); }
.list-row .main h4 { color: var(--ink); }
.list-row .main p { color: var(--ink-4); }
.refund-row { color: var(--ink-3); border-bottom-color: var(--line); }
.refund-row b { color: var(--ink); }
.offer { background: var(--card); border: 1.5px solid var(--line-2); }
.offer h4, .offer .pay { color: var(--ink); }
.offer .sub { color: var(--ink-4); }
.price-input { background: #ffffff; border-color: var(--line-2); color: var(--ink); }

/* Tracking ------------------------------------------------------------ */
.track-head h1 { color: var(--ink); }
.track-head .order-ref { color: var(--ink-4); }
.track-eta .big { color: var(--ink); }
.map-card { background: var(--teal); border-color: var(--ink); }
.driver-card { background: var(--card); border-top-color: var(--ink); }
.driver-card .name { color: var(--ink); }
.driver-card .meta { color: var(--ink-4); }
.driver-avatar { background: var(--tomato); color: #ffffff; }
.progress-rail i { background: rgba(10, 26, 51, 0.14); }
.progress-rail i.on { background: var(--tomato); }
.tl-step::before { background: var(--line-2); }
.tl-marker { background: #ffffff; color: var(--ink-4); border-color: var(--line-2); }
.tl-step.done .tl-marker { background: var(--tomato); color: #ffffff; }
.tl-step.current .tl-marker { border-color: var(--ink); color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 26, 51, 0.08); }
.tl-step.current .tl-marker::after { background: var(--ink); }
.tl-title { color: var(--ink-4); }
.tl-step.done .tl-title, .tl-step.current .tl-title { color: var(--ink); }
.tl-sub { color: var(--ink-4); }
.tl-step.done .tl-sub, .tl-step.current .tl-sub { color: var(--ink-3); }
.map-label { color: rgba(255, 255, 255, 0.8); background: rgba(14, 43, 39, 0.8); border-color: rgba(255, 255, 255, 0.2); }
.eta-chip { color: #fdf3e4; background: rgba(14, 43, 39, 0.85); border-color: rgba(253, 243, 228, 0.22); }

/* Auth + consoles ----------------------------------------------------- */
.gate { background: var(--card); border: 1.5px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 rgba(10, 26, 51, 0.12); }
.gate::before { background: radial-gradient(circle, rgba(31, 90, 216, 0.08), transparent 65%); }
.gate h1 { color: var(--ink); }
.gate p { color: var(--ink-3); }
.gate-icon { background: #eaf1fc; border-color: var(--line-2); color: var(--tomato); }
.gate .demo-hint { color: var(--ink-4); }
.gate .demo-hint b { color: var(--ink); }
.console-head { border-bottom-color: var(--ink); }
.console-head h1 { color: var(--ink); }
.console-head .sub { color: var(--ink-3); }
.console-tabs { border-bottom-color: var(--line-2); }
.console-tabs button { color: var(--ink-4); }
.console-tabs button:hover, .console-tabs button.active { color: var(--ink); }
.console-tabs button.active::after { background: var(--tomato); }
.kpi { background: var(--card); border: 1.5px solid var(--ink); }
.kpi .value { color: var(--ink); }
.kpi .delta.up { color: #266b47; }
.kpi.highlight { background: #eaf1fc; border-color: var(--tomato); }
.live-badge { color: #266b47; background: #e7f2e8; border-color: #b9d8c2; }
.board-col { background: #efe5d4; border: 1.5px solid var(--line-2); }
.board-col-head h4 { color: var(--ink-3); }
.count-pill { background: #ffffff; color: var(--ink); }
.order-ticket { background: var(--card); border: 1px solid var(--line-2); }
.order-ticket:hover { border-color: var(--ink); }
.order-ticket .rest, .order-ticket .amt { color: var(--ink); }
.order-ticket .ref { color: var(--ink-3); }
.order-ticket .items, .order-ticket .time { color: var(--ink-4); }
.assign-select { background-color: #ffffff; border-color: var(--line-2); color: var(--ink); }
.mini-tag { color: var(--ink-3); border-color: var(--line-2); }
.mini-tag.assign { color: #266b47; border-color: #b9d8c2; }
.mini-tag.unassigned { color: #8a4a25; border-color: #e6c3a4; }
.stat-bar i { background: linear-gradient(180deg, var(--tomato), #e6a58f); }
.toast { background: var(--ink); color: #ffffff; border-color: #000; }
.toast b { color: #fff; }
.mobile-sheet { background: var(--paper); }
.mobile-sheet a { color: var(--ink); border-bottom-color: var(--line); }

/* Cart, sheet, tabbar, footer ---------------------------------------- */
.drawer { background: var(--paper); color: var(--ink); border-left: 1.5px solid var(--ink); }
.drawer-head { border-bottom-color: var(--line-2); }
.drawer-head h3 { color: var(--ink); }
.drawer-foot { background: var(--card); border-top-color: var(--ink); }
.cart-line { border-bottom-color: var(--line); }
.cart-line h4 { color: var(--ink); }
.cart-line .opts { color: var(--ink-4); }
.cart-line .price { color: var(--ink); }
.cart-fee-note { color: var(--ink-4); }
.sheet { background: var(--paper); border-color: var(--ink); }
.sheet-body h2 { color: var(--ink); }
.sheet-body .desc { color: var(--ink-3); }
.sheet-close { background: rgba(10, 26, 51, 0.72); color: #ffffff; }
.sheet-media::after { background: linear-gradient(180deg, transparent 55%, rgba(15, 12, 9, 0.6)); }
.opt-group-head h4 { color: var(--ink); }
.modal-backdrop { background: rgba(10, 26, 51, 0.55); }
.tabbar { background: rgba(242, 245, 250, 0.96); border-top: 1.5px solid var(--ink); }
.tabbar a { color: var(--ink-4); }
.tabbar a.active { color: var(--tomato); }
.site-footer { background: var(--ink); border-top: 0; color: #dce6f4; }
.footer-brand .footer-slogan { color: var(--gold); }
.footer-blurb { color: rgba(220, 230, 244, 0.65); }
.footer-col h4 { color: var(--gold); }
.footer-col li { color: rgba(220, 230, 244, 0.72); }
.footer-col li a:hover { color: #fff; }
.paymarks span { color: rgba(220, 230, 244, 0.6); border-color: rgba(220, 230, 244, 0.2); }
.footer-note, .footer-bottom { color: rgba(220, 230, 244, 0.5); }
.footer-bottom { border-top-color: rgba(220, 230, 244, 0.16); }
.footer-brand .brand-type { color: #dce6f4; }
.footer-brand .brand-type span { color: var(--gold); }
.reward-dots span { background: #c3d0e3; border-color: #b4c4da; }
.reward-caption b { color: var(--ink); }
.service-tile { background: var(--card); border-color: var(--line-2); }
.service-tile:has(input:checked) { background: #eaf1fc; border-color: var(--tomato); }
.service-copy b { color: var(--ink); }
.service-copy span { color: var(--ink-4); }
.service-icon { background: #e4ecf7; color: var(--ink-3); }
.service-tile:has(input:checked) .service-icon { background: var(--tomato); color: #ffffff; }
.service-price { color: var(--ink-3); }
.track-search { background: var(--card); border: 1.5px solid var(--ink); }
.track-search h3 { color: var(--ink); }
.ride-summary { background: var(--card); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 rgba(10, 26, 51, 0.1); }
.ride-summary h3, .ride-big b, .ride-zone b { color: var(--ink); }
.ride-zone { border-color: var(--line-2); }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--topbar) + 30px); }
  .hero-photo { transform: none; border-width: 6px; }
  .hero-rating { top: 2%; }
  .hero-seal { top: -2%; }
  .site-footer { padding-bottom: 106px; }
  .tabbar { display: grid; }
}

/* kill the original dark hero wash so paper shows through */
.hero::before { background: transparent; }
.hero::after { display: none; }

.menu-tabs {
  background: rgba(242, 245, 250, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.qty span, .qty button { color: var(--ink); }
.select option { background: #ffffff; color: var(--ink); }
.code-tile b { color: var(--ink); }
.radio-card.selected .radio-dot { border-color: var(--tomato); }
.segmented button:not(.active):hover { color: var(--ink); }

.footer-col li a, .footer-links a { color: #dce6f4; }
.footer-col li a:hover, .footer-links a:hover { color: var(--gold); }

/* Favorites ------------------------------------------------------------- */
.rest-title-end { display: flex; align-items: center; gap: 8px; flex: none; }
.fav-btn {
  width: 30px; height: 30px; border-radius: 999px; flex: none;
  border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink-4);
  display: grid; place-items: center; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.fav-btn:hover { border-color: var(--ink); color: var(--ink); }
.fav-btn svg { fill: none; stroke: currentColor; }
.fav-btn.on { background: var(--tomato); border-color: var(--tomato); color: #ffffff; }
.fav-btn.on svg { fill: currentColor; }

/* Deals on the porch ---------------------------------------------------- */
.deals-wrap { padding-top: clamp(30px, 4vw, 52px); }
.deal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.deal-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px;
  padding: 18px 18px 16px; box-shadow: 5px 5px 0 rgba(10, 26, 51, 0.08);
}
.deal-card h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  line-height: 1.06; letter-spacing: -0.01em; color: var(--ink); margin-top: 2px;
}
.deal-card p { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); flex: 1; }
.deal-kicker {
  align-self: flex-start; font: 600 10px/1 var(--font-sans); letter-spacing: 0.16em;
  text-transform: uppercase; background: var(--ink); color: var(--paper);
  padding: 5px 9px; border-radius: 999px;
}
.deal-kicker.teal { background: var(--teal); color: #dce6f4; }
.deal-feature { background: var(--tomato); border-color: var(--ink); }
.deal-feature h3 { color: #ffffff; }
.deal-feature p { color: rgba(255, 255, 255, 0.84); }
.deal-feature .deal-kicker { background: var(--ink); color: var(--gold); }
.deal-feature .link-arrow { color: #ffffff; }
.deal-card .link-arrow {
  font-size: 11.5px; background: none; border: 0; padding: 0; margin-top: 2px;
  color: var(--tomato); text-align: left; cursor: pointer;
}
.deal-card .link-arrow:hover { color: var(--ink); text-decoration: underline; }
.deal-feature .link-arrow:hover { color: var(--gold); }

/* Scheduling ------------------------------------------------------------ */
.scheduled-note {
  display: flex; align-items: center; gap: 7px;
  background: #eaf1fc; border: 1px solid rgba(31, 90, 216, 0.38);
  color: var(--ink); border-radius: 10px; padding: 8px 10px;
  font-size: 11.5px; margin-bottom: 12px;
}
.select { background: #ffffff; color: var(--ink); border-color: var(--line-2); }

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

/* Silver accent ---------------------------------------------------------- */
:root { --silver-metal: linear-gradient(135deg, #f6f9fd, #d3deec 58%, #b3c4d9); }
.deal-kicker {
  background: var(--silver-metal);
  color: var(--ink);
  border: 1px solid rgba(10, 26, 51, 0.18);
}
.deal-kicker.teal { background: var(--teal); color: #eef3fb; border-color: transparent; }
::selection { background: rgba(31, 90, 216, 0.18); color: var(--ink); }

/* Install card + standalone mode ---------------------------------------- */
.install-row { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; }
.install-icon {
  width: 56px; height: 56px; border-radius: 15px; flex: none;
  border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 rgba(10, 26, 51, 0.14);
}
.install-row b { font-size: 14px; color: var(--ink); font-weight: 500; }
.install-steps { margin: 14px 0 0; padding-left: 18px; display: grid; gap: 10px; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.install-steps b { color: var(--ink); }

@media (display-mode: standalone) {
  .tabbar { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .topbar-inner { padding-top: env(safe-area-inset-top); }
}

/* 100% tip badge on the hero */
.hero-tip-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.08); color: var(--white); font-size: 13px; letter-spacing: .02em; backdrop-filter: blur(4px); }
.hero-tip-badge b { font-weight: 700; }
@media (max-width: 900px) { .hero-tip-badge { display: inline-flex; } }

/* One-tap reorder chip on the hero */
.reorder-chip { font-weight: 600; border-color: rgba(255,255,255,.5); color: var(--white); cursor: pointer; }
.reorder-chip:hover { border-color: var(--white); }

/* Thanksgiving banner (hero) */
.tg-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 16px; padding: 12px 18px; border-radius: 14px; background: var(--navy-950, #08152b); color: #fff; max-width: fit-content; box-shadow: 0 10px 30px rgba(8,21,43,.25); }
.tg-kicker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.tg-banner p { margin: 0; font-weight: 600; }
.tg-rate { font-size: 14px; opacity: .95; white-space: nowrap; }
