/* ============================================
   C&D AMINOS — PREMIUM SUPPLEMENT BRAND
   Black & Gold Luxury Theme
   ============================================ */

/* ===== AGE VERIFICATION MODAL ===== */
#age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 30, 0.88);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#age-gate-overlay.hidden {
  display: none;
}
#age-gate-modal {
  background: #fff;
  max-width: 520px;
  width: 100%;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#age-gate-modal .age-gate-logo {
  max-width: 140px;
  margin: 0 auto 1.5rem;
  display: block;
}
#age-gate-modal h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #111;
}
#age-gate-modal p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.6;
}
#age-gate-modal .age-gate-list {
  list-style: none;
  padding: 1rem 1.25rem;
  margin: 0 0 1.5rem;
  background: #f7f7f7;
  border-radius: 6px;
  text-align: left;
}
#age-gate-modal .age-gate-list li {
  font-size: 0.9rem;
  color: #333;
  padding: 0.35rem 0 0.35rem 1.25rem;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
}
#age-gate-modal .age-gate-list li:last-child {
  border-bottom: none;
}
#age-gate-modal .age-gate-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: #888;
  font-weight: 700;
}
#age-gate-modal .age-gate-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: left;
  cursor: pointer;
  padding: 0.25rem 0;
}
#age-gate-modal .age-gate-checkbox input {
  margin-top: 4px;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  cursor: pointer;
  accent-color: #111;
}
#age-gate-modal .age-gate-checkbox label {
  font-size: 0.95rem;
  color: #444;
  cursor: pointer;
  line-height: 1.5;
}
#age-gate-modal .age-gate-btn {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 1rem;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
#age-gate-modal .age-gate-btn:hover {
  background: #333;
}
#age-gate-modal .age-gate-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
}
#age-gate-modal .age-gate-deny {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #999;
}

/* Age gate on small phones: fit and stay fully tappable */
@media (max-width: 480px) {
  #age-gate-overlay {
    padding: 0.75rem;
    align-items: flex-start;
  }
  #age-gate-modal {
    padding: 1.75rem 1.25rem;
    max-height: calc(100vh - 1.5rem);
    border-radius: 10px;
  }
  #age-gate-modal h2 {
    font-size: 1.2rem;
  }
  #age-gate-modal .age-gate-list {
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
  }
  #age-gate-modal .age-gate-list li {
    font-size: 0.85rem;
  }
  #age-gate-modal .age-gate-checkbox input {
    width: 28px;
    height: 28px;
  }
  #age-gate-modal .age-gate-btn {
    font-size: 1.05rem;
    min-height: 56px;
  }
}

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

:root {
  --gold: #C9A84C;
  --gold-light: #E2C47A;
  --gold-dark: #A07830;
  --black: #1C1C1E;
  --black-mid: #242428;
  --black-card: #2C2C30;
  --black-border: #3A3A3E;
  --white: #F5F0E8;
  --white-dim: #C8C0B4;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', Arial, sans-serif;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.2;
}

/* --- GOLD DIVIDER --- */
.gold-rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
  width: 80%;
  opacity: 0.6;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
  color: var(--black);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.25);
}

.btn-disabled {
  background: #2a2a2a;
  color: #555;
  border: 1px solid #333;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-large { padding: 16px 40px; font-size: 14px; }

/* --- AUTH MODAL --- */
.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.auth-modal.open { display: flex; }
.auth-modal-box {
  background: #0d0d0d;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 8px;
  padding: 48px 40px 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
}
.auth-modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 24px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.auth-modal-close:hover { opacity: 1; }
.auth-tabs {
  display: flex;
  border-bottom: 1px solid #333;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: #888;
  font-size: 0.95rem;
  font-family: inherit;
  padding: 12px 0;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.auth-tab:hover { color: var(--gold); }
.auth-tab.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}
.auth-modal-title {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 28px;
  text-align: center;
}
.auth-field {
  margin-bottom: 18px;
}
.auth-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 6px;
  opacity: 0.7;
}
.auth-field input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--cream);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--gold);
}
.auth-submit {
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 4px;
  padding: 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s;
}
.auth-submit:hover { opacity: 0.85; }
.auth-error {
  font-size: 12px;
  color: #e05c5c;
  margin: 8px 0 0;
  min-height: 16px;
}
.auth-forgot { text-align: center; margin-top: 14px; font-size: 12px; }
.auth-forgot a { color: var(--gold); opacity: 0.7; }
.auth-forgot a:hover { opacity: 1; }
.auth-otp { text-align: center; }
.auth-otp p { color: var(--cream); margin-bottom: 16px; font-size: 14px; }
.auth-otp input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--cream);
  font-size: 20px;
  letter-spacing: 6px;
  text-align: center;
  box-sizing: border-box;
  margin-bottom: 12px;
}
.auth-forgot-section { text-align: center; }
.auth-forgot-section p { color: var(--cream); font-size: 13px; margin-bottom: 12px; }
.auth-forgot-section input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--cream);
  font-size: 14px;
  box-sizing: border-box;
  margin-bottom: 12px;
}

