/* GadgetRank v2.1 - 2026 */
/* ============================================================
   GADGETRANK — COMPLETE STYLESHEET
   ============================================================ */

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

:root {
  --ink: #0d0d0d;
  --ink-soft: #4a4a4a;
  --ink-muted: #888;
  --surface: #ffffff;
  --surface-2: #f7f7f5;
  --surface-3: #efefec;
  --accent: #00c896;
  --accent-dark: #009e78;
  --accent-light: #e6faf5;
  --border: #e5e5e2;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
  --font-display: 'Liter', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--ink); background: var(--surface); line-height: 1.6; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center;
  height: 64px; gap: 20px;
}
.logo {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap; flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-search { flex: 1; max-width: 380px; position: relative; }
.nav-search input {
  width: 100%; padding: 9px 16px;
  border: 1.5px solid var(--border); border-radius: 999px;
  font-size: 14px; font-family: var(--font-body);
  background: var(--surface-2); outline: none;
  transition: border-color 0.15s;
}
.nav-search input:focus { border-color: var(--accent); background: white; }

.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 12px; border-radius: var(--radius);
  transition: all 0.15s; display: block; white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--ink); background: var(--surface-2); }

/* Dropdown */
.dropdown {
  display: none; position: absolute;
  top: calc(100% + 8px); left: 0;
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 200px; overflow: hidden; z-index: 300;
  list-style: none;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 11px 18px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: background 0.1s;
}
.dropdown li a:hover { background: var(--surface-2); color: var(--ink); }
.dropdown li:last-child a { color: var(--accent-dark); font-weight: 600; border-top: 1px solid var(--border); }

/* Search results dropdown */
.nav-search-results, .search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  z-index: 300; display: none; overflow: hidden;
}
.nav-search-results.open, .search-dropdown.open { display: block; }
.search-result-item {
  padding: 12px 16px; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  transition: background 0.1s;
}
.search-result-item:hover { background: var(--surface-2); }
.search-result-item .sri-name { font-size: 14px; font-weight: 600; }
.search-result-item .sri-price { font-size: 13px; color: var(--accent-dark); font-weight: 600; margin-left: auto; }

/* Hamburger — hidden on desktop */
.hamburger-btn {
  display: none; background: none; border: none;
  font-size: 24px; cursor: pointer; color: var(--ink);
  padding: 6px; line-height: 1; flex-shrink: 0;
}

