/*
Theme Name: Vanguard Research Labs
Theme URI: https://vanguardresearchlabs.com
Author: Vivid Group
Author URI: https://vividagency.ca
Description: Custom WooCommerce theme for Vanguard Research Labs — precision peptide storefront
Version: 13.9.0
Requires at least: 6.0
Tested up to: 6.7
WC requires at least: 8.0
WC tested up to: 9.4
License: Proprietary
Text Domain: vanguard
*/

/* ============================================================
   GOOGLE FONTS — loaded via functions.php wp_enqueue_style
   Cormorant Garamond (headings) + Jost (body/UI)
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Jost:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --black: #111;
  --white: #fff;
  --off-white: #f5f5f3;
  --light-gray: #e8e8e4;
  --mid-gray: #aaa;
  --dark-green: #2d5a47;
  --dark-green-hover: #214034;
  --sale-green: #2d5a47;
  --new-red: #c0432a;
  --text-muted: #777;
  --border: #ddd;
  --max-width: 1400px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
  background: var(--dark-green);
  color: #fff;
  padding: 9px 0;
  font-size: 12px;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.announcement-bar .marquee-track {
  display: inline-flex;
  animation: marqueeScroll 28s linear infinite;
  white-space: nowrap;
}
.announcement-bar .marquee-track span {
  display: inline-block;
  padding: 0 48px;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  height: 68px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.header-nav { display: flex; gap: 28px; align-items: center; }
.header-nav a,
.header-nav ul li a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.header-nav a:hover,
.header-nav ul li a:hover { color: var(--dark-green); opacity: 1; }
.header-nav ul { display: flex; gap: 28px; }
.header-nav ul li { display: block; }
.site-logo {
  text-align: center;
}
.site-logo a {
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--black);
  text-transform: uppercase;
  display: inline-block;
}
.site-logo a:hover { opacity: 1; color: var(--black); }
.site-logo img { max-height: 40px; width: auto; margin: 0 auto; }
.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}
.header-actions a,
.header-actions button {
  color: var(--black);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  padding: 4px;
}
.header-actions svg { width: 18px; height: 18px; }
.header-actions a:hover,
.header-actions button:hover { color: var(--dark-green); opacity: 1; }
.cart-icon-wrap { position: relative; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--dark-green);
  color: #fff;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
}

/* Mobile nav (hidden by default) */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--black); transition: var(--transition); }
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  padding: 40px 32px;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  color: var(--black);
}
.mobile-nav-close {
  align-self: flex-end;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  margin-bottom: 20px;
  padding: 4px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  background: var(--black);
  color: #fff;
  border: 1px solid var(--black);
  padding: 12px 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--dark-green); border-color: var(--dark-green); color: #fff; opacity: 1; }
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 12px 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  display: inline-block;
}
.btn-outline:hover { background: var(--black); color: #fff; opacity: 1; }
.btn-white {
  background: #fff;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 12px 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background var(--transition), color var(--transition);
}
.btn-white:hover { background: rgba(255,255,255,0.85); opacity: 1; }

/* ============================================================
   HERO
============================================================ */
.hero-section {
  position: relative;
  background: #f4f5f2;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 25%, rgba(45,90,71,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 88% 75%, rgba(92,148,120,0.10) 0%, transparent 55%),
    linear-gradient(165deg, #f0f4f0 0%, #e6ece7 60%, #dde6df 100%);
  z-index: 0;
}
/* Floating product vials canvas — sits above the bg, below the text */
#hero-vials {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 72px 32px;
  display: flex;
  justify-content: center;
}
.hero-text {
  max-width: 620px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-green);
  margin-bottom: 18px;
  font-weight: 600;
  display: block;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.06;
  color: var(--black);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-image { display: none; }
.hero-vials { display: none; }
.vial { display: flex; flex-direction: column; align-items: center; animation: floatVial 6s ease-in-out infinite; }
.vial:nth-child(2) { animation-delay: -2s; }
.vial:nth-child(3) { animation-delay: -4s; }
@keyframes floatVial {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.vial-body {
  width: 56px; height: 180px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(200,200,200,0.6);
  border-radius: 4px 4px 8px 8px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding-bottom: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 6px 12px 28px rgba(0,0,0,0.1);
}
.vial-body.tall { height: 230px; width: 68px; }
.vial-body.small { height: 150px; width: 48px; }

/* ── Liquid fill ── */
.vial-liquid {
  position: absolute;
  bottom: 0;
  left: -15%;
  width: 130%;
  height: 42%;
  border-radius: 40% 60% 0 0 / 12% 12% 0 0;
  animation: liquidSlosh 3s ease-in-out infinite;
  z-index: 0;
}
.vial-liquid::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 10%;
  width: 80%;
  height: 10px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  filter: blur(2px);
}
.liq-blue  { background: linear-gradient(180deg, rgba(160,200,225,0.55) 0%, rgba(130,180,215,0.75) 100%); }
.liq-warm  { background: linear-gradient(180deg, rgba(200,215,175,0.5)  0%, rgba(175,200,150,0.7)  100%); }
.liq-clear { background: linear-gradient(180deg, rgba(185,210,220,0.45) 0%, rgba(160,195,210,0.65) 100%); }

@keyframes liquidSlosh {
  0%   { transform: translateX(0);    border-radius: 40% 60% 0 0 / 12% 12% 0 0; }
  25%  { transform: translateX(-8%);  border-radius: 55% 45% 0 0 / 16%  8% 0 0; }
  50%  { transform: translateX(6%);   border-radius: 42% 58% 0 0 / 8%  16% 0 0; }
  75%  { transform: translateX(-4%);  border-radius: 48% 52% 0 0 / 14% 10% 0 0; }
  100% { transform: translateX(0);    border-radius: 40% 60% 0 0 / 12% 12% 0 0; }
}
/* slosh counter-phase per vial so they don't all move in sync */
.vial:nth-child(2) .vial-liquid { animation-delay: -1s; }
.vial:nth-child(3) .vial-liquid { animation-delay: -2s; }

/* keep label above liquid */
.vial-label { position: relative; z-index: 1; }
.vial-cap {
  width: 100%; height: 32px;
  background: #c0bfbb;
  border-radius: 3px 3px 0 0;
  position: relative;
}
.vial-cap::after {
  content: '';
  display: block;
  width: 8px; height: 28px;
  background: #d0cfc9;
  border-radius: 4px;
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
}
.vial-label {
  font-family: 'Jost', sans-serif;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  line-height: 1.5;
  text-align: center;
  padding: 0 8px;
}
.vial-label strong { font-size: 9px; font-weight: 600; color: #333; display: block; margin-bottom: 2px; }
.vial-rock { width: 90px; height: 60px; background: #c8c6c0; border-radius: 50% 45% 55% 42%; margin-top: -20px; opacity: 0.6; }
.vial-rock.small { width: 60px; height: 36px; border-radius: 45% 55% 42% 50%; margin-top: -15px; }
.hero-dots { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; display: flex; justify-content: center; gap: 8px; }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid #888; display: inline-block; }
.hero-dot.active { background: #888; }

/* ============================================================
   SECTION UTILITIES
============================================================ */
.section { padding: 80px 0; }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0;
}
.section-heading p { font-size: 14px; color: var(--text-muted); }

/* ============================================================
   PRODUCT CARDS
============================================================ */
.products-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* ============================================================
   SHOP PRODUCT CARD — vgc-card
============================================================ */
.vgc-card {
  cursor: pointer;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
}
.vgc-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.vgc-card-link:hover { opacity: 1; }
.vgc-card-img {
  border-radius: 20px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: filter var(--transition);
}
.vgc-card:hover .vgc-card-img { filter: brightness(0.96); }
.vgc-card-img img {
  max-height: 80%;
  max-width: 68%;
  object-fit: contain;
  transition: transform var(--transition);
  position: relative;
  z-index: 1;
}
.vgc-card:hover .vgc-card-img img { transform: scale(1.04) translateY(-4px); }
.vgc-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  color: #fff;
  z-index: 2;
}
.vgc-badge.new  { background: var(--new-red); }
.vgc-badge.sale { background: var(--dark-green); }
.vgc-placeholder {
  width: 60px; height: 140px;
  background: rgba(255,255,255,0.5);
  border-radius: 6px;
}
.vgc-card-body {
  padding: 14px 4px 8px;
  flex: 1;
}
.vgc-card-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.vgc-card-name {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}
.vgc-card-price {
  text-align: right;
  flex-shrink: 0;
  line-height: 1.3;
}
.vgc-original-price {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
  letter-spacing: 0.02em;
}
.vgc-from {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.vgc-price-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}
.vgc-card-cat {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.vgc-card-btn {
  margin-top: 10px;
  background: var(--black);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 13px 0;
  border-radius: 40px;
  transition: background var(--transition);
}
.vgc-card:hover .vgc-card-btn { background: var(--dark-green); }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 32px; }
.carousel-btn {
  width: 36px; height: 36px;
  border: 1px solid #ccc;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition);
}
.carousel-btn:hover { border-color: var(--black); }

/* ============================================================
   SPLIT BANNER
============================================================ */
.split-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.split-banner.split-banner-single { grid-template-columns: 1fr; }
.banner-panel {
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.banner-panel.left { background: #f0eeea; }
.banner-panel.right { background: var(--dark-green); color: #fff; }
.banner-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.7;
  font-weight: 500;
}
.banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.1;
}
.banner-panel.right .banner-title { color: #fff; }
.banner-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; max-width: 280px; line-height: 1.6; }
.banner-panel.right .banner-desc { color: rgba(255,255,255,0.75); }
.banner-deco-vials {
  position: absolute;
  right: 30px; bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  opacity: 0.85;
}
.banner-deco-vial { display: flex; flex-direction: column; align-items: center; }
.bdv-needle { background: #c5c0ba; border-radius: 3px; }
.bdv-cap { background: #aaa59e; border-radius: 2px 2px 0 0; }
.bdv-body {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(180,180,180,0.4);
  border-radius: 0 0 4px 4px;
  display: flex; align-items: flex-end;
  padding-bottom: 10px; justify-content: center;
  box-shadow: 2px 6px 14px rgba(0,0,0,0.06);
}
.bdv-label { font-size: 6px; letter-spacing: .1em; text-transform: uppercase; color: #555; text-align: center; font-weight: 600; line-height: 1.5; }

/* ============================================================
   ICONS / BENEFITS ROW
============================================================ */
.icons-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 70px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.icon-item { text-align: center; }
.icon-item svg {
  width: 36px; height: 36px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.2;
  margin: 0 auto 14px;
  display: block;
}
.icon-item h4 { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 6px; font-family: 'Jost', sans-serif; }
.icon-item p { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   PRESS / AS SEEN IN
============================================================ */
.press-section { background: var(--off-white); padding: 60px 32px; text-align: center; }
.press-section h2 {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
}
.press-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
  gap: 24px;
}
.press-quote-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; max-width: 240px; margin: 0 auto; }

/* ============================================================
   FAVORITES / EDITORIAL GRID
============================================================ */
.favorites-section { padding: 80px 32px; max-width: var(--max-width); margin: 0 auto; }
.favorites-inner {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 20px;
  align-items: start;
}
.favorites-editorial {
  background:
    radial-gradient(ellipse 80% 70% at 25% 20%, rgba(45,90,71,0.22) 0%, transparent 60%),
    linear-gradient(160deg, #6f8d7e 0%, #5c7d6e 45%, #486357 100%);
  position: relative;
  overflow: hidden;
  height: 700px;
  display: flex;
  align-items: flex-end;
}
.favorites-editorial img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.favorites-deco-text {
  font-family: 'Jost', sans-serif;
  font-size: 80px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.08);
  position: absolute;
  transform: rotate(-30deg);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotate(-30deg);
  white-space: nowrap;
  z-index: 1;
}
/* Floating product vials canvas for the Build Your Stack panel */
#stack-vials {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.favorites-overlay {
  position: absolute; bottom: 40px; left: 40px; z-index: 2;
}
.favorites-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.favorites-overlay p { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 18px; }
.favorites-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* ============================================================
   MORE TO DISCOVER
============================================================ */
.discover-section { padding: 80px 0; }
.discover-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.discover-heading { text-align: center; margin-bottom: 40px; }
.discover-heading h2 { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 500; margin-bottom: 10px; }
.discover-heading p { font-size: 14px; color: var(--text-muted); max-width: 500px; margin: 0 auto; }
.discover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.discover-grid.discover-grid-single { grid-template-columns: 1fr; }
.discover-card { display: block; color: inherit; }
.discover-card:hover { opacity: 1; }
.discover-card-bg {
  height: 320px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.discover-card-bg.one { background: linear-gradient(135deg, #d4dcd8 0%, #b8c8c0 100%); }
.discover-card-bg.two { background: linear-gradient(135deg, #ddd8d0 0%, #c4bdb4 100%); }
.discover-card-bg img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.discover-deco { font-family: 'Jost', sans-serif; font-size: 60px; font-weight: 600; letter-spacing: 0.2em; color: rgba(255,255,255,0.12); text-transform: uppercase; position: relative; z-index: 1; }
.discover-card-label { padding: 22px 0 0; }
.discover-card-label h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.discover-card-label span { font-size: 13px; color: var(--black); font-weight: 500; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 6px; }
.discover-card:hover .discover-card-label span { color: var(--dark-green); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: var(--off-white); padding: 70px 32px 0; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.6fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; color: var(--black); font-family: 'Jost', sans-serif; }
.footer-col p,
.footer-col a { font-size: 13px; color: var(--text-muted); line-height: 1.8; display: block; transition: color var(--transition); }
.footer-col a:hover { color: var(--black); opacity: 1; }
/* Footer brand column */
.footer-brand-col { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-logo { font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 800; letter-spacing: 0.18em; color: var(--black); text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.footer-brand-logo span { font-size: 9px; font-weight: 500; letter-spacing: 0.22em; color: var(--text-muted); margin-top: 2px; }
.footer-email { font-size: 12px; color: var(--dark-green); text-decoration: none; margin-top: 4px; }
.footer-email:hover { text-decoration: underline; color: var(--dark-green); opacity: 1; }

.footer-col strong { color: var(--black); font-weight: 600; }
.newsletter-label { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 500; margin-bottom: 10px; color: var(--black); line-height: 1.2; }
.newsletter-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.email-form { display: flex; }
.email-input {
  flex: 1; padding: 12px 16px;
  font-size: 13px; font-family: 'Jost', sans-serif;
  border: 1px solid var(--border); background: var(--white);
  outline: none; transition: border-color var(--transition);
}
.email-input:focus { border-color: var(--black); }
.email-btn {
  padding: 12px 22px;
  background: var(--black); color: #fff;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  font-family: 'Jost', sans-serif; font-weight: 500;
  border: none; cursor: pointer; transition: background var(--transition);
  white-space: nowrap;
}
.email-btn:hover { background: var(--dark-green); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-logo { font-family: 'Jost', sans-serif; font-size: 20px; font-weight: 600; letter-spacing: 0.2em; color: var(--black); }
.footer-right-group { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.social-links { display: flex; gap: 14px; align-items: center; }
.social-links a { display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: color var(--transition); }
.social-links a:hover { color: var(--black); opacity: 1; }
.social-links svg { display: block; }
.footer-fda-disclaimer {
  border-top: 1px solid var(--border);
  padding: 20px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-fda-disclaimer p {
  font-size: 10px;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.footer-fda-disclaimer p:last-child { margin-bottom: 0; }
.footer-fda-disclaimer strong { color: #555; font-weight: 700; }
.payment-icons { display: flex; gap: 8px; align-items: center; }
.pay-icon { display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; overflow: hidden; }
.pay-icon svg { display: block; }
.pay-visa, .pay-mc, .pay-amex { border: none; }
.pay-paypal { border: 1px solid var(--border); border-radius: 4px; }

/* ============================================================
   WOOCOMMERCE RESETS
============================================================ */
.woocommerce-loop-product__link { display: block; color: inherit; }
.woocommerce-loop-product__link:hover { opacity: 1; }
.price del { color: var(--mid-gray); margin-right: 6px; }
.price ins { text-decoration: none; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .products-track { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 42px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { display: block !important; width: 100%; padding: 40px 24px 32px; text-align: center; }
  .hero-text { max-width: 100% !important; width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center !important; }
  .hero-sub { max-width: 100%; }
  .hero-cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; }
  .hero-image { display: flex !important; justify-content: center; margin-top: 32px; }
  .hero-vials { justify-content: center; height: auto; padding-bottom: 0; gap: 16px; }
  .vial { transform: scale(0.72); transform-origin: bottom center; }
  .vial:nth-child(1) { margin-bottom: -30px; }
  .vial:nth-child(2) { margin-bottom: -20px; }
  .vial-rock, .vial-rock.small { display: none; }
  .split-banner { grid-template-columns: 1fr; padding: 0 20px; }
  .icons-row { grid-template-columns: repeat(2, 1fr); padding: 50px 20px; }
  .favorites-inner { grid-template-columns: 1fr; }
  .favorites-editorial { height: 400px; }
  .favorites-products { grid-template-columns: repeat(2, 1fr); }
  .discover-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding: 0 0 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .section-inner { padding: 0 20px; }
  .split-banner { padding: 0; }
  .site-footer { padding: 50px 20px 0; }
  .press-logos { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .products-track { grid-template-columns: 1fr; }
  .favorites-products { grid-template-columns: 1fr; }
  .hero-title { font-size: 34px; }
}

/* ============================================================
   FADE-UP ANIMATION (triggered by JS IntersectionObserver)
============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance — staggered cascade, tightened for a snappier load-in */
.hero-text .hero-eyebrow.fade-up { transition-delay: 0.03s; }
.hero-text .hero-title.fade-up   { transition-delay: 0.10s; }
.hero-text .hero-sub.fade-up     { transition-delay: 0.17s; }
.hero-text .hero-cta.fade-up     { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   FEATURED PRODUCTS — mobile scroll
============================================================ */
@media (max-width: 900px) {
  .products-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .products-track::-webkit-scrollbar { display: none; }
  .product-card { min-width: 260px; scroll-snap-align: start; flex-shrink: 0; }
}

/* ============================================================
   AGE GATE
============================================================ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: ageGateFade 0.3s ease;
}
@keyframes ageGateFade { from { opacity: 0; } to { opacity: 1; } }

.age-gate-inner {
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.age-gate-logo { margin-bottom: 28px; }
.age-gate-logo img { max-height: 40px; margin: 0 auto; }
.age-gate-brand {
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--black);
  text-transform: uppercase;
  display: block;
}
.age-gate-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-green);
  margin-bottom: 12px;
  font-weight: 500;
}
.age-gate-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.15;
}
.age-gate-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto 24px;
}
.age-gate-enter {
  background: var(--black);
  color: #fff;
  border: 1px solid var(--black);
  padding: 15px 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  width: 100%;
}
.age-gate-enter:hover { background: var(--dark-green); border-color: var(--dark-green); }
.age-gate-exit {
  display: block;
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: transparent;
  transition: color var(--transition), border-color var(--transition);
  text-align: center;
}
.age-gate-exit:hover { color: var(--black); border-color: var(--black); opacity: 1; }
.age-gate-disclaimer {
  font-size: 11px;
  color: var(--mid-gray);
  line-height: 1.6;
}
.age-gate-disclaimer a { text-decoration: underline; color: var(--mid-gray); }
.age-gate-disclaimer a:hover { color: var(--black); opacity: 1; }

/* Divider line above the gate heading */
.age-gate-inner::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 28px;
}

/* ============================================================
   FOOTER LOGO — matches header wordmark
============================================================ */
.footer-logo {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--black);
  text-transform: uppercase;
}

/* ============================================================
   DOSAGE SELECTOR — replaces WooCommerce variation dropdowns
============================================================ */
.vg-dosage-select-wrap select { display: none; } /* hidden by JS after conversion */

.vg-dosage-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.vg-dosage-btn {
  padding: 10px 20px;
  font-size: 13px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  border-radius: 30px;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  color: var(--black);
}
.vg-dosage-btn:hover {
  border-color: var(--black);
}
.vg-dosage-btn.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.vg-dosage-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* WooCommerce variation label row */
.woocommerce-variation-add-to-cart .variations th,
.variations th.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  padding-right: 20px;
  white-space: nowrap;
  vertical-align: middle;
}
.variations td { padding-bottom: 16px; }

/* ============================================================
   BUNDLE SELECTOR (product page)
============================================================ */
/* Hide the WooCommerce default qty input when bundle options are present */
.vg-bundle-wrap ~ .quantity { display: none !important; }

.vg-bundle-wrap {
  margin: 20px 0;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.vg-bundle-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 12px;
  font-family: 'Jost', sans-serif;
}
.vg-bundle-options {
  display: flex;
  gap: 10px;
}
.vg-bundle-opt {
  flex: 1;
  border: 1.5px solid var(--border);
  background: var(--white);
  padding: 16px 8px 14px;
  cursor: pointer;
  position: relative;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  min-height: 110px;
  justify-content: center;
}
.vg-bundle-opt:hover { border-color: #999; }
.vg-bundle-opt.active {
  border-color: var(--dark-green);
  background: #f4f7f4;
  box-shadow: 0 0 0 1px var(--dark-green);
}
.vg-bundle-qty-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  line-height: 1;
}
.vg-bundle-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: 'Jost', sans-serif;
}
.vg-bundle-badge.popular { background: var(--dark-green); color: #fff; }
.vg-bundle-badge.value   { background: #c8920a; color: #fff; }

/* CSS mini-vials for bundle options */
.vg-bundle-vials {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  justify-content: center;
  height: 36px;
}
.vg-mini-vial {
  width: 10px;
  background: linear-gradient(180deg, #c8c4be 0%, rgba(255,255,255,0.9) 20%, rgba(240,240,238,0.85) 100%);
  border: 1px solid rgba(180,175,168,0.6);
  border-radius: 0 0 2px 2px;
  position: relative;
  height: 28px;
}
.vg-mini-vial::before {
  content: '';
  display: block;
  width: 10px;
  height: 6px;
  background: #b8b4ae;
  border-radius: 1px 1px 0 0;
  position: absolute;
  top: -6px;
  left: -1px;
}
.vg-bundle-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  font-family: 'Jost', sans-serif;
}
.vg-bundle-disc {
  font-size: 11px;
  font-weight: 600;
  color: var(--dark-green);
  letter-spacing: 0.04em;
  font-family: 'Jost', sans-serif;
}
.vg-bundle-disc--muted {
  color: var(--text-muted);
  font-weight: 400;
}

/* ============================================================
   TRUST BADGES (after add-to-cart button)
============================================================ */
.vg-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
}

/* ============================================================
   CART SHIPPING PROGRESS BAR
============================================================ */
.vg-shipping-bar {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 4px;
}
.vg-shipping-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: 'Jost', sans-serif;
  color: var(--black);
  margin-bottom: 10px;
}
.vg-shipping-msg svg { flex-shrink: 0; color: var(--text-muted); }
.vg-shipping-msg.unlocked svg,
.vg-shipping-msg.unlocked { color: var(--dark-green); }
.vg-shipping-msg strong { font-weight: 600; }

.vg-shipping-track {
  width: 100%;
  height: 5px;
  background: var(--light-gray);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.vg-shipping-fill {
  height: 100%;
  background: var(--dark-green);
  border-radius: 3px;
  transition: width 0.5s ease;
  min-width: 4px;
}
.vg-shipping-milestones {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--mid-gray);
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.03em;
}

/* ============================================================
   RESPONSIVE — product page bundle selector
============================================================ */
@media (max-width: 480px) {
  .vg-bundle-options { gap: 6px; flex-direction: row; flex-wrap: nowrap; }
  .vg-bundle-opt { padding: 12px 6px 10px; }
  .vg-bundle-label { font-size: 9px; }
  .age-gate-title { font-size: 30px; }
}

/* ============================================================
   BUNDLE BUILDER PAGE
============================================================ */
.vg-builder-hero {
  background: var(--off-white);
  padding: 60px 32px 50px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.vg-builder-hero-inner { max-width: 600px; margin: 0 auto; }
.vg-builder-hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
}

.vg-builder-section { padding: 60px 0 80px; }
.vg-builder-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-rows: auto 1fr;
  gap: 0 40px;
}

/* Step indicators */
.vg-builder-steps {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.vg-builder-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.vg-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Jost', sans-serif;
  color: var(--mid-gray);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.vg-builder-step.active .vg-step-num {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.vg-step-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid-gray);
  font-family: 'Jost', sans-serif;
  transition: color var(--transition);
}
.vg-builder-step.active .vg-step-label { color: var(--black); }
.vg-builder-connector {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 12px;
}

/* Product grid */
.vg-builder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-content: start;
}
.vg-builder-card {
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  position: relative;
}
.vg-builder-card:hover { border-color: #aaa; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.vg-builder-card.selected {
  border-color: var(--dark-green);
  box-shadow: 0 0 0 1px var(--dark-green);
}
.vg-builder-card-img {
  background: var(--off-white);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.vg-builder-card-img img { width: 100%; height: 100%; object-fit: cover; }
.vg-builder-check {
  position: absolute;
  top: 8px; right: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--dark-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s, transform 0.2s;
}
.vg-builder-card.selected .vg-builder-check { opacity: 1; transform: scale(1); }
.vg-builder-card-body { padding: 12px; }
.vg-builder-card-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 4px;
  font-family: 'Jost', sans-serif;
}
.vg-builder-card-price { font-size: 13px; color: var(--text-muted); font-family: 'Jost', sans-serif; }

/* Vial size picker inside each builder card */
.vg-builder-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  border-radius: 6px;
  transition: box-shadow var(--transition);
}
.vg-size-btn {
  padding: 5px 11px;
  font-size: 11px;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  border-radius: 20px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.vg-size-btn:hover { border-color: var(--black); }
.vg-size-btn.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
/* Brief prompt when a card needs a size chosen before it can be added */
.vg-builder-card.vg-needs-size .vg-builder-sizes::after {
  content: 'Choose a size first';
  flex-basis: 100%;
  font-size: 10.5px;
  color: var(--dark-green);
  letter-spacing: 0.04em;
}
/* Chosen size shown in the sidebar slot */
.vg-slot-size {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
}

/* Bundle sidebar */
.vg-builder-summary {
  position: sticky;
  top: 88px;
  height: fit-content;
  border: 1.5px solid var(--border);
  padding: 28px;
  background: var(--white);
  border-radius: 4px;
}
.vg-summary-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 4px;
}
.vg-summary-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-family: 'Jost', sans-serif;
}

.vg-summary-slots { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.vg-summary-slot {
  padding: 12px 14px;
  border: 1px dashed var(--border);
  border-radius: 3px;
  font-size: 12px;
  font-family: 'Jost', sans-serif;
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: border-color var(--transition);
}
.vg-summary-slot.empty { color: var(--mid-gray); }
.vg-summary-slot.filled {
  border-style: solid;
  border-color: var(--dark-green);
  justify-content: space-between;
  color: var(--black);
  font-weight: 500;
}
.vg-slot-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mid-gray);
  font-size: 16px;
  line-height: 1;
  padding: 0 4px;
  transition: color var(--transition);
}
.vg-slot-remove:hover { color: var(--black); }

.vg-summary-discount {
  font-size: 13px;
  color: var(--dark-green);
  font-weight: 600;
  font-family: 'Jost', sans-serif;
  min-height: 20px;
  margin-bottom: 14px;
}

.vg-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Jost', sans-serif;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}
#vg-summary-total-price { font-size: 20px; }
.vg-total-original {
  text-decoration: line-through;
  opacity: 0.5;
  font-weight: 500;
  font-size: 15px;
  margin-right: 4px;
}
.vg-total-discounted { color: var(--dark-green, #2d5a47); }

.vg-bundle-add-cart {
  width: 100%;
  padding: 16px;
  font-size: 13px;
  display: block;
  text-align: center;
}
.vg-bundle-add-cart:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.vg-bundle-add-cart:disabled:hover { background: var(--black); border-color: var(--black); }

.vg-summary-perks {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  font-family: 'Jost', sans-serif;
}

@media (max-width: 1024px) {
  .vg-builder-inner { grid-template-columns: 1fr; }
  .vg-builder-summary { position: static; margin-top: 32px; }
}
@media (max-width: 600px) {
  .vg-builder-grid { grid-template-columns: repeat(2, 1fr); }

  /* Fit all 3 steps on screen: shrink numbers, labels, and connectors */
  .vg-builder-inner { padding: 0 16px; }
  .vg-builder-steps {
    max-width: 100%;
    margin-bottom: 32px;
    justify-content: center;
  }
  .vg-builder-step { gap: 6px; }
  .vg-step-num {
    width: 22px; height: 22px;
    font-size: 11px;
  }
  .vg-step-label {
    font-size: 9.5px;
    letter-spacing: 0.02em;
  }
  .vg-builder-connector { margin: 0 6px; }
}
@media (max-width: 380px) {
  .vg-step-label { font-size: 8.5px; }
  .vg-builder-connector { margin: 0 3px; min-width: 0; }
  .vg-builder-step { gap: 4px; min-width: 0; }
  .vg-step-num { width: 20px; height: 20px; font-size: 10px; }
}

/* ============================================================
   AGE GATE BRAND SUB-LINE
============================================================ */
.age-gate-brand-sub {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--mid-gray);
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
}

/* ============================================================
   MOBILE VIEWPORT FIX — prevent zoom/overflow issues
============================================================ */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ============================================================
   GLOBAL MOBILE NAV FIXES
============================================================ */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    height: 60px;
  }
  .site-logo a { font-size: 16px; letter-spacing: 0.14em; }
  .header-actions { gap: 14px; }
  .header-actions svg { width: 16px; height: 16px; }
  .cart-count { width: 14px; height: 14px; font-size: 9px; }
  
  /* Ensure mobile nav links are real hrefs */
  .mobile-nav a { color: var(--black); }
  .mobile-nav ul { display: flex; flex-direction: column; gap: 0; }
  .mobile-nav ul li a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: block;
    color: var(--black);
  }
}

/* ============================================================
   FIX: WooCommerce pages missing wrapper
============================================================ */
.woocommerce { width: 100%; }
.woocommerce-page .entry-content,
.woocommerce .entry-content { padding: 0; }


/* ============================================================
   PRODUCT PAGE — SKU / CATEGORY / META FIXES
   Make meta stacks neatly, not inline-scattered
============================================================ */
.product_meta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product_meta > span {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
}
.product_meta .sku_wrapper,
.product_meta .posted_in,
.product_meta .tagged_as {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.product_meta .sku_wrapper .label,
.product_meta .posted_in .label,
.product_meta .tagged_as .label {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  min-width: 70px;
}
.product_meta a {
  color: var(--dark-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.product_meta a:hover { color: var(--black); opacity: 1; }

/* WooCommerce product summary layout */
.woocommerce div.product div.summary {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 22px;
  font-weight: 500;
  color: var(--black);
  font-family: 'Jost', sans-serif;
  margin-bottom: 16px;
  display: block;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: var(--mid-gray);
  font-size: 16px;
  margin-right: 8px;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none;
  font-weight: 600;
}

/* Dosage label row */
.variations th.label,
.woocommerce-variation-add-to-cart th.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  color: var(--black);
  padding-right: 16px;
  padding-bottom: 12px;
  vertical-align: top;
  padding-top: 4px;
}
.variations { width: 100%; border-collapse: collapse; }
.variations td { padding-bottom: 12px; }

/* Add to cart qty + button row */
.woocommerce form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.woocommerce form.cart .qty {
  width: 64px;
  border: 1px solid var(--border);
  padding: 13px 10px;
  font-size: 15px;
  font-family: 'Jost', sans-serif;
  text-align: center;
  -moz-appearance: textfield;
  border-radius: 0;
}
.woocommerce form.cart .qty::-webkit-inner-spin-button,
.woocommerce form.cart .qty::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Add to cart button */
.woocommerce form.cart .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--black) !important;
  color: #fff !important;
  border: 1px solid var(--black) !important;
  padding: 14px 32px !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 500 !important;
  border-radius: 0 !important;
  transition: background var(--transition), border-color var(--transition) !important;
  cursor: pointer !important;
}
.woocommerce form.cart .single_add_to_cart_button:hover,
.woocommerce button.button:hover {
  background: var(--dark-green) !important;
  border-color: var(--dark-green) !important;
}

/* Related products heading */
.related.products > h2,
.up-sells > h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 24px;
  margin-top: 60px;
}
.related.products .products,
.up-sells .products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.related.products .products li,
.up-sells .products li {
  margin: 0 !important;
}
@media (max-width: 1100px) {
  .related.products .products,
  .up-sells .products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 900px) {
  .related.products .products,
  .up-sells .products { grid-template-columns: repeat(2, 1fr) !important; }
}
/* Fix WC product image appearing bottom-right */
.woocommerce-loop-product__link img,
.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  position: static !important;
  float: none !important;
}
.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  clear: both !important;
}
/* Note: responsive breakpoints for this rule are defined in the shop section below */
/* Fix product thumbnail positioning on single product page */
.woocommerce div.product div.images {
  float: none !important;
  width: 100% !important;
  position: static !important;
}
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 40px 0;
}
.woocommerce div.product div.images {
  grid-column: 1;
}
.woocommerce div.product div.summary {
  grid-column: 2;
}
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
}
.woocommerce div.product .related.products,
.woocommerce div.product .up-sells {
  grid-column: 1 / -1;
}

/* ============================================================
   404 PAGE
============================================================ */
.vg-404-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
  text-align: center;
}
.vg-404-inner { max-width: 520px; }
.vg-404-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
}
.vg-404-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.1;
}
.vg-404-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.vg-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.vg-404-links {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.vg-404-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vg-404-links a:hover { color: var(--black); opacity: 1; }

/* ============================================================
   PAGE / SINGLE / ARCHIVE TEMPLATES
============================================================ */
.vg-page-hero {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 60px 32px 50px;
  text-align: center;
}
.vg-page-hero-inner { max-width: 700px; margin: 0 auto; }
.vg-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--black);
}
.vg-page-content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 32px 80px;
}
.vg-page-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--black);
}
.vg-page-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  margin: 40px 0 16px;
}
.vg-page-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 10px;
}
.vg-page-content p { margin-bottom: 20px; }
.vg-page-content a { color: var(--dark-green); text-decoration: underline; }
.vg-page-content ul, .vg-page-content ol { padding-left: 20px; margin-bottom: 20px; }
.vg-page-content li { margin-bottom: 8px; }