/* --- NAVIGATION --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(28,28,30,0.97);
  border-bottom: 1px solid var(--black-border);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  color: var(--gold);
  letter-spacing: 1px;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-logo span { color: var(--white); }

.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

/* Cart icon in nav */
.cart-icon {
  position: relative;
  cursor: pointer;
  color: var(--white-dim);
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.cart-icon:hover { color: var(--gold); }
.cart-icon svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  width: 18px; height: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-body);
}

/* Mobile nav toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,28,30,0.78) 0%, rgba(28,28,30,0.50) 60%, rgba(28,28,30,0.68) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 60px 24px;
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 7px 20px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero h1 .gold { color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--white-dim);
  max-width: 520px;
  margin: 0 auto 40px;
  font-weight: 300;
  letter-spacing: 0.3px;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- MOLECULE HERO --- */
.hero-molecule {
  background: var(--black);
}

.molecule-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.18;
}

.molecule-svg {
  width: 100%;
  height: 100%;
  transform-origin: center center;
}

.molecule-rotate-group {
  transform-origin: 450px 300px;
  animation: mol-rotate 60s linear infinite;
}

@keyframes mol-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Bonds */
.mol-bond {
  stroke: var(--gold);
  stroke-width: 2px;
  stroke-linecap: round;
  opacity: 0.85;
}
.mol-bond-double {
  stroke-width: 1px;
  opacity: 0.4;
  stroke-dasharray: 6 4;
}