/* Mobile menu — hidden by default always */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-bottom: 1px solid var(--border);
  position: fixed; top: 64px; left: 0; right: 0;
  z-index: 199; box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 24px; font-size: 15px; font-weight: 500;
  color: var(--ink); border-bottom: 1px solid var(--border); display: block;
}
.mobile-menu a:hover { background: var(--surface-2); }
.mobile-menu .mob-section {
  padding: 8px 24px 4px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-muted); background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: #050a14; color: white;
  padding: 88px 24px 96px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 65% 0%, rgba(0,200,150,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 100%, rgba(0,100,255,0.12) 0%, transparent 50%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,200,150,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,150,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.5vw, 76px);
  font-weight: 400; letter-spacing: -0.01em;
  line-height: 1.1; margin-bottom: 20px; color: white;
}
.accent { color: var(--accent); }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.65);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.6;
}
.search-box {
  background: white; border-radius: var(--radius-lg);
  padding: 8px; display: flex; gap: 8px;
  max-width: 600px; margin: 0 auto;
  box-shadow: var(--shadow-lg); position: relative;
}
.search-box input {
  flex: 1; border: none; outline: none;
  padding: 13px 18px; font-size: 15px;
  font-family: var(--font-body); color: var(--ink);
  background: transparent;
}
.search-box input::placeholder { color: var(--ink-muted); }
.search-box button {
  background: var(--accent); color: white; border: none;
  border-radius: var(--radius); padding: 13px 24px;
  font-size: 15px; font-weight: 700;
  font-family: var(--font-body); cursor: pointer;
  transition: background 0.15s; white-space: nowrap;
}
.search-box button:hover { background: var(--accent-dark); }
.search-dropdown { top: calc(100% + 4px); }
.search-hint { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.45); }
.search-hint a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.search-hint a:hover { color: white; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--surface-2); border-bottom: 1px solid var(--border); padding: 16px 24px; }
.stats-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
}
.stat { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.stat strong { color: var(--ink); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 72px 0; }
.section.grey { background: var(--surface-2); }
.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 740px; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.section-header h2 { font-family: var(--font-display); font-size: 28px; font-weight: 400; }
.see-all { font-size: 14px; font-weight: 600; color: var(--accent-dark); }
.see-all:hover { text-decoration: underline; }

/* ============================================================
   BRAND SELECTOR
   ============================================================ */
.brand-selector-section {
  background: white; border-bottom: 1px solid var(--border); padding: 48px 24px;
}
.brand-selector-section h2 {
  font-family: var(--font-display); font-size: 26px; font-weight: 400;
  text-align: center; margin-bottom: 8px;
}
.brand-selector-section p {
  text-align: center; color: var(--ink-soft); font-size: 15px; margin-bottom: 32px;
}
.brand-selector-grid {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  max-width: 700px; margin: 0 auto;
}
.brand-select-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px;
  padding: 28px 40px; background: white;
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  cursor: pointer; transition: all 0.15s; min-width: 160px;
  font-family: var(--font-body);
}
.brand-select-btn:hover {
  border-color: var(--accent); box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.brand-select-logo { height: 36px; object-fit: contain; max-width: 120px; }
.brand-select-name { font-size: 20px; font-weight: 700; color: var(--ink); }

/* ============================================================
   DEVICE GRID
   ============================================================ */
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 14px;
}
.device-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 14px 18px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 8px;
  cursor: pointer; transition: all 0.15s;
  text-decoration: none; color: inherit;
}
.device-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.device-card-img-wrap {
  width: 110px; height: 110px; border-radius: 12px;
  overflow: hidden; background: var(--surface-3);
}
.device-card-img { width: 110px; height: 110px; object-fit: cover; display: block; }
.dc-model { font-size: 13px; font-weight: 600; line-height: 1.35; }
.dc-price { font-size: 20px; font-weight: 700; color: var(--accent-dark); }

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.category-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
  transition: all 0.15s;
}
.category-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.category-emoji { font-size: 48px; line-height: 1; }
.category-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.category-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; flex: 1; }
.category-link { font-size: 14px; font-weight: 700; color: var(--accent-dark); }

/* ============================================================
   RECYCLER SHOWCASE
   ============================================================ */
.recycler-showcase { padding: 72px 0; background: var(--surface-2); }
.recycler-showcase-title { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.recycler-showcase-sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 36px; }
.recycler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.recycler-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.recycler-card-header { display: flex; align-items: center; gap: 14px; }
.recycler-card-logo-wrap { font-size: 36px; flex-shrink: 0; }
.recycler-card-logo-wrap img { height: 36px; object-fit: contain; max-width: 120px; }
.recycler-card-name { font-size: 17px; font-weight: 700; }
.recycler-divider { border: none; border-top: 1px solid var(--border); }
.recycler-stat { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.recycler-stat-label { color: var(--ink-muted); }
.recycler-stat-value { font-weight: 600; }
.recycler-payout-box {
  background: var(--accent-light); border-radius: var(--radius);
  padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.recycler-payout-label { font-size: 13px; color: var(--accent-dark); font-weight: 600; }
.recycler-payout-value { font-size: 22px; font-weight: 700; color: var(--accent-dark); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 20px; }
.how-card { padding: 32px 26px; background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); }
.how-num { font-family: var(--font-display); font-size: 48px; font-weight: 400; color: var(--accent); opacity: 0.25; line-height: 1; margin-bottom: 16px; }
.how-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.how-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 8px; }
details { border: 1.5px solid var(--border); border-radius: var(--radius); background: white; }
summary { padding: 18px 22px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: '+'; font-size: 22px; color: var(--accent); font-weight: 300; flex-shrink: 0; margin-left: 16px; }
details[open] summary::after { content: '−'; }
details p { padding: 0 22px 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.75; }

/* ============================================================
   SUSTAINABILITY
   ============================================================ */
