/* ==========================================================================
   LetsShop — Core Stylesheet
   "Let's Shop. We'll do the rest."
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand palette — matches the new LetsShop NAM design system (blue/cyan) */
  --ls-orange: #0F2C52;        /* Primary Navy — main CTAs, active states, prices */
  --ls-orange-dark: #0A1F3D;   /* Primary Navy, hover/pressed */
  --ls-orange-light: #E4E9EF;  /* Primary Navy, light tint (badges, soft backgrounds) */
  --ls-cyan: #8DC63F;          /* Secondary Lime Green — "Track Order"-style buttons, gradient end */
  --ls-cyan-dark: #6FA82F;
  --ls-navy: #1F2937;          /* Text/Dark — headings, body text, dark sections */
  --ls-navy-light: #374151;
  --ls-navy-tint: #EFF6FF;     /* soft blue-tinted section background */
  --ls-white: #FFFFFF;
  --ls-bg: #F8FAFC;
  --ls-gray-50: #F8FAFC;
  --ls-gray-100: #EDEFF2;
  --ls-gray-300: #C9CFD8;
  --ls-gray-500: #7C8896;
  --ls-gray-700: #414C58;
  --ls-green: #22C55E;         /* Accent Green — "Checkout"-style buttons, success */
  --ls-success: #22C55E;
  --ls-coral: #FF6B6B;         /* Sale / Deals */
  --ls-danger: #E5484D;
  --ls-black: #1F2937;
  --ls-gradient: linear-gradient(135deg, #0F2C52 0%, #8DC63F 100%);

  /* Per-category accent colors, from the design system reference */
  --ls-cat-fruit-veg: #22C55E;
  --ls-cat-meat-fish: #FF6B6B;
  --ls-cat-dairy-eggs: #8DC63F;
  --ls-cat-bakery: #F59E0B;
  --ls-cat-household: #0F2C52;
  --ls-cat-pantry: #A855F7;
  --ls-cat-snacks: #F97316;
  --ls-cat-frozen: #38BDF8;
  --ls-cat-baby-kids: #EC4899;
  --ls-cat-health: #14B8A6;
  --ls-cat-beverages: #6366F1;
  --ls-cat-pet: #84CC16;

  /* Type */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shape / motion */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 18px rgba(31, 41, 55, 0.08);
  --shadow-card-hover: 0 12px 28px rgba(31, 41, 55, 0.14);
  --shadow-pop: 0 18px 40px rgba(31, 41, 55, 0.18);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ls-navy);
  background: var(--ls-gray-50);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-display);
  color: var(--ls-navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

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

@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;
  }
}

/* ---------- Utility brand classes ---------- */
.text-brand-orange { color: var(--ls-orange); }
.text-brand-navy { color: var(--ls-navy); }
.bg-brand-orange { background: var(--ls-orange); }
.bg-brand-navy { background: var(--ls-navy); }
.bg-navy-tint { background: var(--ls-navy-tint); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ls-orange);
}
.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--ls-orange);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.6rem;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
  border: none;
}
.btn-brand {
  background: var(--ls-orange);
  color: var(--ls-white);
  box-shadow: 0 8px 20px rgba(15, 44, 82, 0.28);
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--ls-orange-dark);
  color: var(--ls-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 44, 82, 0.36);
}
.btn-brand:active { transform: translateY(0); }

.btn-navy {
  background: var(--ls-navy);
  color: var(--ls-white);
}
.btn-navy:hover { background: var(--ls-navy-light); color: var(--ls-white); transform: translateY(-2px); }

.btn-outline-brand {
  background: transparent;
  color: var(--ls-navy);
  border: 2px solid var(--ls-navy);
  padding: 0.65rem 1.55rem;
}
.btn-outline-brand:hover { background: var(--ls-navy); color: var(--ls-white); }

.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: var(--ls-white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.22); color: var(--ls-white); }

.btn-sm-pill { padding: 0.4rem 1rem; font-size: 0.85rem; border-radius: var(--radius-pill); }