/* Atom circles */
.mol-atom {
  fill: var(--black-mid);
  stroke-width: 1.5;
}
.mol-atom-c  { stroke: var(--gold);       fill: #1a1600; }
.mol-atom-n  { stroke: #7eb8f7;           fill: #001a2e; }
.mol-atom-o  { stroke: #f77e7e;           fill: #2e0000; }
.mol-atom-h  { stroke: var(--white-dim);  fill: #1a1a1a; }

/* Atom labels */
.mol-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  fill: var(--gold);
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 0;
}
.mol-label-sm { font-size: 9px;  fill: var(--gold-light); }
.mol-label-xs { font-size: 8px;  fill: var(--white-dim); }

/* Glow radial behind molecule */
.hero-molecule::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(126,184,247,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Company name in hero */
.hero-company-name {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.0;
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(201,168,76,0.25), 0 0 80px rgba(201,168,76,0.1);
}
.hero-company-name .hero-amp {
  color: var(--white-dim);
  font-style: italic;
  font-size: 0.85em;
}
.hero-company-name .gold {
  color: var(--gold);
  display: inline-block;
}

/* Entrance animations */
.hero-molecule .hero-badge   { animation: fadeUp 0.7s ease both 0.2s; }
.hero-molecule .hero-company-name { animation: fadeUp 0.8s ease both 0.4s; }
.hero-molecule .hero-sub     { animation: fadeUp 0.8s ease both 0.65s; }
.hero-molecule .hero-ctas    { animation: fadeUp 0.8s ease both 0.85s; }

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

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  position: relative;
  padding: 150px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,28,30,0.70);
  z-index: 1;
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero h1 .gold { color: var(--gold); }
.page-hero p {
  color: var(--white-dim);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* --- TECH HERO H1 STRIPE TEXT --- */
.tech-hero-title {
  background: repeating-linear-gradient(
    -45deg,
    #1a6fcf 0px,
    #1a6fcf 40px,
    #ffffff 40px,
    #ffffff 80px,
    #2e9ad0 80px,
    #2e9ad0 120px,
    #ffffff 120px,
    #ffffff 160px
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 160px 160px;
  animation: tech-stripe-scroll 16s linear infinite;
  display: inline;
}
@keyframes tech-stripe-scroll {
  0%   { background-position: 0 0; }
  100% { background-position: 160px 0; }
}

/* --- SECTION LAYOUTS --- */
.section { padding: 90px 24px; }
.section-sm { padding: 60px 24px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--white);
}
.section-title .gold { color: var(--gold); }
.section-sub {
  color: var(--white-dim);
  max-width: 540px;
  margin-bottom: 50px;
  font-size: 1rem;
}

/* --- FEATURE CALLOUTS (homepage) --- */
.features-strip {
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  padding: 40px 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.feature-item {
  text-align: center;
  padding: 20px;
}
.feature-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.feature-item h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.feature-item p { font-size: 13px; color: var(--white-dim); }

/* --- BRAND INTRO (homepage) --- */
.brand-intro {
  background: var(--black);
}
.brand-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.brand-intro-img {
  position: relative;
}
.brand-intro-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.brand-intro-img::before {
  content: '';
  position: absolute;
  inset: -10px 10px 10px -10px;
  border: 1px solid var(--gold);
  opacity: 0.4;
  z-index: -1;
}
.brand-intro-text .section-sub { margin-bottom: 28px; }

/* --- FEATURED PRODUCTS (homepage) --- */
.featured-section { background: var(--black-mid); }
.featured-section .section-title { text-align: center; }
.featured-section .section-label { text-align: center; display: block; }

/* --- PRODUCT GRID --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.product-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover::before { opacity: 1; }

.product-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  background: #0d0d0d;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 10px;
}
.product-info {
  padding: 20px;
}
.product-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--white);
}
.product-info .product-desc {
  font-size: 12px;
  color: var(--white-dim);
  margin-bottom: 14px;
  line-height: 1.5;
}
.product-dosage {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
  margin-top: 8px;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-current { color: var(--gold); }
.price-compare {
  color: var(--white-dim);
  text-decoration: line-through;
  font-size: 0.85rem;
  font-weight: 400;
}
.price-discount {
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
}
.product-purity {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 4px 10px;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 600;
}
.product-info .btn { width: 100%; margin-top: 4px; }

/* --- SHOP PAGE LAYOUT --- */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* Filters sidebar */
.filters-sidebar {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  padding: 24px;
  position: sticky;
  top: 92px;
}
.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--black-border);
}
.filters-header h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.btn-text {
  background: none;
  border: none;
  color: var(--white-dim);
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-text:hover { color: var(--gold); }
.filter-group { margin-bottom: 24px; }
.filter-group h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 12px;
}
.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.price-inputs span { color: var(--white-dim); font-size: 12px; }
.price-input {
  width: 80px;
  background: var(--black);
  border: 1px solid var(--black-border);
  color: var(--white);
  padding: 8px 10px;
  font-size: 12px;
  font-family: var(--font-body);
}
.price-input:focus { outline: none; border-color: var(--gold); }
.btn-small { padding: 8px 16px; font-size: 11px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--white-dim);
}
.checkbox-label input[type="checkbox"] { accent-color: var(--gold); width: 14px; height: 14px; }

/* Shop top bar */
.shop-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--black-border);
}
#product-count { font-size: 13px; color: var(--white-dim); }
.sort-select {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  color: var(--white);
  padding: 8px 14px;
  font-size: 12px;
  font-family: var(--font-body);
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--gold); }

/* --- PAGINATION --- */
.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination-btn {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  color: var(--white-dim);
  padding: 10px 16px;
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
}
.pagination-btn:hover { border-color: var(--gold); color: var(--gold); }
.pagination-btn.active { background: var(--gold); color: var(--black); border-color: var(--gold); font-weight: 700; }
.pagination-ellipsis { color: var(--white-dim); padding: 0 4px; }
#pagination { margin-top: 24px; }