.sustain { background: var(--ink); color: white; padding: 80px 0; }
.sustain-layout { display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: center; }
.sustain-content h2 { font-family: var(--font-display); font-size: clamp(28px,4vw,44px); font-weight: 400; line-height: 1.15; margin-bottom: 20px; color: white; }
.sustain-content p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 14px; }
.sustain-stats { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.sustain-stat { display: flex; flex-direction: column; }
.sustain-stat strong { font-size: 28px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.sustain-stat span { font-size: 13px; color: rgba(255,255,255,0.55); max-width: 120px; line-height: 1.4; }
.sustain-visual { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 48px 36px; text-align: center; }
.sustain-icon { font-size: 80px; margin-bottom: 20px; line-height: 1; }
.sustain-visual p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ============================================================
   BRAND PILLS
   ============================================================ */
.brand-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.brand-pill {
  padding: 9px 20px; border: 1.5px solid var(--border);
  border-radius: 999px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.15s; background: white;
  color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.brand-pill img { height: 18px; object-fit: contain; }
.brand-pill:hover { border-color: var(--accent); background: var(--accent-light); color: var(--accent-dark); }

/* ============================================================
   ALL DEVICES PAGE
   ============================================================ */
.all-devices-header { background: var(--surface-2); border-bottom: 1px solid var(--border); padding: 48px 0; }
.all-devices-header h1 { font-family: var(--font-display); font-size: 38px; font-weight: 400; margin-bottom: 10px; }
.all-devices-header p { color: var(--ink-soft); font-size: 17px; }
.brand-section { margin-bottom: 56px; }
.brand-section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; flex-wrap: wrap; gap: 8px; }
.brand-section-header h2 { font-family: var(--font-display); font-size: 24px; font-weight: 400; }

/* ============================================================
   DEVICE DETAIL PAGE
   ============================================================ */
.device-hero { background: var(--surface-2); border-bottom: 1px solid var(--border); padding: 52px 0 48px; }
.breadcrumb { font-size: 13px; color: var(--ink-muted); margin-bottom: 28px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent-dark); }
.breadcrumb a:hover { text-decoration: underline; }

.device-hero-layout { display: flex; align-items: center; gap: 56px; }

.device-img-wrap {
  flex-shrink: 0; width: 260px; height: 260px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: white; display: flex; align-items: center;
  justify-content: center; border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}
.device-real-img { width: 240px; height: 240px; object-fit: contain; }

.device-brand { font-size: 13px; font-weight: 600; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.device-title { font-family: var(--font-display); font-size: clamp(28px,3.5vw,44px); font-weight: 400; line-height: 1.1; margin-bottom: 20px; }

.tab-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); margin-bottom: 8px; margin-top: 4px; }
.tab-group { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 8px 18px; border: 1.5px solid var(--border);
  border-radius: 999px; font-size: 14px; font-weight: 500;
  cursor: pointer; background: white; color: var(--ink-soft);
  transition: all 0.15s; font-family: var(--font-body);
}
.tab:hover { border-color: var(--ink-soft); color: var(--ink); }
.tab.active { background: var(--ink); color: white; border-color: var(--ink); }

/* ============================================================
   CONDITION GRADE CHOOSER
   ============================================================ */
.grade-section { margin-bottom: 40px; }
.grade-section-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.grade-chooser {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 16px;
}
.grade-btn {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px; padding: 18px 16px; background: white;
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  cursor: pointer; transition: all 0.15s;
  font-family: var(--font-body); text-align: left; width: 100%;
}
.grade-btn:hover { border-color: var(--ink-soft); box-shadow: var(--shadow); }
.grade-btn.active { border-color: var(--accent); background: var(--accent-light); }
.grade-icon { font-size: 24px; }
.grade-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.grade-price { font-size: 20px; font-weight: 700; color: var(--accent-dark); }
.grade-pct { font-size: 11px; color: var(--ink-muted); font-weight: 500; }

.condition-help-box {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 32px;
}
.condition-help-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.condition-help-text { font-size: 14px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 12px; }
.condition-tip {
  background: #fff8e6; border-radius: var(--radius);
  padding: 10px 14px; font-size: 13px; color: #92400e;
  font-weight: 500;
}

/* ============================================================
   SORT + COMPARE TABLE
   ============================================================ */
