﻿/* =========================================
   CSS Variables
   ========================================= */
:root {
  /* Backgrounds */
  --bg: #000000;
  --surface: #121212;
  --surface2: #181818;
  --surface3: #222222;

  /* Brand – Primary (Orange) */
  --accent: #FF9900;
  --accent-hover: #FFB033;
  --accent-active: #E68A00;
  --accent-glow: rgba(255, 153, 0, 0.12);

  /* Brand – Secondary (Cyan) */
  --secondary: #00CEFF;
  --secondary-hover: #33D8FF;
  --secondary-glow: rgba(0, 206, 255, 0.12);

  /* Text */
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  /* Misc */
  --radius: 8px;
  --radius-lg: 12px;
  --header-height: 56px;
  --transition: 0.2s ease;
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
}

/* =========================================
   Reset
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(1.9rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =========================================
   Layout
   ========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 0.4rem;
}

.section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.section-header-row .btn {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* =========================================
   Header
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition);
  overflow: visible;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.98);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Logo – Full & Emblem variants */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

/* Full logo: default hidden, shown on homepage & when menu is open */
.logo--full {
  display: none;
}

/* Emblem: shown on all subpages by default */
.logo--emblem {
  display: flex;
}

.logo--full img {
  height: 28px;
  width: auto;
  display: block;
}

.logo--emblem img {
  height: 28px;
  width: 28px;
  display: block;
}

/* Section title: mobile subpages only */
.header-section-title {
  display: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  margin-right: auto;
}

/* Homepage: show full logo */
.site-header--home .logo--full {
  display: flex;
}
.site-header--home .logo--emblem {
  display: none;
}

/* Mobile: show section title on all subpages */
@media (max-width: 767px) {
  .header-section-title {
    display: block;
  }
  /* Homepage mobile: full logo, no section title */
  .site-header--home .logo--full {
    display: flex;
    margin-right: auto;
  }
  .site-header--home .header-section-title {
    display: none;
  }
}

/* Mobile menu open: show full logo */
.site-header.menu-open .logo--full {
  display: flex;
}
.site-header.menu-open .logo--emblem {
  display: none;
}
.site-header.menu-open .header-section-title {
  display: none;
}
.main-nav {
  display: none;
  margin-left: 0.5rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    flex: 1;
  }
}

.main-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.main-nav a.active {
  color: var(--accent);
}

/* Header inline search (desktop only) */
.header-search {
  display: none;
  position: relative;
  flex: 0 1 280px;
}

@media (min-width: 768px) {
  .header-search {
    display: block;
  }
}

@media (max-width: 900px) {
  .header-search {
    flex: 0 1 160px;
  }
}

.header-search-input {
  width: 100%;
  height: 34px;
  padding: 0 2rem 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.header-search-input:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.header-search-input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.15);
}

.header-search-icon {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  pointer-events: none;
}

/* Header Actions (right side) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  transition: color var(--transition), background var(--transition);
}

.btn-icon:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Cart hidden on mobile (menu replaces it) */
.btn-icon.cart-btn {
  display: none;
}

@media (min-width: 768px) {
  .btn-icon.cart-btn {
    display: flex;
  }
}

.header-login {
  display: none;
}

@media (min-width: 480px) {
  .header-login {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all var(--transition);
    white-space: nowrap;
  }

  .header-login:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
  }
}

/* Hamburger */
.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  transition: background var(--transition), color var(--transition);
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   Mobile Menu (fullscreen dropup from header)
   ========================================= */
html.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex-direction: column;
  padding: 0.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
}

.mobile-menu-section {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  padding: 0.625rem 1rem 0.125rem;
  margin: 0;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu-link i {
  font-size: 1rem;
  width: 1.25rem;
  text-align: center;
  opacity: 0.5;
}

.mobile-menu-link:hover i,
.mobile-menu-link.active i {
  opacity: 1;
}

.mobile-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0.375rem 0;
}

.mobile-menu-footer {
  padding: 0.75rem 1rem 1rem;
  margin-top: auto;
}

.mobile-menu-copyright {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.2);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface3);
  border-color: var(--border-hover);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--surface2);
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.35rem 0.7rem;
  font-size: 0.775rem;
}

