/* ── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a3a5c;
  --navy-dark:  #0f2340;
  --navy-mid:   #234876;
  --gold:       #d4920a;
  --gold-light: #f0b429;
  --gold-bg:    #fef9ec;
  --green:      #16a34a;
  --green-light:#dcfce7;
  --white:      #ffffff;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-300:   #d1d5db;
  --gray-400:   #9ca3af;
  --gray-500:   #6b7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-md:  0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
  --radius:     12px;
  --radius-sm:  8px;
  --transition: all .2s ease;
  --sidebar-width: 260px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ──────────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Layout ──────────────────────────────────────────────────────────── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ── Announcement Bar ────────────────────────────────────────────────── */
.announcement-bar {
  background: var(--navy-dark);
  color: var(--gray-200);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
}
.announcement-bar span { color: var(--gold-light); }

/* ── Header (ecommerce-style) ────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.logo-wrap { display: flex; align-items: center; flex-shrink: 0; cursor: pointer; }
.logo-wrap img, .logo-wrap svg { height: 44px; }

/* Header search bar (Amazon-style) */
.header-search {
  flex: 1;
  max-width: 600px;
  display: flex;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.header-search:focus-within {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(212,146,10,.15);
}
.header-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  min-width: 0;
}
.header-search input::placeholder { color: var(--gray-400); }
.header-search button {
  background: var(--gold);
  border: none;
  padding: 0 16px;
  cursor: pointer;
  color: var(--white);
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.header-search button:hover { background: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.mobile-menu-btn { display: none !important; }

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.nav-btn.ghost { background: transparent; color: var(--gray-700); }
.nav-btn.ghost:hover { background: var(--gray-100); color: var(--navy); }

/* ── Category Navigation Bar (Amazon department-style) ────────────────── */
.category-nav {
  background: var(--navy);
}
.category-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-nav-inner::-webkit-scrollbar { display: none; }

.cat-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
  font-family: var(--font-sans);
  border-bottom: 2px solid transparent;
}
.cat-nav-btn:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.cat-nav-btn.active {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-bottom-color: var(--gold-light);
  font-weight: 600;
}
.cat-nav-count {
  background: rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
}
.cat-nav-btn.active .cat-nav-count {
  background: rgba(255,255,255,.25);
}

/* ── Subcategory Bar ──────────────────────────────────────────────────── */
.subcategory-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.08);
}
.subcategory-bar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 8px;
}
.subcategory-bar-inner::-webkit-scrollbar { display: none; }

.subcat-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
  font-family: var(--font-sans);
  border-bottom: 2px solid transparent;
}
.subcat-btn:hover {
  background: rgba(255,255,255,.06);
  color: var(--white);
}
.subcat-btn.active {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-bottom-color: var(--gold);
  font-weight: 600;
}
.subcat-count {
  font-size: 11px;
  opacity: .7;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 64px 24px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-content { position: relative; max-width: 1400px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,146,10,.2);
  border: 1px solid rgba(212,146,10,.4);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 4px; }
.hero-search {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
  backdrop-filter: blur(8px);
}
.hero-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-sans);
}
.hero-search input::placeholder { color: rgba(255,255,255,.5); }
.hero-search button {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.hero-search button:hover { background: var(--gold-light); }

/* ── Why Section ─────────────────────────────────────────────────────── */
.why-section {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 40px 24px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.why-card { display: flex; align-items: flex-start; gap: 14px; }
.why-icon {
  width: 44px; height: 44px;
  background: var(--gold-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.why-card h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.why-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════════════
   PRODUCTS LAYOUT — Sidebar + Main Grid (Amazon/REI style)
   ══════════════════════════════════════════════════════════════════════ */

.products-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  gap: 24px;
  padding: 24px;
  align-items: start;
}

/* ── Filter Sidebar ─────────────────────────────────────────────────── */
.filter-sidebar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0;
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.filter-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--gray-200);
}
.filter-sidebar-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
}
.filter-clear-all {
  background: none;
  border: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-sans);
}
.filter-clear-all:hover { color: var(--gold); text-decoration: underline; }

