:root {
  --ink: #1a1a1a;
  --ink-muted: #5b5b57;
  --ink-faint: #8a8a84;
  --bg: #fdfcf9;
  --surface: #ffffff;
  --border: #e6e4dc;
  --accent: #1d6f5c;
  --accent-ink: #0e3d32;
  --accent-bg: #e4f2ee;
  --warn-bg: #fff4e0;
  --warn-ink: #7a4b00;
  --whatsapp: #25d366;
  --radius: 12px;
  --radius-sm: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  padding-bottom: 72px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
  text-align: center;
}
.topbar a { color: #fff; }

.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 20px; font-weight: 700; color: var(--accent-ink); }
.brand span { color: var(--accent); }
.header-meta { font-size: 12px; color: var(--ink-muted); text-align: right; }
.call-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff; padding: 8px 14px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
}

.hero { text-align: center; padding: 28px 0 8px; }
.hero h1 { font-size: 22px; margin: 0 0 6px; }
.hero p { color: var(--ink-muted); font-size: 14px; margin: 0; }

.finder-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin: 20px 0;
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  display: flex; align-items: center; gap: 6px;
  background: var(--surface);
  cursor: pointer;
  color: var(--ink-muted);
}
.chip.active { background: var(--accent-bg); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }

.finder-prompt {
  font-size: 15px; font-weight: 600; color: var(--accent-ink);
  margin: 4px 0 10px;
}
.hinglish { font-weight: 400; font-style: italic; color: var(--ink-muted); font-size: 13px; }

.search-wrap { position: relative; margin-bottom: 4px; }
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-faint); font-size: 18px; pointer-events: none;
}
.finder-input {
  width: 100%; padding: 13px 14px 13px 40px; font-size: 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  -webkit-appearance: none;
}
.finder-input:focus { outline: none; border-color: var(--accent); }

/* Overlays the page instead of pushing content down as results appear/change. */
.search-dropdown {
  display: none;
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  max-height: 340px; overflow-y: auto;
  z-index: 25;
}
.search-dropdown.open { display: block; }
.dropdown-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-bottom: 1px solid var(--border);
  min-height: 44px;
}
.dropdown-row:last-child { border-bottom: none; }
.dropdown-row:active, .dropdown-row:hover { background: var(--bg); }
.dropdown-row > .ti:first-child { color: var(--accent); font-size: 18px; flex-shrink: 0; }
.row-arrow { color: var(--ink-faint); font-size: 16px; flex-shrink: 0; }
.row-text { flex: 1; min-width: 0; }
.row-title { display: block; font-size: 14px; font-weight: 600; }
.row-sub { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 1px; }

.match-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--accent-bg); border-radius: var(--radius-sm); padding: 12px;
}
.match-card .icon { width: 46px; height: 46px; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 22px; color: var(--accent); }
.match-card .info { flex: 1; }
.match-card .name { font-weight: 600; font-size: 14px; margin: 0 0 2px; }
.match-card .spec { font-size: 12px; color: var(--ink-muted); margin: 0; }
.match-card .price { text-align: right; font-weight: 700; }
.match-card .price small { display: block; font-weight: 400; font-size: 11px; color: var(--accent); }

.disclaimer {
  background: var(--warn-bg); color: var(--warn-ink);
  font-size: 12px; padding: 8px 12px; border-radius: var(--radius-sm);
  margin-top: 10px;
}

.section-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; margin: 28px 0 12px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.product-card .thumb { width: 100%; aspect-ratio: 1.3; background: var(--bg); border-radius: var(--radius-sm); margin-bottom: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .brand { font-size: 10px; letter-spacing: .04em; color: var(--ink-faint); text-transform: uppercase; }
.product-card .name { font-size: 13px; margin: 2px 0 4px; font-weight: 600; }
.product-card .spec { font-size: 11px; color: var(--ink-muted); margin: 0 0 6px; }
.product-card .price { font-size: 14px; font-weight: 700; }

.category-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.category-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 14px; text-align: center; }
.category-tile .ti { font-size: 26px; color: var(--accent); }
.category-tile p { margin: 8px 0 0; font-weight: 600; font-size: 14px; }

.trust-strip { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; padding: 16px 0; font-size: 12px; color: var(--ink-muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 20px 0; }
.trust-strip span { display: flex; align-items: center; gap: 6px; }

.footer { padding: 28px 0 40px; font-size: 13px; color: var(--ink-muted); text-align: center; }
.footer a { color: var(--accent-ink); }

.whatsapp-fab {
  position: fixed; bottom: 18px; right: 18px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}

.breadcrumbs { font-size: 12px; color: var(--ink-faint); margin: 14px 0; }
.breadcrumbs a { color: var(--ink-muted); }

.pp-header { display: flex; gap: 20px; flex-wrap: wrap; margin: 16px 0; }
.pp-image { flex: 0 0 260px; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.pp-info { flex: 1; min-width: 240px; }
.pp-info h1 { font-size: 20px; margin: 0 0 6px; }
.pp-spec-list { list-style: none; padding: 0; margin: 12px 0; font-size: 13px; }
.pp-spec-list li { padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; color: var(--ink-muted); }
.pp-price { font-size: 26px; font-weight: 800; margin: 14px 0 6px; }
.pp-cta { display: flex; gap: 10px; margin-top: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-call { background: var(--accent); color: #fff; }

.confirm-nudge { font-size: 12px; color: var(--ink-muted); margin: 10px 0 0; }
.confirm-nudge .hinglish { font-size: 12px; }

.fits-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.fits-chip {
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px;
  font-size: 13px; color: var(--ink-muted); background: var(--surface);
}
.likely-tag {
  display: inline-block; margin-left: 4px; width: 15px; height: 15px; line-height: 15px;
  border-radius: 50%; background: var(--warn-bg); color: var(--warn-ink);
  font-size: 10px; text-align: center;
}

.faq-item { border-bottom: 1px solid var(--border); padding: 12px 0; }
.faq-item .q { font-weight: 600; font-size: 14px; margin: 0 0 4px; }
.faq-item .a { font-size: 13px; color: var(--ink-muted); margin: 0; }

@media (max-width: 640px) {
  .category-tiles { grid-template-columns: repeat(2, 1fr); }
  .pp-image { flex: 1 1 100%; }
}