.btn-secondary-brand {
  background: var(--ls-cyan);
  color: var(--ls-navy);
  box-shadow: 0 8px 20px rgba(141, 198, 63, 0.28);
}
.btn-secondary-brand:hover, .btn-secondary-brand:focus {
  background: var(--ls-cyan-dark);
  color: var(--ls-navy);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--ls-green);
  color: var(--ls-white);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.30);
}
.btn-accent:hover, .btn-accent:focus {
  background: #16A34A;
  color: var(--ls-white);
  transform: translateY(-2px);
}

.btn-sale {
  background: var(--ls-coral);
  color: var(--ls-white);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.30);
}
.btn-sale:hover, .btn-sale:focus {
  background: #E85555;
  color: var(--ls-white);
  transform: translateY(-2px);
}

.btn-gradient-brand {
  background: var(--ls-gradient);
  color: var(--ls-white);
  box-shadow: 0 8px 20px rgba(15, 44, 82, 0.28);
}
.btn-gradient-brand:hover, .btn-gradient-brand:focus { color: var(--ls-white); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.ls-navbar {
  background: var(--ls-white);
  box-shadow: 0 2px 14px rgba(31, 41, 55,0.06);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.ls-navbar .navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ls-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ls-navbar .navbar-brand .brand-dot { color: var(--ls-orange); }
.navbar-logo-img { height: 36px; width: auto; display: block; }
.navbar-logo-img-footer { height: 42px; }
@media (max-width: 480px) { .navbar-logo-img { height: 30px; } }
.ls-navbar .nav-link {
  font-weight: 600;
  color: var(--ls-navy);
  padding: 0.5rem 0.9rem !important;
  position: relative;
}
.ls-navbar .nav-link.active,
.ls-navbar .nav-link:hover { color: var(--ls-orange); }

.icon-badge-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ls-navy-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ls-navy);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.icon-badge-btn:hover { background: var(--ls-orange); color: var(--ls-white); }
.icon-badge-btn .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--ls-coral);
  color: var(--ls-white);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ls-white);
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 12% 18%, rgba(15, 44, 82,0.16), transparent 42%),
              linear-gradient(160deg, var(--ls-navy) 0%, #0a1f38 100%);
  color: var(--ls-white);
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 44, 82,0.28), transparent 70%);
  pointer-events: none;
}
.hero .eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFD9B8;
  margin-bottom: 1.4rem;
}
.hero h1 {
  color: var(--ls-white);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
}
.hero h1 .hi-orange { color: var(--ls-orange); }
.hero p.lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 2.6rem;
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--ls-white);
}
.hero-stats .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero mock basket card */
.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-photo-wrap {
  position: relative;
  max-width: 420px;
  margin-left: auto;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  display: block;
}

/* ---------- Gradient promo banner (rotating slides) ---------- */
.promo-banner {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1200 / 675;
  max-height: 400px;
}
.promo-slide { display: none; position: absolute; inset: 0; }
.promo-slide.active { display: block; }
.promo-slide img { width: 100%; height: 100%; object-fit: contain; background: var(--ls-navy, #0F2C52); display: block; }
.promo-dots { display: flex; gap: 6px; justify-content: center; margin-top: 1rem; position: relative; z-index: 2; }
.promo-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(15, 44, 82,0.25);
  border: none;
  padding: 0;
  transition: all .2s var(--ease);
}
.promo-dots button.active { background: var(--ls-navy, #0F2C52); width: 20px; border-radius: 4px; }

/* ---------- Special offers banner ---------- */
.special-offers-banner {
  background: var(--ls-navy-tint);
  border: 1.5px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform .18s var(--ease);
}
.special-offers-banner:hover { transform: translateY(-2px); }
.special-offers-banner .so-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ls-orange);
  color: var(--ls-white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.special-offers-banner .so-text { flex: 1; }
.special-offers-banner .so-title { font-weight: 700; color: var(--ls-navy); display: block; }
.special-offers-banner .so-sub { font-size: 0.85rem; color: var(--ls-gray-500); }

/* ---------- Compact store card (Shop by Store) ---------- */
.store-card-compact {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--ls-white);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  height: 100%;
}
.store-card-compact:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.store-card-compact .store-logo-circle { width: 58px; height: 58px; font-size: 1.05rem; margin: 0; flex-shrink: 0; }
.store-card-compact .sc-name { font-weight: 700; color: var(--ls-navy); display: block; font-size: 0.92rem; }
.store-card-compact .sc-eta { font-size: 0.78rem; color: var(--ls-gray-500); }

.basket-card {
  background: var(--ls-white);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-pop);
  max-width: 340px;
  margin-left: auto;
  transform: rotate(-2deg);
  animation: floatCard 5s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-10px); }
}
.basket-card .basket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}
.basket-card .basket-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--ls-gray-100);
}
.basket-card .basket-item:last-of-type { border-bottom: none; }
.basket-thumb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ls-navy-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ls-orange);
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.basket-thumb img { width: 100%; height: 100%; object-fit: cover; }
.floating-chip {
  position: absolute;
  background: var(--ls-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  animation: floatCard 4.5s ease-in-out infinite;
}
.chip-eta { top: -18px; left: -18px; color: var(--ls-success); }
.chip-eta i { color: var(--ls-success); }
.chip-save { bottom: -14px; right: -6px; color: var(--ls-orange); animation-delay: .6s; }

/* ---------- Section wrapper ---------- */
section { padding: 4.5rem 0; }
.section-head { margin-bottom: 2.4rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--ls-gray-700); max-width: 560px; }

