/*
Theme Name: PepTek
Theme URI: https://pep-tek.com
Author: PepTek LLC
Description: Custom WooCommerce theme for PepTek research compounds store
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
WC requires at least: 8.0
WC tested up to: 9.0
License: Proprietary
Text Domain: peptek
*/

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --bg:        #0A0B0E;
  --bg2:       #0F1115;
  --surface:   #13151A;
  --surface2:  #1A1D24;
  --line:      rgba(255,255,255,0.07);
  --line2:     rgba(255,255,255,0.12);
  --blue:      #9B6DFF;
  --blue-dim:  rgba(155,109,255,0.12);
  --blue-glow: rgba(155,109,255,0.2);
  --purple-light: #C4A0FF;
  --purple-mid:   #9B6DFF;
  --purple-dark:  #6B3FD4;
  --purple-deep:  #3D1F8F;
  --pink-accent:  #E040C8;
  --white:     #F5F7FA;
  --off:       #D8DCE8;
  --muted:     #9BA3B8;
  --dim:       #5A6070;
  --green:     #63DC8C;
  --green-dim: rgba(99,220,140,0.12);
  --red:       #F87171;
  --nav-h:     68px;
  --radius:    4px;
  --max-w:     1280px;
  --pad:       48px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.age-gate-active { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
h1 { font-size: clamp(22px, 2.5vw, 36px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
h5 { font-size: 15px; font-weight: 600; }
p { color: var(--muted); line-height: 1.75; }

.mono {
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.05em;
}

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.section--bordered { border-bottom: 1px solid var(--line); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.text-center { text-align: center; }
.text-blue { color: var(--purple-light); }
.text-muted { color: var(--muted); }

/* ============================================================
   SECTION LABELS / EYEBROWS
============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--purple-light);
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple-mid);
  color: #fff;
  border-color: var(--purple-mid);
}
.btn-primary:hover {
  background: var(--purple-light);
  border-color: var(--purple-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(155,109,255,0.3);
}
.btn-outline {
  background: none;
  color: var(--off);
  border-color: var(--line2);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.22);
  color: var(--white);
}
.btn-ghost {
  background: none;
  color: var(--purple-light);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--purple-light); gap: 12px; }
.btn-sm { padding: 9px 18px; font-size: 12.5px; }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* WooCommerce button overrides */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--purple-mid);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--purple-mid);
  transition: all 0.2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--purple-light);
  color: #fff;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--purple-mid);
  color: #fff;
}

/* ============================================================
   AGE GATE
============================================================ */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px 24px;
}
#age-gate.hidden { pointer-events: none; }

.age-gate__inner {
  max-width: 480px;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: ageGateReveal 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ageGateReveal {
  to { opacity: 1; transform: translateY(0); }
}

.age-gate__logo {
  margin: 0 auto 40px;
  width: 100px;
  opacity: 0;
  animation: ageGateReveal 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.age-gate__line {
  width: 1px;
  height: 0;
  background: var(--line2);
  margin: 0 auto 40px;
  animation: lineGrow 0.6s 0.2s ease forwards;
}
@keyframes lineGrow { to { height: 60px; } }

.age-gate__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
}
.age-gate__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.age-gate__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.age-gate__yes {
  background: var(--purple-mid);
  color: #fff;
  border: 1px solid var(--purple-mid);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.age-gate__yes:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(155,109,255,0.3);
}
.age-gate__no {
  background: none;
  color: var(--muted);
  border: 1px solid var(--line2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.age-gate__no:hover {
  border-color: rgba(248,113,113,0.4);
  color: var(--red);
}
.age-gate__disclaimer {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  color: var(--dim);
  margin-top: 28px;
  line-height: 1.6;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* Exit animation */
#age-gate.exiting {
  animation: ageGateExit 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ageGateExit {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.04); pointer-events: none; }
}

/* ============================================================
   MAIN CONTENT OFFSET
============================================================ */
#page { padding-top: var(--nav-h); }

/* ============================================================
   MARQUEE
============================================================ */
.marquee-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
  overflow: hidden;
  padding: 13px 0;
}
.marquee-bar__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 80s linear infinite;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-bar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 36px;
  white-space: nowrap;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.marquee-bar__item strong { color: var(--muted); font-weight: 500; }
.marquee-bar__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--dim);
  flex-shrink: 0;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 36px var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 28px;
}
.hero__eyebrow-line { width: 24px; height: 1px; background: var(--purple-mid); }

.hero__title {
  font-size: clamp(24px, 2.8vw, 38px) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__title em {
  font-style: normal;
  color: var(--purple-light);
}

.hero__body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-mid);
  flex-shrink: 0;
}
.hero__trust-text {
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Hero right — product list */
.hero__products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.hero__product-card:hover {
  border-color: var(--line2);
  background: var(--surface2);
}
.hero__product-card.featured {
  border-color: rgba(155,109,255,0.25);
  background: rgba(155,109,255,0.04);
}
.hpc__tag {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hpc__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.hpc__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.hpc__coa {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-light);
  border: 1px solid rgba(155,109,255,0.25);
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--blue-dim);
}
.hpc__badge-new {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--purple-mid);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ============================================================
   PRODUCT ARCHIVE (SHOP PAGE)
============================================================ */
.shop-header {
  padding: 64px var(--pad) 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.shop-categories {
  padding: 0 var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.shop-cat-btn {
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 2px;
  background: none;
  cursor: pointer;
  transition: all 0.2s;
}
.shop-cat-btn:hover,
.shop-cat-btn.active {
  color: var(--purple-light);
  border-color: rgba(155,109,255,0.3);
  background: var(--blue-dim);
}


/* ============================================================
   COA BANNER
============================================================ */
.coa-banner {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px var(--pad);
}
.coa-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.coa-banner__text h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.coa-banner__text p { font-size: 14px; }
.coa-banner__pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.coa-pill {
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--off);
  border: 1px solid var(--line2);
  padding: 9px 16px;
  border-radius: 3px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s;
}
.coa-pill:hover { border-color: rgba(155,109,255,0.3); }

/* ============================================================
   WHY SECTION
============================================================ */
.why-section {
  border-bottom: 1px solid var(--line);
}
.why-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 112px var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why-features {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}
.why-row {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.2s;
  cursor: default;
}
.why-row:first-child { border-top: 1px solid var(--line); }
.why-row:hover { padding-left: 8px; }
.why-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-mid);
  opacity: 0.7;
  padding-top: 3px;
  flex-shrink: 0;
  width: 24px;
}
.why-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.why-content p { font-size: 13.5px; line-height: 1.65; }

.why-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.panel-stat {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.panel-stat:first-child { padding-top: 0; }
.panel-stat:last-child { border-bottom: none; padding-bottom: 0; }
.panel-stat__val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.panel-stat__val span { color: var(--purple-light); }
.panel-stat__label { font-size: 13px; }

/* ============================================================
   RESEARCH CATEGORIES SECTION
============================================================ */
.research-section {
  border-bottom: 1px solid var(--line);
}
.research-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 112px var(--pad);
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: var(--line);
}
.research-card {
  background: var(--bg);
  padding: 40px 32px;
  transition: background 0.2s;
  cursor: pointer;
}
.research-card:hover { background: var(--surface); }
.research-card__num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.research-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}
.research-card p { font-size: 13.5px; line-height: 1.7; }
.research-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--purple-light);
  margin-top: 20px;
  transition: gap 0.2s;
}
.research-card:hover .research-card__link { gap: 10px; }

/* ============================================================
   PARTNER CTA SECTION
============================================================ */
.partner-section {
  border-bottom: 1px solid var(--line);
}
.partner-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 112px var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.partner-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 32px;
}
.pm-cell {
  background: var(--bg2);
  padding: 24px 28px;
}
.pm-cell__val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.pm-cell__label { font-size: 12px; }

.partner-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 44px 40px;
}
.partner-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.partner-card > p { font-size: 14px; line-height: 1.65; margin-bottom: 28px; }
.partner-steps {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}
.partner-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.partner-step:last-child { border-bottom: none; }
.partner-step__num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid rgba(155,109,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.partner-step__text { font-size: 13.5px; color: var(--off); line-height: 1.5; }
.partner-step__text strong { color: var(--white); font-weight: 600; }
.partner-url {
  font-family: 'DM Mono', monospace;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.04em;
}
.partner-url a { color: var(--purple-light); }

/* ============================================================
   CART & CHECKOUT
============================================================ */
.woocommerce-cart-form,
.woocommerce-checkout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px var(--pad);
}

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
}
.woocommerce table.shop_table th {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-weight: 500;
  text-align: left;
}
.woocommerce table.shop_table td {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--white);
  font-size: 14px;
}
.woocommerce table.shop_table .product-name a { color: var(--white); font-weight: 500; }
.woocommerce table.shop_table .product-name a:hover { color: var(--purple-light); }

/* Cart totals */
.woocommerce .cart_totals {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px;
  margin-top: 32px;
}
.woocommerce .cart_totals h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.woocommerce .cart_totals table { border: none; }
.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td { border: none; padding: 10px 0; background: none; }

/* Checkout form */
.woocommerce form .form-row label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--surface);
  border: 1px solid var(--line2);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  width: 100%;
  border-radius: var(--radius);
  transition: border-color 0.2s;
  appearance: none;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  border-color: var(--purple-light);
}

/* ============================================================
   INNER PAGES
============================================================ */
.page-hero {
  padding: 64px var(--pad) 56px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px var(--pad);
}
.page-content h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 40px 0 14px;
  color: var(--white);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.page-content ul {
  list-style: none;
  margin-bottom: 16px;
}
.page-content ul li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  padding: 6px 0 6px 20px;
  position: relative;
}
.page-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--purple-light);
  font-family: 'DM Mono', monospace;
}

/* ============================================================
   FOOTER
============================================================ */
#site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 72px 0 40px;
}
.footer__top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.footer__brand-logo img { height: 44px; width: auto; margin-bottom: 16px; }
.footer__brand-desc { font-size: 13.5px; line-height: 1.7; max-width: 260px; }
.footer__col h4 {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 13.5px; color: var(--muted); transition: color 0.18s; }
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__copy { font-family: 'DM Mono', monospace; font-size: 11.5px; color: var(--dim); }
.footer__disclaimer { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--dim); max-width: 560px; line-height: 1.6; }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ============================================================
   WOOCOMMERCE NOTICES
============================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 14px;
  list-style: none;
}
.woocommerce-error { border-left-color: var(--red); }

