:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --ink: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f97316;
  --accent-red: #ef4444;
  --green: #16a34a;
  --green-bg: #ecfdf5;
  --red: #dc2626;
  --red-bg: #fef2f2;
  --amber: #d97706;
  --amber-bg: #fffbeb;
  --shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.12);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.brand-mark {
  color: var(--primary);
}
.brand-sep {
  color: #cbd5e1;
  font-weight: 400;
}
.brand-sub {
  color: var(--ink);
  font-weight: 700;
}
.search-box {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.search-box input:focus {
  background: var(--surface);
  border-color: var(--primary);
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--subtle);
  pointer-events: none;
}
.header-cta {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-cta:hover { border-color: var(--primary); color: var(--primary); }

.nav-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 0 8px;
  border-top: 1px solid #f1f5f9;
  scrollbar-width: none;
}
.nav-strip::-webkit-scrollbar { display: none; }
.nav-link {
  flex: 0 0 66px;
  width: 66px;
  height: 46px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
  border-radius: 13px;
  border: 2px solid #ffffff;
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.08), 0 0 0 1px #e2e8f0;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.nav-sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 3px rgba(79, 70, 229, 0.18));
}
.nav-sticker svg {
  width: 22px;
  height: 22px;
  display: block;
}
.nav-lbl {
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
  color: #1e293b;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-price-under {
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  color: #1e293b;
}
.nav-price-amt {
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.3px;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-price-amt.p10 { background-image: linear-gradient(90deg, #059669, #10b981, #ea580c); }
.nav-price-amt.p15 { background-image: linear-gradient(90deg, #0284c7, #10b981, #f59e0b); }
.nav-price-amt.p20 { background-image: linear-gradient(90deg, #7c3aed, #a855f7, #f59e0b); }
.nav-price-amt.p25 { background-image: linear-gradient(90deg, #4f46e5, #06b6d4, #10b981); }
.nav-price-amt.p30 { background-image: linear-gradient(90deg, #2563eb, #0ea5e9, #475569); }
.nav-price-amt.p40 { background-image: linear-gradient(90deg, #be123c, #e11d48, #1e293b); }
.nav-price-amt.p50 { background-image: linear-gradient(90deg, #ca8a04, #eab308, #f97316); }
.nav-link:hover, .nav-link.active {
  background: #eff6ff;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.18), 0 0 0 2px #3b82f6;
  transform: translateY(-1px);
}
.nav-link.active .nav-lbl { color: var(--primary); }

/* Page Hero */
.page-hero {
  padding: 24px 0 14px;
}
.breadcrumbs {
  font-size: 12.5px;
  color: var(--subtle);
  margin-bottom: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumbs a:hover { color: var(--primary); }
.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.6px;
}
.price-highlight {
  color: var(--accent-red);
}
.hero-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 820px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--subtle);
}

/* Product hero */
.product-hero-main {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.product-hero-media {
  flex: 0 0 210px;
  width: 210px;
  height: 210px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 14px;
  overflow: hidden;
}
.product-hero-photo {
  width: 100%;
  height: 100%;
  max-width: 182px;
  max-height: 182px;
  object-fit: contain;
  display: block;
}
.product-hero-copy {
  flex: 1 1 320px;
  min-width: 0;
}
@media (max-width: 560px) {
  .product-hero-media { flex-basis: 140px; width: 140px; height: 140px; }
  .product-hero-photo { max-width: 112px; max-height: 112px; }
}

/* Phone PDP (Beebom-style information architecture) */
.phone-hero {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.phone-hero-media {
  flex: 0 0 190px;
  width: 190px;
  height: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: hidden;
}
.phone-hero-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.phone-hero-copy { flex: 1 1 320px; min-width: 0; }
.phone-hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.status-badge {
  display: inline-block;
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid #fde68a;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.score-ring {
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0 78%, var(--border) 78% 100%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  text-align: center;
}
.score-ring strong {
  display: block;
  background: #fff;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  font-size: 21px;
  line-height: 62px;
  font-weight: 800;
  color: var(--primary);
}
.score-ring span {
  display: none;
}
.spec-layout {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.spec-nav {
  position: sticky;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  font-size: 13px;
}
.spec-nav a {
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
}
.spec-nav a:hover { background: var(--surface-alt); color: var(--primary); }
.spec-body { min-width: 0; }
.spec-table, .highlight-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th, .highlight-table th {
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  width: 42%;
  padding: 9px 12px 9px 0;
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.spec-table td, .highlight-table td {
  padding: 9px 0;
  border-top: 1px solid var(--border);
  color: var(--ink);
}
.spec-table tr:first-child th, .spec-table tr:first-child td,
.highlight-table tr:first-child th, .highlight-table tr:first-child td { border-top: 0; }
.spec-sub {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--subtle);
}
.spec-sub-label { font-weight: 600; color: var(--muted); }
.spec-sub-label::after { content: ': '; }
.spec-group h2 { margin-bottom: 4px; }
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.mini-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--surface-alt);
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13.5px;
}
.mini-card:hover { border-color: var(--primary); }
.mini-card strong,
.mini-card-copy strong {
  font-weight: 700;
  color: var(--ink);
}
.mini-card-price {
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}
.mini-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 6px;
  overflow: hidden;
}
.mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 6px;
}
.mini-thumb svg { width: 46px; height: 46px; }
.mini-card-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-card-copy strong {
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-card-compact .mini-thumb { aspect-ratio: 3 / 2; }
.mini-card-compact .mini-thumb img { padding: 4px; }
@media (max-width: 480px) {
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mini-card { padding: 8px; }
  .mini-card-copy { font-size: 12.5px; }
}
@media (max-width: 760px) {
  .spec-layout { grid-template-columns: minmax(0, 1fr); }
  .spec-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
  }
  .spec-nav a { white-space: nowrap; }
  .phone-hero-media { flex-basis: 130px; width: 130px; height: 140px; }
}
.meta-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* Filter Bar */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 12px 0 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.chip-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
}
.chip-btn:hover { border-color: var(--primary); color: var(--primary); }
.chip-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.filter-select {
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.filter-right {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.result-count {
  font-size: 13px;
  color: var(--subtle);
  font-weight: 600;
}

/* Main Grid */
.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

/* Product Card (Beebom Gadgets style) */
.cards-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.product-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.title-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--ink);
  font-weight: 800;
  font-size: 13.5px;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}
.card-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}
.card-title a:hover { color: var(--primary); text-decoration: underline; }
.status-row {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.status-ok { color: var(--green); font-weight: 700; }
.discount-badge {
  background: var(--green-bg);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 11.5px;
}

.price-block {
  text-align: right;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.lowest-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}
.mrp-strike {
  font-size: 13px;
  color: var(--subtle);
  text-decoration: line-through;
}
.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.15s;
}
.buy-btn:hover {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
}
.store-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
}
.store-amazon { background: #ff9900; color: #111; }
.store-flipkart { background: #2874f0; }
.store-croma { background: #00b594; color: #052e26; }
.store-jiomart { background: #0078ad; }
.offers-link {
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: 0;
  padding: 0;
}
.offers-link:hover { text-decoration: underline; }

/* Card Body */
.card-body {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  margin-top: 14px;
  align-items: start;
}
.thumb-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.device-art {
  width: 130px;
  height: 150px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 10px;
  overflow: hidden;
}
.product-photo {
  width: 100%;
  height: 100%;
  max-width: 110px;
  max-height: 130px;
  object-fit: contain;
  display: block;
}
.thumb-cat {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.specs-col { min-width: 0; }
.meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.score-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.score-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.score-lbl {
  font-size: 11px;
  line-height: 1.15;
  color: var(--subtle);
  font-weight: 700;
}
.launch-date {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}
.compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.compare-toggle.selected {
  background: #eff6ff;
  border-color: var(--primary);
  color: var(--primary);
}

.specs-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink);
}
.spec-ico {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 12px;
}
.card-links-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.spec-full-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.spec-full-link:hover { color: var(--primary); }

/* Multi-Store Pills Strip */
.store-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
}
.store-pill.cheapest {
  background: var(--green-bg);
  border-color: #bbf7d0;
  color: #166534;
}
.store-pill:hover { border-color: var(--primary); }

/* Pros & Cons + Verdict */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.pc-box {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.pc-box h4 {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 800;
}
.pc-pros h4 { color: var(--green); }
.pc-cons h4 { color: var(--red); }
.pc-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  color: var(--muted);
}
.pc-box li { display: flex; gap: 6px; }
.verdict-box {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  font-size: 13px;
  color: var(--muted);
}
.verdict-box strong { color: var(--ink); }

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 112px;
}
.side-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.side-widget h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
}
.side-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid #f1f5f9;
  font-size: 13px;
  font-weight: 700;
}
.side-item:hover { border-color: var(--primary); color: var(--primary); }
.side-price { color: var(--green); font-weight: 800; white-space: nowrap; }

.budget-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.budget-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}
.budget-link:hover { border-color: var(--primary); color: var(--primary); }

/* Comparison Summary Table & SEO */
.section-card {
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.section-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
}
.table-wrap { overflow-x: auto; }
.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.summary-table th, .summary-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.summary-table th {
  background: var(--surface-alt);
  color: var(--muted);
  font-weight: 700;
}

/* Ad Slot */
.ad-slot {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--subtle);
}

/* Sticky Compare Bar */
.compare-dock {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: #0f172a;
  color: #fff;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  gap: 14px;
  max-width: 94vw;
  flex-wrap: wrap;
}
.compare-dock.visible { display: flex; }
.compare-btn-go {
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 8px 14px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13px;
}
.compare-clear {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid #334155;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  background: var(--surface);
  border-radius: 18px;
  width: min(720px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.modal-head h3 { margin: 0; font-size: 18px; font-weight: 800; }
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  font-weight: 800;
}
.offer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.offer-row.best {
  background: var(--green-bg);
  border-color: #86efac;
}

/* Footer */
.site-footer {
  margin-top: 44px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 13px;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .layout-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 600px) {
  .header-top { flex-wrap: wrap; }
  .search-box { order: 3; max-width: 100%; width: 100%; }
  .card-body { grid-template-columns: 1fr; }
  .device-art { width: 100%; height: 120px; }
  .pros-cons-grid { grid-template-columns: 1fr; }
  .price-block { text-align: left; width: 100%; }
  .price-row { justify-content: flex-start; }
}

/* ---------------------------------------------------------------------------
 * Phone directory toolbar, brand hubs, comparisons, price lists
 * ------------------------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 16px 0 4px;
}
.stat-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-cell strong { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.stat-cell span { font-size: 12px; color: var(--subtle); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.chip {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip em { font-style: normal; font-size: 11.5px; color: var(--subtle); background: var(--surface-alt); border-radius: 999px; padding: 1px 7px; }
.chip-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip-active:hover { color: #fff; }
.directory-actions { margin-top: 16px; }
.directory-actions .chip { background: #eff6ff; color: var(--primary); border-color: #bfdbfe; }

.phone-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin: 16px 0 6px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--subtle);
}
.filter-field select {
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 9px;
  min-width: 118px;
}
.filter-reset {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.filter-reset:hover { border-color: var(--primary); color: var(--primary); }
.filter-count { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--subtle); }

.brand-chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding: 4px 2px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.brand-chips::-webkit-scrollbar { display: none; }
.brand-logo-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
}
.brand-logo-chip .brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.brand-logo-chip .brand-monogram {
  width: 24px;
  height: 24px;
  font-size: 10px;
}
.phone-directory { margin-top: 14px; }
.mini-card[hidden] { display: none; }
.section-card.no-pad { padding: 14px; }
.empty-state { margin: 16px 4px; color: var(--subtle); font-size: 14px; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.brand-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.brand-card:hover { border-color: var(--primary); }
.brand-monogram {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.5px;
}
.brand-monogram-lg { width: 62px; height: 62px; font-size: 22px; border-radius: 16px; }
.brand-logo {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #fff;
}
.brand-logo-lg { width: 62px; height: 62px; border-radius: 16px; }
.brand-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-card-body strong { font-size: 15px; }
.brand-card-body > span { font-size: 12.5px; color: var(--subtle); }
.brand-range { font-weight: 700; color: var(--green) !important; font-size: 12.5px; }
.brand-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0 4px;
}
.brand-hero h1 { margin: 0; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.5px; }

.compare-link-list { display: flex; flex-direction: column; gap: 8px; }
.compare-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--surface-alt);
}
.compare-link:hover { border-color: var(--primary); color: var(--primary); }
.compare-link em { font-style: normal; font-size: 11.5px; font-weight: 800; text-transform: uppercase; color: var(--accent); letter-spacing: 0.6px; }

.compare-hero h1 { line-height: 1.25; }
.vs-word { color: var(--accent); font-size: 0.7em; font-weight: 800; text-transform: uppercase; padding: 0 6px; }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compare-card h2 { margin: 0; font-size: 18px; font-weight: 700; }
.compare-card-media {
  display: grid;
  place-items: center;
  height: 170px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.compare-card-media img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 8px; }
.compare-price { font-size: 20px; font-weight: 800; color: var(--green); }
.compare-quick { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.compare-quick li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; border-top: 1px solid var(--border); padding-top: 5px; }
.compare-quick li span { color: var(--subtle); }
.compare-quick li strong { text-align: right; font-weight: 600; }

.fact-list { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.fact-list li::marker { color: var(--primary); }

.compare-legend { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--subtle); margin: 2px 0 12px; }
.legend-diff { width: 14px; height: 14px; border-radius: 4px; background: #fef9c3; border: 1px solid #fde047; display: inline-block; }
.compare-group { margin-top: 18px; }
.compare-group h3 { margin: 0 0 6px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--subtle); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare-table th, .compare-table td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--border); vertical-align: top; }
.compare-table thead th { background: var(--surface-alt); border-top: 0; font-size: 13px; }
.compare-table tbody th { width: 34%; font-weight: 600; color: var(--muted); }
.compare-table tr.is-diff td { background: #fefce8; }
.compare-table .na { color: #cbd5e1; }
.band-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.band-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}
.band-card:hover { border-color: var(--primary); }
.band-card strong { font-size: 15.5px; }
.band-card span { color: var(--green); font-weight: 700; font-size: 13px; }
.band-card small { color: var(--subtle); font-size: 12.5px; line-height: 1.45; }
.band-chips { margin: 12px 0 0; }

@media (max-width: 760px) {
  .compare-grid { grid-template-columns: minmax(0, 1fr); }
  .compare-card-media { height: 140px; }
  .filter-count { margin-left: 0; width: 100%; }
  .phone-toolbar { gap: 8px; }
  .filter-field { flex: 1 1 40%; }
  .filter-field select { width: 100%; min-width: 0; }
  .compare-table { font-size: 12.5px; }
  .compare-table th, .compare-table td { padding: 7px 6px; }
  .compare-table tbody th { width: 30%; }
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.section-head h2 { margin: 0; }
.home-phones { margin-bottom: 8px; }

/* ---------------------------------------------------------------------------
 * Home experience — section rhythm modelled on Beebom Gadgets
 * ------------------------------------------------------------------------- */
.home-body main { padding-bottom: 30px; }
.gradient-text {
  background: linear-gradient(90deg, #2563eb 10%, #7c3aed 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.finder-hero {
  margin-top: 12px;
  padding: 24px 20px 20px;
  border: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 80% 20%, #1d4ed8 0%, #152c70 50%, #0f204e 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 32, 78, 0.22);
}
.finder-copy h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.6px;
  color: #fff;
}
.finder-copy .gradient-text {
  background: linear-gradient(90deg, #93c5fd, #c4b5fd, #fbcfe8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.finder-copy p { margin: 0 auto; max-width: 540px; color: rgba(255, 255, 255, 0.78); font-size: 13px; }
.finder-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 6px;
  align-items: center;
  max-width: 680px;
  margin: 16px auto 0;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.finder-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 10px;
  border: 0;
  border-right: 1px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
}
.finder-field:last-of-type { border-right: 0; }
.finder-field > span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--subtle);
}
.finder-field select {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  outline: none;
}
.finder-btn {
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  background: #0f256e;
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}
.finder-btn:hover { background: var(--primary); }
.finder-trending {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.finder-trending::-webkit-scrollbar { display: none; }
.finder-trending > span { font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; flex: 0 0 auto; }
.hero-stores {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}
.store-badge svg { display: block; flex: none; }
.trend-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}
.trend-thumb {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  flex: none;
}
.trend-chip:hover { background: rgba(255, 255, 255, 0.24); border-color: #fff; color: #fff; }

.listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.listing-toolbar select {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.home-section { margin-top: 28px; }
.home-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 12px;
}
.home-head h2 {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 800;
  letter-spacing: -0.4px;
}
.home-head-link { color: var(--primary); font-size: 13px; font-weight: 700; white-space: nowrap; }
.home-head-link:hover { color: var(--primary-dark); }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 12px) / 5);
  gap: 12px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.rail > * { scroll-snap-align: start; }
.rail .mini-card {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }

.home-brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 0; }

/* Story cards (news / reviews / guides) */
.story-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; }
.story-card {
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.story-card:hover { border-color: var(--primary); }
.story-media {
  flex: 0 0 40%;
  max-width: 190px;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-alt);
}
.story-media img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.story-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 2px 2px 2px 0; }
.story-kicker { color: var(--primary); font-size: 10.5px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; }
.story-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.story-excerpt { font-size: 12.5px; color: var(--muted); }
.story-meta { margin-top: auto; font-size: 11.5px; color: var(--subtle); }
.story-placeholder { font-size: 26px; }
.story-featured { flex-direction: column; }
.story-featured .story-media { flex: 0 0 auto; width: 100%; max-width: none; aspect-ratio: 16 / 9; }
.story-featured .story-title { font-size: 17px; }
.story-featured .story-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.story-list { display: flex; flex-direction: column; gap: 10px; }
.story-list .story-card { padding: 8px; }
.story-list .story-media { flex-basis: 34%; max-width: 120px; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 14px; }

/* Price tabs */
.tab-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 4px;
  overflow-x: auto;
}
.tab-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 8px 16px;
  border: 3px solid #ffffff;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10), 0 0 0 1px #e2e8f0;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.tab-under {
  font-size: 11px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.2px;
}
.tab-amt {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.3px;
  background: linear-gradient(90deg, #2563eb 0%, #8b5cf6 35%, #ec4899 70%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tab-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(37, 99, 235, 0.16), 0 0 0 1.5px #93c5fd; }
.tab-btn.active { background: #eff6ff; box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22), 0 0 0 2px #2563eb; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel .mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tab-link { display: inline-block; margin-top: 10px; }

/* Feature tiles */
.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.feature-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow);
}
.feature-tile:hover { border-color: var(--primary); transform: translateY(-1px); }
.feature-icon { font-size: 24px; line-height: 1; }
.feature-tile strong { font-size: 13px; }

/* Comparison tiles */
.compare-tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.compare-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.compare-tile:hover { border-color: var(--primary); }
.compare-tile-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 0 8px;
}
.compare-tile-media img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8fafc;
  padding: 4px;
}
.compare-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  flex: none;
}
.compare-tile-names { font-size: 14px; font-weight: 700; line-height: 1.35; }
.compare-tile-names em { color: var(--subtle); font-style: normal; font-weight: 600; }
.compare-tile-meta { color: var(--green); font-size: 12px; font-weight: 700; }
.compare-tile-score { color: var(--subtle); font-size: 11.5px; }

