/* =============================================
   SportGear Finder — Dark Theme v3
   ============================================= */

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

:root {
  --lime:        #a3c900;
  --lime-dark:   #8ab000;
  --lime-glow:   rgba(163,201,0,0.18);
  --lime-dim:    rgba(163,201,0,0.08);
  --bg:          #0b0b0b;
  --bg-card:     #141414;
  --bg-card2:    #1a1a1a;
  --bg-card3:    #202020;
  --border:      #2a2a2a;
  --border-hi:   #383838;
  --white:       #ffffff;
  --off-white:   #f0f0f0;
  --text:        #ffffff;
  --text-mid:    #b0b0b0;
  --text-light:  #707070;
  --budget:      #3b82f6;
  --value:       #a3c900;
  --premium:     #a855f7;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.4);
  --shadow:      0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.7);
  --radius:      10px;
  --radius-sm:   7px;
  --transition:  0.2s ease;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
nav {
  background: #0d0d0d;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.7);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--lime); }

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--transition);
  padding: 6px 14px;
  border-radius: 7px;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--lime);
  background: var(--lime-dim);
}

/* ══════════════════════════════════════════
   HERO BANNER
══════════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #0a0a0a 0%, #111 50%, #0d1a00 100%);
  color: var(--white);
  padding: 72px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 110%, rgba(163,201,0,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -40px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(163,201,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
  line-height: 1.1;
  position: relative;
}

.hero h1 span { color: var(--lime); }

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 400;
  position: relative;
}

/* ══════════════════════════════════════════
   CATEGORY HERO PHOTO BANNER
══════════════════════════════════════════ */
.category-hero {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  background: #111;
}

