/* ============================================================
   QuickPrice — Main Stylesheet
   Aesthetic: Bold Indian commerce energy — warm orange + deep teal
   ============================================================ */

:root {
  --orange: #FF5722;
  --orange-light: #FF7043;
  --orange-pale: #FFF3EF;
  --teal: #00695C;
  --teal-light: #00897B;
  --teal-pale: #E0F2F1;
  --gold: #FFC107;
  --gold-pale: #FFF8E1;
  --green: #2E7D32;
  --green-bright: #43A047;
  --red: #C62828;
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface2: #F5F5F0;
  --border: #E8E8E2;
  --text: #1A1A1A;
  --text-2: #4A4A4A;
  --text-3: #888880;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --header-h: 68px;

  /* Platform colors */
  --zepto: #8B2CF5;
  --blinkit: #F5C518;
  --instamart: #E8472E;
  --jiomart: #0277BD;
  --amazon: #FF9900;
  --bigbasket: #84BD00;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
select, input { font-family: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden { display: none !important; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,15,15,.65);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .2s ease;
}

.modal-overlay.active { display: flex; }

.modal-box {
  background: var(--surface);
  border-radius: 24px;
  padding: 40px 36px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  animation: slideUp .3s cubic-bezier(.34,1.56,.64,1);
}

.modal-box.small { max-width: 380px; padding: 32px 28px; }

.modal-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 22px;
  color: var(--orange);
  margin-bottom: 24px;
}

.modal-box h2 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.modal-box h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  margin-bottom: 16px;
}

.modal-box p { color: var(--text-2); margin-bottom: 28px; }
.modal-subtitle { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }

.modal-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; position: relative; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }

.select-wrap { position: relative; }
.select-wrap select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  appearance: none;
  transition: border-color .15s;
}
.select-wrap select:focus { outline: none; border-color: var(--orange); }
.sel-arrow {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; stroke: var(--text-3); stroke-width: 2;
  fill: none; pointer-events: none;
}

input[type="text"] {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  transition: border-color .15s;
  width: 100%;
}
input[type="text"]:focus { outline: none; border-color: var(--orange); }
input[type="text"]::placeholder { color: var(--text-3); }

.suggestions-list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  z-index: 99;
  max-height: 200px; overflow-y: auto;
  box-shadow: var(--shadow);
}
.suggestion-item {
  padding: 11px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background .12s;
  display: flex; align-items: center; gap: 8px;
}
.suggestion-item:hover { background: var(--orange-pale); }

/* Buttons */
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px;
  background: var(--orange);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 4px 12px rgba(255,87,34,.3);
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,87,34,.4); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: #ccc; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-primary svg { width: 18px; height: 18px; flex-shrink: 0; }
.full-width { width: 100%; }

.btn-ghost {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px;
  background: transparent;
  color: var(--text-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-ghost svg { width: 16px; height: 16px; }

.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ============================================================
   HEADER
   ============================================================ */
.app-header {
  position: sticky; top: 0; z-index: 500;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  height: 100%;
  display: flex; align-items: center; gap: 16px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  color: var(--orange);
  flex-shrink: 0;
  letter-spacing: -.02em;
}

.header-search-wrap { flex: 1; max-width: 560px; }

.search-bar {
  display: flex; align-items: center;
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: 100px;
  padding: 0 16px;
  gap: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.search-bar:focus-within { border-color: var(--orange); background: var(--surface); box-shadow: 0 0 0 3px rgba(255,87,34,.12); }
.search-icon { width: 18px; height: 18px; color: var(--text-3); flex-shrink: 0; }
.search-bar input {
  flex: 1; border: none; background: none;
  padding: 11px 0; font-size: 15px; color: var(--text);
}
.search-bar input:focus { outline: none; }
.search-clear {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--text-3); color: white;
  font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .12s;
}
.search-clear:hover { background: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.location-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  transition: background .15s;
  max-width: 160px;
}
.location-pill svg { width: 14px; height: 14px; flex-shrink: 0; }
.location-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.location-pill:hover { background: var(--teal-pale); filter: brightness(.95); }

.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface2);
  color: var(--text-2);
  transition: background .15s, color .15s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--orange-pale); color: var(--orange); }
.badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  background: var(--orange); color: white;
  border-radius: 9px; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--surface);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, #1A2A3A 0%, #0D1D2A 60%, #002219 100%);
  color: white;
  padding: 60px 20px 0;
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}

.hero-text { padding-bottom: 60px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,87,34,.2); border: 1px solid rgba(255,87,34,.4);
  color: #FF8A65; border-radius: 100px;
  padding: 6px 14px; font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: 54px; font-weight: 800;
  line-height: 1.1; letter-spacing: -.03em;
  margin-bottom: 16px;
}

.hero-text h1 .accent { color: var(--orange); }

.hero-text p {
  color: rgba(255,255,255,.65);
  font-size: 17px; margin-bottom: 28px;
  max-width: 440px;
}

.platform-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pbadge {
  padding: 6px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .02em;
}
.pbadge.zepto { background: rgba(139,44,245,.25); color: #CE93D8; }
.pbadge.blinkit { background: rgba(245,197,24,.2); color: #FFE082; }
.pbadge.instamart { background: rgba(232,71,46,.25); color: #FFAB91; }
.pbadge.jiomart { background: rgba(2,119,189,.25); color: #81D4FA; }
.pbadge.amazon { background: rgba(255,153,0,.2); color: #FFCC80; }
.pbadge.bb { background: rgba(132,189,0,.2); color: #DCEDC8; }

.hero-visual { position: relative; padding-bottom: 60px; }

.hero-card-float {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px; padding: 24px;
  animation: float 4s ease-in-out infinite;
}

.hcf-label { font-weight: 700; font-size: 17px; margin-bottom: 16px; }
.hcf-prices { display: flex; flex-direction: column; gap: 8px; }
.hcf-price {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-radius: 10px;
  background: rgba(255,255,255,.05);
}
.hcf-price.lowest { background: rgba(255,87,34,.15); border: 1px solid rgba(255,87,34,.3); }
.hcf-platform { font-size: 13px; color: rgba(255,255,255,.7); }
.hcf-amount { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.badge-lowest {
  background: var(--orange); color: white;
  font-size: 9px; font-weight: 800; letter-spacing: .06em;
  padding: 2px 6px; border-radius: 4px;
}
.hcf-save {
  margin-top: 14px; padding: 10px 14px;
  background: rgba(255,193,7,.15); border-radius: 8px;
  font-size: 13px; color: #FFE082;
}

.hero-stats {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative; z-index: 1;
}
.stat {
  padding: 24px 28px;
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat:last-child { border-right: none; }
.stat strong { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--orange); }
.stat span { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ============================================================
   TRENDING
   ============================================================ */
.trending-section { padding: 32px 0; }
.trending-section h3 { font-size: 14px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.trending-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 8px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  transition: all .15s;
}
.tag:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* ============================================================
   RESULTS
   ============================================================ */
.results-section { padding: 40px 0; }

.results-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.results-header h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.results-header p { color: var(--text-3); font-size: 14px; margin-top: 4px; }

.results-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

.sort-wrap { display: flex; align-items: center; gap: 8px; }
.sort-wrap label { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.sort-wrap select {
  padding: 8px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 13px; background: var(--surface);
}
.sort-wrap select:focus { outline: none; border-color: var(--orange); }

.platform-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-btn {
  padding: 6px 14px; border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 12px; font-weight: 600;
  color: var(--text-2); background: var(--surface);
  transition: all .12s;
}
.pf-btn:hover, .pf-btn.active { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }

.results-summary {
  background: var(--gold-pale);
  border: 1.5px solid rgba(255,193,7,.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px; font-weight: 500;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* Product Card */
.product-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  position: relative;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(255,87,34,.2); }

.card-platform-bar {
  height: 4px;
  width: 100%;
}

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

.card-platform-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 10px;
  padding: 3px 8px; border-radius: 4px;
}

.card-product-name { font-weight: 600; font-size: 15px; line-height: 1.3; margin-bottom: 6px; }
.card-product-sub { font-size: 13px; color: var(--text-3); margin-bottom: 16px; }

.card-price-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 4px; }
.card-price-main { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--text); }
.card-price-original { font-size: 14px; color: var(--text-3); text-decoration: line-through; }
.card-discount { font-size: 12px; font-weight: 700; color: var(--green); background: #E8F5E9; padding: 2px 6px; border-radius: 4px; }

.card-lowest-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(90deg, var(--green), #66BB6A);
  color: white;
  font-size: 11px; font-weight: 800; letter-spacing: .05em;
  padding: 3px 8px; border-radius: 100px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card-delivery { font-size: 12px; color: var(--text-3); margin-bottom: 14px; }
.card-delivery strong { color: var(--teal); }

.card-actions { display: flex; gap: 8px; }
.card-btn-add {
  flex: 1; padding: 10px;
  background: var(--orange); color: white;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  transition: background .15s;
}
.card-btn-add:hover { background: var(--orange-light); }
.card-btn-list {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-3); font-size: 18px;
  transition: all .15s;
}
.card-btn-list:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }

/* Platform color assignments */
.plat-zepto { --plat-color: var(--zepto); }
.plat-blinkit { --plat-color: var(--blinkit); }
.plat-instamart { --plat-color: var(--instamart); }
.plat-jiomart { --plat-color: var(--jiomart); }
.plat-amazon { --plat-color: var(--amazon); }
.plat-bigbasket { --plat-color: var(--bigbasket); }

.card-platform-bar { background: var(--plat-color, var(--border)); }
.card-platform-label { background: color-mix(in srgb, var(--plat-color, var(--border)) 12%, transparent); color: var(--plat-color, var(--text-3)); }

/* ============================================================
   DEALS
   ============================================================ */
.deals-section { padding: 48px 0; background: var(--surface); }

.section-header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.section-header h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; }

.live-dot {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--red); background: #FFEBEE; padding: 4px 10px; border-radius: 100px;
}
.live-dot span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  animation: pulse 1.4s ease-in-out infinite;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.deal-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.deal-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.deal-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}
.deal-off {
  position: absolute; top: 16px; right: 16px;
  background: var(--red); color: white;
  font-size: 12px; font-weight: 800;
  padding: 3px 8px; border-radius: 6px;
}
.deal-platform { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 6px; }
.deal-name { font-weight: 600; font-size: 15px; line-height: 1.3; margin-bottom: 8px; }
.deal-prices { display: flex; align-items: center; gap: 10px; }
.deal-new { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--green); }
.deal-old { font-size: 14px; color: var(--text-3); text-decoration: line-through; }
.deal-expires { font-size: 12px; color: var(--text-3); margin-top: 8px; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section { padding: 48px 0; }
.categories-section h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: 24px; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }

.cat-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all .15s;
  text-align: center;
}
.cat-card:hover { border-color: var(--orange); background: var(--orange-pale); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat-icon { font-size: 32px; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--text-2); line-height: 1.2; }

/* ============================================================
   AD BANNER
   ============================================================ */
.ad-banner {
  background: linear-gradient(90deg, #FFF8E1, #FFF3E0);
  border-top: 1px solid rgba(255,193,7,.3);
  border-bottom: 1px solid rgba(255,193,7,.3);
  padding: 14px 0;
}
.ad-inner {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.ad-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); flex-shrink: 0; }
.ad-content { flex: 1; font-size: 14px; }
.ad-cta { color: var(--orange); font-weight: 700; margin-left: 8px; }
.ad-cta:hover { text-decoration: underline; }
.ad-close { color: var(--text-3); font-size: 20px; padding: 4px 8px; flex-shrink: 0; }
.ad-close:hover { color: var(--text); }

/* ============================================================
   FOOTER
   ============================================================ */
.app-footer {
  background: #0D1D2A; color: rgba(255,255,255,.65);
  padding: 60px 0 32px;
  margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.footer-brand .logo { color: white; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.45); max-width: 260px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: background .15s; }
.footer-social a:hover { background: var(--orange); }

.footer-col h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: white; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.5); padding: 4px 0; transition: color .12s; }
.footer-col a:hover { color: var(--orange); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-note { color: rgba(255,255,255,.45) !important; margin-top: 6px; }

/* ============================================================
   LISTS PANEL
   ============================================================ */
.panel-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(2px);
}

