/*
Theme Name: 22 Peptides
Theme URI: https://22peptides.com/
Author: 22 Peptides
Description: Tema personalizado de 22 Peptides, tienda de peptidos de investigacion. Pagina de inicio basada en la plantilla aprobada, lista para WooCommerce.
Version: 3.4.69
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pepven
*/

/* 22 Peptides sample landing page. Mobile first, no frameworks.
   Premium polish pass: SF-like type scale, generous whitespace,
   translucent blurred header, cinematic hero, soft product cards,
   pill buttons with gradients, scroll-reveal motion. */

:root {
  --navy: #0a1633;
  --navy-deep: #060d20;
  --navy-soft: #12224d;
  --cyan: #00b8c9;
  --cyan-bright: #2bd4e3;
  --cyan-dark: #007a8f;
  --green: #16a34a;
  --green-bg: #e7f6ec;
  --ink: #101a30;
  --ink-soft: #33415e;
  --muted: #5b6b8c;
  --bg: #ffffff;
  --tint: #f5f7fa;
  --line: #e4e9f2;
  --radius: 20px;
  --shadow-soft: 0 2px 6px rgba(10, 22, 51, 0.04), 0 24px 48px -24px rgba(10, 22, 51, 0.16);
  --shadow-lift: 0 4px 10px rgba(10, 22, 51, 0.05), 0 32px 64px -24px rgba(10, 22, 51, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* 3.3.0: the page itself must never scroll sideways (clip, not hidden,
 * so position: sticky keeps working). Inner carousels keep their own
 * overflow-x. */
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(0, 184, 201, 0.28); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

img { max-width: 100%; }

h1, h2, h3, h4 {
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.032em;
  font-weight: 800;
}
h1 { font-size: clamp(2.75rem, 7.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.container-narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
/* 3.4.14: roomier wrapper for cart / checkout / account pages - bigger than
 * the narrow column, but not full page width. */
.container-wc { width: min(1000px, 100% - 2.5rem); margin-inline: auto; }

section { scroll-margin-top: 88px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* Scroll reveal (only when JS is available; content stays visible without JS) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js .reveal.visible { opacity: 1; transform: none; }

/* Eyebrows and section heads */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0 0 1.1em;
}
.eyebrow-dark { color: var(--cyan-dark); }

.section { padding: 7rem 0; }
@media (min-width: 1024px) { .section { padding: 5.5rem 0; } }
.section-tint { background: var(--tint); }
.section-dark {
  background: radial-gradient(120% 90% at 85% 0%, #16295e 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #eaf0fb;
}
.section-dark .section-sub { color: #aebad6; }
.section-dark .eyebrow { color: var(--cyan-bright); }

.section-head { max-width: 680px; margin-bottom: 3.5rem; }
@media (min-width: 1024px) { .section-head { margin-bottom: 3.25rem; } }
.section-head h2 { margin-bottom: 0.4em; }
.section-sub { color: var(--muted); margin: 0; font-size: 1.08rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), filter 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  background: linear-gradient(180deg, var(--cyan-bright) 0%, var(--cyan) 100%);
  color: #06333a;
  box-shadow: 0 10px 26px -10px rgba(0, 184, 201, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(0, 184, 201, 0.65); filter: brightness(1.04); }
/* Secondary card button (3.4.43: brand navy, was indigo/violet so the
   card system no longer mixes purple-gradient and cyan buttons). */
.btn-dark {
  background: linear-gradient(180deg, #16295c 0%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(10, 22, 51, 0.55);
}
.btn-dark:hover { box-shadow: 0 16px 34px -10px rgba(10, 22, 51, 0.65); filter: brightness(1.1); }
.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.btn-sm { padding: 0.65rem 1.25rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; }

/* 1. Announcement bar */
.announcement {
  background: var(--navy-deep);
  color: #dbe4f7;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0.65rem 1rem;
}
.announcement p { margin: 0; }
.announcement-dot { color: var(--cyan); margin: 0 0.5em; }

/* 2.9.22: rotating announcement messages. Grid-stack keeps the bar at the
   tallest message's height, so rotation never shifts the layout.
   3.4.25: the outgoing message faded out slowly and overlapped the
   incoming one mid-rotation; drop the outgoing instantly, fade in only. */
.announcement { display: grid; }
.announcement-msg {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: none;
}
.announcement-msg.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s;
}

/* 2. Header */
/* 3.4.25: solid header. The translucent blur let page content bleed
   through behind the nav and made the menu unreadable while scrolling. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e4e9f2;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(10, 22, 51, 0.10);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.8rem 0;
}
.brand img { display: block; height: 40px; width: auto; }
.main-nav { display: none; gap: 2rem; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--cyan-dark); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Header cart link with count badge */
.cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.6);
  color: var(--navy); text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.cart-link:hover { background: #fff; color: var(--cyan-dark); }
.cart-link .icon { width: 22px; height: 22px; }

/* Header account link */
.account-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.6);
  color: var(--navy); text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.account-link:hover { background: #fff; color: var(--cyan-dark); }
.account-link .icon { width: 22px; height: 22px; }

/* 3.4.60: header search toggle + expandable search bar; the account link
   moves into the mobile menu so the header keeps room for search. */
.search-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.6);
  color: var(--navy); cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.search-toggle:hover { background: #fff; color: var(--cyan-dark); }
.search-toggle .icon { width: 22px; height: 22px; }
.search-bar {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}
.search-form {
  display: flex; gap: 0.5rem; align-items: center;
  padding: 0.6rem 0;
}
.search-form input[type="search"] {
  flex: 1; min-width: 0;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink);
  font-size: 16px;
}
.search-form input[type="search"]:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.18);
}
.main-nav li.menu-account-item { display: none; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--cyan); color: #06333a;
  font-size: 0.72rem; font-weight: 700; line-height: 20px; text-align: center;
}

/* WordPress menu markup: flatten ul/li so WP menus look like the template anchors */
.main-nav ul { display: contents; list-style: none; margin: 0; padding: 0; }
.main-nav li { display: contents; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px;
  background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.nav-toggle:hover { background: #fff; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s ease; }
.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 200;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem;
  border-radius: 10px; font-size: 0.85rem; font-weight: 700;
  text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 0.75rem; }

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 859px) {
  .site-header.nav-open .main-nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(10, 22, 51, 0.14);
  }
  .site-header.nav-open .main-nav a {
    padding: 1.1rem 1.5rem; border-top: 1px solid var(--line);
    font-size: 1.02rem;
  }
  .header-inner { position: relative; }
  .site-header.nav-open .header-actions .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .header-actions .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .header-actions .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* Compact header: account lives in the mobile menu (3.4.60) */
  .brand img { height: 32px; }
  .header-actions { gap: 0.5rem; }
  .header-actions .account-link { display: none; }
  .main-nav li.menu-account-item { display: contents; }
  .lang-btn { padding: 0.5rem 0.6rem; }
  .lang-btn #lang-btn-label { display: none; }
  .cart-link, .nav-toggle, .search-toggle { width: 40px; height: 40px; }
}

/* 3. Hero */
/* 3.4.44: full-bleed molecule hero. Brand-level art, no products, so it
   survives catalog growth. Dark left half of the art carries the copy. */
.hero {
  position: relative;
  background: var(--navy-deep) url("assets/hero-molecule.webp") center / cover no-repeat;
  color: #fff;
  padding: 7rem 0 6.5rem;
  overflow: hidden;
}
@media (min-width: 1024px) { .hero { padding: 9rem 0 8rem; } }
@media (max-width: 700px) { .hero { background-position: 30% center; } }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(0, 184, 201, 0.22) 0%, rgba(0, 184, 201, 0) 70%),
    linear-gradient(102deg, rgba(5, 10, 26, 0.92) 18%, rgba(5, 10, 26, 0.55) 52%, rgba(5, 10, 26, 0.15) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero .eyebrow { color: var(--cyan-bright); }
.hero h1 { text-wrap: balance; letter-spacing: -0.02em; }
.hero-sub { color: #d7e0f4; font-size: 1.18rem; max-width: 580px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.25rem 0 0; }
.hero .stat-chips { margin-top: 2.25rem; }

.stat-chips {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem;
}
.stat-chips li {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.stat-chips li:hover { transform: translateY(-3px); border-color: rgba(0, 184, 201, 0.45); }
.stat-chips strong {
  display: block;
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(180deg, #7ce7f2 0%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-chips span { font-size: 0.86rem; color: #c9d4ec; }
@media (min-width: 640px) { .stat-chips { grid-template-columns: repeat(4, 1fr); } }

/* 4. Products */
.product-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.product-card {
  background: #fff;
  border: 1px solid rgba(228, 233, 242, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(0, 184, 201, 0.35);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #f2f4f8 0%, #e9edf3 100%);
  container-type: inline-size;
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.04); }

/* HTML overlay label positioned over the blank vial label (measured at 39.9% / 44.3%, 20.3% x 21.4%) */

/* Discount badge: top-left on the product image (VRL-style). Only rendered when a real sale price exists. */
.discount-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(220, 252, 231, 0.95);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: #15803d;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 0.32rem 0.8rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
  z-index: 2;
}
.discount-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.stock-pill {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #334155;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.32rem 0.8rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  z-index: 2;
}
.stock-pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}
.stock-pill.preorder { color: #92400e; border-color: rgba(217, 119, 6, 0.4); }
.stock-pill.preorder::before { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18); }

/* 2.9.12: smooth cross-document page transitions.
   VRL has none (hard reload); this crossfade is a step above. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 160ms ease-out both vt-fade-out; }
::view-transition-new(root) { animation: 280ms cubic-bezier(0.16, 1, 0.3, 1) both vt-fade-in; }
@keyframes vt-fade-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-fade-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.product-card .btn { white-space: nowrap; }

.product-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.product-eyebrow {
  text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 0.68rem; font-weight: 700; color: var(--cyan-dark);
}
.product-body h2 { margin: 0; font-size: 1.35rem; letter-spacing: -0.02em; }
/* 2.9.19: teaser clamp on desktop too, so cards stay proportionate.
   Teasers are one-liners now; the clamp is a safety net. */
.product-desc {
  color: var(--muted); font-size: 0.95rem; margin: 0; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.product-price { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.product-price small { font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.product-variant { font-size: 0.78rem; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; }
.product-card .btn { margin-top: 0.9rem; padding: 0.6rem 1.25rem; font-size: 0.82rem; }

/* Mobile card overrides MUST come after the desktop rules above (same
   specificity, later wins). 2.9.13: fixed cascade order that silently
   disabled all mobile card sizing. */
@media (max-width: 767px) {
  .product-body { padding: 1.1rem 1rem; gap: 0.45rem; }
  .product-body h2 { font-size: 1.05rem; }
  .product-desc {
    font-size: 0.82rem; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-price { font-size: 0.92rem; white-space: nowrap; }
  .product-price small { font-size: 0.62rem; }
  /* 2.9.19: keep margin-top:auto from the desktop rule so prices/buttons
     pin to the card bottom on mobile too. */
  .product-meta { padding-top: 0.7rem; }
  .product-card .btn { margin-top: 0.7rem; padding: 0.55rem 1rem; font-size: 0.8rem; }
}

.disclaimer-box {
  margin-top: 3rem;
  background: linear-gradient(180deg, #fffaf0 0%, #fff6e0 100%);
  border: 1px solid #eed9a4;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem; color: #6b5a2e;
  box-shadow: 0 8px 24px -16px rgba(138, 109, 26, 0.35);
}

/* 4b. Catalog (shop) - 2.9.15 */
.catalog-hero {
  background: linear-gradient(160deg, #0a1633 0%, #0e2150 60%, #12305e 100%);
  padding: 3rem 0 2.5rem;
}
.catalog-hero h1 {
  color: #fff; font-size: 2.1rem; letter-spacing: -0.02em; margin: 0 0 0.6rem;
}
.catalog-hero-sub {
  color: rgba(255, 255, 255, 0.72); font-size: 1.02rem; line-height: 1.6;
  margin: 0; max-width: 40rem;
}
.catalog-toolbar {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.catalog-search { position: relative; margin-bottom: 1rem; }
.catalog-search .icon {
  position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; fill: var(--muted); pointer-events: none;
}
.catalog-search input[type="search"] {
  width: 100%; font-size: 1rem; color: var(--navy);
  padding: 0.95rem 1.1rem 0.95rem 3rem;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  -webkit-appearance: none; appearance: none;
}
.catalog-search input[type="search"]:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 184, 201, 0.15);
}
.catalog-search input[type="search"]::placeholder { color: #9aa3b2; }
.catalog-pills {
  display: flex; gap: 0.6rem; overflow-x: auto;
  padding-bottom: 0.35rem; margin-bottom: 1rem;
  scrollbar-width: none;
}
.catalog-pills::-webkit-scrollbar { display: none; }
.pill {
  flex: 0 0 auto; padding: 0.6rem 1.25rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; font-size: 0.92rem; color: var(--navy); text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pill:hover { border-color: var(--cyan); color: var(--cyan-dark); }
.pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.catalog-meta {
  display: flex; flex-direction: column; gap: 0.8rem;
}
.catalog-count { margin: 0; color: var(--muted); font-size: 0.95rem; }
.catalog-count strong { color: var(--navy); }
.catalog-sort { display: flex; align-items: center; gap: 0.7rem; }
.catalog-sort label { color: var(--muted); font-size: 0.95rem; white-space: nowrap; }
.catalog-sort select {
  flex: 1; font: inherit; font-weight: 700; font-size: 0.95rem; color: var(--navy);
  padding: 0.7rem 2.4rem 0.7rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background-color: #fff;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath fill='%2364748b' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.catalog-sort select:focus { outline: none; border-color: var(--cyan); }
.catalog-grid-wrap { padding: 1.5rem 0 3.5rem; background: #f6f8fb; }
.catalog-empty { text-align: center; padding: 3.5rem 1rem; }
.catalog-empty h2 { font-size: 1.5rem; margin: 0 0 0.6rem; }
.catalog-empty p { color: var(--muted); margin: 0 0 1.5rem; }
@media (min-width: 860px) {
  .catalog-hero { padding: 4rem 0 3.25rem; }
  .catalog-hero h1 { font-size: 2.75rem; }
  .catalog-meta { flex-direction: row; align-items: center; justify-content: space-between; }
  .catalog-sort select { flex: 0 1 auto; min-width: 240px; }
  .catalog-grid-wrap { padding: 2.5rem 0 4.5rem; }
}

/* 4c. Lineup carousel + stats band - 2.9.16 */
/* 2.9.33: use hidden (not clip) for reliable containment; constrain to viewport */
.lineup-section { overflow: hidden; max-width: 100vw; }
/* 2.9.29: related-products lineup at the bottom of product pages. */
/* 2.9.30: purity + CoA promotion */
/* Purity line under the product title */
.pepven-purity-line { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0.5rem 1.1rem 0; font-size: 0.78rem; font-weight: 700; color: var(--navy); border: 1.5px solid var(--line); background: #fff; padding: 0.45rem 0.9rem; border-radius: 999px; }
.purity-check { display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #16a34a; color: #fff; font-size: 0.8rem; flex: 0 0 auto; }
/* 3.4.68: COA coming-soon line under the purity badge */
.pepven-coa-line { display: block; margin: -0.6rem 0 1.1rem 0; font-size: 0.78rem; font-weight: 500; color: var(--muted, #64748b); }
/* Purity note on product cards */
/* 2.9.35: card-purity removed from cards (Ruben: keep 99%+ on product page, hero, stats only) */
/* "The 22 Peptides difference" band */
.pepven-diff { background: linear-gradient(135deg, #0b1f3a 0%, #12315e 60%, #0e7490 130%); color: #fff; padding: 3.5rem 0; margin: 0; }
.pepven-diff .eyebrow { color: var(--cyan); }
.pepven-diff h2 { color: #fff; margin: 0.4rem 0 2rem; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.02em; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.diff-item { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 1.4rem 1.3rem; }
.diff-item strong { display: block; font-size: 1.02rem; margin-bottom: 0.4rem; color: #fff; }
.diff-item p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; line-height: 1.55; }
@media (max-width: 760px) { .diff-grid { grid-template-columns: 1fr; } .pepven-diff { padding: 2.5rem 0; } }
/* CoA documented-quality section */
.pepven-coa { padding: 3.5rem 0; }
.coa-grid { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; margin-top: 1.5rem; }
.coa-figure { text-align: center; background: #f2f7f4; border: 1px solid #d9e8de; border-radius: var(--radius); padding: 1.75rem 1rem; }
.coa-figure strong { display: block; font-size: 2.6rem; letter-spacing: -0.03em; color: #15803d; }
.coa-figure span { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.coa-body p { margin: 0 0 1.1rem; line-height: 1.65; }
.coa-placeholder { background: #f8fafc; border: 1px dashed var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; color: var(--muted); font-size: 0.92rem; }
/* 3.4.21: independent lab-results card (values only, no PDF, no verify key). */
.lab-card { background: #f8fafc; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.35rem; }
.lab-card-head { margin-bottom: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); }
.lab-card-head strong { display: block; font-size: 1.05rem; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.lab-card-head > span { font-size: 0.85rem; color: var(--muted); }
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.lab-cell { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) - 4px); padding: 0.85rem 0.95rem; }
.lab-cell span { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.35rem; }
.lab-cell strong { font-size: 1.12rem; letter-spacing: -0.01em; white-space: nowrap; }
@media (max-width: 760px) { .lab-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .coa-grid { grid-template-columns: 1fr; } }
.pd-related { margin: 3.5rem 0; padding: 0; }
.lineup-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.25rem;
}
.lineup-head > div:first-child { min-width: 0; }
.lineup-arrows { display: flex; gap: 0.7rem; flex: 0 0 auto; padding-bottom: 0.25rem; }
.lineup-arrow {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.lineup-arrow svg { width: 22px; height: 22px; fill: var(--navy); }
.lineup-arrow:hover { border-color: var(--navy); transform: translateY(-1px); }
.lineup-arrow:disabled { opacity: 0.28; cursor: default; transform: none; }
.lineup-viewport { margin-top: 1.75rem; }
.lineup-track {
  display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  touch-action: pan-x; /* 2.9.28: swipes move the carousel sideways only */
  scroll-snap-type: x mandatory; scrollbar-width: none;
  width: 100%; max-width: 100vw; min-width: 0; /* 2.9.32-33: force fill, never exceed viewport */
  padding: 0.5rem max(1.25rem, calc((100vw - 1140px) / 2 + 1.25rem)) 1.25rem;
}
.lineup-track::-webkit-scrollbar { display: none; }
/* Full product cards inside the horizontal carousel - 2.9.17 */
.lineup-track .product-card {
  flex: 0 0 250px; scroll-snap-align: start;
}
.lineup-card.lineup-more {
  flex: 0 0 250px; scroll-snap-align: start;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #0a1633 0%, #12305e 100%);
  border: none; border-radius: 18px; text-decoration: none; min-height: 380px;
  box-shadow: 0 10px 30px -18px rgba(10, 22, 51, 0.25);
}
.lineup-more-inner { text-align: center; color: #fff; font-weight: 800; font-size: 1rem; padding: 1.5rem; }
.lineup-more-arrow { display: block; font-size: 2.2rem; margin-bottom: 0.6rem; color: var(--cyan); }
@media (min-width: 860px) {
  .lineup-track .product-card, .lineup-card.lineup-more { flex-basis: 300px; }
  .lineup-track { gap: 1.25rem; }
}
/* Stats band - 2.9.17: on-brand premium gradient, alive on scroll */
.stats-band {
  background: linear-gradient(165deg, #0a1633 0%, #0d2150 50%, #0b2f45 100%);
  padding: 3.5rem 0; position: relative; overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 320px at 12% 10%, rgba(0, 184, 201, 0.20), transparent 62%),
    radial-gradient(720px 360px at 88% 90%, rgba(99, 102, 241, 0.16), transparent 62%);
}
.stats-band .container { position: relative; }
.stats-band-head { text-align: center; margin-bottom: 2.25rem; }
.stats-band-head .eyebrow { color: var(--cyan); }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1rem; text-align: center;
}
.stat-item strong {
  display: block; color: #fff; font-size: 2.6rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums;
}
/* Direct child only: the .stat-num span inside <strong> must inherit the big size - 2.9.18 */
.stat-item > span {
  display: block; color: rgba(255, 255, 255, 0.62); font-size: 0.74rem;
  letter-spacing: 0.22em; text-transform: uppercase; margin-top: 0.7rem; line-height: 1.6;
}
@media (min-width: 860px) {
  .stats-band { padding: 4.5rem 0; }
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
  .stat-item strong { font-size: 3.25rem; }
}

/* 5. Quality steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
.step:hover { transform: translateY(-5px); border-color: rgba(0, 184, 201, 0.4); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6); }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(180deg, var(--cyan-bright) 0%, var(--cyan) 100%);
  color: #06333a;
  font-weight: 800; font-size: 1.05rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px -6px rgba(0, 184, 201, 0.55);
}
.step h3 { color: #fff; margin-bottom: 0.5rem; }
.step p { color: #aebad6; margin: 0; font-size: 0.95rem; line-height: 1.65; }

/* 6. Categories */
.category-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }
.category-card {
  display: block; text-decoration: none; color: inherit;
  background: linear-gradient(180deg, #fbfcfe 0%, var(--tint) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(0, 184, 201, 0.35);
  background: #fff;
}
.category-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(160deg, #e6fafc 0%, #d3f4f8 100%);
  font-size: 1.6rem; color: var(--cyan-dark);
  box-shadow: inset 0 0 0 1px rgba(0, 151, 167, 0.15);
}
.category-card h3 { margin: 1.1rem 0 0.45rem; }
.category-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.9rem; line-height: 1.6; }
.category-link {
  color: var(--cyan-dark); font-weight: 700; font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  white-space: nowrap;
  transition: gap 0.25s var(--ease);
}
.category-card:hover .category-link { gap: 0.6rem; }

/* 7. Trust */
.trust-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.trust-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(160deg, #e6fafc 0%, #d3f4f8 100%);
  color: var(--cyan-dark);
  font-size: 1.6rem; font-weight: 800; margin-bottom: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(0, 151, 167, 0.15), 0 8px 18px -8px rgba(0, 184, 201, 0.4);
}
.trust-card p { color: var(--muted); margin: 0; font-size: 0.95rem; line-height: 1.65; }

/* 8. Reviews */
.review-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.stars { color: #f5a623; letter-spacing: 0.12em; font-size: 1.05rem; }
.review-card p { font-style: italic; color: var(--ink); margin: 0; flex: 1; line-height: 1.7; }
.review-card footer { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.verified-badge {
  background: var(--green-bg); color: #15803d;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

/* 9. FAQ */
.faq { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
details.faq-item[open] {
  border-color: rgba(0, 184, 201, 0.4);
  box-shadow: var(--shadow-soft);
}
.faq-question {
  list-style: none; cursor: pointer;
  padding: 1.4rem 1.6rem;
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  transition: color 0.2s ease;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ""; }
.faq-question:hover { color: var(--cyan-dark); }
.faq-question::after {
  content: "+"; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--tint); color: var(--cyan-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem; font-weight: 300; line-height: 1;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
}
details.faq-item[open] .faq-question::after {
  transform: rotate(135deg);
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan));
  color: #06333a;
}
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 1.6rem 1.6rem; margin: 0; color: var(--muted); line-height: 1.7; }

/* 10. Contact + newsletter */
.contact-panel {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  background: linear-gradient(165deg, #ffffff 0%, var(--tint) 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 201, 0.14) 0%, rgba(0, 184, 201, 0) 70%);
  pointer-events: none;
}
@media (min-width: 860px) {
  .contact-panel { grid-template-columns: 1fr 1fr; padding: 3.5rem 3rem; gap: 3rem; }
}
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.contact-list a { color: var(--cyan-dark); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(0, 151, 167, 0.3); transition: border-color 0.2s ease; }
.contact-list a:hover { border-color: var(--cyan-dark); }
.sample-tag {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  background: #fff3d6; color: #8a6d1a; border-radius: 999px; padding: 0.2rem 0.65rem;
  border: 1px solid rgba(138, 109, 26, 0.2);
}
.newsletter h3 { margin-bottom: 0.5rem; }
.newsletter p { color: var(--muted); font-size: 0.95rem; }
#newsletter-form { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.25rem; }
@media (min-width: 560px) { #newsletter-form { flex-direction: row; } }
#newsletter-form input {
  flex: 1; padding: 1rem 1.35rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: inherit; font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#newsletter-form input:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 184, 201, 0.15);
}
.newsletter-note { margin-top: 1rem; font-size: 0.9rem; color: var(--cyan-dark); font-weight: 600; }

/* 11. Footer - 2.9.20: VRL-style colorful columns, rewards + referral features */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #aebad6;
  padding: 5rem 0 2.5rem;
  position: relative;
}
/* Pretty gradient top border */
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #00e5ff 0%, #a78bfa 35%, #fbbf24 65%, #34d399 100%);
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-brand img { height: 42px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.95rem; max-width: 300px; line-height: 1.7; }
/* Per-column accent colors */
.footer-col { --col-accent: var(--cyan-bright); }
.footer-col-shop { --col-accent: #00e5ff; }
.footer-col-rewards { --col-accent: #a78bfa; }
.footer-col-referral { --col-accent: #fbbf24; }
.footer-col-help { --col-accent: #34d399; }
.footer-col-legal { --col-accent: #94a3b8; }
.site-footer nav h2 {
  color: #fff; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.site-footer nav h2::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--col-accent);
  box-shadow: 0 0 10px var(--col-accent);
  flex: none;
}
.site-footer nav a {
  display: block; color: #aebad6; text-decoration: none;
  font-size: 0.93rem; margin-bottom: 0.65rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.site-footer nav a:hover { color: var(--col-accent); transform: translateX(3px); }
/* Rewards highlight link: little pill */
.footer-rewards-cta {
  display: inline-block !important; margin-top: 0.4rem;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(0, 229, 255, 0.18));
  border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: 999px; padding: 0.45rem 1rem !important;
  font-weight: 700; font-size: 0.85rem !important; color: #fff !important;
}
.footer-rewards-cta:hover { transform: translateY(-2px) !important; color: #fff !important; }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  font-size: 0.85rem; color: #8b98b8; line-height: 1.7;
}
.footer-copy { font-size: 0.85rem; color: #8b98b8; margin: 1.25rem 0 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Legacy red discount badge removed in 2.9.8: superseded by the green
   top-left .discount-badge on product images. */
.product-price s {
  color: var(--muted); font-weight: 600; font-size: 0.85em;
  margin-right: 0.35rem;
}

.variant-row { display: flex; gap: 0.5rem; margin: 0.15rem 0 0.1rem; }
.variant-pill {
  flex: 1; padding: 0.55rem 0; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: 0.85rem; font-weight: 700; color: var(--navy);
  cursor: pointer; transition: all 0.25s var(--ease);
  font-family: inherit;
}
.variant-pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
/* 2.8.3: pill picker on the single product page replaces the native select. */
.single-product .variant-row { margin: 0.6rem 0 1.1rem; max-width: 360px; }
.single-product .variant-pill { padding: 0.75rem 0; font-size: 0.95rem; }
.pepven-select-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important;
  border: 0 !important; white-space: nowrap !important;
}
.product-price strong { color: var(--navy); }

/* 13. Age + researcher gate */
.gate-ok .age-gate { display: none; }
html:not(.gate-ok) body { overflow: hidden; }
.age-gate {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  background: rgba(6, 13, 32, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.age-gate-card {
  position: relative;
  width: 100%; max-width: 470px;
  max-height: 92vh; overflow-y: auto;
  background: linear-gradient(160deg, var(--navy-soft) 0%, var(--navy) 60%, var(--navy-deep) 100%);
  color: #eef2fb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
/* 2.9.24: gate language toggle (flag + ES/EN). */
.age-gate-lang {
  position: absolute; top: 0.9rem; right: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; border-radius: 999px; padding: 0.32rem 0.7rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  cursor: pointer; transition: background 0.2s ease;
}
.age-gate-lang:hover { background: rgba(255, 255, 255, 0.16); }
.age-gate-lang svg { display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.25); }
.age-gate-logo { margin: 0 auto 1rem; display: block; }
.age-gate-card h2 { color: #fff; margin: 0 0 0.6rem; font-size: 1.5rem; }
.age-gate-sub { color: #c3cde6; font-size: 0.95rem; margin: 0 0 1.25rem; }
.age-gate-sub strong { color: #fff; }
.age-gate-check {
  display: flex; gap: 0.7rem; align-items: flex-start;
  text-align: left; font-size: 0.9rem; color: #dbe4f7;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  margin: 0 0 0.7rem;
  cursor: pointer;
}
.age-gate-check input {
  appearance: none; -webkit-appearance: none;
  width: 1.3rem; height: 1.3rem; margin-top: 0.05rem; flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.age-gate-check input:checked {
  border-color: var(--cyan);
  background-color: var(--cyan);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%23052A3A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 0.85rem; background-position: center; background-repeat: no-repeat;
}
.age-gate-check:has(input:checked) {
  border-color: rgba(0, 200, 255, 0.55);
  background: rgba(0, 200, 255, 0.1);
}
.age-gate-card .btn { margin-top: 0.5rem; }
.age-gate-card .btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.age-gate-exit {
  display: inline-block; margin-top: 0.9rem;
  color: #9aa7c7; font-size: 0.88rem; text-decoration: underline;
}
.age-gate-exit:hover { color: #fff; }
.age-gate-legal { margin: 1.1rem 0 0; font-size: 0.78rem; color: #9aa7c7; }
.age-gate-legal a { color: var(--cyan-bright); }

/* 14. Single product page */
.single-product #primary {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
  padding: 2.5rem 0 0;
}
.single-product .woocommerce-breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.single-product .woocommerce-breadcrumb a { color: var(--navy); }
.single-product div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
/* 3.3.1: the gallery is no longer sticky. It used to ride down the whole
 * product column (div.product wraps the lower sections too), floating over
 * the difference band. Now it scrolls away naturally. */
.woocommerce.single-product div.product div.images.woocommerce-product-gallery {
  position: static;
}
.single-product div.product .woocommerce-product-gallery img {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}
/* 3.4.39: no gallery thumbnails under the main product image; the main
 * image still switches by strength selection. */
/* 3.4.40: the little image under the vial is the second gallery image
 * rendered as a .woocommerce-product-gallery__image, so hide every
 * gallery image after the first. */
.single-product .flex-control-thumbs { display: none !important; }
.single-product .woocommerce-product-gallery__image:not(:first-child) { display: none !important; }
.single-product .product_title {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}
.single-product .woocommerce-product-rating { margin-bottom: 0.75rem; }
.single-product div.product p.price,
.single-product div.product span.price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 1rem;
  white-space: nowrap; /* 2.8.7: keep "$150.00 – $420.00" on one line */
}
/* 2.8.7: the "Limpiar" reset link sits under the potency pills; keep it
 * quiet so it doesn't compete with the picker. */
.single-product .reset_variations {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-product .reset_variations:hover { color: var(--navy); }
.single-product .woocommerce-product-details__short-description {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}
.single-product form.cart .variations select {
  width: 100%;
  max-width: 320px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 1rem;
}
/* 2.8.7: "discount active" banner in the cart (green gradient, pill + label) */
.pepven-discount-banner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(100deg, #0d7a4f 0%, #0aa584 60%, #00b8c9 100%);
  color: #fff;
  border-radius: 16px;
  padding: 0.95rem 1.2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 16px 32px -18px rgba(13, 122, 79, 0.6);
}
.pepven-discount-banner-pill {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pepven-discount-banner-copy { margin: 0; font-weight: 600; font-size: 0.95rem; }

/* 3.4.0: slim the volume-discount banner into a compact strip. */
.pepven-discount-banner {
  gap: 0.7rem;
  border-radius: 10px;
  padding: 0.55rem 1rem;
  margin-bottom: 1rem;
  box-shadow: none;
}
.pepven-discount-banner-pill { font-size: 0.72rem; padding: 0.25rem 0.65rem; }
.pepven-discount-banner-copy { font-size: 0.85rem; }

/* 3.4.2: promo percent badge overlaid on the product image. */
.woocommerce.single-product span.onsale.pepven-sale-badge,
.woocommerce-page.single-product span.onsale.pepven-sale-badge {
  background: linear-gradient(135deg, #00b8c9 0%, #0d7a4f 100%);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  min-height: 0;
  min-width: 0;
  line-height: 1.4;
  box-shadow: 0 10px 24px -10px rgba(0, 184, 201, 0.7);
  top: 1rem;
  left: 1rem;
  right: auto;
}

/* 3.4.1: full rewards panel with icon cards. */
.rewards-panel {
  background: linear-gradient(140deg, #0a1633 0%, #12305e 60%, #1b3a6e 100%);
  border-radius: 26px;
  padding: 3rem 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 22, 51, 0.55);
}
.rewards-panel::before {
  content: ""; position: absolute; top: -140px; right: -100px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 201, 0.22) 0%, rgba(0, 184, 201, 0) 70%);
  pointer-events: none;
}
.rewards-head { text-align: center; max-width: 36rem; margin: 0 auto 2.25rem; position: relative; }
.rewards-head .eyebrow { color: #5eead4; }
.rewards-head h2 { color: #fff; }
.rewards-head .section-sub { color: rgba(255, 255, 255, 0.78); }
.rewards-grid {
  display: grid; gap: 1rem; position: relative;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2.25rem;
}
.reward-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.reward-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 184, 201, 0.25), rgba(0, 184, 201, 0.08));
  border: 1px solid rgba(94, 234, 212, 0.35);
  color: #5eead4; margin-bottom: 0.9rem;
}
.reward-icon svg { width: 26px; height: 26px; }
.reward-card strong { display: block; font-size: 1.05rem; margin-bottom: 0.35rem; }
.reward-card p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.rewards-cta { text-align: center; position: relative; }
.rewards-note { margin: 0.8rem 0 0; color: rgba(255, 255, 255, 0.65); font-size: 0.88rem; }
@media (max-width: 720px) {
  .rewards-panel { padding: 2.25rem 1.4rem; }
  .rewards-grid { grid-template-columns: 1fr; }
}

/* No-JS fallback: plain bordered input if the stepper script fails. */
.single-product form.cart .quantity input.qty {
  padding: 0.7rem 0.5rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  width: 4.5rem;
  text-align: center;
  font-family: var(--font);
}
/* 2.8.7: ValueReach-inspired quantity stepper + stacked buy box.
 * The native number input becomes a rounded pill with − / + buttons
 * (JS injects the buttons and the "Cantidad" label). The stepper sits on
 * its own row with a small-caps label; the CTA is full-width below it. */
.single-product .qty-wrap { margin: 0 0 1rem; }
.single-product .qty-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.single-product form.cart .quantity.qty-stepper {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem;
  min-height: 54px;
  box-shadow: var(--shadow-soft);
}
.single-product form.cart .quantity.qty-stepper input.qty {
  border: none;
  background: transparent;
  width: 3rem;
  padding: 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font);
  -moz-appearance: textfield;
  appearance: textfield;
}
.single-product form.cart .quantity.qty-stepper input.qty::-webkit-outer-spin-button,
.single-product form.cart .quantity.qty-stepper input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.single-product form.cart .quantity.qty-stepper input.qty:focus { outline: none; }
.single-product .qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.single-product .qty-btn:hover { background: var(--tint); }
.single-product .qty-btn:active { transform: scale(0.9); }
.single-product .qty-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.single-product form.cart .single_add_to_cart_button {
  display: block;
  float: none;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-bright));
  color: #04222b;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(0, 184, 201, 0.55);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, filter 0.2s ease;
}
.single-product form.cart .single_add_to_cart_button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(0, 184, 201, 0.65);
}
.single-product form.cart .single_add_to_cart_button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
/* 2.8.3: WooCommerce floats the add-to-cart button; clear it so the blocks
 * below the form (research notice, perks, bulk table) never slide under it. */
.single-product form.cart::after { content: ""; display: block; clear: both; }

/* ==========================================================================
 * 2.9.0 PREMIUM PRODUCT PAGE OVERHAUL
 * Inspired by best-in-class peptide stores: live indicators, premium spacing,
 * bold CTAs, and micro-animations that make the page feel alive.
 * ========================================================================== */

/* Live stock indicator with pulsing dot */
@keyframes pepven-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes pepven-pulse-dot-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.pepven-stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #15803d;
}
.pepven-stock-indicator.out-of-stock {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}
.pepven-stock-indicator.preorder {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}
.pepven-stock-indicator.preorder .pepven-stock-dot {
  background: #f59e0b;
  animation: pepven-pulse-dot-amber 2s infinite;
}
@keyframes pepven-pulse-dot-amber {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
p.stock.preorder-stock { color: #b45309; font-weight: 700; }
.pepven-preorder-notice {
  margin: 0 0 1.1rem;
  padding: 1rem 1.1rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 16px;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #92400e;
}
.pepven-preorder-notice .pepven-notice-icon svg {
  width: 22px; height: 22px; fill: #d97706; display: block;
}
.pepven-preorder-notice .pepven-notice-copy { margin: 0; }
.pepven-preorder-notice .pepven-notice-copy strong { margin-right: 0.35rem; }
/* 3.4.57: split-shipping notice atop cart/checkout when a cart mixes
 * in-stock and preorder items (owner decision 2026-10-03: in-stock
 * ships right away, preorder follows on its own). Rendered server-side
 * by pepven_split_ship_notice(), outside the Blocks React root. */
.pepven-split-ship-notice {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1.1rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #92400e;
}
/* 3.4.56: the preorder flag inside cart/checkout line items must not be
 * missed (owner request). Red + bold on the whole entry. The class is
 * added by flagPreorderLines() in js/i18n.js; the attribute selector
 * covers Woo's per-item slug class before JS runs. */
.wc-block-components-product-details [class*="__preventa"],
.wc-block-components-product-details li.pepven-preorder-flag {
  color: #c8102e;
  font-weight: 700;
}
/* 3.4.69: space between cart/checkout item meta name and value
 * (renders "Preorder: Ships in about 2 weeks", not "Preorder:Ships"). */
.wc-block-components-product-details__name::after { content: "\00a0"; }
.pepven-stock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  animation: pepven-pulse-dot 2s infinite;
  flex-shrink: 0;
}
.pepven-stock-indicator.out-of-stock .pepven-stock-dot {
  background: #ef4444;
  animation: pepven-pulse-dot-red 2s infinite;
}

/* Premium product title */
.single-product .product_title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--navy);
}

/* Premium price */
.single-product div.product p.price,
.single-product div.product span.price {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 1.25rem;
}

/* Premium potency pills - larger, bolder, with pop */
.single-product .variant-row {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  max-width: none;
}
.single-product .variant-pill {
  flex: 1;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  text-align: center;
  transition: all 0.25s var(--ease-out-expo);
}
.single-product .variant-pill:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(0, 184, 201, 0.4);
}
.single-product .variant-pill.active,
.single-product .variant-pill.is-active,
.single-product .variant-pill[aria-pressed="true"] {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 184, 201, 0.12), rgba(0, 184, 201, 0.05));
  color: var(--cyan-dark);
  box-shadow: 0 8px 24px -8px rgba(0, 184, 201, 0.45);
}

/* Premium quantity + ATC row */
.single-product .qty-wrap {
  margin: 0 0 1.25rem;
}
.single-product .qty-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

/* Fade-in animation for product sections */
@keyframes pepven-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.single-product div.product .summary > * {
  animation: pepven-fade-up 0.6s var(--ease-out-expo) backwards;
}
.single-product div.product .summary > *:nth-child(2) { animation-delay: 0.05s; }
.single-product div.product .summary > *:nth-child(3) { animation-delay: 0.1s; }
.single-product div.product .summary > *:nth-child(4) { animation-delay: 0.15s; }
.single-product div.product .summary > *:nth-child(5) { animation-delay: 0.2s; }
.single-product div.product .summary > *:nth-child(6) { animation-delay: 0.25s; }
/* 2.8.7: research-use notice as a proper amber warning box —
 * icon tile + heading + body, modeled on best-in-class notice patterns. */
.pepven-research-notice {
  clear: both;
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  background: #fef9e7;
  border: 1px solid #eedf9f;
  border-radius: 16px;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: #6b5518;
  box-shadow: 0 10px 24px -18px rgba(180, 140, 20, 0.5);
}
.pepven-notice-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(217, 164, 32, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pepven-notice-icon svg { width: 20px; height: 20px; fill: #b8860b; }
.pepven-notice-copy { margin: 0; }
.pepven-notice-copy strong {
  display: block;
  color: #5c4a12;
  margin-bottom: 0.15rem;
}
.single-product .product_meta {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
  display: grid;
  gap: 0.25rem;
}
.pepven-pd-details {
  grid-column: 1 / -1;
  margin: 3rem 0 0;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}
.pepven-pd-details h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 1rem;
}
.pepven-pd-desc { color: var(--ink-soft); font-size: 1.02rem; }
.pepven-pd-desc p { margin: 0 0 1rem; }
.pepven-pd-specs {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.pepven-pd-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.pepven-pd-specs li:last-child { border-bottom: 1px solid var(--line); }
.pepven-pd-specs strong { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.pepven-pd-specs span { font-size: 0.9rem; color: var(--muted); text-align: right; }

/* ---------------------------------------------------------------------------
 * 2.7.0: Apple-style compare section.
 * ------------------------------------------------------------------------- */

.section-compare { background: #f5f5f7; }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
.compare-card {
  background: #fff;
  border-radius: 18px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(10, 22, 51, 0.06);
}
.compare-card img {
  width: auto; max-width: 100%; height: 130px; object-fit: contain;
  margin-bottom: 1.25rem;
}
.compare-card h3 { font-size: 1.35rem; letter-spacing: -0.01em; margin: 0 0 0.35rem; }
.compare-mech { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.25rem; min-height: 2.6em; }
.compare-rows { margin: 0 0 1.5rem; text-align: left; }
.compare-rows > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.7rem 0; border-top: 1px solid #e8e8ed; font-size: 0.9rem;
}
.compare-rows > div:last-child { border-bottom: 1px solid #e8e8ed; }
.compare-rows dt { color: var(--ink); font-weight: 600; }
.compare-rows dd { margin: 0; color: var(--muted); }
.compare-rows dd small { font-size: 0.75rem; }
.compare-link {
  color: #0071e3; font-weight: 600; font-size: 1rem; text-decoration: none;
}
.compare-link:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .compare-grid { grid-template-columns: 1fr; max-width: 480px; }
  .compare-mech { min-height: 0; }
}
.single-product .related.products { margin: 0 0 3rem; }
.single-product .related.products > h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 1.25rem;
}
.single-product .related.products ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.single-product .related.products ul.products li.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  padding: 1rem;
  text-align: left;
}
.single-product .related.products ul.products li.product img { border-radius: 10px; }
.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem;
  color: var(--navy);
  padding: 0.6rem 0 0.2rem;
}
.single-product .related.products ul.products li.product .price {
  color: var(--navy);
  font-weight: 700;
}
.single-product .related.products ul.products li.product .button {
  margin-top: 0.5rem;
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
/* Card title/image links */
.product-card h2 a { color: inherit; text-decoration: none; }
.product-card h2 a:hover { color: var(--cyan-dark, #0a7d8c); }
.product-card .product-media a { display: block; }
@media (max-width: 860px) {
  /* 2.8.9: tighten the top of the product page on phones: less air between
   * the header, the breadcrumb, and the product image. */
  .single-product #primary { padding-top: 1.25rem; }
  .single-product .woocommerce-breadcrumb { margin-bottom: 0.75rem; }
  .single-product div.product { grid-template-columns: 1fr; gap: 1.25rem; }
  /* 2.8.11: Fix specificity (beat WooCommerce 0,3,2) and reset top. The old
     rule lost the specificity battle, leaving position:relative + top:100px
     which pushed the gallery down 100px on mobile. */
  .woocommerce.single-product div.product div.images.woocommerce-product-gallery { position: static; top: auto; }
  .single-product .product_title { font-size: 1.6rem; }

  /* 2.8.11: Mobile homepage polish. */
  .hero h1 { font-size: 2.1rem; line-height: 1.15; }
  .hero-sub { font-size: 1.02rem; }
  .hero-buttons { flex-direction: row; flex-wrap: nowrap; }
  .hero-buttons .btn { flex: 1 1 0; padding: 0.85rem 0.5rem; font-size: 0.95rem; white-space: nowrap; text-align: center; }
}

/* 15. Bulk quantity discounts */
.pepven-bulk {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: var(--tint);
  max-width: 440px;
}
.pepven-bulk h4 { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--navy); }
.pepven-bulk table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.pepven-bulk td { padding: 0.35rem 0; color: var(--ink-soft); border-top: 1px dashed var(--line); }
.pepven-bulk tr:first-child td { border-top: none; }
.pepven-bulk td:last-child { text-align: right; color: var(--navy); white-space: nowrap; }
.pepven-bulk-note { margin: 0.7rem 0 0; font-size: 0.85rem; color: var(--muted); }
.pepven-bulk-note a { color: var(--cyan-dark, #0a7d8c); font-weight: 700; }
.bulk-page-note { text-align: center; margin: 1rem 0 0; color: var(--muted); font-size: 0.95rem; }
.bulk-page-note a { color: var(--cyan-dark, #0a7d8c); font-weight: 700; }

/* ==========================================================================
   16. 22 Peptides 2.0 design system: motion language + bilingual chrome
   ========================================================================== */

:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3 { font-family: var(--font-display); }

/* Cinematic reveal: rise + deblur, staggered per sibling group */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo),
    filter 1s var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}
.js .reveal.visible { opacity: 1; transform: none; filter: blur(0); }

/* 2.8.7: .reveal's transform/transition (0,3,0) beats plain :hover lifts
 * (0,2,0), so cards felt dead on hover — the lift never applied and the
 * shadow snapped instead of animating. Re-assert hover motion above it. */
.js .reveal.visible:not(:hover) { transform: none; }
.js .reveal.visible.product-card:hover {
  transform: translateY(-8px);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.35s ease;
}
.js .reveal.visible.category-card:hover,
.js .reveal.visible.trust-card:hover,
.js .reveal.visible.discount-card:hover {
  transform: translateY(-6px);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.35s ease;
}
.js .reveal.visible.step:hover {
  transform: translateY(-5px);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.35s ease;
}

/* Announcement: slow ambient sheen */
.announcement {
  background: linear-gradient(100deg, var(--navy-deep) 20%, #10235a 50%, var(--navy-deep) 80%);
  background-size: 220% 100%;
  animation: announceDrift 14s ease-in-out infinite alternate;
}
@keyframes announceDrift {
  from { background-position: 0% 0; }
  to { background-position: 100% 0; }
}

/* Hero: ambient background layer */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 38% at 88% 8%, rgba(0, 184, 201, 0.16) 0%, rgba(0, 184, 201, 0) 70%),
    radial-gradient(36% 32% at 8% 92%, rgba(43, 212, 227, 0.1) 0%, rgba(43, 212, 227, 0) 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
}

/* Hero entrance choreography (3.4.44: flat copy stack again) */
.js .hero-anim { opacity: 0; }
.js .hero-anim {
  animation: heroIn 1.1s var(--ease-out-expo) forwards;
}
.js .hero-inner > .hero-anim:nth-child(1) { animation-delay: 0.05s; }
.js .hero-inner > .hero-anim:nth-child(2) { animation-delay: 0.16s; }
.js .hero-inner > .hero-anim:nth-child(3) { animation-delay: 0.28s; }
.js .hero-inner > .hero-anim:nth-child(4) { animation-delay: 0.4s; }
.js .hero-inner > .hero-anim:nth-child(5) { animation-delay: 0.52s; }
.js .hero-inner > .hero-anim:nth-child(6) { animation-delay: 0.64s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Gradient accent word */
.grad {
  background: linear-gradient(100deg, #7ce7f2 0%, var(--cyan-bright) 45%, #7ce7f2 90%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 7s ease-in-out infinite alternate;
}
@keyframes gradShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* Button shine sweep */
.btn { transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), background 0.3s ease, filter 0.3s ease, border-color 0.3s ease; }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -90%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease-out-expo);
  pointer-events: none;
}
.btn-shine:hover::after { left: 140%; }

/* Product cards: lift + media zoom */
.product-card {
  transition: transform 0.55s var(--ease-out-expo), box-shadow 0.55s var(--ease-out-expo), border-color 0.4s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(0, 184, 201, 0.35);
}
.product-media { overflow: hidden; }
.product-media img { transition: transform 0.9s var(--ease-out-expo); }
.product-card:hover .product-media img { transform: scale(1.07); }

/* Category + trust + step cards: gentle lift */
.category-card, .trust-card, .step {
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.4s ease;
}
.category-card:hover, .trust-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

/* Hidden overlays must leave hit testing entirely */
.age-gate[hidden], .lang-modal-backdrop[hidden] { display: none !important; }

/* Language button */
.lang-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 0.5rem 0.85rem;
  font-family: var(--font); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
  color: var(--navy); cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.lang-btn:hover { border-color: var(--cyan); color: var(--cyan-dark); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.lang-btn .icon { width: 18px; height: 18px; }

/* Language modal */
.lang-modal-backdrop {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(6, 13, 32, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 0.28s ease;
}
.lang-modal-backdrop.is-open { opacity: 1; }
.lang-modal {
  width: min(380px, 100%);
  background: #fff; border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 40px 90px -20px rgba(6, 13, 32, 0.45);
  transform: translateY(18px) scale(0.96);
  transition: transform 0.34s var(--ease-out-expo);
}
.lang-modal-backdrop.is-open .lang-modal { transform: none; }
.lang-modal-title { margin-bottom: 1.1rem; }
.lang-option {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; margin: 0 0 0.7rem; padding: 1rem 1.15rem;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  cursor: pointer; text-align: left; font-family: var(--font);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.lang-option:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.lang-option.is-active { border-color: var(--cyan); background: rgba(0, 184, 201, 0.07); }
.lang-option-name { display: block; font-weight: 800; font-size: 1.02rem; color: var(--navy); }
.lang-option-sub { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }
.lang-check {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cyan); color: #06333a; font-weight: 800;
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out-expo);
}
.lang-option.is-active .lang-check { opacity: 1; transform: scale(1); }
.lang-modal-close {
  display: block; width: 100%; margin-top: 0.4rem; padding: 0.7rem;
  border: 0; background: none; cursor: pointer;
  font-family: var(--font); font-size: 0.88rem; font-weight: 600; color: var(--muted);
  transition: color 0.25s ease;
}
.lang-modal-close:hover { color: var(--navy); }

/* Contact panel is single-column now (newsletter removed) */
@media (min-width: 860px) {
  .contact-panel { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
}

/* Age gate: softer entrance */
.age-gate-card { animation: gateIn 0.7s var(--ease-out-expo); }
@keyframes gateIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* FAQ: smoother open */
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out-expo); }
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div, .faq-answer > p { overflow: hidden; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero-anim { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .announcement, .grad { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* 17. Quantity discounts band */
.discount-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.75rem;
  padding-top: 0.9rem; /* 2.8.7: clearance for the straddling badge */
}
@media (min-width: 720px) { .discount-grid { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin-inline: auto; } }
.discount-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.4s ease;
}
.discount-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.discount-card.is-popular {
  border: 1.5px solid var(--cyan);
  background: linear-gradient(170deg, #ffffff 0%, rgba(0, 184, 201, 0.07) 100%);
  box-shadow: 0 24px 50px -20px rgba(0, 184, 201, 0.4);
}
.discount-card .discount-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan));
  color: #06333a; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.35rem 1rem; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(0, 184, 201, 0.7);
}
.discount-card .discount-badge::before { display: none; }
.discount-tier { font-weight: 700; color: var(--muted); margin: 0 0 0.25rem; font-size: 0.95rem; }
.discount-pct {
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em;
  margin: 0; line-height: 1.1;
  background: linear-gradient(180deg, var(--cyan-dark) 0%, #06333a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.discount-card.is-popular .discount-pct {
  background: linear-gradient(180deg, var(--cyan-bright) 0%, var(--cyan-dark) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.discount-note { color: var(--muted); margin: 0.25rem 0 0; font-size: 0.9rem; }
.discount-fine { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0; }

/* 18. How ordering works */
.how-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-card {
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, var(--tint) 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem 1.75rem 1.75rem;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}
.how-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.how-num {
  font-family: var(--font-display);
  font-size: 3.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(180deg, rgba(0, 184, 201, 0.35) 0%, rgba(0, 184, 201, 0.08) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 0.9rem;
}
.how-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.how-card p { margin: 0; color: var(--muted); line-height: 1.65; }

/* 19. Free shipping note + product bulk lead */
.discount-ship {
  text-align: center; margin: 1rem 0 0;
  font-weight: 700; color: var(--cyan-dark); font-size: 1rem;
}
.pepven-bulk-lead { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.9rem; }

/* ==========================================================================
   20. WooCommerce pages: shop, cart, checkout, account
   ========================================================================== */

/* Page header banner */
.wc-page-head {
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(0, 184, 201, 0.18) 0%, rgba(0, 184, 201, 0) 70%),
    linear-gradient(120deg, var(--navy-deep) 0%, #0d1b3f 100%);
  color: #fff;
  padding: 3.25rem 0;
  margin-bottom: 0;
}
.wc-page-head h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
}

/* Outline button for light backgrounds */
.btn-outline {
  border: 1.5px solid rgba(0, 151, 167, 0.45);
  color: var(--cyan-dark);
  background: #fff;
}
.btn-outline:hover { border-color: var(--cyan-dark); background: rgba(0, 184, 201, 0.07); }
.catalog-more { text-align: center; margin-top: 2.25rem; }

/* Shop grid */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.75rem;
  margin: 0 0 3rem;
  padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(0, 184, 201, 0.35);
}
.woocommerce ul.products li.product a img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin: 0;
  transition: transform 0.8s var(--ease-out-expo);
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.05); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  padding: 1.1rem 1.25rem 0;
  margin: 0;
}
.woocommerce ul.products li.product .price {
  color: var(--cyan-dark);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.4rem 1.25rem 0;
  margin: 0;
}
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button {
  margin: auto 1.25rem 1.25rem;
  margin-top: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan-bright) 0%, var(--cyan) 100%);
  color: #06333a;
  font-weight: 700; font-size: 0.92rem;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, filter 0.3s ease;
}
.woocommerce ul.products li.product .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(0, 184, 201, 0.6);
  filter: brightness(1.04);
}
.woocommerce ul.products li.product .added_to_cart {
  display: block; text-align: center;
  padding: 0 1.25rem 1.25rem;
  color: var(--cyan-dark); font-weight: 700; font-size: 0.9rem;
}

/* Result count + ordering */
.woocommerce .woocommerce-result-count { color: var(--muted); }
.woocommerce .woocommerce-ordering select {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 0.6rem 0.9rem; font-family: var(--font);
  background: #fff; color: var(--navy);
}

/* Breadcrumbs + pagination */
.woocommerce .woocommerce-breadcrumb { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--cyan-dark); text-decoration: none; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 0.6rem 1rem; margin: 0 0.2rem;
  color: var(--navy); background: #fff;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--navy-deep); color: #fff; border-color: var(--navy-deep);
}

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: 16px;
  border: 1px solid var(--line);
  border-top-width: 3px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 0.95rem;
}
.woocommerce-message { border-top-color: #16a34a; }
.woocommerce-info { border-top-color: var(--cyan); }
.woocommerce-error { border-top-color: #dc2626; }

/* Cart */
.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  border-collapse: separate;
  background: #fff;
}
.woocommerce table.shop_table th {
  background: var(--tint);
  font-family: var(--font-display);
  color: var(--navy);
  padding: 1rem;
}
.woocommerce table.shop_table td { padding: 1rem; border-top: 1px solid var(--line); }
.woocommerce table.shop_table .product-name a { color: var(--navy); font-weight: 700; text-decoration: none; }
.woocommerce table.shop_table .product-price .amount,
.woocommerce table.shop_table .product-subtotal .amount { font-weight: 700; color: var(--navy); }
.woocommerce .cart_totals h2 { font-size: 1.4rem; }
.woocommerce .cart_totals table.shop_table td { text-align: right; }
.woocommerce a.remove { color: #dc2626 !important; }
.woocommerce a.remove:hover { background: #dc2626 !important; color: #fff !important; }
.woocommerce .quantity .qty {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 0.55rem; width: 4.2rem;
  font-family: var(--font); text-align: center;
}

/* Coupon + buttons on cart */
.woocommerce table.shop_table td.actions .coupon .input-text {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.7rem 1.1rem; width: 220px;
  font-family: var(--font);
}
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 700; font-family: var(--font);
  background: linear-gradient(180deg, var(--cyan-bright) 0%, var(--cyan) 100%);
  color: #06333a;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, filter 0.3s ease;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(0, 184, 201, 0.6);
  filter: brightness(1.04);
}
.woocommerce button.button:disabled,
.woocommerce button.button:disabled:hover { transform: none; box-shadow: none; filter: none; }

/* Checkout */
.woocommerce-checkout h3 { font-size: 1.3rem; margin: 2rem 0 1.25rem; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 0.85rem 1rem;
  font-family: var(--font); font-size: 0.98rem;
  background: #fff; color: var(--navy);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--cyan); outline: none;
  box-shadow: 0 0 0 3px rgba(0, 184, 201, 0.15);
}
.woocommerce form .form-row label { font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
#order_review_heading { margin-top: 2.5rem; }
.woocommerce-checkout-review-order {
  border: 1px solid var(--line); border-radius: 20px;
  padding: 1.75rem; background: #fff;
  box-shadow: var(--shadow-soft);
}
.wc_payment_methods { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.wc_payment_methods li {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.25rem; margin-bottom: 0.75rem;
}
.wc_payment_methods li label { font-weight: 700; color: var(--navy); }

/* ------------------------------------------------------------------
 * 3.4.28: Premium block checkout (WooCommerce Checkout block).
 * The theme's classic-checkout rules above don't touch the block
 * markup (.wc-block-*), so the block rendered with raw Woo defaults.
 * This brings it in line with the brand: card sections, premium order
 * summary, unified discount rows, branded place-order button.
 * ------------------------------------------------------------------ */

/* Two-column layout breathing room */
.wc-block-checkout__main { padding-right: 0.5rem; }

/* Each checkout step as a clean card */
.wc-block-checkout .wc-block-components-checkout-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}
.wc-block-checkout .wc-block-components-checkout-step__heading {
  margin-bottom: 1.1rem;
}
.wc-block-checkout .wc-block-components-checkout-step__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.wc-block-checkout .wc-block-components-checkout-step__description {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Block inputs match the theme's rounded fields */
.wc-block-checkout .wc-block-components-text-input input[type="text"],
.wc-block-checkout .wc-block-components-text-input input[type="email"],
.wc-block-checkout .wc-block-components-text-input input[type="tel"],
.wc-block-checkout .wc-block-components-text-input input[type="number"],
.wc-block-checkout .wc-block-components-text-input textarea,
.wc-block-checkout .wc-block-components-combobox input,
.wc-block-checkout .wc-block-components-select select {
  border-radius: 14px !important;
  border: 1px solid var(--line) !important;
  padding: 0.85rem 1rem !important;
  font-family: var(--font);
  color: var(--navy);
  background: #fff;
}
.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout .wc-block-components-text-input textarea:focus,
.wc-block-checkout .wc-block-components-combobox input:focus {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 3px rgba(0, 184, 201, 0.15) !important;
}
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-block-components-combobox label {
  color: var(--muted);
  font-weight: 600;
}
.wc-block-checkout .wc-block-components-checkbox label {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
.wc-block-checkout .wc-block-components-checkbox__mark {
  border-radius: 6px;
}

/* 21+ research attestation: a distinct but compact mandatory consent card */
.wc-block-checkout [id*="research-attest"],
.wc-block-checkout [class*="research-attest"] {
  background: #f0f7ff;
  border: 1px solid #c9def7;
  border-left: 3px solid var(--navy);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
}
.wc-block-checkout [id*="research-attest"] label,
.wc-block-checkout [class*="research-attest"] label {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.84rem;
  line-height: 1.45;
}
.wc-block-checkout [id*="research-attest"] .wc-block-components-checkbox__mark,
.wc-block-checkout [class*="research-attest"] .wc-block-components-checkbox__mark {
  width: 20px;
  height: 20px;
}
.wc-block-checkout [id*="research-attest"] strong,
.wc-block-checkout [class*="research-attest"] strong {
  color: var(--navy);
}

/* Implied-consent terms line: quieter */
.wc-block-checkout .wc-block-components-checkout-terms {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Place order: full-width branded button */
.wc-block-checkout .wc-block-checkout__actions .wc-block-components-checkout-place-order-button {
  width: 100%;
  border-radius: 999px;
  padding: 1rem 1.8rem;
  font-weight: 700;
  font-family: var(--font);
  font-size: 1.02rem;
  background: linear-gradient(180deg, var(--cyan-bright) 0%, var(--cyan) 100%);
  color: #06333a;
  border: none;
  box-shadow: 0 14px 30px -12px rgba(0, 184, 201, 0.65);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, filter 0.3s ease;
}
.wc-block-checkout .wc-block-checkout__actions .wc-block-components-checkout-place-order-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(0, 184, 201, 0.7);
  filter: brightness(1.04);
}

/* ---- Order summary sidebar ---- */
.wc-block-checkout__sidebar .wc-block-components-order-summary,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.6rem;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary__title,
.wc-block-checkout__sidebar .wc-block-components-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

/* Product rows: tidy, description clamped */
/* 3.4.33: back to Woo's default row layout (it rendered fine before the
 * theme started overriding it) — spacing and cosmetics only here. */
.wc-block-checkout__sidebar .wc-block-components-order-summary-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
/* 3.4.29: fixed square thumbnail, image always fills it. */
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__image {
  width: 64px !important;
  height: 64px !important;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  background: #f7fafd;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}
/* 3.4.30: clamp only the short-description paragraph, never the whole
 * description block (it also holds the product name, prices and
 * variation/strength attributes). */
.wc-block-checkout__sidebar .wc-block-components-product-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.15rem;
  line-height: 1.35;
}
.wc-block-checkout__sidebar .wc-block-components-product-metadata__description p {
  color: var(--muted);
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0.25rem 0 0;
}
/* Variation / strength attributes (e.g. 15 mg) read clearly. */
.wc-block-checkout__sidebar .wc-block-components-product-metadata__variation {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.wc-block-checkout__sidebar .wc-block-components-product-metadata__variation .wc-block-components-product-metadata__key {
  font-weight: 700;
  color: var(--navy);
}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__quantity {
  background: var(--navy);
  color: #fff;
}
.wc-block-checkout__sidebar .wc-block-components-product-badge {
  background: var(--green-bg);
  color: var(--green);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
}
/* 3.4.29: sale price on one line — crossed regular first, bold sale price. */
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__individual-prices {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__individual-prices del {
  color: var(--muted);
  font-size: 0.85em;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__individual-prices ins {
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05em;
}

/* Discount rows (coupons / gift card / points): one consistent pattern.
 * 3.4.29: real classes from the live DOM. The gift-card slot
 * (.slot-wrapper) renders between Subtotal and Shipping, so pull it up
 * next to the coupons via flex order. */
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-totals-block,
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper.slot-wrapper {
  display: flex;
  flex-direction: column;
}
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-totals-block > .slot-wrapper {
  order: -1;
  margin-bottom: 0.5rem;
}
.wc-block-checkout__sidebar .wc-block-components-panel__button,
.wc-block-checkout__sidebar .presentero-gc-block__toggle,
.wc-block-checkout__sidebar #wps_wpr_button_to_add_points_section a {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px dashed #b9c6dd;
  background: #f7fafd;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  font-family: var(--font);
  margin-bottom: 0.6rem;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.wc-block-checkout__sidebar .wc-block-components-panel__button:hover,
.wc-block-checkout__sidebar .presentero-gc-block__toggle:hover,
.wc-block-checkout__sidebar #wps_wpr_button_to_add_points_section a:hover {
  border-color: var(--cyan);
  color: var(--cyan-dark);
}
.wc-block-checkout__sidebar #wps_wpr_button_to_add_points_section {
  margin: 0;
}
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__form input {
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
}

/* 3.4.29: injected "You're saving" row (JS-summed from sale badges). */
.wc-block-checkout__sidebar .pepven-savings-row {
  padding: 0.55rem 0;
}
.wc-block-checkout__sidebar .pepven-savings-row .wc-block-components-totals-item__label,
.wc-block-checkout__sidebar .pepven-savings-row .wc-block-components-totals-item__value {
  color: var(--green);
  font-weight: 700;
}

/* ------------------------------------------------------------------
 * 3.4.30: expanded discount forms (coupon / points / gift card).
 * ------------------------------------------------------------------ */
.wc-block-checkout__sidebar .wc-block-components-panel__content {
  padding-top: 0.6rem;
}
/* Coupon form: input + Apply side by side. */
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__input {
  flex: 1;
  min-width: 0;
}
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__input input {
  border-radius: 12px !important;
  width: 100%;
}
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__button {
  border-radius: 999px !important;
  background: var(--navy) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: var(--font) !important;
  padding: 0.7rem 1.4rem !important;
  border: none !important;
  white-space: nowrap;
  align-self: center;
  /* 3.4.34: never grow; the input takes the free space. */
  flex: 0 0 auto !important;
}
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__button:hover:not(:disabled) {
  background: var(--cyan-dark) !important;
}
/* Points redemption form (rewards plugin). */
.wc-block-checkout__sidebar .wps_wpr_apply_custom_points {
  border: 1px dashed #b9c6dd;
  background: #f7fafd;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.wc-block-checkout__sidebar .wps_wpr_apply_custom_points input[type="number"] {
  flex: 1;
  min-width: 0;
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  padding: 0.7rem 0.9rem !important;
  font-family: var(--font);
  color: var(--navy);
  background: #fff;
}
/* 3.4.31: target the button by ID — the plugin styles it by ID too,
 * which beats class selectors. */
.wc-block-checkout__sidebar #wps_cart_points_apply {
  border-radius: 999px !important;
  background: var(--navy) !important;
  color: #fff !important;
  font-weight: 700;
  font-family: var(--font);
  padding: 0.7rem 1.2rem !important;
  border: none !important;
  white-space: nowrap;
  cursor: pointer;
  width: auto !important;
  flex: 0 0 auto !important;
  display: inline-block !important;
}
.wc-block-checkout__sidebar #wps_cart_points_apply:hover {
  background: var(--cyan-dark) !important;
}
.wc-block-checkout__sidebar #wps_cart_points {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
}
.wc-block-checkout__sidebar .wps_wpr_apply_custom_points p {
  width: 100%;
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
/* Gift card form (Presentero block). */
.wc-block-checkout__sidebar .presentero-gc-block__row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
  align-items: stretch;
}
.wc-block-checkout__sidebar .presentero-gc-block__input {
  flex: 1;
  min-width: 0;
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  padding: 0.7rem 0.9rem !important;
  font-family: var(--font);
  color: var(--navy);
  background: #fff;
}
.wc-block-checkout__sidebar .presentero-gc-block__apply {
  border-radius: 999px !important;
  background: var(--navy) !important;
  color: #fff !important;
  font-weight: 700;
  font-family: var(--font);
  padding: 0.7rem 1.4rem !important;
  border: none !important;
  white-space: nowrap;
  cursor: pointer;
}
.wc-block-checkout__sidebar .presentero-gc-block__apply:hover {
  background: var(--cyan-dark) !important;
}

/* Totals: clear hierarchy, premium total row */
.wc-block-checkout__sidebar .wc-block-components-totals-item {
  padding: 0.55rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.wc-block-checkout__sidebar .wc-block-components-totals-item__label {
  font-weight: 500;
}
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item {
  border-top: 2px solid var(--navy);
  margin-top: 0.5rem;
  padding-top: 1rem;
}
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
}
.wc-block-checkout__sidebar .wc-block-components-totals-shipping__label,
.wc-block-checkout__sidebar .wc-block-components-totals-taxes__label {
  color: var(--muted);
}

/* Payment section inside the form column */
.wc-block-checkout .wc-block-components-payment-method {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.wc-block-checkout .wc-block-components-payment-method label {
  font-weight: 700;
  color: var(--navy);
}
.wc-block-checkout .wc-block-components-notices .wc-block-components-notice-banner.is-error {
  border-radius: 14px;
}

/* Mobile: summary stacks below the form, keep it tight */
@media (max-width: 768px) {
  .wc-block-checkout .wc-block-components-checkout-step {
    padding: 1.15rem 1.2rem;
  }
  .wc-block-checkout__sidebar .wc-block-components-order-summary,
  .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
    padding: 1.2rem 1.25rem;
  }
}

/* Account pages */
/* Account pages - 2.9.20: points hero banner */
.pepven-points-hero {
  background: linear-gradient(135deg, #0a1633 0%, #1b2a5e 55%, #3b2a6e 100%);
  border-radius: 20px; padding: 1.75rem 2rem; margin-bottom: 2rem;
  color: #fff; display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: center; justify-content: space-between;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 45px -20px rgba(10, 22, 51, 0.55);
}
.pepven-points-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35) 0%, transparent 70%);
  pointer-events: none;
}
.pph-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: #c4b5fd; margin-bottom: 0.35rem;
}
.pph-balance { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.pph-balance small { font-size: 1rem; font-weight: 600; color: #c4b5fd; letter-spacing: 0; }
.pph-value { margin-top: 0.4rem; font-size: 0.95rem; color: #dbe4ff; }
.pph-value strong { color: #00e5ff; }
.pph-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; position: relative; z-index: 1; }
.pph-btn {
  display: inline-block; padding: 0.7rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  background: linear-gradient(135deg, #00e5ff, #00b8c9); color: #04263b;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pph-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px -8px rgba(0, 229, 255, 0.6); color: #04263b; }
.pph-btn-ghost {
  background: rgba(255, 255, 255, 0.1); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.pph-btn-ghost:hover { background: rgba(255, 255, 255, 0.18); color: #fff; box-shadow: none; }
.pph-btn-small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
/* Referral link row inside the points hero */
.pph-side { position: relative; z-index: 1; max-width: 100%; }
.pph-refer { margin-top: 1rem; }
.pph-refer-label {
  display: block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: #fcd34d; margin-bottom: 0.45rem;
}
.pph-refer-row { display: flex; gap: 0.5rem; }
.pph-refer-row input {
  flex: 1; min-width: 0; background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px;
  color: #fff; font-size: 0.82rem; padding: 0.55rem 1rem;
  text-overflow: ellipsis;
}
.pph-refer-row input:focus { outline: none; border-color: #fcd34d; }
.pph-refer-note { margin: 0.5rem 0 0; font-size: 0.82rem; color: #dbe4ff; }
@media (max-width: 600px) {
  .pepven-points-hero { padding: 1.4rem 1.25rem; }
  .pph-balance { font-size: 2.1rem; }
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li { margin-bottom: 0.4rem; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block; padding: 0.75rem 1.1rem;
  border: 1px solid var(--line); border-radius: 14px;
  color: var(--navy); font-weight: 600; text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  border-color: var(--cyan); background: rgba(0, 184, 201, 0.06);
}
.woocommerce-account .woocommerce-MyAccount-content { font-size: 0.98rem; line-height: 1.7; }

/* Content wrapper spacing on WC pages */
.woocommerce #primary .site-main,
#primary .woocommerce { padding: 3rem 0 4rem; }

/* Checkout research attestation */
#pepven_research_attest_field {
  background: rgba(0, 184, 201, 0.06);
  border: 1px solid rgba(0, 184, 201, 0.3);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 0 0 1.25rem;
}
#pepven_research_attest_field label { display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; }
#pepven_research_attest_field input[type="checkbox"] { margin-top: 0.25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--cyan-dark); flex-shrink: 0; }
#pepven_research_attest_field span { font-size: 0.92rem; line-height: 1.6; color: var(--navy); }

/* Free-shipping progress bar */
.ship-progress {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.ship-progress-msg { margin: 0 0 0.8rem; font-size: 0.98rem; color: var(--navy); }
.ship-progress-msg strong { color: var(--cyan-dark); font-size: 1.1rem; }
.ship-progress-done { color: #15803d; font-weight: 700; margin-bottom: 0; }
.ship-progress-bar {
  height: 10px; border-radius: 999px;
  background: #e8edf3; overflow: hidden;
}
.ship-progress-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-bright) 100%);
  border-radius: 999px;
  transition: width 0.8s var(--ease-out-expo);
}

/* Frequently bought together */
.cart-cross-sell { margin: 3rem 0 1rem; }
.cart-cross-sell h3 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.cross-sell-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.cross-sell-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.cross-sell-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.cross-sell-card h4 { font-size: 1rem; margin: 0.9rem 1.1rem 0; }
.cross-sell-card h4 a { color: var(--navy); text-decoration: none; }
.cross-sell-price { margin: 0.3rem 1.1rem 0; color: var(--cyan-dark); font-weight: 800; }
.cross-sell-card .btn { margin: 0.9rem 1.1rem 1.1rem; }
.btn-sm { padding: 0.65rem 1.3rem; font-size: 0.88rem; }

/* ---------------------------------------------------------------------------
 * 2.6.0: shop-by-goal filter chip, frequently-bought-together, product FAQ.
 * ------------------------------------------------------------------------- */

.wc-goal-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.9rem; padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px; font-size: 0.9rem; color: #fff;
}
.wc-goal-chip strong { font-weight: 800; }
.wc-goal-chip a {
  color: #fff; font-weight: 700; text-decoration: underline;
  text-underline-offset: 3px;
}
.wc-goal-chip a:hover { opacity: 0.85; }

.pepven-fbt { padding: 3rem 0 0; }
.pepven-fbt h2 { font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; }
.fbt-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.fbt-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.fbt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.fbt-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.fbt-card h3 { font-size: 1rem; margin: 0.9rem 1.1rem 0; }
.fbt-card h3 a { color: var(--navy); text-decoration: none; }
.fbt-price { margin: 0.3rem 1.1rem 0; color: var(--cyan-dark); font-weight: 800; }
.fbt-card .btn { margin: 0.9rem 1.1rem 1.1rem; }

.pepven-pd-faq { padding: 3rem 0 4rem; }
.pepven-pd-faq h2 { font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; }

/* ---------------------------------------------------------------------------
 * 2.6.0: research references (verified PubMed landmark study per peptide).
 * ------------------------------------------------------------------------- */

.pepven-pd-ref { padding: 0 0 3.5rem; }
.pepven-pd-ref h2 { font-size: 1.5rem; margin-bottom: 0.4rem; text-align: center; }
.pepven-pd-ref .ref-note { text-align: center; color: var(--muted, #6b7a89); font-size: 0.9rem; margin: 0 0 1.4rem; }
.pepven-pd-ref .ref-card {
  background: #fff; border: 1px solid var(--line, #e5ecf3); border-radius: 14px;
  padding: 1.4rem 1.6rem; box-shadow: var(--card-shadow, 0 8px 24px rgba(15, 40, 70, 0.06));
}
.pepven-pd-ref .ref-card h3 { font-size: 1.02rem; margin: 0 0 0.5rem; line-height: 1.45; }
.pepven-pd-ref .ref-cite { color: var(--muted, #6b7a89); font-size: 0.88rem; margin: 0 0 0.9rem; }
.pepven-pd-ref .ref-link { font-weight: 700; color: var(--cyan-dark); text-decoration: none; }
.pepven-pd-ref .ref-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------------
 * 2.6.0: buy-box perks, sticky buy bar, cart trust strip, stack includes.
 * ------------------------------------------------------------------------- */

.buy-perks {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: grid; gap: 0.4rem;
}
.buy-perks li {
  font-size: 0.9rem; color: var(--muted-strong, #4a5a6a);
  padding-left: 1.5rem; position: relative;
}
.buy-perks li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--teal, #14b8a6); font-weight: 800;
}
.buy-help { font-size: 0.88rem; margin: 0.8rem 0 0; color: var(--muted, #6b7a89); }
.buy-help a { color: var(--cyan-dark); font-weight: 700; }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: rgba(10, 25, 40, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.6rem 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
}
.sticky-buy-inner {
  display: flex; align-items: center; gap: 0.9rem;
}
.sticky-buy-img img {
  width: 44px; height: 44px; object-fit: cover;
  border-radius: 10px; display: block;
}
.sticky-buy-info { flex: 1; min-width: 0; color: #fff; }
.sticky-buy-info strong {
  display: block; font-size: 0.85rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sticky-buy-price { font-size: 0.9rem; font-weight: 800; color: var(--teal-light, #5eead4); }
.sticky-buy .btn { flex-shrink: 0; }

.cart-trust {
  list-style: none; margin: 1.5rem 0 0; padding: 1rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem;
  background: #f4f8fb; border: 1px solid var(--line);
  border-radius: 14px; font-size: 0.88rem; color: var(--muted-strong, #4a5a6a);
}
.cart-trust li { padding-left: 1.5rem; position: relative; }
.cart-trust li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--teal, #14b8a6); font-weight: 800;
}

.spec-includes span a { color: var(--cyan-dark); font-weight: 700; }

/* ==========================================================================
 * 2.9.2 BOLD PREMIUM REDESIGN
 * Popping colors, moving elements, live indicators. Inspired by best-in-class
 * peptide stores but with our own distinct identity.
 * ========================================================================== */

/* Animated gradient orbs in hero - subtle movement */
@keyframes pepven-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(30px, -20px) scale(1.1); opacity: 0.8; }
}
.hero::before {
  animation: pepven-orb-float 8s ease-in-out infinite;
}

/* LIVE badge - pulsing, attention-grabbing */
@keyframes pepven-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}
.pepven-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  animation: pepven-live-pulse 2s ease-in-out infinite;
}
.pepven-live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pepven-live-pulse 1s ease-in-out infinite;
}

/* Bolder CTA buttons with shine effect */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00b8c9 0%, #00e5ff 100%);
  box-shadow: 0 8px 24px -6px rgba(0, 184, 201, 0.6);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 150%; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -6px rgba(0, 184, 201, 0.7);
}

/* Gradient text for eyebrows - popping color */
.eyebrow {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.hero .eyebrow {
  -webkit-text-fill-color: var(--cyan-bright);
  background: none;
}

/* Product cards - bolder hover with lift and glow */
.product-card {
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(0, 40, 80, 0.25);
}

/* Discount badges - popping */
.discount-pct {
  background: linear-gradient(135deg, #00b8c9, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}
.discount-card.is-popular {
  border: 2px solid var(--cyan);
  box-shadow: 0 16px 40px -12px rgba(0, 184, 201, 0.5);
  transform: scale(1.03);
}

/* Enhanced reveal - more dramatic */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
 * 2.9.3 PRODUCT PAGE FIXES - Limpiar placement + premium ATC button
 * ========================================================================== */

/* Move "Limpiar" (reset variations) inline with Potencia label, subtle */
/* 2.9.3: Actually, hide it entirely. With pill selectors there's no use case
 * for clearing to an unselected state; users just pick the other pill. */
.single-product .reset_variations {
  display: none !important;
}

/* Premium Add to Cart button - gradient, shine, bolder */
.single-product form.cart .single_add_to_cart_button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00a8c9 0%, #00d4ff 50%, #00b8c9 100%);
  background-size: 200% 200%;
  color: #04222b;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 10px 24px -8px rgba(0, 184, 201, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  animation: pepven-btn-shimmer 3s ease infinite;
}
@keyframes pepven-btn-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.single-product form.cart .single_add_to_cart_button::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.single-product form.cart .single_add_to_cart_button:hover::after {
  left: 160%;
}
.single-product form.cart .single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(0, 184, 201, 0.65),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.single-product form.cart .single_add_to_cart_button:active {
  transform: translateY(0);
}

/* ==========================================================================
 * 2.9.4 MOBILE SPACING - Uncram the product page
 * ========================================================================== */

@media (max-width: 767px) {
  /* Stack Potencia label above pills instead of squeezing beside them */
  .single-product table.variations,
  .single-product table.variations tbody,
  .single-product table.variations tr {
    display: block;
    width: 100%;
  }
  .single-product table.variations th.label,
  .single-product table.variations td.value {
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
  }
  .single-product table.variations th.label {
    margin-bottom: 0.6rem;
  }
  .single-product table.variations th.label label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
  }
  /* Pills take full width in a 2-column grid */
  .single-product .variant-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 0 0 1rem;
  }
  .single-product .variant-pill {
    padding: 1.1rem 0.5rem;
    font-size: 1.05rem;
  }

  /* Breathing room, but keep the buy box compact so ATC stays in reach */
  .single-product .product_title {
    margin-bottom: 0.5rem;
    line-height: 1.15;
  }
  .single-product .price {
    margin-bottom: 0.75rem;
  }
  .single-product .woocommerce-product-details__short-description {
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }
  .single-product .qty-wrap {
    margin-bottom: 1rem;
  }
  .single-product form.cart .single_add_to_cart_button {
    margin-bottom: 1.25rem;
  }

  /* 2.9.45: card price stacks vertically so long ranges never clip.
     2.9.46: fixed selector - /shop/ uses .product-price, not Woo .price */
  .product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    line-height: 1.25;
    white-space: normal;
  }
  /* 2.9.45: slimmer discount badge so it never shadows the vial */
  .discount-badge {
    font-size: 0.65rem;
    padding: 0.22rem 0.6rem;
    top: 8px;
    left: 8px;
  }
}

/* ==========================================================================
 * 2.9.5 LIVE TICKER TAPE - scrolling store status (inspired by VRL, our data)
 * ========================================================================== */

.pepven-ticker {
  display: flex;
  align-items: stretch;
  background: #050a1a;
  color: #d7e0f4;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  overflow: hidden;
  border-top: 1px solid rgba(0, 184, 201, 0.2);
  border-bottom: 1px solid rgba(0, 184, 201, 0.2);
  position: relative;
  z-index: 50;
}
.pepven-ticker__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: #0a1128;
  border-right: 1px solid rgba(0, 184, 201, 0.25);
  flex-shrink: 0;
  z-index: 2;
}
.pepven-ticker__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pepven-tape-pulse 1.6s ease-in-out infinite;
}
@keyframes pepven-tape-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); opacity: 0.8; }
}
.pepven-ticker__live-text {
  color: #ef4444;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.pepven-ticker__track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* 3.4.28: fade the right edge so scrolling items clip gracefully. */
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
}
.pepven-ticker__scroll {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: pepven-tape-scroll 30s linear infinite;
  will-change: transform;
}
.pepven-ticker:hover .pepven-ticker__scroll {
  animation-play-state: paused;
}
.pepven-ticker:focus-within .pepven-ticker__scroll {
  animation-play-state: paused;
}
.pepven-ticker-wrap {
  position: relative;
}
.pepven-ticker-pause {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0a1128;
  border: 0;
  border-left: 1px solid rgba(0, 184, 201, 0.25);
  color: #d7e0f4;
  cursor: pointer;
}
.pepven-ticker-pause:hover { color: #fff; }
.pepven-ticker-pause svg { width: 14px; height: 14px; fill: currentColor; }
.pepven-ticker-pause .ticker-icon-play { display: none; }
.pepven-ticker-wrap.is-paused .pepven-ticker__scroll {
  animation-play-state: paused;
}
.pepven-ticker-wrap.is-paused .ticker-icon-pause { display: none; }
.pepven-ticker-wrap.is-paused .ticker-icon-play { display: block; }
.pepven-ticker__track { padding-right: 42px; }
@media (prefers-reduced-motion: reduce) {
  .pepven-ticker__scroll { animation: none; }
  .pepven-ticker__live-dot { animation: none; }
}
@keyframes pepven-tape-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.pepven-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.25rem;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.pepven-ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pepven-ticker__dot--green { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
.pepven-ticker__dot--cyan { background: var(--cyan-bright); box-shadow: 0 0 8px rgba(0, 229, 255, 0.6); }
.pepven-ticker__sep {
  color: rgba(0, 184, 201, 0.4);
  font-size: 0.6rem;
  margin: 0 1.25rem;
}

/* 2.9.5: Data-rich stats - bolder numbers */
.stat-chips li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 184, 201, 0.25);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease;
}
.stat-chips li:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 184, 201, 0.5);
}
.stat-chips strong {
  font-size: 1.65rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--cyan-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1.1;
}

/* ==========================================================================
 * 2.9.6 VISUAL VOLUME TIERS - VRL-style tier cards with progress bars
 * ========================================================================== */

.pepven-bulk-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
}
.pepven-bulk-tier {
  position: relative;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}
.pepven-bulk-tier:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px -4px rgba(0, 40, 80, 0.12);
}
.pepven-bulk-tier.is-top {
  background: linear-gradient(135deg, rgba(0, 184, 201, 0.08), rgba(0, 184, 201, 0.03));
  border-color: var(--cyan);
  border-width: 1.5px;
}
.pepven-bulk-tier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.pepven-bulk-tier-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.pepven-bulk-tier-pct {
  font-size: 1.1rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pepven-bulk-tier-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.pepven-bulk-tier-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-bright));
  border-radius: 999px;
  transition: width 0.8s var(--ease-out-expo);
}
.pepven-bulk-tier-badge {
  position: absolute;
  top: -9px;
  right: 0.75rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* 3.1.0: single-product hero fixes + VRL-style buy box.
 * Bug: WooCommerce's own div.images/div.summary { width: 48% } was never
 * reset inside our grid, squeezing both columns to ~262px on desktop. */
.single-product div.product > div.images,
.single-product div.product > div.summary {
  width: 100%;
  min-width: 0;
}
/* 3.1.0: below-fold sections span the full grid width (details already did). */
.single-product div.product > .pepven-diff,
.single-product div.product > .pepven-coa,
.single-product div.product > .lineup-section.pd-related,
.single-product div.product > .pepven-pd-faq,
.single-product div.product > .pepven-pd-ref {
  grid-column: 1 / -1;
}
/* 3.1.0: premium pill under the title. */
.pepven-premium-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin: 0 0 1.1rem;
}
.pepven-premium-pill .star { color: var(--cyan); }
/* 3.1.0: 20% launch-promo card in the buy column. */
.pepven-promo-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(100deg, #0e7490 0%, #00b8c9 100%);
  color: #fff;
  border-radius: 16px;
  padding: 0.95rem 1.2rem;
  margin: 0 0 1rem;
  box-shadow: 0 16px 32px -18px rgba(14, 116, 144, 0.55);
}
.pepven-promo-badge {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pepven-promo-card p { margin: 0; font-weight: 600; font-size: 0.95rem; }
/* 3.1.0: compact lab-reports box near the CTA. */
.pepven-coa-mini {
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  margin: 0 0 1.25rem;
  background: #fff;
}
.pepven-coa-mini strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.pepven-coa-mini .coa-placeholder { margin: 0; font-size: 0.9rem; color: var(--muted); }
.pepven-coa-mini .btn-sm { font-size: 0.85rem; padding: 0.55rem 1.1rem; }

/* 3.2.0: unstick the quantity stepper from the CTA (Woo floats .quantity).
 * 3.3.0: the bundle cards are the quantity picker now, so the stepper UI
 * is hidden entirely (the qty input stays in the form for Add to Cart). */
.single-product form.cart .quantity { float: none; margin: 0; }
.single-product .qty-wrap { display: none; }

/* 3.2.0: VRL-style bundle grid (1 / 2 / 3 vials).
 * 3.3.0: breathing room above the grid so the "most popular" badge never
 * crowds the variation price. */
.pepven-bundles { margin: 1.5rem 0; }
.pepven-bundles .bundle-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.bundle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 1.1rem 0.5rem 1rem;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.bundle-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(0, 184, 201, 0.5);
}
.bundle-card.is-popular {
  border-color: var(--navy);
  box-shadow: 0 12px 28px -14px rgba(10, 22, 51, 0.4);
}
/* 3.3.0: the cards are the quantity picker; the chosen one lights up. */
.bundle-card.is-selected {
  border-color: var(--cyan);
  background: linear-gradient(180deg, #f2fdff 0%, #ffffff 100%);
  box-shadow: 0 14px 30px -14px rgba(0, 184, 201, 0.6);
}
.bundle-card.is-selected .bundle-qty { color: var(--cyan-dark); }
.bundle-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.bundle-qty { font-weight: 800; font-size: 1.02rem; color: var(--navy); }
.bundle-price { font-weight: 800; font-size: 1.12rem; color: var(--navy); }
.bundle-save { font-size: 0.76rem; font-weight: 700; color: #0d7a4f; }
.bundle-bulk {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.bundle-bulk a { color: var(--cyan-dark); font-weight: 700; }
.bundle-notice {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #b42318;
  text-align: center;
}
/* Flash the strength pills when a bundle is tapped with no strength chosen. */
@keyframes pepven-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.single-product .variant-row.needs-pick { animation: pepven-shake 0.4s ease; }
@media (max-width: 480px) {
  .pepven-bundles .bundle-row { gap: 0.5rem; }
  .bundle-card { padding: 1rem 0.35rem 0.9rem; }
  .bundle-badge { font-size: 0.58rem; padding: 0.22rem 0.5rem; }
  .bundle-qty { font-size: 0.92rem; }
  .bundle-price { font-size: 1rem; }
}

/* 3.4.8: sale price layout on product pages. The promo price leads at full
 * size; the struck regular price goes underneath, smaller and muted, instead
 * of shouting inline at the same size. Applies to the main price and the
 * selected-variation price block. */
.single-product div.product .summary p.price,
.single-product div.product .woocommerce-variation-price span.price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  white-space: normal;
}
.single-product div.product .summary p.price ins,
.single-product div.product .woocommerce-variation-price span.price ins {
  order: 1;
  text-decoration: none;
}
.single-product div.product .summary p.price del,
.single-product div.product .woocommerce-variation-price span.price del {
  order: 2;
  font-size: 0.55em;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.75;
}

/* 3.4.9: drop the redundant selected-variation price block below the strength
 * pills. It duplicated the "1 vial" bundle card price; the title-area range
 * stays as the product price and bundle cards show exact per-selection totals. */
.single-product .woocommerce-variation-price {
  display: none;
}

/* ==========================================================================
   3.4.11: My Account polish - rounded banner, card content, address cards
   ========================================================================== */

/* The page banner becomes an inset rounded card instead of a square
 * full-bleed band (applies to cart, checkout and account pages). */
.wc-page-head {
  background: transparent;
  padding: 0;
  margin: 1.5rem 0 2.25rem;
}
.wc-page-head .container {
  background:
    radial-gradient(60% 90% at 85% 15%, rgba(0, 184, 201, 0.22) 0%, rgba(0, 184, 201, 0) 70%),
    linear-gradient(120deg, var(--navy-deep) 0%, #0d1b3f 100%);
  border-radius: 22px;
  padding: 2.5rem 2.75rem;
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.wc-page-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  letter-spacing: -0.02em;
}

/* Account layout: keep Woo's two columns, refine proportions. */
.woocommerce-account .woocommerce-MyAccount-navigation { width: 24%; }
.woocommerce-account .woocommerce-MyAccount-content { width: 72%; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.93rem;
}
/* Content sits in a clean white card. */
.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}
.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }
.woocommerce-account .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-content h2 { font-size: 1.25rem; margin: 0 0 1rem; }
.woocommerce-account .woocommerce-MyAccount-content h3 { font-size: 1.05rem; margin: 1.5rem 0 0.75rem; }

/* Address cards: two tidy cards instead of giant headings. */
.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.woocommerce-account .woocommerce-Address {
  float: none;
  width: auto;
  background: var(--bg-soft, #f7f9fc);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
}
.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.woocommerce-account .woocommerce-Address-title h3 {
  font-size: 1rem;
  margin: 0;
  letter-spacing: 0;
}
.woocommerce-account .woocommerce-Address-title .edit {
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-dark);
  text-decoration: none;
  border: 1px solid rgba(0, 151, 167, 0.45);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  white-space: nowrap;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.woocommerce-account .woocommerce-Address-title .edit:hover {
  border-color: var(--cyan-dark);
  background: rgba(0, 184, 201, 0.07);
}
.woocommerce-account .woocommerce-Address address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Orders table: clean rows, scrolls on small screens. */
.woocommerce-account .woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.woocommerce-account .woocommerce-orders-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.6rem 0.75rem;
  border-bottom: 2px solid var(--line);
}
.woocommerce-account .woocommerce-orders-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.woocommerce-account .woocommerce-orders-table .button {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

/* Login / register / lost-password forms. */
.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce-account form.lost_reset_password {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-soft);
  max-width: 560px;
}

/* Space the dashboard points hero away from the intro copy. */
.woocommerce-account .pepven-points-hero { margin-top: 1.5rem; }

@media (max-width: 860px) {
  .wc-page-head { margin: 1rem 0 1.5rem; }
  .wc-page-head .container {
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
  }
  /* Account nav becomes a horizontal scroll row of pills. */
  .woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
    margin-bottom: 1.25rem;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 0;
    flex: 0 0 auto;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    white-space: nowrap;
    padding: 0.6rem 0.95rem;
    font-size: 0.87rem;
  }
  .woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    padding: 1.25rem 1.25rem;
    border-radius: 16px;
  }
  .woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
  .woocommerce-account .woocommerce-orders-table { display: block; overflow-x: auto; }
  .woocommerce-account form.login,
  .woocommerce-account form.register,
  .woocommerce-account form.lost_reset_password { padding: 1.25rem; }
}

/* 3.4.12: fix address cards staggering diagonally. Woo's .col2-set clearfix
 * pseudo-elements become stray grid items once the parent is display:grid,
 * pushing billing upper-right and shipping lower-left. Hide them and
 * out-specify Woo's float rules on the address columns. */
.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after {
  display: none;
  content: none;
}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
  float: none;
  width: auto;
  margin: 0;
}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title h3 {
  font-size: 1rem;
}

/* 3.4.13: stack the address-card header vertically. The heading plus the
 * add/edit pill collide on one row (worse in Spanish: "Dirección de
 * facturación"), so the pill sits left-aligned under the heading. */
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title h3 {
  line-height: 1.3;
}

/* 3.4.52: cart/checkout thumbnails center-cropped the tall vial photos.
 * Show the whole vial instead. */
.wc-block-components-order-summary-item__image img,
.wc-block-cart-item__image img {
  object-fit: contain;
  background: #eef2f7;
}
