/* Google Fonts - Inter is a great open-source match for Apple's San Francisco */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --color-white: #ffffff;
  --color-stark-white: #fafafa;
  --color-grit-gray-100: #e5e5ea;
  --color-grit-gray-200: #d1d1d6;
  --color-grit-gray-500: #8e8e93;
  --color-grit-gray-800: #1c1c1e;
  --color-slate-900: #0d0d0f;
  --color-safety-blue: #1d3557; /* Midnight Navy */
  --color-safety-blue-hover: #112236;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-8: 6rem;
  --space-12: 8rem;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--color-slate-900);
  color: var(--color-stark-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-center { text-align: center; }
.text-balance { text-wrap: balance; }

.heading-xl { font-size: clamp(3rem, 6vw, 5rem); font-weight: 700; }
.heading-lg { font-size: clamp(2rem, 4vw, 3.5rem); }
.heading-md { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.heading-sub { font-size: 1.25rem; font-weight: 400; color: var(--color-grit-gray-500); }

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section {
  padding: var(--space-6) 0;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.grid { display: grid; }
.grid-cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px; /* Pill shape for Apple feel */
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-safety-blue);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-safety-blue-hover);
  transform: scale(1.02);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline:hover {
  background-color: var(--color-safety-blue);
  border-color: var(--color-safety-blue);
  transform: scale(1.02);
}

/* Navigation - Designed for easy WordPress isolation */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 13, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 90px;
  gap: var(--space-3);
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-stark-white);
  text-decoration: none;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  background: var(--color-white);
  border-radius: 10px;
  padding: 4px 10px;
}
.nav-logo-img {
  height: 44px;
  max-height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  filter: saturate(2) contrast(1.15) brightness(1.05);
}

.nav-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-grit-gray-200);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-search {
  background: rgba(255,255,255,0.1);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  width: 200px;
}

.nav-search:focus {
  outline: none;
  border-color: var(--color-safety-blue);
  background: rgba(255,255,255,0.15);
  width: 250px;
}

.nav-search::placeholder {
  color: var(--color-grit-gray-500);
}

/* Header Right Side Controls */
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 2000;
  justify-self: end;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-icon {
  color: var(--color-white);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}

.nav-icon svg {
  transition: stroke var(--transition-fast), transform var(--transition-fast);
}

.nav-icon:hover {
  transform: scale(1.08);
  color: var(--color-safety-blue);
}

/* Dropdown styling */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px; /* Gap below the navbar */
  background: rgba(13, 13, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-dropdown-wrapper:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  color: var(--color-grit-gray-200);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition-fast);
  text-align: left;
}

.nav-dropdown a:hover {
  background: var(--color-safety-blue);
  color: var(--color-white);
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Helpers for Light Mode Sections */
.theme-light {
  background-color: var(--color-stark-white);
  color: var(--color-slate-900);
}
.theme-light .heading-sub {
  color: var(--color-grit-gray-500);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--color-safety-blue);
  border: 1px solid var(--color-safety-blue);
}

.btn-outline-primary:hover {
  background-color: var(--color-safety-blue);
  color: var(--color-white);
  border-color: var(--color-safety-blue);
  transform: scale(1.02);
}

/* =====================================================
   PAGE & POST TEMPLATES (mv- classes)
   ===================================================== */

/* All inner pages need top offset for the fixed 90px header */
.mv-main {
  padding-top: 90px;
  min-height: 100vh;
}

/* Page header banner (page.php, single.php) */
.mv-page-header,
.mv-post-header {
  background: var(--color-slate-900);
  padding: var(--space-6) 0 var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mv-page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mv-post-meta {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: var(--space-2);
}

.mv-post-meta a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

/* Static page content (page.php) */
.mv-page-content {
  padding: var(--space-6) 0;
  max-width: 780px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.mv-page-content h2,
.mv-page-content h3,
.mv-page-content h4 {
  color: var(--color-white);
  margin: var(--space-4) 0 var(--space-2);
}

.mv-page-content p {
  margin-bottom: var(--space-3);
  color: rgba(255, 255, 255, 0.75);
}

.mv-page-content a {
  color: var(--color-safety-blue);
}

/* Blog index — post cards (index.php) */
.mv-content-area {
  padding: var(--space-6) 0;
}

.mv-post-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: var(--space-4);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.mv-post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.mv-post-thumb {
  display: block;
  overflow: hidden;
}

.mv-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.mv-post-card:hover .mv-post-thumb img {
  transform: scale(1.04);
}

.mv-post-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  justify-content: center;
}

.mv-post-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
}

