/* ═══════════════════════════════════════════════════════════
   BLACKHAWK OFF-ROAD — Cloudflare Pages Theme
   Clean, modern white theme — Inter font, black/gold accents
   ═══════════════════════════════════════════════════════════ */

:root {
  --primary: #1a1a1a;
  --primary-dark: #000000;
  --primary-light: #333333;
  --accent: #B8860B;
  --accent-light: #D4A843;
  --secondary: #f5f5f5;
  --text: #1a1a1a;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f9fafb;
  --bg-elevated: #f5f5f5;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --white: #ffffff;
  --black: #000000;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1320px;
  --header-height: 70px;
  --radius: 4px;
  --radius-lg: 14px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

.bh-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── ANNOUNCEMENT BAR ─── */
.bh-announcement {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ─── HEADER ─── */
.bh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.bh-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 0 var(--border);
}

.bh-header.scrolled .bh-nav-link { color: var(--text); }
.bh-header.scrolled .bh-nav-link:hover { color: var(--accent); }
.bh-header.scrolled .bh-icon-btn { color: var(--text); }
.bh-header.scrolled .bh-hamburger span { background: var(--text); }

.bh-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 12px;
  padding-bottom: 0;
}

.bh-header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  margin-bottom: 4px;
}

.bh-logo img {
  height: 50px;
  width: auto;
}

.bh-logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
}

.bh-header.scrolled .bh-logo-text { color: var(--text); }

.bh-header-icons {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Nav */
.bh-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bh-nav-link {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}

.bh-nav-link:hover {
  color: var(--white);
}

/* Nav Icons */
.bh-nav-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bh-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 18px;
  text-decoration: none;
}

.bh-icon-btn:hover {
  color: var(--accent);
}

.bh-cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.bh-cart-count.visible { display: flex; }

/* Hamburger */
.bh-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.bh-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  display: block;
}

.bh-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.bh-hamburger.active span:nth-child(2) { opacity: 0; }
.bh-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Search bar */
.bh-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.bh-search-overlay.active { display: flex; }

.bh-search-box {
  width: 90%;
  max-width: 640px;
  position: relative;
}

.bh-search-input {
  width: 100%;
  padding: 16px 20px;
  padding-right: 50px;
  font-size: 18px;
  font-family: var(--font-body);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}

.bh-search-input:focus { border-color: var(--primary); }
.bh-search-input::placeholder { color: var(--text-muted); }

.bh-search-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

/* Vehicle Bar */
.bh-vehicle-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  display: none;
  margin-top: var(--header-height);
}

.bh-vehicle-bar.visible { display: block; }

.bh-vehicle-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
}

.bh-vehicle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,134,11,0.1);
  border: 1px solid rgba(184,134,11,0.3);
  border-radius: 20px;
  padding: 4px 14px 4px 10px;
  color: var(--accent);
  font-weight: 600;
}

.bh-vehicle-clear {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  background: none;
  border: none;
  padding: 4px 8px;
}

.bh-vehicle-clear:hover { color: var(--text); }

/* ─── HERO ─── */
.bh-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: var(--header-height);
  overflow: hidden;
}

.bh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18,18,18,0.4);
}

.bh-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 800px;
}

.bh-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.bh-hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  font-weight: 400;
}

/* YMM Search Box */
.bh-ymm-search {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 680px;
  margin: 0 auto;
}

.bh-ymm-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.bh-ymm-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.bh-ymm-field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.bh-ymm-field select:focus {
  outline: none;
  border-color: var(--primary);
}

.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.bh-btn-primary {
  background: var(--primary);
  color: var(--white);
}

.bh-btn-primary:hover {
  background: #2b2b2b;
  color: var(--white);
  transform: translateY(-1px);
}

.bh-btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.bh-btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.bh-btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* ─── SECTIONS ─── */
.bh-section {
  padding: 80px 0;
}

.bh-section-dark { background: var(--bg); }
.bh-section-elevated { background: var(--bg-elevated); }

.bh-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.bh-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.bh-section-header p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.bh-accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
}

/* Keep .bh-red-line as alias */
.bh-red-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
}