/* ============================================================
   PAGINATION
============================================================ */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 6px;
  justify-content: center;
  list-style: none;
  padding: 48px 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.18s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover { color: var(--white); border-color: var(--line2); }
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--purple-mid);
  border-color: var(--purple-light);
  color: #fff;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  :root { --pad: 32px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 64px var(--pad); }
  .hero__products { display: none; }
  .why-section__inner { grid-template-columns: 1fr; }
  .why-panel { position: static; }
  .partner-section__inner { grid-template-columns: 1fr; gap: 48px; }
  .woocommerce div.product { grid-template-columns: 1fr; gap: 48px; }
  .woocommerce div.product div.images { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce ul.products { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --pad: 20px; --nav-h: 60px; }
  h1 { font-size: clamp(30px, 8vw, 48px); }
  h2 { font-size: clamp(24px, 6vw, 36px); }
  .nav__menu { display: none; }
  .nav__hamburger { display: flex; }
  .nav__right .nav__cta { display: none; }
  .hero { padding: 48px var(--pad); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__trust { gap: 16px; }
  .section { padding: 72px 0; }
  .research-grid { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: 1fr; padding: 0 var(--pad); }
  .woocommerce div.product { padding: 40px var(--pad); }
  .coa-banner__inner { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .product-trust { grid-template-columns: 1fr; }
  .partner-card { padding: 28px 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .shop-header { flex-direction: column; align-items: flex-start; }
  .woocommerce-cart-form,
  .woocommerce-checkout { padding: 40px var(--pad); }
}

@media (max-width: 480px) {
  :root { --pad: 16px; }
  .hero__trust { flex-direction: column; gap: 12px; }
  .age-gate__actions { flex-direction: column; }
  .age-gate__yes, .age-gate__no { width: 100%; }
  .hero__product-card { padding: 16px 20px; }
  .hpc__name { font-size: 14px; }
}

/* ============================================================
   MY ACCOUNT PAGE — FULL REBUILD v2.8
============================================================ */

/* ── Page wrapper ── */
.account-page-wrap {
    background: var(--bg);
    min-height: calc(100vh - var(--nav-h));
}
.account-page-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 36px var(--pad) 80px;
}

/* ── Header bar ── */
.account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.account-header__left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.account-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--purple-l, #C4A0FF);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}
.account-eyebrow::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--purple-l, #C4A0FF);
}
.account-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--white);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.account-shop-btn {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--muted);
    text-decoration: none;
    border: 1px solid var(--line2);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.account-shop-btn:hover {
    color: var(--white);
    border-color: rgba(155,109,255,0.3);
    background: rgba(155,109,255,0.05);
}

/* ── Layout: sidebar + content ── */
.account-layout {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 40px;
    align-items: start;
}