/* Archive grid */
.vg-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.vg-archive-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.vg-archive-card a:hover { opacity: 1; }
.vg-archive-img img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 16px; }
.vg-archive-date {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.vg-archive-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.2;
}
.vg-archive-excerpt { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
.vg-archive-cta { font-size: 13px; font-weight: 500; color: var(--dark-green); }

/* ============================================================
   FOOTER — fix bottom row layout & centering
============================================================ */
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.footer-bottom > p { font-size: 12px; color: var(--text-muted); }
.footer-logo {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--black);
  text-transform: uppercase;
  text-align: center;
  justify-self: center;
}
.footer-bottom .payment-icons { justify-self: end; }

/* ============================================================
   MOBILE — COMPLETE OVERHAUL
   - Logo centered in header
   - 4 icons right side
   - Hero text centered
   - Products 2-col small cards
   - Footer VANGUARD centered
============================================================ */
@media (max-width: 768px) {

  /* ── Header ── */
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "hamburger logo actions";
    padding: 0 16px;
    height: 60px;
  }
  .header-nav { display: none; }
  .hamburger {
    display: flex;
    grid-area: hamburger;
  }
  .site-logo {
    grid-area: logo;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-logo a {
    font-size: 15px;
    letter-spacing: 0.16em;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
  }
  .header-actions {
    grid-area: actions;
    gap: 12px;
  }
  .header-actions svg { width: 18px; height: 18px; }

  /* ── Hero — center everything ── */
  .hero-section {
    height: auto;
    padding: 48px 0 0;
    justify-content: center;
  }
  .hero-inner {
    grid-template-columns: 1fr !important;
    padding: 0 24px 32px !important;
    gap: 24px;
    text-align: center !important;
    justify-items: center;
    margin: 0 auto;
    width: 100%;
  }
  .hero-text {
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-eyebrow { text-align: center !important; width: 100%; display: block; }
  .hero-title   { text-align: center !important; width: 100% !important; }
  .hero-sub     { max-width: 100% !important; text-align: center !important; width: 100%; margin-left: auto; margin-right: auto; }
  .hero-cta {
    justify-content: center !important;
    display: flex !important;
    width: 100%;
    gap: 12px;
    align-items: center;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline {
    flex: 0 1 auto;
    text-align: center;
    padding: 13px 22px;
    font-size: 11px;
  }
  .hero-image { display: flex !important; justify-content: center; margin-top: 28px; }
  .hero-title { font-size: 34px; }

  /* ── Featured products — 2 col compact ── */
  .products-track {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    overflow-x: unset !important;
    scroll-snap-type: unset !important;
  }
  .product-card {
    min-width: unset !important;
    flex-shrink: unset !important;
  }
  .product-card-image { aspect-ratio: 1 !important; }
  .product-card-body { padding: 10px 2px 4px; text-align: center; }
  .product-card-price { font-size: 12px !important; }
  .product-card-name { font-size: 11px !important; }
  .carousel-controls { display: none !important; }

  /* ── Section headings ── */
  .section-heading h2 { font-size: 28px; }
  .section { padding: 48px 0; }
  .section-inner { padding: 0 16px; }

  /* ── Split banner ── */
  .split-banner {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .banner-panel { padding: 40px 24px; min-height: 260px; }
  .banner-title { font-size: 26px; }
  .banner-deco-vials { display: none; }

  /* ── Icons row ── */
  .icons-row {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 16px;
    gap: 24px;
  }

  /* ── Press section ── */
  .press-logos { grid-template-columns: 1fr; }

  /* ── Favorites ── */
  .favorites-section { padding: 40px 16px; }
  .favorites-inner { grid-template-columns: 1fr; }
  .favorites-editorial { height: 300px; }
  .favorites-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* ── Discover ── */
  .discover-grid { grid-template-columns: 1fr; }
  .discover-inner { padding: 0 16px; }
  .discover-card-bg { height: 220px; }

  /* ── Footer ── */
  .site-footer { padding: 40px 20px 0; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
    text-align: center;
  }
  .footer-col { text-align: center; }
  .email-form { flex-direction: column; gap: 8px; }
  .email-btn { width: 100%; }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 24px 0;
  }
  .footer-logo {
    order: -1;
    font-size: 20px;
    text-align: center;
    width: 100%;
  }
  .social-links { justify-content: center; }
  .payment-icons { justify-content: center; }

  /* ── WooCommerce product page ── */
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 16px;
  }
  .woocommerce div.product div.images { grid-column: 1; }
  .woocommerce div.product div.summary { grid-column: 1; }
  .woocommerce div.product .woocommerce-tabs { grid-column: 1; }
  .woocommerce div.product .related.products { grid-column: 1; }
  .related.products .products,
  .up-sells .products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .vg-bundle-options { flex-direction: row; gap: 8px; flex-wrap: nowrap; }
  .vg-bundle-opt { padding: 14px 12px; flex: 1; min-width: 0; }

  /* ── Page templates ── */
  .vg-page-hero { padding: 40px 20px 32px; }
  .vg-page-title { font-size: 32px; }
  .vg-page-content-wrap { padding: 32px 20px 60px; }
  .vg-archive-grid { grid-template-columns: 1fr; }

  /* ── 404 ── */
  .vg-404-wrap { padding: 60px 20px; }
  .vg-404-title { font-size: 36px; }

  /* ── Cart ── */
  .woocommerce-cart .woocommerce,
  .woocommerce-cart .woocommerce-page { padding: 24px 16px 60px; }
  .woocommerce-cart table.cart td,
  .woocommerce-cart table.cart th { padding: 10px 8px; font-size: 13px; }
  .woocommerce-cart table.cart img { width: 56px !important; height: 56px !important; }
  .woocommerce .cart_totals { width: 100%; }
  .woocommerce .cart_totals table { font-size: 13px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .vg-bundle-options { gap: 6px; flex-direction: row; flex-wrap: nowrap; }
  .vg-bundle-opt { padding: 10px 4px; }
  .vg-bundle-label { font-size: 8px; }
  .products-track {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* ============================================================
   WOOCOMMERCE SHOP PAGE — fix product grid & image positioning
============================================================ */
.woocommerce-page .woocommerce {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 32px 80px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  position: static !important;
  float: none !important;
  margin: 0 !important;
  border: none !important;
  object-fit: contain;
  background: var(--off-white);
}
.woocommerce ul.products li.product .woocommerce-loop-product__link .wp-post-image {
  position: static !important;
  float: none !important;
  width: 100% !important;
}

/* Fix WC default float-based layout */
.woocommerce ul.products::after,
.woocommerce ul.products::before { display: none !important; }
.woocommerce ul.products li.product::after,
.woocommerce ul.products li.product::before { display: none !important; }

/* Shop page product name + price */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  padding: 12px 4px 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.woocommerce ul.products li.product .price {
  font-size: 13px;
  color: var(--black);
  font-weight: 500;
  padding: 0 4px;
}

/* ============================================================
   SITE LOGO — two-line wordmark
============================================================ */
.site-logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
  text-decoration: none;
}
.site-logo-name {
  font-family: 'Jost', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--black);
  text-transform: uppercase;
  display: block;
  line-height: 1.1;
}
.site-logo-sub {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--mid-gray);
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
}
.site-logo img { max-height: 44px; width: auto; margin: 0 auto; }


/* ============================================================
   COA LIGHTBOX
============================================================ */
#vg-coa-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#vg-coa-lightbox.open { display: flex; }
.vg-coa-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
  cursor: pointer;
}
.vg-coa-lb-inner {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 6px;
  max-width: 520px;
  width: calc(100% - 40px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.vg-coa-lb-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 4px;
  z-index: 3;
}
.vg-coa-lb-close:hover { color: #000; }
.vg-coa-lb-img-link { display: block; cursor: pointer; }
.vg-coa-lb-img {
  display: block;
  max-width: 100%;
  border-radius: 4px;
  border: 1px solid #eee;
  transition: opacity 0.15s;
}
.vg-coa-lb-img:hover { opacity: 0.9; }
.vg-coa-lb-caption {
  font-size: 11px;
  color: #888;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.06em;
  text-align: center;
}
.vg-coa-lb-loading,
.vg-coa-lb-error {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: #888;
  padding: 40px 20px;
  text-align: center;
}
.vg-coa-lb-error { color: #a00; }

/* ============================================================
   HERO MOBILE — FINAL OVERRIDE (must stay at bottom of file)
   Collapses the 2-col grid completely on mobile.
============================================================ */
@media (max-width: 768px) {
  .hero-inner {
    display: block !important;
    width: 100%;
    padding: 40px 24px 32px;
    text-align: center;
  }
  .hero-text {
    max-width: 100% !important;
    width: 100%;
    margin: 0 auto;
    text-align: center !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-text h1,
  .hero-text p,
  .hero-eyebrow {
    text-align: center !important;
  }
  .hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-image,
  .hero-media {
    display: none !important;
  }
}

/* ============================================================
   HERO MOBILE — FINAL NUCLEAR OVERRIDE (higher specificity)
============================================================ */
@media screen and (max-width: 768px) {
  .hero-section .hero-inner {
    display: block !important;
    grid-template-columns: 1fr !important;
    padding: 40px 24px 32px !important;
    text-align: center !important;
    width: 100% !important;
  }
  .hero-section .hero-text {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    justify-self: center !important;
    align-self: center !important;
    padding-left: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-section .hero-title,
  .hero-section .hero-sub,
  .hero-section .hero-eyebrow {
    text-align: center !important;
  }
  .hero-section .hero-cta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
  }
  .hero-section .hero-image {
    display: none !important;
  }
}

/* ============================================================
   SINGLE PRODUCT PAGE — dosage selector alignment on mobile
   Fixes misaligned dosage buttons and stacked layout on phones
============================================================ */
@media (max-width: 768px) {
  .woocommerce div.product form.cart .variations {
    width: 100%;
    display: block;
  }
  .woocommerce div.product form.cart .variations th.label {
    display: block;
    width: 100%;
    padding-right: 0;
    padding-bottom: 8px;
    text-align: left;
  }
  .woocommerce div.product form.cart .variations td {
    display: block;
    width: 100%;
    padding-bottom: 12px;
  }
  .vg-dosage-group {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }
  .vg-dosage-btn {
    flex: 0 0 auto;
  }
  .woocommerce form.cart {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  .woocommerce form.cart .single_add_to_cart_button {
    flex: 1 1 auto;
    min-width: 140px;
  }
  }

/* ============================================================
   DEFINITIVE MOBILE FIXES — v7 FINAL
   Single authoritative block. Overrides all previous conflicts.
============================================================ */
@media screen and (max-width: 768px) {

  /* ── HOMEPAGE HERO — force center alignment ── */
  .hero-section {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hero-section .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px 24px 36px !important;
    margin: 0 auto !important;
    gap: 0 !important;
  }
  .hero-section .hero-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }
  .hero-section .hero-eyebrow,
  .hero-section .hero-title,
  .hero-section .hero-sub {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-section .hero-cta {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }
  .hero-section .hero-image,
  .hero-section .hero-media {
    display: none !important;
  }
  .hero-dots {
    position: static !important;
    display: flex;
    justify-content: center;
    margin-top: 16px !important;
    margin-bottom: 8px !important;
  }

  /* ── PRODUCT PAGE: Dosage gap fix ── */
  /* Kill the giant empty space WooCommerce puts after variation rows */
  .woocommerce div.product .variations_form .variations {
    margin-bottom: 0 !important;
  }
  .woocommerce div.product .variations_form .variations tr,
  .woocommerce div.product .variations_form .variations td,
  .woocommerce div.product .variations_form .variations th {
    display: block !important;
    width: 100% !important;
    padding-bottom: 4px !important;
    padding-right: 0 !important;
  }
  .vg-dosage-select-wrap {
    margin-bottom: 0 !important;
  }
  .vg-dosage-group {
    margin-bottom: 4px !important;
    margin-top: 6px !important;
  }
  /* Remove WC's extra spacing between variation form and add-to-cart */
  .woocommerce-variation-add-to-cart {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .woocommerce div.product form.cart {
    margin-top: 0 !important;
  }

  /* ── PRODUCT PAGE: Add to cart full width — matches bundle width ── */
  .woocommerce form.cart {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    align-items: stretch !important;
  }
  .woocommerce form.cart .qty {
    flex: 0 0 56px !important;
    width: 56px !important;
  }
  .woocommerce form.cart .single_add_to_cart_button {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    text-align: center !important;
    padding: 14px 16px !important;
  }
}

/* ============================================================
   SHOP / RELATED PRODUCTS — card consistency fixes  v7.1
============================================================ */

/* 1. Kill the WooCommerce default floating "Sale!" circle — we have our own badges */
.woocommerce span.onsale {
  display: none !important;
}

/* 2. Make each li.product a flex column so the button row always sticks to the bottom */
.woocommerce ul.products li.product,
.related.products .products li.product,
.up-sells .products li.product {
  display: flex !important;
  flex-direction: column !important;
}
/* Push the action row to the bottom so all cards align */
.woocommerce ul.products li.product .vg-loop-actions,
.related.products .products li.product .vg-loop-actions,
.up-sells .products li.product .vg-loop-actions {
  margin-top: auto;
  padding-top: 10px;
}

/* 3. Button row — View COA + Add to Cart / Select Options side by side */
.vg-loop-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}
.vg-loop-coa.product-card-coa-btn {
  flex: 0 0 auto;
  margin-top: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* 4. Style the WC loop buttons (Add to Cart + Select Options) to match */
.vg-loop-actions .button,
.vg-loop-actions a.button,
.woocommerce ul.products li.product .vg-loop-actions .add_to_cart_button,
.woocommerce ul.products li.product .vg-loop-actions .product_type_variable,
.woocommerce ul.products li.product .vg-loop-actions .product_type_simple {
  flex: 1 1 auto !important;
  background: var(--black) !important;
  color: #fff !important;
  border: 1px solid var(--black) !important;
  padding: 8px 14px !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background var(--transition), border-color var(--transition) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}
.vg-loop-actions .button:hover,
.vg-loop-actions a.button:hover {
  background: var(--dark-green) !important;
  border-color: var(--dark-green) !important;
  color: #fff !important;
}

/* 5. Mobile: stack buttons vertically in product grid */
@media (max-width: 480px) {
  .vg-loop-actions {
    flex-direction: column;
    gap: 6px;
  }
  .vg-loop-coa.product-card-coa-btn {
    width: 100%;
    text-align: center;
  }
}


/* ============================================================
   SHOP PAGE — vgs layout
============================================================ */
.vgs-header {
  background: var(--white) !important;
  padding: 56px 40px 32px !important;
  border-bottom: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
}
.vgs-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
.vgs-title {
  font-family: 'Jost', sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  color: var(--black) !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}
.vgs-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 28px !important;
  padding: 0;
}
.vgs-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.vgs-search-wrap {
  position: relative;
  flex: 0 0 320px;
}
.vgs-search-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
}
#vgs-search {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1px solid var(--border);
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  background: var(--off-white);
  color: var(--black);
  outline: none;
  transition: border-color var(--transition);
}
#vgs-search:focus { border-color: var(--black); }
.vgs-sort-wrap .woocommerce-ordering { margin: 0; }
.vgs-sort-wrap select {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--border);
  border-radius: 40px;
  background: var(--off-white);
  color: var(--black);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.vgs-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.vgs-filter-pill {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 40px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--black);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  background: transparent;
}
.vgs-filter-pill:hover { background: var(--off-white); }
.vgs-filter-pill.active {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.vgs-body {
  padding: 48px 40px 80px;
  width: 100%;
  box-sizing: border-box;
}
.vgs-body-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Hide WC result count — we don't use it */
.woocommerce-result-count { display: none !important; }

/* Product grid */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce ul.products li.product {
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}
.woocommerce ul.products li.product a {
  color: inherit;
  text-decoration: none;
}
.woocommerce ul.products li.product a:hover { opacity: 1; }

/* 3-col at mid-range desktop (1100px–900px) */
@media (max-width: 1100px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
/* 2-col at tablet (900px–768px) */
@media (max-width: 900px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  .vgs-header { padding: 36px 20px 24px !important; }
  .vgs-body { padding: 32px 20px 60px; }
  .vgs-controls { flex-direction: column; align-items: stretch; }
  .vgs-search-wrap { flex: 1; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
}
@media (max-width: 480px) {
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .vgs-title { font-size: 28px !important; }
}


/* ============================================================
   SINGLE PRODUCT PAGE — vsp styles
============================================================ */
.vsp-wrapper { padding: 0 40px 80px; }
.vsp-inner { max-width: 1300px; margin: 0 auto; }

.vsp-breadcrumb { padding: 24px 0 32px; font-size: 12px; color: var(--text-muted); display: flex; gap: 8px; align-items: center; }
.vsp-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.vsp-breadcrumb a:hover { color: var(--black); }
.vsp-breadcrumb span { color: var(--mid-gray); }

.vsp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* Gallery */
.vsp-gallery { display: flex; flex-direction: column; gap: 24px; }
.vsp-img-card {
  background: #f2f2f0;
  border-radius: 24px;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.vsp-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--dark-green); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px;
}
.vsp-img { max-height: 78%; max-width: 68%; object-fit: contain; }
.vsp-img-placeholder { width: 120px; height: 240px; background: rgba(0,0,0,0.06); border-radius: 8px; }

.vsp-trust-bar { display: flex; flex-direction: column; gap: 12px; }
.vsp-trust-item { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
.vsp-trust-item svg { flex-shrink: 0; color: var(--dark-green); }
.vsp-trust-item strong { display: block; font-size: 13px; color: var(--black); font-weight: 600; }
.vsp-trust-item span { font-size: 11px; color: var(--text-muted); }

/* Summary */
.vsp-summary { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.vsp-cat-label { font-size: 13px; color: var(--text-muted); font-style: italic; }
.vsp-title {
  font-family: 'Jost', sans-serif !important;
  font-size: 42px !important; font-weight: 800 !important;
  color: var(--black) !important; line-height: 1.05 !important;
  margin: 0 !important; padding: 0 !important;
}
.vsp-stock { font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.vsp-stock.in-stock { color: var(--dark-green); }
.vsp-stock.out-stock { color: #c0432a; }

/* Dosage */
.vsp-dosage-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vsp-row-label { font-size: 13px; font-weight: 700; color: var(--black); white-space: nowrap; min-width: 70px; }
.vsp-dosage-pills { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.vsp-dose-pill {
  border: 1px solid var(--border); background: var(--off-white);
  border-radius: 6px; padding: 8px 16px;
  font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--black); cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.vsp-dose-pill.active { background: var(--black); border-color: var(--black); color: #fff; }
.vsp-dose-pill:disabled { opacity: 0.4; cursor: not-allowed; }
.vsp-dose-pill:hover:not(.active):not(:disabled) { border-color: #aaa; }
.vsp-variation-price { font-size: 22px; font-weight: 800; color: var(--black); margin-left: auto; }

/* Qty */
.vsp-qty-row { display: flex; align-items: center; gap: 16px; }
.vsp-qty-ctrl { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.vsp-qty-btn { width: 36px; height: 36px; background: none; border: none; font-size: 18px; cursor: pointer; color: var(--black); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.vsp-qty-btn:hover { background: var(--off-white); }
.vsp-qty-num { min-width: 32px; text-align: center; font-size: 14px; font-weight: 600; }

/* Hide the WC form but keep it functional */
.vsp-atc-wrap .variations,
.vsp-atc-wrap .single_variation_wrap,
.vsp-atc-wrap .woocommerce-variation,
.vsp-atc-wrap .quantity { display: none !important; }
/* WC form hidden - JS posts via fetch directly */
.vsp-atc-wrap form.cart { display: block !important; }
.vsp-atc-wrap .single_add_to_cart_button { display: none !important; }
/* The wrapper is functionally hidden (JS clicks the real form inside it).
   Collapse it so it contributes no height/gap to the summary flex stack. */
.vsp-atc-wrap { height: 0 !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important; }

/* Bundle */
.vsp-bundle { background: var(--off-white); border-radius: 16px; padding: 20px; }
.vsp-bundle-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 14px; }
.vsp-bundle-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.vsp-bundle-card {
  border: 1.5px solid var(--border); border-radius: 12px; background: #fff;
  padding: 14px 10px; text-align: center; cursor: pointer;
  position: relative; transition: border-color var(--transition);
}
.vsp-bundle-card.active { border-color: var(--black); }
.vsp-bundle-card:hover { border-color: #aaa; }
.vsp-bundle-tag {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px; white-space: nowrap;
}
.vsp-bundle-tag.popular { background: var(--dark-green); color: #fff; }
.vsp-bundle-tag.best { background: #b8860b; color: #fff; }
.vsp-bundle-vials { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; }
.vsp-bundle-vial { width: 10px; height: 30px; background: #ccc; border-radius: 3px; }
.vsp-bundle-card.active .vsp-bundle-vial { background: var(--black); }
.vsp-bundle-qty { font-size: 12px; font-weight: 700; color: var(--black); }
.vsp-bundle-save { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.vsp-bundle-card.active .vsp-bundle-save { color: var(--dark-green); font-weight: 600; }

/* Action row */
.vsp-action-row { display: flex; gap: 10px; align-items: stretch; }
.vsp-coa-btn {
  border: 1.5px solid var(--border); background: #fff;
  padding: 0 22px; border-radius: 40px; font-size: 13px; font-weight: 700;
  color: var(--black); text-decoration: none; display: flex; align-items: center;
  transition: border-color var(--transition), background var(--transition);
  white-space: nowrap;
}
.vsp-coa-btn:hover { border-color: var(--black); }
.vsp-atc-btn {
  flex: 1; background: var(--black); color: #fff;
  border: none; border-radius: 40px; padding: 16px 28px;
  font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; transition: background var(--transition);
}
.vsp-atc-btn:hover { background: var(--dark-green); }

/* Mini trust */
.vsp-mini-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.vsp-mini-trust-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }

/* Payment */
.vsp-payment-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vsp-payment-label { font-size: 12px; color: var(--text-muted); }
.vsp-pay-badge {
  border: 1px solid var(--border); border-radius: 4px; padding: 3px 8px;
  font-size: 11px; font-weight: 600; color: var(--black); background: var(--white);
}

/* Meta */
.vsp-meta { font-size: 12px; color: var(--text-muted); display: flex; flex-direction: column; gap: 4px; }
.vsp-meta a { color: var(--text-muted); text-decoration: underline; }

/* Compound section */
.vsp-compound-section, .vsp-refs-section { margin-top: 72px; }
.vsp-section-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
.vsp-section-icon { font-size: 28px; background: var(--off-white); border-radius: 12px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vsp-section-title { font-family: 'Jost', sans-serif; font-size: 28px; font-weight: 700; color: var(--black); margin: 0 0 4px; }
.vsp-section-sub { font-size: 13px; color: var(--text-muted); margin: 0; }

.vsp-compound-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.vsp-compound-card { border-radius: 16px; padding: 28px; }
.vsp-compound-card.light { background: var(--white); border: 1px solid var(--border); }
.vsp-compound-card.dark { background: #1a1a1a; }
.vsp-ccard-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.vsp-ccard-eyebrow.light { color: rgba(255,255,255,.5); }
.vsp-ccard-title { font-size: 20px; font-weight: 700; color: var(--black); margin: 0 0 6px; }
.vsp-ccard-title.light { color: #fff; }
.vsp-ccard-sub { font-size: 12px; color: var(--text-muted); margin: 0 0 16px; }
.vsp-ccard-sub.light { color: rgba(255,255,255,.5); }
.vsp-ccard-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.vsp-ccard-tag { border: 1px solid var(--border); border-radius: 20px; font-size: 11px; padding: 3px 10px; color: var(--text-muted); }
.vsp-ccard-rows { display: flex; flex-direction: column; gap: 0; }
.vsp-ccard-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.vsp-ccard-row.dark { border-bottom-color: rgba(255,255,255,.08); }
.vsp-ccard-row:last-child { border-bottom: none; }
.vsp-ccard-k { color: var(--text-muted); }
.vsp-ccard-k.light { color: rgba(255,255,255,.5); }
.vsp-ccard-v { font-weight: 500; color: var(--black); text-align: right; }
.vsp-ccard-v.bold { font-weight: 700; }
.vsp-ccard-v.light { color: #fff; }

/* References */
.vsp-refs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.vsp-ref-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.vsp-ref-journal { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--dark-green); }
.vsp-ref-title { font-size: 14px; font-weight: 600; color: var(--black); line-height: 1.4; margin: 0; }
.vsp-ref-meta { font-size: 12px; color: var(--text-muted); }
.vsp-ref-authors { font-size: 12px; color: var(--text-muted); font-style: italic; }
.vsp-ref-link { font-size: 12px; font-weight: 600; color: var(--dark-green); text-decoration: none; margin-top: auto; }
.vsp-ref-link:hover { text-decoration: underline; }

/* Research notice */
.vsp-notice {
  margin-top: 48px; margin-bottom: 48px;
  border: 1.5px solid #f0c0c0; border-radius: 16px;
  background: #fffbfb; padding: 28px 32px;
  display: flex; gap: 16px; align-items: flex-start;
}
.vsp-notice-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.vsp-notice-header { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #c0432a; margin-bottom: 12px; }
.vsp-notice-body { font-size: 13px; color: #555; line-height: 1.7; }
.vsp-notice-body p { margin: 0 0 10px; }
.vsp-notice-body p:last-child { margin-bottom: 0; }

/* Responsive */
@media (max-width: 1024px) { .vsp-layout { grid-template-columns: 1fr; gap: 40px; } .vsp-compound-grid { grid-template-columns: 1fr 1fr; } .vsp-refs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .vsp-wrapper { padding: 0 20px 60px; } .vsp-title { font-size: 32px !important; } .vsp-compound-grid { grid-template-columns: 1fr; } .vsp-refs-grid { grid-template-columns: 1fr 1fr; } .vsp-bundle-cards { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 480px) { .vsp-refs-grid { grid-template-columns: 1fr; } }

/* ============================================================
   VIALS MOBILE — hidden on mobile, desktop only
============================================================ */
@media screen and (max-width: 768px) {
  .hero-section {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 40px !important;
  }
  .hero-section .hero-inner {
    padding-bottom: 0 !important;
    gap: 0 !important;
  }
  .hero-section .hero-image,
  .hero-section .hero-media {
    display: none !important;
  }
}

/* ============================================================
   RESEARCH PAGE & BLOG — vgr styles
============================================================ */
.vgr-hero {
  background: var(--off-white);
  padding: 72px 40px 60px;
  border-bottom: 1px solid var(--border);
}
.vgr-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.vgr-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.vgr-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.05;
  margin-bottom: 18px;
}
.vgr-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* Stats bar */
.vgr-stats-bar {
  background: var(--black);
  padding: 28px 40px;
}
.vgr-stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.vgr-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}
.vgr-stat-num {
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.vgr-stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.vgr-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* Sections */
.vgr-section {
  padding: 72px 40px;
}
.vgr-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.vgr-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 8px;
}
.vgr-section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Compound cards */
.vgr-compounds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.vgr-compound-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color var(--transition);
}
.vgr-compound-card:hover { border-color: #aaa; }
.vgr-compound-name {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.vgr-compound-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-green);
  background: rgba(45,90,71,0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.vgr-compound-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* COA band */
.vgr-coa-band {
  background: var(--black);
  padding: 72px 40px;
}
.vgr-coa-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.vgr-coa-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 14px;
}
.vgr-coa-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}
.vgr-btn-primary {
  display: inline-block;
  background: #fff;
  color: var(--black);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.vgr-btn-primary:hover { background: var(--dark-green); color: #fff; }
.vgr-coa-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.vgr-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.vgr-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

/* Posts grid (used in both research & blog) */
.vgr-posts-section { background: var(--off-white); }
.vgr-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vgr-post-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.vgr-post-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.vgr-post-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--light-gray);
}
.vgr-post-img-placeholder {
  background: linear-gradient(135deg, #e8e8e4, #d4d4d0);
}
.vgr-post-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vgr-post-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-green);
  margin-bottom: 8px;
}
.vgr-post-title {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.35;
  margin-bottom: 10px;
}
.vgr-post-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.vgr-post-date {
  font-size: 11px;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
}
.vgr-pagination {
  margin-top: 48px;
  text-align: center;
}
.vgr-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 13px;
  color: var(--black);
  text-decoration: none;
  margin: 0 4px;
  transition: background var(--transition), border-color var(--transition);
}
.vgr-pagination .page-numbers.current,
.vgr-pagination .page-numbers:hover {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

/* Responsive */
@media (max-width: 1100px) {
  .vgr-compounds { grid-template-columns: repeat(2, 1fr); }
  .vgr-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .vgr-coa-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .vgr-hero { padding: 48px 20px 40px; }
  .vgr-title { font-size: 40px; }
  .vgr-section { padding: 48px 20px; }
  .vgr-stats-bar { padding: 24px 20px; }
  .vgr-stat { padding: 0 24px; }
  .vgr-coa-band { padding: 48px 20px; }
}
@media (max-width: 480px) {
  .vgr-compounds { grid-template-columns: 1fr; }
  .vgr-posts-grid { grid-template-columns: 1fr; }
  .vgr-title { font-size: 32px; }
  .vgr-coa-badges { grid-template-columns: 1fr; }
  .vgr-stats-inner { flex-direction: column; gap: 20px; }
  .vgr-stat-divider { width: 40px; height: 1px; }
}

/* ============================================================
   MOBILE AUDIT — consolidated fixes for all pages
   Overrides any earlier scattered mobile rules
============================================================ */

/* === GLOBAL === */
@media (max-width: 768px) {
  body { font-size: 14px; }
  h1 { font-size: 32px !important; }
  h2 { font-size: 26px !important; }

  /* Prevent horizontal scroll */
  .site-footer, main, .vsp-wrapper, .vgs-header, .vgs-body,
  .vgr-hero, .vgr-section, .vgr-stats-bar, .vgr-coa-band { overflow-x: hidden; }
}

/* === HEADER === */
@media (max-width: 768px) {
  .site-header { padding: 0 16px; }
  .header-inner { height: 56px; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .site-logo .logo-text { font-size: 14px; letter-spacing: 0.14em; }
}

/* === HOMEPAGE HERO === */
@media (max-width: 768px) {
  .hero-section { padding: 48px 20px 40px; min-height: 0 !important; height: auto !important; }
  .hero-inner { grid-template-columns: 1fr !important; gap: 32px !important; text-align: center; }
  .hero-title { font-size: 36px !important; }
  .hero-sub { font-size: 14px !important; }
  .hero-cta { flex-direction: column !important; align-items: center !important; gap: 10px !important; }
  .hero-cta a { width: 100% !important; text-align: center !important; }
  .hero-image, .hero-media, .hero-vials { display: none !important; }
}

/* === HOMEPAGE SECTIONS === */
@media (max-width: 768px) {
  .section, .favorites-section, .discover-section { padding: 40px 20px !important; }
  .section-heading { margin-bottom: 24px !important; }
  .section-heading h2 { font-size: 26px !important; }
  .icons-row { flex-wrap: wrap !important; gap: 20px !important; padding: 28px 20px !important; }
  .split-banner { grid-template-columns: 1fr !important; }
  .banner-panel { padding: 32px 20px !important; }
  .banner-title { font-size: 28px !important; }
  .banner-deco-vials { display: none !important; }
  .press-section { padding: 32px 20px !important; }
  .favorites-inner { grid-template-columns: 1fr !important; gap: 16px !important; }
}

/* === SHOP PAGE === */
@media (max-width: 768px) {
  .vgs-header { padding: 28px 16px 20px !important; }
  .vgs-title { font-size: 26px !important; }
  .vgs-subtitle { font-size: 13px !important; margin-bottom: 16px !important; }
  .vgs-controls { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
  .vgs-search-wrap { flex: 1 !important; width: 100% !important; }
  .vgs-sort-wrap select { width: 100% !important; }
  .vgs-filters { gap: 8px !important; }
  .vgs-filter-pill { font-size: 12px !important; padding: 6px 14px !important; }
  .vgs-body { padding: 24px 16px 48px !important; }
  .woocommerce ul.products { grid-template-columns: repeat(2,1fr) !important; gap: 14px !important; }
  .vgc-card-name { font-size: 13px !important; }
  .vgc-price-val { font-size: 13px !important; }
  .vgc-card-btn { font-size: 12px !important; padding: 11px 0 !important; }
}
@media (max-width: 400px) {
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
}

/* === SINGLE PRODUCT === */
@media (max-width: 768px) {
  .vsp-wrapper { padding: 0 16px 48px !important; }
  .vsp-breadcrumb { padding: 16px 0 20px !important; font-size: 11px !important; }
  .vsp-layout { grid-template-columns: 1fr !important; gap: 28px !important; }
  .vsp-img-card { border-radius: 16px !important; aspect-ratio: 4/3 !important; }
  .vsp-trust-bar { display: none !important; } /* moved to bottom on mobile */
  .vsp-title { font-size: 28px !important; }
  .vsp-dosage-row { flex-wrap: wrap !important; gap: 10px !important; }
  .vsp-variation-price { margin-left: 0 !important; font-size: 20px !important; }
  .vsp-bundle-cards { grid-template-columns: repeat(3,1fr) !important; gap: 8px !important; }
  .vsp-bundle-qty { font-size: 11px !important; }
  .vsp-action-row { flex-direction: column !important; }
  .vsp-coa-btn { justify-content: center !important; padding: 14px !important; }
  .vsp-compound-grid { grid-template-columns: 1fr !important; }
  .vsp-refs-grid { grid-template-columns: 1fr !important; }
  .vsp-notice { flex-direction: column !important; gap: 10px !important; padding: 20px 16px !important; }
  .vsp-section-title { font-size: 22px !important; }
}

/* === RESEARCH PAGE === */
@media (max-width: 768px) {
  .vgr-hero { padding: 40px 16px 32px !important; }
  .vgr-title { font-size: 34px !important; }
  .vgr-stats-inner { flex-wrap: wrap !important; justify-content: flex-start !important; gap: 0 !important; }
  .vgr-stat { padding: 12px 20px !important; }
  .vgr-stat-divider { display: none !important; }
  .vgr-section { padding: 40px 16px !important; }
  .vgr-compounds { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  .vgr-compound-card { padding: 18px !important; }
  .vgr-coa-band { padding: 40px 16px !important; }
  .vgr-coa-inner { grid-template-columns: 1fr !important; gap: 28px !important; }
  .vgr-coa-title { font-size: 28px !important; }
  .vgr-posts-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .vgr-compounds { grid-template-columns: 1fr !important; }
}

/* === FOOTER === */
@media (max-width: 768px) {
  .site-footer { padding: 40px 16px 0 !important; }
  .footer-inner { grid-template-columns: 1fr 1fr !important; gap: 32px 20px !important; padding-bottom: 32px !important; }
  .footer-brand-col { grid-column: 1 / -1 !important; }
  .newsletter-label { font-size: 22px !important; }
  .email-form { flex-direction: column !important; gap: 8px !important; }
  .email-btn { width: 100% !important; }
  .footer-bottom { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; padding: 20px 0 24px !important; }
  .footer-right-group { flex-direction: row !important; align-items: center !important; gap: 12px !important; width: 100% !important; justify-content: space-between !important; }
  .social-links { flex-wrap: wrap !important; gap: 12px !important; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr !important; }
  .footer-col { text-align: left !important; }
}

/* === PAGE.PHP / GENERIC PAGES === */
@media (max-width: 768px) {
  .vg-page-hero { padding: 40px 16px 28px !important; }
  .vg-page-title { font-size: 28px !important; }
  .vg-page-content-wrap { padding: 32px 16px 48px !important; }
}

/* === ANNOUNCEMENT BAR === */
@media (max-width: 480px) {
  .announcement-bar { font-size: 10px !important; padding: 7px 0 !important; }
  .announcement-bar .marquee-track { animation-duration: 20s; }
}

/* === MISC CONSISTENCY FIXES === */
/* Ensure all section paddings use consistent 16px gutter on mobile */
@media (max-width: 768px) {
  .vg-single-product-wrapper,
  .vg-shop-wrapper { padding-left: 16px !important; padding-right: 16px !important; }
  /* Remove double bottom padding stacking */
  main > *:last-child { margin-bottom: 0 !important; }
  /* Fix any overflow from large font sizes */
  .product_title, .woocommerce div.product .product_title { font-size: 26px !important; word-break: break-word !important; }
  /* Consistent border radius on mobile */
  .vgc-card-img { border-radius: 14px !important; }
  .vgr-compound-card, .vgr-post-card, .vsp-bundle { border-radius: 12px !important; }
}

/* ============================================================
   COA MODAL
============================================================ */
.vsp-coa-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
}
.vsp-coa-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
}
.vsp-coa-modal-inner {
  position: relative; z-index: 1;
  background: #fff; border-radius: 16px;
  padding: 32px; width: 90vw; max-width: 780px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.vsp-coa-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--off-white); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--black); transition: background var(--transition);
}
.vsp-coa-modal-close:hover { background: var(--light-gray); }
.vsp-coa-modal-title {
  font-family: 'Jost', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--black); margin: 0 0 20px;
}
.vsp-coa-modal-content { width: 100%; }

/* ============================================================
   FOOTER LOGO — spacing fix
============================================================ */
.footer-logo {
  font-family: 'Jost', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
  color: var(--black) !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

/* ============================================================
   MOBILE PRODUCT CARD — fix image overflow + alignment
============================================================ */
@media (max-width: 768px) {
  .vgc-card { display: flex !important; flex-direction: column !important; }
  .vgc-card-link { display: flex !important; flex-direction: column !important; flex: 1; }
  .vgc-card-img {
    border-radius: 14px !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    width: 100% !important;
  }
  .vgc-card-img img {
    max-height: 75% !important;
    max-width: 65% !important;
    object-fit: contain !important;
    position: relative !important;
  }
  .vgc-card-body { padding: 10px 2px 6px !important; }
  .vgc-card-row { align-items: flex-start !important; gap: 6px !important; }
  .vgc-card-name { font-size: 12px !important; }
  .vgc-from { font-size: 9px !important; }
  .vgc-price-val { font-size: 12px !important; }
  .vgc-card-cat { font-size: 11px !important; }
  .vgc-card-btn { font-size: 11px !important; padding: 10px 0 !important; border-radius: 30px !important; margin-top: 8px !important; }

  /* Ensure grid items same height */
  .woocommerce ul.products { align-items: stretch !important; }
  .woocommerce ul.products li.product { height: 100% !important; }
}

/* ============================================================
   MOBILE FOOTER — center everything properly
============================================================ */
@media (max-width: 768px) {
  .footer-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 16px !important;
    padding-bottom: 28px !important;
    text-align: left !important;
  }
  .footer-brand-col {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    align-items: center !important;
  }
  .footer-brand-logo { align-items: center !important; }
  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    padding: 20px 0 24px !important;
  }
  .footer-bottom > p { text-align: center !important; }
  .social-links { justify-content: center !important; flex-wrap: wrap !important; gap: 12px !important; }
  .footer-right-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .payment-icons { justify-content: center !important; flex-wrap: wrap !important; gap: 8px !important; }
  .footer-logo { text-align: center !important; }
  .email-form { flex-direction: column !important; gap: 8px !important; }
  .email-input, .email-btn { width: 100% !important; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr !important; }
  .footer-col { text-align: center !important; }
  .footer-col a, .footer-col p { text-align: center !important; }
}

/* Research page — linked compound cards */
a.vgr-compound-card-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition) !important;
}
a.vgr-compound-card-link:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08) !important;
  border-color: var(--dark-green) !important;
  opacity: 1 !important;
}
.vgr-compound-link {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--dark-green);
  letter-spacing: 0.04em;
  margin-top: 12px;
}

/* ============================================================
   FOOTER LOGO — final override (consolidated)
============================================================ */
.footer-logo {
  font-family: 'Jost', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.28em !important;
  color: var(--black) !important;
  text-transform: uppercase !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* ============================================================
   PRODUCT CARD — consistent image alignment (homepage + shop)
   Prevents tall/landscape images (like BAC Water) from breaking grid
============================================================ */
.product-card-image {
  aspect-ratio: 1 / 1 !important;
  background: var(--off-white) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.product-card-image img {
  max-height: 78% !important;
  max-width: 68% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
/* Shop grid vgc-card image — same fix */
.vgc-card-img {
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}
.vgc-card-img img {
  max-height: 78% !important;
  max-width: 68% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}


/* ============================================================
   CART PAGE
============================================================ */
.woocommerce-cart .woocommerce,
.woocommerce-cart .woocommerce-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

/* Remove WC default empty cart text */
.woocommerce-cart .cart-empty,
.woocommerce .cart-empty,
p.cart-empty { display: none !important; }
.woocommerce-cart .return-to-shop { display: none !important; }

/* Cart table */
.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-family: 'Jost', sans-serif;
}
.shop_table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 2px solid var(--black);
  color: var(--black);
  text-align: left;
}
.shop_table td {
  padding: 20px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.shop_table td.product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--off-white);
  border-radius: 8px;
  padding: 4px;
  display: block;
}
.shop_table td.product-name a {
  font-weight: 600;
  color: var(--black);
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.shop_table td.product-name a:hover { color: var(--dark-green); }
.shop_table td.product-name dl,
.shop_table td.product-name .variation { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.shop_table td.product-price,
.shop_table td.product-subtotal { font-size: 14px; font-weight: 500; color: var(--black); }
.shop_table td.product-subtotal del { color: var(--mid-gray); font-size: 12px; margin-right: 4px; }
.shop_table td.product-quantity .qty {
  width: 56px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  font-size: 14px;
  font-family: 'Jost', sans-serif;
  -moz-appearance: textfield;
}
.shop_table td.product-quantity .qty::-webkit-inner-spin-button,
.shop_table td.product-quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.shop_table td.product-remove a {
  color: var(--mid-gray) !important;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}
.shop_table td.product-remove a:hover { color: var(--black) !important; }

/* Update cart / actions buttons */
.woocommerce-cart-form .actions .button {
  background: var(--black) !important;
  color: #fff !important;
  border: 1px solid var(--black) !important;
  padding: 12px 24px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border-radius: 4px !important;
}
.woocommerce-cart-form .actions .button:hover { background: var(--dark-green) !important; border-color: var(--dark-green) !important; }

/* Coupon */
.coupon { display: flex; gap: 10px; margin-bottom: 20px; }
.coupon .input-text {
  flex: 1;
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 13px;
  font-family: 'Jost', sans-serif;
  outline: none;
}
.coupon .input-text:focus { border-color: var(--black); }
.coupon .button,
.woocommerce-cart .button {
  background: var(--black);
  color: #fff;
  border: 1px solid var(--black);
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.coupon .button:hover,
.woocommerce-cart .button:hover { background: var(--dark-green); border-color: var(--dark-green); }

/* Cart totals box */
.cart-collaterals { margin-top: 40px; }
.cart-collaterals .cart_totals {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  background: var(--off-white);
  border-radius: 12px;
  padding: 28px;
}
.cart_totals h2 {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--black);
}
.cart_totals table {
  width: 100%;
  border-collapse: collapse;
}
.cart_totals table th,
.cart_totals table td {
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--black);
}
.cart_totals table th {
  font-weight: 500;
  color: var(--text-muted);
  text-align: left;
}
/* Total row — black, not blue */
.cart_totals table .order-total th,
.cart_totals table .order-total td {
  font-weight: 700;
  font-size: 16px;
  border-bottom: none;
  padding-top: 20px;
  color: var(--black);
}
/* Kill any blue on price amounts in cart totals */
.cart_totals .woocommerce-Price-amount,
.cart_totals .amount {
  color: var(--black) !important;
}

/* Proceed to checkout button */
.wc-proceed-to-checkout { margin-top: 20px; }
.wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--black);
  color: #fff !important;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--black);
  border-radius: 40px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.wc-proceed-to-checkout .checkout-button:hover { background: var(--dark-green); border-color: var(--dark-green); }

/* Block cart — Proceed to Checkout button: force white text (was inheriting
   the green link color over a black background). WooCommerce renders the
   button as an <a class="wc-block-components-button"> with the label inside
   a .wc-block-components-button__text span. */
.wp-block-woocommerce-cart .wc-block-cart__submit-container a,
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block a,
.wc-block-cart__submit a,
a.wc-block-components-button,
.wp-block-woocommerce-cart a.wc-block-components-button,
.wc-block-components-button.wc-block-cart__submit-button,
.wc-block-components-button .wc-block-components-button__text,
.wc-block-cart__submit-container .wc-block-components-button__text {
  color: #fff !important;
}
.wp-block-woocommerce-cart a.wc-block-components-button:hover,
.wp-block-woocommerce-cart a.wc-block-components-button:hover .wc-block-components-button__text,
.wp-block-woocommerce-proceed-to-checkout-block a:hover {
  color: #fff !important;
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top: 3px solid var(--dark-green);
  padding: 16px 20px;
  background: var(--off-white);
  font-size: 14px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.woocommerce-error { border-top-color: #c0392b; }

/* Cart mobile */
@media (max-width: 768px) {
  .woocommerce-cart .woocommerce,
  .woocommerce-cart .woocommerce-page { padding: 24px 16px 48px; }
  .shop_table thead { display: none; }
  .shop_table tr { display: flex; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--border); }
  .shop_table td { border-bottom: none; padding: 4px 0; }
  .shop_table td.product-thumbnail { flex-basis: 72px; }
  .shop_table td.product-name { flex: 1; padding-left: 12px; }
  .shop_table td.product-price,
  .shop_table td.product-subtotal,
  .shop_table td.product-quantity,
  .shop_table td.product-remove { flex-basis: 50%; }
  .cart-collaterals .cart_totals { max-width: 100%; margin-top: 24px; }
}

/* ============================================================
   MISSING CSS — classes used in PHP with no prior definition
============================================================ */

/* ---- Reviews section (front-page.php) ---- */
.reviews-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  color: var(--black);
  margin-bottom: 8px;
}
.reviews-sub {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-family: 'Jost', sans-serif;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}
.review-stars {
  font-size: 17px;
  color: #d4a23a;
  letter-spacing: 3px;
  line-height: 1;
}
.review-author {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: 'Jost', sans-serif;
}
@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; padding: 0 16px; }
}

/* ---- Product card missing pieces (front-page.php) ---- */
.product-card-img-link {
  display: block;
  text-decoration: none;
  position: relative;
}
.product-card-name-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card-name-link:hover { color: var(--dark-green); opacity: 1; }
.product-card-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
}
.product-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 2;
}
.product-card-badge.sale { background: #c0392b; color: #fff; }
.product-card-badge.new  { background: var(--dark-green); color: #fff; }

/* ---- About page (page-about.php) ---- */
.vg-about-hero {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 80px 32px 64px;
  text-align: center;
}
.vg-about-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.vg-about-hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 16px auto 0;
}
.vg-about-section {
  padding: 60px 32px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.vg-about-inner { max-width: 760px; margin: 0 auto; }
.vg-about-block { margin-bottom: 40px; }
.vg-about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 14px;
}
.vg-about-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.vg-about-list {
  padding-left: 20px;
  margin-bottom: 16px;
}
.vg-about-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.vg-about-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}
.vg-about-cta { margin-top: 20px; }
@media (max-width: 768px) {
  .vg-about-hero { padding: 48px 20px 40px; }
  .vg-about-section { padding: 40px 20px 60px; }
}

/* ---- Affiliate page (functions.php) ---- */
.vg-affiliate-cta {
  text-align: center;
  padding: 40px 24px;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Cart empty message (functions.php) ---- */
.vg-cart-empty-msg {
  font-size: 14px;
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
}

/* ============================================================
   CART — clean empty state (block cart: wp-block-woocommerce-cart)
   Hides WooCommerce's default sad-face icon, "Newest Products"
   recommendations, cross-sells, and stray dots, then renders a
   tidy custom message + Browse Shop button.
============================================================ */

/* 1) Hide the default clutter inside the empty-cart block.
      :not(.vg-empty-cart-card *) keeps our injected card visible. */
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title,
.wp-block-woocommerce-empty-cart-block .wc-block-cart-images,
.wp-block-woocommerce-empty-cart-block > figure,
.wp-block-woocommerce-empty-cart-block figure:not(.vg-empty-cart-card *),
.wp-block-woocommerce-empty-cart-block > img,
.wp-block-woocommerce-empty-cart-block > svg,
.wp-block-woocommerce-empty-cart-block .wp-block-product-new,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new,
.wp-block-woocommerce-empty-cart-block .wc-block-grid,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-cart-cross-sells-block,
.wp-block-woocommerce-empty-cart-block .wc-block-sale-products,
.wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.vg-empty-cart-card *),
.wp-block-woocommerce-empty-cart-block hr,
.wp-block-woocommerce-empty-cart-block .wp-block-separator {
  display: none !important;
}

/* 2) Hide every default paragraph/heading EXCEPT our injected card */
.wp-block-woocommerce-empty-cart-block > p,
.wp-block-woocommerce-empty-cart-block > h1,
.wp-block-woocommerce-empty-cart-block > h2,
.wp-block-woocommerce-empty-cart-block > h3 {
  display: none !important;
}

/* 3) Keep the default "Browse store" button hidden — we supply our own.
      (Comment out the next rule if you'd rather keep WC's button.) */
.wp-block-woocommerce-empty-cart-block .wp-block-buttons,
.wp-block-woocommerce-empty-cart-block .wc-block-cart__submit,
.wp-block-woocommerce-empty-cart-block .wp-element-button {
  display: none !important;
}

/* 4) Layout the empty-cart container as a centered card */
.wp-block-woocommerce-empty-cart-block {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44vh;
  padding: 56px 24px;
}

/* 5) Our custom empty-state card (printed by PHP, see functions.php) */
.vg-empty-cart-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 420px;
  margin: 0 auto;
  font-family: 'Jost', sans-serif;
}
.vg-empty-cart-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(45,90,71,0.08);
  color: var(--dark-green);
}
.vg-empty-cart-icon svg { width: 28px; height: 28px; display: block !important; }
.vg-empty-cart-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0;
}
.vg-empty-cart-sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.vg-empty-cart-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 14px 32px;
  background: var(--black, #111);
  color: #fff !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition);
}
.vg-empty-cart-btn:hover {
  background: var(--dark-green);
  transform: translateY(-1px);
  opacity: 1;
}

/* ---- Bundle slot placeholder (page-bundles.php) ---- */
.vg-slot-placeholder {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
}

/* ---- Research COA text (page-research.php) ---- */
.vgr-coa-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
}

/* reviews-section uses .press-section base + this override */
.reviews-section {
  padding: 60px 0;
  text-align: center;
}

/* ============================================================
   CUSTOMERS ALSO BOUGHT — was completely unstyled
============================================================ */
.vsp-also-bought-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 32px 72px;
}
.vsp-also-bought h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--black);
  margin: 0 0 28px;
  text-align: center;
}
.vsp-also-bought-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vsp-also-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.vsp-also-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  opacity: 1;
}
.vsp-also-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 16px;
}
.vsp-also-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.vsp-also-name {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
}
.vsp-also-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}
.vsp-also-price s {
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 6px;
}
@media (max-width: 768px) {
  /* (Superseded by the consolidated v19 mobile block below, which
     centers these cards. Kept here only as the base single-column.) */
  .vsp-also-bought-grid { grid-template-columns: 1fr; gap: 16px; }
  .vsp-also-bought-wrap { padding: 40px 18px 56px; }
}