/* ---------- Store cards ---------- */
.store-card {
  background: var(--ls-white);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  height: 100%;
  border: 2px solid transparent;
  cursor: pointer;
}
.store-card:hover, .store-card.selected {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.store-card.selected { border-color: var(--ls-orange); }
.store-logo-circle {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--ls-white);
  box-shadow: 0 8px 22px rgba(31,41,55,0.16);
}
.store-card h5 { margin-bottom: 0.2rem; }
.store-card .store-meta { color: var(--ls-gray-500); font-size: 0.85rem; }
.store-card .store-open-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ls-success);
  margin-top: 0.6rem;
}
.store-open-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ls-success); }

/* Store brand colors */
.logo-spar { background: linear-gradient(135deg, #1c8a3e, #0f6b2c); }
.logo-shoprite { background: linear-gradient(135deg, #E5484D, #b81f24); }
.logo-checkers { background: linear-gradient(135deg, #0D2A4A, #16406e); }
.logo-woermann { background: linear-gradient(135deg, #FF6B00, #cf5500); }
.store-logo-img-wrap { background: #fff; padding: 0; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(31, 41, 55,0.08); }
.store-logo-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ---------- Category pills / cards ---------- */
.category-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ls-white);
  border: 1.5px solid var(--ls-gray-100);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ls-navy);
  white-space: nowrap;
  transition: all .18s var(--ease);
}
.category-pill i { color: var(--ls-orange); }
.category-pill:hover, .category-pill.active {
  background: var(--ls-navy);
  color: var(--ls-white);
  border-color: var(--ls-navy);
}

/* ---------- Categories list page (categories.html) ---------- */
.category-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--ls-white);
  border-radius: 20px;
  padding: 0.9rem 1.2rem 0.9rem 0.9rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  text-decoration: none;
}
.category-row:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(15,23,42,0.12); }
.category-row .cat-icon {
  width: 84px; height: 84px; font-size: 1.9rem; margin: 0; flex-shrink: 0; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: 0 6px 16px rgba(15,23,42,0.10);
}
.category-row .cat-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; transition: transform .3s var(--ease); }
.category-row:hover .cat-icon img { transform: scale(1.08); }
.category-row .cat-row-text { flex: 1; }
.category-row .cat-row-name { font-weight: 800; font-size: 1.12rem; color: var(--ls-navy); display: block; letter-spacing: -0.2px; }
.category-row .cat-row-count {
  display: inline-block; margin-top: 0.3rem;
  font-size: 0.76rem; font-weight: 700; color: var(--ls-navy);
  background: var(--ls-navy-tint); padding: 0.22rem 0.6rem; border-radius: 999px;
}
.category-row .cat-row-chevron { color: var(--ls-gray-300); font-size: 1.05rem; transition: transform .22s var(--ease); }
.category-row:hover .cat-row-chevron { transform: translateX(3px); color: var(--ls-navy); }
.category-pill:hover i, .category-pill.active i { color: var(--ls-orange); }
.category-scroll {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scrollbar-width: thin;
}
.category-scroll .category-tile { flex: 0 0 auto; width: 116px; }
.category-scroll::-webkit-scrollbar { height: 6px; }
.category-scroll::-webkit-scrollbar-thumb { background: var(--ls-gray-300); border-radius: 10px; }

.category-tile {
  background: var(--ls-white);
  border-radius: var(--radius-md);
  padding: 1.4rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  height: 100%;
}
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.category-tile .cat-icon {
  width: 84px; height: 84px;
  border-radius: 26px;
  background: var(--ls-orange-light);
  color: var(--ls-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 0.8rem;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(31,41,55,0.12);
}
.category-tile .cat-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.category-tile span { font-weight: 700; font-size: 0.92rem; }

/* Per-category accent colors — matches the design system's category icon
   swatches (Fruit & Veg green, Meat & Fish coral, Dairy cyan, Bakery
   amber, Household blue, and reasonable extensions for the rest). */
.cat-icon.cat-fruit-veg   { background: color-mix(in srgb, var(--ls-cat-fruit-veg) 16%, white);   color: var(--ls-cat-fruit-veg); }
.cat-icon.cat-meat-fish   { background: color-mix(in srgb, var(--ls-cat-meat-fish) 16%, white);   color: var(--ls-cat-meat-fish); }
.cat-icon.cat-dairy-eggs  { background: color-mix(in srgb, var(--ls-cat-dairy-eggs) 16%, white);  color: var(--ls-cat-dairy-eggs); }
.cat-icon.cat-bakery      { background: color-mix(in srgb, var(--ls-cat-bakery) 16%, white);      color: var(--ls-cat-bakery); }
.cat-icon.cat-household   { background: color-mix(in srgb, var(--ls-cat-household) 16%, white);   color: var(--ls-cat-household); }
.cat-icon.cat-pantry      { background: color-mix(in srgb, var(--ls-cat-pantry) 16%, white);      color: var(--ls-cat-pantry); }
.cat-icon.cat-snacks      { background: color-mix(in srgb, var(--ls-cat-snacks) 16%, white);      color: var(--ls-cat-snacks); }
.cat-icon.cat-frozen      { background: color-mix(in srgb, var(--ls-cat-frozen) 16%, white);      color: var(--ls-cat-frozen); }
.cat-icon.cat-baby-kids   { background: color-mix(in srgb, var(--ls-cat-baby-kids) 16%, white);   color: var(--ls-cat-baby-kids); }
.cat-icon.cat-health      { background: color-mix(in srgb, var(--ls-cat-health) 16%, white);      color: var(--ls-cat-health); }
.cat-icon.cat-beverages   { background: color-mix(in srgb, var(--ls-cat-beverages) 16%, white);   color: var(--ls-cat-beverages); }
.cat-icon.cat-pet         { background: color-mix(in srgb, var(--ls-cat-pet) 16%, white);         color: var(--ls-cat-pet); }

/* ---------- Product cards ---------- */
.product-card {
  background: var(--ls-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.product-thumb {
  background: var(--ls-navy-tint);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ls-navy);
  font-size: 2.8rem;
  position: relative;
  overflow: hidden;
}
.product-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.trending-thumb { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--ls-navy-tint); flex-shrink: 0; }
.trending-thumb .product-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.trending-thumb i { font-size: 1.1rem; color: var(--ls-navy); }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--ls-orange);
  color: var(--ls-white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--ls-gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.wishlist-btn:hover { color: var(--ls-danger); transform: scale(1.08); }
.wishlist-btn.active { color: var(--ls-danger); }

.product-info { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-store-tag { font-size: 0.72rem; font-weight: 700; color: var(--ls-gray-500); text-transform: uppercase; letter-spacing: 0.04em; }
.product-name { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; color: var(--ls-navy); line-height: 1.3; }
.product-unit { font-size: 0.78rem; color: var(--ls-gray-500); }
.product-price-row { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.2rem; }
.product-price { font-family: var(--font-display); font-weight: 800; color: var(--ls-navy); font-size: 1.15rem; }
.product-price-old { font-size: 0.82rem; color: var(--ls-gray-500); text-decoration: line-through; }
.product-add-row { margin-top: 0.7rem; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--ls-gray-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.qty-stepper button {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--ls-gray-50);
  color: var(--ls-navy);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-stepper button:hover { background: var(--ls-orange); color: var(--ls-white); }
.qty-stepper .qty-val { width: 34px; text-align: center; font-weight: 700; font-size: 0.9rem; }

.btn-add-cart {
  width: 100%;
  background: var(--ls-navy);
  color: var(--ls-white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.55rem;
  font-weight: 700;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.btn-add-cart:hover { background: var(--ls-orange); transform: translateY(-1px); }

/* ---------- Feature / how-it-works ---------- */
.feature-card {
  background: var(--ls-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.feature-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--ls-orange-light);
  color: var(--ls-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ls-orange);
  background: var(--ls-orange-light);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ls-orange), #ff8a3d);
  border-radius: var(--radius-lg);
  padding: 3rem 2.4rem;
  color: var(--ls-white);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.4' fill='%23ffffff' fill-opacity='0.25'/%3E%3C/svg%3E");
  opacity: .5;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band-navy { background: linear-gradient(120deg, var(--ls-navy), #16406e); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--ls-white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  height: 100%;
}
.testimonial-card .stars { color: var(--ls-orange); font-size: 0.85rem; margin-bottom: 0.7rem; }
.testimonial-card .quote { color: var(--ls-gray-700); font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.1rem; }
.avatar-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ls-navy);
  color: var(--ls-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
.ls-footer {
  background: var(--ls-navy);
  color: rgba(255,255,255,0.72);
  padding: 3.6rem 0 1.4rem;
}
.ls-footer h6 {
  color: var(--ls-white);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}
.ls-footer a.footer-link { display: block; color: rgba(255,255,255,0.68); padding: 0.28rem 0; font-size: 0.92rem; transition: color .18s var(--ease); }
.ls-footer a.footer-link:hover { color: var(--ls-orange); }
.ls-footer .social-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--ls-white);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.ls-footer .social-circle:hover { background: var(--ls-orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.6rem; padding-top: 1.4rem; font-size: 0.82rem; }

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: 100vh;
  display: flex;
}
.auth-side {
  background: linear-gradient(160deg, var(--ls-navy), #0a1f38);
  color: var(--ls-white);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}
.auth-side.has-photo {
  background-size: cover;
  background-position: center;
}
.auth-side.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,44,82,0.88) 0%, rgba(15,44,82,0.94) 100%);
}
.auth-side > * { position: relative; z-index: 2; }
.auth-side::after {
  content: "";
  position: absolute;
  left: -100px; bottom: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 44, 82,0.25), transparent 70%);
}
.auth-form-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: var(--ls-white);
}
.auth-card { width: 100%; max-width: 420px; }
.auth-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ls-navy); margin-bottom: 0.4rem; display: inline-flex; }
.auth-logo .brand-dot { color: var(--ls-orange); }
.auth-logo-img { height: 40px; width: auto; }

