/* ==========================================================================
   10Best.io — minimal review site styles (buyereviews.com-inspired)
   White background, generous whitespace, no decorative effects.
   ========================================================================== */

:root {
  --text: #1a1a1a;
  --text-soft: #4f5b66;
  --text-faint: #7a8794;
  --border: #e6e8eb;
  --bg: #ffffff;
  --bg-soft: #f7f8f9;
  --accent: #ffa41c;          /* Amazon-style orange */
  --accent-dark: #e8890c;
  --link: #1a5fd7;
  --navy: #232f3e;
  --star: #ffa41c;
  --radius: 8px;
  --container: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--accent); }

.main-nav a {
  color: var(--text-soft);
  font-size: 15px;
  margin-left: 28px;
  font-weight: 500;
}
.main-nav a:hover { color: var(--text); text-decoration: none; }
.main-nav a.active { color: var(--text); }

/* ---------- Hero (homepage) ---------- */

.hero {
  padding: 88px 0 72px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 auto 20px;
  max-width: 720px;
}

.hero p {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Category cards (homepage) ---------- */

.categories { padding: 72px 0; }

.section-title {
  font-size: 28px;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}

.section-sub {
  color: var(--text-soft);
  margin: 0 0 40px;
  font-size: 16px;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.category-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.15s ease;
}
.category-card:hover { border-color: #c8ced6; text-decoration: none; }

.category-card img { width: 150px; margin-bottom: 24px; }

.category-card h2 {
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.category-card p {
  color: var(--text-soft);
  font-size: 15px;
  margin: 0 0 24px;
}

.link-arrow {
  font-weight: 600;
  font-size: 15px;
  color: var(--link);
}

/* ---------- How we rank ---------- */

.how {
  background: var(--bg-soft);
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.how-step h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.how-step .step-num {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.how-step p {
  color: var(--text-soft);
  font-size: 15px;
  margin: 0;
}

/* ---------- Disclosure strip ---------- */

.disclosure-strip {
  padding: 20px 0;
  font-size: 13.5px;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
}
.disclosure-strip p { margin: 0; }

/* ---------- List page header ---------- */

.list-head { padding: 64px 0 8px; }

.list-head h1 {
  font-size: 36px;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.updated {
  font-size: 13.5px;
  color: var(--text-faint);
  margin: 0;
}

.list-intro {
  font-size: 16.5px;
  color: var(--text-soft);
  margin: 0 0 24px;
}

/* ---------- Advertising disclosure (icon + popup) ---------- */

.disclosure-line {
  position: relative;
  display: inline-block;
}

.disclosure-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
  font-size: 13.5px;
  font-family: inherit;
}
.disclosure-toggle:hover { color: var(--text-soft); }
.disclosure-toggle svg { width: 15px; height: 15px; flex: none; }

.disclosure-popup {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-width: 86vw;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 60;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
.disclosure-popup[hidden] { display: none; }
.disclosure-popup p { margin: 0 0 8px; }
.disclosure-popup p:last-child { margin: 0; }

/* ---------- Product cards ---------- */

.product-list { padding: 24px 0 64px; }

.product-card {
  display: grid;
  grid-template-columns: 56px 168px 1fr 190px;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
}

.product-rank {
  font-size: 40px;
  font-weight: 800;
  color: #d7dce2;
  text-align: center;
  line-height: 1;
  letter-spacing: -1px;
}

.product-media img { width: 168px; display: block; }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--navy);
}
.badge.best-overall { background: #c45500; }
.badge.editors-choice { background: #232f3e; }
.badge.best-value { background: #067d62; }
.badge.budget { background: #5a6472; }
.badge.popular { background: #1a5fd7; }
.badge.hot-deal { background: #b12704; }

.product-info h3 {
  font-size: 18px;
  margin: 0 0 8px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}
.product-info h3 a { color: var(--text); }
.product-info h3 a:hover { color: var(--link); }

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.stars { position: relative; display: inline-block; line-height: 0; }
.stars-row { display: inline-flex; gap: 1px; white-space: nowrap; }
.stars-row svg { width: 15px; height: 15px; display: block; }
.stars-row-bg svg { fill: #d5d9de; }
.stars-row-fg { position: absolute; left: 0; top: 0; overflow: hidden; }
.stars-row-fg svg { fill: var(--star); }

.score {
  font-weight: 800;
  font-size: 15px;
}

.reviews {
  color: var(--text-faint);
  font-size: 13.5px;
}

.highlights {
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlights li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 5px;
}

.highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #067d62;
  border-bottom: 2px solid #067d62;
  transform: rotate(-45deg);
}

.product-cta { text-align: center; }

.deal {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #b12704;
  margin-bottom: 10px;
}

.price-note {
  display: block;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 6px;
  border: 1px solid var(--accent-dark);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { background: #fa8900; text-decoration: none; }

.amazon-badge {
  display: block;
  width: 108px;
  height: auto;
  margin: 10px auto 0;
}

/* ---------- Content sections (guide / FAQ) ---------- */

.content-section {
  border-top: 1px solid var(--border);
  padding: 56px 0;
}

.content-section h2 {
  font-size: 26px;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}

.content-section h3 {
  font-size: 17px;
  margin: 26px 0 8px;
}

.content-section p, .content-section li {
  color: var(--text-soft);
  font-size: 15.5px;
}

.content-section ul { padding-left: 22px; }
.content-section li { margin-bottom: 6px; }

.faq-item { margin-bottom: 22px; }
.faq-item h3 { margin: 0 0 6px; }
.faq-item p { margin: 0; }

/* Static pages keep a readable text width */
.narrow { max-width: 780px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 56px 0 40px;
  margin-top: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.site-footer h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-faint);
  margin: 0 0 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-soft); font-size: 14.5px; }
.site-footer a:hover { color: var(--text); }

.footer-about p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 10px 0 0;
  max-width: 380px;
}

.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-legal p { margin: 0 0 8px; }
.footer-legal p:last-child { margin: 0; }

/* ---------- Static pages ---------- */

.page-body { padding: 56px 0 72px; }
.page-body h1 { font-size: 32px; letter-spacing: -0.6px; margin: 0 0 20px; }
.page-body h2 { font-size: 20px; margin: 32px 0 10px; }
.page-body p, .page-body li { color: var(--text-soft); font-size: 15.5px; }
.page-body ul { padding-left: 22px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero h1 { font-size: 34px; }
  .category-grid, .how-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-card {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }
  .product-rank { text-align: left; font-size: 32px; }
  .product-media img { width: 140px; margin: 0 auto; }
  .product-media { text-align: center; }
  .product-cta { text-align: left; }
  .btn { width: 100%; }
  .main-nav a { margin-left: 16px; font-size: 14px; }
  .hero { padding: 56px 0 48px; }
}