/* ── Sidebar ── */
.account-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 16px);
    min-width: 0;
}
.account-nav {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
}
.account-nav__item {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
    transition: color 0.15s, background 0.15s, padding-left 0.15s;
    white-space: nowrap;
}
.account-nav__item:last-child { border-bottom: none; }
.account-nav__item:hover {
    color: var(--white);
    background: var(--surface2);
    padding-left: 20px;
}
.account-nav__item.active {
    color: var(--white);
    background: var(--surface2);
    border-left-color: var(--purple, #9B6DFF);
    padding-left: 13px;
}
.account-meta {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    overflow: hidden;
}
.account-meta__email {
    font-size: 11.5px;
    color: var(--muted);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.account-meta__since {
    font-family: 'DM Mono', monospace;
    font-size: 9.5px;
    color: var(--dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── Content area ── */
.account-content {
    min-width: 0;
    width: 100%;
}

/* Kill ALL WooCommerce layout inside our content wrapper */
.account-content .woocommerce,
.account-content .woocommerce-MyAccount-content {
    all: unset;
    display: block;
    width: 100%;
}

/* Base text */
.account-content p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 16px;
}
.account-content strong { color: var(--white); font-weight: 600; }
.account-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    letter-spacing: -0.01em;
}
.account-content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 14px;
}

/* ── Orders notice + button ── */
.account-content .woocommerce-message,
.account-content .woocommerce-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    padding: 18px 20px !important;
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-left: 3px solid var(--purple, #9B6DFF) !important;
    border-radius: var(--radius) !important;
    color: var(--muted) !important;
    font-size: 14px !important;
    list-style: none !important;
    margin: 0 0 24px 0 !important;
}
.account-content .woocommerce-message::before,
.account-content .woocommerce-info::before { display: none !important; }
.account-content .woocommerce-message a.button,
.account-content .woocommerce-info a.button,
.account-content .woocommerce-message .button {
    flex-shrink: 0 !important;
    display: inline-block !important;
    background: var(--purple, #9B6DFF) !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    padding: 9px 18px !important;
    border-radius: var(--radius) !important;
    border: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
}
.account-content .woocommerce-message a.button:hover { background: var(--purple-l, #C4A0FF) !important; }

/* ── Orders table ── */
.account-content table.woocommerce-orders-table,
.account-content table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid var(--line) !important;
    background: var(--surface) !important;
    margin: 0 !important;
}
.account-content table th {
    background: var(--surface2) !important;
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
    padding: 13px 18px !important;
    text-align: left !important;
    border-bottom: 1px solid var(--line2) !important;
    white-space: nowrap !important;
}
.account-content table td {
    padding: 13px 18px !important;
    border-bottom: 1px solid var(--line) !important;
    font-size: 13.5px !important;
    color: var(--off) !important;
    vertical-align: middle !important;
}
.account-content table tr:last-child td { border-bottom: none !important; }
.account-content table tr:hover td { background: rgba(255,255,255,0.02) !important; }
.account-content mark.order-status {
    background: rgba(155,109,255,0.12) !important;
    color: var(--purple-l, #C4A0FF) !important;
    padding: 3px 10px !important;
    border-radius: 100px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    font-family: 'DM Mono', monospace !important;
    letter-spacing: 0.05em !important;
    box-shadow: none !important;
}

/* ── Addresses ── */
.account-content .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.account-content .woocommerce-Addresses .col-1,
.account-content .woocommerce-Addresses .col-2 {
    float: none !important;
    width: auto !important;
}
.account-content .woocommerce-Address {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    padding: 24px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}
.account-content .woocommerce-Address address,
.account-content .woocommerce-Address p {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    font-size: 13.5px !important;
    color: var(--muted) !important;
    line-height: 1.8 !important;
    margin-bottom: 4px !important;
}
.account-content .woocommerce-Address-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid var(--line) !important;
}
.account-content .woocommerce-Address-title h3 {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
}
.account-content .woocommerce-Address-title a,
.account-content a.edit {
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: var(--purple-l, #C4A0FF) !important;
    text-decoration: none !important;
    border: 1px solid rgba(155,109,255,0.2) !important;
    padding: 6px 10px !important;
    border-radius: var(--radius) !important;
    white-space: normal !important;
    word-break: break-word !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
.account-content .woocommerce-Address-title a:hover {
    background: rgba(155,109,255,0.08) !important;
    border-color: rgba(155,109,255,0.4) !important;
}
.account-content address {
    font-style: normal !important;
    font-size: 13.5px !important;
    color: var(--muted) !important;
    line-height: 1.8 !important;
    text-align: left !important;
}
.account-content .woocommerce-Address p,
.account-content .woocommerce-Address > p {
    font-size: 13.5px !important;
    color: var(--muted) !important;
    margin-bottom: 4px !important;
    text-align: left !important;
}
.account-content .woocommerce-Address .woocommerce-Address-title ~ p {
    font-size: 13.5px !important;
    color: var(--muted) !important;
    line-height: 1.8 !important;
    padding-top: 4px !important;
}

/* ── Account details form ── */
.account-content .woocommerce-MyAccount-content .woocommerce-form-row {
    margin-bottom: 18px !important;
}
.account-content .woocommerce-MyAccount-content label {
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
    display: block !important;
    margin-bottom: 7px !important;
}
.account-content .woocommerce-MyAccount-content input[type="text"],
.account-content .woocommerce-MyAccount-content input[type="email"],
.account-content .woocommerce-MyAccount-content input[type="password"],
.account-content .woocommerce-MyAccount-content input[type="tel"],
.account-content .woocommerce-MyAccount-content select,
.account-content .woocommerce-MyAccount-content textarea {
    background: var(--surface2) !important;
    border: 1px solid var(--line2) !important;
    color: var(--white) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    padding: 11px 14px !important;
    border-radius: var(--radius) !important;
    width: 100% !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    box-sizing: border-box !important;
}
.account-content .woocommerce-MyAccount-content input:focus,
.account-content .woocommerce-MyAccount-content select:focus,
.account-content .woocommerce-MyAccount-content textarea:focus {
    border-color: var(--purple, #9B6DFF) !important;
    box-shadow: 0 0 0 3px rgba(155,109,255,0.12) !important;
}

/* ── Password fieldset ── */
.account-content fieldset {
    border: 1px solid var(--line2) !important;
    border-radius: var(--radius) !important;
    padding: 24px !important;
    margin: 24px 0 !important;
    background: var(--surface) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.account-content fieldset legend {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    padding: 0 8px !important;
}
.account-content fieldset p,
.account-content fieldset .form-row {
    margin-bottom: 16px !important;
    padding: 0 !important;
    list-style: none !important;
}
.account-content fieldset p::before { display: none !important; content: none !important; }

/* ── Save button ── */
.account-content .woocommerce-MyAccount-content .woocommerce-Button,
.account-content .woocommerce-MyAccount-content button[type="submit"],
.account-content .woocommerce-MyAccount-content input[type="submit"] {
    background: var(--purple, #9B6DFF) !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    border: none !important;
    border-radius: var(--radius) !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    width: auto !important;
}
.account-content .woocommerce-MyAccount-content button[type="submit"]:hover { background: var(--purple-l, #C4A0FF) !important; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .account-layout { grid-template-columns: 1fr; gap: 24px; }
    .account-sidebar { position: static; }
    .account-page-inner { padding: 28px var(--pad) 56px; }
    .account-content .woocommerce-Addresses { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
    .account-header { flex-wrap: wrap; }
    .account-title { font-size: 16px; }
}

/* ── Password Modal ── */
.pw-modal-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--purple-l, #C4A0FF);
    border: 1px solid rgba(155,109,255,0.25);
    background: rgba(155,109,255,0.06);
    padding: 10px 18px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}
.pw-modal-trigger:hover {
    background: rgba(155,109,255,0.12);
    border-color: rgba(155,109,255,0.4);
}

.pw-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.pw-modal-backdrop.open { display: flex; }

.pw-modal {
    background: var(--surface);
    border: 1px solid var(--line2);
    border-radius: 8px;
    padding: 36px 40px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.pw-modal__close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 20px;
    cursor: pointer;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.pw-modal__close:hover { color: var(--white); background: var(--surface2); }
.pw-modal h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}
.pw-modal__sub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 28px;
}
.pw-modal .pw-field { margin-bottom: 18px; }
.pw-modal label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 7px;
}
.pw-modal input[type="password"],
.pw-modal input[type="text"] {
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--line2);
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    padding: 11px 14px;
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.pw-modal input:focus {
    border-color: var(--purple, #9B6DFF);
    box-shadow: 0 0 0 3px rgba(155,109,255,0.12);
}
.pw-modal__actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
.pw-modal__save {
    flex: 1;
    background: var(--purple, #9B6DFF);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}
.pw-modal__save:hover { background: var(--purple-l, #C4A0FF); }
.pw-modal__cancel {
    background: none;
    color: var(--muted);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    padding: 12px 20px;
    border: 1px solid var(--line2);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}
.pw-modal__cancel:hover { color: var(--white); border-color: var(--line2); }
.pw-modal__msg {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    display: none;
}
.pw-modal__msg.error { background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.2); color: #FFAAAA; display: block; }
.pw-modal__msg.success { background: rgba(99,220,140,0.08); border: 1px solid rgba(99,220,140,0.2); color: #63DC8C; display: block; }

/* Hide default WC password fields — replaced by modal */
.woocommerce-account .woocommerce-MyAccount-content fieldset#account_password,
.account-content fieldset,
.account-content fieldset * {
    display: none !important;
}

/* Hero title size constraint for capped hero */
.hero__title {
  font-size: clamp(22px, 2.6vw, 36px) !important;
  line-height: 1.15 !important;
}

/* ============================================================
   PRODUCT ARCHIVE — CARDS
============================================================ */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  border: none !important;
  padding: 24px var(--pad) !important;
  max-width: var(--max-w) !important;
  margin: 0 auto !important;
  list-style: none !important;
  float: none !important;
}
.woocommerce ul.products li.product {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.4), 0 0 0 1px rgba(155,109,255,0.2) !important;
  border-color: rgba(155,109,255,0.3) !important;
}
.woocommerce ul.products li.product::after { display: none !important; }

/* Image fills card top — fully visible, rounded top corners */
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: block !important;
  overflow: hidden !important;
  border-radius: 12px 12px 0 0 !important;
  flex-shrink: 0 !important;
}
.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: 180px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f8f8f8 !important;
  border-radius: 12px 12px 0 0 !important;
  margin: 0 !important;
  display: block !important;
  transition: transform 0.3s ease !important;
  padding: 12px !important;
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.03) !important; }

.woocommerce ul.products li.product .product-cat-label {
  font-family: 'DM Mono', monospace !important;
  font-size: 10px !important;
  color: var(--muted) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 14px 16px 4px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  padding: 4px 16px 6px !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product .product-excerpt {
  font-size: 12.5px !important;
  color: var(--muted) !important;
  line-height: 1.6 !important;
  padding: 0 16px !important;
  margin-bottom: 14px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.woocommerce ul.products li.product .product-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 16px 16px !important;
  margin-top: auto !important;
}
.woocommerce ul.products li.product .price {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--white) !important;
}
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .button {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--purple-l, #C4A0FF) !important;
  background: rgba(155,109,255,0.1) !important;
  border: 1px solid rgba(155,109,255,0.25) !important;
  padding: 7px 14px !important;
  border-radius: 6px !important;
  transition: all 0.18s !important;
}
.woocommerce ul.products li.product .add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover {
  background: var(--purple-mid, #9B6DFF) !important;
  color: #fff !important;
  border-color: var(--purple-mid, #9B6DFF) !important;
}
/* View Product link styles */
.product-view-link {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--purple-l, #C4A0FF) !important;
  background: rgba(155,109,255,0.1) !important;
  border: 1px solid rgba(155,109,255,0.25) !important;
  padding: 7px 14px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all 0.18s !important;
}
.product-view-link:hover {
  background: var(--purple-mid, #9B6DFF) !important;
  color: #fff !important;
  border-color: var(--purple-mid, #9B6DFF) !important;
}
.product-badge {
  position: absolute !important;
  top: 10px !important; left: 10px !important;
  font-family: 'DM Mono', monospace !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  z-index: 2 !important;
}
.product-badge, .badge--new, .badge--popular, .badge--coa { display: none !important; }

/* ============================================================
   SINGLE PRODUCT PAGE
============================================================ */
.woocommerce div.product {
  max-width: var(--max-w) !important;
  margin: 0 auto !important;
  padding: 48px var(--pad) !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 64px !important;
  align-items: start !important;
}
@media (max-width: 768px) {
  .woocommerce div.product {
    grid-template-columns: 1fr !important;
    padding: 24px var(--pad) 0 !important;
    gap: 24px !important;
  }
}
/* NO sticky — static image */
.woocommerce div.product div.images {
  position: static !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
.woocommerce div.product div.images img {
  width: 100% !important;
  height: 320px !important;
  object-fit: contain !important;
  padding: 20px !important;
}
/* Hide zoom trigger */
.woocommerce-product-gallery__trigger { display: none !important; }

/* Product title */
.woocommerce div.product .product_title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(24px, 3vw, 38px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.022em !important;
  color: var(--white) !important;
  margin-bottom: 8px !important;
  line-height: 1.15 !important;
}
.woocommerce div.product p.price {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  margin-bottom: 20px !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 14.5px !important;
  color: var(--muted) !important;
  line-height: 1.75 !important;
  margin-bottom: 24px !important;
  padding-bottom: 24px !important;
  border-bottom: 1px solid var(--line) !important;
}

/* Hide COA, SKU, wishlist */
.product-coa-link,
.woocommerce div.product .product_meta,
.yith-wcwl-add-to-wishlist,
.woocommerce-product-gallery__trigger,
.added_to_wishlist { display: none !important; }

/* Variations — hide select, show boxes */
.woocommerce div.product .variations { width: 100% !important; margin-bottom: 16px !important; border: none !important; }
.woocommerce div.product .variations td,
.woocommerce div.product .variations th { display: block !important; padding: 0 !important; border: none !important; }
.woocommerce div.product .variations .label { margin-bottom: 10px !important; }
.woocommerce div.product .variations .label label {
  font-family: 'DM Mono', monospace !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
}
.woocommerce div.product .variations select { display: none !important; }
.woocommerce div.product .reset_variations { display: none !important; }

.variation-boxes { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin-bottom: 8px !important; }
.variation-box {
  padding: 8px 18px !important;
  border: 1px solid var(--line2) !important;
  border-radius: 6px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  cursor: pointer !important;
  transition: all 0.18s !important;
  background: var(--surface2) !important;
}
.variation-box:hover { border-color: rgba(155,109,255,0.4) !important; color: var(--white) !important; }
.variation-box.selected { border-color: var(--purple-mid, #9B6DFF) !important; background: rgba(155,109,255,0.12) !important; color: var(--white) !important; }

/* ATC row */
.woocommerce div.product form.cart {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
}
.woocommerce div.product form.cart .qty,
.woocommerce div.product form.cart .quantity input {
  width: 64px !important;
  height: 48px !important;
  background: var(--surface) !important;
  border: 1px solid var(--line2) !important;
  color: var(--white) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: center !important;
  border-radius: 6px !important;
}
.qty-wrap { height: 48px !important; display: flex !important; align-items: center !important; }
.qty-btn {
  width: 36px !important; height: 48px !important;
  background: var(--surface) !important;
  border: 1px solid var(--line2) !important;
  color: var(--white) !important;
  font-size: 18px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.qty-btn:first-child { border-radius: 6px 0 0 6px !important; border-right: none !important; }
.qty-btn:last-child { border-radius: 0 6px 6px 0 !important; border-left: none !important; }
.qty-wrap .qty { border-radius: 0 !important; border-left: none !important; border-right: none !important; }

.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1 !important;
  height: 48px !important;
  background: var(--purple-mid, #9B6DFF) !important;
  color: #fff !important;
  border: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 140px !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--purple-l, #C4A0FF) !important; }

/* Trust badges */
.product-trust { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; margin-bottom: 24px !important; }
.product-trust__item { background: var(--surface) !important; border: 1px solid var(--line) !important; padding: 12px 14px !important; border-radius: 8px !important; display: flex !important; align-items: center !important; gap: 10px !important; }

/* Tabs — hide reviews */
.woocommerce div.product .woocommerce-tabs ul.tabs li.reviews_tab { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.additional_information_tab { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  padding: 14px 24px !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -1px !important;
  transition: color 0.2s, border-color 0.2s !important;
  display: block !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--white) !important; border-bottom-color: var(--purple-mid, #9B6DFF) !important; }

/* ============================================================
   RELATED PRODUCTS — YOU MAY ALSO LIKE
============================================================ */
.woocommerce .related {
  max-width: 100% !important;
  padding: 56px var(--pad) !important;
  margin: 0 !important;
  border-top: 1px solid var(--line) !important;
  grid-column: 1 / -1 !important;
}
.woocommerce .related h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(20px, 2.5vw, 30px) !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  margin-bottom: 28px !important;
  letter-spacing: -0.02em !important;
}
.woocommerce .related > ul.products { display: none !important; }
.related-carousel-wrap { position: relative !important; overflow: hidden !important; }
.related-carousel { display: flex !important; gap: 16px !important; transition: transform 0.4s cubic-bezier(0.22,1,0.36,1) !important; }
.related-carousel li.product {
  flex: 0 0 calc(25% - 12px) !important;
  min-width: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid var(--line) !important;
  background: var(--surface) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  list-style: none !important;
}
.related-carousel li.product:hover { transform: translateY(-4px) !important; box-shadow: 0 12px 32px rgba(0,0,0,0.35) !important; border-color: rgba(155,109,255,0.25) !important; }
.related-carousel li.product img { width: 100% !important; height: 150px !important; object-fit: cover !important; border-radius: 0 !important; margin: 0 !important; }
.related-carousel li.product .woocommerce-loop-product__title { font-size: 13px !important; padding: 10px 12px 4px !important; margin: 0 !important; }
.related-carousel li.product .price { font-size: 13px !important; padding: 0 12px 8px !important; display: block !important; }
.related-carousel li.product .button { margin: 0 12px 12px !important; font-size: 11px !important; padding: 6px 12px !important; border-radius: 6px !important; }
.carousel-btn {
  position: absolute !important;
  top: 50% !important; transform: translateY(-50%) !important;
  background: var(--surface) !important; border: 1px solid var(--line2) !important;
  color: var(--white) !important; width: 38px !important; height: 38px !important;
  border-radius: 50% !important; display: flex !important; align-items: center !important;
  justify-content: center !important; cursor: pointer !important; z-index: 10 !important;
  transition: all 0.2s !important; font-size: 15px !important;
}
.carousel-btn:hover { background: var(--purple-mid, #9B6DFF) !important; border-color: var(--purple-mid, #9B6DFF) !important; }
.carousel-btn--prev { left: -6px !important; }
.carousel-btn--next { right: -6px !important; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .related-carousel li.product { flex: 0 0 calc(33.33% - 11px) !important; }
}
@media (max-width: 768px) {
  .woocommerce ul.products { grid-template-columns: 1fr !important; padding: 20px var(--pad) !important; }
  .woocommerce div.product { grid-template-columns: 1fr !important; padding: 32px var(--pad) !important; }
  .related-carousel li.product { flex: 0 0 calc(50% - 8px) !important; }
}
@media (max-width: 480px) {
  .related-carousel li.product { flex: 0 0 calc(80% - 8px) !important; }
}

/* Hide duplicate Description h2 inside tab panel */
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description h2 {
  display: none !important;
}

/* Pull description tab panel up closer to product */
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1 !important;
  border-top: 1px solid var(--line) !important;
  padding-top: 40px !important;
  margin-top: 0 !important;
}

/* Remove Add to Wishlist */
.yith-wcwl-add-to-wishlist,
.yith-wcwl-wishlist-anchor,
.added_to_wishlist,
.add_to_wishlist { display: none !important; }

/* Variation + Qty on same row, centered */
.woocommerce div.product .variations_form .variations {
  margin-bottom: 12px !important;
}
.woocommerce div.product form.cart {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
}
.woocommerce div.product form.cart .variations {
  width: 100% !important;
}
.woocommerce div.product form.cart .qty-wrapper-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  justify-content: center !important;
}

/* Add to cart button — full width, centered, taller */
.woocommerce div.product form.cart .single_add_to_cart_button {
  width: 100% !important;
  height: 52px !important;
  font-size: 15px !important;
  border-radius: 8px !important;
  letter-spacing: 0.01em !important;
}

/* Product image card — smaller, fills perfectly */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid var(--line) !important;
  background: #f8f8f8 !important;
}
.woocommerce div.product div.images img {
  width: 100% !important;
  height: 360px !important;
  object-fit: contain !important;
  padding: 16px !important;
  border-radius: 12px !important;
  background: #f8f8f8 !important;
}

/* Related products — rename handled in PHP, full width row */
.woocommerce .related ul.products {
  display: none !important;
}
.woocommerce .related .related-carousel-wrap {
  width: 100% !important;
}

/* ============================================================
   SINGLE PRODUCT — TARGETED FIXES v3.9
============================================================ */

/* Hide wishlist, stock, zoom */
.yith-wcwl-add-to-wishlist,
.yith-wcwl-wishlist-anchor,
.added_to_wishlist,
.add_to_wishlist,
.woocommerce-variation-availability,
.stock,
.woocommerce-product-gallery__trigger { display: none !important; }

/* Product image — fixed, no movement, fills card */
.woocommerce div.product div.images {
    position: static !important;
    top: auto !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid var(--line) !important;
    background: #f5f5f5 !important;
}
.woocommerce div.product div.images img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    object-position: center !important;
    padding: 0 !important;
    border-radius: 12px !important;
    display: block !important;
    transition: none !important;
    transform: none !important;
}
/* Kill hover movement on product image */
.woocommerce div.product div.images:hover img,
.woocommerce div.product div.images img:hover {
    transform: none !important;
}

/* Variation layout — label above, qty beside boxes */
.woocommerce div.product .variations_form .variations {
    width: 100% !important;
    margin-bottom: 16px !important;
}
.woocommerce div.product .variations_form .variations td,
.woocommerce div.product .variations_form .variations th {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
}
.woocommerce div.product .variations_form .variations .label {
    margin-bottom: 8px !important;
}
.woocommerce div.product .variations_form .variations .label label {
    font-family: "DM Mono", monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
}

/* Dosage + qty on same row */
.peptek-var-qty-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin-bottom: 16px !important;
}
.variation-boxes {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

/* Qty buttons */
.qty-wrap {
    display: flex !important;
    align-items: center !important;
    height: 44px !important;
    flex-shrink: 0 !important;
}
.qty-btn {
    width: 36px !important;
    height: 44px !important;
    background: var(--surface) !important;
    border: 1px solid var(--line2) !important;
    color: var(--white) !important;
    font-size: 18px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.qty-btn:first-child { border-radius: 6px 0 0 6px !important; border-right: none !important; }
.qty-btn:last-child  { border-radius: 0 6px 6px 0 !important; border-left: none !important; }
.qty-wrap input.qty {
    width: 52px !important;
    height: 44px !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    text-align: center !important;
    background: var(--surface) !important;
    border: 1px solid var(--line2) !important;
    color: var(--white) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Add to cart — full width, larger */
.woocommerce div.product form.cart .single_add_to_cart_button {
    width: 100% !important;
    height: 52px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: var(--purple-mid, #9B6DFF) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: var(--purple-l, #C4A0FF) !important;
}
.woocommerce div.product form.cart {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
}

/* Description — remove gap, pull up close */
.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1 !important;
    border-top: 1px solid var(--line) !important;
    padding-top: 36px !important;
    margin-top: 8px !important;
}
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description h2 {
    display: none !important;
}

/* Product cards — image fills completely */
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: block !important;
    overflow: hidden !important;
    border-radius: 12px 12px 0 0 !important;
}
.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    object-position: center top !important;
    background: #f5f5f5 !important;
    border-radius: 12px 12px 0 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

/* Related products — carousel */
.woocommerce .related {
    max-width: var(--max-w) !important;
    margin: 0 auto !important;
    padding: 48px var(--pad) !important;
    grid-column: 1 / -1 !important;
    border-top: 1px solid var(--line) !important;
    display: block !important;
    overflow: visible !important;
}
.woocommerce .related h2 {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin-bottom: 24px !important;
}
/* Hide original ul — carousel JS rebuilds it */
.woocommerce .related > ul.products { display: none !important; }
.related-carousel-wrap { display: block !important; overflow: hidden !important; }
.related-carousel-track li.product {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.related-carousel-track li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.35) !important;
    border-color: rgba(155,109,255,0.25) !important;
}
.related-carousel-track li.product img {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 0 !important;
}
.related-carousel-track li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    padding: 10px 12px 4px !important;
    margin: 0 !important;
}
.related-carousel-track li.product .price {
    font-size: 13px !important;
    padding: 0 12px 8px !important;
    display: block !important;
}
.related-carousel-track li.product .product-view-link,
.related-carousel-track li.product .button {
    margin: 0 12px 12px !important;
    font-size: 11px !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    display: inline-block !important;
}

/* ============================================================
   HOMEPAGE CAROUSEL — RESPONSIVE
============================================================ */
.homepage-carousel-wrap { position: relative; overflow: hidden; }
.homepage-carousel { display: flex; gap: 20px; transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.homepage-carousel .hp-product-card { flex: 0 0 calc(33.333% - 14px); min-width: 0; }

@media (max-width: 900px) {
    .homepage-carousel .hp-product-card { flex: 0 0 calc(50% - 10px) !important; }
}
@media (max-width: 600px) {
    .homepage-carousel .hp-product-card { flex: 0 0 calc(100% - 0px) !important; }
    .homepage-carousel { gap: 12px; }
}

/* ============================================================
   SINGLE PRODUCT — COMPACT v4.1
============================================================ */

/* Tighter overall layout */
.woocommerce div.product {
    padding: 32px var(--pad) 0 !important;
    gap: 48px !important;
}

/* Smaller image */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    border: 1px solid var(--line) !important;
}
.woocommerce div.product div.images img {
    height: 300px !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 12px !important;
    background: #f5f5f5 !important;
    display: block !important;
    width: 100% !important;
    border-radius: 10px !important;
    transform: none !important;
    transition: none !important;
}
.woocommerce div.product div.images img:hover { transform: none !important; }

/* Tighter summary */
.woocommerce div.product .summary {
    padding: 0 !important;
}
.woocommerce div.product .product_title {
    font-size: clamp(20px, 2.5vw, 30px) !important;
    margin-bottom: 6px !important;
}
.woocommerce div.product p.price {
    font-size: 22px !important;
    margin-bottom: 14px !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 13.5px !important;
    margin-bottom: 14px !important;
    padding-bottom: 14px !important;
}

/* Trust badges smaller */
.product-trust {
    gap: 6px !important;
    margin-bottom: 14px !important;
}
.product-trust__item {
    padding: 8px 10px !important;
    border-radius: 6px !important;
}
.product-trust__icon { font-size: 14px !important; }
.product-trust__text { font-size: 11px !important; }
.product-trust__text strong { font-size: 11px !important; }

/* DOSAGE label ABOVE variation boxes — not beside qty */
.woocommerce div.product .variations_form .variations .label {
    display: block !important;
    width: 100% !important;
    margin-bottom: 8px !important;
}
.woocommerce div.product .variations_form .variations .value {
    display: block !important;
    width: 100% !important;
}

/* Var+qty row — variations on left, qty on right */
.peptek-var-qty-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: nowrap !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}
.variation-boxes {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    flex: 1 !important;
}
.variation-box {
    padding: 6px 14px !important;
    font-size: 12.5px !important;
}
.qty-wrap {
    flex-shrink: 0 !important;
    height: 40px !important;
}
.qty-btn {
    width: 32px !important;
    height: 40px !important;
}
.qty-wrap input.qty {
    width: 44px !important;
    height: 40px !important;
}

/* Add to cart button */
.woocommerce div.product form.cart .single_add_to_cart_button {
    height: 46px !important;
    font-size: 14px !important;
}

/* Description tab — pull up immediately after summary */
.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1 !important;
    border-top: 1px solid var(--line) !important;
    padding-top: 28px !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
}
.woocommerce div.product .woocommerce-tabs .panel p {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: var(--muted) !important;
    margin-bottom: 12px !important;
}

/* Related products — same card style as shop */
.woocommerce .related {
    grid-column: 1 / -1 !important;
    padding: 40px var(--pad) 48px !important;
    border-top: 1px solid var(--line) !important;
    display: block !important;
    max-width: 100% !important;
}
.woocommerce .related h2 {
    font-size: 20px !important;
    margin-bottom: 20px !important;
}
.woocommerce .related > ul.products { display: none !important; }
.related-carousel-wrap { display: block !important; }

/* Related product card items — match shop cards */
.related-carousel-track li.product {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
}
.related-carousel-track li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.35) !important;
    border-color: rgba(155,109,255,0.25) !important;
}
.related-carousel-track li.product a img {
    width: 100% !important;
    height: 150px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f5f5f5 !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 10px !important;
    display: block !important;
}
.related-carousel-track li.product .product-cat-label {
    padding: 10px 12px 2px !important;
    font-size: 9.5px !important;
}
.related-carousel-track li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    padding: 4px 12px !important;
    margin: 0 !important;
}
.related-carousel-track li.product .product-card-footer {
    padding: 8px 12px 12px !important;
    margin-top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.related-carousel-track li.product .price {
    font-size: 13px !important;
}
.related-carousel-track li.product .product-view-link {
    font-size: 11px !important;
    padding: 5px 10px !important;
    border-radius: 5px !important;
}

/* Product cards shop — fix image cropping */
.woocommerce ul.products li.product a img {
    height: 180px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f5f5f5 !important;
    padding: 10px !important;
}

/* Carousel buttons positioning */
.carousel-btn--prev { left: 0 !important; }
.carousel-btn--next { right: 0 !important; }

/* ============================================================
   PRODUCT CARD IMAGE FIX — v4.2
   Single rule applied everywhere
============================================================ */

/* All product card images — shop, homepage, related */
.woocommerce ul.products li.product a img,
.related-carousel-track li.product a img,
.hp-product-card img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    background: #f5f5f5 !important;
    padding: 0 !important;
    display: block !important;
    border-radius: 12px 12px 0 0 !important;
    margin: 0 !important;
}

/* ============================================================
   UNIVERSAL PRODUCT CARD — v4.3
   All cards identical: shop, homepage, related
============================================================ */

/* ── Shared card shell ── */
.woocommerce ul.products li.product,
.related-carousel-track li.product,
.hp-product-card {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce ul.products li.product:hover,
.related-carousel-track li.product:hover,
.hp-product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 36px rgba(0,0,0,0.4) !important;
    border-color: rgba(155,109,255,0.3) !important;
}

/* ── Shared image ── */
.woocommerce ul.products li.product a img,
.related-carousel-track li.product a img,
.hp-product-card a img,
.hp-product-card img {
    width: 100% !important;
    height: 200px !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f0f0f0 !important;
    padding: 8px !important;
    margin: 0 !important;
    display: block !important;
    border-radius: 12px 12px 0 0 !important;
    transition: transform 0.3s ease !important;
}
.woocommerce ul.products li.product:hover a img,
.related-carousel-track li.product:hover a img { transform: scale(1.03) !important; }

/* ── Category label ── */
.woocommerce ul.products li.product .product-cat-label,
.related-carousel-track li.product .product-cat-label {
    font-family: "DM Mono", monospace !important;
    font-size: 9.5px !important;
    color: var(--muted) !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 12px 14px 2px !important;
    margin: 0 !important;
    display: block !important;
}

/* ── Product title ── */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.related-carousel-track li.product .woocommerce-loop-product__title {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    padding: 2px 14px 6px !important;
    margin: 0 !important;
}

/* ── HIDE description everywhere except shop ── */
.woocommerce ul.products li.product .product-excerpt,
.related-carousel-track li.product .product-excerpt {
    display: none !important;
}

/* ── Card footer: price + button ── */
.woocommerce ul.products li.product .product-card-footer,
.related-carousel-track li.product .product-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 14px 14px !important;
    margin-top: auto !important;
}
.woocommerce ul.products li.product .price,
.related-carousel-track li.product .price {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--white) !important;
}

/* ── View Product button ── */
.product-view-link {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--purple-l, #C4A0FF) !important;
    background: rgba(155,109,255,0.1) !important;
    border: 1px solid rgba(155,109,255,0.25) !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    display: inline-block !important;
    transition: all 0.18s !important;
}
.product-view-link:hover {
    background: var(--purple-mid, #9B6DFF) !important;
    color: #fff !important;
    border-color: var(--purple-mid, #9B6DFF) !important;
}

/* ── Homepage carousel card matches exactly ── */
.hp-product-card > div {
    padding: 10px 14px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}
.hp-product-card .hp-cat {
    font-family: "DM Mono", monospace !important;
    font-size: 9.5px !important;
    color: var(--muted) !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
}
.hp-product-card .hp-title {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    margin-bottom: auto !important;
    padding-bottom: 8px !important;
}
.hp-product-card .hp-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 6px !important;
}
.hp-product-card .hp-price {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--white) !important;
}

/* Mobile featured carousel — CSS drives layout, JS drives transform */
@media (max-width: 767px) {
    .homepage-products-wrap {
        overflow: hidden !important;
        position: relative !important;
    }
    .homepage-products-wrap ul.products {
        display: flex !important;
        flex-wrap: nowrap !important;
        grid-template-columns: unset !important;
        gap: 12px !important;
        padding: 0 !important;
        border: none !important;
        overflow: visible !important;
        transition: transform 0.4s cubic-bezier(0.22,1,0.36,1) !important;
        will-change: transform !important;
    }
    .homepage-products-wrap ul.products li.product {
        flex: 0 0 85vw !important;
        width: 85vw !important;
        min-width: 0 !important;
        max-width: 85vw !important;
    }
}

/* ============================================================
   SINGLE PRODUCT IMAGE — v5.2
   Card fits photo, no hover movement
============================================================ */
.woocommerce div.product div.images {
    position: static !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid var(--line) !important;
    background: #f5f5f5 !important;
    width: 100% !important;
    display: block !important;
}
.woocommerce div.product div.images img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: unset !important;
    padding: 0 !important;
    border-radius: 12px !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
}
.woocommerce div.product div.images img:hover,
.woocommerce div.product div.images:hover img {
    transform: none !important;
    transition: none !important;
}

/* ============================================================
   SINGLE PRODUCT IMAGE — fill card, 25% smaller v5.3
============================================================ */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid var(--line) !important;
    background: #f5f5f5 !important;
    width: 75% !important;
}
.woocommerce div.product div.images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
    border-radius: 12px !important;
}
.woocommerce div.product div.images img:hover,
.woocommerce div.product div.images:hover img {
    transform: none !important;
    transition: none !important;
}

/* ============================================================
   SINGLE PRODUCT IMAGE — v5.4
============================================================ */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #ddd !important;
    background: #efefef !important;
    width: 75% !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.woocommerce div.product div.images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 15% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
    border-radius: 12px !important;
}
.woocommerce div.product div.images img:hover,
.woocommerce div.product div.images:hover img {
    transform: none !important;
    transition: none !important;
}

/* ============================================================
   SINGLE PRODUCT IMAGE — v5.5
   Images are 2048x2048 square — card matches exactly
============================================================ */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #ddd !important;
    background: #efefef !important;
    width: 75% !important;
    aspect-ratio: 1 / 1 !important;
    display: block !important;
}
.woocommerce div.product div.images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
    border-radius: 12px !important;
    position: static !important;
}
.woocommerce div.product div.images img:hover,
.woocommerce div.product div.images:hover img,
.woocommerce div.product div.images .woocommerce-product-gallery__image:hover img {
    transform: none !important;
    transition: none !important;
    top: auto !important;
    left: auto !important;
}

/* ============================================================
   SINGLE PRODUCT PAGE — v5.6
============================================================ */

/* Move image slightly right */
.woocommerce div.product div.images {
    padding-left: 40px !important;
}

/* Hide Add to Wishlist */
.yith-wcwl-add-to-wishlist,
.yith-wcwl-wishlist-anchor,
.add_to_wishlist,
.added_to_wishlist { display: none !important; }

/* DOSAGE label above variation boxes */
.woocommerce div.product .variations_form .variations {
    width: 100% !important;
    border: none !important;
    margin-bottom: 12px !important;
}
.woocommerce div.product .variations_form .variations td,
.woocommerce div.product .variations_form .variations th {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
}
.woocommerce div.product .variations_form .variations .label {
    margin-bottom: 8px !important;
}
.woocommerce div.product .variations_form .variations .label label {
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
}

/* Qty centered above ATC */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}
.woocommerce div.product form.cart .quantity,
.woocommerce div.product form.cart .qty-wrap {
    display: flex !important;
    justify-content: center !important;
    width: auto !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
    width: 100% !important;
}

/* peptek-var-qty-row — stack dosage boxes on left, qty centered below */
.peptek-var-qty-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
}

