/* ============================================================
   STRIDE Footwear — Design System & Styles
   Clean, minimalist, mobile-first ecommerce
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-bg-subtle: #f1f3f5;
  --color-border: #e9ecef;
  --color-border-light: #f1f3f5;
  --color-text: #1a1a1a;
  --color-text-secondary: #555;
  --color-text-muted: #868e96;
  --color-primary: #1a1a1a;
  --color-primary-hover: #333;
  --color-accent: #2b8a3e;
  --color-accent-bg: #ebfbee;
  --color-sale: #e03131;
  --color-sale-bg: #fff5f5;
  --color-badge: #1a1a1a;
  --color-star: #fab005;
  --color-overlay: rgba(0, 0, 0, 0.4);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-xl: 0 8px 32px rgba(0,0,0,0.12);

  --max-width: 1200px;
  --header-height: 64px;

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

.animate-in {
  animation: fadeIn 0.5s ease forwards;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--spacing-lg);
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  flex-shrink: 0;
}

.logo span {
  font-weight: 300;
  letter-spacing: 0.04em;
  font-size: 0.65em;
  color: var(--color-text-muted);
  display: block;
  text-transform: none;
  margin-top: -4px;
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: var(--spacing-xs) 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-text);
  transition: width var(--transition-base);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-text);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-sm);
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-base);
  border-radius: 1px;
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  padding: var(--spacing-xl);
  display: none;
  flex-direction: column;
  gap: var(--spacing-sm);
  z-index: 999;
  overflow-y: auto;
}

.nav-mobile.open {
  display: flex;
  animation: slideDown 0.3s ease;
}

.nav-mobile a {
  display: block;
  padding: var(--spacing-md) 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-light);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--color-text);
  padding-left: var(--spacing-sm);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: var(--color-bg-alt);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,0,0,0.015) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-lg);
  color: var(--color-text);
}

.hero p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-text);
  background: var(--color-bg-alt);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 0.9375rem;
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--spacing-sm);
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

.product-card:hover {
  border-color: #ccc;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-card a {
  display: block;
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.04);
}

.product-card-badge {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  background: var(--color-badge);
  color: #fff;
}

.product-card-badge.sale {
  background: var(--color-sale);
}

.product-card-body {
  padding: var(--spacing-md);
}

.product-card-category {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xs);
}

.product-card-name {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  line-height: 1.3;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--spacing-sm);
}

.stars {
  display: flex;
  gap: 1px;
  color: var(--color-star);
  font-size: 0.75rem;
}

.rating-count {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.price-current {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.price-original {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

/* Image placeholder (for missing images) */
.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  gap: var(--spacing-sm);
}

.product-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

/* ============================================================
   TRUST / FEATURES SECTION
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.trust-item {
  text-align: center;
  padding: var(--spacing-lg);
}

.trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  color: var(--color-text);
}

.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-item h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.trust-item p {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  text-align: center;
  padding: var(--spacing-3xl) 0;
  background: var(--color-bg-alt);
}

.newsletter h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.newsletter p {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  font-size: 0.9375rem;
}

.newsletter-form {
  display: flex;
  gap: var(--spacing-sm);
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  background: var(--color-bg);
  transition: border-color var(--transition-fast);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-text);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-text);
  color: #ccc;
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: var(--spacing-md);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #999;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: #999;
  padding: var(--spacing-xs) 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #666;
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: #666;
}

.footer-bottom-links a:hover {
  color: #ccc;
}

/* ============================================================
   PRODUCTS LISTING PAGE
   ============================================================ */
.page-header {
  background: var(--color-bg-alt);
  padding: var(--spacing-2xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.page-header p {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

.products-toolbar {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: var(--spacing-lg);
}

.search-bar {
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  transition: border-color var(--transition-fast);
  background: var(--color-bg);
}

.search-bar input:focus {
  border-color: var(--color-text);
}

.search-bar svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
}

.filters-row {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  flex: 1;
}

.filter-btn {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
  background: var(--color-bg);
}

.filter-btn:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.sort-select {
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  background: var(--color-bg);
  cursor: pointer;
  min-width: 140px;
}

.results-count {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding: var(--spacing-sm) 0;
}

.no-results {
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-md);
  color: var(--color-text-muted);
}

.no-results h3 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail {
  padding: var(--spacing-xl) 0 var(--spacing-3xl);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--color-text);
}