/* --- PRODUCT DETAIL PAGE --- */
.product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-images #main-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border: 1px solid var(--black-border);
}
.thumbnail-gallery {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.thumbnail-gallery img {
  width: 70px; height: 70px;
  object-fit: cover;
  border: 1px solid var(--black-border);
  cursor: pointer;
  transition: var(--transition);
}
.thumbnail-gallery img:hover { border-color: var(--gold); }
.product-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.product-info .product-price {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.product-info .description {
  color: var(--white-dim);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.product-inventory { margin-bottom: 16px; }
.inventory-status {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.inventory-status.in-stock { background: rgba(201,168,76,0.1); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.inventory-status.out-of-stock { background: rgba(200,50,50,0.1); color: #e05555; border: 1px solid rgba(200,50,50,0.3); }
.variant-selector { margin: 20px 0; }
.variant-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 10px;
}
.variant-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-button {
  padding: 9px 18px;
  border: 1px solid var(--black-border);
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
}
.variant-button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.variant-button.selected { border-color: var(--gold); background: var(--gold); color: var(--black); font-weight: 600; }
.variant-button:disabled, .variant-button.disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.add-to-cart-button {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 24px;
  font-family: var(--font-body);
}
.add-to-cart-button:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.add-to-cart-button:disabled { background: #2a2a2a; color: #555; cursor: not-allowed; }

/* --- ABOUT PAGE --- */
.about-mission {
  background: var(--black-mid);
}
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-mission-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border: 1px solid var(--black-border);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.value-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  padding: 28px;
  transition: var(--transition);
  border-left: 3px solid var(--gold);
}
.value-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.value-card h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.value-card p { font-size: 13px; color: var(--white-dim); line-height: 1.6; }

/* Team section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}
.team-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
}
.team-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.team-card-img {
  height: 240px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar {
  width: 80px; height: 80px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.team-avatar svg { width: 40px; height: 40px; stroke: var(--gold); }
.team-info { padding: 24px; }
.team-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.team-info p { font-size: 12px; color: var(--white-dim); line-height: 1.6; }

/* --- TECHNOLOGY PAGE --- */
.tech-intro { background: var(--black); }
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}
.tech-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  padding: 36px;
  transition: var(--transition);
}
.tech-card:hover { border-color: var(--gold); }
.tech-card-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 12px;
}
.tech-card h3 {
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.tech-card p { font-size: 13px; color: var(--white-dim); line-height: 1.75; }

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.pros-card, .cons-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  padding: 36px;
}
.pros-card { border-top: 3px solid var(--gold); }
.cons-card { border-top: 3px solid #555; }
.pros-card h3, .cons-card h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pros-card h3 { color: var(--gold); }
.cons-card h3 { color: var(--white-dim); }
.pros-cons-list { list-style: none; }
.pros-cons-list li {
  font-size: 13px;
  color: var(--white-dim);
  padding: 8px 0;
  border-bottom: 1px solid var(--black-border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.pros-cons-list li:last-child { border-bottom: none; }
.pros-cons-list li .check { color: var(--gold); font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.pros-cons-list li .cross { color: #888; font-size: 14px; flex-shrink: 0; margin-top: 2px; }

.sourcing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.sourcing-item {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.sourcing-item:hover { border-color: var(--gold); }
.sourcing-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.sourcing-item h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.sourcing-item p { font-size: 12px; color: var(--white-dim); line-height: 1.5; }

/* --- SEARCH PAGE --- */
.search-header { background: var(--black-mid); padding: 120px 24px 50px; }
.search-form-wrap { max-width: 600px; margin: 0 auto; }
.search-form-wrap h1 { font-size: 2rem; margin-bottom: 24px; text-align: center; }
.search-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--black-border);
}
.search-input {
  flex: 1;
  background: var(--black-card);
  border: none;
  color: var(--white);
  padding: 14px 20px;
  font-size: 14px;
  font-family: var(--font-body);
}
.search-input:focus { outline: none; }
.search-input::placeholder { color: var(--white-dim); }
.search-btn {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
}
.search-btn:hover { background: var(--gold-light); }
#search-info { font-size: 13px; color: var(--white-dim); margin-bottom: 24px; }
#search-results { margin-top: 8px; }

/* --- LOADING & ERROR --- */
.loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--white-dim);
  font-size: 14px;
  letter-spacing: 2px;
}
.loading::after {
  content: '';
  display: block;
  width: 36px; height: 36px;
  border: 2px solid var(--black-border);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 16px auto 0;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.error, .no-products {
  text-align: center;
  padding: 60px;
  color: var(--white-dim);
  font-size: 14px;
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--white-dim);
}
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 20px; stroke: var(--gold); opacity: 0.5; }
.empty-state p { margin-bottom: 8px; }
.empty-state .btn { margin-top: 20px; }

/* --- CART DRAWER --- */
#cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%; height: 100%;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}
#cart-drawer.active {
  visibility: visible;
  pointer-events: none;
}
.cart-drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,20,22,0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}
#cart-drawer.active .cart-drawer-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cart-drawer-content {
  position: fixed;
  top: 0; right: -440px;
  width: 420px;
  height: 100vh;
  background: var(--black-mid);
  border-left: 1px solid var(--black-border);
  transition: right 0.35s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}