.form-label { font-weight: 600; font-size: 0.88rem; color: var(--ls-navy); }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ls-gray-100);
  padding: 0.65rem 0.9rem;
  font-size: 0.94rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--ls-orange);
  box-shadow: 0 0 0 3px rgba(15, 44, 82,0.15);
}
.input-icon-group { position: relative; }
.input-icon-group i.field-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ls-gray-500);
}
.input-icon-group .form-control { padding-left: 2.6rem; }
.input-icon-group .toggle-pw {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ls-gray-500);
  background: none;
  border: none;
  cursor: pointer;
}
.divider-or {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ls-gray-500);
  font-size: 0.82rem;
  margin: 1.4rem 0;
}
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--ls-gray-100); }
.social-auth-btn {
  width: 100%;
  border: 1.5px solid var(--ls-gray-100);
  background: var(--ls-white);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.social-auth-btn:hover { background: var(--ls-gray-50); border-color: var(--ls-gray-300); }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--ls-navy-tint);
  padding: 2.4rem 0;
}
.breadcrumb-ls { font-size: 0.85rem; font-weight: 600; }
.breadcrumb-ls a { color: var(--ls-gray-500); }
.breadcrumb-ls .current { color: var(--ls-orange); }

/* ---------- Search bar ---------- */
.search-bar-wrap {
  background: var(--ls-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  padding: 0.35rem 0.4rem 0.35rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.search-bar-wrap input {
  border: none;
  flex: 1;
  padding: 0.55rem 0;
  font-size: 0.94rem;
}
.search-bar-wrap input:focus { outline: none; box-shadow: none; }

/* ---------- Filter sidebar ---------- */
.filter-panel {
  background: var(--ls-white);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-card);
}
.filter-panel h6 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 1.1rem 0 0.7rem; }
.filter-panel h6:first-child { margin-top: 0; }
.form-check-label { font-size: 0.9rem; color: var(--ls-gray-700); }
.price-range-out { font-weight: 700; color: var(--ls-orange); font-size: 0.88rem; }