.lists-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 380px; max-width: 100vw;
  z-index: 700;
  background: var(--surface);
  box-shadow: -8px 0 40px rgba(0,0,0,.15);
  display: flex; flex-direction: column;
  animation: slideRight .25s cubic-bezier(.34,1.56,.64,1);
}

.panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.panel-header h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.panel-close { font-size: 24px; color: var(--text-3); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.panel-close:hover { background: var(--surface2); color: var(--text); }

.panel-body { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }

.list-item-card {
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden;
}
.list-item-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface2);
  cursor: pointer;
}
.list-item-header h4 { font-weight: 600; font-size: 15px; }
.list-item-count { font-size: 12px; color: var(--text-3); background: var(--surface); padding: 2px 8px; border-radius: 10px; border: 1px solid var(--border); }
.list-product-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.list-product-row .name { flex: 1; }
.list-product-row .plat { color: var(--text-3); font-size: 12px; }
.list-product-row .price { font-weight: 700; color: var(--green); margin-left: 12px; }
.list-product-remove { color: var(--text-3); font-size: 18px; margin-left: 8px; }
.list-product-remove:hover { color: var(--red); }
.list-delete-btn { font-size: 12px; color: var(--red); margin-left: 8px; opacity: .7; }
.list-delete-btn:hover { opacity: 1; }
.empty-lists { text-align: center; color: var(--text-3); font-size: 14px; padding: 40px 20px; }