/* Hide additional info tab visually but keep in DOM */
.woocommerce div.product .woocommerce-tabs ul.tabs li.additional_information_tab { display: none !important; }
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--additional_information { display: none !important; }

/* Simple product dosage box */
.peptek-dosage-wrap { margin-bottom: 16px !important; }
.peptek-dosage-label {
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
    margin-bottom: 8px !important;
}

/* ============================================================
   PRODUCT PAGE — DOSAGE + QTY LAYOUT v5.8
============================================================ */

/* Hide wishlist — all methods */
.yith-wcwl-add-to-wishlist,
.yith-wcwl-wishlist-anchor,
.add_to_wishlist,
.added_to_wishlist,
.yith-wcwl-add-button { display: none !important; }

/* Variations table hidden by JS after reading options */

/* Dosage + qty row */
.peptek-dosage-qty-row {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
}

/* Left: label + boxes */
.dosage-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 1 !important;
}
.dosage-left .peptek-dosage-label,
.peptek-dosage-label {
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
    margin-bottom: 0 !important;
}
.dosage-left .variation-boxes { margin-bottom: 0 !important; }

/* Simple product dosage wrap — same layout */
.peptek-dosage-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
}

/* Simple product: wrap dosage + qty in same row */
.peptek-simple-row {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
}