/* Active filter chips */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--gray-200);
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--navy);
  color: var(--white);
  padding: 3px 8px 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}
.filter-chip button {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: 14px;
  padding: 0 2px;
  line-height: 1;
}
.filter-chip button:hover { color: var(--white); }

/* Filter groups */
.filter-group {
  border-bottom: 1px solid var(--gray-100);
}
.filter-group:last-child { border-bottom: none; }

.filter-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-dark);
  font-family: var(--font-sans);
}
.filter-group-toggle svg { transition: transform .2s; }
.filter-group-toggle.collapsed svg { transform: rotate(-90deg); }

.filter-group-body {
  padding: 0 18px 14px;
}

/* Brand search */
.filter-search-input {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--gray-700);
  margin-bottom: 8px;
}
.filter-search-input:focus {
  outline: none;
  border-color: var(--navy);
}

/* Checkbox list */
.filter-checkbox-list {
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--gray-700);
  cursor: pointer;
}
.filter-checkbox input { display: none; }
.checkbox-mark {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.checkbox-mark.radio { border-radius: 50%; }
.filter-checkbox input:checked + .checkbox-mark {
  background: var(--navy);
  border-color: var(--navy);
}
.filter-checkbox input:checked + .checkbox-mark::after {
  content: '✓';
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}
.filter-checkbox input:checked + .checkbox-mark.radio::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}
.filter-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--gray-400);
}

/* Price range */
.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.price-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  flex: 1;
}
.price-input-prefix {
  padding: 0 6px;
  background: var(--gray-50);
  color: var(--gray-500);
  font-size: 13px;
  border-right: 1px solid var(--gray-200);
}
.price-input-wrap input {
  border: none;
  outline: none;
  padding: 6px 8px;
  font-size: 13px;
  width: 100%;
  font-family: var(--font-sans);
}
.price-range-sep { font-size: 13px; color: var(--gray-400); }
.price-go-btn {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.price-go-btn:hover { background: var(--navy-dark); }

.price-quick-filters {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price-quick-filters button {
  background: none;
  border: none;
  text-align: left;
  padding: 4px 0;
  font-size: 13px;
  color: var(--navy);
  cursor: pointer;
  font-family: var(--font-sans);
}
.price-quick-filters button:hover { color: var(--gold); text-decoration: underline; }
.price-quick-filters button.active { font-weight: 600; color: var(--gold); }

/* Rating filter */
.rating-filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rating-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 5px 0;
  cursor: pointer;
  font-family: var(--font-sans);
}
.rating-filter-btn:hover { opacity: .8; }
.rating-filter-btn.active { font-weight: 600; }
.rating-filter-btn.active .rating-label { color: var(--navy); font-weight: 600; }
.stars-sm { color: var(--gold); font-size: 14px; letter-spacing: -1px; }
.stars-sm .star-empty { color: var(--gray-200); }
.rating-label { font-size: 13px; color: var(--gray-500); }

/* ── Products Toolbar ───────────────────────────────────────────────── */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-toggle-mobile {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--gray-700);
  font-family: var(--font-sans);
}
.results-count { font-size: 14px; color: var(--gray-500); white-space: nowrap; }
.results-count strong { color: var(--gray-700); }

.sort-select {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: white;
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--navy); }

.per-page-wrap { display: flex; align-items: center; gap: 6px; }
.per-page-label { font-size: 13px; color: var(--gray-500); white-space: nowrap; }
.per-page-select {
  padding: 6px 10px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 13px;
  font-family: var(--font-sans); color: var(--gray-700); background: var(--white); cursor: pointer;
}

/* View toggle */
.view-toggle {
  display: flex;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  background: var(--white);
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  transition: var(--transition);
}
.view-btn:not(:last-child) { border-right: 1px solid var(--gray-200); }
.view-btn:hover { color: var(--gray-700); }
.view-btn.active { background: var(--navy); color: var(--white); }