.mv-post-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mv-post-title a:hover {
  color: var(--color-grit-gray-200);
}

.mv-post-excerpt {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

.mv-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: var(--space-2);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.mv-read-more:hover {
  gap: 8px;
  color: var(--color-white);
  text-decoration: none;
}

.mv-pagination {
  margin-top: var(--space-5);
  display: flex;
  justify-content: center;
}

.mv-no-content {
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  padding: var(--space-8) 0;
  font-size: 1.1rem;
}

/* Single post content (single.php) */
.mv-post-featured-img {
  margin: var(--space-5) auto;
}

.mv-post-featured-img img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.mv-post-content {
  padding: var(--space-4) 0 var(--space-6);
  max-width: 780px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.mv-post-content h2,
.mv-post-content h3,
.mv-post-content h4 {
  color: var(--color-white);
  margin: var(--space-4) 0 var(--space-2);
}

.mv-post-content p { margin-bottom: var(--space-3); }

.mv-post-content a {
  color: var(--color-safety-blue);
  transition: color var(--transition-fast);
}

.mv-post-content a:hover { color: var(--color-white); }

/* 404 page (404.php) */
.mv-404 {
  padding: var(--space-8) 0;
  text-align: center;
}

.mv-404-inner {
  max-width: 560px;
  margin: 0 auto;
}

.mv-404-code {
  display: block;
  font-size: clamp(5rem, 20vw, 10rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.05em;
}

.mv-404-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.mv-404-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.mv-404-actions {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* btn-secondary-hero — used in 404.php */
.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-hero:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.02);
  color: var(--color-white);
  text-decoration: none;
}

/* Responsive: stack blog cards on mobile */
@media (max-width: 640px) {
  .mv-post-card {
    grid-template-columns: 1fr;
  }
  .mv-post-thumb {
    height: 200px;
  }
  .mv-main {
    padding-top: 70px; /* matches mobile header height */
  }
}

/* =====================================================
   SHOP PAGE — Filter Sidebar & Layout
   ===================================================== */

/* Sidebar + product grid wrapper uses .flex.gap-6.items-start */
.filter-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: var(--space-4);
  position: sticky;
  top: 110px; /* Below fixed 90px header */
}

.filter-sidebar h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-group {
  margin-bottom: var(--space-3);
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-grit-gray-500);
  margin-bottom: 8px;
}

.filter-select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: 0.875rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238e8e93' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.filter-select:focus {
  outline: none;
  border-color: var(--color-safety-blue);
  background-color: rgba(255, 255, 255, 0.09);
}

.filter-select option {
  background: var(--color-slate-900);
  color: var(--color-white);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: var(--color-safety-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0;
  cursor: pointer;
}

/* Responsive: collapse sidebar above products on mobile */
@media (max-width: 900px) {
  .filter-sidebar {
    width: 100%;
    position: static;
  }

  /* Stack sidebar above grid on tablet/mobile */
  .filter-sidebar + .product-grid {
    width: 100%;
  }
}

/* Contact Page Specific Styles */
.contact-hero {
  position: relative;
  background: #111 url('../images/contact_hero.png') center/cover no-repeat !important;
  padding: 140px 0 100px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}
.contact-hero > .container {
  position: relative;
  z-index: 2;
}

/* About Page Specific Styles */
.about-hero {
  position: relative;
  background: #000 url('../images/about_hero.png') center/cover no-repeat !important;
  padding: 180px 0 120px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.about-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(13, 13, 15, 0.4) 0%, rgba(13, 13, 15, 0.85) 100%);
  z-index: 1;
}
.about-hero > .container {
  position: relative;
  z-index: 2;
}

/* Category Page Specific Styles */
.category-hero-banner {
  position: relative;
  background: #000 url('../images/category_hero.png') center/cover no-repeat !important;
  padding: 160px 0 120px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.category-hero-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(13, 13, 15, 0.4) 0%, rgba(13, 13, 15, 0.95) 100%);
  z-index: 1;
}
.category-hero-banner > .container {
  position: relative;
  z-index: 2;
}