/* ============================================================
   PRODUCT PAGE — REFINEMENT LAYER (v15)
   Softer, more cohesive "premium clinical" feel.
   Peptide store, predominantly male audience: clean, confident,
   restrained accent use. Keeps Libre Baskerville + Jost.
   No markup changes — overrides only.
============================================================ */

/* more air around the whole page + wider gutter rhythm */
.vsp-wrapper { padding: 0 40px 96px; }
.vsp-layout { gap: 72px; }
.vsp-summary { gap: 22px; padding-top: 4px; }

/* refined uppercase micro-labels everywhere (their look: spaced, small, muted) */
.vsp-row-label,
.vsp-bundle-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.vsp-row-label { min-width: auto; }

/* softer gallery card + subtle depth */
.vsp-img-card {
  background: linear-gradient(160deg, #f6f6f4 0%, #eeeeec 100%);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.04);
}

/* trust bar: give it a card so it reads as a unit, not floating text */
.vsp-trust-bar {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  padding: 18px 20px;
  gap: 16px;
}
.vsp-trust-item strong { font-size: 13px; letter-spacing: .01em; }

/* title: slightly tighter, sits closer to the price */
.vsp-title { font-size: 40px !important; letter-spacing: -0.5px !important; }

/* ── PRICE BLOCK (was unstyled) ── */
.vsp-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Jost', sans-serif;
}
.vsp-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.vsp-price-from {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .02em;
}
.vsp-price-from:empty { display: none; }
.vsp-price-main {
  font-size: 34px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
  line-height: 1;
}
.vsp-price-original {
  font-size: 17px;
  color: var(--mid-gray);
  text-decoration: line-through;
  font-weight: 500;
}
.vsp-price-subtotal {
  font-size: 14px;
  color: var(--text-muted);
}