/* ---------- Cart page ---------- */
.cart-line {
  background: var(--ls-white);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 1rem;
  align-items: center;
}
.cart-thumb {
  width: 68px; height: 68px;
  border-radius: 12px;
  background: var(--ls-navy-tint);
  color: var(--ls-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  overflow: hidden;
}
.cart-thumb .product-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.remove-line-btn { color: var(--ls-gray-500); background: none; border: none; }
.remove-line-btn:hover { color: var(--ls-danger); }

.summary-card {
  background: var(--ls-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 100px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--ls-gray-700); padding: 0.4rem 0; }
.summary-row.total { font-weight: 800; font-size: 1.1rem; color: var(--ls-navy); border-top: 1.5px dashed var(--ls-gray-100); margin-top: 0.6rem; padding-top: 0.9rem; }
.promo-input-group { display: flex; gap: 0.5rem; margin: 1rem 0; }

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}
.empty-state .empty-icon {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--ls-navy-tint);
  color: var(--ls-orange);
  font-size: 2.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem;
}

/* ---------- Checkout steps ---------- */
.checkout-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 2.4rem; }
.checkout-step { display: flex; align-items: center; gap: 0.6rem; padding: 0 1.4rem; position: relative; }
.checkout-step .step-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ls-gray-100);
  color: var(--ls-gray-500);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.checkout-step.active .step-circle, .checkout-step.done .step-circle { background: var(--ls-orange); color: var(--ls-white); }