/* =========================================
   Badges / Tags
   ========================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-feminized {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.22);
}

.badge-automatic {
  background: rgba(251, 146, 60, 0.12);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.22);
}

.badge-regular {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.badge-f1 {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.22);
}

.badge-triploid {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.badge-default {
  background: var(--surface2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.badge-accent {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(255, 153, 0, 0.28);
}

.badge-secondary {
  background: rgba(0, 206, 255, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(0, 206, 255, 0.22);
}

/* =========================================
   Chip Filters
   ========================================= */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.chip:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--surface2);
}

.chip.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* =========================================
   Search Input
   ========================================= */
.search-wrapper {
  position: relative;
  width: 100%;
}

.search-wrapper i {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.875rem;
}

.search-input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  border-color: var(--accent);
  background: var(--surface2);
}

/* =========================================
   Grid
   ========================================= */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

/* =========================================
   Page Hero (inner pages)
   ========================================= */
.page-hero {
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.625rem;
}

.page-hero h1 {
  margin-bottom: 0.625rem;
}

.page-hero p {
  max-width: 580px;
  font-size: 0.95rem;
}

/* =========================================
   Stats Strip
   ========================================= */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-value {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
  font-weight: 600;
}

/* =========================================
   Strain Card
   ========================================= */
.strain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.strain-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.strain-card-thumb {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.strain-card-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
}

.strain-card-body {
  padding: 0.875rem 1rem 1rem;
}

.strain-card-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strain-card-breeder {
  font-size: 0.755rem;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strain-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.bloom-time {
  font-size: 0.73rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.bloom-time i {
  color: var(--text-muted);
}

/* =========================================
   Breeder Card
   ========================================= */
.breeder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.125rem 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.625rem;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.breeder-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  background: var(--surface2);
}

.breeder-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent);
  border: 1px solid var(--border);
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.breeder-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.3;
}

.breeder-meta {
  font-size: 0.73rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.breeder-country {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.73rem;
  color: var(--text-secondary);
}

/* =========================================
   Breeder Group (A-Z page)
   ========================================= */
.breeder-group {
  margin-bottom: 2.5rem;
}

.breeder-group-letter {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* =========================================
   Magazine / Article Card
   ========================================= */
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.article-card-img {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.article-card-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.2;
}

.article-card-body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 0.425rem;
}

.article-card-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.425rem;
  line-height: 1.35;
}

.article-card-excerpt {
  font-size: 0.795rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: auto;
}

.article-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* =========================================
   Featured Article
   ========================================= */
.article-featured {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: border-color var(--transition);
  text-decoration: none;
  display: block;
}

.article-featured:hover {
  border-color: var(--border-hover);
}

@media (min-width: 768px) {
  .article-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.article-featured-img {
  min-height: 220px;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-featured-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #080808 100%);
}

.article-featured-img-icon {
  position: relative;
  font-size: 5rem;
  opacity: 0.18;
  z-index: 1;
}

.article-featured-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.7rem;
  background: var(--accent-glow);
  border: 1px solid rgba(255, 153, 0, 0.28);
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.875rem;
  width: fit-content;
}

.article-featured-title {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.article-featured-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.article-featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.article-featured-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* =========================================
   Newsletter Section
   ========================================= */
.newsletter-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
  text-align: center;
}

.newsletter-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border: 1px solid rgba(255, 153, 0, 0.28);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent);
  margin: 0 auto 1.25rem;
}

.newsletter-section h2 {
  margin-bottom: 0.625rem;
}

.newsletter-section > .container > p {
  max-width: 440px;
  margin: 0 auto 1.75rem;
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 0.625rem;
  max-width: 400px;
  margin: 0 auto;
  flex-direction: column;
}