/* ── URGENCY BAR (was unstyled) — restrained, not loud ── */
.vsp-urgency-bar {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 13px 16px;
}
/* warm red tint only when a genuinely low-stock row is present */
.vsp-urgency-bar:has(.vsp-low-stock) {
  background: rgba(192, 67, 42, 0.04);
  border-color: rgba(192, 67, 42, 0.14);
}
.vsp-urgency-row {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Jost', sans-serif;
  font-size: 13.5px; color: #444; line-height: 1.4;
}
.vsp-urgency-row svg { flex-shrink: 0; }
.vsp-urgency-row strong { color: var(--black); font-weight: 700; font-variant-numeric: tabular-nums; }
.vsp-low-stock { color: #8a3322; }
.vsp-low-stock strong { color: #8a3322; }
.vsp-generic-stock { color: var(--dark-green); }
.vsp-generic-stock strong { color: var(--dark-green); font-weight: 700; }
.vsp-out-stock { color: var(--text-muted); }
.vsp-out-stock strong { color: var(--text-muted); font-weight: 700; }

/* ── DOSAGE PILLS: softer, pill-shaped, gentler active ── */
.vsp-dosage-row { gap: 12px; }
.vsp-dose-pill {
  border-radius: 999px;
  padding: 9px 18px;
  background: var(--white);
  border-color: var(--light-gray);
  transition: all var(--transition);
}
.vsp-dose-pill.active {
  background: var(--dark-green);
  border-color: var(--dark-green);
  box-shadow: 0 4px 14px rgba(45,90,71,0.22);
}
.vsp-dose-pill:hover:not(.active):not(:disabled) { border-color: var(--dark-green); color: var(--dark-green); }
.vsp-variation-price { font-size: 20px; font-weight: 700; }

/* ── QTY: softer, larger tap targets ── */
.vsp-qty-ctrl { border-radius: 999px; border-color: var(--light-gray); background: var(--white); }
.vsp-qty-btn { width: 40px; height: 40px; font-size: 17px; }
.vsp-qty-btn:hover { background: var(--off-white); color: var(--dark-green); }
.vsp-qty-num { font-size: 15px; }

/* ── BUNDLE CARDS: cleaner, more like their option cards ── */
.vsp-bundle {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 18px;
  padding: 22px;
}
.vsp-bundle-cards { gap: 12px; }
.vsp-bundle-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: 14px;
  padding: 18px 12px 14px;
  transition: all var(--transition);
}
.vsp-bundle-card:hover { border-color: var(--mid-gray); transform: translateY(-2px); }
.vsp-bundle-card.active {
  border-color: var(--dark-green);
  background: rgba(45,90,71,0.03);
  box-shadow: 0 6px 20px rgba(45,90,71,0.10);
}
.vsp-bundle-card.active .vsp-bundle-vial { background: var(--dark-green); }
.vsp-bundle-tag.best { background: #b8860b; }
.vsp-bundle-qty { font-size: 13px; }

/* ── ACTION ROW: confident primary, refined secondary ── */
.vsp-action-row { gap: 12px; margin-top: 4px; }
.vsp-coa-btn {
  border-radius: 12px;
  border-color: var(--light-gray);
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--transition);
}
.vsp-coa-btn:hover { border-color: var(--black); background: var(--off-white); }
.vsp-atc-btn {
  border-radius: 12px;
  background: var(--black);
  font-weight: 600;
  letter-spacing: .03em;
  box-shadow: 0 6px 20px rgba(0,0,0,0.16);
  transition: all var(--transition);
}
.vsp-atc-btn:hover { background: var(--dark-green); transform: translateY(-1px); box-shadow: 0 8px 26px rgba(45,90,71,0.26); }

/* mini trust + payment: tidy, muted */
.vsp-mini-trust { gap: 18px; padding-top: 2px; }
.vsp-mini-trust-item { font-size: 12.5px; }
.vsp-payment-row { gap: 9px; padding-top: 4px; border-top: 1px solid var(--light-gray); margin-top: 4px; padding-top: 16px; }
.vsp-pay-badge {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  padding: 5px 10px;
}

/* section headers below the fold: more editorial */
.vsp-section-title { letter-spacing: -0.4px; }
.vsp-compound-section, .vsp-refs-section { margin-top: 84px; }

/* ============================================================
   PRODUCT PAGE — MOBILE REWRITE (matches refined desktop)
============================================================ */
@media (max-width: 768px) {
  .vsp-wrapper { padding: 0 18px 56px !important; }
  .vsp-breadcrumb { padding: 16px 0 18px; font-size: 11px; }
  .vsp-layout { grid-template-columns: 1fr !important; gap: 26px !important; }

  .vsp-img-card { border-radius: 18px; aspect-ratio: 1 !important; }
  .vsp-img { max-width: 72%; max-height: 80%; }

  /* show the trust bar on mobile (was hidden) — it reads well as a card now */
  .vsp-trust-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
  }
  .vsp-trust-item { flex: 1 1 30%; min-width: 90px; gap: 8px; font-size: 11px; }
  .vsp-trust-item span { display: none; } /* keep it tight on small screens */

  .vsp-summary { gap: 18px; }
  .vsp-title { font-size: 30px !important; }
  .vsp-price-main { font-size: 30px; }

  /* dosage + qty stack cleanly, full-width tap targets */
  .vsp-dosage-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .vsp-dosage-pills { gap: 8px; }
  .vsp-dose-pill { flex: 1; text-align: center; padding: 11px 14px; }
  .vsp-variation-price { margin-left: 0; }

  .vsp-qty-row { justify-content: space-between; }
  .vsp-qty-ctrl { }
  .vsp-qty-btn { width: 44px; height: 44px; } /* thumb-friendly */

  /* bundle cards: keep 3 across but readable */
  .vsp-bundle { padding: 16px; }
  .vsp-bundle-cards { grid-template-columns: 1fr 1fr 1fr !important; gap: 8px; }
  .vsp-bundle-card { padding: 26px 6px 12px; }
  .vsp-bundle-tag { font-size: 8px; padding: 2px 6px; top: 6px; }
  .vsp-bundle-qty { font-size: 11px; }
  .vsp-bundle-save { font-size: 10px; }

  /* action row: stack so the ATC button is big and obvious */
  .vsp-action-row { flex-direction: column; gap: 10px; }
  .vsp-coa-btn { width: 100%; padding: 13px; }
  .vsp-atc-btn { width: 100%; padding: 16px; font-size: 15px; }

  .vsp-mini-trust { gap: 14px; justify-content: center; }
  .vsp-payment-row { justify-content: center; }

  .vsp-urgency-bar { padding: 12px 14px; }
  .vsp-urgency-row { font-size: 12.5px; }

  .vsp-compound-section, .vsp-refs-section { margin-top: 56px; }
}

