/* ============================================================
   GEKO Water — cyan design system
   1. marketing landing (full width)  2. fluid responsive app
   ============================================================ */
:root {
  --lime: #08e3fe;
  --lime-deep: #00b4d8;
  --lime-soft: #e0f8fe;
  --ink: #12242e;
  --ink-soft: #56707c;
  --cream: #f2fafd;
  --white: #fff;
  --sand: #dff2f8;
  --coral: #ff7a59;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-btn: 0 6px 0 var(--lime-deep);
  --shadow-card: 0 2px 10px rgba(30, 42, 22, 0.06);
  --content: 1080px;
  --content-narrow: 720px;
}
* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 50% 0%, #e6f7fc 0%, #d7e4bd 60%, #c8e6f0 100%);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   1. STOREFRONT (landing + order share one renderer)
   ============================================================ */
.lp {
  min-height: 100dvh;
  display: none;
  flex-direction: column;
  background: #f6f8f9;
}
body.on-landing .lp { display: flex; }

.sf-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 36, 46, 0.07);
}
.lp-brand {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px;
  color: var(--ink); text-decoration: none; cursor: pointer;
}
.lp-mark { width: 26px; height: 26px; }
.lp-links { display: none; gap: 24px; margin-left: 8px; }
.lp-links a {
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  text-decoration: none; padding: 6px 0;
}
.lp-links a:hover { color: var(--ink); }
.sf-nav-cta { margin-left: auto; padding: 10px 18px; font-size: 14px; }

/* what-we-do band */
.sf-hero {
  max-width: var(--content); width: 100%; margin: 0 auto;
  padding: 36px 18px 4px;
}
.sf-hero h1 {
  font-family: 'Baloo 2', sans-serif; font-weight: 800;
  font-size: clamp(28px, 5vw, 44px); line-height: 1.06;
  margin: 0 0 10px; letter-spacing: -0.4px;
}
.sf-hero p { margin: 0; font-size: clamp(14px, 1.8vw, 16.5px); color: var(--ink-soft); line-height: 1.55; max-width: 52ch; }
.sf-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sf-chip {
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--white); border-radius: 99px; padding: 8px 14px;
  box-shadow: var(--shadow-card);
}
.sf-chip b { color: var(--ink); font-weight: 800; }