/* ─── CATEGORY GRID ─── */
.bh-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bh-cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s;
  text-decoration: none;
  display: block;
  aspect-ratio: 4/3;
}

.bh-cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.bh-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.bh-cat-card:hover img { transform: scale(1.05); }

.bh-cat-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.bh-cat-card-overlay h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.bh-cat-card-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  margin-top: 4px;
}

/* ─── BRAND SHOWCASE ─── */
.bh-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: center;
}

.bh-brand-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.5;
  transition: all var(--transition);
  padding: 12px 20px;
}

.bh-brand-logo:hover {
  opacity: 1;
  color: var(--text);
}

/* ─── VALUE PROPS ─── */
.bh-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.bh-value-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.bh-value-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.bh-value-icon {
  width: 56px;
  height: 56px;
  background: rgba(184,134,11,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--accent);
}

.bh-value-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.bh-value-card p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* ─── TRUST BANNER ─── */
.bh-trust-banner {
  position: relative;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bh-trust-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(51,51,51,0.85);
}

.bh-trust-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.bh-trust-banner-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.bh-trust-banner-content p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-bottom: 24px;
}

/* ─── FAQ ─── */
.bh-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bh-faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s;
}

.bh-faq-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.bh-faq-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.bh-faq-card h3 .bh-faq-toggle {
  font-size: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.bh-faq-card.open .bh-faq-toggle {
  transform: rotate(45deg);
}

.bh-faq-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  display: none;
}

.bh-faq-card.open p {
  display: block;
  margin-top: 4px;
}

/* ─── SEO CONTENT ─── */
.bh-seo-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.bh-seo-content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.bh-seo-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ─── PRODUCT CARDS ─── */
.bh-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bh-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}

.bh-product-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.bh-product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bh-product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s;
}

.bh-product-card:hover .bh-product-card-img img { transform: scale(1.05); }

.bh-product-card-body {
  padding: 16px;
}

.bh-product-brand {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.bh-product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bh-product-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.bh-product-price-from {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.bh-product-compare {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.bh-product-stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 4px;
}

.bh-stock-in { background: rgba(34,197,94,0.1); color: var(--success); }
.bh-stock-low { background: rgba(245,158,11,0.1); color: var(--warning); }
.bh-stock-out { background: rgba(239,68,68,0.1); color: var(--danger); }

.bh-product-fits {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(34,197,94,0.1);
  color: var(--success);
}

/* ─── PRODUCT DETAIL ─── */
.bh-product-detail {
  padding-top: calc(var(--header-height) + 24px);
}

.bh-breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.bh-breadcrumbs a { color: var(--text-secondary); }
.bh-breadcrumbs a:hover { color: var(--accent); }
.bh-breadcrumbs span { margin: 0 8px; }

.bh-pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 24px 0 64px;
}

.bh-pdp-gallery {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bh-pdp-gallery img {
  max-height: 100%;
  object-fit: contain;
}

.bh-pdp-info h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.bh-pdp-brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.bh-pdp-price {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.bh-pdp-msrp {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 16px;
}

.bh-pdp-map-badge {
  display: inline-block;
  background: rgba(184,134,11,0.1);
  border: 1px solid rgba(184,134,11,0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.bh-pdp-variants {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bh-variant-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.bh-variant-group select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.bh-variant-group select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Warehouse availability */
.bh-warehouse-list {
  margin: 16px 0;
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.bh-warehouse-list h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.bh-warehouse-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.bh-warehouse-row:last-child { border-bottom: none; }
.bh-warehouse-name { color: var(--text); }
.bh-warehouse-qty { font-weight: 600; }
.bh-warehouse-qty.in-stock { color: var(--success); }
.bh-warehouse-qty.out { color: var(--text-muted); }

/* Fitment badge */
.bh-fitment-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius);
  margin: 16px 0;
  font-size: 14px;
  font-weight: 600;
}

.bh-fitment-fits {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--success);
}

.bh-fitment-nofit {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: var(--danger);
}

/* Add to cart */
.bh-add-to-cart {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  align-items: center;
}

.bh-qty-input {
  width: 80px;
  padding: 12px;
  text-align: center;
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
}

.bh-qty-input:focus {
  outline: none;
  border-color: var(--primary);
}

.bh-btn-add-cart {
  flex: 1;
  padding: 14px 32px;
  font-size: 15px;
}

.bh-free-ship-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

/* Tabs */
.bh-tabs {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 32px;
}

.bh-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}

.bh-tab-btn {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.bh-tab-btn:hover { color: var(--text); }
.bh-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.bh-tab-content { display: none; }
.bh-tab-content.active { display: block; }

.bh-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.bh-spec-table tr { border-bottom: 1px solid var(--border); }
.bh-spec-table td {
  padding: 10px 16px;
  font-size: 14px;
}
.bh-spec-table td:first-child {
  color: var(--text-secondary);
  font-weight: 600;
  width: 180px;
}

/* ─── CATEGORY PAGE ─── */
.bh-category-page {
  padding-top: calc(var(--header-height) + 24px);
  min-height: 100vh;
}

.bh-category-header {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.bh-category-header h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
}

.bh-category-header p {
  color: var(--text-secondary);
  margin-top: 8px;
}

.bh-category-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding-bottom: 64px;
}

/* Filters sidebar */
.bh-filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.bh-filter-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.bh-filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.bh-filter-group h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.bh-filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  transition: color var(--transition);
}

.bh-filter-option:hover { color: var(--primary); }

.bh-filter-option input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.bh-filter-count {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 12px;
}

/* Sort bar */
.bh-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.bh-result-count {
  font-size: 14px;
  color: var(--text-secondary);
}

.bh-sort-select {
  padding: 8px 32px 8px 12px;
  font-size: 13px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  font-family: var(--font-body);
}

/* ─── CART ─── */
.bh-cart-page {
  padding-top: calc(var(--header-height) + 40px);
  min-height: 80vh;
}

.bh-cart-page h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
}

.bh-cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding-bottom: 64px;
}