@media (max-width: 380px) {
  .vsp-bundle-card { padding: 24px 4px 10px; }
  .vsp-dose-pill { padding: 10px 10px; font-size: 12px; }
}

/* ============================================================
   PRODUCT PAGE — Shipping info block (Standard / Expedited)
   Fix: icon was colliding with text (no gap, no alignment).
============================================================ */
.vg-shipping-info-block {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 4px 0 2px;
}
.vg-ship-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}
.vg-ship-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--dark-green);
}
.vg-ship-row strong {
  color: var(--black);
  font-weight: 600;
  margin-right: 2px;
}

/* ============================================================
   PRODUCT PAGE — Sticky Add-to-Cart bar
   Was rendering as raw text (no CSS). Hidden by default,
   slides up from the bottom once the main ATC scrolls away.
   Mobile-only by design.
============================================================ */
.vsp-sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.10);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  /* hidden on desktop entirely */
  display: none;
}
.vsp-sticky-atc.visible { transform: translateY(0); }

.vsp-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 18px;
}
.vsp-sticky-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.vsp-sticky-name {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52vw;
}
.vsp-sticky-price {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-green);
}
.vsp-sticky-btn {
  flex-shrink: 0;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background var(--transition);
}
.vsp-sticky-btn:hover { background: var(--dark-green); }

