/* ========================================================
   HELIXCORE RESEARCH PEPTIDES - CORE STYLESHEET
   Scientific / Bio-Tech Modern Glassmorphic Dark Design System
   ======================================================== */

:root {
  --bg-primary: #04070e;
  --bg-secondary: #080d18;
  --bg-card: #0c1424;
  --bg-card-hover: #121c32;
  --bg-glass: rgba(8, 13, 24, 0.88);
  
  --border-color: #152238;
  --border-light: #1f304e;
  --border-accent: rgba(0, 229, 255, 0.35);

  --accent-cyan: #00e5ff;
  --accent-cyan-hover: #00b4d8;
  --accent-cyan-glow: rgba(0, 229, 255, 0.28);
  
  --accent-emerald: #00e699;
  --accent-emerald-glow: rgba(0, 230, 153, 0.25);
  
  --accent-indigo: #6366f1;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #020617;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 20px var(--accent-cyan-glow);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

body > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

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

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

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: initial !important;
  }
}

/* Top Research Disclaimer Banner */
.compliance-banner {
  background: linear-gradient(90deg, #0b0c20 0%, #050812 50%, #0b0c20 100%);
  border-bottom: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  color: #c7d2fe;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.compliance-banner .shield-icon {
  color: var(--accent-cyan);
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-logo .helix-icon {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.brand-logo span.highlight {
  color: var(--accent-cyan);
}

.brand-logo .sub-badge {
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid var(--border-accent);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.nav-search {
  flex: 1;
  max-width: 450px;
  position: relative;
}

.nav-search input {
  width: 100%;
  background: rgba(8, 13, 24, 0.85);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.nav-search input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-glow);
}

.nav-search .search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-icon {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.cart-badge, .btn-icon .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent-cyan);
  color: var(--text-inverse);
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 1.5rem 3rem;
  background: radial-gradient(circle at 50% 10%, rgba(0, 229, 255, 0.12) 0%, rgba(4, 7, 14, 0) 70%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 3.5rem auto 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feature-text h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.feature-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* Category Filter Bar */
.catalog-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;
}

.catalog-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
  width: 100%;
}

.catalog-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.catalog-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.catalog-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.category-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.category-pill {
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.category-pill:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

.category-pill.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.sort-select-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sort-select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.sort-select:focus {
  border-color: var(--accent-cyan);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 15px var(--accent-cyan-glow);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
}

.card-badge.best-seller {
  background: linear-gradient(135deg, var(--accent-amber), #ea580c);
  color: #fff;
}
.card-badge.popular {
  background: linear-gradient(135deg, var(--accent-cyan), #0284c7);
  color: #fff;
}
.card-badge.top-rated, .card-badge.cutting-edge, .card-badge.high-demand {
  background: linear-gradient(135deg, var(--accent-emerald), #059669);
  color: #fff;
}

.card-image-wrap {
  position: relative;
  height: 210px;
  background: #0b1329;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.purity-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-cas {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 3px 6px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.card-dosage-select {
  margin-bottom: 1rem;
}

.card-dosage-select label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.dosage-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dosage-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dosage-btn:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

.dosage-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.price-container {
  display: flex;
  flex-direction: column;
}

.price-container .current-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.price-container .compare-price {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

/* Primary & Secondary Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-cyan-hover) 100%);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px var(--accent-cyan-glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

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

.btn-outline-cyan {
  background: transparent;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline-cyan:hover {
  background: rgba(6, 182, 212, 0.1);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #059669 100%);
  color: #ffffff;
}

.btn-emerald:hover {
  box-shadow: 0 4px 14px var(--accent-emerald-glow);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Slide-out Cart Drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.cart-drawer.active {
  transform: translateX(0);
  visibility: visible;
}

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.close-btn:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}


.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.empty-cart-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-muted);
  gap: 0.85rem;
}

.empty-cart-icon {
  font-size: 3rem;
  color: var(--border-light);
}

.cart-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  position: relative;
}

.cart-item-img {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #090e1f;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cart-item-dosage {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.qty-control {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  border: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.qty-val {
  padding: 0 8px;
  font-size: 0.82rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.remove-item-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px;
}

.remove-item-btn:hover {
  color: var(--accent-rose);
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.cart-coupon-box {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cart-coupon-box input {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  text-transform: uppercase;
  outline: none;
}

.cart-coupon-box input:focus {
  border-color: var(--accent-cyan);
}

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.cart-row.discount {
  color: var(--accent-emerald);
}

.cart-row.total {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalPop 0.25s ease;
}

@keyframes modalPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-body {
  padding: 1.5rem;
}

/* Age / Compliance Modal */
.age-modal-card {
  max-width: 500px;
  text-align: center;
  padding: 2.5rem 2rem;
}

.age-icon {
  font-size: 3rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.age-modal-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.age-modal-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.age-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* COA (Certificate of Analysis) Lab Report Modal */
.coa-report {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.coa-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.coa-title h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.coa-title p {
  font-size: 0.8rem;
  color: #64748b;
}

.coa-stamp {
  border: 2px solid #10b981;
  color: #10b981;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  transform: rotate(-5deg);
}

.coa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
}

.coa-grid-item {
  border: 1px solid #e2e8f0;
  padding: 0.6rem 0.85rem;
  border-radius: 4px;
  background: #f8fafc;
}

.coa-grid-item .label {
  font-weight: 700;
  color: #64748b;
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.coa-grid-item .value {
  font-weight: 600;
  color: #0f172a;
}

.hplc-chromatogram {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.hplc-graph {
  height: 120px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hplc-peak {
  width: 4px;
  height: 100px;
  background: #0284c7;
  border-radius: 2px 2px 0 0;
  position: relative;
}

.hplc-peak::after {
  content: '99.6% (RT: 12.42 min)';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  color: #0284c7;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-left: 4px solid var(--accent-cyan);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 380px;
  animation: slideToast 0.3s ease;
  font-size: 0.88rem;
}

.toast.success {
  border-left-color: var(--accent-emerald);
}

.toast.error {
  border-left-color: var(--accent-rose);
}

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

/* Product Detail Page Specifics */
.product-detail-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumbs a:hover {
  color: var(--accent-cyan);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.product-media-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.product-media-panel img {
  max-height: 400px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.product-specs-table {
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.product-specs-table th, .product-specs-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.product-specs-table th {
  color: var(--text-muted);
  width: 35%;
}

.product-specs-table td {
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.detail-purity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

/* Tabs */
.tabs-container {
  margin-top: 3rem;
}

.tabs-nav {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 0.75rem 1.25rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--accent-cyan);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-cyan);
}

.tab-pane {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.tab-pane.active {
  display: block;
}

/* Checkout Page */
.checkout-container {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.form-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px var(--accent-cyan-glow);
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-radio-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.payment-radio-card:hover {
  border-color: var(--border-light);
}

.payment-radio-card.active {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
}

/* Order Confirmation */
.confirmation-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.success-check-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--accent-emerald);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 25px var(--accent-emerald-glow);
}

.order-timeline {
  display: flex;
  justify-content: space-between;
  margin: 2.5rem 0;
  position: relative;
}

.order-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-step.completed .timeline-dot {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #ffffff;
}

.timeline-step.current .timeline-dot {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--text-inverse);
  box-shadow: 0 0 12px var(--accent-cyan-glow);
}

.timeline-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.timeline-step.completed .timeline-label,
.timeline-step.current .timeline-label {
  color: var(--text-primary);
}

/* Admin Dashboard */
.admin-container {
  max-width: 1300px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.stat-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.admin-table th {
  color: var(--text-muted);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.badge-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-status.processing {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

.badge-status.shipped {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.badge-status.delivered {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-column p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}


/* ========================================================
   HELIXCORE RESEARCH PEPTIDES - CORE STYLESHEET
   ======================================================== */

/* Scrolling Trust Marquee */
.trust-marquee {
  background: #04070e;
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  font-size: 0.8rem;
  color: var(--text-secondary);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.marquee-inner {
  display: inline-flex;
  gap: 3rem;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.marquee-item i {
  color: var(--accent-cyan);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Quality Standards Section */
.lab-standards-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 1.5rem;
}

.lab-standards-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .lab-standards-section {
    padding: 2.25rem 1rem;
  }
  .lab-standards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Reviews & Testimonials Section */
.reviews-section {
  padding: 4rem 1.5rem;
  background: radial-gradient(circle at 50% 100%, rgba(0, 229, 255, 0.08) 0%, rgba(4, 7, 14, 0) 60%);
  border-top: 1px solid var(--border-color);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2.5rem auto 0;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.review-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: var(--accent-amber);
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.85rem;
}

.reviewer-info h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.reviewer-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-toggle-icon {
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

/* ========================================================
   POLICY MODAL STYLES
   ======================================================== */

.policy-tabs-nav {
  display: flex;
  overflow-x: auto;
  gap: 0.35rem;
  padding: 0.6rem 1.5rem 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  scrollbar-width: none;
}

.policy-tabs-nav::-webkit-scrollbar {
  display: none;
}

.policy-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.policy-tab-btn:hover {
  color: var(--text-primary);
}

.policy-tab-btn.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.policy-content {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.policy-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
}

.policy-content h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin: 1.25rem 0 0.35rem;
}

.policy-content p {
  margin-bottom: 0.85rem;
}

.policy-content a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  font-size: 0.8rem;
}

.footer-policy-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
  cursor: pointer;
}

.footer-policy-links a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* ========================================================
   COMPREHENSIVE MOBILE OPTIMIZATION ENGINE
   ======================================================== */

/* Mobile Hamburger Toggle Button - Default Hidden on Desktop */
.mobile-menu-toggle {
  display: none;
}

/* Mobile Nav Drawer - Default Hidden on Desktop */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(8, 13, 26, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  visibility: hidden;
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  transform: translateY(0);
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.mobile-nav-close {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-links li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(19, 29, 51, 0.5);
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.mobile-nav-links li a:active,
.mobile-nav-links li a:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
}

.mobile-nav-links li a i {
  color: var(--accent-cyan);
  width: 24px;
  font-size: 1.1rem;
  text-align: center;
}

.mobile-nav-support {
  margin-top: auto;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.mobile-nav-support h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.mobile-nav-support a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  padding: 0.4rem 0;
  transition: var(--transition-fast);
}

.mobile-nav-support a i {
  color: var(--accent-cyan);
  width: 20px;
}

/* ----------------------------------------------------
   Responsive Mobile Engine (Screens <= 768px)
   ---------------------------------------------------- */
@media (max-width: 768px) {
  /* Prevent iOS Safari input auto-zoom (apply strictly to text inputs) */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Navigation Bar */
  .navbar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.4rem 0;
  }

  .nav-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.5rem 0.85rem;
    gap: 0.5rem;
  }

  .brand-logo {
    font-size: 1.15rem;
    gap: 0.5rem;
    min-width: 0;
  }

  .brand-logo .helix-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .brand-logo .sub-badge {
    font-size: 0.6rem;
    padding: 1px 5px;
  }

  .nav-links {
    display: none; /* Replaced by dedicated mobile menu */
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-actions {
    gap: 0.4rem;
    flex-shrink: 0;
  }

  .btn-icon {
    width: 38px;
    height: 38px;
  }

  .compliance-banner {
    font-size: 0.68rem;
    padding: 0.4rem 0.75rem;
    line-height: 1.35;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .trust-marquee {
    font-size: 0.74rem;
    padding: 0.45rem 0;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .marquee-inner {
    gap: 1.75rem;
    animation: marqueeScroll 22s linear infinite;
  }

  /* Hero Section */
  .hero {
    width: 100% !important;
    max-width: 100% !important;
    padding: 2rem 1rem 1.75rem !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  .hero-pill {
    font-size: 0.68rem !important;
    padding: 0.35rem 0.65rem !important;
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    display: inline-flex !important;
    text-align: center !important;
    margin-bottom: 0.85rem !important;
    box-sizing: border-box !important;
  }

  .hero h1 {
    font-size: 1.6rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.75rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .hero p {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1.25rem !important;
  }

  .hero-cta .btn {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px;
    justify-content: center;
    box-sizing: border-box !important;
  }

  .hero-badges {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .feature-card {
    padding: 0.75rem 0.85rem !important;
    gap: 0.65rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .feature-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .feature-text {
    min-width: 0;
    text-align: left;
  }

  .feature-text h4 {
    font-size: 0.82rem;
    word-break: break-word;
  }

  .feature-text p {
    font-size: 0.7rem;
    word-break: break-word;
  }

  .feature-text p {
    font-size: 0.68rem;
  }

  /* Catalog Section */
  .catalog-section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem 1rem 3rem !important;
    margin: 0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .catalog-header {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 1.25rem !important;
    box-sizing: border-box !important;
    gap: 1rem;
  }

  .catalog-title-row {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 0.75rem !important;
  }

  .catalog-title {
    font-size: 1.35rem !important;
    line-height: 1.25;
    word-break: break-word;
  }

  .catalog-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.45;
  }

  .catalog-controls {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* Category Horizontal Momentum Scroll */
  .category-pills {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 0.5rem;
    padding: 4px 0 10px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    scrollbar-width: none;
  }

  .category-pills::-webkit-scrollbar {
    display: none;
  }

  .category-pill {
    flex-shrink: 0;
    scroll-snap-align: start;
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-full);
  }

  .sort-select-wrapper {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .sort-select {
    flex: 1 !important;
    min-width: 0 !important;
    min-height: 40px;
    font-size: 0.85rem;
  }

  /* Products Grid - FULL-WIDTH 1-COLUMN MOBILE LAYOUT */
  .products-grid {
    display: grid !important;
    grid-template-columns: 100% !important;
    gap: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .product-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-lg);
  }

  .card-image-wrap {
    height: 220px;
  }

  .card-image-wrap img {
    max-height: 85%;
  }

  .card-body {
    padding: 1.15rem 1rem 1rem;
  }

  .dosage-options {
    gap: 0.4rem;
  }

  .dosage-btn {
    min-height: 38px;
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .card-footer {
    padding-top: 0.85rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .card-footer .card-actions {
    width: 100%;
    display: flex;
    gap: 0.5rem;
  }

  .card-footer .card-actions .btn {
    flex: 1;
    min-height: 42px;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 700;
  }

  .card-footer .card-actions .btn-secondary {
    flex: 0 0 44px;
    min-height: 42px;
    padding: 0;
  }

  /* Slide-Out Cart Drawer */
  .cart-drawer {
    width: 100% !important;
    max-width: 100vw !important;
    height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .cart-header {
    padding: 1rem 1.25rem;
  }

  .cart-items {
    padding: 0.5rem 1.25rem;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cart-item {
    padding: 0.85rem 0;
  }

  .cart-item-img {
    width: 54px;
    height: 54px;
  }

  .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .cart-footer {
    padding: 1rem 1.25rem max(1.25rem, env(safe-area-inset-bottom, 16px));
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
  }

  .cart-footer .btn-block {
    min-height: 48px;
    font-size: 1rem;
    font-weight: 700;
  }

  /* Product Details Page */
  .product-detail-container {
    padding: 1rem 1rem 3rem;
  }

  .breadcrumbs {
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
  }

  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .product-media-panel {
    padding: 1.25rem;
  }

  .product-media-panel img {
    max-height: 250px;
    margin: 0 auto;
  }

  .detail-purity-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .product-info-panel h1 {
    font-size: 1.65rem !important;
    line-height: 1.25;
  }

  .product-price-box {
    padding: 0.85rem 1rem;
  }

  .product-specs-table {
    table-layout: fixed;
    width: 100%;
  }

  .product-specs-table th {
    width: 38%;
    padding: 0.55rem 0.6rem;
    font-size: 0.76rem;
  }

  .product-specs-table td {
    width: 62%;
    padding: 0.55rem 0.6rem;
    font-size: 0.76rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .detail-purchase-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .detail-purchase-row .btn {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
  }

  .tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
    min-height: 38px;
  }

  .tab-pane {
    padding: 1.25rem 1rem;
  }

  .hplc-chromatogram {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.85rem;
  }

  /* Checkout Page Mobile */
  .checkout-container {
    padding: 1rem 1rem 3rem;
  }

  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .form-card {
    padding: 1.15rem 1rem;
  }

  .form-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.15rem;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }

  .form-group.full {
    grid-column: span 1 !important;
  }

  .form-group input,
  .form-group select {
    min-height: 44px;
    padding: 0.65rem 0.85rem;
  }

  #submit-order-btn {
    min-height: 50px;
    font-size: 1.05rem;
    font-weight: 700;
  }

  /* Order Confirmation Mobile */
  .confirmation-container {
    padding: 1.25rem 1rem 3rem;
  }

  .confirm-card {
    padding: 1.5rem 1rem;
  }

  .confirm-card h1 {
    font-size: 1.5rem !important;
  }

  .order-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 0.6rem;
  }

  .order-timeline {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .order-timeline::before {
    display: none;
  }

  .timeline-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
    width: 100%;
  }

  .step-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  /* Reviews & Social Proof */
  .reviews-section {
    padding: 2.5rem 1rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .review-card {
    padding: 1.15rem 1rem;
  }

  /* FAQ Section */
  .faq-section {
    padding: 2.5rem 1rem;
  }

  .faq-question {
    padding: 0.9rem 1rem;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 1rem 0.9rem;
    font-size: 0.85rem;
  }

  /* Footer Mobile */
  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .footer-column p {
    font-size: 0.82rem;
  }

  .footer-policy-links {
    justify-content: center;
    gap: 0.6rem 1rem;
    font-size: 0.78rem;
  }

  /* Modals Mobile */
  .modal-overlay {
    padding: 0.5rem;
  }

  .modal-container {
    max-width: calc(100vw - 1rem) !important;
    max-height: 90vh;
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
  }

  .age-modal-card {
    padding: 1.5rem 1rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .age-modal-card h2 {
    font-size: 1.25rem !important;
    line-height: 1.3;
  }

  .age-modal-card p {
    font-size: 0.82rem !important;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .age-buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }

  .age-buttons .btn {
    width: 100% !important;
    min-height: 44px;
    font-size: 0.88rem;
  }

  .coa-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
  }

  .policy-tab-btn {
    font-size: 0.72rem;
    padding: 0.4rem 0.5rem;
  }

  /* Admin Portal Mobile */
  .admin-container {
    padding: 1rem 0.75rem 3rem;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .admin-header h1 {
    font-size: 1.4rem;
  }

  .date-range-toolbar {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.6rem;
  }

  .range-btn-group {
    width: 100%;
    display: flex;
  }

  .range-btn {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    padding: 7px 4px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem;
  }

  .stat-card {
    padding: 0.85rem 0.75rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .stat-value {
    font-size: 1.3rem;
  }

  .admin-table-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
  }

  .admin-table {
    min-width: 580px;
    font-size: 0.8rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.6rem 0.75rem;
  }
}

/* Extra Small Devices (<380px) */
@media (max-width: 380px) {
  .hero-badges {
    grid-template-columns: 1fr !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .brand-logo span {
    font-size: 1.05rem;
  }
}