/* Qty block */
.woocommerce div.product form.cart .quantity,
.woocommerce div.product form.cart .qty-wrap {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* ATC button full width centered below */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
    width: 100% !important;
    margin-top: 0 !important;
}

/* Qty block styling */
.peptek-qty-block {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}
.peptek-qty-block .qty-btn {
    width: 36px !important;
    height: 44px !important;
    background: var(--surface) !important;
    border: 1px solid var(--line2) !important;
    color: var(--white) !important;
    font-size: 18px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.peptek-qty-block .qty-minus { border-radius: 6px 0 0 6px !important; }
.peptek-qty-block .qty-plus  { border-radius: 0 6px 6px 0 !important; }

/* ============================================================
   DOSAGE / QTY / ATC LAYOUT — v6.0
   Row 1: DOSAGE label + boxes
   Row 2: QTY stepper | ATC button
============================================================ */

/* Row 1 — dosage */
.peptek-dosage-row {
    margin-bottom: 16px !important;
}
.peptek-dosage-label {
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
    margin-bottom: 10px !important;
    display: block !important;
}

/* Row 2 — qty + ATC */
.peptek-action-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}
.peptek-qty-label {
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
    flex-shrink: 0 !important;
}
.peptek-qty-block,
.peptek-qty-block-wrap {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}
.peptek-qty-block .qty-btn,
.peptek-qty-block-wrap .qty-btn,
.peptek-qty-block-wrap ~ * .qty-btn {
    width: 36px !important;
    height: 44px !important;
    background: var(--surface) !important;
    border: 1px solid var(--line2) !important;
    color: var(--white) !important;
    font-size: 18px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.qty-minus { border-radius: 6px 0 0 6px !important; border-right: none !important; }
.qty-plus  { border-radius: 0 6px 6px 0 !important; border-left: none !important; }
.peptek-qty-block input.qty,
.peptek-qty-block-wrap input.qty,
.peptek-action-row input.qty {
    width: 52px !important;
    height: 44px !important;
    text-align: center !important;
    background: var(--surface) !important;
    border: 1px solid var(--line2) !important;
    border-left: none !important;
    border-right: none !important;
    color: var(--white) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
}

/* ATC button fills remaining space */
.peptek-action-row .single_add_to_cart_button,
.peptek-action-row button[type="submit"] {
    flex: 1 !important;
    height: 44px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    background: var(--purple-mid, #9B6DFF) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}
.peptek-action-row .single_add_to_cart_button:hover { background: var(--purple-l, #C4A0FF) !important; }

/* Override old form layout */
.woocommerce div.product form.cart {
    display: block !important;
    padding: 0 !important;
}
.woocommerce div.product form.cart .quantity { display: none !important; }
.woocommerce div.product form.cart .single_add_to_cart_button {
    width: auto !important;
    margin: 0 !important;
}

/* Trust badge spacing between bold and regular text */
.product-trust__text strong {
    display: block !important;
    margin-bottom: 2px !important;
}

/* Hide WC default qty on simple products — we render our own */
.woocommerce div.product form.cart:not(.variations_form) .quantity {
    display: none !important;
}

/* Hide ALL WC default qty — we build our own for both simple and variable */
.woocommerce div.product form.cart .quantity { display: none !important; }

/* Hide WC qty-wrap buttons — only keep our custom peptek-qty-block */
.woocommerce div.product form.cart .qty-wrap { display: none !important; }

/* Qty display span */
.peptek-display-qty {
    width: 52px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--surface) !important;
    border-top: 1px solid var(--line2) !important;
    border-bottom: 1px solid var(--line2) !important;
    color: var(--white) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
/* Keep WC qty input in DOM but invisible — needed for form submit */
.woocommerce div.product form.cart .quantity { display: none !important; }
.woocommerce div.product form.cart input.qty[name="quantity"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    display: block !important;
}

/* ============================================================
   ADD TO CART NOTIFICATION — v6.6
   Bottom right, fade in/out
============================================================ */
.woocommerce-message {
    position: fixed !important;
    bottom: 32px !important;
    right: 32px !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    max-width: 360px !important;
    background: var(--surface) !important;
    border: 1px solid rgba(155,109,255,0.3) !important;
    border-left: 3px solid var(--purple-mid, #9B6DFF) !important;
    border-radius: 10px !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    transform: translateY(12px) !important;
    animation: peptek-toast-in 0.3s ease forwards, peptek-toast-out 0.4s ease 3s forwards !important;
    font-size: 14px !important;
    color: var(--white) !important;
}
.woocommerce-message::before { display: none !important; }
.woocommerce-message a.button {
    background: var(--purple-mid, #9B6DFF) !important;
    color: #fff !important;
    border: none !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

@keyframes peptek-toast-in {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes peptek-toast-out {
    to { opacity: 0; transform: translateY(12px); pointer-events: none; }
}

/* ============================================================
   DESCRIPTION TAB — v6.8
============================================================ */
/* Remove gap between ATC area and description */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    grid-column: 1 / -1 !important;
}
/* Hide the tab nav, just show content */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: none !important;
}
/* Purple line directly after wishlist area */
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel {
    border-top: 2px solid var(--purple-mid, #9B6DFF) !important;
    padding-top: 24px !important;
    margin-top: 0 !important;
}
/* Description heading larger */
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel h2 {
    display: block !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin-bottom: 16px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* ============================================================
   DESCRIPTION SECTION — v7.0 aggressive override
============================================================ */
.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    grid-column: 1 / -1 !important;
    clear: both !important;
}
/* Hide tab nav buttons */
.woocommerce div.product .wc-tabs-wrapper ul.tabs.wc-tabs,
.woocommerce div.product ul.tabs.wc-tabs {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Remove all top borders/padding WC adds above tabs */
.woocommerce div.product .woocommerce-tabs::before,
.woocommerce div.product .woocommerce-tabs::after { display: none !important; }

/* The panel itself — purple line on top, tight margin */
.woocommerce div.product .woocommerce-Tabs-panel {
    border: none !important;
    border-top: 2px solid var(--purple-mid, #9B6DFF) !important;
    padding: 24px var(--pad) 48px !important;
    margin: 0 !important;
    display: block !important;
    max-width: var(--max-w) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Description heading */
.woocommerce div.product .woocommerce-Tabs-panel--description h2 {
    display: block !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.01em !important;
}

/* Reduce gap between summary and description */
.woocommerce div.product .summary.entry-summary {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.woocommerce div.product {
    row-gap: 0 !important;
}

/* ============================================================
   DESCRIPTION SECTION — v7.1
============================================================ */
.peptek-description-section {
    grid-column: 1 / -1 !important;
    border-top: 2px solid var(--purple-mid, #9B6DFF) !important;
    margin-top: 0 !important;
    padding-top: 28px !important;
}
.peptek-description-inner {
    max-width: var(--max-w) !important;
    margin: 0 auto !important;
    padding: 0 var(--pad) 48px !important;
}
.peptek-description-inner h2 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin-bottom: 16px !important;
}
.peptek-description-inner p {
    font-size: 14.5px !important;
    color: var(--muted) !important;
    line-height: 1.8 !important;
    margin-bottom: 12px !important;
}

/* Remove gap between product grid and description */
.woocommerce div.product {
    row-gap: 0 !important;
    padding-bottom: 0 !important;
}
.woocommerce div.product .summary {
    padding-bottom: 24px !important;
}
/* Hide old tabs wrapper completely */
.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper {
    display: none !important;
}

/* ============================================================
   PRODUCT PAGE MOBILE — v7.2
============================================================ */
@media (max-width: 768px) {
    .woocommerce div.product {
        grid-template-columns: 1fr !important;
        padding: 24px var(--pad) 0 !important;
        gap: 24px !important;
    }
    .woocommerce div.product div.images {
        padding-left: 0 !important;
        width: 100% !important;
    }
    .woocommerce div.product div.images .woocommerce-product-gallery__image {
        width: 100% !important;
    }
    .peptek-description-section {
        padding: 0 !important;
    }
    .peptek-description-inner {
        padding: 20px var(--pad) 32px !important;
    }
    .peptek-action-row {
        flex-wrap: wrap !important;
    }
    .peptek-action-row .single_add_to_cart_button {
        flex: 1 1 100% !important;
        margin-top: 8px !important;
    }
}

/* ============================================================
   PRODUCT PAGE MOBILE — v7.3 HARD FIX
============================================================ */
@media (max-width: 768px) {
    .woocommerce div.product {
        grid-template-columns: 1fr !important;
        display: block !important;
        padding: 20px var(--pad) 0 !important;
    }
    .woocommerce div.product div.images {
        padding-left: 0 !important;
        margin-bottom: 24px !important;
    }
    .woocommerce div.product div.images .woocommerce-product-gallery__image {
        width: 100% !important;
    }
    .woocommerce div.product div.summary {
        width: 100% !important;
        padding: 0 !important;
    }
    .woocommerce div.product div.images img {
        width: 100% !important;
    }
    .product-trust {
        grid-template-columns: 1fr 1fr !important;
    }
    .peptek-action-row {
        flex-wrap: wrap !important;
    }
    .peptek-action-row .single_add_to_cart_button,
    .peptek-action-row button[type="submit"] {
        flex: 1 1 100% !important;
        margin-top: 8px !important;
    }
}

/* ============================================================
   PRODUCT CARD IMAGE — FINAL OVERRIDE v7.6
============================================================ */
.woocommerce ul.products li.product a img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #f0f0f0 !important;
    padding: 8px !important;
    height: 200px !important;
}

/* ============================================================
   PRODUCT CARD FOOTER — centered name, price aligned with button
============================================================ */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    text-align: center !important;
    padding: 10px 14px 6px !important;
}
.woocommerce ul.products li.product .product-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 14px 14px !important;
}
.woocommerce ul.products li.product .price {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    margin: 0 !important;
}

/* Product card footer — price left, button right, same row */
.product-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 14px 14px !important;
    gap: 8px !important;
}
.product-card-footer .price {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}
/* Center the product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    text-align: center !important;
}

/* ============================================================
   HERO PROMO BANNER — v8.1
============================================================ */
.hero__promo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
}
.hero__promo-inner {
    background: rgba(10, 11, 14, 0.75) !important;
    border: 1px solid rgba(155, 109, 255, 0.4) !important;
    border-radius: 16px !important;
    padding: 32px 36px !important;
    text-align: center !important;
    backdrop-filter: blur(12px) !important;
    max-width: 320px !important;
    width: 100% !important;
}
.hero__promo-eyebrow {
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: var(--purple-l, #C4A0FF) !important;
    margin-bottom: 12px !important;
}
.hero__promo-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: clamp(22px, 2.5vw, 30px) !important;
    font-weight: 800 !important;
    color: var(--white, #F5F7FA) !important;
    line-height: 1.15 !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.02em !important;
}
.hero__promo-sub {
    font-size: 13px !important;
    color: var(--muted, #9BA3B8) !important;
    margin-bottom: 8px !important;
}
.hero__promo-discount {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: clamp(40px, 5vw, 56px) !important;
    font-weight: 800 !important;
    color: var(--purple-mid, #9B6DFF) !important;
    line-height: 1 !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.03em !important;
}
.hero__promo-code {
    font-family: 'DM Mono', monospace !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    color: var(--white, #F5F7FA) !important;
    background: rgba(155, 109, 255, 0.15) !important;
    border: 1px dashed rgba(155, 109, 255, 0.5) !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    margin-bottom: 14px !important;
    display: inline-block !important;
}
.hero__promo-fine {
    font-size: 11px !important;
    color: var(--dim, #6B7280) !important;
    line-height: 1.5 !important;
}

@media (max-width: 768px) {
    .hero__promo { display: none !important; }
}

/* ============================================================
   HERO PROMO — v8.3 resize and reposition
============================================================ */
.hero__promo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-right: 0 !important;
    z-index: 3 !important;
    position: relative !important;
}
.hero__promo-inner {
    background: rgba(10, 11, 14, 0.78) !important;
    border: 1px solid rgba(155, 109, 255, 0.4) !important;
    border-radius: 12px !important;
    padding: 18px 22px !important;
    text-align: center !important;
    backdrop-filter: blur(12px) !important;
    max-width: 200px !important;
    width: 100% !important;
    margin-right: -20px !important;
}
.hero__promo-eyebrow {
    font-size: 8px !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 8px !important;
}
.hero__promo-title {
    font-size: 15px !important;
    margin-bottom: 10px !important;
}
.hero__promo-sub {
    font-size: 10px !important;
    margin-bottom: 4px !important;
}
.hero__promo-discount {
    font-size: 32px !important;
    margin-bottom: 10px !important;
}
.hero__promo-code {
    font-size: 13px !important;
    padding: 6px 12px !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.15em !important;
}
.hero__promo-fine {
    font-size: 8.5px !important;
}

/* ============================================================
   MOBILE HERO + PROMO STRIP — v8.5
============================================================ */
@media (max-width: 768px) {
    /* Raise hero buttons - reduce padding */
    .hero {
        padding: 24px var(--pad) !important;
        gap: 0 !important;
    }
    .hero__body {
        display: none !important;
    }
    .hero__actions {
        margin-top: 16px !important;
    }
    .hero__trust {
        display: none !important;
    }
    /* Hide desktop promo */
    .hero__promo { display: none !important; }

    /* Mobile promo strip */
    .mobile-promo-strip {
        display: block !important;
    }
}
@media (min-width: 769px) {
    .mobile-promo-strip { display: none !important; }
}

/* Mobile promo strip styles */
.mobile-promo-strip {
    background: rgba(155, 109, 255, 0.08) !important;
    border-top: 1px solid rgba(155, 109, 255, 0.2) !important;
    border-bottom: 1px solid rgba(155, 109, 255, 0.2) !important;
    padding: 16px var(--pad) !important;
    text-align: center !important;
}
.mobile-promo-strip__title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin-bottom: 6px !important;
}
.mobile-promo-strip__code {
    font-family: 'DM Mono', monospace !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    color: var(--purple-l, #C4A0FF) !important;
    background: rgba(155, 109, 255, 0.12) !important;
    border: 1px dashed rgba(155, 109, 255, 0.4) !important;
    border-radius: 6px !important;
    padding: 6px 16px !important;
    display: inline-block !important;
    margin-bottom: 6px !important;
}
.mobile-promo-strip__sub {
    font-size: 11px !important;
    color: var(--muted) !important;
}

/* Remove research card number spacing */
.research-card__num { display: none !important; }
.research-card h3 { margin-top: 0 !important; padding-top: 0 !important; }

/* ============================================================
   AFFILIATEWP REGISTRATION PAGE — PepTek Theme
============================================================ */

/* Page wrapper */
.affwp-register,
.affwp-login,
#affwp-register-form,
#affwp-login-form {
    max-width: 520px !important;
    margin: 48px auto !important;
    background: var(--surface, #13151A) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4) !important;
}

/* Labels */
.affwp-register label,
.affwp-login label,
#affwp-register-form label,
#affwp-login-form label {
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #9BA3B8 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* Inputs */
.affwp-register input[type="text"],
.affwp-register input[type="email"],
.affwp-register input[type="password"],
.affwp-register input[type="url"],
.affwp-register textarea,
.affwp-register select,
#affwp-register-form input,
#affwp-register-form textarea,
#affwp-register-form select,
#affwp-login-form input {
    background: #1A1D24 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    color: #F5F7FA !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    padding: 12px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    margin-bottom: 16px !important;
}
.affwp-register input:focus,
#affwp-register-form input:focus,
#affwp-login-form input:focus {
    border-color: rgba(155,109,255,0.5) !important;
    box-shadow: 0 0 0 3px rgba(155,109,255,0.1) !important;
}
.affwp-register input::placeholder {
    color: #4B5260 !important;
}

/* Submit button */
.affwp-register input[type="submit"],
.affwp-register button[type="submit"],
#affwp-register-form input[type="submit"],
#affwp-login-form input[type="submit"] {
    background: #9B6DFF !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    margin-top: 8px !important;
}
.affwp-register input[type="submit"]:hover,
#affwp-register-form input[type="submit"]:hover {
    background: #C4A0FF !important;
}

/* Headings */
.affwp-register h2,
.affwp-register h3,
#affwp-register-form h2 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #F5F7FA !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 24px !important;
}

/* Notices / errors */
.affwp-register .affwp-notice,
.affwp-register .affwp-error,
#affwp-register-form .affwp-notice {
    background: rgba(155,109,255,0.08) !important;
    border: 1px solid rgba(155,109,255,0.2) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    color: #C4A0FF !important;
    margin-bottom: 16px !important;
}

/* Terms checkbox area */
.affwp-register .affwp-tos {
    font-size: 12px !important;
    color: #9BA3B8 !important;
    margin-bottom: 16px !important;
}
.affwp-register .affwp-tos a {
    color: #C4A0FF !important;
}

/* ============================================================
   PARTNER PAGE — v9.2
============================================================ */
.partner-page { padding-bottom: 80px; }

.partner-hero {
    padding: 72px var(--pad) 56px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.partner-hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--white);
    margin-bottom: 16px;
}
.partner-hero p {
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Benefits grid */
.partner-benefits {
    padding: 56px var(--pad);
    border-bottom: 1px solid var(--line);
}
.partner-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: var(--max-w);
    margin: 0 auto;
}
.partner-benefit {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}
.partner-benefit__icon {
    font-size: 28px;
    margin-bottom: 12px;
}
.partner-benefit__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.partner-benefit__desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

/* Form section */
.partner-form-section {
    padding: 56px var(--pad) 0;
}
.partner-form-wrap {
    max-width: 620px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px;
}
.partner-form-header {
    margin-bottom: 32px;
    text-align: center;
}
.partner-form-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.partner-form-header p {
    font-size: 14px;
    color: var(--muted);
}

/* Ninja Forms inside partner page */
.partner-form-wrap .nf-form-cont label,
.partner-form-wrap .nf-field-label label {
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
    margin-bottom: 6px !important;
}
.partner-form-wrap .nf-form-cont input[type="text"],
.partner-form-wrap .nf-form-cont input[type="email"],
.partner-form-wrap .nf-form-cont input[type="tel"],
.partner-form-wrap .nf-form-cont input[type="url"],
.partner-form-wrap .nf-form-cont textarea,
.partner-form-wrap .nf-form-cont select {
    background: #1A1D24 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    color: var(--white) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    padding: 12px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s !important;
}
.partner-form-wrap .nf-form-cont input:focus,
.partner-form-wrap .nf-form-cont textarea:focus {
    border-color: rgba(155,109,255,0.5) !important;
    box-shadow: 0 0 0 3px rgba(155,109,255,0.1) !important;
}
.partner-form-wrap .nf-form-cont input[type="submit"],
.partner-form-wrap .nf-form-cont button[type="submit"],
.partner-form-wrap .nf-form-cont .submit-wrap input {
    background: #9B6DFF !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}
.partner-form-wrap .nf-form-cont input[type="submit"]:hover {
    background: #C4A0FF !important;
}

@media (max-width: 900px) {
    .partner-benefits__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .partner-benefits__grid { grid-template-columns: 1fr; }
    .partner-form-wrap { padding: 24px 20px; }
}

/* Hide Ninja Forms required field disclaimer */
.partner-form-wrap .nf-form-fields-required,
.partner-form-wrap p.nf-form-fields-required {
    display: none !important;
}

/* Already an affiliate link */
.partner-already-affiliate {
    text-align: center !important;
    margin-top: 20px !important;
    font-size: 13px !important;
    color: var(--muted) !important;
}
.partner-already-affiliate a {
    color: var(--purple-l, #C4A0FF) !important;
    text-decoration: none !important;
}
.partner-already-affiliate a:hover {
    color: var(--purple-mid, #9B6DFF) !important;
}

/* ── GOOGLE SIGN IN + DIVIDER ─────────────────────────────── */
.gate__social {
    margin-bottom: 16px !important;
}
.gate__social a,
.gate__social button,
.gate__social .nsl-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 12px 16px !important;
    background: #fff !important;
    color: #3c3c3c !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 8px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
}
.gate__social a:hover,
.gate__social .nsl-button:hover {
    background: #f5f5f5 !important;
}
.gate__divider {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    color: var(--dim) !important;
    font-size: 12px !important;
}
.gate__divider::before,
.gate__divider::after {
    content: '' !important;
    flex: 1 !important;
    height: 1px !important;
    background: var(--line) !important;
}

/* ============================================================
   CHECKOUT PAGE — v9.8
============================================================ */
.woocommerce-checkout .woocommerce {
    max-width: var(--max-w) !important;
    margin: 48px auto !important;
    padding: 0 var(--pad) !important;
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 40px !important;
    align-items: start !important;
}
.woocommerce-checkout #customer_details {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    padding: 32px !important;
}
.woocommerce-checkout h3 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.01em !important;
}
/* Form rows */
.woocommerce-checkout .form-row {
    margin-bottom: 16px !important;
}
.woocommerce-checkout .form-row label {
    font-family: 'DM Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--muted) !important;
    margin-bottom: 6px !important;
    display: block !important;
}
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    background: #1A1D24 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    color: var(--white) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    padding: 12px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s !important;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: rgba(155,109,255,0.5) !important;
    box-shadow: 0 0 0 3px rgba(155,109,255,0.1) !important;
}
.woocommerce-checkout .form-row input::placeholder {
    color: #4B5260 !important;
}
/* Side by side rows */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: calc(50% - 8px) !important;
    display: inline-block !important;
}
.woocommerce-checkout .form-row-first { margin-right: 16px !important; }

/* Order summary sidebar */
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    padding: 32px !important;
}
.woocommerce-checkout .shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
}
.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--line) !important;
    font-size: 14px !important;
    color: var(--white) !important;
}
.woocommerce-checkout .shop_table tfoot tr:last-child td,
.woocommerce-checkout .shop_table tfoot tr:last-child th {
    font-weight: 700 !important;
    font-size: 16px !important;
    border-bottom: none !important;
}
/* Place order button */
.woocommerce-checkout #place_order {
    background: var(--purple-mid, #9B6DFF) !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 16px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    margin-top: 16px !important;
}
.woocommerce-checkout #place_order:hover {
    background: var(--purple-l, #C4A0FF) !important;
}
/* Hide ship to different address */
.woocommerce-checkout .woocommerce-shipping-fields { display: none !important; }
.woocommerce-checkout .ship-to-different-address { display: none !important; }