.checkout-step span.step-label { font-weight: 700; font-size: 0.85rem; color: var(--ls-gray-500); }
.checkout-step.active span.step-label, .checkout-step.done span.step-label { color: var(--ls-navy); }
.checkout-step:not(:last-child)::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--ls-gray-100);
  margin-left: 0.6rem;
}

.delivery-option {
  border: 1.5px solid var(--ls-gray-100);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.delivery-option:hover { border-color: var(--ls-orange); }
.delivery-option.selected { border-color: var(--ls-orange); background: var(--ls-orange-light); }
.payment-option {
  border: 1.5px solid var(--ls-gray-100);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 1rem;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.payment-option:hover { border-color: var(--ls-orange); }
.payment-option.selected { border-color: var(--ls-orange); background: var(--ls-orange-light); }

/* ---------- Orders ---------- */
.order-card {
  background: var(--ls-white);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.order-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.status-delivered { background: rgba(29,154,108,0.12); color: var(--ls-success); }
.status-transit { background: rgba(15, 44, 82,0.12); color: var(--ls-orange); }
.status-processing { background: rgba(31, 41, 55,0.1); color: var(--ls-navy); }
.status-cancelled { background: rgba(229,72,77,0.12); color: var(--ls-danger); }

.order-progress { display: flex; margin: 1.2rem 0; }
.order-progress .op-step { flex: 1; text-align: center; position: relative; }
.order-progress .op-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ls-gray-100);
  color: var(--ls-gray-500);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.4rem;
  font-size: 0.7rem;
  position: relative;
  z-index: 1;
}
.order-progress .op-step.done .op-dot { background: var(--ls-success); color: var(--ls-white); }
.order-progress .op-step::after {
  content: "";
  position: absolute;
  top: 13px; left: 50%;
  width: 100%; height: 2px;
  background: var(--ls-gray-100);
  z-index: 0;
}
.order-progress .op-step:last-child::after { display: none; }
.order-progress .op-step.done::after { background: var(--ls-success); }
.order-progress .op-label { font-size: 0.7rem; font-weight: 700; color: var(--ls-gray-500); }

/* ---------- Profile ---------- */
.profile-sidebar {
  background: var(--ls-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.profile-header-block {
  background: linear-gradient(135deg, var(--ls-navy), #0a1f38);
  color: var(--ls-white);
  padding: 2rem 1.4rem;
  text-align: center;
}
.profile-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--ls-orange);
  color: var(--ls-white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.8rem;
  border: 3px solid rgba(255,255,255,0.35);
}
.profile-nav .nav-link {
  color: var(--ls-navy);
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: 0;
  display: flex; align-items: center; gap: 0.7rem;
  border-left: 3px solid transparent;
}
.profile-nav .nav-link i { width: 20px; color: var(--ls-gray-500); }
.profile-nav .nav-link.active { background: var(--ls-orange-light); color: var(--ls-orange); border-left-color: var(--ls-orange); }
.profile-nav .nav-link.active i { color: var(--ls-orange); }
.profile-nav .nav-link:hover:not(.active) { background: var(--ls-gray-50); }

.info-card { background: var(--ls-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 1.6rem; }
.stat-tile { background: var(--ls-navy-tint); border-radius: var(--radius-md); padding: 1.2rem; text-align: center; }
.stat-tile .num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ls-navy); }
.stat-tile .lbl { font-size: 0.78rem; color: var(--ls-gray-500); font-weight: 600; }

.address-card {
  border: 1.5px solid var(--ls-gray-100);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
}
.address-card.default { border-color: var(--ls-orange); background: var(--ls-orange-light); }

/* ---------- Toast (custom app toast) ---------- */
.ls-toast-container { position: fixed; top: 90px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.ls-toast {
  background: var(--ls-navy);
  color: var(--ls-white);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  display: flex; align-items: center; gap: 0.7rem;
  min-width: 260px;
  animation: toastIn .28s var(--ease);
  font-size: 0.9rem;
  font-weight: 600;
}
.ls-toast i { color: var(--ls-orange); }
.ls-toast.success i { color: #4ADE80; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* ---------- Misc ---------- */
.rating-stars { color: var(--ls-orange); font-size: 0.78rem; }
.badge-brand { background: var(--ls-orange); color: var(--ls-white); font-weight: 700; }
.skeleton { background: linear-gradient(90deg, var(--ls-gray-100) 25%, var(--ls-gray-50) 37%, var(--ls-gray-100) 63%); background-size: 400% 100%; animation: skeletonShine 1.4s ease infinite; border-radius: var(--radius-sm); }
@keyframes skeletonShine { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ls-orange);
  color: var(--ls-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-pop);
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 1040;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ==========================================================================
   Price comparison (added: multi-store offers feature)
   ========================================================================== */
.product-badge.badge-best { background: var(--ls-green); }

.compare-price-link {
  border: none;
  background: none;
  padding: 0;
  margin: 0.15rem 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ls-navy-light);
  text-align: left;
}
.compare-price-link:hover { color: var(--ls-orange); }
.compare-price-link i { color: var(--ls-green); margin-right: 3px; }

.compare-modal-content { border-radius: var(--radius-lg); border: none; }
.compare-rows { display: flex; flex-direction: column; gap: 0.7rem; }
.compare-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1.5px solid var(--ls-gray-100);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.9rem;
}
.compare-row.best { border-color: var(--ls-green); background: rgba(22,196,127,0.06); }
.compare-store { display: flex; align-items: center; gap: 0.6rem; flex: 1; }
.store-logo-circle.sm { width: 40px; height: 40px; font-size: 0.85rem; margin: 0; flex-shrink: 0; }
.best-price-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.68rem; font-weight: 700; color: var(--ls-green);
}
.compare-price-block { text-align: right; min-width: 78px; }

/* ==========================================================================
   Cart: grouped by store
   ========================================================================== */
.cart-store-group { border-bottom: 1px dashed var(--ls-gray-100); padding-bottom: 0.5rem; }
.cart-store-group:last-child { border-bottom: none; }
.cart-store-heading { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.store-chip-inline {
  display: inline-block;
  background: var(--ls-navy-tint);
  color: var(--ls-navy-light);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Payment reference code box (checkout confirmation)
   ========================================================================== */
.ref-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--ls-navy);
  color: var(--ls-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}
.ref-code-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--ls-white);
}
.ref-code-box .btn-outline-brand {
  border-color: rgba(255,255,255,0.5);
  color: var(--ls-white);
}
.ref-code-box .btn-outline-brand:hover { background: var(--ls-orange); border-color: var(--ls-orange); }