.bh-cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.bh-cart-item-img {
  width: 100px;
  height: 100px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bh-cart-item-img img { max-height: 80px; object-fit: contain; }

.bh-cart-item-info h3 {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}

.bh-cart-item-variant {
  font-size: 12px;
  color: var(--text-muted);
}

.bh-cart-item-price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.bh-cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.bh-cart-qty-btn {
  width: 30px;
  height: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

.bh-cart-qty-btn:hover { border-color: var(--primary); }

.bh-cart-item-remove {
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-top: 8px;
}

.bh-cart-item-remove:hover { color: var(--danger); }

/* Cart summary */
.bh-cart-summary {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.bh-cart-summary h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.bh-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.bh-summary-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 12px;
}

.bh-free-shipping-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 16px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
}

/* ─── CHECKOUT ─── */
.bh-checkout-page {
  padding-top: calc(var(--header-height) + 40px);
  min-height: 80vh;
}

.bh-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  padding-bottom: 64px;
}

.bh-form-section {
  margin-bottom: 32px;
}

.bh-form-section h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.bh-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.bh-form-row.full { grid-template-columns: 1fr; }

.bh-form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.bh-form-field input,
.bh-form-field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color var(--transition);
}

.bh-form-field input:focus,
.bh-form-field select:focus {
  outline: none;
  border-color: var(--primary);
}

.bh-form-field input::placeholder { color: var(--text-muted); }

/* Payment element container */
#payment-element {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 80px;
}

/* ─── FOOTER ─── */
.bh-footer {
  background: #1a1a1a;
  border-top: none;
  padding: 64px 0 0;
}

.bh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.bh-footer-brand .bh-logo-text {
  font-size: 20px;
  margin-bottom: 12px;
  display: block;
  color: var(--white);
}

.bh-footer-brand .bh-logo-text span { color: var(--accent); }

.bh-footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.bh-footer-social {
  display: flex;
  gap: 12px;
}

.bh-footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  font-size: 16px;
}

.bh-footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}

.bh-footer h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.bh-footer ul {
  list-style: none;
}

.bh-footer li {
  margin-bottom: 8px;
}

.bh-footer li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color var(--transition);
}

.bh-footer li a:hover { color: var(--accent); }

.bh-footer li.warehouse {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  padding-left: 16px;
  position: relative;
}