/* Story page */
.story-page { max-width: 820px; margin: 0 auto; }
.story-page-head { padding: 10px 0 4px; }
.story-page-head h1 { margin: 6px 0 8px; font-size: clamp(24px, 4vw, 36px); line-height: 1.18; letter-spacing: -0.7px; }
.story-page-meta { margin: 0; color: var(--subtle); font-size: 13px; }
.story-page-media {
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}
.story-page-media img { display: block; width: 100%; max-height: 420px; padding: 12px; object-fit: contain; }
.verdict-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  padding: 14px 18px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
}
.verdict-box strong { color: var(--primary); font-size: 32px; line-height: 1; }
.verdict-box strong span { color: var(--subtle); font-size: 14px; }
.verdict-box p { margin: 0; color: var(--muted); font-size: 13.5px; }
.story-body-text { font-size: 15.5px; line-height: 1.75; }
.story-body-text h3 { margin: 22px 0 6px; font-size: 18px; letter-spacing: -0.3px; }
.story-body-text p { margin: 0 0 12px; }
.story-body-text a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .story-layout { grid-template-columns: minmax(0, 1fr); }
  .finder-form { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .rail { grid-auto-columns: calc((100% - 3 * 10px) / 4.25); gap: 10px; }
  .rail .mini-card { padding: 8px; border-radius: 12px; }
  .rail .mini-thumb { height: 112px; }
  .tab-panel .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .finder-hero { padding: 18px 14px 16px; border-radius: 16px; }
  .finder-form { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
  .finder-field:first-child { display: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-tile-grid { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 10px) / 2.65); }
  .tab-panel .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-list .story-media { flex-basis: 40%; max-width: 120px; }
}