.category-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.category-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* ══════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════ */
.breadcrumb {
  max-width: 1080px;
  margin: 20px auto 0;
  padding: 0 24px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.breadcrumb a { color: var(--text-mid); font-weight: 500; }
.breadcrumb a:hover { color: var(--lime); text-decoration: none; }

/* ══════════════════════════════════════════
   MAIN CONTAINER
══════════════════════════════════════════ */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

/* ══════════════════════════════════════════
   PAGE INTRO BOX
══════════════════════════════════════════ */
.page-intro {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  margin-bottom: 36px;
  border-left: 3px solid var(--lime);
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-intro strong { color: var(--white); font-weight: 700; }

/* ══════════════════════════════════════════
   SPORT HUB — CATEGORY CARDS (index pages)
══════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(163,201,0,0.15);
  border-color: var(--lime);
  text-decoration: none;
}

.product-card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: var(--bg-card2);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.product-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.product-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.5;
}

.card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-badge.equipment { background: rgba(163,201,0,0.15); color: var(--lime); border: 1px solid rgba(163,201,0,0.3); }
.card-badge.clothing  { background: rgba(168,85,247,0.12); color: #c084fc; border: 1px solid rgba(168,85,247,0.3); }

/* ══════════════════════════════════════════
   TIER SECTIONS
══════════════════════════════════════════ */
.tier-section { margin-bottom: 48px; }

.tier-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.tier-header.budget  { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.tier-header.value   { background: linear-gradient(135deg, #3a4a00, #6b7c00); border-bottom: 2px solid var(--lime); }
.tier-header.premium { background: linear-gradient(135deg, #3b0764, #7e22ce); }

.tier-header .tier-emoji {
  font-size: 1.6rem;
  background: rgba(255,255,255,0.12);
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tier-header h2 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.tier-header p {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  margin: 0;
}

/* ══════════════════════════════════════════
   PRODUCT CARDS V2
══════════════════════════════════════════ */
.products-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.product-card-v2 {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.product-card-v2:last-child { border-right: none; }
.product-card-v2:hover { background: var(--bg-card2); }

/* ── Product image ── */
.card-img {
  border-radius: var(--radius-sm);
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 6px;
  background: var(--bg-card2);
}

.img-ph .ph-icon { font-size: 2.8rem; line-height: 1; }

.img-ph .ph-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.card-name {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--lime);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.card-price span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0;
}

.card-desc {
  font-size: 0.855rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex-grow: 1;
}

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.spec-tag {
  background: var(--bg-card3);
  border: 1px solid var(--border-hi);
  color: var(--text-mid);
  font-size: 0.71rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
}

.card-rating {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--lime);
}

.card-buy-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.best-for-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 99px;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  text-decoration: none;
}

.btn-sm { padding: 7px 13px; font-size: 0.8rem; border-radius: 7px; }

.btn-amazon    { background: #FF9900; color: #111; font-weight: 800; }
.btn-aliexpress{ background: #e62e04; color: #fff; }
.btn-decathlon { background: #0054a6; color: #fff; }
.btn-walmart   { background: #0071dc; color: #fff; }

/* ══════════════════════════════════════════
   SECTION CARDS / MISC
══════════════════════════════════════════ */
.section-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 26px 28px;
  margin-bottom: 24px;
}

.section-card h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.comparison-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  font-weight: 700;
}

.comparison-table th:nth-child(1) { background: transparent; color: var(--text-light); }
.comparison-table th.th-budget { background: var(--budget); border-radius: 6px 0 0 0; }
.comparison-table th.th-value  { background: #6b7c00; }
.comparison-table th.th-premium{ background: var(--premium); border-radius: 0 6px 0 0; }

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-mid);
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--bg-card2); }

.tier-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
}

.tier-label.budget  { background: var(--budget); }
.tier-label.value   { background: #6b7c00; color: var(--lime); }
.tier-label.premium { background: var(--premium); }

.features-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-mid);
}

.features-list li::before {
  content: "✓";
  background: var(--lime);
  color: #111;
  font-weight: 900;
  font-size: 0.72rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.audience-item {
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
  font-size: 0.84rem;
  border: 1px solid var(--border);
  background: var(--bg-card2);
  color: var(--text-mid);
}

.audience-item .level { font-weight: 800; font-size: 0.9rem; margin-bottom: 6px; color: var(--white); }

.audience-item.beginner     { border-color: #1d4ed8; }
.audience-item.intermediate { border-color: #6b7c00; }
.audience-item.advanced     { border-color: #7e22ce; }

.disclosure {
  background: rgba(163,201,0,0.06);
  border: 1px solid rgba(163,201,0,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.8rem;
  color: rgba(163,201,0,0.75);
  margin-top: 28px;
}

.value-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime);
  color: #111;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 5px 13px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.best-price { font-size: 1rem; color: var(--text-light); margin-bottom: 16px; }
.best-price strong { font-size: 1.7rem; color: var(--lime); font-weight: 900; letter-spacing: -0.03em; }

.quick-review { font-size: 0.93rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 20px; }

.buy-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* ══════════════════════════════════════════
   SECTION LABEL HEADINGS
══════════════════════════════════════════ */
.section-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: #090909;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.83rem;
}

footer a { color: var(--lime); }

/* ══════════════════════════════════════════
   HOME PAGE SPORT CARDS
══════════════════════════════════════════ */
.sport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.sport-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px 24px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: block;
}

.sport-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  box-shadow: 0 8px 30px rgba(163,201,0,0.12);
  text-decoration: none;
}

.sport-card.disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.sport-card .sport-emoji {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
}

.sport-card h2 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.sport-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 18px;
  line-height: 1.5;
}

.sport-cta {
  display: inline-block;
  background: var(--lime);
  color: #111;
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.sport-cta.soon {
  background: var(--bg-card3);
  color: var(--text-light);
  border: 1px solid var(--border);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 700px) {
  .hero h1 { font-size: 1.9rem; }
  .nav-links { display: none; }
  .audience-grid { grid-template-columns: 1fr; }
  .products-row { grid-template-columns: 1fr; }
  .product-card-v2 { border-right: none; border-bottom: 1px solid var(--border); }
  .product-card-v2:last-child { border-bottom: none; }
  .category-hero { height: 200px; }
  .container { padding: 24px 16px 60px; }
  .card-img { height: 200px; }
  .sport-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════
   NAV V2
══════════════════════════════════════════ */
nav.nav-v2 {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: none;
  position: relative;
}

/* ── Hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  background: none;
  border: none;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.2s ease;
}

@media (max-width: 700px) {
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex !important;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.97);
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 10px 14px; width: 100%; }
}

.nav-logo-v2 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-logo-v2 .logo-mark {
  width: 30px;
  height: 30px;
  background: var(--lime);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-v2 .logo-mark svg {
  width: 16px;
  height: 16px;
}

.nav-logo-v2 .logo-text em {
  color: var(--lime);
  font-style: normal;
}

/* ══════════════════════════════════════════
   HERO V2 — Full-bleed photo hero
══════════════════════════════════════════ */
.hero-v2 {
  position: relative;
  height: 88vh;
  min-height: 580px;
  max-height: 860px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-v2 .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-v2 .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.90) 0%,
    rgba(0,0,0,0.45) 45%,
    rgba(0,0,0,0.1) 100%
  );
}

.hero-v2 .hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 64px;
  max-width: 780px;
}

.hero-v2 .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(163,201,0,0.12);
  border: 1px solid rgba(163,201,0,0.3);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 22px;
}

.hero-v2 .hero-eyebrow span {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  display: inline-block;
}

.hero-v2 h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.01em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-v2 h1 em {
  color: var(--lime);
  font-style: normal;
}

.hero-v2 .hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-v2 .hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: #111;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 99px;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(163,201,0,0.35);
  text-decoration: none;
  color: #111;
}

.hero-v2 .hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 99px;
  padding: 10px 18px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

.hero-v2 .hero-trust strong {
  color: #fff;
}

/* ══════════════════════════════════════════
   STAT BAR
══════════════════════════════════════════ */
.stat-bar {
  background: #111;
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 40px 0 0;
  margin-right: 40px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* ══════════════════════════════════════════
   SPORT CARDS V2 — Photo overlay
══════════════════════════════════════════ */
.sport-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.sport-card-v2 {
  position: relative;
  height: 310px;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.sport-card-v2 img.sc-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sport-card-v2:hover img.sc-photo {
  transform: scale(1.06);
}

.sport-card-v2 .sc-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.3) 55%,
    rgba(0,0,0,0.08) 100%
  );
  transition: background 0.3s;
}