/* ── Section Header ──────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  margin-bottom: 4px;
}
.section-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-family: var(--font-serif);
  color: var(--navy-dark);
}
.section-subtitle { font-size: 14px; color: var(--gray-500); margin-top: 4px; }

/* ── Products Grid ───────────────────────────────────────────────────── */
.products-main { min-width: 0; }
.products-grid.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ── List View ───────────────────────────────────────────────────────── */
.products-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.products-grid.list-view .product-card {
  flex-direction: row;
  max-height: none;
}
.products-grid.list-view .card-image-wrap {
  width: 220px;
  min-width: 220px;
  aspect-ratio: auto;
  height: auto;
}
.products-grid.list-view .card-body { flex: 1; }

/* ── Product Card ────────────────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.card-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gray-50);
  overflow: hidden;
}
.card-image-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .3s ease;
}
.card-image-wrap img.placeholder-img {
  padding: 32px;
  opacity: .6;
}
.product-card:hover .card-image-wrap img { transform: scale(1.05); }
.card-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 5px;
}
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 100px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.badge-warranty { background: var(--green); color: var(--white); }
.badge-featured { background: var(--gold); color: var(--white); }

.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-brand {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gold); margin-bottom: 3px;
}
.card-name {
  font-size: 15px; font-weight: 700; color: var(--navy-dark);
  line-height: 1.3; margin-bottom: 8px;
}
.card-rating {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.stars { display: flex; gap: 1px; }
.star { color: var(--gold); font-size: 12px; }
.star.empty { color: var(--gray-200); }
.rating-count { font-size: 11px; color: var(--gray-500); }

.card-description {
  font-size: 13px; color: var(--gray-500); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 12px;
  flex: 1;
}
.card-warranty {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 12px;
}
.card-warranty-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .7px; color: var(--green); margin-bottom: 2px;
}
.card-warranty p {
  font-size: 12px; color: #15803d; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--gray-100); gap: 10px;
  flex-wrap: wrap;
}
.card-price { font-size: 20px; font-weight: 800; color: var(--navy-dark); }
.card-price .from-label { font-size: 11px; font-weight: 400; color: var(--gray-500); display: block; line-height: 1; margin-bottom: 2px; }
.btn-amazon {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, #ffad33 0%, #ff9900 50%, #e68900 100%);
  color: var(--gray-900);
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
  border: none; cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(255,153,0,.3);
  letter-spacing: .2px;
}
.btn-amazon:hover { background: linear-gradient(180deg, #ffc266 0%, #ffad33 50%, #ff9900 100%); transform: scale(1.04); box-shadow: 0 4px 8px rgba(255,153,0,.35); }
.btn-amazon:active { transform: scale(.98); }
.btn-amazon svg { flex-shrink: 0; }

/* ── Why We Chose It Panel ────────────────────────────────────────────── */
.card-why { display: none; }
.card-expand-btn {
  background: none; border: none; cursor: pointer;
  font-size: 12px; color: var(--navy); font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  padding: 0; margin-bottom: 6px;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.card-expand-btn:hover { color: var(--gold); }
.card-expand-btn svg { transition: transform .2s; }
.card-expand-btn.open svg { transform: rotate(180deg); }
.card-why-text {
  font-size: 12px; color: var(--gray-700); line-height: 1.65;
  padding: 10px 12px;
  background: var(--gold-bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  margin-bottom: 12px;
}

/* ── Loading State ───────────────────────────────────────────────────── */
.skeleton { animation: shimmer 1.5s infinite; background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%); background-size: 200% 100%; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); overflow: hidden; }
.skeleton-image { height: 200px; }
.skeleton-body { padding: 16px; }
.skeleton-line { height: 14px; margin-bottom: 10px; }
.skeleton-line.wide { width: 100%; }
.skeleton-line.medium { width: 70%; }
.skeleton-line.short { width: 40%; }

