:root {
  /* Primary Brand */
  --brand: #FF6B35;
  --brand-dark: #E55A2B;
  --brand-light: #FFF3ED;
  
  /* Secondary */
  --accent: #4F46E5;
  --accent-dark: #3730A3;
  
  /* Neutrals */
  --bg: #F8F9FB;
  --surface: #FFFFFF;
  --surface-2: #F1F3F5;
  --text: #1A1A2E;
  --text-2: #4A4A5A;
  --muted: #6B7280;
  --line: #E5E7EB;
  
  /* Semantic */
  --green: #059669;
  --red: #EF4444;
  --gold: #F59E0B;
  
  /* Store Colors */
  --amazon: #FF9900;
  --flipkart: #2874F0;
  --myntra: #FF3F6C;
  --official: #00B27A;
  
  /* Typography */
  --font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: 10px;
  --text-sm: 12px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 22px;
  --text-3xl: 28px;
  
  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  
  /* Legacy (keep for backward compatibility) */
  --max: 1200px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Noto Sans", "Noto Sans Devanagari", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 8px; top: -48px; z-index: 50;
  background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 8px; }

/* ── HEADER ────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 10px; padding-bottom: 10px;
}
.hamburger-btn {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; color: var(--text);
  transition: background .15s;
}
.hamburger-btn:hover { background: var(--surface-2); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand); color: #fff;
  font-size: 18px; font-weight: 800;
}
.brand h1 { font-size: 17px; margin: 0; font-weight: 700; color: var(--brand-dark); }
.tagline { margin: 0; color: var(--muted); font-size: 12px; }
.top-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.icon-btn:hover { border-color: var(--brand); background: var(--brand-light); }
.search-container {
  position: relative;
}
.header-search-input {
  width: 180px; padding: 8px 12px; font-size: 13px;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px;
  transition: width .2s, border-color .15s;
}
.header-search-input:focus {
  outline: none; border-color: var(--brand);
}
/* ── LIVE CLOCK CARD (Modern Dual-Chip Capsule) ──────── */
.live-clock-card {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 3px 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all .2s ease;
  user-select: none;
}
.live-clock-card:hover {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
}
.clock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.date-chip {
  background: var(--surface-2);
  color: var(--text-2);
}
.date-chip .clock-svg {
  color: var(--brand);
  flex-shrink: 0;
}
.clock-divider {
  width: 1px;
  height: 14px;
  background: var(--line);
  margin: 0 2px;
}
.time-chip {
  background: #ECFDF5;
  color: #065F46;
}
.live-beacon {
  position: relative;
  width: 8px;
  height: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.beacon-core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
}
.beacon-ring {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #10B981;
  opacity: 0.75;
  animation: beacon-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes beacon-ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  75%, 100% { transform: scale(1.6); opacity: 0; }
}
.clock-val {
  font-family: ui-monospace, SFMono-Regular, "Roboto Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
[data-theme="dark"] .live-clock-card {
  background: #111111;
  border-color: #262626;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .live-clock-card:hover {
  border-color: rgba(124, 138, 255, 0.4);
}
[data-theme="dark"] .date-chip {
  background: #1A1A1A;
  color: #D1D5DB;
}
[data-theme="dark"] .time-chip {
  background: rgba(5, 150, 105, 0.15);
  color: #34D399;
}
[data-theme="dark"] .clock-divider {
  background: #262626;
}
@media (max-width: 768px) {
  .topbar-in { flex-wrap: wrap; }
  .live-clock-card { order: 3; width: 100%; justify-content: center; margin-top: 4px; }
}
/* ── MOBILE MENU ────────────────────────────── */
.mobile-menu {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--surface); z-index: 100;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
}
.mobile-menu.is-open {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; border-bottom: 1px solid var(--line);
}
.mobile-menu-header h2 { font-size: 16px; margin: 0; }
.mobile-menu-close {
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; color: var(--text);
  transition: background .15s;
}
.mobile-menu-close:hover { background: var(--surface-2); }
.mobile-menu-content { padding: 16px; }
.mobile-menu-section { margin-bottom: 24px; }
.mobile-menu-section h3 {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin: 0 0 12px;
}
.mobile-menu-section ul {
  list-style: none; margin: 0; padding: 0;
}
.mobile-menu-section li {
  margin-bottom: 4px;
}
.mobile-menu-section button {
  width: 100%; text-align: left; padding: 10px 12px;
  background: none; border: none; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text);
  cursor: pointer; transition: background .15s;
}
.mobile-menu-section button:hover { background: var(--surface-2); }
.mobile-menu-section button[aria-pressed="true"] {
  background: var(--brand-light); color: var(--brand);
}
.mobile-social-links {
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-social-links a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: var(--text);
  font-size: 14px; font-weight: 600;
  transition: background .15s;
}
.mobile-social-links a:hover { background: var(--surface-2); }
.mobile-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,.4); z-index: 99;
}
.mobile-menu-overlay.is-visible { display: block; }
@media (max-width: 768px) {
  .hamburger-btn { display: inline-flex; }
  .live-clock-card { display: none; }
}
@media (min-width: 769px) {
  .mobile-menu { display: none; }
}
@media (max-width: 640px) {
  .search-container {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); padding: 8px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    z-index: 21;
  }
  .search-container.is-open { display: block; }
  .search-container:not(.is-open) { display: none; }
  .header-search-input { width: 100%; }
  .search-toggle { display: inline-flex; }
}
@media (min-width: 641px) {
  .search-toggle { display: none; }
  .header-search-input { width: 180px; }
}
.social {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 12px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); text-decoration: none;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.social:hover { border-color: var(--brand); transform: translateY(-1px); box-shadow: var(--shadow-lg); color: var(--brand); }
.social svg { display: block; flex: none; }
.social-wa { border-color: #86EFAC; background: #F0FDF4; color: #15803D; }
.social-wa:hover { border-color: #22C55E; color: #15803D; }
html[data-theme="dark"] .social-wa { background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.4); color: #4ADE80; }
.promo-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.promo-btn-wa { background: #22C55E; color: #fff; }
.footer-follow { margin: 8px 0 0; }
.footer-follow a { color: inherit; font-weight: 700; }
.wa-float {
  position: fixed; right: 16px; bottom: 72px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #22C55E; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(34,197,94,.45);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
@media (max-width: 640px) {
  .social span { display: none; }
  .social { padding: 8px; border-radius: 50%; }
}

select, input[type="search"] {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; font-size: 14px;
}
input[type="search"] { width: 100%; }
select:focus-visible, input:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  border-radius: 10px; padding: 9px 14px; font-size: 13px;
}
.btn-tg { background: #229ED9; color: #fff; white-space: nowrap; }
.btn-buy {
  background: var(--brand); color: #fff; text-align: center;
  padding: 11px; font-size: 14px; font-weight: 700; width: 100%;
  border: none; border-radius: 8px; cursor: pointer;
  transition: background .15s;
}
.btn-buy:hover { background: var(--brand-dark); }

.btn-theme {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; font-size: 15px; cursor: pointer; line-height: 1;
}
.btn-theme:hover { border-color: var(--brand); }
.theme-corner {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}

/* ── DARK MODE (New Design) ──────────────────────────── */
html[data-theme="dark"] {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --text: #F5F5F5;
  --text-2: #CFCFCF;
  --muted: #8E8E8E;
  --line: #262626;
  --brand: #FF8C5A;
  --brand-dark: #FFA57A;
  --brand-light: rgba(255, 107, 53, 0.1);
  --shadow: 0 1px 3px rgba(0,0,0,.9);
  --shadow-lg: 0 4px 14px rgba(0,0,0,.9);
  color-scheme: dark;
}

/* Dark mode specific overrides for new components */
html[data-theme="dark"] .topbar { border-bottom-color: var(--line); }
html[data-theme="dark"] .hero-new,
html[data-theme="dark"] .hero-pro {
  background: linear-gradient(135deg, #0a0a0a 0%, #111 55%, #0a1a12 100%);
  border-color: var(--line);
}
html[data-theme="dark"] .hero-stat-card {
  background: var(--surface);
  border-color: var(--line);
}
html[data-theme="dark"] .cat-tile { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .cat-tile[aria-pressed="true"] { background: var(--brand-light); }
html[data-theme="dark"] .card { border-color: var(--line); box-shadow: none; }
html[data-theme="dark"] .card:hover { border-color: rgba(255, 140, 90, 0.55); }
html[data-theme="dark"] .card-media { background: #000; }
html[data-theme="dark"] .trend-card { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .hero-btn-secondary { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .footer { background: var(--surface); }
html[data-theme="dark"] .search-container { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .mobile-menu { background: var(--surface); }
html[data-theme="dark"] .mobile-menu-links a:hover { background: var(--surface-2); }
html[data-theme="dark"] .brand h1,
html[data-theme="dark"] .hero h2 { color: var(--text); }
html[data-theme="dark"] .card {
  border-color: #262626;
  box-shadow: none;
}
html[data-theme="dark"] .card:hover {
  border-color: rgba(124,138,255,.55);
  box-shadow: none;
}
html[data-theme="dark"] .card-title { color: var(--text); }
html[data-theme="dark"] .card-media {
  background: #000000;
  border-bottom-color: var(--line);
}
html[data-theme="dark"] .carousel-btn {
  background: rgba(0,0,0,.9); color: var(--text); border-color: var(--line);
}
html[data-theme="dark"] .carousel-btn:hover { background: #101010; }
html[data-theme="dark"] .carousel-dots span { background: rgba(255,255,255,.25); }
html[data-theme="dark"] .chip-name { color: var(--text); }
html[data-theme="dark"] .chip-price { color: var(--text); }
html[data-theme="dark"] .platforms-title { color: var(--muted); }
html[data-theme="dark"] .feat-pill { background: var(--surface-2); color: var(--text-2); border-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .save { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.35); }
html[data-theme="dark"] .platform-chip:hover { background: #101010; }
html[data-theme="dark"] .platform-chip.best { background: rgba(5,150,105,.15); }
html[data-theme="dark"] .topbar { box-shadow: 0 1px 4px rgba(0,0,0,.4); }

/* ── HERO ──────────────────────────────────── */
.hero { padding: 22px 0 4px; }
.hero h2 { font-size: 22px; margin: 0; color: var(--brand-dark); }

/* ── TRUST BAR ─────────────────────────────── */
.trust {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  list-style: none; margin: 10px 0 0; padding: 0;
  font-size: 13px; color: var(--text-2);
}
.trust li { display: flex; align-items: center; gap: 5px; }
.trust li span:first-child { color: var(--green); font-weight: 700; }

/* ── CONTROLS ──────────────────────────────── */
.controls { display: grid; gap: 10px; padding: 10px 0 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; cursor: pointer; font-weight: 500;
}
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.meta { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
/* ── SORT + DISCOUNT FILTER ROW ─────────────── */
.filter-row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px 14px; margin-top: 10px;
}
.sort-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
}
.sort-label select {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 600;
  font-family: inherit; cursor: pointer;
}
.sort-label select:hover { border-color: var(--brand); }
.empty { text-align: center; color: var(--muted); padding: 36px 0; }

/* ── GRID — 4 cards/row desktop, 2 cards/row mobile ── */
.grid {
  display: grid; gap: 20px; padding: 16px 0 24px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 380px) {
  .grid { gap: 10px; }
}

/* ── CARD — Premium Flipkart & Amazon Style ─ */
.card {
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
  scroll-margin-top: 80px;
  position: relative;
}
.card:hover {
  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-3px);
}
.card.flash { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ── IMAGE CAROUSEL (Controlled Compact Height) */
.card-media {
  position: relative;
  background: radial-gradient(ellipse at center, #FFFFFF 0%, #F1F5F9 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.carousel-track {
  display: flex; width: 100%; height: 100%;
  transition: transform .3s ease;
}
.carousel-track img {
  min-width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px 24px;
  user-select: none; -webkit-user-drag: none;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  color: var(--text); font-size: 13px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.1); z-index: 4;
  transition: background .15s, transform .15s;
}
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 4;
}
.carousel-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(0,0,0,.2); transition: background .2s, width .2s;
}
.carousel-dots span.active { background: var(--brand); width: 14px; border-radius: 3px; }

/* ── OVERLAY BADGES ────────────────────────── */
.badge-discount {
  position: absolute; top: 10px; left: 10px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #fff; font-weight: 800; font-size: 11px;
  border-radius: 6px; padding: 3px 8px; z-index: 5;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
  letter-spacing: 0.3px;
}
.badge-deal-no {
  position: absolute; top: 10px; right: 10px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-weight: 700; font-size: 10px;
  border-radius: 6px; padding: 3px 7px; z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.5px;
}
.badge-rating {
  position: absolute; bottom: 8px; left: 10px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-weight: 700; font-size: 11px;
  border-radius: 6px; padding: 2px 7px; z-index: 5;
  display: flex; align-items: center; gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.star-icon { color: #F59E0B; }
.rate-count { color: #94A3B8; font-weight: 500; font-size: 10px; }
.badge-lowest {
  position: absolute; bottom: 8px; right: 10px;
  background: #059669; color: #fff; font-weight: 700; font-size: 10px;
  border-radius: 6px; padding: 2px 7px; z-index: 5;
  letter-spacing: .2px;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.3);
}

/* ── CARD BODY ─────────────────────────────── */
.card-body {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 14px; flex: 1;
}
.card-meta-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.meta-left {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.card-brand-tag {
  font-size: 10px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.6px;
}
.badge-hot-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  font-size: 9.5px;
  font-weight: 800;
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: 0.3px;
  line-height: 1.4;
  white-space: nowrap;
}
[data-theme="dark"] .badge-hot-tag {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border-color: rgba(239, 68, 68, 0.35);
}
.card-posted-tag {
  font-size: 10px; font-weight: 600; color: var(--muted);
  background: var(--surface-2); padding: 2px 7px;
  border-radius: 5px; border: 1px solid var(--line);
  letter-spacing: 0.2px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 3px;
}
[data-theme="dark"] .card-posted-tag {
  background: rgba(255, 255, 255, 0.06);
  color: #94A3B8;
}
.card-title {
  margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35;
  color: #0F172A;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── PRICE SECTION (High Impact) ───────────── */
.price-row {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin: 2px 0 0;
}
.mrp { color: var(--muted); text-decoration: line-through; font-size: 13px; font-weight: 500; }
.price { color: #059669; font-size: 24px; font-weight: 800; line-height: 1; }
.save {
  background: #ECFDF5; color: #047857; font-weight: 700; font-size: 11px;
  border-radius: 6px; padding: 2px 7px; border: 1px solid #A7F3D0;
}

/* ── KEY FEATURES (Compact Highlight Pills) ─ */
.feat-pills {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin: 2px 0 4px;
}
.feat-pill {
  background: var(--surface-2); color: #334155;
  font-size: 10px; font-weight: 600;
  padding: 3px 7px; border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.05);
  white-space: nowrap; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
}
.feat-pill::before {
  content: "✓ "; color: #059669; font-weight: 800;
}

/* ── PLATFORM PRICE COMPARISON (Compact 2-Col Grid) */
.platforms-section {
  border-top: 1px dashed var(--line);
  margin-top: 4px; padding-top: 6px;
}
.platforms-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 5px;
}
.platforms-title {
  font-size: 10px; font-weight: 800; color: #64748B;
  text-transform: uppercase; letter-spacing: .5px;
}
.platforms-count {
  font-size: 10px; font-weight: 700; color: var(--brand);
}
.platform-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}
.platform-chip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px; padding: 4px 7px; border-radius: 7px;
  background: var(--surface-2); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: border-color .15s, background .15s, transform .12s;
  height: 28px;
}
.platform-chip:hover {
  border-color: var(--brand); background: #EEF2FF;
  transform: translateY(-1px);
}
.platform-chip.best {
  border-color: #86EFAC; background: #F0FDF4;
}
.chip-left {
  display: flex; align-items: center; gap: 5px;
  min-width: 0; flex: 1;
}
.chip-logo-img {
  width: 16px; height: 16px; object-fit: contain;
  flex-shrink: 0; border-radius: 3px;
}
.chip-logo-fallback {
  width: 16px; height: 16px; border-radius: 3px;
  background: #CBD5E1; color: #fff; font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chip-name {
  font-size: 10px; font-weight: 600; color: #1E293B;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chip-right {
  display: flex; align-items: center; gap: 3px;
  flex-shrink: 0;
}
.chip-price {
  font-size: 11px; font-weight: 700; color: #0F172A;
}
.platform-chip.best .chip-price {
  color: #059669;
}
.chip-best-pill {
  background: #059669; color: #fff; font-size: 8px; font-weight: 800;
  border-radius: 3px; padding: 1px 3px; letter-spacing: 0.3px;
}

/* ── CARD FOOTER (High-Conversion CTA) ─────── */
.card-footer {
  padding: 0 14px 12px;
}
.btn-buy-full {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  background: linear-gradient(135deg, #FB641B 0%, #E65100 100%);
  color: #fff;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.3px; text-transform: uppercase;
  padding: 10px 14px; border: none; border-radius: 10px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 3px 10px rgba(251, 100, 27, 0.28);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn-buy-full:hover {
  filter: brightness(1.05);
  box-shadow: 0 5px 16px rgba(251, 100, 27, 0.42);
  transform: translateY(-1px);
}

/* Store-Colored Buy Buttons */
.btn-buy-full[data-store="Amazon"] {
  background: linear-gradient(135deg, #FF9900 0%, #E68A00 100%);
  box-shadow: 0 3px 10px rgba(255, 153, 0, 0.28);
}
.btn-buy-full[data-store="Amazon"]:hover {
  box-shadow: 0 5px 16px rgba(255, 153, 0, 0.42);
}
.btn-buy-full[data-store="Flipkart"] {
  background: linear-gradient(135deg, #2874F0 0%, #1E5FC0 100%);
  box-shadow: 0 3px 10px rgba(40, 116, 240, 0.28);
}
.btn-buy-full[data-store="Flipkart"]:hover {
  box-shadow: 0 5px 16px rgba(40, 116, 240, 0.42);
}
.btn-buy-full[data-store="Myntra"] {
  background: linear-gradient(135deg, #FF3F6C 0%, #E03560 100%);
  box-shadow: 0 3px 10px rgba(255, 63, 108, 0.28);
}
.btn-buy-full[data-store="Myntra"]:hover {
  box-shadow: 0 5px 16px rgba(255, 63, 108, 0.42);
}
.btn-buy-full[data-store="Official"] {
  background: linear-gradient(135deg, #00B27A 0%, #009966 100%);
  box-shadow: 0 3px 10px rgba(0, 178, 122, 0.28);
}
.btn-buy-full[data-store="Official"]:hover {
  box-shadow: 0 5px 16px rgba(0, 178, 122, 0.42);
}
.btn-buy-price {
  background: rgba(0, 0, 0, 0.18);
  padding: 2px 7px; border-radius: 6px;
  font-size: 12px;
}
.card-sub-info {
  font-size: 9px; color: var(--muted); margin: 6px 0 0;
  text-align: center; letter-spacing: 0.2px;
}

/* ── FOOTER ────────────────────────────────── */
/* ── FOOTER (New Design) ────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  margin-top: var(--space-8);
  padding: var(--space-12) 0 var(--space-8);
  background: var(--surface);
}
.footer-about {
  margin-bottom: var(--space-8);
}
.footer-about h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--space-3);
}
.footer-about p {
  font-size: var(--text-base);
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
  max-width: 600px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  font-size: var(--text-base);
  padding: var(--space-1) 0;
  min-height: 32px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--space-6);
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
}
.footer-bottom .disclaimer { margin-top: var(--space-2); font-size: var(--text-xs); }

/* Mobile Footer */
@media (max-width: 768px) {
  .footer { padding: var(--space-8) 0 var(--space-6); }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ── VERIFIED DEALS SECTION HEAD ──────────── */
.section-head { margin: var(--space-8) 0 var(--space-4); }
.section-head h2 { font-size: var(--text-2xl); margin: 0 0 var(--space-2); color: var(--text); }
.honesty-note { margin: 0; font-size: var(--text-sm); color: var(--muted); max-width: 640px; }

/* Tablet footer: 4 columns get tight */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── CARD DETAILS LINK ────────────────────── */
.card-details-link {
  display: inline-block; margin-top: var(--space-2);
  font-size: var(--text-sm); font-weight: 700; color: var(--accent);
  text-decoration: none; min-height: 32px; line-height: 32px;
}
.card-details-link:hover { color: var(--accent-dark); text-decoration: underline; }

/* ── SHORTCUT TILES ───────────────────────── */
.go-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3); margin: var(--space-6) 0 0;
}
.go-tile {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-3); min-height: 52px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  font: inherit; font-size: var(--text-base); font-weight: 700; color: var(--text);
  text-decoration: none; cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.go-tile:hover { border-color: var(--brand); transform: translateY(-1px); }

/* ── LINK TRACKER ─────────────────────────── */
.track-box { display: flex; gap: var(--space-2); margin-top: var(--space-4); max-width: 560px; }
.track-box input {
  flex: 1; min-width: 0; padding: 10px 14px; min-height: 44px;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  font: inherit; font-size: var(--text-base);
  background: var(--surface); color: var(--text);
}
.track-miss { margin: var(--space-2) 0 0; font-size: var(--text-sm); color: var(--text-2); }
.track-miss a { color: var(--accent); font-weight: 700; }
@media (max-width: 768px) {
  .go-tiles { grid-template-columns: repeat(2, 1fr); }
  .track-box { flex-direction: column; }
}

/* ── SEARCH SUGGESTIONS ───────────────────── */
/* Sticky controls bar is already positioned; search box needs anchoring. */
.search-container { position: relative; }
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 200;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  overflow: hidden; max-height: 320px; overflow-y: auto;
}
.search-container .suggest { min-width: 260px; }
.suggest-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  width: 100%; padding: var(--space-2) var(--space-3);
  background: none; border: none; border-bottom: 1px solid var(--line);
  cursor: pointer; text-align: left; font: inherit; min-height: 44px;
}
.suggest-row:last-child { border-bottom: none; }
.suggest-row:hover { background: var(--surface-2); }
.suggest-name {
  font-size: var(--text-sm); color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1;
}
.suggest-price { font-size: var(--text-sm); font-weight: 800; color: var(--brand); flex-shrink: 0; }

/* ── 404 PAGE ─────────────────────────────── */
.notfound { text-align: center; padding: var(--space-12) var(--space-4); }
.notfound-emoji { font-size: 56px; }
.notfound h1 { font-size: var(--text-3xl); color: var(--text); margin: var(--space-4) 0 var(--space-2); }
.notfound p { color: var(--text-2); margin: 0 auto var(--space-6); max-width: 460px; }
.notfound-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ── BREADCRUMB ───────────────────────────── */
.crumbs {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); color: var(--muted);
  margin: var(--space-4) 0; flex-wrap: wrap;
}
.crumbs a { color: var(--accent); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs #crumbName {
  color: var(--text-2); max-width: 420px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* ── PRODUCT DETAIL PAGE ──────────────────── */
.pdp-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-8); align-items: start; margin-bottom: var(--space-8);
}
.pdp-gallery { display: flex; flex-direction: column; gap: var(--space-3); }
.pdp-main {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
}
.pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
.pdp-thumbs img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; cursor: pointer;
  border: 2px solid var(--line); border-radius: var(--radius-md); background: var(--surface);
}
.pdp-thumbs img.active { border-color: var(--brand); }
/* Empty image slot: dashed placeholder the owner fills from the dashboard. */
.slot-empty {
  border: 2px dashed var(--line); border-radius: var(--radius-md);
  background: var(--surface-2); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: var(--space-3);
  min-height: 72px; width: 100%; height: 100%;
  font-size: var(--text-xs); font-weight: 600;
}
.pdp-main .slot-empty { aspect-ratio: auto; font-size: var(--text-sm); }
.pdp-title { font-size: var(--text-2xl); line-height: 1.35; margin: 0 0 var(--space-2); color: var(--text); }
.pdp-verdict {
  background: var(--brand-light); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: var(--space-3) var(--space-4);
  font-size: var(--text-base); font-weight: 600; color: var(--text);
  margin: var(--space-3) 0;
}
.pdp-h { font-size: var(--text-lg); margin: var(--space-4) 0 var(--space-2); color: var(--text); }
.pdp-buybox {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-4); background: var(--surface); margin-top: var(--space-3);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.pdp-buybox .pdp-h { margin-top: 0; }
.pdp-buy { margin-top: var(--space-2); }
.pdp-features {
  border-top: 1px solid var(--line); padding-top: var(--space-4); margin-bottom: var(--space-8);
}
.pdp-features ul { margin: var(--space-2) 0 0 var(--space-5); color: var(--text-2); }
.pdp-features li { margin-bottom: var(--space-2); font-size: var(--text-base); }
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; }
}

/* ── WISHLIST ─────────────────────────────── */
.meta-right { display: inline-flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.wish-btn {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: 19px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .15s, color .15s, border-color .15s, background .15s;
}
.wish-btn:hover { transform: scale(1.1); border-color: var(--brand); }
.wish-btn[aria-pressed="true"] {
  color: #E11D48; border-color: #FECDD3; background: #FFF1F2;
}
html[data-theme="dark"] .wish-btn[aria-pressed="true"] {
  background: rgba(225, 29, 72, 0.15); border-color: rgba(225, 29, 72, 0.5);
}
.wish-save-btn {
  width: 100%; min-height: 44px; margin-top: var(--space-2);
  border-radius: var(--radius-md); border: 1px solid var(--line);
  background: var(--surface); color: var(--text);
  font: inherit; font-size: var(--text-base); font-weight: 700;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.wish-save-btn:hover { border-color: var(--brand); }
.wish-save-btn[aria-pressed="true"] {
  color: #E11D48; border-color: #FECDD3; background: #FFF1F2;
}
html[data-theme="dark"] .wish-save-btn[aria-pressed="true"] {
  background: rgba(225, 29, 72, 0.15); border-color: rgba(225, 29, 72, 0.5);
}
.chip-saved[aria-pressed="true"] {
  background: #FFF1F2; border-color: #FECDD3; color: #E11D48;
}

/* ── WATCHED PRICE DROP ───────────────────── */
.badge-drop-tag {
  background: #059669; color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.4px;
  border-radius: 5px; padding: 2px 8px;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.35);
}

h2 { font-size: 18px; margin: 18px 0 0; }

/* ── PRICE ANIMATIONS ──────────────────────── */
@keyframes strike {
  0% { width: 0; }
  100% { width: 100%; }
}
@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.anim-strike {
  position: relative;
  display: inline-block;
}
.anim-strike::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 2px;
  background: var(--red);
  animation: strike .5s ease .4s forwards;
}

.anim-price {
  animation: fadeSlideUp .5s ease .2s both, countPulse .3s ease .9s both;
}

/* ── PLATFORM LOGO IMAGE ────────────────────── */
.platform-logo {
  overflow: hidden;
}
.platform-logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* ── CARD ENTRANCE ANIMATION ────────────────── */
@keyframes cardIn {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
.card {
  animation: cardIn .35s ease both;
}

/* ── ENDED DEAL CARD (tombstone / unknown ID) ── */
.ended-card {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  margin: 16px 0 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.ended-emoji { font-size: 40px; line-height: 1; }
.ended-title { margin: 0; font-size: 20px; }
.ended-name { margin: 0; font-weight: 700; color: var(--brand-dark); }
.ended-reason { margin: 0; color: var(--text-2); font-size: 14px; max-width: 560px; }
.ended-meta { margin: 0; color: var(--muted); font-size: 12px; }
.ended-card .btn-buy-full { max-width: 340px; margin-top: 8px; }
.ended-alt { text-decoration: none; }
button.ended-explore { cursor: pointer; }

/* ── PRO HERO (headline + live stats) ── */
.hero-pro {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--surface) 55%, #ECFDF5 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px 24px;
  margin: 16px 0 4px;
  position: relative;
  overflow: hidden;
}
.hero-pro::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-kicker {
  margin: 0 0 6px; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--brand);
}
.hero-pro h2 { font-size: 26px; margin: 0; color: #1A1A2E; line-height: 1.2; }
.hero-sub { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 16px 0 0; padding: 0;
}
.hero-stat-card {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 16px; min-width: 100px;
}
.hero-stat-card strong {
  font-size: 20px; font-weight: 800; color: var(--text);
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.hero-stat-card span {
  font-size: 12px; color: var(--muted); font-weight: 500;
}
.hero-ctas {
  display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap;
}
.hero-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 10px;
  min-height: 44px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  cursor: pointer;
}
.hero-btn-primary {
  background: var(--brand); color: #fff;
  border: 1px solid var(--brand);
}
.hero-btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.hero-btn-secondary {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line);
}
.hero-btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
html[data-theme="dark"] .hero-pro {
  background: linear-gradient(135deg, #171110 0%, #000 55%, #04120c 100%);
}
html[data-theme="dark"] .hero-pro h2 { color: var(--text); }
html[data-theme="dark"] .hero-stat-card { background: var(--surface-2); }
html[data-theme="dark"] .hero-btn-secondary { background: var(--surface-2); }

/* ── CATEGORY TILES ─────────────────────────────── */
.cat-tiles {
  display: grid; gap: 10px;
  grid-template-columns: repeat(6, 1fr);
  padding: 14px 0 4px;
}
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 6px 10px;
  min-height: 90px; min-width: 44px;
  cursor: pointer; font-family: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  box-shadow: var(--shadow);
}
.cat-tile:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.cat-tile[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-light); box-shadow: var(--shadow-lg); }
html[data-theme="dark"] .cat-tile[aria-pressed="true"] { background: rgba(124,138,255,.12); }
.cat-tile svg { width: 24px; height: 24px; color: var(--brand); }
.cat-tile span { font-size: 12px; font-weight: 700; color: var(--text); }
.cat-tile small { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ── TRENDING (New Design) ─────────────────────────────── */
.trend { margin: var(--space-5) 0 0; }
.trend-head h2 { font-size: var(--text-xl); margin: 0; color: var(--text); }
.trend-head h2::before { content: "🔥 "; }
.trend-head p { margin: var(--space-1) 0 0; font-size: var(--text-sm); color: var(--muted); }
.trend-row {
  display: grid; gap: var(--space-3); padding: var(--space-3) 2px 6px;
  grid-auto-flow: column;
  grid-auto-columns: 200px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.trend-card {
  scroll-snap-align: start;
  display: flex; gap: var(--space-3); align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--space-3);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, transform .15s;
  height: 100px;
  min-height: 100px;
}
.trend-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.trend-card img {
  width: 64px; height: 64px; object-fit: contain;
  background: var(--surface-2); border-radius: var(--radius-md); flex-shrink: 0;
}
.trend-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.trend-name {
  font-size: var(--text-sm); font-weight: 700; line-height: 1.3;
  color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.trend-price { font-size: 14px; font-weight: 800; color: var(--green); }
.trend-off {
  font-size: var(--text-xs); font-weight: 800; color: #DC2626;
  background: #FEF2F2; border-radius: var(--radius-sm); padding: 1px 6px;
  align-self: flex-start;
}
html[data-theme="dark"] .trend-off { background: rgba(239,68,68,.12); }
html[data-theme="dark"] .trend-card { background: var(--surface); border-color: var(--line); }

/* Mobile Trending */
@media (max-width: 768px) {
  .trend-row { grid-auto-columns: 160px; gap: var(--space-2); }
  .trend-card { height: 80px; min-height: 80px; padding: var(--space-2); }
  .trend-card img { width: 48px; height: 48px; }
  .trend-name { font-size: var(--text-xs); }
  .trend-price { font-size: 12px; }
}

/* ── STICKY CONTROLS ────────────────────────────── */
.controls-sticky {
  position: sticky; top: 0; z-index: 15;
  background: var(--bg);
  padding: 10px 0;
  margin: 6px 0 0;
}
.controls-sticky::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .2s;
}
.controls-sticky.is-stuck::after { opacity: 1; }

/* ── PROMO BANNER ───────────────────────────────── */
.promo { margin: 8px 0 4px; }
.promo-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: linear-gradient(120deg, #1E1B4B 0%, #4F46E5 60%, #059669 130%);
  border-radius: 20px; padding: 24px 26px; color: #fff;
  box-shadow: var(--shadow-lg);
}
.promo-copy h2 { margin: 0; font-size: 20px; color: #fff; }
.promo-copy p { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,.82); }
.promo-btn {
  background: #fff; color: #3730A3;
  font-weight: 800; font-size: 14px; text-decoration: none;
  padding: 12px 22px; border-radius: 12px; white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.promo-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.3); }

/* ── VARIANT CHIPS (colour/size options) ────────── */
.variant-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center; margin: 0 0 8px;
}
.variant-row::before {
  content: "Options:";
  font-size: 10px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .4px;
}
.variant-chip {
  font-family: inherit; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text-2);
  cursor: pointer; max-width: 140px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.variant-chip:hover { border-color: var(--brand); }
.variant-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
/* Options never stack into a wall: one scrollable row, chips keep shape */
.variant-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.variant-row::before { flex-shrink: 0; }
.variant-chip { flex-shrink: 0; }

@media (max-width: 768px) {
  .hero-pro { padding: 22px 20px; }
  .hero-pro h2 { font-size: 23px; }
  .hero-stats { gap: 8px; }
  .hero-stat-card { min-width: 90px; }
}
@media (max-width: 900px) {
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .hero-pro { padding: 20px 18px; }
  .hero-pro h2 { font-size: 21px; }
  .hero-stats { gap: 8px; }
  .hero-stat-card { min-width: 80px; padding: 8px 12px; }
  .hero-stat-card strong { font-size: 17px; }
  .hero-ctas { flex-direction: column; }
  .hero-btn { justify-content: center; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .promo-in { padding: 20px; }
  .promo-copy h2 { font-size: 17px; }
}

/* ── 2-COL MOBILE CARDS — compact so two fit neatly ── */
@media (max-width: 900px) {
  .carousel { height: 140px; }
  .carousel-track img { padding: 8px 12px; }
  .card-body { padding: 10px; gap: 5px; }
  .card-meta-row { flex-wrap: wrap; }
  .card-title { font-size: 13px; }
  .price { font-size: 20px; }
  .mrp { font-size: 12px; }
  .platform-grid { grid-template-columns: 1fr; }
  .card-footer { padding: 0 10px 10px; }
  .btn-buy-full { padding: 9px 10px; font-size: 11px; }
}

/* ── QUICK VIEW MODAL ─────────────────────────── */
.qv-open { cursor: pointer; }
.qv-back {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15, 23, 42, 0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.qv-back[hidden] { display: none; }
.qv-sheet {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 880px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.qv-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text); font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.qv-close:hover { border-color: var(--brand); }
.qv-gallery { padding: 18px; border-right: 1px solid var(--line); }
.qv-main {
  width: 100%; height: 340px; object-fit: contain;
  background: radial-gradient(ellipse at center, #FFFFFF 0%, #F1F5F9 100%);
  border-radius: 12px; border: 1px solid var(--line);
}
.qv-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.qv-thumbs img {
  width: 64px; height: 64px; object-fit: contain; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  background: var(--surface-2); padding: 4px;
}
.qv-thumbs img.active { border-color: var(--brand); }
.qv-gallery .badge-discount { position: static; display: inline-block; margin-top: 10px; }
.qv-info { padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.qv-title { margin: 0; font-size: 19px; line-height: 1.35; padding-right: 28px; }
.qv-verdict {
  margin: 0; font-size: 13px; font-weight: 600; color: #047857;
  background: #ECFDF5; border: 1px solid #A7F3D0;
  border-radius: 8px; padding: 8px 12px;
}
html[data-theme="dark"] .qv-verdict { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.35); }
.qv-h { margin: 6px 0 0; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.qv-stores { display: flex; flex-direction: column; gap: 6px; }
.qv-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 12px;
  text-decoration: none; color: inherit;
}
.qv-row:hover { border-color: var(--brand); }
.qv-row.best { border-color: #86EFAC; background: #F0FDF4; }
html[data-theme="dark"] .qv-row.best { background: rgba(5,150,105,.15); }
.qv-store { flex: 1; font-size: 13px; font-weight: 700; }
.qv-price { font-size: 15px; font-weight: 800; color: #059669; }
.qv-go { color: var(--muted); font-weight: 700; }
.qv-buy { margin-top: 4px; }
.qv-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.qv-share-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.qv-share-btn {
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  text-decoration: none; cursor: pointer; font-family: inherit;
}
.qv-share-btn:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 720px) {
  .qv-sheet { grid-template-columns: 1fr; max-height: 94vh; }
  .qv-gallery { border-right: none; border-bottom: 1px solid var(--line); padding: 14px; }
  .qv-main { height: 240px; }
  .qv-info { padding: 4px 14px 14px; }
}

/* ── READABLE RATING LINE ─────────────────────── */
.card-rating {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.card-rating::first-letter { color: #F59E0B; }

/* ── COMPARE PRICES EXPLAINER (progressive disclosure) ── */
details.compare {
  border-top: 1px dashed var(--line);
  margin-top: 4px;
  padding-top: 2px;
}
details.compare > .platforms-section {
  border-top: none;
  margin-top: 0;
  padding-top: 2px;
}
.compare-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  padding: 7px 2px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
}
.compare-sum::-webkit-details-marker { display: none; }
.compare-sum::after {
  content: "▾";
  color: var(--muted);
  font-size: 13px;
  transition: transform .18s ease;
  flex-shrink: 0;
}
details.compare[open] .compare-sum::after { transform: rotate(180deg); }
.compare-sum:hover { color: var(--brand); }
.compare-sum:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.compare-best {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compare-more {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
  flex-shrink: 0;
}
/* Best row always visible; the rest hides until tapped */
.best-row { padding: 2px 0 6px; }
.best-row .platform-chip { width: 100%; }
@media (max-width: 900px) {
  /* Tiny cards: chevron alone says "tap for more" */
  .compare-more { display: none; }
}
.compare-rest { display: none; }
details.compare[open] .compare-rest { display: grid; margin-top: 5px; }
/* Fade = "there is more, swipe" on overflowing option rows */
.variant-row.scrollable {
  -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%);
  mask-image: linear-gradient(to right, #000 82%, transparent 100%);
}
.compare-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}

/* ── ABOUT SECTION (SEO) ─────────────────── */
.about-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 48px 16px;
  margin-top: 32px;
}
.about-section .wrap {
  max-width: 800px;
}
.about-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.3;
}
.about-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 8px;
  line-height: 1.4;
}
.about-section p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 12px;
}
.about-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.about-section ul li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  padding: 4px 0 4px 20px;
  position: relative;
}
.about-section ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}
.about-section strong {
  color: var(--text);
  font-weight: 600;
}

/* ==========================================================================
   Supported Stores Animated Marquee (BuyHatke-style 2-row ticker)
   ========================================================================== */
.supported-stores-section {
  margin: 36px 0 28px;
  text-align: center;
  overflow: hidden;
  padding: 10px 0;
}
.supported-stores-head {
  margin-bottom: 20px;
}
.supported-stores-head h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.supported-stores-head p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.stores-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.stores-marquee-row {
  display: flex;
  width: max-content;
  margin-bottom: 14px;
  will-change: transform;
}
.stores-marquee-row:last-child {
  margin-bottom: 0;
}

.stores-marquee-row.row-left {
  animation: marqueeScrollLeft 32s linear infinite;
}
.stores-marquee-row.row-right {
  animation: marqueeScrollRight 36s linear infinite;
}

.stores-marquee-row:hover {
  animation-play-state: paused;
}

.stores-marquee-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
}

.store-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 58px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  cursor: pointer;
}
.store-card:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  border-color: var(--brand);
}

.store-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes marqueeScrollLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeScrollRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@media (max-width: 640px) {
  .store-card {
    width: 76px;
    height: 50px;
    padding: 6px 10px;
    border-radius: var(--radius-md);
  }
  .stores-marquee-group {
    gap: 10px;
    padding-right: 10px;
  }
  .stores-marquee-row {
    margin-bottom: 10px;
  }
  .stores-marquee-wrap {
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  }
}

/* ==========================================================================
   GIFT CARDS SECTION
   ========================================================================== */
.gift-cards-section {
  margin: 32px 0;
  padding: 32px 0;
}
.gift-cards-head {
  text-align: center;
  margin-bottom: 28px;
}
.gift-cards-head h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
}
.gift-cards-head p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.gift-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gift-card-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.gift-card-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.gift-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}
.gift-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gift-card-brand {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}
.gift-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gift-card-value {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.gift-card-denomination {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
}
.gift-card-badge {
  font-size: 10px;
  font-weight: 700;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  border-radius: 4px;
  padding: 2px 6px;
}
.gift-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 14px;
}
.gift-card-price {
  font-size: 15px;
  font-weight: 800;
  color: #059669;
}
.gift-card-buy {
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.gift-card-buy:hover {
  background: var(--brand-dark);
}

@media (max-width: 1024px) {
  .gift-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .gift-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .gift-cards-grid { grid-template-columns: 1fr; }
  .gift-card-body { padding: 12px; }
}

/* ==========================================================================
   PRODUCT LENS SECTION
   ========================================================================== */
.product-lens-section {
  margin: 32px 0;
  padding: 32px 0;
}
.product-lens-head {
  text-align: center;
  margin-bottom: 28px;
}
.product-lens-head h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
}
.product-lens-head p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.lens-input-wrap {
  max-width: 640px;
  margin: 0 auto 28px;
  display: flex;
  gap: 10px;
}
.lens-input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s;
}
.lens-input:focus {
  outline: none;
  border-color: var(--brand);
}
.lens-input::placeholder {
  color: var(--muted);
}
.lens-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.lens-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.lens-result {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.lens-result-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.lens-product-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  flex-shrink: 0;
}
.lens-product-info {
  flex: 1;
  min-width: 0;
}
.lens-product-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.3;
}
.lens-product-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.lens-prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  padding: 20px;
}
.lens-price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.12s;
}
.lens-price-card:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}
.lens-price-card.best-price {
  border-color: #86EFAC;
  background: #F0FDF4;
}
.lens-store-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.lens-store-price {
  font-size: 16px;
  font-weight: 800;
  color: #059669;
}
.lens-best-badge {
  font-size: 9px;
  font-weight: 800;
  background: #059669;
  color: #fff;
  border-radius: 3px;
  padding: 2px 5px;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .lens-input-wrap { flex-direction: column; }
  .lens-result-header { flex-direction: column; text-align: center; }
  .lens-prices-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SMART DEAL SCANNER
   ========================================================================== */
.scanner-section {
  margin: 32px 0;
  padding: 32px 0;
}
.scanner-head {
  text-align: center;
  margin-bottom: 24px;
}
.scanner-head h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
}
.scanner-head p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.scanner-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
  border-radius: 20px;
  padding: 28px 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.scanner-wrap::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.scanner-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.scanner-input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}