.sport-card-v2:hover .sc-gradient {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.4) 55%,
    rgba(0,0,0,0.12) 100%
  );
}

.sport-card-v2 .sc-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.sport-card-v2 .sc-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px 22px;
}

.sport-card-v2 h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.sport-card-v2 .sc-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.58);
  margin-bottom: 14px;
  line-height: 1.45;
}

.sc-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.sc-pill.live {
  background: var(--lime);
  color: #111;
}

.sc-pill.soon {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.6);
}

.sc-cat-count {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

.sc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime);
  color: #111;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 9px 18px;
  border-radius: 99px;
  letter-spacing: 0.02em;
  transition: transform 0.2s;
  text-decoration: none;
}

.sport-card-v2:hover .sc-cta {
  transform: translateX(4px);
}

/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
.hiw-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
  margin-top: 80px;
}

.hiw-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.hiw-head {
  margin-bottom: 48px;
}

.hiw-head h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 8px;
}

.hiw-head p {
  color: var(--text-mid);
  font-size: 0.9rem;
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--bg-card2);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.hiw-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--lime);
  opacity: 0.25;
  line-height: 1;
}

.hiw-step h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.hiw-step p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   TENNIS HUB HERO
══════════════════════════════════════════ */
.sport-hub-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.sport-hub-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.sport-hub-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.05) 100%
  );
}