@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce {
        grid-template-columns: 1fr !important;
    }
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100% !important;
        display: block !important;
        margin-right: 0 !important;
    }
}

/* Checkout wrap */
.peptek-checkout-wrap {
    max-width: var(--max-w) !important;
    margin: 0 auto !important;
    padding: 48px var(--pad) !important;
}

/* Fix checkout placeholder color */
.woocommerce-checkout input::placeholder,
.woocommerce-checkout select::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: #6B7280 !important;
    opacity: 1 !important;
}
.woocommerce-checkout input::-webkit-input-placeholder { color: #6B7280 !important; opacity: 1 !important; }
.woocommerce-checkout input::-moz-placeholder { color: #6B7280 !important; opacity: 1 !important; }
.woocommerce-checkout input:-ms-input-placeholder { color: #6B7280 !important; opacity: 1 !important; }

/* CHECKOUT INPUT — force visible placeholder v10.2 */
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row input,
#billing_first_name, #billing_last_name,
#billing_address_1, #billing_address_2,
#billing_city, #billing_state, #billing_postcode,
#billing_country, #billing_email, #billing_phone {
    background-color: #1A1D24 !important;
    color: #F5F7FA !important;
}
#billing_first_name::placeholder, #billing_last_name::placeholder,
#billing_address_1::placeholder, #billing_address_2::placeholder,
#billing_city::placeholder, #billing_postcode::placeholder,
#billing_email::placeholder, #billing_phone::placeholder {
    color: #9BA3B8 !important;
    opacity: 1 !important;
}

/* CHECKOUT PLACEHOLDER — bigger darker text v10.3 */
.woocommerce-checkout input::placeholder { color: #aaaaaa !important; opacity: 1 !important; font-size: 14px !important; }
.woocommerce-checkout input::-webkit-input-placeholder { color: #aaaaaa !important; opacity: 1 !important; font-size: 14px !important; }
.woocommerce-checkout input::-moz-placeholder { color: #aaaaaa !important; opacity: 1 !important; font-size: 14px !important; }

/* ============================================================
   RESEARCH CATEGORY CARDS — 3D + SCROLL ANIMATIONS v10.8
============================================================ */

/* 3D bezel card style */
.research-card {
    border-radius: 20px !important;
    border: 2px solid rgba(155,109,255,0.15) !important;
    background: var(--surface) !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 -1px 0 rgba(0,0,0,0.4) inset,
        0 8px 32px rgba(0,0,0,0.35),
        0 2px 0 rgba(155,109,255,0.08) !important;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, border-color 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}
.research-card::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
.research-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    border-color: rgba(155,109,255,0.35) !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.08) inset,
        0 -1px 0 rgba(0,0,0,0.4) inset,
        0 20px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(155,109,255,0.2),
        0 0 40px rgba(155,109,255,0.08) !important;
}

/* Scroll-triggered slide-in animation */
.research-card {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.research-card.card-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.research-card:hover.card-visible {
    transform: translateY(-6px) scale(1.01) !important;
}

/* Stagger delays */
.research-card:nth-child(1) { transition-delay: 0s !important; }
.research-card:nth-child(2) { transition-delay: 0.1s !important; }
.research-card:nth-child(3) { transition-delay: 0.2s !important; }
.research-card:nth-child(4) { transition-delay: 0.3s !important; }
.research-card:nth-child(5) { transition-delay: 0.4s !important; }
.research-card:nth-child(6) { transition-delay: 0.5s !important; }
.research-card:nth-child(7) { transition-delay: 0.6s !important; }

/* View Entire Catalog button — purple */
.research-section .btn-outline,
.research-section a.btn-outline,
a[href*="shop"].btn-outline {
    background: var(--purple-mid, #9B6DFF) !important;
    color: #fff !important;
    border-color: var(--purple-mid, #9B6DFF) !important;
}
.research-section .btn-outline:hover,
.research-section a.btn-outline:hover {
    background: var(--purple-l, #C4A0FF) !important;
    border-color: var(--purple-l, #C4A0FF) !important;
}

/* ============================================================
   NAV
============================================================ */
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__logo img {
  height: 40px;
  width: auto;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
  margin-left: 0;
}
.nav__menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__menu a:hover,
.nav__menu a.current { color: var(--white); }
.nav__right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
#site-header {
  height: 72px;
}

/* ============================================================
   MOBILE MENU
============================================================ */
.nav__mobile-menu {
  display: none;
}

/* ============================================================
   NAV — HEIGHT + TEXT SIZE
============================================================ */
#site-header {
    height: 64px !important;
}
.nav__inner {
    height: 64px !important;
}
.nav__menu a {
    font-size: 16px !important;
    font-weight: 500 !important;
}
.nav__icon-btn svg {
    width: 22px !important;
    height: 22px !important;
}
.nav__cta {
    font-size: 15px !important;
    padding: 10px 22px !important;
}

/* ============================================================
   NAV — TIGHTER HEIGHT + LOGO PADDING
============================================================ */
#site-header {
    height: 52px !important;
}
.nav__inner {
    height: 52px !important;
    padding-bottom: 6px !important;
}
.nav__logo img,
.nav__logo .custom-logo {
    height: 34px !important;
    margin-bottom: 4px !important;
}

/* ============================================================
   NAV — HALF HEIGHT + LOGO UP
============================================================ */
#site-header {
    height: 26px !important;
}
.nav__inner {
    height: 26px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.nav__logo img,
.nav__logo .custom-logo {
    height: 28px !important;
    margin-bottom: 8px !important;
}

/* ============================================================
   NAV — HEIGHT ADJUST
============================================================ */
#site-header {
    height: 44px !important;
}
.nav__inner {
    height: 44px !important;
}

/* ============================================================
   NAV — LOGO POSITION UP
============================================================ */
.nav__logo,
.nav__logo a,
.nav__logo img,
.nav__logo svg,
.site-logo,
a.custom-logo-link,
a.custom-logo-link img {
    position: relative !important;
    top: -4px !important;
}

/* ============================================================
   NAV — LOGO POSITION UP MORE
============================================================ */
.nav__logo,
.nav__logo a,
.nav__logo img,
.nav__logo svg,
.site-logo,
a.custom-logo-link,
a.custom-logo-link img {
    position: relative !important;
    top: -8px !important;
}

/* ============================================================
   NAV — ALIGN ALL ITEMS UP WITH LOGO
============================================================ */
.nav__menu a,
.nav__right,
.nav__icon-btn,
.nav__cta {
    position: relative !important;
    top: -8px !important;
}

/* ============================================================
   REVEAL — ALWAYS VISIBLE FALLBACK
============================================================ */
.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ============================================================
   NAV SEARCH
============================================================ */
.nav__search-wrap {
    position: relative !important;
}

.nav__search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 300px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    z-index: 9999;
}

.nav__search-dropdown.open {
    display: block;
}

.nav__search-dropdown form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav__search-dropdown input[type="search"] {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--white);
    padding: 8px 12px;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
}

.nav__search-dropdown input[type="search"]::placeholder {
    color: var(--muted);
    opacity: 1;
}

.nav__search-dropdown button[type="submit"] {
    background: var(--purple-mid);
    border: none;
    border-radius: 6px;
    color: white;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.05em;
}

.nav__search-dropdown button[type="submit"]:hover {
    background: var(--purple-d);
}

/* ============================================================
   WOOCOMMERCE SORTING DROPDOWN — PURPLE THEME
============================================================ */
.woocommerce-ordering select,
.woocommerce .woocommerce-ordering select {
    background-color: var(--purple-d) !important;
    color: #F5F7FA !important;
    border: 1px solid var(--purple-mid) !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-family: 'DM Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
}

/* ============================================================
   SEARCH ICON — NO BORDER + SORTING FONT FIX
============================================================ */
.nav__search-btn {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.woocommerce-ordering select,
.woocommerce .woocommerce-ordering select {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0 !important;
}

/* ============================================================
   SEARCH ICON — VISIBLE FIX
============================================================ */
.nav__search-btn,
.nav__search-btn svg {
    color: var(--muted) !important;
    stroke: var(--muted) !important;
}

.nav__search-btn:hover,
.nav__search-btn:hover svg {
    color: var(--white) !important;
    stroke: var(--white) !important;
}

/* ============================================================
   SEARCH AUTOCOMPLETE
============================================================ */
.nav__search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    max-height: 320px;
    overflow-y: auto;
}

.nav__search-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--white);
    transition: background 0.15s;
}

