/* ==========================================================================
   HEALTH DISCOVERY VITAMINS - MAIN STYLESHEET
   Brand: Health Discovery Vitamins LLC
   Domain: healthdiscoveryvitamins.com
   Outbrain Compliance & E-Commerce Standards
   ========================================================================== */

:root {
  --primary: #0F766E;        /* Deep rich teal/emerald */
  --primary-dark: #042F2E;   /* Forest teal */
  --primary-light: #14B8A6;  /* Vibrant teal */
  --primary-bg: #F0FDFA;     /* Mint ice cream background */
  --accent-gold: #D97706;    /* Amber warm gold */
  --accent-gold-light: #FBBF24;
  --accent-gold-soft: #FEF3C7;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --danger: #DC2626;
  --success: #16A34A;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, Cambria, 'Times New Roman', serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: #FAFAFA;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--primary-dark);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 860px;
}

/* ==========================================================================
   OUTBRAIN COMPLIANCE DISCLOSURE HEADER (MANDATORY)
   ========================================================================== */
.outbrain-top-bar {
  background-color: #111827;
  color: #D1D5DB;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 12px;
  border-bottom: 1px solid #374151;
  position: relative;
  z-index: 1000;
}

.outbrain-top-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.outbrain-top-bar .badge-ad {
  background: #374151;
  color: #F9FAFB;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-light);
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-700);
  transition: var(--transition);
}

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

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent-gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #0F766E 0%, #0D9488 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #115E59 0%, #0F766E 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.45);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: var(--slate-900);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--primary-bg);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

/* ==========================================================================
   HERO SECTION (HOME PAGE)
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDFA 100%);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--slate-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-soft);
  color: #92400E;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid #FDE68A;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--slate-900);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .text-highlight {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-features-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-700);
}

.hero-feature-icon {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: #CCFBF1;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust-note {
  font-size: 13px;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Product Showcase Box in Hero */
.hero-visual-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-visual-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.hero-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.pill-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-700);
  background: var(--slate-100);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   TRUST SEALS BAR
   ========================================================================== */
.trust-bar {
  background: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid var(--slate-200);
}

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

.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-seal-img {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.trust-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 2px;
}

.trust-card-desc {
  font-size: 12px;
  color: var(--slate-500);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 72px 0;
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   SCIENCE & JOINT HEALTH DEEP DIVE SECTION
   ========================================================================== */
.science-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.science-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.science-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.science-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.science-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
}

.science-card-text {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.science-citation-ref {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-bg);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  border: 1px solid #CCFBF1;
}

/* Dosage Callout Box */
.dosage-highlight-box {
  background: linear-gradient(135deg, #042F2E 0%, #0F766E 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin: 40px 0;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.dosage-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--accent-gold-light);
}

.dosage-desc {
  font-size: 15px;
  color: #E2E8F0;
  line-height: 1.65;
}

.dosage-stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.dosage-number {
  font-size: 38px;
  font-weight: 900;
  color: var(--accent-gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.dosage-label {
  font-size: 13px;
  font-weight: 700;
  color: #CCFBF1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   SCIENTIFIC CITATIONS & PEER-REVIEWED STUDIES (OUTBRAIN COMPLIANT)
   ========================================================================== */
.citations-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.citations-header {
  border-bottom: 2px solid var(--slate-100);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.citations-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 10px;
}

.citation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.citation-item {
  position: relative;
  padding-left: 36px;
  font-size: 14px;
  color: var(--slate-700);
  line-height: 1.6;
}

.citation-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate-200);
}

.citation-title {
  font-weight: 700;
  color: var(--slate-900);
}

.citation-source {
  font-style: italic;
  color: var(--slate-600);
}

.citation-doi {
  font-size: 12px;
  color: var(--primary);
  word-break: break-all;
}

.citation-summary {
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 4px;
  background: var(--slate-50);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-light);
}

/* ==========================================================================
   SUPPLEMENT FACTS TABLE & INGREDIENT HIGHLIGHTS
   ========================================================================== */
.facts-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.supplement-facts-card {
  background: var(--white);
  border: 2px solid var(--slate-900);
  border-radius: 4px;
  padding: 20px;
  font-family: var(--font-sans);
  box-shadow: var(--shadow-md);
}

.facts-title {
  font-size: 26px;
  font-weight: 900;
  border-bottom: 8px solid var(--slate-900);
  padding-bottom: 4px;
  line-height: 1;
}

.facts-serving {
  font-size: 12px;
  font-weight: 600;
  border-bottom: 4px solid var(--slate-900);
  padding: 6px 0;
}

.facts-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--slate-300);
  font-size: 13px;
}