/* ---------- storefront shell ---------- */
.sf-storefront {
  max-width: var(--content); width: 100%; margin: 0 auto;
  padding: 14px 18px 26px;
}
.sf-addwrap { min-height: 34px; display: inline-flex; align-items: center; }
.g1 { background: linear-gradient(135deg, #e0f8fe 0%, #b9edfb 100%); }
.g2 { background: linear-gradient(135deg, #fff1e6 0%, #ffd9c4 100%); }
.g3 { background: linear-gradient(135deg, #e9f7e4 0%, #d2efc6 100%); }
.g4 { background: linear-gradient(135deg, #16303d 0%, #2c4a5c 100%); }

.sf-head { display: flex; flex-direction: column; gap: 10px; }
.sf-head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sf-loc {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: none; border-radius: 16px;
  padding: 8px 14px 8px 10px; cursor: pointer;
  box-shadow: var(--shadow-card);
  font-family: 'Inter', sans-serif; text-align: left;
}
.sf-loc .lines { line-height: 1.2; }
.sf-loc .hi { font-size: 10.5px; color: var(--ink-soft); font-weight: 600; }
.sf-loc .place { font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 4px; color: var(--ink); }
.sf-loc .place svg { color: var(--ink-soft); }
.sf-loc-ghost { padding: 12px 16px; }
.sf-loc-ghost > svg { width: 19px; height: 19px; flex: 0 0 auto; }
.sf-chrome { display: flex; gap: 8px; }
.sf-cart-btn { position: relative; }
.sf-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px; border-radius: 99px;
  background: var(--coral); color: #fff;
  font-size: 10.5px; font-weight: 800;
  display: none; align-items: center; justify-content: center;
  padding: 0 5px; border: 2px solid var(--cream);
}
.sf-badge.show { display: flex; }
.sf-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 16px;
  padding: 0 14px; box-shadow: var(--shadow-card); flex: 1;
}
.sf-search:focus-within { outline: 2px solid var(--lime-deep); }
.sf-search svg { flex: 0 0 auto; }
.sf-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: none;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--ink); padding: 14px 0;
}
.sf-search input::placeholder { color: #8aa3ad; font-weight: 500; }

/* category tiles */
.sf-cats { display: flex; gap: 10px; overflow-x: auto; margin: 16px 0 4px; scrollbar-width: none; }
.sf-cats::-webkit-scrollbar { display: none; }
.sf-cat {
  flex: 0 0 150px; border: none; border-radius: 18px;
  padding: 14px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 106px; justify-content: space-between;
  font-family: 'Inter', sans-serif;
  transition: transform 0.12s ease;
}
.sf-cat:active { transform: scale(0.97); }
.sf-cat-ic svg { width: 32px; height: 32px; display: block; }
.sf-cat.g4 .sf-cat-ic svg { color: var(--lime); }
.sf-cat-t { font-weight: 800; font-size: 13.5px; color: var(--ink); line-height: 1.2; }
.sf-cat.g4 .sf-cat-t { color: #fff; }

/* promo cards */
.sf-promos { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.sf-promo {
  border: none; border-radius: 18px; padding: 16px; text-align: left;
  cursor: pointer; position: relative; min-height: 98px;
  display: flex; flex-direction: column; gap: 4px;
  font-family: 'Inter', sans-serif;
  transition: transform 0.12s ease;
}
.sf-promo:active { transform: scale(0.98); }
.sf-promo.p1 { background: linear-gradient(120deg, #dff6fc, #c2ecfa); }
.sf-promo.p2 { background: linear-gradient(120deg, #e8f7e3, #d4f0c8); }
.sf-promo-badge {
  position: absolute; top: 13px; right: 13px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--lime);
  font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-6deg);
  box-shadow: 0 4px 0 rgba(18, 36, 46, 0.15);
}
.sf-promo-t { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 16.5px; padding-right: 62px; color: var(--ink); }
.sf-promo-s { font-size: 12px; color: var(--ink-soft); line-height: 1.45; max-width: 30ch; }

/* sections + product rails */
.sf-sec { margin-top: 24px; scroll-margin-top: 86px; }
.sf-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sf-sec-head h3 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; margin: 0; }
.sf-sec-sub { font-size: 12.5px; color: var(--ink-soft); margin: 4px 0 10px; }
.sf-arrows { display: none; gap: 8px; }
.sf-arrows button {
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--white); box-shadow: var(--shadow-card);
  cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.sf-arrows button:hover { background: var(--lime-soft); }
.sf-rail {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -18px; padding: 2px 18px 8px;
}
.sf-rail::-webkit-scrollbar { display: none; }

.sf-card {
  flex: 0 0 182px; width: 182px;
  background: var(--white); border-radius: 20px;
  padding: 10px 10px 12px; box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
}
.sf-photo {
  height: 118px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.sf-photo svg { width: 62px; height: 62px; }
.sf-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 7px;
  border-radius: inherit; z-index: 1;
}
.sf-photo .sf-tag { z-index: 2; }
.sf-tag {
  position: absolute; left: 8px; bottom: 8px;
  background: rgba(18, 36, 46, 0.82); color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 99px;
  padding: 4px 9px; letter-spacing: 0.02em; white-space: nowrap;
}
.sf-name { font-weight: 800; font-size: 13.5px; margin-top: 10px; line-height: 1.25; }
.sf-card-sub { font-size: 11px; color: var(--ink-soft); margin-top: 2px; min-height: 15px; }
.sf-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.sf-price { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 16px; }
.sf-add {
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--lime); color: var(--ink);
  box-shadow: 0 3px 0 var(--lime-deep);
  font-size: 19px; font-weight: 800; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; flex: 0 0 auto;
}
.sf-add:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--lime-deep); }
.sf-tier { margin-top: 8px; }
.sf-tier:empty { display: none; }
.sf-tier .discount-badge { font-size: 10.5px; padding: 6px 9px; border-radius: 10px; }
.sf-noresults { display: none; font-size: 13px; color: var(--ink-soft); text-align: center; padding: 26px 0 6px; }

/* subscription plan cards */
.sf-plans { display: grid; gap: 10px; }
.sf-plan {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: none; border-radius: 20px;
  padding: 14px; box-shadow: var(--shadow-card);
  cursor: pointer; text-align: left;
  font-family: 'Inter', sans-serif;
  transition: transform 0.12s ease;
}
.sf-plan:active { transform: scale(0.98); }
.sf-plan-ic {
  width: 56px; height: 56px; border-radius: 16px; background: var(--lime-soft);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.sf-plan-ic svg { width: 34px; height: 34px; }
.sf-plan-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sf-plan-badge {
  width: fit-content; background: var(--ink); color: var(--lime);
  font-size: 9.5px; font-weight: 800; border-radius: 99px;
  padding: 3px 8px; letter-spacing: 0.05em;
}
.sf-plan-name { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 15px; }
.sf-plan-desc { font-size: 11.5px; color: var(--ink-soft); line-height: 1.4; }
.sf-plan-price { font-size: 12px; color: var(--ink-soft); font-weight: 700; margin-top: 3px; }
.sf-plan-price b { font-family: 'Baloo 2', sans-serif; font-size: 15px; color: var(--ink); }
.sf-plan-price s { margin: 0 2px; }
.sf-plan-price em { font-style: normal; color: var(--lime-deep); }
.sf-plan > svg { color: #9dc8d2; flex: 0 0 auto; width: 16px; height: 16px; }

/* facts strip */
.sf-facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.sf-fact {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; color: var(--ink-soft);
  background: var(--white); border-radius: 99px; padding: 8px 13px;
}
.sf-fact svg { width: 13px; height: 13px; flex: 0 0 auto; }

/* search filtering */
.sf-filtering .sf-cats,
.sf-filtering .sf-promos,
.sf-filtering .sf-facts { display: none; }

/* floating cart bar on landing */
.lp-cartbar {
  position: fixed; left: 14px; right: 14px; bottom: 16px; z-index: 60;
  background: var(--ink); color: var(--white); border-radius: 20px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom)) 18px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 14px 26px rgba(20, 30, 10, 0.35);
  transform: translateY(170%); transition: transform 0.25s ease;
  cursor: pointer; border: none;
}
.lp-cartbar.show { transform: translateY(0); }
.lp-cartbar .count { font-size: 11.5px; color: #b9c6aa; font-weight: 600; }
.lp-cartbar .total { font-size: 17px; font-weight: 800; }
.lp-cartbar .go {
  background: var(--lime); color: var(--ink); border-radius: 14px;
  padding: 12px 18px; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; gap: 6px;
  font-family: 'Inter', sans-serif;
}

/* ---------- info band (landing only) ---------- */
.sf-info { background: var(--white); border-top: 1px solid #e6edf1; margin-top: 6px; }
.lp-section {
  max-width: var(--content); width: 100%; margin: 0 auto;
  padding: 36px 18px 48px;
}
.lp-section-head { margin-bottom: 24px; }
.lp-section-head h2 {
  font-family: 'Baloo 2', sans-serif; font-weight: 800;
  font-size: clamp(24px, 3.5vw, 34px); margin: 0 0 8px; letter-spacing: -0.3px;
}
.lp-section-head p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; max-width: 56ch; }
.lp-band-grid { display: grid; gap: 24px; }

/* the week sheet */
.lp-week {
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-xl);
  padding: 22px 22px 18px;
  box-shadow: 0 24px 48px rgba(18, 36, 46, 0.28);
}
.lp-week-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 19px;
  margin-bottom: 12px;
}
.lp-week-row {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 10px; border-radius: var(--radius-md);
  font-size: 14.5px;
}
.lp-week-row + .lp-week-row { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.lp-week-day {
  font-weight: 800; font-size: 12px; letter-spacing: 0.09em;
  color: #aec9d2; width: 42px; flex: 0 0 auto;
}
.lp-week-city { font-weight: 600; }
.lp-week-row.muted { opacity: 0.55; }
.lp-week-row.today { background: rgba(8, 227, 254, 0.12); }
.lp-week-row.today .lp-week-day { color: var(--lime); }
.lp-week-row.today::after {
  content: "today"; margin-left: auto;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em;
  color: var(--lime);
}
.lp-week-foot {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12px; line-height: 1.6; color: #b6cdd6;
}

/* cities */
.lp-cities { display: grid; gap: 12px; }
.lp-city {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px;
  background: #f8fbfc; border: 1px solid #e6edf1; border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.lp-city-name { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 18px; min-width: 110px; }
.lp-city-days { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-city-day {
  font-size: 13px; font-weight: 700;
  background: var(--lime-soft); color: var(--ink);
  border-radius: 99px; padding: 6px 14px;
}
.lp-city-note { margin-left: auto; font-size: 12.5px; color: var(--ink-soft); display: none; }

/* steps */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.lp-steps li { display: flex; gap: 18px; align-items: flex-start; }
.lp-step-n {
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 17px;
  width: 40px; height: 40px; flex: 0 0 auto;
  background: var(--ink); color: var(--lime);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
}
.lp-steps h3 { font-family: 'Baloo 2', sans-serif; font-size: 17px; font-weight: 700; margin: 4px 0 4px; }
.lp-steps p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55; max-width: 46ch; }

/* footer */
.lp-footer { background: var(--ink); color: var(--white); margin-top: auto; }
.lp-footer-inner {
  max-width: var(--content); margin: 0 auto;
  padding: 28px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
}
.lp-footer-brand { display: flex; align-items: center; gap: 9px; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 16px; }
.lp-footer-facts { font-size: 12.5px; color: #9db9c2; margin: 0; }
.lp-footer-links { margin-left: auto; display: flex; gap: 20px; }
.lp-footer-links a { color: var(--white); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   2. APP SHELL — fluid, no phone frame
   ============================================================ */
.app {
  width: 100%;
  height: 100dvh;
  background: var(--cream);
  overflow: hidden;
  position: relative;
  display: none;
  flex-direction: column;
}
body:not(.on-landing) .app { display: flex; }

/* desktop top app bar */
.app-topbar {
  display: none;
  flex: 0 0 auto;
  align-items: center; gap: 28px;
  padding: 12px 28px;
  background: var(--white);
  border-bottom: 1px solid #e4eef2;
}
.app-topbar-tabs { display: flex; gap: 6px; }
.topbar-tab {
  border: none; background: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--ink-soft); padding: 9px 16px; border-radius: 99px;
}
.topbar-tab:hover { color: var(--ink); background: var(--sand); }
.topbar-tab.active { color: var(--ink); background: var(--lime-soft); }
.app-topbar-user {
  margin-left: auto;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; padding: 0;
}

.screens { position: relative; flex: 1; overflow: hidden; }
.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transform: translateX(16px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  overflow-y: auto;
}
.screen.active { opacity: 1; pointer-events: auto; transform: translateX(0); }

/* ---------- shared ---------- */
.btn {
  border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 15.5px;
  border-radius: 999px;
  padding: 16px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active { transform: translateY(3px); }
.btn-primary { background: var(--lime); color: var(--ink); box-shadow: var(--shadow-btn); }
.btn-primary:active { box-shadow: 0 2px 0 var(--lime-deep); }
.btn-outline {
  background: var(--white); color: var(--ink);
  box-shadow: 0 4px 0 var(--sand);
  border: 1px solid #e4e9d6;
}
.btn-outline:active { box-shadow: 0 1px 0 var(--sand); }
.btn[disabled] { opacity: 0.4; pointer-events: none; }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn-block { width: 100%; }

.back-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-card);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.link-btn {
  background: none; border: none; cursor: pointer;
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
  text-decoration: underline; padding: 10px 0; text-align: center;
  font-family: 'Inter', sans-serif; width: 100%;
}
.link-btn.danger { color: var(--coral); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-7px); }
  40%, 80% { transform: translateX(7px); }
}
.shake { animation: shake 0.4s ease; }

/* ---------- auth ---------- */
#screen-auth { justify-content: space-between; padding: 40px 28px 36px; }
.auth-top { text-align: center; margin-top: 24px; }
.logo-badge {
  width: 84px; height: 84px; margin: 0 auto 18px;
  background: var(--ink); border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
}
.logo-badge svg { width: 46px; height: 46px; }
.auth-top h1 { font-family: 'Baloo 2', sans-serif; font-size: 30px; font-weight: 800; margin: 0 0 6px; }
.auth-top p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; padding: 0 12px; }
.auth-art { display: flex; align-items: center; justify-content: center; margin: 18px 0; }
.auth-form { display: flex; flex-direction: column; gap: 10px; max-width: 380px; margin: 0 auto 14px; }
.auth-mode { display: flex; gap: 8px; margin-bottom: 2px; }
.auth-mode button { flex: 1; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-soft); padding: 8px; font: 700 13px 'Inter', sans-serif; cursor: pointer; }
.auth-mode button.active { color: var(--ink); border-color: var(--lime-deep); }
.auth-buttons { display: flex; flex-direction: column; gap: 12px; max-width: 380px; margin: 0 auto; }
.auth-fine { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 16px; line-height: 1.6; }
.auth-fine b { color: var(--ink); }
.auth-error { text-align: center; font-size: 12.5px; color: var(--coral); font-weight: 600; min-height: 18px; margin: 10px 0 0; }

/* ---------- forms ---------- */
.form-screen { padding: 18px 28px 36px; }
.form-top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.form-top .ghost { width: 40px; }
.form-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-bottom: 30px; max-width: 420px; margin: 0 auto; width: 100%; }
.form-body h1 { font-family: 'Baloo 2', sans-serif; font-size: 27px; margin: 0; }
.form-body .lead { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.field {
  width: 100%;
  font-family: 'Inter', sans-serif; font-size: 15.5px; font-weight: 600;
  padding: 16px; border-radius: 14px;
  border: 2px solid #e4e9d6; background: var(--white);
  color: var(--ink); outline: none;
  transition: border-color 0.15s ease;
}
.field:focus { border-color: var(--lime-deep); }

.code-row { display: flex; gap: 9px; justify-content: center; margin: 6px 0 4px; }
.code-box {
  width: 46px; height: 58px;
  font-family: 'Inter', sans-serif; font-size: 23px; font-weight: 800;
  text-align: center; color: var(--ink);
  border: 2px solid #e4e9d6; border-radius: 14px;
  background: var(--white); outline: none;
  caret-color: var(--lime-deep);
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.code-box:focus { border-color: var(--lime-deep); transform: scale(1.05); }
.code-box.filled { border-color: var(--ink); }

/* ---------- onboarding ---------- */
#screen-onboard { padding: 18px 24px 36px; }
.ob-top { display: flex; align-items: center; gap: 14px; }
.ob-body { flex: 1; display: flex; flex-direction: column; overflow-y: auto; padding-top: 26px; }
.ob-body::-webkit-scrollbar { display: none; }
.ob-step { display: flex; flex-direction: column; flex: 1; max-width: 520px; margin: 0 auto; width: 100%; }
.ob-step h1 { font-family: 'Baloo 2', sans-serif; font-size: 26px; margin: 0 0 6px; }
.ob-step .lead { font-size: 14px; color: var(--ink-soft); margin: 0 0 20px; line-height: 1.5; }

.city-card {
  background: var(--white); border: 2px solid #e9eedc; border-radius: var(--radius-lg);
  padding: 16px; display: flex; align-items: center; gap: 13px;
  min-height: 84px;
  cursor: pointer; box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease;
  font-family: 'Inter', sans-serif; text-align: left; width: 100%;
}
.city-card .pin {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--lime-soft);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.city-card .pin svg { width: 22px; height: 22px; }
.city-card .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.city-card .name { font-weight: 800; font-size: 15.5px; }
.city-card .days { display: flex; gap: 6px; flex-wrap: wrap; }
.city-card .day-chip {
  font-size: 11px; font-weight: 700; color: var(--ink-soft);
  background: var(--sand); border-radius: 99px; padding: 4px 10px;
}
.city-card .tick {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid #e4e9d6; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
}
.city-card.sel { border-color: var(--lime-deep); background: #f4fdff; }
.city-card.sel .pin { background: var(--lime); }
.city-card.sel .day-chip { background: var(--white); color: var(--ink); }
.city-card.sel .tick { background: var(--lime); border-color: var(--lime-deep); }
.city-card.sel .tick svg { width: 14px; height: 14px; }
#cityList { display: grid; gap: 11px; }
@media (min-width: 640px) { #cityList { grid-template-columns: 1fr 1fr; } }

/* card brand marks on pay screen */
.brand-marks { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.bm {
  height: 18px; padding: 0 6px; border-radius: 4px;
  border: 1px solid #e4e9d6; background: #fff;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 8.5px; font-weight: 800; letter-spacing: 0.02em;
}
.bm-visa { color: #1a1f71; font-style: italic; font-size: 9.5px; }
.bm-mc i {
  width: 9px; height: 9px; border-radius: 50%; display: inline-block;
}
.bm-mc i:first-child { background: #eb001b; margin-right: -3px; }
.bm-mc i:last-child { background: #f79e1b; mix-blend-mode: multiply; }
.bm-amex { background: #2e77bc; color: #fff; border-color: #2e77bc; }
.bm-applepay svg { width: 10px; height: 10px; }
.bm-revolut { color: #1180ff; }

.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-size: 13.5px; font-weight: 700; padding: 10px 16px; border-radius: 999px;
  background: var(--white); color: var(--ink); border: 2px solid #e4e9d6; cursor: pointer;
  font-family: 'Inter', sans-serif; transition: all 0.12s ease;
}
.pill.on { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.pill:disabled { opacity: 0.32; cursor: not-allowed; border-style: dashed; }

/* ---------- order screen ---------- */
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 15px;
  flex: 0 0 auto;
}
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center; border: none; cursor: pointer;
  color: var(--ink);
}
.icon-btn svg { width: 18px; height: 18px; }

.order-layout { flex: 1; display: flex; min-height: 0; }
#screen-order { overflow: hidden; }
.order-scroll { flex: 1; overflow-y: auto; padding: 4px 0 calc(130px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.order-scroll::-webkit-scrollbar { display: none; }
.order-scroll.narrow { max-width: var(--content-narrow); margin: 0 auto; width: 100%; padding: 4px 22px 30px; }

.section-title { font-family: 'Baloo 2', sans-serif; font-size: 19px; font-weight: 700; margin: 20px 0 10px; }
.section-sub { font-size: 12.5px; color: var(--ink-soft); margin: -6px 0 12px; }

.stepper { display: flex; align-items: center; gap: 0; flex: 0 0 auto; }
.step-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: none; cursor: pointer; background: var(--sand); color: var(--ink);
  font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.step-btn.plus { background: var(--ink); color: var(--lime); }
.step-btn:active { transform: scale(0.9); }
.step-qty { width: 28px; text-align: center; font-weight: 800; font-size: 14.5px; }

.discount-badge {
  font-size: 11.5px; font-weight: 700; padding: 7px 12px; border-radius: 12px;
  background: var(--lime-soft); color: var(--lime-deep);
  display: flex; align-items: center; gap: 6px;
  width: fit-content;
}
.discount-badge.saved { background: var(--ink); color: var(--lime); }

/* desktop cart panel */
.cart-panel { display: none; }

.bottom-bar {
  position: fixed; left: 14px; right: 14px; bottom: 92px;
  background: var(--ink); color: var(--white); border-radius: 20px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom)) 18px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 14px 26px rgba(20, 30, 10, 0.35);
  transform: translateY(100vh); transition: transform 0.25s ease; z-index: 15;
}
.bottom-bar.show { transform: translateY(0); }
.bottom-bar .info .count { font-size: 11.5px; color: #b9c6aa; font-weight: 600; }
.bottom-bar .info .total { font-size: 17px; font-weight: 800; }
.bottom-bar .info .save { font-size: 11px; color: var(--lime); font-weight: 700; }
.bottom-bar .info .free { font-size: 11px; color: #b9c6aa; font-weight: 700; }
.bottom-bar .info .free.on { color: var(--lime); }
.bottom-bar .go {
  background: var(--lime); color: var(--ink); border: none; border-radius: 14px;
  padding: 12px 18px; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.tab-bar {
  flex: 0 0 auto; height: 78px; background: var(--white);
  border-top: 1px solid #eaeffd; display: none;
  align-items: flex-start; justify-content: space-around; padding-top: 10px;
  z-index: 20; position: relative;
}
.tab-bar.show { display: flex; }
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  color: #9dc8d2; font-size: 10.5px; font-weight: 700; font-family: 'Inter', sans-serif;
}
.tab svg { width: 22px; height: 22px; }
.tab.active { color: var(--ink); }
.tab.active svg { color: var(--lime-deep); }

/* ---------- checkout sheet / modal ---------- */
.sheet-overlay {
  position: absolute; inset: 0; background: rgba(20, 30, 14, 0.42);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 30;
}
.sheet-overlay.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--cream); border-radius: 26px 26px 0 0;
  padding: 10px 24px 30px; transform: translateY(100%);
  transition: transform 0.28s ease; max-height: 88%; overflow-y: auto;
}
.sheet::-webkit-scrollbar { display: none; }
.sheet-overlay.show .sheet { transform: translateY(0); }
.sheet-handle { width: 38px; height: 5px; border-radius: 3px; background: #d8e0c6; margin: 8px auto 18px; }
.sheet h2 { font-family: 'Baloo 2', sans-serif; font-size: 20px; margin: 0 0 4px; }
.sheet p { font-size: 13px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.5; }
.sheet-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px dashed #dce4ca; gap: 12px; }
.sheet-row.total { border-bottom: none; font-weight: 800; font-size: 16px; padding-top: 14px; }

.sheet-label { font-size: 11.5px; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; margin: 14px 0 8px; }
.sheet-label-accent { color: var(--lime-deep); font-size: 12.5px; margin-top: 16px; }
.slot-row { display: flex; gap: 10px; }
.slot-opt {
  flex: 1; background: var(--white); border: 2px solid #e4e9d6; border-radius: 14px;
  padding: 12px 10px; cursor: pointer; text-align: center;
  font-weight: 700; font-size: 13px; font-family: 'Inter', sans-serif;
  transition: border-color 0.12s ease;
}
.slot-opt small { display: block; font-size: 11px; color: var(--ink-soft); font-weight: 600; margin-top: 3px; }
.slot-opt.on { border-color: var(--lime-deep); background: var(--lime-soft); }
.slot-opt.on small { color: var(--lime-deep); }

/* ride-along row in checkout — photo + one-tap stepper, 0 = off */
.ridealong {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 2px solid var(--lime-deep); border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 3px 0 rgba(0, 180, 216, 0.18);
}
.ridealong .ra-photo {
  width: 52px; height: 52px; border-radius: 12px; background: var(--lime-soft);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  overflow: hidden;
}
.ridealong .ra-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ridealong .ra-info { flex: 1; min-width: 0; text-align: left; }
.ridealong .ra-t { font-weight: 800; font-size: 13.5px; }
.ridealong .ra-s { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; }
.ridealong .sf-add { width: 36px; height: 36px; }
.ridealong .stepper .step-btn { width: 32px; height: 32px; }
.ridealong-sub { font-size: 12px; color: var(--ink-soft); margin: -2px 0 8px; line-height: 1.4; }

/* ---------- subscriptions ---------- */
.subs-header { flex: 0 0 auto; padding: 22px 22px 6px; max-width: var(--content-narrow); margin: 0 auto; width: 100%; }
.subs-header h1 { font-family: 'Baloo 2', sans-serif; font-size: 24px; margin: 0 0 4px; }
.subs-header p { margin: 0; font-size: 13px; color: var(--ink-soft); }

.active-sub-card {
  background: var(--white); border: 1.5px solid var(--lime); border-radius: var(--radius-lg);
  padding: 14px 16px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.active-sub-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-deep); flex: 0 0 auto; }
.active-sub-card.pending { border-style: dashed; }
.active-sub-card.pending .dot { background: var(--coral); }
.active-sub-card .info { flex: 1; min-width: 0; }
.active-sub-card .info .name { font-weight: 700; font-size: 14px; }
.active-sub-card .info .meta { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; }
.active-sub-card .manage-btn {
  background: var(--ink); color: var(--lime); border: none; border-radius: 10px;
  padding: 8px 12px; font-size: 12px; font-weight: 700; cursor: pointer; flex: 0 0 auto;
  font-family: 'Inter', sans-serif;
}
.empty-note {
  font-size: 12.5px; color: var(--ink-soft);
  background: var(--white); border: 1px dashed #dce4ca;
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 6px; text-align: center;
}

.plan-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 14px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px; cursor: pointer;
}
.plan-card .plan-icon {
  width: 58px; height: 58px; border-radius: 16px; background: var(--lime-soft);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.plan-card .plan-icon svg { width: 34px; height: 34px; }
.plan-card .info { flex: 1; min-width: 0; }
.plan-card .info .name { font-weight: 700; font-size: 14.5px; }
.plan-card .info .tagline { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; }
.plan-card .info .price { font-size: 12.5px; font-weight: 700; color: var(--lime-deep); margin-top: 5px; }

.detail-top { flex: 0 0 auto; padding: 18px 22px 0; display: flex; align-items: center; gap: 12px; max-width: 620px; margin: 0 auto; width: 100%; }
.detail-scroll { flex: 1; overflow-y: auto; padding: 14px 22px 30px; max-width: 620px; margin: 0 auto; width: 100%; }
.detail-scroll::-webkit-scrollbar { display: none; }
.detail-hero {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 130px; border-radius: 22px;
  background: var(--lime-soft); margin-bottom: 18px; overflow: hidden;
}
.detail-hero svg { width: 64px; height: 64px; }
#detailName { font-family: 'Baloo 2', sans-serif; font-size: 22px; margin: 0 0 6px; }
#detailTagline { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 18px; line-height: 1.5; }

.detail-label { font-size: 11.5px; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; margin: 18px 0 8px; }

.bullet-list { list-style: none; margin: 0; padding: 0; }
.bullet-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; padding: 7px 0; }
.bullet-list li svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }

.people-row {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  margin: 6px 0 4px;
}
.people-row .lbl { font-size: 13.5px; font-weight: 700; }
.people-row .hint { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.people-row .stepper .step-btn { width: 34px; height: 34px; font-size: 19px; }

.detail-price-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--sand); border-radius: 16px; padding: 14px 16px; margin: 20px 0 8px;
}
.detail-price-row .lbl { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.detail-price-row .val { font-size: 19px; font-weight: 800; }
.detail-price-row .val s { font-size: 13px; color: var(--ink-soft); font-weight: 600; margin-right: 7px; }

.detail-save { font-size: 12.5px; font-weight: 700; color: var(--lime-deep); margin: 0 0 6px; }
.detail-next { font-size: 12px; color: var(--ink-soft); margin-bottom: 18px; }
.detail-next b { color: var(--ink); }

.monthly-note {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--lime-soft); color: var(--lime-deep);
  font-size: 11.5px; font-weight: 800; border-radius: 99px;
  padding: 6px 12px; margin-bottom: 14px;
}
.monthly-note svg { width: 13px; height: 13px; }

/* ---------- tracking ---------- */
.track-wrap { max-width: 620px; margin: 0 auto; }
.trk-hero {
  margin: 16px 22px 0; background: var(--ink); color: var(--white);
  border-radius: var(--radius-lg); padding: 18px 18px 16px;
  position: relative; overflow: hidden;
}
.trk-hero .glow {
  position: absolute; top: -40px; right: -40px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--lime); opacity: 0.18; filter: blur(2px);
}
.trk-hero .order-no { font-size: 11.5px; color: #b9c6aa; font-weight: 700; position: relative; }
.trk-hero .status-big { font-family: 'Baloo 2', sans-serif; font-size: 23px; font-weight: 800; margin-top: 3px; position: relative; }
.trk-hero .eta { font-size: 12.5px; color: var(--lime); font-weight: 700; margin-top: 6px; position: relative; }
.trk-list { padding: 22px 22px 30px; }
.trk-step { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 26px; position: relative; }
.trk-step:last-child { padding-bottom: 0; }
.trk-step .trk-line { position: absolute; left: 13px; top: 30px; bottom: 2px; width: 3px; background: #e4e9d6; border-radius: 2px; }
.trk-step:last-child .trk-line { display: none; }
.trk-dot {
  width: 29px; height: 29px; border-radius: 50%;
  background: var(--white); border: 2px solid #e4e9d6;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; z-index: 1;
}
.trk-dot svg { width: 14px; height: 14px; }
.trk-step.done .trk-dot { background: var(--lime); border-color: var(--lime-deep); }
.trk-step.done .trk-line { background: var(--lime); }
.trk-step.now .trk-dot { border-color: var(--lime-deep); box-shadow: 0 0 0 5px var(--lime-soft); }
.trk-step .t { font-weight: 700; font-size: 14px; padding-top: 5px; }
.trk-step .s { font-size: 12px; color: var(--ink-soft); margin-top: 2px; line-height: 1.5; }
.trk-step.todo .t { color: var(--ink-soft); font-weight: 600; }
.trk-items { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 14px 16px; margin-top: 22px; }
.trk-items .row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 5px 0; }
.trk-items .row span:first-child { white-space: nowrap; }
.trk-items .row span:last-child { font-weight: 700; white-space: nowrap; text-align: right; }

/* ---------- account ---------- */
#screen-account { padding: 22px 22px 0; }
#screen-account h1 { font-family: 'Baloo 2', sans-serif; font-size: 24px; margin: 0 0 14px; max-width: var(--content-narrow); }
#screen-account > div { max-width: var(--content-narrow); margin: 0 auto; width: 100%; }
.profile-card {
  background: var(--ink); color: var(--white); border-radius: var(--radius-lg);
  padding: 16px; display: flex; align-items: center; gap: 13px; margin-bottom: 20px;
}
.profile-card .avatar { width: 48px; height: 48px; font-size: 19px; }
.profile-card .name { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 17px; }
.profile-card .mail { font-size: 12px; color: #b9c6aa; margin-top: 2px; word-break: break-all; }
.acct-row {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 14px 16px; margin-bottom: 11px;
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: none; width: 100%; text-align: left; font-family: 'Inter', sans-serif;
}
.acct-row .ico {
  width: 38px; height: 38px; border-radius: 12px; background: var(--lime-soft);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.acct-row .ico svg { width: 19px; height: 19px; }
.acct-row .info { flex: 1; min-width: 0; }
.acct-row .info .t { font-weight: 700; font-size: 14px; }
.acct-row .info .s { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; }
.acct-row .chev { color: #9dc8d2; flex: 0 0 auto; }
.order-mini {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 13px 16px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  cursor: pointer; border: none; width: 100%; text-align: left; font-family: 'Inter', sans-serif;
}
.order-mini .no { font-weight: 800; font-size: 13px; }
.order-mini .when { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; }
.order-mini .right { text-align: right; }
.order-mini .amt { font-weight: 800; font-size: 13.5px; }
.status-chip {
  display: inline-block; font-size: 10.5px; font-weight: 800;
  border-radius: 99px; padding: 3px 9px; margin-top: 4px;
  background: var(--lime-soft); color: var(--lime-deep);
}
.status-chip.done { background: var(--sand); color: var(--ink-soft); }

.upcoming-card {
  background: var(--ink); color: var(--white); border-radius: var(--radius-lg);
  padding: 15px 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
  cursor: pointer; border: none; width: 100%; text-align: left;
  font-family: 'Inter', sans-serif; position: relative; overflow: hidden;
}
.upcoming-card .rep {
  width: 38px; height: 38px; border-radius: 12px; background: rgba(8, 227, 254, 0.18);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.upcoming-card .rep svg { width: 19px; height: 19px; }
.upcoming-card .info { flex: 1; min-width: 0; }
.upcoming-card .t { font-weight: 700; font-size: 14px; }
.upcoming-card .s { font-size: 11.5px; color: #b9c6aa; margin-top: 2px; }
.upcoming-card .when { color: var(--lime); font-weight: 800; font-size: 13px; flex: 0 0 auto; }

/* ---------- payment ---------- */
.pay-layout { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.pay-scroll { flex: 1; overflow-y: auto; padding: 14px 22px 30px; }
.pay-scroll::-webkit-scrollbar { display: none; }
.pay-summary { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 16px; }
.pay-summary .t { font-weight: 800; font-size: 14px; }
.pay-summary .s { font-size: 12px; color: #b9c6aa; margin-top: 3px; line-height: 1.5; }
.pay-summary .amt { font-family: 'Baloo 2', sans-serif; font-size: 24px; font-weight: 800; color: var(--lime); margin-top: 8px; }
.pay-hint { font-size: 11.5px; color: var(--ink-soft); margin: 6px 0 0 2px; }
.pay-method {
  background: var(--white); border: 2px solid #e4e9d6; border-radius: 14px;
  padding: 12px 14px; display: flex; align-items: center; gap: 12px;
  cursor: pointer; margin-bottom: 9px; font-weight: 700; font-size: 14px;
  font-family: 'Inter', sans-serif; transition: border-color 0.12s ease;
}
.pay-method.on { border-color: var(--lime-deep); background: var(--lime-soft); }
.pm-logo {
  width: 44px; height: 28px; border-radius: 8px; background: #f1f4e8;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  gap: 2px;
}
.pm-logo svg { width: 15px; height: 15px; }
.pay-method .radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #e4e9d6; margin-left: auto; flex: 0 0 auto;
  transition: all 0.12s ease;
}
.pay-method.on .radio { border-color: var(--lime-deep); background: var(--lime); }
.pay-method .sub { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; margin-top: 1px; }
#phoneSaved { text-transform: none; letter-spacing: 0; color: var(--lime-deep); font-weight: 800; }
.add-row {
  width: 100%; background: none; border: 2px dashed #d5dec2; border-radius: 14px;
  padding: 12px; color: var(--lime-deep); font-weight: 800; font-size: 13px; cursor: pointer;
  font-family: 'Inter', sans-serif; display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 9px;
}
.inline-form {
  display: none; background: var(--white); border: 2px solid #e4e9d6;
  border-radius: 14px; padding: 12px; margin-bottom: 9px;
  flex-direction: column; gap: 10px;
}
.inline-form.show { display: flex; }
.inline-form .field { padding: 12px; font-size: 14px; }
.address-search { display: flex; flex-direction: column; gap: 6px; }
.address-search-state { color: var(--ink-soft); font-size: 12px; }
.address-search-state:empty { display: none; }
.address-search-state.loading::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 7px; border: 2px solid #d5dec2; border-top-color: var(--lime-deep); border-radius: 50%; vertical-align: -2px; animation: address-spin .7s linear infinite; }
@keyframes address-spin { to { transform: rotate(360deg); } }
.address-search-results { display: flex; flex-direction: column; max-height: 220px; overflow-y: auto; }
.address-search-results:empty { display: none; }
.address-search-result { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding: 7px 10px; background: #f8faf4; border: 0; border-bottom: 1px solid #e4e9d6; color: var(--ink); text-align: left; font: inherit; font-size: 12px; line-height: 1.4; cursor: pointer; }
.address-search-result:first-child { border-radius: 9px 9px 0 0; }
.address-search-result:last-child { border-bottom: 0; border-radius: 0 0 9px 9px; }
.address-search-result:only-child { border-radius: 9px; }
.address-map { height: 210px; border-radius: 10px; background: #e8efdf; }
.pay-secure { text-align: center; font-size: 11.5px; color: var(--ink-soft); margin: 14px 0 0; }
.pay-aside { display: block; flex: 0 0 auto; padding: 6px 22px 30px; }

/* ---------- support chat ---------- */
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-deep); display: inline-block; }
.chat-scroll { flex: 1; overflow-y: auto; padding: 14px 22px 8px; }
.chat-scroll::-webkit-scrollbar { display: none; }
.msg { display: flex; gap: 9px; margin-bottom: 12px; align-items: flex-end; }
.msg .bub { max-width: 75%; padding: 11px 14px; border-radius: 18px; font-size: 13.5px; line-height: 1.55; }
.msg.bot .bub { background: var(--white); box-shadow: var(--shadow-card); border-bottom-left-radius: 6px; }
.msg.bot .bub b { color: var(--lime-deep); }
.msg.me { justify-content: flex-end; }
.msg.me .bub { background: var(--ink); color: var(--white); border-bottom-right-radius: 6px; }
.msg.me .bub b { color: var(--lime); }
.msg .av {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--lime);
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.typing { display: flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9c6aa; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.chat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 22px 4px; flex: 0 0 auto; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips .chip {
  flex: 0 0 auto; font-size: 12.5px; font-weight: 700;
  padding: 9px 14px; border-radius: 999px;
  background: var(--white); color: var(--ink);
  border: 1.5px solid #e4e9d6; cursor: pointer; font-family: 'Inter', sans-serif;
}
.chat-bar { flex: 0 0 auto; display: flex; gap: 10px; padding: 10px 22px 18px; background: var(--cream); align-items: center; }
.chat-bar input { flex: 1; min-width: 0; border-radius: 999px; padding: 12px 16px; font-size: 14px; }
.chat-send {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--lime); border: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--lime-deep);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; transition: transform 0.1s ease;
}
.chat-send:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lime-deep); }
.chat-send svg { width: 19px; height: 19px; }

/* ---------- celebration modal ---------- */
.celebrate {
  position: absolute; inset: 0; z-index: 40; background: rgba(242, 250, 253, 0.97);
  display: none; align-items: center; justify-content: center;
  overflow-y: auto; padding: 30px 20px;
}
.celebrate.show { display: flex; }
.celebrate-inner { width: 100%; max-width: 440px; text-align: center; }
.check-big {
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 8px 0 var(--lime-deep);
  display: flex; align-items: center; justify-content: center;
  animation: pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1) both;
  margin: 0 auto 26px; flex: 0 0 auto;
}
.check-big svg { width: 52px; height: 52px; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.celebrate h1 { font-family: 'Baloo 2', sans-serif; font-size: 27px; margin: 0 0 8px; }
.celebrate p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 30px; }
.celebrate p b { color: var(--ink); }
#celeClose { max-width: 300px; margin: 0 auto; }

/* celebration add-on form */
#celeUpsell { width: 100%; text-align: left; }
.ao-offer-head { font-weight: 700; font-size: 14px; }
.ao-offer-sub { font-size: 12px; color: #5b6b4a; line-height: 1.45; margin: 3px 0 6px; }
.ao-line {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  border: 1px solid #e3e8d9; border-radius: 10px; margin: 6px 0; background: #fff;
}
.ao-line .ao-ic {
  width: 36px; height: 36px; border-radius: 9px; background: var(--lime-soft);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.ao-line .ao-ic svg { width: 22px; height: 22px; }
.ao-line .ao-name { font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ao-line .ao-price { font-size: 10.5px; color: #7a8a66; }
.ao-line .ao-price b { color: var(--ink); }
.ao-step {
  width: 26px; height: 26px; border-radius: 99px; border: 1.5px solid var(--lime-deep);
  background: #fff; color: var(--ink); font-size: 15px; font-weight: 700;
  cursor: pointer; line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.ao-qty { min-width: 14px; text-align: center; font-size: 13px; font-weight: 600; }
.ao-total { font-size: 12.5px; font-weight: 600; margin: 8px 0 2px; }
.ao-cta-row { display: flex; gap: 8px; margin-top: 6px; }

/* pay processing overlay */
.paying-note { text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-soft); padding: 8px; }
.spinner {
  width: 26px; height: 26px; margin: 0 auto 8px;
  border: 3px solid var(--sand); border-top-color: var(--lime-deep);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

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

/* ============================================================
   DESKTOP / TABLET (>=900px)
   ============================================================ */
@media (min-width: 900px) {
  .sf-nav { padding: 16px 32px; }
  .lp-links { display: flex; }
  .sf-hero { padding: 48px 32px 6px; }

  .lp-section { padding: 48px 32px 64px; }
  .lp-band-grid { grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
  .lp-city-note { display: block; }
  .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .lp-steps li { flex-direction: column; }

  /* storefront on wide screens */
  .sf-storefront { padding: 20px 28px 34px; }
  .sf-cats { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .sf-cat { flex: none; min-height: 116px; }
  .sf-promos { grid-template-columns: 1fr 1fr; }
  .sf-plans { grid-template-columns: 1fr 1fr; }
  .sf-arrows { display: flex; }
  .sf-rail { margin: 0 -28px; padding: 2px 28px 8px; }

  /* app */
  .app-topbar { display: flex; }
  .tab-bar { display: none !important; }
  .screen { overflow-y: auto; }

  .order-layout { max-width: var(--content); margin: 0 auto; width: 100%; }
  .order-scroll { padding: 4px 0 40px; }
  .bottom-bar { display: none; }

  .cart-panel {
    display: flex; flex-direction: column; gap: 12px;
    flex: 0 0 300px; margin: 4px 28px 24px 0;
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 18px;
    position: sticky; top: 4px; align-self: flex-start;
    max-height: calc(100% - 28px); overflow-y: auto;
  }
  .cart-panel-head { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 17px; }
  .cart-panel-lines { display: flex; flex-direction: column; gap: 8px; }
  .cp-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
  .cp-line .cp-name { color: var(--ink); font-weight: 600; }
  .cp-line .cp-amt { font-weight: 700; white-space: nowrap; }
  .cart-panel-totals { border-top: 1px dashed #dce4ca; padding-top: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
  .cp-row { display: flex; justify-content: space-between; gap: 10px; }
  .cp-row.total { font-weight: 800; font-size: 16px; }
  .cp-row .cp-free { color: var(--lime-deep); font-weight: 700; }
  .cp-row .cp-save { color: var(--lime-deep); font-weight: 700; }
  .cart-panel-empty { font-size: 12.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

  /* checkout sheet becomes centered modal */
  .sheet {
    left: 50%; right: auto; bottom: 50%;
    width: min(560px, calc(100vw - 40px));
    max-height: min(720px, calc(100dvh - 60px));
    border-radius: var(--radius-xl);
    transform: translate(-50%, calc(50% + 40px)) scale(0.98);
    box-shadow: 0 30px 60px rgba(18, 36, 46, 0.3);
  }
  .sheet-handle { display: none; }
  .sheet-overlay.show .sheet { transform: translate(-50%, 50%) scale(1); }

  /* pay: two columns */
  .pay-layout { flex-direction: row; max-width: var(--content); margin: 0 auto; width: 100%; gap: 28px; padding: 0 28px 30px; }
  .pay-scroll { padding: 14px 0 0; }
  .pay-aside { display: block; flex: 0 0 340px; position: sticky; top: 4px; align-self: flex-start; }

  .subs-header { padding: 26px 0 6px; }
  #screen-account { padding: 26px 22px 0; }
  .form-screen { padding: 24px 28px 40px; }
  #screen-onboard { padding: 24px 24px 40px; }
  .city-card:hover { border-color: var(--lime-deep); }
  .city-card { max-width: 520px; }
}

@media (min-width: 1200px) {
  .sf-card { flex-basis: 196px; width: 196px; }
}