/* Blog Page Specific Styles */
.blog-hero {
  position: relative;
  background: #000 url('../images/blog_hero.png') center/cover no-repeat !important;
  padding: 160px 0 100px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center bottom, rgba(13, 13, 15, 0.2) 0%, rgba(13, 13, 15, 0.95) 100%);
  z-index: 1;
}
.blog-hero > .container {
  position: relative;
  z-index: 2;
}

/* =====================================================
   FOOTER (mv-footer* classes match footer.php)
   ===================================================== */
.mv-footer {
  background: var(--color-slate-900);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: var(--space-6) 0 var(--space-4);
}

.mv-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-5);
}

.mv-footer-logo-wrap {
  display: inline-block;
  background: var(--color-white);
  border-radius: 8px;
  padding: 3px 8px;
  margin-bottom: var(--space-2);
  text-decoration: none;
}

.mv-footer-logo-img {
  height: 32px;
  max-height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: saturate(2) contrast(1.15) brightness(1.05);
  display: block;
}

.mv-footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin: var(--space-2) 0 var(--space-3);
  max-width: 280px;
}

.mv-footer-ebay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mv-footer-ebay:hover {
  color: var(--color-white);
  text-decoration: none;
}

.mv-footer-links h4,
.mv-footer-contact h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-grit-gray-500);
  margin-bottom: var(--space-3);
}

.mv-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mv-footer-links ul li {
  margin-bottom: 10px;
}

.mv-footer-links ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mv-footer-links ul li a:hover {
  color: var(--color-white);
}

.mv-footer-contact p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

.mv-footer-contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--color-safety-blue);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.mv-footer-contact-btn:hover {
  background: var(--color-safety-blue-hover);
  transform: translateY(-1px);
  color: var(--color-white);
  text-decoration: none;
}

.mv-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mv-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

@media (max-width: 1024px) {
  .mv-footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}

@media (max-width: 640px) {
  .mv-footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .mv-footer-bottom { flex-direction: column; text-align: center; }
}

/* Sitemap Footer Styles */
.site-footer {
  background-color: var(--color-slate-900);
  padding: 60px 0 20px 0;
  width: 100%;
}
.footer-sitemap {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  width: 100%;
}
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  color: var(--color-grit-gray-500);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover {
  color: var(--color-white);
}

/* FAQ Accordion */
.faq-wrapper {
  max-width: 800px;
  width: 100%;
}
.faq-item {
  border-bottom: 1px solid var(--color-grit-gray-200);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: transparent;
  border: none;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-slate-900);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-icon {
  transition: transform 0.3s ease;
  color: var(--color-safety-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--color-grit-gray-500);
  font-size: 1rem;
  line-height: 1.6;
}
.faq-item.active .faq-content {
  max-height: 500px;
  padding-bottom: 24px;
}

/* Premium Form Inputs */
.form-group {
  margin-bottom: var(--space-3);
  width: 100%;
}
.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 16px;
  background: var(--color-stark-white);
  border: 1px solid var(--color-grit-gray-200);
  border-radius: 12px;
  color: var(--color-slate-900);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-grit-gray-500);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-safety-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
  background: var(--color-white);
}

