/* ==========================================================================
   ehorseboost.com - Core DTC Store Stylesheet
   Archetype: Sport / Performance Male Vitality DTC
   Palette: Obsidian Dark, Crimson Red, Warm Amber Gold, Clean White
   ========================================================================== */

:root {
  --bg-base: #0b0e14;
  --bg-surface: #131822;
  --bg-surface-elevated: #1a2230;
  --bg-surface-hover: #222b3d;
  --border-subtle: #242e40;
  --border-focus: #3b82f6;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #0f172a;
  
  --accent-red: #dc2626;
  --accent-red-bright: #ef4444;
  --accent-red-dark: #991b1b;
  
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-copper: #c2410c;
  
  --color-success: #16a34a;
  --color-success-bg: rgba(22, 163, 74, 0.15);
  --color-badge-bg: rgba(220, 38, 38, 0.15);
  
  --font-display: 'Chivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  
  --container-max: 1200px;
  --container-narrow: 840px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-base);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent-gold);
  color: var(--text-dark);
  font-weight: 700;
  padding: 10px 18px;
  z-index: 10000;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 20px;
}

:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-darker {
  background-color: #080a0f;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-red-bright);
  background: var(--color-badge-bg);
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #1c0808, #2a0b0b 50%, #1c0808);
  border-bottom: 1px solid rgba(220, 38, 38, 0.3);
  color: #fecaca;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 0;
  text-align: center;
  overflow: hidden;
  width: 100%;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 12px;
  word-break: break-word;
}

.announcement-pill {
  background: var(--accent-red);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 14, 20, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 12px;
  width: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  min-width: 0;
  flex-shrink: 1;
}

.brand-name {
  white-space: nowrap;
}

.brand-symbol {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.brand-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link:focus {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  text-align: center;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.2;
}

.btn-header {
  font-size: 0.875rem;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.btn-header:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-primary {
  font-size: 1.125rem;
  padding: 16px 28px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b0e14;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45);
  filter: brightness(1.06);
}

.btn-block {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-drawer {
  display: none;
}

/* Buy Box Section (Above the fold hero / PDP) */
.hero-pdp {
  padding-top: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 75% 20%, rgba(220, 38, 38, 0.08) 0%, transparent 60%);
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

/* Left: Product Media Gallery */
.pdp-gallery {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pdp-main-image-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: radial-gradient(circle at 50% 50%, #1c2433 0%, #111622 70%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.pdp-main-image {
  margin: 0 auto;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.6));
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  justify-content: center;
}

.thumb-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px;
  cursor: pointer;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast);
}

.thumb-btn.is-active, .thumb-btn:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
}

.thumb-btn img {
  max-height: 100%;
  object-fit: contain;
}

/* Right: Buy Column */
.pdp-info {
  display: flex;
  flex-direction: column;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.stars {
  color: var(--accent-gold);
  letter-spacing: 2px;
}

.rating-score {
  font-weight: 700;
  color: var(--text-primary);
}

.reviews-count-link {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 12px;
}

.pdp-definition {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #e2e8f0;
  background: rgba(220, 38, 38, 0.08);
  border-left: 4px solid var(--accent-red);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
}

/* Package Selector Radio Cards */
.package-selector {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.package-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.package-card:hover {
  background: var(--bg-surface-elevated);
  border-color: #3b4861;
}

.package-card.is-selected {
  background: #19202e;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.15);
}

.package-card input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.card-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  background: linear-gradient(135deg, var(--accent-red), #b91c1c);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.package-details {
  display: flex;
  flex-direction: column;
}

.package-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
}

.package-supply {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.package-bonus-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-top: 2px;
}

.package-pricing {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-per-bottle {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
}

.price-per-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.price-save-pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-top: 3px;
}

/* Dynamic Summary & CTA */
.buy-summary-box {
  background: #0f141d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.summary-total-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.summary-total-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
}

.summary-was-price {
  font-size: 1.0625rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}

.summary-savings-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #22c55e;
  font-weight: 700;
}

.cta-button-wrap {
  margin-bottom: 16px;
}

.trust-microcopy-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item-icon {
  color: var(--accent-gold);
  font-weight: 800;
}

/* Trust Badges Strip */
.trust-strip {
  background: #090c12;
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.badge-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.badge-text-group {
  display: flex;
  flex-direction: column;
}

.badge-strong {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text-primary);
}

.badge-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Semantic Spec Table (GEO Block #1) */
.spec-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.spec-table th, .spec-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-table th {
  background: #0f141f;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--accent-gold);
  width: 32%;
}

.spec-table td {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.spec-table tr:last-child th, .spec-table tr:last-child td {
  border-bottom: none;
}

/* Callout Box (The Short Version / TL;DR) */
.callout-box {
  background: #111724;
  border: 1px solid var(--border-subtle);
  border-left: 5px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 24px;
}

.callout-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.callout-body {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Pillars / Benefits Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: #3b4861;
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--accent-red-bright);
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Supplement Facts FDA Panel */
.supplement-facts-box {
  background: #ffffff;
  color: #000000;
  border: 3px solid #000000;
  padding: 16px 20px;
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 680px;
  margin: 32px auto;
  box-shadow: var(--shadow-md);
}

.sf-title {
  font-family: 'Helvetica Black', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  border-bottom: 10px solid #000000;
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.sf-serving {
  font-size: 0.875rem;
  font-weight: 700;
  border-bottom: 4px solid #000000;
  padding-bottom: 4px;
  margin-bottom: 4px;
}

.sf-header-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  border-bottom: 1px solid #000000;
  padding: 4px 0;
}

.sf-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #71717a;
  font-size: 0.875rem;
}

.sf-row.thick {
  border-bottom: 4px solid #000000;
}

.sf-indent {
  padding-left: 16px;
}

.sf-footnote {
  font-size: 0.75rem;
  margin-top: 8px;
  line-height: 1.4;
  color: #27272a;
}

.sf-other-ingredients {
  margin-top: 12px;
  font-size: 0.8125rem;
  line-height: 1.4;
  border-top: 1px solid #000000;
  padding-top: 6px;
}

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: #0f1522;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
}