.scanner-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.scanner-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
}
.scanner-go-btn {
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.scanner-go-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
.scanner-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scanner-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #fff;
  transition: background 0.15s, border-color 0.15s;
}
.scanner-result-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}
.scanner-result-card.best {
  border-color: #34D399;
  background: rgba(52, 211, 153, 0.15);
}
.scanner-result-name {
  font-size: 13px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}
.scanner-result-price {
  font-size: 15px;
  font-weight: 800;
  color: #34D399;
  flex-shrink: 0;
}
.scanner-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .scanner-input-group { flex-direction: column; }
  .scanner-wrap { padding: 22px 18px; }
}

/* ==========================================================================
   UNDER CONSTRUCTION PAGE
   ========================================================================== */
.under-construction {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 48px 24px;
  text-align: center;
}
.under-construction-inner {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.under-construction-icon {
  font-size: 64px;
  line-height: 1;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.under-construction h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
.under-construction-quote {
  font-size: 18px;
  font-style: italic;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
  padding: 0 16px;
  border-left: 3px solid var(--brand);
  text-align: left;
  max-width: 480px;
}
.under-construction-quote cite {
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  margin-top: 8px;
}
.under-construction p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  max-width: 440px;
}
.under-construction-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.under-construction-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
}
.under-construction-btn-primary {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
}
.under-construction-btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
}
.under-construction-btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}
.under-construction-btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}
.under-construction-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.under-construction-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.under-construction-social a:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .under-construction { padding: 32px 16px; min-height: 70vh; }
  .under-construction h1 { font-size: 28px; }
  .under-construction-quote { font-size: 16px; }
}