/* Glass Policy Cards */
.policy-glass-card {
  background: var(--color-white);
  border: 1px solid var(--color-grit-gray-100);
  border-radius: 20px;
  padding: var(--space-4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.policy-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* =========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
========================================= */

/* Tablet Optimization */
@media (max-width: 1024px) {
  .grid-cols-4, .grid-cols-5, .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .footer-sitemap {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .heading-xl { font-size: clamp(2.5rem, 5vw, 4rem); }
  .heading-lg { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }

  /* Wipe out hardcoded inline traps causing horizontal scroll */
  [style*="min-width"] {
    min-width: 0 !important;
  }
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  div[style*="flex: 1"], div[style*="flex: 1.5"] {
    flex: none !important;
  }
}

/* Mobile Setup */
@media (max-width: 768px) {
  .nav-container {
    height: 70px;
    grid-template-columns: auto auto 1fr;
  }
  .nav-logo-img {
    height: 34px;
    max-height: 34px;
    max-width: 140px;
  }
  
  .grid-cols-4, .grid-cols-5, .grid-cols-3, .grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: var(--space-4) !important;
  }

  .footer-sitemap {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-signup form {
    flex-direction: column;
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .section {
    padding: var(--space-5) 0;
  }
  
  .flex.gap-6, .flex.gap-4 {
    gap: var(--space-3);
  }

  /* ========== FORCING INLINE OVERRIDES ========== */
  /* Ensures any hardcoded inline HTML sizes are obliterated on mobile */
  .heading-xl, h1, .about-hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem) !important;
    line-height: 1.1 !important;
  }

  /* Hero tagline spans */
  .hero-content > div > span {
    font-size: clamp(1.4rem, 5.5vw, 2.2rem) !important;
    line-height: 1.2 !important;
  }
  
  .heading-lg, h2 {
    font-size: clamp(1.8rem, 6vw, 2.4rem) !important;
    line-height: 1.2 !important;
  }

  .heading-md, h3 {
    font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
  }
  
  .heading-sub {
    font-size: 1.1rem !important;
  }

  /* Wipe out layout traps */
  [style*="min-width"] {
    min-width: 0 !important;
    width: 100% !important;
  }
  
  [style*="white-space: nowrap"] {
    white-space: normal !important;
    flex-wrap: wrap !important;
  }
  
  span[style*="font-size: 3rem"] {
    font-size: clamp(1.4rem, 6vw, 2.5rem) !important;
  }

  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Force side-by-side flex blocks to stack vertically */
  div[style*="flex: 1"], div[style*="flex: 1.5"] {
    flex: none !important;
    width: 100% !important;
  }

  div[style*="display: flex; gap"] {
    flex-direction: column !important;
  }
  
  /* Reset massive paddings */
  section[style*="padding: 180px"] {
    padding: 100px 0 60px 0 !important;
  }
  /* ============================================= */

  /* Mobile Navigation Overrides */
  .nav-links {
    position: fixed;
    top: 70px; /* Below header */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(13, 13, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--space-6);
    gap: var(--space-4);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .nav-search-wrapper {
    display: none;
  }

  .nav-ebay-btn {
    display: none;
  }

  /* Hamburger toggler */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    margin-right: 12px;
  }
  .hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
  }
}

/* Hide Hamburger on Desktop */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

/* =====================================================
   NAV ENHANCEMENTS
   ===================================================== */

/* Scrolled state — header becomes fully opaque when user scrolls */
.site-header.scrolled {
  background: rgba(13, 13, 15, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Active / current page link */
.nav-links .current-menu-item > a,
.nav-links li.current-menu-item > a,
.nav-links li.active > a {
  color: var(--color-white);
  font-weight: 500;
  position: relative;
}

.nav-links .current-menu-item > a::after,
.nav-links li.current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-safety-blue);
  border-radius: 2px;
}

/* Search icon positioning */
.nav-search-wrapper {
  position: relative;
}

.nav-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--color-grit-gray-500);
  pointer-events: none;
}

.nav-search {
  padding-left: 34px !important;
}

/* eBay CTA button */
.nav-ebay-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--color-safety-blue);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-left: var(--space-2);
}

.nav-ebay-btn:hover {
  background: #112236;
  transform: translateY(-1px);
  color: var(--color-white);
  text-decoration: none;
}

/* Hamburger → X animation */
.hamburger span {
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   GRID COLS 5
   ===================================================== */
.grid-cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* =====================================================
   EBAY BUY BUTTON
   ===================================================== */
.btn-ebay-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--color-safety-blue);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-ebay-buy:hover {
  background: var(--color-safety-blue-hover);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-1px);
}

/* =====================================================
   BOTTOM CTA BANNER
   ===================================================== */
.mv-cta-banner {
  background: var(--color-safety-blue);
  padding: var(--space-10) 0;
  text-align: center;
}

.mv-cta-banner .heading-lg {
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.mv-cta-banner .heading-sub {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-inline: auto;
}

.mv-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}

.mv-cta-ebay {
  border-color: rgba(255,255,255,0.6) !important;
  color: var(--color-white) !important;
}

.mv-cta-ebay:hover {
  background: rgba(255,255,255,0.15) !important;
  color: var(--color-white) !important;
}

