@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --bg: #ffffff;
  --bg-muted: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.05);
  --shadow-hover: 0 4px 16px rgba(0,0,0,.12), 0 8px 32px rgba(0,0,0,.08);
  --max-width: 1200px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }

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

/* ── HEADER ── */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo span { color: var(--accent); }

.site-nav { display: flex; gap: 4px; align-items: center; }

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.nav-link:hover, .nav-link.active {
  background: var(--bg-muted);
  color: var(--text);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  border: none;
  text-decoration: none;
  font-family: var(--font);
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 80px 0 72px;
  text-align: center;
}

.hero-eyebrow {
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.875rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 20px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── SECTIONS ── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-muted); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}

.section-header h2 { font-size: 1.5rem; font-weight: 700; }
.section-header p { font-size: .9rem; color: var(--text-muted); margin-top: 4px; }

.see-all {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.see-all:hover { color: var(--accent-dark); }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: var(--bg-muted);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-price { font-size: 1.125rem; font-weight: 700; color: var(--text); }
.card-price.under50 { color: #16a34a; }

.card-btn {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--accent);
  background: #e0f2fe;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.card-btn:hover { background: var(--accent); color: #fff; }

/* ── FEATURED BADGE ── */
.featured-badge { position: relative; }
.featured-badge::before {
  content: 'Featured';
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 1;
}

/* ── CATEGORY CARDS ── */
.category-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.category-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: pointer;
  display: block;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.category-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(14,165,233,.15);
  transform: translateY(-2px);
}

.cat-icon { font-size: 2rem; margin-bottom: 12px; }
.cat-label { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.cat-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.5; }
.cat-count { margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--accent); }

/* ── PRODUCT DETAIL PAGE ── */
.product-detail { padding: 48px 0 72px; }

.product-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.product-breadcrumb a { color: var(--text-muted); }
.product-breadcrumb a:hover { color: var(--accent); }
.product-breadcrumb .sep { color: var(--border); }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.product-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: var(--bg-muted);
  position: sticky;
  top: 88px;
}
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.product-cat-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.product-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.product-short-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.product-price { font-size: 2.25rem; font-weight: 700; color: var(--text); }

.under100-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: .8125rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.amazon-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: #ff9900;
  color: #111;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, transform .1s;
  margin-bottom: 12px;
}
.amazon-cta:hover { background: #e68900; color: #111; transform: translateY(-1px); }

.amazon-note { font-size: .8125rem; color: var(--text-muted); text-align: center; }

/* ── PROS / CONS ── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 44px 0;
}

.pros-box, .cons-box {
  background: var(--bg-muted);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.pros-box { border-top: 3px solid #22c55e; }
.cons-box { border-top: 3px solid #f87171; }

.pros-box h4 { color: #15803d; margin-bottom: 14px; font-size: .9375rem; font-weight: 700; }
.cons-box h4 { color: #dc2626; margin-bottom: 14px; font-size: .9375rem; font-weight: 700; }

.pros-box ul, .cons-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pros-box li { font-size: .9rem; color: var(--text-muted); padding-left: 20px; position: relative; }
.cons-box li { font-size: .9rem; color: var(--text-muted); padding-left: 20px; position: relative; }
.pros-box li::before { content: '✓'; color: #16a34a; font-weight: 700; position: absolute; left: 0; }
.cons-box li::before { content: '✗'; color: #dc2626; font-weight: 700; position: absolute; left: 0; }

/* ── FULL REVIEW ── */
.full-review {
  border-top: 1px solid var(--border);
  padding-top: 44px;
  margin-top: 44px;
}
.full-review h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }
.full-review p { font-size: 1rem; line-height: 1.8; color: var(--text-muted); }

/* ── RELATED PRODUCTS ── */
.related-section { margin-top: 72px; border-top: 1px solid var(--border); padding-top: 56px; }
.related-section h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 28px; }

/* ── CATEGORY PAGE ── */
.cat-page-hero {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
}
.cat-page-hero .cat-icon-lg { font-size: 2.75rem; margin-bottom: 12px; }
.cat-page-hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.cat-page-hero p { color: var(--text-muted); font-size: 1.05rem; }

.cat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-top: 8px;
}

.cat-filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: .875rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font);
}
.cat-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.cat-filter-btn.active { border-color: var(--accent); background: var(--accent); color: #fff; }

/* ── ABOUT PAGE ── */
.about-content { max-width: 720px; margin: 64px auto; padding: 0 24px 80px; }
.about-content h1 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.about-content h2 { font-size: 1.25rem; font-weight: 700; margin: 48px 0 14px; }
.about-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }

.disclosure-box {
  background: #fefce8;
  border: 1px solid #fde047;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 40px 0;
}
.disclosure-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: #854d0e; }
.disclosure-box p { font-size: .9rem; color: #92400e; margin-bottom: 0; line-height: 1.7; }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
}

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

.footer-brand .site-logo { font-size: 1.125rem; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; max-width: 280px; }

.footer-col h4 { font-size: .875rem; font-weight: 700; margin-bottom: 16px; color: var(--text); text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: .9rem; color: var(--text-muted); transition: color .15s; }
.footer-col li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8125rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

.footer-disclosure {
  font-size: .75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 20px;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ── STATES ── */
.loading {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
  font-size: .9rem;
  grid-column: 1 / -1;
}

.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}
.empty-state h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.empty-state p { margin-bottom: 24px; }

/* ── MOBILE MENU ── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .2s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  display: block;
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-layout { grid-template-columns: 1fr; gap: 36px; }
  .product-image-wrap { position: static; aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .pros-cons { grid-template-columns: 1fr; }
  .site-nav .nav-link { display: none; }
  .menu-toggle { display: flex; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 320px; }
}