.facts-row.thick-border {
  border-bottom: 4px solid var(--slate-900);
}

.facts-row.bold {
  font-weight: 800;
}

.facts-footnote {
  font-size: 11px;
  color: var(--slate-600);
  margin-top: 10px;
  line-height: 1.4;
}

.ingredients-details {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--slate-200);
}

.ingredients-details h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.clean-label-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.clean-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--slate-50);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}

.clean-badge svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  text-align: left;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   PRODUCT PAGE (PRODUCT.HTML) SPECIFIC STYLES
   ========================================================================== */
.product-page-section {
  padding: 48px 0 80px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: start;
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: 100px;
}

.gallery-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.gallery-main-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.gallery-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  border: 2px solid var(--slate-200);
  background: var(--white);
  padding: 2px;
  cursor: pointer;
  transition: var(--transition);
  object-fit: cover;
}

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--primary);
}

/* Product Info */
.product-info-wrap {
  display: flex;
  flex-direction: column;
}

.product-breadcrumbs {
  font-size: 13px;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.product-heading {
  font-size: 32px;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 10px;
}

.product-ratings {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.stars {
  color: #F59E0B;
  font-size: 16px;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
}

.product-tagline {
  font-size: 16px;
  color: var(--slate-600);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Multi-Bottle Bundle Selector (Bundle & Save) */
.bundle-selector {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.bundle-option {
  position: relative;
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bundle-option:hover {
  border-color: var(--primary-light);
}

.bundle-option.selected {
  border-color: var(--primary);
  background: var(--primary-bg);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15);
}

.bundle-badge {
  position: absolute;
  top: -11px;
  right: 20px;
  background: var(--accent-gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.bundle-radio {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bundle-radio input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.bundle-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--slate-900);
}

.bundle-subtext {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 500;
}

.bundle-price-box {
  text-align: right;
}

.bundle-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-dark);
}

.bundle-per-bottle {
  font-size: 11px;
  color: var(--slate-500);
  font-weight: 600;
}

.bundle-savings {
  font-size: 11px;
  font-weight: 800;
  color: var(--success);
}

/* Purchase Actions */
.purchase-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-add-to-cart {
  padding: 16px;
  font-size: 17px;
  font-weight: 800;
}

.guarantee-note-box {
  background: #FEF9C3;
  border: 1px solid #FDE047;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #854D0E;
  margin-bottom: 24px;
}

.guarantee-note-box svg {
  flex-shrink: 0;
  color: #CA8A04;
}

/* Product Tabs */
.product-tabs-container {
  margin-top: 48px;
  border-top: 1px solid var(--slate-200);
  padding-top: 36px;
}

.tabs-nav {
  display: flex;
  gap: 16px;
  border-bottom: 2px solid var(--slate-200);
  margin-bottom: 24px;
}

.tab-btn {
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-600);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

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

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

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
}

.tab-content {
  display: none;
  font-size: 14px;
  color: var(--slate-700);
  line-height: 1.7;
}

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

/* ==========================================================================
   CART SLIDE-OVER DRAWER
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--white);
  z-index: 1001;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-overlay.open .cart-drawer {
  right: 0;
}

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
}

.cart-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-500);
  font-size: 20px;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.cart-close-btn:hover {
  color: var(--slate-900);
  background: var(--slate-100);
}

.cart-body {
  padding: 24px;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 20px;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 6px;
  object-fit: contain;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.cart-item-option {
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.cart-item-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--slate-400);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--slate-500);
}

.cart-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--slate-400);
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 8px;
}

.cart-totals-row.total {
  font-size: 18px;
  font-weight: 900;
  color: var(--slate-900);
  border-top: 1px solid var(--slate-200);
  padding-top: 10px;
  margin-top: 8px;
}

.cart-shipping-note {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

/* ==========================================================================
   CHECKOUT MODAL (NAME, ADDRESS & SIMULATED PROCESSOR)
   ========================================================================== */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.checkout-modal-overlay.open {
  display: flex;
}

.checkout-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  display: flex;
  flex-direction: column;
}

.checkout-modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}