.nav__search-result:hover {
    background: var(--surface2);
}

.nav__search-result img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.nav__search-result span {
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.nav__search-dropdown {
    position: relative;
}

/* ============================================================
   SINGLE PRODUCT — SMALLER IMAGE
============================================================ */
.woocommerce-product-gallery,
.woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images {
    max-width: 380px !important;
    width: 380px !important;
}

.woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
    max-height: 380px !important;
    width: 100% !important;
    object-fit: contain !important;
}

/* ============================================================
   SINGLE PRODUCT — SMALLER IMAGE OVERRIDE
============================================================ */
.woocommerce div.product div.images {
    width: 40% !important;
    max-width: 420px !important;
}

.woocommerce div.product div.images img {
    width: 100% !important;
    height: auto !important;
    max-height: 420px !important;
    object-fit: contain !important;
}

.woocommerce-product-gallery__image a img {
    width: 100% !important;
    height: auto !important;
    max-width: 420px !important;
    max-height: 420px !important;
}

/* ============================================================
   SINGLE PRODUCT — IMAGE SIZE BUMP
============================================================ */
.woocommerce div.product div.images {
    width: 48% !important;
    max-width: 560px !important;
}

.woocommerce div.product div.images img,
.woocommerce-product-gallery__image a img {
    width: 100% !important;
    height: auto !important;
    max-width: 560px !important;
    max-height: 560px !important;
    object-fit: contain !important;
}