#cart-drawer.active .cart-drawer-content { right: 0; }
.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--black-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-header h2 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.close-cart {
  background: none;
  border: none;
  color: var(--white-dim);
  font-size: 26px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.close-cart:hover { color: var(--gold); }
.cart-empty {
  text-align: center;
  padding: 60px 24px;
  display: none;
}
.cart-empty p { color: var(--white-dim); margin-bottom: 20px; }
#cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: none;
}
#cart-items::-webkit-scrollbar { width: 4px; }
#cart-items::-webkit-scrollbar-track { background: var(--black); }
#cart-items::-webkit-scrollbar-thumb { background: var(--gold-dark); }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--black-border);
}
.cart-item img {
  width: 70px; height: 70px;
  object-fit: cover;
  border: 1px solid var(--black-border);
  flex-shrink: 0;
}
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-details h4 { font-size: 13px; font-family: var(--font-body); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.variant-title { font-size: 11px; color: var(--white-dim); }
.cart-item-desc { font-size: 11px; color: var(--white-dim); margin-bottom: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-price { font-size: 13px; color: var(--gold); font-weight: 600; margin-top: 4px; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.quantity-controls { display: flex; align-items: center; gap: 6px; }
.quantity-controls button {
  width: 26px; height: 26px;
  background: var(--black);
  border: 1px solid var(--black-border);
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.quantity-controls button:hover { border-color: var(--gold); color: var(--gold); }
.quantity-controls span { font-size: 13px; min-width: 20px; text-align: center; }
.remove-btn {
  background: none;
  border: none;
  color: #555;
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}
.remove-btn:hover { color: #e05555; }
.cart-item-status { font-size: 11px; font-weight: 600; }
.cart-item-status.out-of-stock { color: #e05555; }
.cart-item-unavailable { opacity: 0.55; }
#cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--black-border);
  display: none;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
}
.cart-subtotal span:first-child { color: var(--white-dim); letter-spacing: 1px; text-transform: uppercase; font-size: 11px; }
#cart-subtotal { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.cart-tax-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}
.cart-tax-row span:first-child { color: var(--white-dim); letter-spacing: 1px; text-transform: uppercase; font-size: 11px; }
#cart-tax { color: var(--gold); font-weight: 600; }
.cart-tax-state { margin-bottom: 12px; }
.cart-tax-state label {
  display: block;
  color: var(--white-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 6px;
}
.cart-tax-state input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--black-border);
  border-radius: 6px;
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.cart-total-row {
  border-top: 1px solid var(--black-border);
  padding-top: 12px;
  margin-bottom: 16px;
}
#cart-total { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
#cart-footer .btn { width: 100%; margin-bottom: 10px; }
#cart-footer .btn-secondary { font-size: 12px; }

/* --- RESEARCH CERTIFICATION CHECKBOX --- */
.research-cert-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.research-cert-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.5;
  color: var(--white-dim);
}
.research-cert-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.research-cert-error {
  color: #e05555;
  font-size: 11px;
  margin: 8px 0 0 0;
  font-weight: 600;
}

/* --- CART NOTIFICATION --- */
.cart-notification {
  position: fixed;
  top: 90px; right: 24px;
  padding: 14px 24px;
  background: var(--black-card);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(-16px);
  transition: all 0.3s ease;
  z-index: 2000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.cart-notification.show { opacity: 1; transform: translateY(0); }

/* --- FOOTER --- */
.footer {
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
  padding: 60px 24px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.footer-brand .nav-logo { margin-bottom: 14px; display: block; }
.footer-brand p {
  font-size: 12px;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--white-dim);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.social-link svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 12px;
  color: var(--white-dim);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--black-border);
}
.footer-disclaimer {
  font-size: 11px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
}
.footer-disclaimer strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}
.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy p { font-size: 11px; color: #888; }
.footer-copy a { color: #888; transition: var(--transition); }
.footer-copy a:hover { color: var(--gold); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 200px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sourcing-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--black-mid);
    border-bottom: 1px solid var(--black-border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    z-index: 800;
  }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 14px; }
  .mobile-toggle { display: flex; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .features-grid { grid-template-columns: 1fr; }
  .brand-intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .pros-cons-grid { grid-template-columns: 1fr; }
  .product-details { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-drawer-content { width: 100%; right: -100%; }
  #cart-drawer.active .cart-drawer-content { right: 0; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .section { padding: 60px 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sourcing-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}

/* --- ADMIN INVENTORY CONTROLS --- */
.inv-product-cell { display: flex; align-items: center; gap: 12px; }
.inv-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; }
.inv-qty-controls { display: flex; align-items: center; gap: 6px; }
.inv-qty-btn {
  width: 28px; height: 28px;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.inv-qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.inv-qty-input {
  width: 56px;
  text-align: center;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 4px 2px;
  -moz-appearance: textfield;
}
.inv-qty-input::-webkit-outer-spin-button,
.inv-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.inv-qty-input:focus { outline: none; border-color: var(--gold); }
.inv-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.inv-status.in-stock { background: rgba(201,168,76,0.1); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.inv-status.out-of-stock { background: rgba(200,50,50,0.1); color: #e05555; border: 1px solid rgba(200,50,50,0.3); }

/* --- PAYMENT-LATER ORDER REVIEW --- */
.order-review-page {
  min-height: 78vh;
  padding: 130px 24px 80px;
  background: var(--black);
}
.order-review-back {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--white-dim);
  font-size: 13px;
  text-decoration: none;
}
.order-review-back:hover { color: var(--gold); }
.order-review-page h1 {
  margin: 8px 0 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
}
.order-review-intro {
  max-width: 680px;
  margin: 0 0 32px;
  color: var(--white-dim);
  line-height: 1.8;
}
.order-review-notice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 36px;
  padding: 18px 20px;
  border: 1px solid rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.08);
  color: var(--white-dim);
  font-size: 13px;
  line-height: 1.6;
}
.order-review-notice strong { color: var(--gold-light); }
.order-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: start;
}
.order-review-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--black-border);
}
.order-review-heading h2,
.order-review-summary h2,
.order-review-empty h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
}
.order-review-heading span { color: var(--white-dim); font-size: 13px; }
.order-review-items { display: grid; }
.order-review-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--black-border);
}
.order-review-item > img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border: 1px solid var(--black-border);
  background: var(--black-mid);
}
.order-review-item > strong { color: var(--gold-light); font-size: 15px; }
.order-review-item-copy { min-width: 0; }
.order-review-item-copy > a {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  text-decoration: none;
}
.order-review-item-copy > a:hover { color: var(--gold); }
.order-review-item-copy > span { color: var(--white-dim); font-size: 12px; }
.order-review-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.order-review-quantity button:not(.order-review-remove) {
  width: 28px;
  height: 28px;
  border: 1px solid var(--black-border);
  background: var(--black-mid);
  color: var(--white);
  cursor: pointer;
}
.order-review-quantity button:not(.order-review-remove):hover { border-color: var(--gold); color: var(--gold); }
.order-review-quantity span { min-width: 18px; text-align: center; font-size: 13px; }
.order-review-remove {
  margin-left: 6px;
  border: 0;
  background: transparent;
  color: var(--white-dim);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}