.checkout-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-modal-body {
  padding: 28px;
}

.checkout-order-summary-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
}

.form-label .req {
  color: var(--danger);
}

.form-input, .form-select {
  padding: 10px 14px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--slate-900);
  background: var(--white);
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.payment-gateway-notice {
  margin-top: 24px;
  padding: 14px 18px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: #1E40AF;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.payment-gateway-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Success / Handoff State in Modal */
.checkout-success-view {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.checkout-success-view.show {
  display: block;
}

.spinner-circle {
  width: 56px;
  height: 56px;
  border: 4px solid var(--slate-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   FOOTER & OUTBRAIN MANDATORY DISCLAIMERS
   ========================================================================== */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 60px 0 30px;
  border-top: 1px solid #1E293B;
  font-size: 13px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-title {
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-company-info {
  line-height: 1.7;
}

.footer-company-info strong {
  color: #E2E8F0;
}

.footer-links-title {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav-list a:hover {
  color: var(--accent-gold-light);
  padding-left: 4px;
}

/* MANDATORY OUTBRAIN HEALTH & MEDICAL DISCLAIMERS BOX */
.disclaimers-box {
  background: #020617;
  border: 1px solid #1E293B;
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 36px;
}

.disclaimers-heading {
  color: var(--accent-gold-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.disclaimers-p {
  color: #CBD5E1;
  font-size: 12.5px;
  line-height: 1.65;
  margin-bottom: 10px;
}

.disclaimers-p:last-child {
  margin-bottom: 0;
}

.disclaimers-p strong {
  color: var(--white);
}

.footer-bottom-bar {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}

/* ==========================================================================
   ADVERTORIAL & INFORMATIONAL LANDING PAGE STYLES (LANDING.HTML)
   ========================================================================== */
.advertorial-header {
  padding: 40px 0 24px;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.article-category-badge {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid #CCFBF1;
}

.advertorial-headline {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.advertorial-deck {
  font-size: 19px;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 24px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
  font-size: 13px;
  color: var(--slate-500);
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item strong {
  color: var(--slate-800);
}

.advertorial-body {
  padding: 48px 0 80px;
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
}

.advertorial-body p {
  margin-bottom: 24px;
}

.advertorial-body h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--slate-900);
  margin: 44px 0 16px;
  line-height: 1.3;
}

.advertorial-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 32px 0 14px;
}

.editorial-callout-quote {
  background: var(--slate-50);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
  font-style: italic;
  font-size: 18px;
  color: var(--slate-800);
  line-height: 1.6;
}

.editorial-callout-quote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 10px;
}

.editorial-inline-image-box {
  margin: 36px 0;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.editorial-inline-img {
  max-height: 440px;
  margin: 0 auto 14px;
  border-radius: var(--radius-md);
}

.editorial-caption {
  font-size: 13px;
  color: var(--slate-500);
  font-style: italic;
}

.science-point-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.science-point-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.science-point-number {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.science-point-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--slate-900);
}

.advertorial-cta-card {
  background: linear-gradient(135deg, #042F2E 0%, #0F766E 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  margin: 48px 0;
  box-shadow: var(--shadow-xl);
}

.advertorial-cta-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.advertorial-cta-desc {
  font-size: 15px;
  color: #CCFBF1;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ==========================================================================
   STATIC LEGAL PAGES (PRIVACY & TERMS)
   ========================================================================== */
.legal-page-header {
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
  padding: 48px 0;
  border-bottom: 1px solid var(--slate-200);
  text-align: center;
}

.legal-content {
  padding: 60px 0;
}

.legal-article {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-700);
}

.legal-article h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--slate-900);
  margin: 32px 0 14px;
}

.legal-article h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-800);
  margin: 20px 0 10px;
}

.legal-article p, .legal-article ul {
  margin-bottom: 16px;
}

.legal-article ul {
  padding-left: 24px;
}

.legal-contact-callout {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 32px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-features-list {
    align-items: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .science-card-grid {
    grid-template-columns: 1fr;
  }
  .dosage-highlight-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .facts-container {
    grid-template-columns: 1fr;
  }
  .product-layout {
    grid-template-columns: 1fr;
  }
  .product-gallery {
    position: static;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }
  .nav-links {
    display: none; /* simple mobile view */
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .bundle-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .bundle-price-box {
    text-align: left;
  }
}