/* show it only on mobile/tablet where it's useful */
@media (max-width: 768px) {
  .vsp-sticky-atc { display: block; }
}

/* ============================================================
   PRODUCT PAGE — CONSOLIDATED MOBILE FIX (v19)
   Single authoritative mobile layer. Loads last so it wins over
   the many older stacked 768px queries that were cramping things.
   Goal: consistent vertical rhythm, nothing touching.
============================================================ */
@media (max-width: 768px) {

  /* page gutters + base rhythm */
  .vsp-wrapper { padding: 0 20px 64px !important; }
  .vsp-breadcrumb { padding: 18px 0 20px !important; font-size: 11px; }

  /* one column, comfortable gap between gallery and buy box */
  .vsp-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* gallery */
  .vsp-gallery { gap: 16px; }
  .vsp-img-card { border-radius: 18px; padding: 28px !important; }

  /* trust bar under image: even 3-up, breathing room */
  .vsp-trust-bar {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    padding: 16px !important;
    margin-top: 4px;
  }
  .vsp-trust-item { flex: 1 1 0; gap: 8px; }
  .vsp-trust-item strong { font-size: 12px; }
  .vsp-trust-item span { font-size: 10.5px; }

  /* ── BUY COLUMN: the core rhythm fix ──
     Force a consistent gap between EVERY block in the summary,
     overriding whatever each old block set individually. */
  .vsp-summary {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
  }
  /* kill stray margins that fight the flex gap */
  .vsp-summary > * { margin: 0 !important; }

  .vsp-title { font-size: 23px !important; line-height: 1.15 !important; }

  /* price */
  .vsp-price-wrap { gap: 3px !important; }
  .vsp-price-row { gap: 8px !important; align-items: baseline; }
  .vsp-price-main { font-size: 25px !important; }
  .vsp-price-original { font-size: 14px !important; }
  .vsp-price-subtotal { font-size: 12.5px !important; }
  .vsp-price-from { font-size: 12px !important; }

  /* urgency card */
  .vsp-urgency-bar { padding: 12px 14px !important; gap: 8px !important; }
  .vsp-urgency-row { font-size: 12.5px !important; }

  /* row labels (QUANTITY, BUNDLE & SAVE, DOSAGE) a touch smaller */
  .vsp-row-label, .vsp-bundle-label { font-size: 10.5px !important; }

  /* dosage: label on top, pills wrap, price below — not crammed in a row */
  .vsp-dosage-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 11px !important;
  }
  .vsp-dosage-pills { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
  .vsp-dose-pill { flex: 1 1 auto; min-width: 84px; text-align: center; padding: 10px 12px !important; font-size: 13px !important; }
  .vsp-variation-price { font-size: 18px !important; }

  /* quantity row: label left, stepper right, clear gap above/below */
  .vsp-qty-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .vsp-qty-btn { width: 42px !important; height: 42px !important; }
  .vsp-qty-num { min-width: 44px; text-align: center; font-size: 16px !important; }

  /* bundle block: padded, cards not touching */
  .vsp-bundle { padding: 16px !important; }
  .vsp-bundle-label { display: block; margin-bottom: 12px !important; }
  .vsp-bundle-cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 8px !important;
  }
  .vsp-bundle-card { padding: 26px 4px 12px !important; }
  .vsp-bundle-tag {
    font-size: 7.5px !important;
    padding: 3px 6px !important;
    top: 6px !important;
    white-space: nowrap;
  }
  .vsp-bundle-qty { font-size: 11px !important; margin-top: 6px; }
  .vsp-bundle-save { font-size: 10px !important; }
  .vsp-bundle-vial { width: 7px !important; height: 26px !important; }

  /* action row: CoA + ATC stacked full width */
  .vsp-action-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .vsp-coa-btn { width: 100% !important; padding: 12px !important; font-size: 13px !important; }
  .vsp-atc-btn {
    width: 100% !important;
    padding: 15px !important;
    font-size: 14px !important;
    justify-content: center;
  }

  /* mini trust + payment: centered, wrap cleanly */
  .vsp-mini-trust {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px !important;
  }
  .vsp-mini-trust-item { font-size: 12px !important; }
  .vsp-payment-row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--light-gray);
  }
  .vsp-meta { font-size: 12px; color: var(--text-muted); }
  .vsp-meta span { display: block; margin-bottom: 4px; }

  /* ── LOWER SECTIONS: generous separation ── */
  .vsp-compound-section,
  .vsp-refs-section,
  .vsp-also-bought-wrap { margin-top: 56px !important; }

  .vsp-section-header { gap: 12px; margin-bottom: 22px; }
  .vsp-section-title { font-size: 24px !important; }

  .vsp-compound-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .vsp-compound-card { padding: 22px !important; }

  .vsp-refs-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* customers also bought: centered, image on top, single column */
  .vsp-also-bought h3,
  .vsp-section-title { text-align: center !important; }
  .vsp-also-bought-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    max-width: 420px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .vsp-also-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    padding: 22px 18px !important;
  }
  .vsp-also-card img {
    width: 120px !important;
    height: 120px !important;
    margin-bottom: 0 !important;
    flex: 0 0 auto !important;
  }
  .vsp-also-info {
    align-items: center !important;
    text-align: center !important;
  }
}