/* Hub pages */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.hub-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hub-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.hub-card strong { font-size: 15px; letter-spacing: -0.2px; }
.hub-meta { color: var(--green); font-size: 12px; font-weight: 700; }
.hub-text { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 14px 16px 20px;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.footer-links a:hover { color: var(--primary); }

.antutu-badge-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  border-radius: 3px;
  object-fit: contain;
  margin: 0 3px 0 4px;
}

.brand-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
@media (max-width: 560px) {
  .brand-logo-img {
    height: 36px;
    max-width: 148px;
  }
}

.spec-lbl-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.spec-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 3px;
  border-radius: 7px;
  background: #f1f5f9;
  flex-shrink: 0;
}
.spec-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}
.spec-ico-lg {
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 8px;
}
.spec-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.spec-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.buy-stores-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 720px) {
  .buy-stores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.buy-store-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.buy-store-btn:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.store-badge-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  flex-shrink: 0;
}
.buy-store-btn.store-amazon .store-badge-dot { background: #131921; color: #ff9900; }
.buy-store-btn.store-flipkart .store-badge-dot { background: #2874f0; color: #ffe500; }
.buy-store-btn.store-croma .store-badge-dot { background: #121212; color: #00e9bf; }
.buy-store-btn.store-jiomart .store-badge-dot { background: #e31837; color: #ffffff; }
.buy-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}
.buy-store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.buy-store-icon svg {
  display: block;
}
.buy-store-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.buy-store-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.buy-store-price {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}

.search-box {
  position: relative;
}
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.search-result-item:hover {
  background: var(--surface-alt);
}
.search-result-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.search-result-name {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-sub {
  font-size: 11.5px;
  color: var(--muted);
}
.search-result-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}
.search-empty {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
}
.search-all-link {
  display: block;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  background: var(--surface-alt);
}
.search-all-link:hover {
  text-decoration: underline;
}

/* Visual Power Badges: 1M+ AnTuTu Gaming, 7000mAh+ Battery, >48MP Camera */
.mini-thumb {
  position: relative;
}

.card-power-badges {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 5px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
  z-index: 2;
}

.card-power-badges .pwr-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.card-power-badges .pwr-ico svg {
  width: 18px;
  height: 18px;
  display: block;
}

.hero-power-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.hero-power-badges .pwr-badge {
  padding: 4px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  justify-content: center;
  gap: 0;
}

.hero-power-badges .pwr-badge svg {
  width: 20px;
  height: 20px;
}

.meta-brand-pill {
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 28px;
}

.meta-brand-pill .brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 5px;
  display: block;
}

.meta-brand-pill .brand-monogram {
  width: 22px;
  height: 22px;
  font-size: 10.5px;
  border-radius: 5px;
}

.pwr-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07);
}