.breadcrumb span {
  color: var(--color-text-muted);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.product-detail-image {
  aspect-ratio: 1;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--spacing-sm);
}

.product-detail-category {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.product-detail-rating .stars {
  font-size: 0.9rem;
}

.product-detail-rating .rating-text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
}

.product-detail-price .price-current {
  font-size: 1.75rem;
  font-weight: 700;
}

.product-detail-price .price-original {
  font-size: 1.125rem;
}

.product-detail-description {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

/* Options */
.product-option {
  margin-bottom: var(--spacing-lg);
}

.product-option-label {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.color-options,
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.color-option,
.size-option {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--color-bg);
}

.color-option:hover,
.size-option:hover {
  border-color: var(--color-text);
}

.color-option.selected,
.size-option.selected {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.product-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border);
}

.product-actions .btn {
  flex: 1;
}

/* Features list */
.product-features h3,
.product-material h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.product-features ul {
  list-style: none;
}

.product-features li {
  position: relative;
  padding: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-lg);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-light);
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--color-accent);
}

.product-material {
  margin-top: var(--spacing-lg);
}

.product-material p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ============================================================
   CONTENT PAGES (About, FAQ, Contact, Privacy, Terms)
   ============================================================ */
.content-page {
  padding: var(--spacing-2xl) 0 var(--spacing-3xl);
}

.content-page .container {
  max-width: 720px;
}

.content-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-md);
}

.content-page h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
}

.content-page p,
.content-page li {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--spacing-md);
}

.content-page ul {
  list-style: disc;
  padding-left: var(--spacing-xl);
}

/* About page specifics */
.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.about-value {
  padding: var(--spacing-lg);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.about-value h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-lg) 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  gap: var(--spacing-md);
  padding: 0;
  background: none;
  border: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: var(--spacing-md);
}

.faq-answer p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  background: var(--color-bg);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-text);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.contact-info-item {
  padding: var(--spacing-lg);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.contact-info-item h3 {
  margin-top: 0;
  font-size: 0.9375rem;
}

.contact-info-item p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE — TABLET (min 600px)
   ============================================================ */
@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .products-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .search-bar {
    max-width: 280px;
  }

  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-form {
    max-width: 480px;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (min 900px)
   ============================================================ */
@media (min-width: 900px) {
  .container {
    padding: 0 var(--spacing-xl);
  }

  /* Nav */
  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .nav-mobile {
    display: none !important;
  }

  /* Hero */
  .hero {
    padding: var(--spacing-4xl) 0;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  /* Products grid */
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Product detail */
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
  }

  .product-detail-info h1 {
    font-size: 1.75rem;
  }

  /* Section */
  .section {
    padding: var(--spacing-4xl) 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }
}

/* ============================================================
   RESPONSIVE — LARGE DESKTOP (min 1200px)
   ============================================================ */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .product-detail-grid {
    gap: var(--spacing-4xl);
  }
}

/* ============================================================
   ACCESSIBILITY & PRINT
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .newsletter,
  .menu-toggle {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* --- Back to top button --- */
.back-to-top {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 900;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   CATEGORY CHIPS (Homepage)
   ============================================================ */
.categories-row {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  padding-bottom: var(--spacing-sm);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: center;
  flex-wrap: wrap;
}

.categories-row::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 0.75rem 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition-base);
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--color-text);
}

.category-chip:hover {
  border-color: var(--color-text);
  background: var(--color-bg-alt);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.category-chip-icon {
  font-size: 1.25rem;
}

/* ============================================================
   AD SLOTS
   ============================================================ */
.ad-slot {
  padding: var(--spacing-md) 0;
  text-align: center;
  min-height: 0;
}

.ad-slot:empty {
  display: none;
}

/* ============================================================
   GENDER FILTER TABS
   ============================================================ */
.gender-tabs {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.gender-tab {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--color-bg);
  color: var(--color-text-secondary);
}

.gender-tab:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.gender-tab.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