.sport-hub-hero .hub-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 52px;
  max-width: 720px;
}

.sport-hub-hero .hub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(163,201,0,0.12);
  border: 1px solid rgba(163,201,0,0.3);
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 99px;
  margin-bottom: 18px;
}

.sport-hub-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 0.95;
  margin-bottom: 14px;
}

.sport-hub-hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.sport-hub-hero p {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.6);
  max-width: 460px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   CATEGORY PHOTO CARDS
══════════════════════════════════════════ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.cat-card {
  position: relative;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cat-card:hover img {
  transform: scale(1.07);
}

.cat-card .cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.15) 60%,
    rgba(0,0,0,0.0) 100%
  );
}

.cat-card .cat-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 16px;
}

.cat-card h3 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cat-price-pill {
  display: inline-flex;
  align-items: center;
  background: var(--lime);
  color: #111;
  font-size: 0.67rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.03em;
}

.cat-type-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(6px);
}

.cat-type-pill.equipment {
  background: rgba(163,201,0,0.2);
  border: 1px solid rgba(163,201,0,0.35);
  color: var(--lime);
}

.cat-type-pill.clothing {
  background: rgba(168,85,247,0.18);
  border: 1px solid rgba(168,85,247,0.35);
  color: #c084fc;
}

/* ══════════════════════════════════════════
   RESPONSIVE — NEW COMPONENTS
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-v2 { height: 75vh; min-height: 520px; }
  .hero-v2 .hero-content { padding: 0 24px 48px; }
  .hero-v2 h1 { font-size: 3.2rem; }
  .stat-bar { padding: 16px 24px; gap: 0; }
  .stat-item { padding-right: 24px; margin-right: 24px; }
  .sport-grid-v2 { grid-template-columns: 1fr 1fr; }
  .sport-card-v2 { height: 240px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .sport-hub-hero { height: 320px; }
  .sport-hub-hero .hub-content { padding: 0 24px 36px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card { height: 190px; }
  .hero-v2 .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .sport-grid-v2 { grid-template-columns: 1fr; }
  .sport-card-v2 { height: 260px; }
}

/* ══════════════════════════════════════════
   PRODUCT PAGES — MOBILE-FIRST REDESIGN
   All pcard, tier-v2, cat-page-hero styles
══════════════════════════════════════════ */

/* ── Category page hero — pure CSS gradient (no photo) ── */
.cat-page-hero {
  position: relative;
  height: 260px;
  overflow: hidden;
  /* Lime glow from left, deep dark base */
  background:
    radial-gradient(ellipse 80% 120% at -8% 65%, rgba(163,201,0,0.20) 0%, transparent 55%),
    radial-gradient(ellipse 45% 70% at 105% 5%, rgba(163,201,0,0.07) 0%, transparent 45%),
    linear-gradient(155deg, #181818 0%, #0b0b0b 100%);
  display: flex;
  align-items: flex-end;
}

/* Subtle dot-grid texture */
.cat-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* Fade bottom edge into page bg */
.cat-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(11,11,11,0.7) 85%, #0b0b0b 100%);
  pointer-events: none;
}

.cat-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px 28px;
}

.cat-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
  background: rgba(163,201,0,0.12);
  border: 1px solid rgba(163,201,0,0.3);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.cat-hero-content h1 {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.cat-hero-content h1 em {
  color: var(--lime);
  font-style: normal;
}

.cat-hero-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 480px;
}

/* ── Page intro ── */
.page-intro-v2 {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--lime);
  padding: 16px 18px;
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.page-intro-v2 strong { color: var(--white); font-weight: 700; }

/* ── Tier sections ── */
.tier-v2 {
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tier-v2-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
}