/* ==========================================================================
   Wallet page
   ========================================================================== */
.wallet-balance-card {
  background: linear-gradient(135deg, var(--ls-navy) 0%, #163a63 100%);
  color: var(--ls-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.wallet-balance-card::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 44, 82,0.28), transparent 70%);
  bottom: -120px; right: -80px;
}
.wallet-balance-label { color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600; }
.wallet-balance-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; }
.wallet-action-btn {
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--ls-white);
  border-radius: var(--radius-md);
  padding: 0.8rem 0.5rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  flex: 1;
}
.wallet-action-btn i { display: block; font-size: 1.2rem; margin-bottom: 0.35rem; color: var(--ls-orange); }
.wallet-tx-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--ls-gray-100);
}
.wallet-tx-row:last-child { border-bottom: none; }
.wallet-tx-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ls-navy-tint); color: var(--ls-navy);
  flex-shrink: 0;
}
.wallet-tx-amount.positive { color: var(--ls-green); font-weight: 700; }
.wallet-tx-amount.negative { color: var(--ls-danger); font-weight: 700; }

/* ==========================================================================
   Referral / Earn page
   ========================================================================== */
.referral-hero {
  background: linear-gradient(135deg, var(--ls-navy) 0%, #163a63 100%);
  color: var(--ls-white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}
.referral-hero::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 44, 82,0.32), transparent 70%);
  top: -140px; right: -80px;
}
.referral-hero .ref-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ls-orange); }
.referral-code-share {
  background: var(--ls-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.referral-code-share .code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ls-navy);
  letter-spacing: 0.06em;
}
.ref-step { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.ref-step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ls-orange-light); color: var(--ls-orange);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0;
}