/* ==========================================================================
   ADDITIONAL RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* 480px — Mobile small */
@media (max-width: 480px) {
  .wrap { padding: 0 12px; }
  .topbar-in { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .brand-mark { width: 30px; height: 30px; font-size: 15px; border-radius: 8px; }
  .brand h1 { font-size: 15px; }
  .tagline { font-size: 11px; }
  .icon-btn { width: 38px; height: 38px; border-radius: 8px; }
  .hero-pro { padding: 18px 14px; border-radius: 14px; }
  .hero-pro h2 { font-size: 20px; }
  .hero-kicker { font-size: 11px; }
  .hero-sub { font-size: 13px; }
  .hero-stat-card { min-width: 70px; padding: 6px 10px; }
  .hero-stat-card strong { font-size: 15px; }
  .go-tiles { gap: var(--space-2); margin-top: var(--space-4); }
  .go-tile { padding: var(--space-2); min-height: 44px; font-size: 13px; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 0 4px; }
  .cat-tile { padding: 10px 4px 8px; min-height: 78px; border-radius: 12px; }
  .cat-tile span { font-size: 11px; }
  .cat-tile small { font-size: 9px; }
  .controls-sticky { padding: 8px 0; }
  .grid { gap: 12px; padding: 12px 0 20px; }
  .section-head { margin: var(--space-6) 0 var(--space-3); }
  .section-head h2 { font-size: var(--text-xl); }
  .honesty-note { font-size: 11px; }
  .promo-in { padding: 18px 14px; border-radius: 14px; }
  .promo-copy h2 { font-size: 16px; }
  .promo-btn { padding: 10px 16px; font-size: 13px; }
  .footer { padding: var(--space-6) 0 var(--space-4); }
  .footer-about h3 { font-size: var(--text-lg); }
  .footer-col h4 { font-size: var(--text-xs); }
  .footer-bottom p { font-size: 11px; }
  .wa-float { width: 48px; height: 48px; bottom: 16px; right: 12px; }
  .wa-float svg { width: 24px; height: 24px; }
  .trend-card { height: 72px; min-height: 72px; }
  .trend-card img { width: 44px; height: 44px; }
}

/* 1024px — Desktop */
@media (min-width: 1024px) {
  .hamburger-btn { display: none; }
  .mobile-menu { display: none; }
  .mobile-menu-overlay { display: none; }
  .header-search-input { width: 200px; }
  .cat-tiles { grid-template-columns: repeat(6, 1fr); }
}

/* 1440px — Large desktop */
@media (min-width: 1440px) {
  :root { --max: 1320px; }
  .wrap { padding: 0 24px; }
  .hero-pro { padding: 36px 32px; }
  .hero-pro h2 { font-size: 30px; }
  .grid { gap: 24px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .stores-marquee-row.row-left,
  .stores-marquee-row.row-right {
    animation: none !important;
  }
}

/* High contrast */
@media (prefers-contrast: high) {
  :root {
    --line: #000;
    --muted: #333;
  }
  .card { border-width: 2px; }
  .btn-buy-full { border: 2px solid #000; }
}

/* ==========================================================================
   BUYHATKE-CLONE SECTIONS
   ========================================================================== */

/* ── HEADER (New) ──────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 10px; padding-bottom: 10px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand); color: #fff;
  font-size: 18px; font-weight: 800;
}
.brand-name {
  font-size: 17px; margin: 0; font-weight: 700; color: var(--brand-dark);
}
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn-login {
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
  padding: 8px 20px; border-radius: 8px; text-decoration: none;
  transition: background .15s;
}
.btn-login:hover { background: var(--brand-dark); }

/* Desktop Nav */
.desktop-nav {
  display: flex; gap: 4px;
}
.nav-icon-link {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 12px; border-radius: 8px;
  text-decoration: none; color: var(--text-2);
  font-size: 10px; font-weight: 600;
  transition: background .15s, color .15s;
}
.nav-icon-link:hover {
  background: var(--brand-light); color: var(--brand);
}
.nav-icon-link svg { width: 20px; height: 20px; }

@media (max-width: 1023px) {
  .desktop-nav { display: none; }
}
@media (min-width: 1024px) {
  .hamburger-btn { display: none !important; }
}

/* ── ANNOUNCEMENT BAR ──────────────────────── */
.announce-bar {
  background: linear-gradient(90deg, var(--brand) 0%, #E55A2B 100%);
  color: #fff; font-size: 13px; font-weight: 600;
  overflow: hidden;
  transition: max-height .3s, padding .3s;
  max-height: 60px;
}
.announce-bar.is-hidden { max-height: 0; padding: 0; }
.announce-in {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 16px;
}
.announce-text { margin: 0; }
.announce-cta {
  background: #fff; color: var(--brand); padding: 4px 14px;
  border-radius: 6px; font-size: 12px; font-weight: 800;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s;
}
.announce-cta:hover { transform: scale(1.04); }
.announce-close {
  background: none; border: none; color: rgba(255,255,255,.8);
  cursor: pointer; padding: 4px; border-radius: 4px;
  display: inline-flex; transition: background .15s;
}
.announce-close:hover { background: rgba(255,255,255,.15); }

/* ── HERO SECTION ──────────────────────────── */
.hero-section {
  position: relative;
  padding: 48px 0 40px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #FFF7E6 0%, #FFECB3 30%, #FFE082 60%, #FFCA28 100%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-kicker {
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  color: var(--brand); text-transform: uppercase;
  margin: 0 0 8px;
}
.hero-heading {
  font-size: clamp(26px, 4vw, 38px); font-weight: 800;
  color: var(--text); margin: 0 0 10px; line-height: 1.2;
}
.hero-sub {
  font-size: 16px; color: var(--text-2); margin: 0;
}

/* ── SEARCH BAR ────────────────────────────── */
.search-section {
  padding: 0 0 24px;
  margin-top: -20px;
  position: relative; z-index: 2;
}
.search-bar {
  display: flex; align-items: center;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: border-color .15s;
}
.search-bar:focus-within { border-color: var(--brand); }
.search-bar input {
  flex: 1; border: none; background: transparent;
  padding: 14px 16px; font-size: 15px; color: var(--text);
  font-family: inherit; outline: none;
}
.search-bar input::placeholder { color: var(--muted); }
.search-voice {
  background: none; border: none; color: var(--muted);
  padding: 12px; cursor: pointer; display: inline-flex;
  transition: color .15s;
}
.search-voice:hover { color: var(--brand); }
.search-submit {
  background: var(--brand); color: #fff; border: none;
  padding: 14px 28px; font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  transition: background .15s;
}
.search-submit:hover { background: var(--brand-dark); }
@media (max-width: 640px) {
  .search-submit { padding: 12px 16px; font-size: 14px; }
  .search-bar input { padding: 12px; font-size: 14px; }
}

/* ── STATS BAR ─────────────────────────────── */
.stats-bar {
  padding: 20px 0;
}
.stats-in {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: var(--shadow);
}
.stat-item { text-align: center; }
.stat-num {
  display: block; font-size: 22px; font-weight: 800; color: var(--brand);
}
.stat-label {
  display: block; font-size: 12px; color: var(--muted); font-weight: 600;
}
.stat-divider {
  width: 1px; height: 36px; background: var(--line);
}
@media (max-width: 480px) {
  .stat-num { font-size: 18px; }
  .stats-in { gap: 16px; padding: 14px 16px; }
}

/* ── TIP SECTION ───────────────────────────── */
.tip-section { padding: 16px 0; }
.tip-card {
  display: flex; align-items: center; gap: 12px;
  background: #FFFDE7;
  border: 1px solid #FFF9C4;
  border-radius: 12px;
  padding: 14px 18px;
}
.tip-icon { font-size: 22px; flex-shrink: 0; }
.tip-text {
  margin: 0; font-size: 13px; color: var(--text-2); flex: 1;
}
.tip-text strong { color: var(--text); }
.tip-link {
  color: var(--brand); font-weight: 700; font-size: 13px;
  text-decoration: none; white-space: nowrap;
}
.tip-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .tip-card { flex-direction: column; text-align: center; }
}

/* ── COMPARE SECTION ───────────────────────── */
.compare-section { padding: 32px 0; }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.compare-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.compare-icon { font-size: 32px; margin-bottom: 10px; }
.compare-card h3 {
  font-size: 15px; font-weight: 700; margin: 0 0 6px;
}
.compare-card p {
  font-size: 12px; color: var(--muted); margin: 0; line-height: 1.4;
}
@media (max-width: 900px) {
  .compare-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .compare-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .compare-card { padding: 18px 12px; }
}
@media (max-width: 380px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* ── SPEND LENS BANNER ─────────────────────── */
.spend-lens-banner {
  padding: 32px 0;
}
.spend-lens-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
  border-radius: 16px;
  padding: 36px 40px;
  color: #fff;
}
.spend-lens-copy { flex: 1; }
.spend-lens-copy h2 {
  font-size: 24px; font-weight: 800; margin: 0 0 8px;
}
.spend-lens-copy p {
  font-size: 14px; color: rgba(255,255,255,.7); margin: 0 0 16px;
  max-width: 400px;
}
.btn-white {
  display: inline-block; background: #fff; color: #1A1A2E;
  padding: 10px 24px; border-radius: 10px; font-size: 14px;
  font-weight: 700; text-decoration: none;
  transition: transform .15s;
}
.btn-white:hover { transform: translateY(-1px); }
.spend-lens-visual { flex-shrink: 0; }
.spend-ring {
  width: 120px; height: 120px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.05);
}
.spend-ring span { font-size: 22px; font-weight: 800; }
.spend-ring small { font-size: 11px; color: rgba(255,255,255,.6); }
@media (max-width: 768px) {
  .spend-lens-in { flex-direction: column; text-align: center; padding: 28px 20px; }
  .spend-lens-copy p { margin-left: auto; margin-right: auto; }
}

/* ── GIFT CARDS BANNER ─────────────────────── */
.gift-banner { padding: 16px 0; }
.gift-banner-in {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  border-radius: 16px;
  padding: 32px 40px;
  position: relative; overflow: hidden;
}
.gift-banner-copy { position: relative; z-index: 1; }
.gift-banner-copy h2 {
  font-size: 24px; font-weight: 800; color: #1B5E20; margin: 0 0 6px;
}
.gift-banner-copy p {
  font-size: 14px; color: #2E7D32; margin: 0 0 14px;
}
.btn-brand {
  display: inline-block; background: #2E7D32; color: #fff;
  padding: 10px 24px; border-radius: 10px; font-size: 14px;
  font-weight: 700; text-decoration: none;
  transition: background .15s;
}
.btn-brand:hover { background: #1B5E20; }

/* ── REFER & EARN BANNER ───────────────────── */
.refer-banner { padding: 16px 0; }
.refer-banner-in {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 50%, #FFCC80 100%);
  border-radius: 16px;
  padding: 36px 40px;
  text-align: center;
}
.refer-amount {
  display: inline-block;
  background: var(--brand); color: #fff;
  padding: 4px 16px; border-radius: 20px;
  font-size: 14px; font-weight: 800;
  margin: 0 0 10px;
}
.refer-banner-copy h2 {
  font-size: 22px; font-weight: 800; color: var(--text); margin: 0 0 6px;
}
.refer-banner-copy p {
  font-size: 14px; color: var(--text-2); margin: 0 0 14px;
  max-width: 500px; margin-left: auto; margin-right: auto;
}

/* ── PRODUCT LENS SECTION ──────────────────── */
.product-lens-section {
  position: relative;
  padding: 48px 0;
  overflow: hidden;
}
.product-lens-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1565C0 0%, #1976D2 30%, #2196F3 60%, #42A5F5 100%);
  z-index: 0;
}
.product-lens-in { position: relative; z-index: 1; color: #fff; }
.product-lens-header { text-align: center; margin-bottom: 28px; }
.product-lens-header h2 {
  font-size: 28px; font-weight: 800; margin: 0 0 8px; letter-spacing: 1px;
}
.product-lens-header p {
  font-size: 15px; color: rgba(255,255,255,.8); margin: 0 0 18px;
  max-width: 500px; margin-left: auto; margin-right: auto;
}
.product-lens-cats {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.pl-cat-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
  min-width: 130px;
  transition: background .15s, transform .15s;
}
.pl-cat-card:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.pl-cat-icon { font-size: 28px; margin-bottom: 6px; }
.pl-cat-card span {
  display: block; font-size: 13px; font-weight: 700; color: #fff;
}
@media (max-width: 640px) {
  .product-lens-cats { gap: 10px; }
  .pl-cat-card { min-width: 100px; padding: 14px 12px; }
}

/* ── SMART DEAL SCANNER ────────────────────── */
.deal-scanner { padding: 32px 0; }
.section-title {
  font-size: 22px; font-weight: 800; color: var(--text);
  margin: 0 0 4px;
}
.section-sub {
  font-size: 14px; color: var(--muted); margin: 0 0 20px;
}
.scanner-groups {
  display: flex; flex-direction: column; gap: 20px;
}
.scanner-group h3 {
  font-size: 13px; font-weight: 700; color: var(--text-2);
  margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.5px;
}
.scanner-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.scanner-chip {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px; font-weight: 600; color: var(--text);
  text-decoration: none;
  transition: border-color .15s, background .15s, color .15s;
}
.scanner-chip:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand);
}
.scanner-chip-green:hover {
  border-color: var(--green);
  background: #ECFDF5;
  color: var(--green);
}

/* ── TOP CATEGORIES ────────────────────────── */
.top-categories { padding: 32px 0; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.category-img {
  width: 64px; height: 64px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}
.category-card h3 {
  font-size: 14px; font-weight: 700; margin: 0 0 4px;
}
.category-card p {
  font-size: 12px; color: var(--muted); margin: 0;
}
@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card { padding: 16px 12px; }
}

/* ── KEEP THEM ENTERTAINED ─────────────────── */
.entertained-section { padding: 32px 0; }
.product-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.product-img {
  width: 100%; height: 120px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  margin-bottom: 12px;
}
.product-card h4 {
  font-size: 13px; font-weight: 700; margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 8px;
}
.stars { color: #F59E0B; font-size: 13px; }
.rating-count { font-size: 11px; color: var(--muted); }
.product-price {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.price-now { font-size: 18px; font-weight: 800; color: var(--green); }
.price-old {
  font-size: 12px; color: var(--muted); text-decoration: line-through;
}
.price-off {
  font-size: 11px; font-weight: 700; color: var(--red);
  background: #FEF2F2; padding: 2px 6px; border-radius: 4px;
}
.btn-sm {
  display: inline-block; text-align: center; padding: 8px 12px;
  font-size: 12px; border-radius: 8px;
}
@media (max-width: 1200px) {
  .product-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .product-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 400px) {
  .product-cards { grid-template-columns: 1fr; }
}

/* ── GIFT CARDS SECTION ────────────────────── */
.gift-cards-section { padding: 32px 0; }
.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gift-card-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.gift-card-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.gift-card-logo {
  border-radius: 10px;
  padding: 20px 16px;
  font-size: 16px;
  margin-bottom: 10px;
}
.gift-card-cashback {
  font-size: 13px; font-weight: 700; color: var(--green);
}
@media (max-width: 768px) {
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gift-grid { grid-template-columns: 1fr; }
}

/* ── VERIFIED TOP DEALS ────────────────────── */
.verified-deals { padding: 32px 0; }
.deals-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}
.deals-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  position: sticky; top: 80px; align-self: start;
}
.deals-sidebar h3 {
  font-size: 14px; font-weight: 700; margin: 0 0 14px;
}
.filter-group {
  margin-bottom: 16px;
}
.filter-group h4 {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin: 0 0 8px;
}
.filter-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-2);
  cursor: pointer; margin-bottom: 6px;
}
.filter-check input[type="checkbox"] {
  accent-color: var(--brand);
}
.deals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.deal-card {
  display: flex; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  transition: transform .15s, box-shadow .15s;
}
.deal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.deal-img {
  width: 90px; height: 90px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}