/* List choice buttons */
.list-choice-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; text-align: left;
  margin-bottom: 8px;
  transition: all .12s; background: var(--surface);
}
.list-choice-btn:hover { border-color: var(--teal); background: var(--teal-pale); color: var(--teal); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 900;
  background: #1A1A1A; color: white;
  padding: 12px 24px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  animation: toastIn .2s ease;
  white-space: nowrap;
}
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.loading-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
}
.skeleton-card {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 20px; overflow: hidden;
}
.skel { background: linear-gradient(90deg, #f0f0eb 25%, #e8e8e3 50%, #f0f0eb 75%); background-size: 400% 100%; border-radius: 6px; animation: shimmer 1.4s ease infinite; }
.skel-bar { height: 4px; margin-bottom: 16px; border-radius: 0; }
.skel-tag { height: 20px; width: 80px; margin-bottom: 12px; }
.skel-title { height: 18px; width: 80%; margin-bottom: 8px; }
.skel-sub { height: 14px; width: 50%; margin-bottom: 18px; }
.skel-price { height: 36px; width: 100px; margin-bottom: 16px; }
.skel-btn { height: 40px; width: 100%; }

/* ============================================================
   NO RESULTS
   ============================================================ */
.no-results {
  text-align: center; padding: 60px 20px; color: var(--text-3);
}
.no-results .nr-icon { font-size: 48px; margin-bottom: 16px; }
.no-results h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.no-results p { font-size: 15px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.2); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hero-text h1 { font-size: 40px; }
  .hero-text { padding-bottom: 0; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header-inner { gap: 10px; }
  .logo span { display: none; }
  .location-pill span { max-width: 80px; }
  .hero-text h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat { padding: 16px 14px; }
  .stat strong { font-size: 22px; }
  .results-header { flex-direction: column; }
  .results-controls { align-items: flex-start; }
  .lists-panel { width: 100vw; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .modal-box { padding: 28px 22px; }
}