.comparison-table th.brand-col {
  color: var(--accent-gold);
  background: #172030;
}

.comparison-table td.brand-col {
  background: rgba(245, 158, 11, 0.03);
  font-weight: 600;
  color: #ffffff;
}

/* Accordion FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 880px;
  margin: 32px auto 0;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: #38455c;
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-gold);
  transition: transform var(--transition-fast);
}

details[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Guarantee Band */
.guarantee-band {
  background: radial-gradient(circle at 50% 50%, #1e1215 0%, #12090b 100%);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  margin: 48px auto;
  box-shadow: var(--shadow-card);
}

.guarantee-seal-wrap {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, var(--accent-red), #991b1b);
  border-radius: var(--radius-full);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.4);
  flex-shrink: 0;
}

.guarantee-seal-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}

.guarantee-seal-label {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.guarantee-title {
  font-size: 1.625rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.guarantee-text {
  color: #e2e8f0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Review Wall & Cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.verified-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.review-text {
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.review-author-group {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  font-size: 0.8125rem;
}

.author-name {
  font-weight: 700;
  color: #ffffff;
}

.author-location {
  color: var(--text-muted);
}

/* References Section */
.references-box {
  background: #0a0d13;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 40px;
}

.references-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.references-list {
  padding-left: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.references-list a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.references-list a:hover {
  color: var(--accent-gold);
}

/* Sticky Dock Bar */
.sticky-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(14, 18, 26, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid #2d3748;
  padding: 10px 0;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.5);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0.25s;
}

.sticky-dock.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s;
}

.sticky-dock-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-dock-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-dock-product img {
  border-radius: var(--radius-sm);
  background: #19202e;
  padding: 2px;
}

.sticky-dock-text {
  display: flex;
  flex-direction: column;
}

.sticky-product-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ffffff;
}

.sticky-selection-summary {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.sticky-dock-action {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sticky-price-group {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.sticky-total {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 900;
  color: var(--accent-gold);
}

.sticky-shipping {
  font-size: 0.6875rem;
  color: #22c55e;
  font-weight: 700;
}

.sticky-btn {
  font-size: 0.9375rem;
  padding: 10px 20px;
}

/* Site Footer */
.site-footer {
  background-color: #06080c;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-blurb {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-company-info p {
  font-size: 0.8125rem;
  margin-bottom: 6px;
  color: #94a3b8;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-badges-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
}

.footer-badges-list span {
  color: #22c55e;
  font-weight: 900;
  margin-right: 6px;
}

.payment-methods-text {
  background: #0e121a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.payment-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.payment-options {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-disclaimers {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 0;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.disclaimer-box p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.last-updated-text {
  color: var(--text-secondary);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pdp-gallery {
    position: static;
  }

  .pillars-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner {
    height: 62px;
  }

  /* CRITICAL: Hide badge in mobile header to eliminate overflow */
  .brand-badge {
    display: none !important;
  }

  .brand-logo {
    font-size: 1.1875rem;
    gap: 8px;
  }

  .brand-name {
    font-size: 1.1875rem;
  }

  .brand-symbol {
    width: 24px;
    height: 24px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-header {
    font-size: 0.8125rem;
    padding: 7px 12px;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .mobile-drawer {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    background: #0b0e14;
    border-bottom: 2px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility 0s linear 0.2s;
  }

  .mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition-fast), visibility 0s;
  }

  .mobile-drawer-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .mobile-drawer-content .nav-link {
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  /* Buy Box PDP Mobile */
  .pdp-grid {
    grid-template-columns: 100%;
    gap: 28px;
    width: 100%;
  }

  .pdp-main-image-wrap {
    padding: 20px 14px;
    max-width: 100%;
  }

  .pdp-main-image {
    max-height: 320px;
  }

  .pdp-title {
    font-size: 1.875rem;
  }

  .pdp-rating-row {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8125rem;
  }

  .package-card {
    padding: 14px 14px;
    gap: 12px;
  }

  .package-name {
    font-size: 1rem;
  }

  .price-per-bottle {
    font-size: 1.375rem;
  }

  /* Tables Mobile */
  .spec-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .spec-table {
    min-width: 480px;
  }

  .comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .comparison-table {
    min-width: 500px;
  }

  .supplement-facts-box {
    max-width: 100%;
    overflow-x: auto;
  }

  .pillars-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-band {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }

  .guarantee-seal-wrap {
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .sticky-dock {
    padding: 10px 12px;
  }

  .sticky-dock-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .sticky-dock-product {
    justify-content: center;
  }

  .sticky-dock-product-title {
    display: none;
  }

  .sticky-dock-action {
    justify-content: space-between;
  }
}

@media (max-width: 420px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-name {
    font-size: 1.0625rem;
  }

  .btn-header {
    font-size: 0.6875rem;
    padding: 6px 9px;
  }

  .package-card {
    padding: 12px 10px;
    gap: 8px;
  }

  .price-per-bottle {
    font-size: 1.25rem;
  }

  .price-save-pill {
    font-size: 0.625rem;
    padding: 2px 5px;
  }

  .card-badge {
    font-size: 0.625rem;
    padding: 2px 7px;
    top: -9px;
    right: 10px;
  }
}