/* ── Empty State ─────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 24px; }
.empty-state-icon { font-size: 48px; margin-bottom: 14px; }
.empty-state h3 { font-size: 18px; color: var(--gray-700); margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--gray-500); }

/* ── Trust Section ───────────────────────────────────────────────────── */
.trust-section {
  background: var(--navy-dark);
  color: var(--white);
  padding: 56px 24px;
  text-align: center;
}
.trust-section h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-family: var(--font-serif);
  margin-bottom: 10px;
}
.trust-section p { font-size: 15px; color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 36px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.trust-item { text-align: center; }
.trust-num { font-size: 32px; font-weight: 800; color: var(--gold-light); display: block; }
.trust-desc { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 4px; }

/* ── Disclaimer ──────────────────────────────────────────────────────── */
.disclaimer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  padding: 20px 24px;
  text-align: center;
}
.disclaimer p { font-size: 12px; color: var(--gray-500); max-width: 800px; margin: 0 auto; line-height: 1.7; }
.disclaimer a { color: var(--navy); text-decoration: underline; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 36px 24px;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { height: 32px; filter: brightness(0) invert(1) opacity(.8); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.6); }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.4); }

/* ── Toast ───────────────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  background: var(--navy-dark); color: var(--white);
  padding: 14px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  pointer-events: all;
  animation: slideIn .3s ease;
  max-width: 320px;
}
.toast.success { background: var(--green); }
.toast.error { background: #dc2626; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { to { transform: translateX(120%); opacity: 0; } }
.toast.exit { animation: slideOut .3s ease forwards; }

/* ── Product Focus Modal ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-container {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(.96) translateY(12px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--gray-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-700);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gray-200); color: var(--gray-900); }
.modal-body {
  display: flex;
  gap: 0;
}
.modal-image-wrap {
  width: 380px;
  min-width: 300px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  border-radius: var(--radius) 0 0 var(--radius);
}
.modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
  max-height: 400px;
}
.modal-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.modal-details {
  flex: 1;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.modal-brand {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 4px;
}
.modal-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.3;
  margin-bottom: 10px;
  font-family: var(--font-serif);
}
.modal-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.modal-section {
  margin-bottom: 16px;
}
.modal-section h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--navy);
  margin-bottom: 6px;
}
.modal-scrollable {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  max-height: 120px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
}
.modal-warranty-section .modal-scrollable {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #15803d;
}
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
  gap: 12px;
}
.modal-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-dark);
}
.modal-price .from-label {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-500);
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}
.modal-footer-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}
.modal-amazon-btn {
  padding: 10px 20px;
  font-size: 14px;
}
.btn-warranty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-warranty:hover { background: var(--navy-dark); transform: scale(1.02); }
.btn-warranty svg { flex-shrink: 0; }
.btn-warranty.disabled {
  background: var(--gray-300);
  color: var(--gray-500);
  cursor: not-allowed;
}
.btn-warranty.disabled:hover { transform: none; }
.btn-warranty.disabled svg { stroke: var(--gray-500); }

@media (max-width: 768px) {
  .modal-overlay { padding: 12px; }
  .modal-body { flex-direction: column; }
  .modal-image-wrap {
    width: 100%;
    min-width: auto;
    max-height: 260px;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .modal-image-wrap img { max-height: 240px; padding: 20px; }
  .modal-details { padding: 20px; }
  .modal-scrollable { max-height: 100px; }
  .modal-footer { flex-direction: column; align-items: stretch; }
  .modal-footer-buttons { flex-direction: column; }
  .btn-warranty, .modal-amazon-btn { width: 100%; justify-content: center; text-align: center; }
}

/* ── No Results ──────────────────────────────────────────────────────── */
#no-results { display: none; }