@media (min-width: 480px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  font-size: 0.875rem;
  transition: border-color var(--transition);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-note {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.newsletter-success {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--accent-glow);
  border: 1px solid rgba(255, 153, 0, 0.28);
  border-radius: var(--radius);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
}

/* Footer hidden on mobile – bottom nav replaces it */
@media (max-width: 991px) {
  .site-footer {
    display: none;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: auto 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: auto 1fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand {
  grid-column: 1 / -1;
}

@media (min-width: 600px) {
  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
  max-width: 200px;
  line-height: 1.5;
}

.footer-brand .logo img {
  max-width: 120px;
  height: auto;
}

.footer-nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-nav-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: baseline;
  text-align: center;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   Mobile Bottom Navigation Bar
   ========================================= */
:root {
  --bottom-nav-height: 56px;
}

.bottom-nav {
  display: none;
}

@media (max-width: 991px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 90;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  /* Push page content above bottom nav */
  body {
    padding-bottom: var(--bottom-nav-height);
  }

  /* Hide bottom nav when mobile menu is open */
  html.mobile-menu-open .bottom-nav {
    display: none;
  }
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0.35rem 0.25rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav__item i {
  font-size: 1.2rem;
  line-height: 1;
}

.bottom-nav__item:hover,
.bottom-nav__item.active {
  color: var(--accent);
}

/* Hamburger tab in bottom nav */
.bottom-nav__item--menu {
  position: relative;
}

.bottom-nav__item--menu.open {
  color: var(--accent);
}

/* =========================================
   Strain Detail Page
   ========================================= */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: calc(var(--header-height) + 1.25rem);
  padding-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb i {
  font-size: 0.55rem;
  opacity: 0.5;
}

/* 2-column product layout */
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .product-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  cursor: zoom-in;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-main:hover .gallery-main-img {
  transform: scale(1.03);
}

/* Emoji/gradient placeholder when no real image */
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 60% 30%, rgba(255,153,0,0.12) 0%, transparent 65%),
              radial-gradient(ellipse at 30% 70%, rgba(34,197,94,0.08) 0%, transparent 60%),
              var(--surface);
  font-size: 5rem;
  gap: 0.5rem;
}

.gallery-placeholder-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--accent);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product Info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.product-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

/* Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  font-size: 0.85rem;
}

.stars .half {
  position: relative;
  color: var(--text-muted);
}

.stars .half::before {
  content: '\f005';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
  overflow: hidden;
  width: 50%;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.rating-score {
  font-weight: 700;
  color: var(--text);
  font-size: 0.875rem;
}

/* Key attributes mini grid */
.attr-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.attr-mini-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
}

.attr-mini-icon {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.1rem;
}

.attr-mini-value {
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.attr-mini-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  font-weight: 600;
}

/* Variant Selector */
.variant-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.variant-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.variant-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 72px;
  gap: 0.1rem;
}

.variant-btn:hover {
  border-color: var(--border-hover);
  background: var(--surface2);
}