.pwr-badge .pwr-ico {
  display: inline-flex;
  align-items: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pwr-badge svg,
.pwr-badge .pwr-ico svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.pwr-badge.pwr-gaming {
  background: #f5f3ff;
  color: #5b21b6;
  border-color: #ddd6fe;
}

.pwr-badge.pwr-battery {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.pwr-badge.pwr-camera {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

.inline-pwr-ico {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 6px;
  width: 18px;
  height: 18px;
}

.inline-pwr-ico svg {
  width: 18px;
  height: 18px;
  display: block;
}

.hl-antutu-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: middle;
  line-height: 1.3;
}

.hl-antutu-pill .antutu-badge-icon {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

.card-micro-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.card-micro-specs span {
  font-size: 0.68rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 1px 6px;
  white-space: nowrap;
}

/* Mobile Browser Optimization & PWA Install / Push Toast */
html, body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.rail,
.nav-strip,
.brand-chips,
.tab-row {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

@media (max-width: 640px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  input, select, button {
    font-size: 16px;
  }
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .mini-card {
    padding: 10px;
  }
  .finder-form {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .buy-stores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pwa-toast {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translate(-50%, 24px);
  width: min(420px, calc(100vw - 24px));
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
  padding: 12px 14px;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.pwa-toast.open {
  transform: translate(-50%, 0);
  opacity: 1;
}

.pwa-toast-body {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pwa-toast-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.pwa-toast-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pwa-toast-copy strong {
  font-size: 0.9rem;
  color: #0f172a;
}

.pwa-toast-copy span {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.3;
}

.pwa-toast-close {
  background: transparent;
  border: 0;
  color: #64748b;
  font-size: 16px;
  padding: 4px 6px;
  cursor: pointer;
  align-self: flex-start;
}

.pwa-toast-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.pwa-btn-sec {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.pwa-btn-pri {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

/* Day / Dark Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.theme-toggle:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Pitch-Black OLED Dark Mode (Auto-synced with device & manual toggle) */
html[data-theme="dark"] {
  --bg: #000000;
  --surface: #0a0a0a;
  --surface-alt: #121212;
  --border: #222222;
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --green-bg: #052e16;
  --red-bg: #3b0a0a;
  --amber-bg: #3b2306;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.9);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg: #000000;
    --surface: #0a0a0a;
    --surface-alt: #121212;
    --border: #222222;
    --ink: #f8fafc;
    --muted: #cbd5e1;
    --subtle: #94a3b8;
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --green-bg: #052e16;
    --red-bg: #3b0a0a;
    --amber-bg: #3b2306;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
    --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.9);
    color-scheme: dark;
  }
}

html[data-theme="dark"] body {
  background: #000000;
  color: var(--ink);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .section-card,
html[data-theme="dark"] .mini-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .filter-bar,
html[data-theme="dark"] .brand-card,
html[data-theme="dark"] .story-card,
html[data-theme="dark"] .compare-card,
html[data-theme="dark"] .spec-nav,
html[data-theme="dark"] .search-dropdown,
html[data-theme="dark"] .pwa-toast,
html[data-theme="dark"] .buy-store-btn {
  background: #0a0a0a;
  border-color: #222222;
  color: var(--ink);
}

html[data-theme="dark"] .search-box,
html[data-theme="dark"] .filter-bar select,
html[data-theme="dark"] .sort-select,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .tab-btn,
html[data-theme="dark"] .feature-tile,
html[data-theme="dark"] .meta-pill,
html[data-theme="dark"] .pwa-btn-sec {
  background: #111111;
  border-color: #262626;
  color: var(--ink);
}

html[data-theme="dark"] .brand-logo-img {
  background: #ffffff;
  border-radius: 8px;
  padding: 3px 8px;
  mix-blend-mode: normal;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .search-box input {
  background: #111111;
  border-color: #262626;
  color: #f8fafc;
}

html[data-theme="dark"] .search-box input::placeholder {
  color: #64748b;
}

/* Hero search & inputs */
html[data-theme="dark"] .finder-hero {
  background: radial-gradient(circle at 80% 20%, #172554 0%, #0c1427 60%, #050a14 100%);
  border: 1px solid #1e293b;
}

html[data-theme="dark"] .finder-form {
  background: #0b1120;
  border: 1px solid #1e293b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

html[data-theme="dark"] .finder-field {
  border-right-color: #1e293b;
}

html[data-theme="dark"] .finder-field > span {
  color: #94a3b8;
}

html[data-theme="dark"] .finder-field select {
  color: #ffffff;
  background: transparent;
}

html[data-theme="dark"] .finder-field select option {
  background: #0f172a;
  color: #ffffff;
}

html[data-theme="dark"] .trend-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .trend-chip span {
  color: #f8fafc;
}

/* Category Nav strip */
html[data-theme="dark"] .nav-link {
  background: #0d0d0d;
  border: 1px solid #222222;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .nav-lbl,
html[data-theme="dark"] .nav-price-under {
  color: #cbd5e1;
}

html[data-theme="dark"] .nav-link:hover {
  background: #171717;
  border-color: #3b82f6;
}

html[data-theme="dark"] .nav-link.active {
  background: #172554;
  border-color: #3b82f6;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35), 0 0 0 2px #3b82f6;
}

html[data-theme="dark"] .nav-link.active .nav-lbl,
html[data-theme="dark"] .nav-link.active .nav-price-under {
  color: #93c5fd;
}

html[data-theme="dark"] .nav-price-amt.p40 {
  background-image: linear-gradient(90deg, #fb7185, #f43f5e, #fda4af);
}

html[data-theme="dark"] .nav-price-amt.p30 {
  background-image: linear-gradient(90deg, #60a5fa, #38bdf8, #94a3b8);
}

/* Price tabs */
html[data-theme="dark"] .tab-btn {
  background: #0d0d0d;
  border: 1px solid #222222;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .tab-under {
  color: #94a3b8;
}

html[data-theme="dark"] .tab-btn:hover {
  background: #171717;
  border-color: #3b82f6;
}

html[data-theme="dark"] .tab-btn.active {
  background: #172554;
  border-color: #3b82f6;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35), 0 0 0 2px #3b82f6;
}

html[data-theme="dark"] .tab-btn.active .tab-under {
  color: #93c5fd;
}

html[data-theme="dark"] .tab-amt {
  background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 35%, #f472b6 70%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="dark"] .home-section-head h2,
html[data-theme="dark"] .section-head h2 {
  color: #f8fafc;
}

html[data-theme="dark"] .home-head-link {
  color: #60a5fa;
}

/* Product cards & headings */
html[data-theme="dark"] .mini-card {
  background: #0a0a0a;
  border-color: #222222;
}

html[data-theme="dark"] .mini-card strong,
html[data-theme="dark"] .mini-card-copy strong {
  color: #f8fafc;
}

html[data-theme="dark"] .mini-card-price {
  color: #4ade80;
}

html[data-theme="dark"] .mini-thumb,
html[data-theme="dark"] .phone-hero-media,
html[data-theme="dark"] .product-hero-media,
html[data-theme="dark"] .brand-logo-chip .brand-logo,
html[data-theme="dark"] .meta-brand-pill {
  background: #ffffff;
  border-radius: 10px;
}

html[data-theme="dark"] .card-micro-specs span {
  background: #161616;
  border-color: #2a2a2a;
  color: #cbd5e1;
}

html[data-theme="dark"] .hl-antutu-pill {
  background: #2c1306;
  border-color: #7c2d12;
  color: #fdba74;
}

html[data-theme="dark"] .pwr-badge.pwr-gaming {
  background: #1e1038;
  border-color: #5b21b6;
  color: #ddd6fe;
}

html[data-theme="dark"] .pwr-badge.pwr-battery {
  background: #052e16;
  border-color: #166534;
  color: #a7f3d0;
}

html[data-theme="dark"] .pwr-badge.pwr-camera {
  background: #0c1e3a;
  border-color: #1d4ed8;
  color: #bfdbfe;
}

html[data-theme="dark"] .pwa-toast-copy strong,
html[data-theme="dark"] .buy-store-price,
html[data-theme="dark"] .spec-table td,
html[data-theme="dark"] .highlight-table td {
  color: #f8fafc;
}

html[data-theme="dark"] .pwa-toast-copy span,
html[data-theme="dark"] .spec-table th,
html[data-theme="dark"] .highlight-table th,
html[data-theme="dark"] .buy-store-name {
  color: #94a3b8;
}

html[data-theme="dark"] .spec-table tr,
html[data-theme="dark"] .highlight-table tr,
html[data-theme="dark"] .site-footer {
  border-color: #1f1f1f;
}

html[data-theme="dark"] .site-footer {
  background: #050505;
}