/* ==========================================================================
   Track order (map placeholder)
   ========================================================================== */
.track-map-placeholder {
  background: var(--ls-navy-tint);
  border-radius: var(--radius-md);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ls-navy-light);
  position: relative;
  overflow: hidden;
}
.track-map-placeholder i { font-size: 2rem; opacity: 0.5; }

/* ==========================================================================
   Search page
   ========================================================================== */
.recent-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ls-navy-tint);
  color: var(--ls-navy);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.recent-search-chip .remove-x { color: var(--ls-gray-500); margin-left: 0.3rem; }
.trending-search-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.2rem;
  border-bottom: 1px solid var(--ls-gray-100);
  font-weight: 600;
  color: var(--ls-navy);
}
.trending-search-item i { color: var(--ls-orange); width: 20px; }

/* ---------- Legal / static content pages (About, Terms, Privacy, etc.) ---------- */
.legal-content { padding: 2.5rem 0; line-height: 1.75; color: var(--ls-gray-700, #3f4b5a); }
.legal-content h4 { color: var(--ls-navy); font-weight: 800; }
.legal-content p { margin-bottom: 1rem; }
.legal-content a { color: var(--ls-orange); font-weight: 600; }
.legal-list { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal-list li { margin-bottom: 0.6rem; }
.legal-content .accordion-button:not(.collapsed) { color: var(--ls-orange); background: var(--ls-navy-tint); }
.legal-content .accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,0.08); }

/* ---------- Driver registration ---------- */
.vehicle-type-btn {
  border: 1.5px solid var(--ls-gray-200, #dfe4ea);
  border-radius: var(--radius-md, 14px);
  padding: 0.7rem;
  font-weight: 600;
  color: var(--ls-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
}
.btn-check:checked + .vehicle-type-btn {
  border-color: var(--ls-orange);
  background: rgba(15, 44, 82, 0.08);
  color: var(--ls-orange);
}
.success-check-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ls-success, #2ECC71);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