.order-review-remove:hover { color: var(--white); }
.order-review-summary {
  position: sticky;
  top: 96px;
  padding: 26px;
  border: 1px solid var(--black-border);
  background: var(--black-mid);
}
.order-review-summary h2 { margin-bottom: 22px; }
.order-review-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  color: var(--white-dim);
  font-size: 13px;
}
.order-review-summary > div strong { color: var(--white); }
.order-review-summary .order-review-total {
  margin: 12px 0 20px;
  padding-top: 20px;
  border-top: 1px solid var(--black-border);
  color: var(--white);
  font-size: 15px;
}
.order-review-summary .order-review-total strong { color: var(--gold-light); font-size: 18px; }
.order-review-summary .btn { width: 100%; margin-top: 10px; }
.order-review-summary .btn:disabled { cursor: not-allowed; opacity: 0.55; }
.order-review-summary > p {
  margin: 18px 0 0;
  color: var(--white-dim);
  font-size: 11px;
  line-height: 1.7;
}
.order-review-empty {
  padding: 52px 24px;
  border: 1px solid var(--black-border);
  text-align: center;
}
.order-review-empty p { margin: 12px 0 24px; color: var(--white-dim); }
.order-review-disclaimer {
  margin-top: 36px;
  padding: 18px 20px;
  border: 1px solid var(--black-border);
  color: var(--white-dim);
  font-size: 11px;
  line-height: 1.7;
}
.order-review-disclaimer strong { color: var(--white); }
.checkout-main,
#checkout-form { display: grid; gap: 24px; }
.checkout-card {
  padding: 26px;
  border: 1px solid var(--black-border);
  background: var(--black-mid);
}
.checkout-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.checkout-card-heading > span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
}
.checkout-card-heading h2 {
  margin: 0 0 4px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}