.bh-footer li.warehouse::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Newsletter */
.bh-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.bh-newsletter-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
}

.bh-newsletter-input:focus {
  outline: none;
  border-color: var(--accent);
}

.bh-newsletter-input::placeholder { color: rgba(255,255,255,0.4); }

.bh-newsletter-btn {
  padding: 10px 20px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  font-family: var(--font-body);
}

.bh-newsletter-btn:hover { background: var(--accent-light); }

.bh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding: 20px 0;
  text-align: center;
}

.bh-footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ─── EMPTY STATE ─── */
.bh-empty-state {
  text-align: center;
  padding: 80px 24px;
}

.bh-empty-state h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.bh-empty-state p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ─── LOADING SPINNER ─── */
.bh-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: bh-spin 0.8s linear infinite;
  margin: 40px auto;
}

@keyframes bh-spin {
  to { transform: rotate(360deg); }
}

/* ─── KLAVIYO POPUP ─── */
.bh-klaviyo-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--accent);
  padding: 24px;
  z-index: 3000;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.bh-klaviyo-popup.visible { display: block; }

.bh-klaviyo-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.bh-klaviyo-inner h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.bh-klaviyo-inner p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
}

.bh-klaviyo-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

/* Klaviyo newsletter form on light bg */
.bh-klaviyo-popup .bh-newsletter-input {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: var(--text);
}
.bh-klaviyo-popup .bh-newsletter-input::placeholder { color: var(--text-muted); }

/* ─── ACCOUNT PAGE ─── */
.bh-account-page {
  padding-top: calc(var(--header-height) + 40px);
  min-height: 80vh;
}

.bh-auth-box {
  max-width: 420px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.bh-auth-box h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 24px;
}

.bh-auth-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.bh-auth-toggle button {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.bh-auth-toggle button.active {
  background: var(--primary);
  color: var(--white);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .bh-product-grid { grid-template-columns: repeat(3, 1fr); }
  .bh-value-grid { grid-template-columns: repeat(3, 1fr); }
  .bh-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .bh-faq-grid { grid-template-columns: repeat(2, 1fr); }
  .bh-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bh-pdp-grid { gap: 32px; }
  .bh-checkout-layout { grid-template-columns: 1fr 340px; }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }

  .bh-header-inner {
    flex-direction: row;
    justify-content: space-between;
    padding-top: 0;
    height: var(--header-height);
  }

  .bh-header-top { margin-bottom: 0; }
  .bh-header-icons { position: static; transform: none; }

  .bh-nav { display: none; }
  .bh-hamburger { display: flex; }

  .bh-nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px;
    gap: 4px;
    z-index: 999;
    overflow-y: auto;
  }

  .bh-nav.active .bh-nav-link {
    font-size: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    color: var(--text);
  }

  .bh-hero { min-height: 70vh; }
  .bh-ymm-row { grid-template-columns: 1fr; }
  .bh-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bh-cat-grid { grid-template-columns: 1fr; }
  .bh-value-grid { grid-template-columns: 1fr; }
  .bh-faq-grid { grid-template-columns: 1fr; }
  .bh-pdp-grid { grid-template-columns: 1fr; }
  .bh-category-layout { grid-template-columns: 1fr; }
  .bh-cart-layout { grid-template-columns: 1fr; }
  .bh-checkout-layout { grid-template-columns: 1fr; }
  .bh-footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .bh-filters {
    position: static;
  }

  .bh-section { padding: 48px 0; }
  .bh-section-header h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  .bh-product-grid { grid-template-columns: 1fr; }
  .bh-cart-item { grid-template-columns: 80px 1fr; }
  .bh-cart-item-price { grid-column: 1 / -1; text-align: left; }
}

/* ─── UTILITIES ─── */
.bh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.bh-text-center { text-align: center; }
.bh-mt-1 { margin-top: 8px; }
.bh-mt-2 { margin-top: 16px; }
.bh-mt-3 { margin-top: 24px; }
.bh-mb-1 { margin-bottom: 8px; }
.bh-mb-2 { margin-bottom: 16px; }
.bh-mb-3 { margin-bottom: 24px; }