/* ============================================================
   SINGLE PRODUCT — IMAGE SIZE LARGE
============================================================ */
.woocommerce div.product div.images {
    width: 55% !important;
    max-width: 750px !important;
}

.woocommerce div.product div.images img,
.woocommerce-product-gallery__image a img {
    width: 100% !important;
    height: auto !important;
    max-width: 750px !important;
    max-height: 750px !important;
    object-fit: contain !important;
}

/* ============================================================
   SINGLE PRODUCT — IMAGE POSITION
============================================================ */
.woocommerce div.product div.images {
    margin-left: 40px !important;
}

/* ============================================================
   SINGLE PRODUCT — IMAGE POSITION ADJUST
============================================================ */
.woocommerce div.product div.images {
    margin-left: 100px !important;
    margin-top: 30px !important;
}

/* ============================================================
   RESEARCH CARD ANIMATION — HOMEPAGE ONLY
============================================================ */
.home .research-card {
    opacity: 0 !important;
    transform: translateY(40px) !important;
}
.home .research-card.card-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.home .research-card:hover.card-visible {
    transform: translateY(-6px) scale(1.01) !important;
}

/* Research category page — always visible, keep hover effect */
.page-template-page-research-categories .research-card,
.tax-product_cat .research-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.page-template-page-research-categories .research-card:hover,
.tax-product_cat .research-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
}

/* ============================================================
   MOBILE MENU — SHOW ON MOBILE
============================================================ */
@media (max-width: 768px) {
    .nav__mobile-menu.open {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: var(--bg) !important;
        z-index: 9999 !important;
        padding: 80px var(--pad) 40px !important;
        gap: 24px !important;
    }

    .nav__mobile-menu.open a {
        font-size: 24px !important;
        font-weight: 600 !important;
        color: var(--white) !important;
        text-decoration: none !important;
    }
}

/* ============================================================
   MOBILE — FIX OVERFLOW FROM ABSOLUTE NAV
============================================================ */
@media (max-width: 768px) {
    .nav__menu {
        position: static !important;
        transform: none !important;
        display: none !important;
    }
    #site-header {
        overflow: visible !important;
    }
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
}

/* ============================================================
   HAMBURGER — DESKTOP HIDDEN, MOBILE VISIBLE
============================================================ */
.nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: relative;
    top: -8px;
}

.nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav__hamburger {
        display: flex !important;
    }
}

/* ============================================================
   SINGLE PRODUCT — CENTER IMAGE ON MOBILE
============================================================ */
@media (max-width: 768px) {
    .woocommerce div.product div.images {
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 0 !important;
    }
}

/* ============================================================
   SINGLE PRODUCT — MOBILE IMAGE CENTER OVERRIDE
============================================================ */
@media (max-width: 768px) {
    .woocommerce div.product div.images,
    .woocommerce-page div.product div.images {
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 0 !important;
        float: none !important;
        width: 100% !important;
    }
}