.variant-btn.active {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.variant-btn-count {
  font-size: 0.875rem;
  font-weight: 700;
}

.variant-btn-price {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.variant-btn.active .variant-btn-price {
  color: var(--accent);
}

/* Price + Cart */
.buy-block {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.buy-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.buy-price-main {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}

.buy-price-per {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-cart {
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  width: 100%;
}

.btn-cart:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,153,0,0.3);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.725rem;
  color: var(--text-muted);
}

.trust-item i {
  color: var(--accent);
  font-size: 0.875rem;
}

/* Mobile sticky buy bar */
.sticky-buy-bar {
  display: none;
}

@media (max-width: 767px) {
  .sticky-buy-bar {
    display: flex;
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    align-items: center;
    z-index: 80;
  }

  .sticky-buy-info {
    flex: 1;
    min-width: 0;
  }

  .sticky-buy-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sticky-buy-price {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
  }

  .sticky-buy-btn {
    background: var(--accent);
    color: #000;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background var(--transition);
  }

  .sticky-buy-btn:hover {
    background: var(--accent-hover);
  }

  /* Add bottom padding to body to account for sticky bar */
  body {
    padding-bottom: calc(var(--bottom-nav-height) + 64px);
  }
}

/* Attribute full table */
.attr-section {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
}

.attr-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.attr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .attr-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .attr-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.attr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.attr-card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.attr-card-value {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.attr-card-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.attr-card-icon {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

/* Terpene/flavor pills */
.flavor-section {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
}

.terpene-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.terpene-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.875rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  transition: all var(--transition);
}

.terpene-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.terpene-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Flavor intensity bars */
.flavor-bars {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.flavor-bar-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.flavor-bar-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  width: 70px;
  flex-shrink: 0;
}

.flavor-bar-track {
  flex: 1;
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
}

.flavor-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.6s ease;
}

/* Tabs */
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
  margin-bottom: -1px;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: #fff;
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Description text */
.detail-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.detail-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 1.75rem 0 0.625rem;
}

.detail-text h3:first-child {
  margin-top: 0;
}

.detail-text p {
  margin-bottom: 1rem;
}

/* Review summary */
.review-summary {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.review-score-big {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.review-score-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.review-bar-container {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.review-bar-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.review-bar-row span:first-child {
  width: 14px;
  text-align: right;
  flex-shrink: 0;
}

.review-bar-track {
  flex: 1;
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.review-bar-row span:last-child {
  width: 28px;
  flex-shrink: 0;
  color: var(--text-muted);
}

/* Related strains */
.related-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

/* =========================================
   Alphabet Filter
   ========================================= */
.alpha-bar {
  position: sticky;
  top: var(--header-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.625rem 0;
  z-index: 50;
  margin-bottom: 2rem;
}

.alpha-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.alpha-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 0.3rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.alpha-btn:hover {
  color: var(--text);
  border-color: var(--border);
  background: var(--surface2);
}

.alpha-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.alpha-btn.inactive {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* =========================================
   Filter Bar
   ========================================= */
.filter-bar {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: 1.75rem;
  padding: 1.125rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

@media (min-width: 900px) {
  .filter-bar {
    flex-direction: row;
    align-items: center;
  }
}

.filter-bar .search-wrapper {
  flex: 1;
  width: 100%;
}

@media (min-width: 900px) {
  .filter-bar .search-wrapper {
    max-width: 280px;
  }
}

.filter-bar-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

@media (min-width: 900px) {
  .filter-bar-right {
    width: auto;
    flex: 1;
  }
}

.sort-select {
  padding: 0.55rem 0.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.8rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
  margin-left: auto;
}

.sort-select:hover,
.sort-select:focus {
  border-color: var(--border-hover);
  color: var(--text);
}

.sort-select option {
  background: var(--surface);
  color: var(--text);
}

/* =========================================
   Tabs
   ========================================= */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  margin-bottom: -1px;
  transition: all var(--transition);
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* =========================================
   Horizontal Scroll Row
   ========================================= */
.scroll-row {
  display: flex;
  gap: 0.875rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.75rem;
  padding-right: 1rem;
}

.scroll-row::-webkit-scrollbar {
  display: none;
}

.scroll-row .strain-card {
  flex: 0 0 200px;
}

@media (min-width: 768px) {
  .scroll-row .strain-card {
    flex: 0 0 220px;
  }
}

/* =========================================
   Load More / Pagination
   ========================================= */
.load-more-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.results-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.125rem;
}

.results-info strong {
  color: var(--text-secondary);
}

/* =========================================
   Empty State
   ========================================= */
.empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.empty-state i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.25;
  display: block;
  color: var(--text-secondary);
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================
   Hero (Homepage)
   ========================================= */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.055) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.035) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  background: var(--accent-glow);
  border: 1px solid rgba(255, 153, 0, 0.22);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.hero-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

.hero h1 {
  margin-bottom: 1.125rem;
  max-width: 680px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-desc {
  font-size: 0.975rem;
  max-width: 520px;
  margin-bottom: 1.875rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-search {
  max-width: 460px;
}

.hero-search .search-input {
  font-size: 0.95rem;
  padding: 0.8rem 1rem 0.8rem 2.75rem;
  background: var(--surface);
  border-color: var(--border);
}

.hero-search .search-input:focus {
  border-color: var(--accent);
}

.hero-search-hint {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
  padding-left: 0.25rem;
}

/* =========================================
   Scroll Animations
   ========================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }
[data-animate-delay="5"] { transition-delay: 0.5s; }

/* =========================================
   Utility
   ========================================= */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.font-bold    { font-weight: 700; }
.fw-semibold  { font-weight: 600; }
.d-none       { display: none !important; }
.main-content { padding-top: var(--header-height); }