/* very small phones */
@media (max-width: 380px) {
  .vsp-wrapper { padding: 0 14px 56px !important; }
  .vsp-summary { gap: 18px !important; }
  .vsp-bundle-cards { gap: 7px !important; }
  .vsp-bundle-card { padding: 26px 3px 11px !important; }
  .vsp-bundle-qty { font-size: 11px !important; }
  .vsp-dose-pill { min-width: 72px; padding: 11px 8px !important; font-size: 13px; }
  .vsp-title { font-size: 25px !important; }
}

/* ============================================================
   AFFILIATE PAGE — style AffiliatePress form/panel to match site
============================================================ */
.vg-affiliate-wrap {
  max-width: 520px;
  margin: 0 auto;
  font-family: 'Jost', sans-serif;
}
/* form fields */
.vg-affiliate-wrap input[type="text"],
.vg-affiliate-wrap input[type="email"],
.vg-affiliate-wrap input[type="password"],
.vg-affiliate-wrap input[type="url"],
.vg-affiliate-wrap input[type="tel"],
.vg-affiliate-wrap select,
.vg-affiliate-wrap textarea {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  background: var(--white);
  color: var(--black);
  box-sizing: border-box;
  transition: border-color var(--transition);
}
.vg-affiliate-wrap input:focus,
.vg-affiliate-wrap select:focus,
.vg-affiliate-wrap textarea:focus {
  outline: none;
  border-color: var(--dark-green);
}
.vg-affiliate-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  margin-top: 4px;
}
/* submit / action buttons */
.vg-affiliate-wrap button,
.vg-affiliate-wrap input[type="submit"],
.vg-affiliate-wrap .button {
  display: inline-block;
  width: 100%;
  padding: 13px;
  background: var(--dark-green);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.vg-affiliate-wrap button:hover,
.vg-affiliate-wrap input[type="submit"]:hover,
.vg-affiliate-wrap .button:hover {
  background: var(--dark-green-hover);
  transform: translateY(-1px);
}
/* dashboard tables / stats (affiliate panel) */
.vg-affiliate-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.vg-affiliate-wrap th,
.vg-affiliate-wrap td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--light-gray);
  text-align: left;
}
.vg-affiliate-wrap th {
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
}
/* links inside the panel (referral URL, etc.) */
.vg-affiliate-wrap a { color: var(--dark-green); }

@media (max-width: 768px) {
  .vg-affiliate-wrap { max-width: 100%; padding: 0 4px; }
}