.checkout-card-heading p {
  margin: 0;
  color: var(--white-dim);
  font-size: 12px;
  line-height: 1.6;
}
.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.checkout-field { min-width: 0; }
.checkout-field-full { grid-column: 1 / -1; }
.checkout-field label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.checkout-field label span {
  color: var(--white-dim);
  font-size: 9px;
  font-weight: 400;
}
.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  border: 1px solid var(--black-border);
  border-radius: 3px;
  outline: none;
  background: var(--black);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  padding: 12px 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.checkout-field textarea { resize: vertical; min-height: 88px; }
.checkout-field select:disabled { color: var(--white-dim); opacity: 1; }
.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,168,76,0.1);
}
.checkout-field input[aria-invalid="true"],
.checkout-consent input[aria-invalid="true"] { border-color: #e05555; }
.checkout-field-error {
  display: block;
  min-height: 16px;
  padding-top: 5px;
  color: #e36b6b;
  font-size: 10px;
  line-height: 1.4;
}
.checkout-shipping-method {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(201,168,76,0.32);
  background: rgba(201,168,76,0.05);
}
.checkout-shipping-dot {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  background: var(--black);
}
.checkout-shipping-method strong { display: block; margin-bottom: 5px; font-size: 13px; }
.checkout-shipping-method p { margin: 0; color: var(--white-dim); font-size: 11px; line-height: 1.7; }
.checkout-shipping-method > span:last-child { color: var(--gold-light); font-size: 11px; white-space: nowrap; }
.checkout-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--white-dim);
  font-size: 12px;
  line-height: 1.75;
  cursor: pointer;
}
.checkout-consent input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--gold); flex: 0 0 auto; }
.checkout-form-error {
  padding: 14px 16px;
  border: 1px solid rgba(224,85,85,0.35);
  background: rgba(224,85,85,0.08);
  color: #ef8a8a;
  font-size: 12px;
  line-height: 1.6;
}
.checkout-return-page {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 130px 24px 80px;
  background: var(--black);
}
.checkout-return-card {
  width: min(680px, 100%);
  padding: clamp(30px, 6vw, 56px);
  border: 1px solid var(--black-border);
  background: var(--black-mid);
  text-align: center;
}
.checkout-return-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 26px;
  font-weight: 700;
}
.checkout-return-card h1 {
  margin: 10px 0 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.checkout-return-card > p { color: var(--white-dim); line-height: 1.8; }
.checkout-return-reference {
  gap: 6px;
  margin: 24px 0 0;
  padding: 15px;
  border: 1px solid var(--black-border);
  background: var(--black);
}
.checkout-return-reference span { color: var(--white-dim); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.checkout-return-reference strong { color: var(--gold-light); font-size: 12px; word-break: break-all; }
.checkout-return-warning {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.06);
  color: var(--white-dim);
  font-size: 11px;
  line-height: 1.7;
  text-align: left;
}
.checkout-return-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

@media (max-width: 800px) {
  .order-review-page { padding: 110px 20px 60px; }
  .order-review-grid { grid-template-columns: 1fr; }
  .order-review-summary { position: static; }
}

@media (max-width: 520px) {
  .checkout-card { padding: 20px; }
  .checkout-form-grid { grid-template-columns: 1fr; }
  .checkout-field-full { grid-column: auto; }
  .checkout-shipping-method { grid-template-columns: auto minmax(0, 1fr); }
  .checkout-shipping-method > span:last-child { grid-column: 2; }
  .order-review-item { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .order-review-item > img { width: 72px; height: 72px; }
  .order-review-item > strong { grid-column: 2; }
  .order-review-quantity { flex-wrap: wrap; }
}

/* Storage & accessory products — premium feature list */
.product-features {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.product-features h3 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

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

.product-features li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.9;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