.compare-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 16px;
}
.compare-header h2 { font-size: 20px; font-weight: 700; }
.sort-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sort-label { font-size: 13px; font-weight: 600; color: var(--ink-muted); }

.compare-wrap { overflow-x: auto; margin-bottom: 16px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.compare-table {
  width: 100%; border-collapse: collapse; background: white;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1.5px solid var(--border); min-width: 640px;
}
.compare-table thead { background: var(--surface-2); border-bottom: 1.5px solid var(--border); }
.compare-table th {
  padding: 14px 20px; text-align: left;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-muted);
}
.compare-table th:last-child { text-align: right; }
.compare-table td { padding: 20px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr { transition: background 0.1s; }
.compare-table tbody tr:hover { background: #fafaf8; }
.compare-table tbody tr.top-row { background: var(--accent-light); }
.compare-table tbody tr.top-row:hover { background: #d4f5ec; }

.rank {
  width: 32px; height: 32px; background: var(--surface-3);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 700; color: var(--ink-muted);
}
.rank.gold { background: #fef9c3; color: #854d0e; }

.recycler-info { display: flex; align-items: center; gap: 12px; }
.recycler-logo-cell { font-size: 28px; flex-shrink: 0; }
.recycler-logo-cell img { height: 28px; object-fit: contain; max-width: 100px; display: block; }
.recycler-name-cell { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.recycler-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.badge-green { background: var(--accent-light); color: var(--accent-dark); }
.badge-blue { background: #eff6ff; color: #1d4ed8; }

.speed-pill {
  display: inline-block; font-size: 12px; font-weight: 600;
  padding: 4px 12px; background: var(--surface-2);
  border-radius: 999px; color: var(--ink-soft); white-space: nowrap;
}
.speed-pill.fast { background: #f0fdf4; color: #15803d; }

.avg-bar-wrap { display: flex; flex-direction: column; gap: 4px; }
.avg-bar {
  width: 64px; height: 6px; background: var(--surface-3);
  border-radius: 999px; overflow: hidden;
}
.avg-bar-fill { height: 100%; background: var(--accent); border-radius: 999px; }
.avg-bar-num { font-size: 12px; font-weight: 600; color: var(--ink-soft); }

.price-cell { font-size: 24px; font-weight: 700; color: var(--ink); }
.price-cell.best { color: var(--accent-dark); font-size: 26px; }
.price-up-to { font-size: 11px; color: var(--ink-muted); font-weight: 400; display: block; margin-bottom: 1px; }

.sell-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: white; border: none;
  border-radius: var(--radius); padding: 11px 22px;
  font-size: 14px; font-weight: 700;
  font-family: var(--font-body); cursor: pointer;
  transition: background 0.15s; text-decoration: none; white-space: nowrap;
}
.sell-btn:hover { background: var(--accent-dark); }
.sell-btn.outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border);
}
.sell-btn.outline:hover { border-color: var(--ink); background: transparent; }

.savings-callout {
  padding: 16px 22px; background: var(--accent-light);
  border-radius: var(--radius); font-size: 14px;
  color: var(--accent-dark); font-weight: 500; margin-bottom: 48px;
}

/* Tags */
.tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.tag-green { background: var(--accent-light); color: var(--accent-dark); }
.tag-amber { background: #fff8e6; color: #b45309; }

/* ============================================================
   SEO CONTENT
   ============================================================ */
.seo-content { max-width: 700px; margin-top: 52px; }
.seo-content h2 { font-family: var(--font-display); font-size: 26px; font-weight: 400; margin-bottom: 14px; }
.seo-content h3 { font-size: 18px; font-weight: 700; margin-top: 32px; margin-bottom: 10px; }
.seo-content p { font-size: 15px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 14px; }
.seo-content ul { padding-left: 22px; color: var(--ink-soft); font-size: 15px; line-height: 2.1; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.blog-card { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.15s; text-decoration: none; color: inherit; display: block; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-img { height: 160px; background: linear-gradient(135deg, var(--ink) 0%, #2a2a2a 100%); display: flex; align-items: center; justify-content: center; font-size: 52px; }
.blog-card-body { padding: 22px; }
.blog-card-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-dark); margin-bottom: 8px; }
.blog-card-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.blog-card-excerpt { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.blog-card-date { font-size: 12px; color: var(--ink-muted); margin-top: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 56px 24px 32px; }
.footer-inner { max-width: 1300px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 44px; flex-wrap: wrap; }
.footer-logo { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: white; margin-bottom: 12px; }
.footer-logo span { color: var(--accent); }
.footer-top > div:first-child p { font-size: 14px; max-width: 240px; line-height: 1.7; margin-top: 8px; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.disclaimer { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.7; margin-top: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .sustain-layout { grid-template-columns: 1fr; gap: 40px; }
  .sustain-visual { display: none; }
  .grade-chooser { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  /* Nav */
  .nav-links { display: none; }
  .hamburger-btn { display: block; }
  .nav-search { flex: 1; max-width: none; }

  /* Hero */
  .hero { padding: 56px 20px 64px; }
  .search-box { flex-direction: column; }
  .search-box button { width: 100%; justify-content: center; text-align: center; }

  /* Stats */
  .stats-inner { gap: 14px; }

  /* Brand selector */
  .brand-selector-grid { gap: 12px; }
  .brand-select-btn { min-width: 120px; padding: 20px 24px; }

  /* Categories */
  .category-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-card { padding: 20px 16px; }
  .category-emoji { font-size: 36px; }

  /* Device hero */
  .device-hero-layout { flex-direction: column; align-items: center; gap: 24px; }
  .device-img-wrap { width: 200px; height: 200px; }
  .device-real-img { width: 180px; height: 180px; }

  /* Grade chooser */
  .grade-chooser { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .grade-btn { padding: 14px 12px; }
  .grade-price { font-size: 16px; }

  /* Compare table — stacked cards on mobile */
  .compare-wrap { overflow-x: visible; box-shadow: none; border-radius: 0; }
  .compare-table { min-width: unset; border: none; border-radius: 0; background: transparent; box-shadow: none; }
  .compare-table thead { display: none; }
  .compare-table tbody tr {
    display: flex; flex-direction: column;
    background: white; border: 1.5px solid var(--border);
    border-radius: var(--radius-lg); margin-bottom: 12px;
    padding: 18px; gap: 12px;
  }
  .compare-table tbody tr.top-row { border-color: var(--accent); border-width: 2px; }
  .compare-table tbody tr:hover { background: white; }
  .compare-table td { display: flex; align-items: center; justify-content: space-between; padding: 0; border: none; }
  .compare-table td:first-child { display: none; }
  .compare-table td.td-price { flex-direction: column; align-items: flex-start; gap: 2px; }
  .compare-table td.td-price::before { content: 'You get'; font-size: 11px; color: var(--ink-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
  .compare-table td.td-speed::before { content: 'Payment speed'; font-size: 11px; color: var(--ink-muted); }
  .compare-table td.td-avg::before { content: 'Avg payout'; font-size: 11px; color: var(--ink-muted); }
  .compare-table td.td-postage::before { content: 'Postage'; font-size: 11px; color: var(--ink-muted); }
  .price-cell { font-size: 30px !important; }
  .sell-btn { display: block !important; width: 100%; text-align: center; padding: 15px !important; font-size: 16px !important; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 32px; }
  .recycler-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE RECYCLER CARDS — stacked, no horizontal scroll
   ============================================================ */
#mobileRecyclerCards { display: none; }

.recycler-mobile-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.recycler-mobile-card--top {
  border-color: var(--accent);
  border-width: 2px;
  background: var(--accent-light);
}
.rmc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.rmc-rank {
  width: 28px; height: 28px;
  background: var(--surface-3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--ink-muted);
  flex-shrink: 0;
}
.rmc-rank.gold { background: #fef9c3; color: #854d0e; }
.rmc-logo { font-size: 24px; flex-shrink: 0; line-height: 1; }
.rmc-name { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.3; }
.rmc-price {
  display: flex; flex-direction: column;
  align-items: flex-end; flex-shrink: 0;
}
.rmc-price-value {
  font-size: 22px; font-weight: 700; color: var(--accent-dark);
  line-height: 1;
}
.rmc-meta {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