.tier-v2-header.budget, .tier-v2 .tier-v2-header:has(.budget) { background: linear-gradient(135deg,#1e3a8a,#2563eb); }

.tier-v2-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 99px;
  flex-shrink: 0;
}

.tier-v2-badge.budget  { background: rgba(59,130,246,0.25); color: #93c5fd; border: 1px solid rgba(59,130,246,0.4); }
.tier-v2-badge.value   { background: rgba(163,201,0,0.2);   color: var(--lime); border: 1px solid rgba(163,201,0,0.4); }
.tier-v2-badge.premium { background: rgba(168,85,247,0.2);  color: #d8b4fe; border: 1px solid rgba(168,85,247,0.4); }

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

.tier-v2-title {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}

.tier-v2-sub {
  font-size: 0.78rem;
  color: var(--text-light);
  width: 100%;
  margin-top: -4px;
}

/* ── Products grid ── */
.products-v2 {
  background: var(--bg-card);
}

/* ── Product card (mobile-first: full width stacked) ── */
.pcard {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.pcard:last-child { border-bottom: none; }
.pcard:hover { background: var(--bg-card2); }

.pcard-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  /* Light bg so multiply blend can erase the white from product photos */
  background: #f0eeea;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  border-bottom: none;
  isolation: isolate;
}

/* Dark vignette fades edges + bottom into the card */
.pcard-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 80% at 50% 42%, transparent 28%, rgba(14,14,14,0.5) 62%, #141414 90%),
    linear-gradient(to bottom, transparent 25%, rgba(14,14,14,0.9) 75%, #141414 100%);
  pointer-events: none;
  z-index: 1;
}

.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px 16px 24px;
  /* Multiply: white in the image × light bg = invisible. Product colours remain. */
  mix-blend-mode: multiply;
  position: relative;
  z-index: 0;
}

.pcard-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pcard-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ── Price + score row ── */
.pcard-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pcard-price-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pcard-price {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--lime);
  letter-spacing: -0.02em;
  line-height: 1;
}

.pcard-price-note {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
}

.pcard-score {
  text-align: right;
  flex-shrink: 0;
}

.pcard-score-num {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pcard-score-num span {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.pcard-score-label {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: right;
}

/* ── Description ── */
.pcard-desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── Spec tags ── */
.pcard-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pcard-spec {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--bg-card3);
  border: 1px solid var(--border-hi);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

/* ── Card footer ── */
.pcard-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.pcard-best-for {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.pcard-best-for::before {
  content: "Best for: ";
  color: var(--lime);
  font-weight: 700;
}

.pcard-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn:hover { opacity: 0.85; text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }

.btn-sm {
  font-size: 0.82rem;
  padding: 10px 18px;
  min-height: 40px;
}

.btn-amazon {
  background: #ff9900;
  color: #000;
}

.btn-walmart {
  background: #0071ce;
  color: #fff;
}

/* ── Affiliate disclosure ── */
.disclosure {
  margin-top: 40px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
}

.disclosure strong { color: var(--text-mid); }

/* ══════════════════════════════════════════
   RESPONSIVE — PRODUCT PAGES
══════════════════════════════════════════ */

/* Tablet: 2-column product grid, image side-by-side with content */
@media (min-width: 600px) {
  .cat-page-hero { height: 340px; }
  .cat-hero-content h1 { font-size: 3.2rem; }
  .cat-hero-content { padding: 0 32px 36px; }

  .products-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pcard {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  /* Remove right border from every other card */
  .pcard:nth-child(2n) { border-right: none; }

  /* Bottom row has no bottom border */
  .pcard:nth-last-child(-n+2) { border-bottom: none; }

  .pcard-img { height: 210px; }
  .pcard-body { padding: 16px; }
}

/* Desktop: wider layout improvements */
@media (min-width: 900px) {
  .cat-page-hero { height: 400px; }
  .cat-hero-content h1 { font-size: 4rem; }

  .pcard-img { height: 260px; }
  .pcard-name { font-size: 1.1rem; }
  .pcard-body { padding: 20px; gap: 14px; }

  .tier-v2-header { padding: 16px 24px; }
  .tier-v2-title { font-size: 1.5rem; }
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.nav-search-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 7px 9px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.15s, background 0.15s;
  margin-left: 4px;
  flex-shrink: 0;
}
.nav-search-btn:hover { opacity: 1; background: rgba(255,255,255,0.07); }
.nav-search-btn svg { pointer-events: none; }

.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 68px 16px 16px;
}
.search-overlay.open { display: block; }

.search-box {
  background: #1c1c1c;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 14px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(0,0,0,0.65);
}
.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}
.search-input-row svg { color: #666; flex-shrink: 0; }
.search-input-row input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.05rem;
  padding: 18px 0;
  font-family: inherit;
}
.search-input-row input::placeholder { color: #555; }
.search-esc {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: #666;
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}
.search-esc:hover { color: #ccc; border-color: rgba(255,255,255,0.25); }
.search-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 0;
}
.search-results {
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.search-hint {
  padding: 9px 18px;
  color: #444;
  font-size: 0.75rem;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 18px;
  color: #bbb;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.1s, color 0.1s;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover,
.search-result.highlighted { background: rgba(163,201,0,0.09); color: #fff; }
.sr-tag {
  font-size: 0.67rem;
  color: var(--lime);
  background: rgba(163,201,0,0.1);
  border: 1px solid rgba(163,201,0,0.2);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}
.sr-tag.tag-product { color: #a78bfa; background: rgba(167,139,250,0.08); border-color: rgba(167,139,250,0.2); width: auto; }
.sr-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sr-title { font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-sub { font-size: 0.72rem; color: #555; }
.search-empty {
  padding: 28px 18px;
  color: #555;
  text-align: center;
  font-size: 0.875rem;
}

/* ============================================================
   SIDEBAR + PAGE LAYOUT
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: 208px 1fr;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 72px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 74px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.85rem;
}
.side-nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  color: var(--lime);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  background: rgba(163,201,0,0.04);
  transition: background 0.15s;
}
.side-nav-back:hover { background: rgba(163,201,0,0.1); color: #fff; }
.side-nav-group { padding: 8px 0 4px; }
.side-nav-group + .side-nav-group {
  border-top: 1px solid var(--border);
}
.side-nav-label {
  display: block;
  padding: 4px 14px 4px;
  color: var(--muted);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}
.side-nav-group ul { list-style: none; padding: 0; margin: 0 0 4px; }
.side-nav-group li a {
  display: block;
  padding: 6px 14px 6px 20px;
  color: #999;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.12s, background 0.12s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side-nav-group li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.04);
}
.side-nav-group li a.active {
  color: var(--lime);
  border-left-color: var(--lime);
  background: rgba(163,201,0,0.07);
  font-weight: 500;
}

/* Sidebar content column */
.sidebar-content { min-width: 0; }
.sidebar-content .breadcrumb { padding-left: 0; padding-right: 0; }
.sidebar-content .container { max-width: none; padding-left: 0; padding-right: 0; margin: 0; }

/* Mobile: hide sidebar, show category strip */
@media (max-width: 900px) {
  .page-layout {
    display: block;
    padding: 0 0 48px;
  }
  .side-nav {
    position: static;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav-back { display: none; }
  .side-nav-group {
    display: flex;
    padding: 0;
    border-top: none !important;
    flex-shrink: 0;
  }
  .side-nav-group:first-child { padding-left: 8px; }
  .side-nav-label { display: none; }
  .side-nav-group ul { display: flex; flex-direction: row; margin: 0; }
  .side-nav-group li a {
    padding: 10px 14px;
    border-left: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    font-size: 0.8rem;
  }
  .side-nav-group li a.active {
    border-left: none;
    border-bottom-color: var(--lime);
    background: none;
  }
  .sidebar-content .breadcrumb { padding-left: 16px; padding-right: 16px; }
  .sidebar-content .container { padding-left: 16px; padding-right: 16px; }
}