.deal-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.deal-store {
  font-size: 11px; font-weight: 700; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.3px;
}
.deal-info h4 {
  font-size: 13px; font-weight: 700; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-prices {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.deal-now { font-size: 16px; font-weight: 800; color: var(--green); }
.deal-was { font-size: 11px; color: var(--muted); text-decoration: line-through; }
.deal-off { font-size: 10px; font-weight: 700; color: var(--red); }
@media (max-width: 900px) {
  .deals-layout { grid-template-columns: 1fr; }
  .deals-sidebar { position: static; }
  .deals-grid { grid-template-columns: 1fr; }
}

/* ── TOOLS SECTION ─────────────────────────── */
.tools-section { padding: 32px 0; }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
  text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.tool-icon { font-size: 28px; margin-bottom: 10px; }
.tool-card h3 {
  font-size: 16px; font-weight: 700; margin: 0 0 6px;
}
.tool-card p {
  font-size: 13px; color: var(--muted); margin: 0; line-height: 1.4;
}
@media (max-width: 768px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER LINKS BAR ──────────────────────── */
.footer-links-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  overflow: hidden;
}
.footer-links-scroll {
  display: flex; gap: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}
.footer-links-scroll::-webkit-scrollbar { display: none; }
.footer-links-scroll a {
  white-space: nowrap;
  font-size: 12px; font-weight: 600; color: var(--text-2);
  text-decoration: none;
  transition: color .15s;
}
.footer-links-scroll a:hover { color: var(--brand); }

/* ── FOOTER (New) ──────────────────────────── */
.site-footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: 48px 0 24px;
}
.footer-top {
  display: flex; gap: 40px;
  margin-bottom: 32px;
}
.footer-brand { flex: 0 0 260px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-mark { background: var(--brand); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .tagline { color: #94A3B8; }
.footer-social {
  display: flex; gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 8px; color: #CBD5E1;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: var(--brand); color: #fff; }
.footer-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-col h4 {
  font-size: 12px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin: 0 0 12px;
}
.footer-col a {
  display: block; font-size: 13px; color: #94A3B8;
  text-decoration: none; padding: 3px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--brand); }

.footer-app-badges {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  margin-bottom: 16px;
}
.footer-app-badges > p {
  font-size: 12px; font-weight: 700; color: #fff;
  margin: 0 0 10px;
}
.app-badges { display: flex; gap: 12px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 8px 16px;
  text-decoration: none; color: #fff;
  font-size: 13px; font-weight: 700;
  transition: background .15s;
}
.app-badge:hover { background: rgba(255,255,255,.15); }
.app-badge small {
  display: block; font-size: 9px; font-weight: 500;
  color: #94A3B8; text-transform: uppercase;
}
.app-badge-icon { font-size: 22px; }

.footer-selectors {
  display: flex; gap: 12px;
  margin-bottom: 16px;
}
.footer-select {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px; font-weight: 600;
  color: #CBD5E1;
  font-family: inherit;
  cursor: pointer;
}
.footer-select option { background: #0F172A; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px; color: #94A3B8; margin: 0 0 4px;
}
.disclaimer { font-size: 11px !important; color: #64748B !important; }
@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-brand { flex: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .app-badges { flex-direction: column; }
}

/* ── DARK MODE OVERRIDES (New Sections) ────── */
html[data-theme="dark"] .tip-card {
  background: rgba(255, 253, 231, 0.06);
  border-color: rgba(255, 236, 179, 0.15);
}
html[data-theme="dark"] .tip-text { color: var(--text-2); }
html[data-theme="dark"] .scanner-chip {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}
html[data-theme="dark"] .scanner-chip:hover {
  background: var(--brand-light);
  border-color: var(--brand);
}
html[data-theme="dark"] .site-footer {
  background: #050505;
}

/* ── PRINT ─────────────────────────────────── */
@media print {
  .topbar, .mobile-menu, .wa-float, .promo,
  .supported-stores-section, .footer,
  .hamburger-btn, .search-toggle,
  .site-header, .announce-bar, .site-footer,
  .footer-links-bar { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .compare-card, .category-card, .product-card,
  .gift-card-item, .deal-card, .tool-card {
    break-inside: avoid; box-shadow: none; border: 1px solid #ccc;
  }
  .wrap { max-width: 100%; padding: 0 12px; }
  .hero-bg, .product-lens-bg { background: #f5f5f5 !important; }
}