/* ============================================================
   AFFILIATE PAGE — split-screen layout (auto-detected via page.php)
   Dark left panel + white right form.
   No template picker needed — triggers on affiliate page slugs.
============================================================ */

/* hide the default page title hero on affiliate page */
.vg-aff-split + * { display: none; }

/* ── FULL-VIEWPORT SPLIT ── */
.vg-aff-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* ══ LEFT PANEL ══ */
.vg-aff-left {
  position: relative;
  background: #0a0f0d;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 62px);
  position: sticky;
  top: 62px;
  height: calc(100vh - 62px);
}
.vg-aff-left-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(45,90,71,0.32) 0%, transparent 55%),
    linear-gradient(160deg, #0d1512 0%, #0a0f0d 45%, #070a09 100%);
}
.vg-aff-left-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 75% 90%, rgba(45,90,71,0.18) 0%, transparent 60%);
}
.vg-aff-molecule {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 340px;
  height: 340px;
  opacity: 0.12;
  pointer-events: none;
}
.vg-aff-left-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 52px 56px;
  gap: 36px;
}
.vg-aff-left-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
  margin-bottom: 0;
}
.vg-aff-left-brand {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
}
.vg-aff-left-brand-sub {
  font-family: 'Jost', sans-serif;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
}
.vg-aff-left-hero {
  display: flex;
  flex-direction: column;
}
.vg-aff-left-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(120,180,150,0.85);
  margin-bottom: 18px;
}
.vg-aff-left-title {
  font-family: 'Jost', sans-serif;
  font-size: clamp(36px, 3.4vw, 50px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 22px;
}
.vg-aff-left-title em {
  font-style: normal;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
}
.vg-aff-left-sub {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 380px;
  margin: 0 auto;
}
.vg-aff-perks {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 300px;
}
.vg-aff-perks li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
}
.vg-aff-perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(120,180,150,0.95);
}
.vg-aff-perks strong {
  font-family: 'Jost', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  display: block;
  margin-bottom: 2px;
}
.vg-aff-perks span {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ══ RIGHT PANEL ══ */
.vg-aff-right {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: stretch;
}
.vg-aff-right-inner {
  width: 100%;
  max-width: 100%;
  padding: 56px 56px;
}

/* ── Override AffiliatePress form styles ── */
.vg-aff-right-inner .vg-affiliate-wrap,
.vg-aff-right-inner > div,
.vg-aff-right-inner > form {
  max-width: 100% !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* kill any AP wrapper top spacing */
.vg-aff-right-inner .ap-registration-form-wrap,
.vg-aff-right-inner .ap-template-wrapper,
.vg-aff-right-inner .ap-affiliate-registration,
.vg-aff-right-inner [class*="ap-"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* remove the bordered/rounded card around the form */
.vg-aff-right-inner .vg-affiliate-wrap,
.vg-aff-right-inner .ap-registration-form-wrap,
.vg-aff-right-inner .ap-template-wrapper,
.vg-aff-right-inner .ap-affiliate-registration,
.vg-aff-right-inner .ap-form-wrap,
.vg-aff-right-inner .ap-card,
.vg-aff-right-inner form {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Headings AP outputs */
.vg-aff-right-inner h1,
.vg-aff-right-inner h2,
.vg-aff-right-inner h3,
.vg-aff-right-inner .ap-registration-heading,
.vg-aff-right-inner .ap-login-heading {
  font-family: 'Jost', sans-serif !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #111 !important;
  margin: 0 0 8px !important;
  line-height: 1.15 !important;
}

/* Sub-text / description paragraphs */
.vg-aff-right-inner > .vg-affiliate-wrap > p:first-of-type,
.vg-aff-right-inner .ap-registration-description,
.vg-aff-right-inner .ap-subtitle {
  font-family: 'Jost', sans-serif !important;
  font-size: 14px !important;
  color: #888 !important;
  margin-bottom: 32px !important;
  line-height: 1.65 !important;
}

/* All text inputs */
.vg-aff-right-inner input[type="text"],
.vg-aff-right-inner input[type="email"],
.vg-aff-right-inner input[type="password"],
.vg-aff-right-inner input[type="url"],
.vg-aff-right-inner input[type="tel"],
.vg-aff-right-inner select,
.vg-aff-right-inner textarea {
  width: 100% !important;
  padding: 13px 16px !important;
  border: 1.5px solid #e0e0dc !important;
  border-radius: 10px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 14px !important;
  background: #fafaf9 !important;
  color: #111 !important;
  box-sizing: border-box !important;
  margin-bottom: 14px !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  outline: none !important;
}
.vg-aff-right-inner input:focus,
.vg-aff-right-inner select:focus,
.vg-aff-right-inner textarea:focus {
  border-color: #2d5a47 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(45,90,71,0.09) !important;
}

/* Labels */
.vg-aff-right-inner label {
  display: block !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #555 !important;
  margin-bottom: 7px !important;
}

/* Submit / action buttons */
.vg-aff-right-inner button[type="submit"],
.vg-aff-right-inner input[type="submit"],
.vg-aff-right-inner .button,
.vg-aff-right-inner .ap-submit-btn,
.vg-aff-right-inner .btn {
  display: block !important;
  width: 100% !important;
  padding: 16px !important;
  background: #111 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  margin-top: 6px !important;
  box-shadow: 0 6px 22px rgba(0,0,0,0.14) !important;
  transition: background 0.22s, transform 0.18s, box-shadow 0.18s !important;
}
.vg-aff-right-inner button[type="submit"]:hover,
.vg-aff-right-inner input[type="submit"]:hover {
  background: #2d5a47 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(45,90,71,0.28) !important;
}

/* Error messages (AP validation) */
.vg-aff-right-inner .ap-error,
.vg-aff-right-inner .error-message,
.vg-aff-right-inner .ap-field-error {
  color: #c0432a !important;
  font-size: 12px !important;
  margin-top: -10px !important;
  margin-bottom: 10px !important;
  font-family: 'Jost', sans-serif !important;
}

/* Dashboard tables when logged in */
.vg-aff-right-inner table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 13px !important;
  margin: 16px 0 !important;
}
.vg-aff-right-inner th,
.vg-aff-right-inner td {
  padding: 11px 14px !important;
  border-bottom: 1px solid #eee !important;
  text-align: left !important;
}
.vg-aff-right-inner th {
  background: #f5f5f3 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #777 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  /* white backdrop so the green panel never bleeds above the header/safe-area */
  .vg-aff-split { background: #ffffff; }
  .vg-aff-split {
    grid-template-columns: 1fr;
  }
  .vg-aff-left {
    position: static;
    top: auto;
    height: auto;
    min-height: auto;
    padding: 64px 0;
  }
  .vg-aff-left-content { padding: 60px 36px; }
  .vg-aff-right-inner { padding: 56px 36px; }
}
@media (max-width: 600px) {
  .vg-aff-left {
    min-height: auto;
    padding: 48px 0;
  }
  .vg-aff-left-content { padding: 48px 24px; }
  .vg-aff-left-title { font-size: 36px !important; }
  .vg-aff-molecule { width: 200px; height: 200px; right: -20px; bottom: -20px; }
  .vg-aff-right-inner { padding: 48px 24px; }
}


/* ============================================================
   AFFILIATE PAGE — INTRO ANIMATION (load-in)
   Pure CSS, staggered. Respects prefers-reduced-motion.
============================================================ */
@keyframes vgAffRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes vgAffFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes vgAffMoleculeFade {
  from { opacity: 0; }
  to   { opacity: 0.12; }
}
@keyframes vgAffGlowDrift {
  0%,100% { transform: scale(1)    translate(0, 0);     opacity: 1;    }
  50%     { transform: scale(1.06) translate(1.5%, 1%); opacity: 0.92; }
}

/* gentle living glow on the background (slow, not a throb) */
.vg-aff-left-bg {
  animation: vgAffGlowDrift 16s ease-in-out infinite;
}

/* left column: staggered rise */
.vg-aff-left-logo,
.vg-aff-left-eyebrow,
.vg-aff-left-title,
.vg-aff-left-sub,
.vg-aff-perks li {
  opacity: 0;
  animation: vgAffRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.vg-aff-left-logo    { animation-delay: 0.05s; }
.vg-aff-left-eyebrow { animation-delay: 0.18s; }
.vg-aff-left-title   { animation-delay: 0.30s; }
.vg-aff-left-sub     { animation-delay: 0.44s; }
.vg-aff-perks li:nth-child(1) { animation-delay: 0.60s; }
.vg-aff-perks li:nth-child(2) { animation-delay: 0.70s; }
.vg-aff-perks li:nth-child(3) { animation-delay: 0.80s; }
.vg-aff-perks li:nth-child(4) { animation-delay: 0.90s; }

/* molecule watermark: slow fade-in so it doesn't pop */
.vg-aff-molecule {
  opacity: 0;
  animation: vgAffMoleculeFade 1.6s ease 0.6s forwards;
}

/* right form: fade up as a block, slightly after the left lead-in */
.vg-aff-right-inner {
  opacity: 0;
  animation: vgAffRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

/* accessibility: no motion for users who ask for none */
@media (prefers-reduced-motion: reduce) {
  .vg-aff-left-bg,
  .vg-aff-left-logo,
  .vg-aff-left-eyebrow,
  .vg-aff-left-title,
  .vg-aff-left-sub,
  .vg-aff-perks li,
  .vg-aff-molecule,
  .vg-aff-right-inner {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .vg-aff-molecule { opacity: 0.12 !important; }
}

/* ════════════════════════════════════════════════════════════
   CHECKOUT — Order Summary: intentionally left to WooCommerce defaults.
   No overrides here — the Blocks order summary renders correctly
   without interference.
   ════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   BUNDLE BUILDER — Dosage Selection UI
   ───────────────────────────────────────────────────────────── */
.vg-builder-sizes-wrap {
  margin-top: 12px;
  padding: 10px;
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.vg-size-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 8px;
  font-weight: 600;
}

.vg-builder-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vg-size-btn {
  flex: 1;
  min-width: 60px;
  padding: 6px 4px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #444;
}

.vg-size-btn:hover {
  border-color: #bbb;
  background: #fdfdfd;
}

.vg-size-btn.active {
  background: #2c7a3f;
  border-color: #2c7a3f;
  color: #fff;
}

/* Static dose label for products without selectable variations */
.vg-builder-fixed-dose {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vg-builder-fixed-dose .vg-size-label {
  margin-bottom: 0;
}
.vg-fixed-dose {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  color: #2c7a3f;
}

.vg-builder-card.vg-needs-size .vg-builder-sizes-wrap {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}



/* ════════════════════════════════════════════════════════════
   AESTHETIC ENHANCEMENTS — motion + depth, on-theme (minimal/editorial)
   Builds on the existing .fade-up reveal + --transition token.
   Respects prefers-reduced-motion at the bottom.
   ════════════════════════════════════════════════════════════ */

/* ── Product cards: gentle lift + image zoom on hover ── */
.product-card {
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
}
.product-card:hover .product-card-image {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.product-card-image img,
.vgc-card-img img {
  transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1) !important;
}
.product-card:hover .product-card-image img,
.vgc-card:hover .vgc-card-img img {
  transform: scale(1.06) !important;
}

/* ── Featured + builder card images zoom too ── */
.vg-builder-card { transition: transform var(--transition), box-shadow var(--transition); }
.vg-builder-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.07); }

/* ── Buttons: subtle press + sheen ── */
.btn-primary, .btn-white, .btn-outline {
  transition: transform var(--transition), background var(--transition),
              color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn-primary:hover, .btn-white:hover, .btn-outline:hover {
  transform: translateY(-2px);
}
.btn-primary:active, .btn-white:active, .btn-outline:active {
  transform: translateY(0);
}

/* ── Trust/benefit icons: lift on hover ── */
.icon-item { transition: transform var(--transition); }
.icon-item:hover { transform: translateY(-4px); }
.icon-item svg { transition: transform var(--transition); }
.icon-item:hover svg { transform: scale(1.08); }

/* ── Footer + nav links: animated underline ── */
.main-nav a, .footer-col a, .footer-links a {
  position: relative;
}
.main-nav a::after, .footer-col a::after, .footer-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
.main-nav a:hover::after, .footer-col a:hover::after, .footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Section reveal: stagger any .fade-up children ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0, 0.2, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Discover / banner blocks: soft zoom of their bg on hover ── */
.discover-card { overflow: hidden; }
.discover-card-bg { transition: transform 0.6s cubic-bezier(0.2,0,0.2,1); }
.discover-card:hover .discover-card-bg { transform: scale(1.04); }

/* ── Respect users who prefer reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .product-card:hover, .vg-builder-card:hover, .review-card:hover,
  .btn-primary:hover, .btn-white:hover, .btn-outline:hover,
  .icon-item:hover, .icon-item:hover svg,
  .product-card:hover .product-card-image img,
  .vgc-card:hover .vgc-card-img img,
  .discover-card:hover .discover-card-bg {
    transform: none !important;
  }
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ════════════════════════════════════════════════════════════
   ORDER RECEIVED / THANK-YOU PAGE — was unstyled WooCommerce default
   (the page shown right after an order is placed)
   ════════════════════════════════════════════════════════════ */
.woocommerce-order {
  max-width: 760px;
  margin: 48px auto;
  padding: 0 24px;
  font-family: 'Jost', sans-serif;
  color: var(--black);
}
/* Confirmation headline */
.woocommerce-order .woocommerce-notice--success,
.woocommerce-order .woocommerce-thankyou-order-received {
  background: var(--dark-green);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 28px 32px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 32px;
}
.woocommerce-order .woocommerce-notice--success::before {
  display: none;
}
/* Order overview strip (number / date / total / payment) */
.woocommerce-order ul.woocommerce-order-overview,
.woocommerce-order ul.order_details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0 0 36px;
  padding: 24px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.woocommerce-order ul.woocommerce-order-overview li,
.woocommerce-order ul.order_details li {
  flex: 1 1 140px;
  border: none !important;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.woocommerce-order ul.woocommerce-order-overview li strong,
.woocommerce-order ul.order_details li strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--black);
  font-weight: 600;
}
/* Section subtitles */
.woocommerce-order h2,
.woocommerce-column__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 28px 0 14px;
}
/* Order + address tables */
.woocommerce-order table.shop_table,
.woocommerce-order table.woocommerce-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  border-collapse: separate;
  overflow: hidden;
}
.woocommerce-order table.shop_table th,
.woocommerce-order table.shop_table td {
  padding: 14px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.woocommerce-order table.shop_table tfoot th,
.woocommerce-order table.shop_table tfoot td {
  background: var(--off-white);
}
.woocommerce-order .woocommerce-Price-amount { color: var(--black); font-weight: 600; }
/* Addresses */
.woocommerce-order .woocommerce-customer-details address {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  font-style: normal;
  line-height: 1.7;
  font-size: 14px;
}