/* ── Pagination ──────────────────────────────────────────────────────── */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding: 16px 0 0;
  border-top: 1px solid var(--gray-200);
}
.pagination-info { font-size: 13px; color: var(--gray-500); }
.pagination-info strong { color: var(--gray-700); }
.pagination-controls { display: flex; align-items: center; gap: 4px; }
.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-size: 13px; font-weight: 500; color: var(--gray-700);
  cursor: pointer; transition: var(--transition); font-family: var(--font-sans);
}
.page-btn:hover:not(:disabled) { border-color: var(--navy); color: var(--navy); }
.page-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 700; }
.page-btn:disabled { opacity: 0.38; cursor: not-allowed; }
.page-ellipsis { font-size: 14px; color: var(--gray-400); padding: 0 2px; }

/* ── Filter overlay (mobile) ─────────────────────────────────────────── */
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 149;
}
.filter-overlay.open { display: block; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn { padding: 10px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); font-family: var(--font-sans); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-200); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }

/* ── Legal Pages ─────────────────────────────────────────────────────── */
.legal-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 52px 24px 56px;
  text-align: center;
}
.legal-hero h1 { font-size: clamp(24px, 4vw, 40px); font-family: var(--font-serif); margin-bottom: 10px; }
.legal-hero p { font-size: 15px; color: rgba(255,255,255,.7); margin-bottom: 0; }
.legal-hero .updated { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 8px; }
.legal-body { max-width: 780px; margin: 56px auto 80px; padding: 0 24px; }
.legal-body h2 { font-size: 20px; font-family: var(--font-serif); color: var(--navy-dark); margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-100); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 16px; color: var(--navy); margin: 24px 0 8px; }
.legal-body p { font-size: 15px; color: var(--gray-700); line-height: 1.8; margin-bottom: 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin-bottom: 14px; }
.legal-body li { font-size: 15px; color: var(--gray-700); line-height: 1.75; margin-bottom: 6px; }
.legal-body a { color: var(--navy); text-decoration: underline; }
.legal-body a:hover { color: var(--gold); }
.legal-callout { background: var(--gold-bg); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 28px 0; }
.legal-callout p { margin: 0; font-size: 14px; color: var(--gray-700); }
.legal-callout strong { color: var(--navy-dark); }
.legal-toc { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 40px; }
.legal-toc h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); margin: 0 0 12px; }
.legal-toc ol { margin: 0; padding-left: 18px; }
.legal-toc li { font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    z-index: 150;
    border-radius: 0;
    border: none;
    max-height: 100vh;
    box-shadow: var(--shadow-lg);
  }
  .filter-sidebar.open { display: block; }
  .filter-toggle-mobile { display: inline-flex; }
  #filter-toggle-btn { display: inline-flex; }
}

@media (min-width: 1025px) {
  #filter-toggle-btn { display: none !important; }
}

@media (max-width: 768px) {
  .header-search { display: none; }
  .mobile-menu-btn { display: inline-flex !important; }
  .category-nav { display: none; }
  .category-nav.open { display: block; }
  .category-nav-inner { flex-direction: column; align-items: stretch; }
  .cat-nav-btn { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.05); justify-content: space-between; }
  .subcategory-bar { display: none !important; }
  .hero { padding: 48px 20px 56px; }
  .hero-stats { gap: 20px; }
  .products-grid.grid-view { grid-template-columns: 1fr 1fr; }
  .toolbar-right { flex-wrap: wrap; }
  .view-toggle { display: none; }
}

@media (max-width: 480px) {
  .products-grid.grid-view { grid-template-columns: 1fr; }
  .products-grid.list-view .product-card { flex-direction: column; }
  .products-grid.list-view .card-image-wrap { width: 100%; min-width: auto; aspect-ratio: 4/3; }
  .header-inner { padding: 10px 16px; gap: 8px; }
  .logo-wrap svg { height: 36px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .pagination-bar { flex-direction: column; align-items: flex-start; }
  .pagination-controls { flex-wrap: wrap; }
}
