/*
Theme Name: EverPeak
Theme URI: https://everpeakresearch.com
Author: EverPeak Peptides
Description: Custom theme matching the EverPeak Research Hub storefront.
Version: 1.1.18
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: everpeak
*/

:root {
  --radius: 0.5rem;
  --navy-deep: oklch(0.18 0.05 258);
  --navy: oklch(0.28 0.09 258);
  --royal: oklch(0.55 0.19 258);
  --ice: oklch(0.97 0.015 250);
  --mist: oklch(0.945 0.012 250);
  --background: oklch(1 0 0);
  --foreground: oklch(0.18 0.05 258);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.18 0.05 258);
  --primary: oklch(0.28 0.09 258);
  --primary-foreground: oklch(0.98 0.005 250);
  --secondary: oklch(0.97 0.015 250);
  --muted: oklch(0.965 0.01 250);
  --muted-foreground: oklch(0.5 0.03 258);
  --accent: oklch(0.55 0.19 258);
  --accent-foreground: oklch(0.98 0.005 250);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.92 0.012 250);
  --input: oklch(0.92 0.012 250);
  --shadow-elevated: 0 30px 80px -30px color-mix(in oklab, var(--navy-deep) 40%, transparent);
  --shadow-glow: 0 0 0 1px color-mix(in oklab, var(--royal) 20%, transparent),
    0 20px 60px -20px color-mix(in oklab, var(--royal) 45%, transparent);
  --shadow-card: 0 1px 2px color-mix(in oklab, var(--navy-deep) 6%, transparent),
    0 10px 30px -12px color-mix(in oklab, var(--navy-deep) 12%, transparent);
  --gradient-hero: radial-gradient(1200px 600px at 20% -10%, color-mix(in oklab, var(--royal) 22%, transparent), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, color-mix(in oklab, var(--navy) 30%, transparent), transparent 55%),
    linear-gradient(180deg, var(--navy-deep), color-mix(in oklab, var(--navy-deep) 92%, black));
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Serif", ui-serif, Georgia, serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

body.everpeak-body {
  margin: 0;
  position: relative;
  width: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "cv11", "ss01", "ss03";
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  overscroll-behavior-x: none;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { letter-spacing: -0.02em; margin: 0; overflow-wrap: break-word; }
p { margin: 0; }

.ep-container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px !important;
  padding-right: 20px !important;
  padding-left: max(20px, env(safe-area-inset-left, 0px)) !important;
  padding-right: max(20px, env(safe-area-inset-right, 0px)) !important;
}
@media (min-width: 768px) {
  .ep-container {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}

.ep-hero { background: var(--gradient-hero); color: #fff; overflow-x: clip; }
.ep-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.ep-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.ep-kicker-light { color: rgba(255,255,255,0.7); }

.ep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease, opacity 0.2s ease;
}
.ep-btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-glow);
}
.ep-btn-accent:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px color-mix(in oklab, var(--royal) 35%, transparent), 0 26px 70px -20px color-mix(in oklab, var(--royal) 55%, transparent); }
.ep-btn-primary { background: var(--primary); color: var(--primary-foreground); }
.ep-btn-primary:hover { background: var(--navy-deep); }
.ep-btn-ghost {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.ep-btn-ghost:hover { background: rgba(255,255,255,0.1); }
.ep-btn-outline {
  background: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
}
.ep-btn-outline:hover { background: var(--muted); }
.ep-btn-full { width: 100%; }
.ep-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.ep-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
}

/* Announcement */
.ep-announce {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: var(--navy-deep);
  color: #fff;
}
.ep-announce-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1rem;
  padding: 0.5rem 0;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.ep-announce-inner span { display: inline-flex; align-items: center; gap: 0.5rem; }
.ep-announce-ship { color: var(--ice); }

/* Header */
.ep-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 85%, transparent);
  backdrop-filter: blur(24px);
}
.ep-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 4rem;
  min-width: 0;
}
.ep-logo { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; min-width: 0; }
.ep-logo-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  flex-shrink: 0;
}
.ep-logo-mark svg { width: 1rem; height: 1rem; display: block; }
.ep-logo-name { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.ep-logo-sub { margin-top: 2px; font-size: 9px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-foreground); }
.ep-nav { display: none; align-items: center; gap: 2rem; }
.ep-nav a { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); transition: color 0.15s; }
.ep-nav a:hover, .ep-nav a.current-menu-item, .ep-nav a.is-active { color: var(--foreground); }
.ep-header-actions { display: flex; align-items: center; gap: 0.15rem; }
.ep-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
}
.ep-icon-btn:hover { background: var(--muted); color: var(--foreground); }
.ep-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.ep-cart-count[hidden] { display: none; }
.ep-mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--background); }
.ep-mobile-nav.is-open { display: block; }
.ep-mobile-nav a { display: block; padding: 0.65rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); border-radius: 0.375rem; }
.ep-mobile-nav a:hover { background: var(--muted); color: var(--foreground); }
.ep-hide-sm { display: none; }

@media (min-width: 640px) {
  .ep-hide-sm { display: inline-flex; }
}
@media (min-width: 768px) {
  .ep-nav { display: flex; }
  .ep-menu-toggle { display: none !important; }
  .ep-mobile-nav { display: none !important; }
}

/* Footer */
.ep-footer { margin-top: 3rem; border-top: 1px solid var(--border); background: var(--navy-deep); color: rgba(255,255,255,0.8); }
.ep-footer-grid { display: grid; gap: 2.5rem; padding: 3rem 0; min-width: 0; }
.ep-footer-logo .ep-logo-mark { background: linear-gradient(135deg, var(--royal), var(--accent)); }
.ep-footer-logo .ep-logo-name, .ep-footer-logo .ep-logo-sub { color: #fff; }
.ep-footer-logo .ep-logo-sub { color: rgba(255,255,255,0.5); }
.ep-footer-blurb { margin-top: 1rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.ep-footer-col h4 { margin-bottom: 1rem; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; }
.ep-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.ep-footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.ep-footer-col a:hover { color: #fff; }
.ep-footer-legal { border-top: 1px solid rgba(255,255,255,0.1); }
.ep-footer-legal-inner { padding: 1.5rem 0; font-size: 12px; color: rgba(255,255,255,0.5); }
.ep-footer-legal-inner strong { display: block; margin-bottom: 0.5rem; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.ep-footer-copy { margin-top: 1rem; }

@media (min-width: 768px) {
  .ep-footer { margin-top: 6rem; }
  .ep-footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; padding: 4rem 0; }
}

/* Age gate */
.ep-agegate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: color-mix(in oklab, var(--navy-deep) 85%, transparent);
  backdrop-filter: blur(12px);
  overflow-y: auto;
}
.ep-agegate.is-open { display: flex; }
.ep-agegate-card {
  width: 100%;
  max-width: 28rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--background);
  box-shadow: var(--shadow-elevated);
}
.ep-agegate-hero { padding: 2rem; text-align: center; color: #fff; }
.ep-agegate-icon {
  margin: 0 auto;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
}
.ep-agegate-hero h2 { margin-top: 1rem; font-size: 1.5rem; }
.ep-agegate-hero p { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.ep-agegate-body { padding: 2rem; display: grid; gap: 1.25rem; }
.ep-agegate-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}
.ep-agegate-check:hover { background: var(--muted); }
.ep-agegate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ep-agegate-actions .ep-btn,
.ep-agegate-exit {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.85rem 1rem;
}
.ep-agegate-exit {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--muted-foreground);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}
@media (max-width: 420px) {
  .ep-agegate-actions { grid-template-columns: 1fr; }
}
.ep-agegate-note { text-align: center; font-size: 11px; line-height: 1.6; color: var(--muted-foreground); }

/* Cart drawer */
.ep-drawer { position: fixed; inset: 0; z-index: 50; pointer-events: none; overflow: hidden; }
.ep-drawer.is-open { pointer-events: auto; }
.ep-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--navy-deep) 50%, transparent);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
}
.ep-drawer.is-open .ep-drawer-backdrop { opacity: 1; }
.ep-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: min(28rem, 100%);
  height: 100%;
  background: var(--background);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-elevated);
  transform: translateX(100%);
  transition: transform 0.3s;
}
.ep-drawer.is-open .ep-drawer-panel { transform: translateX(0); }
.ep-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.ep-drawer-head strong { display: block; font-size: 0.875rem; }
.ep-drawer-head span { font-size: 12px; color: var(--muted-foreground); }
.ep-drawer-body { flex: 1; overflow: auto; }
.ep-drawer-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; text-align: center; padding: 1.5rem; color: var(--muted-foreground); font-size: 0.875rem; }
.ep-drawer-item { display: flex; gap: 1rem; padding: 1.25rem; border-bottom: 1px solid var(--border); min-width: 0; align-items: flex-start; }
.ep-drawer-item:last-child { border-bottom: 0; }
.ep-drawer-thumb {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mist), var(--ice));
}
.ep-drawer-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 0.25rem; }
.ep-drawer-item-top { display: flex; justify-content: space-between; gap: 0.5rem; min-width: 0; }
.ep-drawer-item-top strong { font-size: 0.875rem; overflow-wrap: break-word; word-break: normal; }
.ep-drawer-item-top small { display: block; font-size: 12px; color: var(--muted-foreground); }
.ep-qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 0.375rem; flex-shrink: 0; }
.ep-qty button { width: 1.75rem; height: 1.75rem; border: 0; background: transparent; cursor: pointer; }
.ep-qty button:hover { background: var(--muted); }
.ep-qty span { width: 1.75rem; text-align: center; font-size: 12px; font-weight: 500; }
.ep-drawer-foot { border-top: 1px solid var(--border); padding: 1.25rem; }
.ep-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; min-width: 0; }
.ep-row dt, .ep-row > span:first-child { min-width: 0; color: var(--muted-foreground); overflow-wrap: break-word; }
.ep-row dd, .ep-row > :last-child { margin: 0; flex-shrink: 0; white-space: nowrap; font-weight: 500; color: var(--foreground); }
.ep-row-accent { color: var(--accent); margin-top: 0.25rem; }
.ep-row-accent dt, .ep-row-accent > span:first-child, .ep-row-accent dd, .ep-row-accent > :last-child { color: var(--accent); }
.ep-hint { margin-top: 0.5rem; border-radius: 0.375rem; background: var(--mist); padding: 0.5rem 0.75rem; font-size: 11px; font-weight: 500; color: var(--navy-deep); }
.ep-progress { margin-top: 0.4rem; height: 6px; overflow: hidden; border-radius: 999px; background: var(--background); }
.ep-progress > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }

/* Home */
.ep-home-hero { position: relative; overflow-x: clip; }
.ep-home-hero-grid { display: grid; gap: 2.5rem; padding: 3rem 0 2.5rem; min-width: 0; }
.ep-home-hero-grid > * { min-width: 0; max-width: 100%; }
.ep-home-hero h1 { margin-top: 0.75rem; font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; line-height: 1.05; overflow-wrap: anywhere; }
.ep-home-hero .lead { margin-top: 1.25rem; max-width: 32rem; font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.7); }
.ep-home-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.ep-home-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.ep-home-stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .ep-home-stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ep-home-stats > * { min-width: 0; }
.ep-home-stats strong { display: block; font-size: 1.5rem; }
.ep-home-stats span { display: block; margin-top: 0.25rem; font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); overflow-wrap: anywhere; }
.ep-vial-wrap { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; max-width: 100%; }
.ep-vial-glow {
  position: absolute;
  inset: -2.5rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--royal) 40%, transparent);
  filter: blur(100px);
  pointer-events: none;
}
.ep-vial-img { position: relative; z-index: 2; max-height: min(420px, 70vw); width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 40px 80px rgba(20,40,120,0.6)); }
.ep-float {
  position: absolute;
  z-index: 3;
  display: none;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  font-size: 12px;
}
.ep-float small { display: block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.ep-float-tr { top: 2rem; right: 0; }
.ep-float-bl { bottom: 4rem; left: 0; }
.ep-trustbar { border-top: 1px solid rgba(255,255,255,0.1); background: color-mix(in oklab, var(--navy-deep) 40%, transparent); }
.ep-trustbar-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.25rem 0; font-size: 12px; color: rgba(255,255,255,0.7); }
.ep-trustbar-item { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; min-width: 0; }
.ep-trustbar-item span:last-child { overflow-wrap: anywhere; }
.ep-trustbar-icon { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 0.375rem; background: rgba(255,255,255,0.1); color: #fff; }

@media (min-width: 768px) {
  .ep-home-hero-grid { grid-template-columns: 1fr 1fr; align-items: center; padding: 7rem 0 5rem; }
  .ep-home-hero h1 { font-size: 3.75rem; }
  .ep-vial-img { max-height: 560px; }
  .ep-trustbar-inner { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .ep-float { display: block; }
}

.ep-section { padding: 3rem 0; }
.ep-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.ep-section-head h2 { margin-top: 0.5rem; font-size: 1.875rem; font-weight: 600; }
.ep-section-head p { margin-top: 0.5rem; max-width: 36rem; font-size: 0.875rem; color: var(--muted-foreground); }
.ep-link-accent { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.ep-link-accent:hover { text-decoration: underline; }
.ep-mist { background: var(--mist); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ep-center { text-align: center; }
.ep-features { display: grid; gap: 1.25rem; margin-top: 3rem; }
.ep-feature { padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--card); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.ep-feature:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--accent) 30%, var(--border)); box-shadow: var(--shadow-card); }
.ep-icon-box {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  color: var(--accent);
}
.ep-feature h3 { margin-top: 1rem; font-size: 1rem; }
.ep-feature p { margin-top: 0.4rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }
.ep-disclaimer { display: grid; gap: 1.5rem; padding: 2rem; }
.ep-disclaimer-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; background: var(--navy-deep); color: #fff; }
.ep-disclaimer h3 { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }
.ep-disclaimer p { margin-top: 0.5rem; font-size: 1rem; line-height: 1.7; }

@media (min-width: 768px) {
  .ep-section { padding: 5rem 0; }
  .ep-section-head h2 { font-size: 2.25rem; }
  .ep-features { grid-template-columns: repeat(3, 1fr); }
  .ep-disclaimer { grid-template-columns: auto 1fr; align-items: center; padding: 3rem; }
}

/* Product cards */
.ep-grid-products { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .ep-grid-products { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ep-grid-products { grid-template-columns: repeat(4, 1fr); } }
.ep-grid-products.shop { }
@media (min-width: 1280px) { .ep-grid-products.shop { grid-template-columns: repeat(4, 1fr); } }

.ep-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.ep-product-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--accent) 40%, var(--border)); box-shadow: var(--shadow-elevated); }
.ep-badges { position: absolute; top: 1rem; left: 1rem; z-index: 2; display: flex; flex-direction: column; gap: 0.35rem; }
.ep-badge { display: inline-block; border-radius: 999px; padding: 0.25rem 0.65rem; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.ep-badge-dark { background: var(--navy-deep); color: #fff; }
.ep-badge-accent { border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent); background: color-mix(in oklab, var(--accent) 10%, transparent); color: var(--accent); backdrop-filter: blur(8px); }
.ep-product-media {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mist), var(--ice), #fff);
}
.ep-product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, color-mix(in oklab, var(--royal) 28%, transparent), transparent 60%);
  opacity: 0.7;
}
.ep-product-media img { position: relative; z-index: 1; height: 85%; width: auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(30,50,120,0.35)); transition: transform 0.7s; }
.ep-product-card:hover .ep-product-media img { transform: translateY(-8px) scale(1.06); }
.ep-product-body { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem; flex: 1; }
.ep-product-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.ep-product-title h3 { font-size: 1rem; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.ep-purity { font-size: 11px; font-weight: 600; color: var(--accent); white-space: nowrap; flex-shrink: 0; }
.ep-tagline { margin-top: 0.25rem; font-size: 0.8125rem; color: var(--muted-foreground); }
.ep-product-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }
.ep-price { font-size: 0.875rem; color: var(--muted-foreground); }
.ep-price strong { color: var(--foreground); font-size: 1rem; }
.ep-view { font-size: 0.8125rem; font-weight: 600; color: var(--accent); }

/* Shop */
.ep-shop-hero { border-bottom: 1px solid var(--border); background: var(--mist); padding: 3.5rem 0; }
.ep-shop-hero h1 { margin-top: 0.5rem; font-size: 2.25rem; font-weight: 600; }
.ep-shop-hero p { margin-top: 0.5rem; max-width: 36rem; font-size: 0.875rem; color: var(--muted-foreground); }
.ep-shop-tools { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.ep-input, .ep-select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-input-wrapper input, .woocommerce-input-wrapper select, .select2-container .select2-selection--single {
  height: 2.5rem;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--background);
  padding: 0 0.75rem;
  font-size: 0.875rem;
  outline: none;
  color: var(--foreground);
}
.ep-input:focus, .ep-select:focus, .woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--accent); }
textarea.ep-input, .woocommerce form .form-row textarea { height: auto; padding: 0.75rem; }
@media (min-width: 768px) {
  .ep-shop-hero h1 { font-size: 3rem; }
  .ep-shop-tools { flex-direction: row; justify-content: flex-end; align-items: center; }
  .ep-shop-tools .ep-input { width: 13rem; }
}

/* Single product */
.ep-crumb { border-bottom: 1px solid var(--border); background: color-mix(in oklab, var(--mist) 60%, transparent); padding: 0.75rem 0; font-size: 12px; color: var(--muted-foreground); }
.ep-crumb a:hover { color: var(--foreground); }
.ep-pdp { display: grid; gap: 2.5rem; padding: 2.5rem 0; min-width: 0; }
.ep-pdp > * { min-width: 0; max-width: 100%; }
.ep-pdp-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--mist), var(--ice), #fff);
  padding: 2rem;
}
.ep-pdp-media img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(20,40,120,0.4)); }
.ep-pdp h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); font-weight: 600; overflow-wrap: anywhere; }
.ep-pdp .lead { margin-top: 0.5rem; color: var(--muted-foreground); }
.ep-pdp-price { display: flex; align-items: flex-end; gap: 0.75rem; margin-top: 1.5rem; }
.ep-pdp-price strong { font-size: 2.25rem; font-weight: 600; }
.ep-pdp-price span { padding-bottom: 0.35rem; font-size: 0.875rem; color: var(--muted-foreground); }
.ep-buybox { margin-top: 1.5rem; padding: 1.25rem; }
.ep-label { margin-bottom: 0.5rem; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-foreground); }
.ep-dose { display: inline-flex; border-radius: 0.5rem; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-foreground); padding: 0.65rem 1rem; font-size: 0.875rem; font-weight: 600; box-shadow: var(--shadow-glow); }
.ep-dose small { margin-left: 0.5rem; opacity: 0.9; font-weight: 500; }
.ep-bundles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.ep-bundle {
  position: relative;
  text-align: left;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
  min-width: 0;
}
.ep-bundle strong, .ep-bundle .net { overflow-wrap: anywhere; }
.ep-bundle.is-active { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 5%, transparent); box-shadow: var(--shadow-glow); }
.ep-bundle-off { position: absolute; top: -0.5rem; right: 0.5rem; border-radius: 999px; background: var(--accent); color: var(--accent-foreground); padding: 0.1rem 0.5rem; font-size: 10px; font-weight: 700; }
.ep-bundle small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); }
.ep-bundle strong { display: block; margin-top: 0.15rem; }
.ep-bundle .net { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 700; }
.ep-bundle.is-active .net { color: var(--accent); }
.ep-bundle .gross { margin-left: 0.35rem; font-size: 11px; color: var(--muted-foreground); text-decoration: line-through; font-weight: 400; }
.ep-buy-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.ep-buy-actions .ep-btn { flex: 1; min-width: 8rem; }
.ep-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin-top: 1.5rem; }
.ep-pill { display: flex; align-items: center; gap: 0.4rem; border: 1px solid var(--border); background: var(--card); border-radius: 0.5rem; padding: 0.65rem 0.5rem; font-size: 11px; font-weight: 500; min-width: 0; }
.ep-pill svg { color: var(--accent); flex-shrink: 0; }
.ep-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; border-bottom: 1px solid var(--border); margin-top: 2rem; }
.ep-tab { border: 0; background: none; padding: 0.75rem 0; font-size: 0.875rem; font-weight: 600; color: var(--muted-foreground); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.ep-tab.is-active { color: var(--foreground); border-bottom-color: var(--accent); }
.ep-tab-panel { padding-top: 1.25rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); display: none; }
.ep-tab-panel.is-active { display: block; }
.ep-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; }
.ep-specs div { border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
.ep-specs dt { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); }
.ep-specs dd { margin: 0.15rem 0 0; font-size: 0.875rem; font-weight: 500; color: var(--foreground); }
.ep-ruo { margin-top: 2rem; border-radius: 0.75rem; border: 1px solid var(--border); background: var(--mist); padding: 1rem; font-size: 12px; line-height: 1.6; color: var(--muted-foreground); }
@media (min-width: 1024px) {
  .ep-pdp { grid-template-columns: 1fr 1fr; }
  .ep-pdp h1 { font-size: 3rem; }
}

/* Page heroes / interiors */
.ep-page-hero { padding: 3rem 0; }
.ep-page-hero h1 { margin-top: 0.75rem; font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.ep-page-hero .lead { margin-top: 1.25rem; max-width: 32rem; color: rgba(255,255,255,0.7); }
.ep-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ep-stat { border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); padding: 1.25rem; backdrop-filter: blur(8px); }
.ep-stat strong { display: block; font-size: 1.5rem; }
.ep-stat span { display: block; margin-top: 0.25rem; font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.ep-values { display: grid; gap: 1.5rem; }
.ep-steps { display: grid; gap: 1.5rem; }
.ep-step { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.25rem; }
.ep-step-n { font-family: var(--font-display); font-style: italic; font-size: 1.875rem; color: var(--accent); }
.ep-legal { max-width: 48rem; margin: 0 auto; padding: 3rem 0; }
.ep-legal h1 { margin-top: 0.5rem; font-size: clamp(1.75rem, 8vw, 2.5rem); font-weight: 600; overflow-wrap: anywhere; }
.ep-legal .intro { margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }
.ep-legal h2 { margin-top: 2.5rem; font-size: 1.125rem; }
.ep-legal p, .ep-legal li { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }
.ep-legal ul { padding-left: 1.25rem; }
.ep-legal a { color: var(--accent); }
.ep-legal a:hover { text-decoration: underline; }
.ep-faq-group { margin-top: 3rem; }
.ep-faq-group h2 { margin-bottom: 1rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-foreground); }
.ep-faq { border: 1px solid var(--border); border-radius: 1rem; background: var(--card); overflow: hidden; }
.ep-faq details { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.ep-faq details:last-child { border-bottom: 0; }
.ep-faq summary { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; font-size: 0.875rem; font-weight: 600; cursor: pointer; list-style: none; min-width: 0; }
.ep-faq summary > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.ep-faq summary::-webkit-details-marker { display: none; }
.ep-faq-plus { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted-foreground); flex-shrink: 0; }
.ep-faq details[open] .ep-faq-plus { transform: rotate(45deg); }
.ep-faq details p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }
.ep-split { display: grid; gap: 2rem; padding: 3rem 0; min-width: 0; }
.ep-split > * { min-width: 0; max-width: 100%; }
.ep-info-row { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; min-width: 0; }
.ep-info-row > div { min-width: 0; overflow-wrap: anywhere; }
.ep-form { padding: 1.5rem; }
.ep-form-grid { display: grid; gap: 1rem; }
.ep-field label { display: block; margin-bottom: 0.35rem; font-size: 12px; font-weight: 500; color: var(--muted-foreground); }
.ep-field-note { margin-top: 0.75rem; font-size: 11px; color: var(--muted-foreground); }
@media (min-width: 768px) {
  .ep-page-hero { padding: 7rem 0; }
  .ep-page-hero h1 { font-size: 3.75rem; }
  .ep-home-hero-grid.about, .ep-page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; }
  .ep-values { grid-template-columns: repeat(2, 1fr); }
  .ep-split { grid-template-columns: 1fr 1.2fr; padding: 4rem 0; }
  .ep-form-grid.two { grid-template-columns: 1fr 1fr; }
  .ep-legal h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .ep-values { grid-template-columns: repeat(4, 1fr); }
}

.ep-wholesale { padding: 2.5rem 0 5rem; }
.ep-wholesale-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.ep-wholesale-tier {
  display: grid;
  gap: 0.35rem;
  text-align: left;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  color: inherit;
  cursor: pointer;
}
.ep-wholesale-tier small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.ep-wholesale-tier strong { font-size: 1.15rem; }
.ep-wholesale-tier span { font-size: 0.8125rem; line-height: 1.45; color: var(--muted-foreground); }
.ep-wholesale-tier em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent); }
.ep-wholesale-tier.is-active {
  border-color: color-mix(in oklab, var(--accent) 45%, var(--border));
  box-shadow: var(--shadow-elevated);
  background: color-mix(in oklab, var(--accent) 8%, var(--card));
}
.ep-wholesale-note { margin: 1.25rem 0 2rem; font-size: 0.875rem; color: var(--muted-foreground); }
.ep-wholesale-layout { display: grid; gap: 1.5rem; }
.ep-wholesale-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.ep-wholesale-toolbar h2 { margin-top: 0.35rem; font-size: 1.5rem; }
.ep-wholesale-tools { display: flex; gap: 0.5rem; }
.ep-wholesale-list { display: grid; gap: 0.65rem; }
.ep-wholesale-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--card);
}
.ep-wholesale-info { min-width: 0; }
.ep-wholesale-info strong { display: block; font-size: 0.95rem; }
.ep-wholesale-info span { display: block; margin-top: 0.15rem; font-size: 12px; color: var(--muted-foreground); }
.ep-wholesale-price { font-size: 0.875rem; font-weight: 600; }
.ep-wholesale-line { font-size: 0.875rem; font-weight: 600; text-align: right; }
.ep-wholesale-qty input {
  width: 2.5rem;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  appearance: textfield;
}
.ep-wholesale-qty input::-webkit-outer-spin-button,
.ep-wholesale-qty input::-webkit-inner-spin-button { appearance: none; }
.ep-wholesale-aside { display: grid; gap: 1rem; }
.ep-wholesale-summary { padding: 1.25rem; }
.ep-wholesale-summary h3 { margin: 0.35rem 0 1rem; font-size: 1.35rem; }
.ep-wholesale-summary dl { display: grid; gap: 0.55rem; margin: 0; }
.ep-wholesale-summary dl > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; }
.ep-wholesale-summary dt { color: var(--muted-foreground); }
.ep-wholesale-total { padding-top: 0.55rem; border-top: 1px solid var(--border); font-weight: 600; }
.ep-wholesale-status { margin: 0.85rem 0 0; font-size: 0.8125rem; color: var(--muted-foreground); }
.ep-wholesale-status.is-ready { color: var(--accent); font-weight: 600; }
.ep-wholesale-form-lead { margin: 0.5rem 0 1rem; font-size: 0.8125rem; line-height: 1.6; color: var(--muted-foreground); }
.ep-wholesale-hidden,
.ep-wholesale-form #ep-wholesale-order,
.ep-wholesale-form #ep-wholesale-tier,
.ep-wholesale-form #ep-wholesale-boxes,
.ep-wholesale-form #ep-wholesale-total,
.ep-wholesale-form .ep-wholesale-hidden,
.ep-wholesale-form [data-name="wholesale-order"],
.ep-wholesale-form [data-name="wholesale-tier"],
.ep-wholesale-form [data-name="wholesale-boxes"],
.ep-wholesale-form [data-name="wholesale-total"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}
.ep-wholesale-form .wpcf7-submit:disabled { opacity: 0.45; cursor: not-allowed; }
@media (min-width: 720px) {
  .ep-wholesale-tiers { grid-template-columns: repeat(4, 1fr); }
  .ep-wholesale-row { grid-template-columns: minmax(0, 1.6fr) 6.5rem auto 6.5rem; }
}
@media (min-width: 1024px) {
  .ep-wholesale-layout { grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 0.85fr); align-items: start; }
  .ep-wholesale-aside { position: sticky; top: 6rem; }
}

/* Cart / checkout / account */
.ep-woo { padding: 3rem 0 5rem; max-width: 80rem; }
.ep-woo h1 { font-size: 1.875rem; font-weight: 600; }
.ep-woo > .lead { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  display: block;
  width: 100%;
  max-width: 100%;
}
.woocommerce-cart .ep-legal,
.woocommerce-checkout .ep-legal,
.woocommerce-account .ep-legal {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
.ep-cart-page { margin-top: 2rem; min-width: 0; }
.ep-cart-layout {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
  align-items: start;
}
.ep-cart-layout > * { min-width: 0; max-width: 100%; }
.ep-cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.ep-cart-summary,
.ep-order-summary {
  padding: 1.5rem;
  height: fit-content;
}
.ep-summary-title { font-size: 0.875rem; font-weight: 600; }
.ep-summary-list {
  margin: 1rem 0 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0.65rem;
  font-size: 0.875rem;
}
.ep-summary-total {
  padding-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.ep-summary-total span { color: var(--foreground); }
.ep-cart-checkout { margin-top: 1.5rem; }
.ep-coupon-box { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.ep-coupon-label { font-size: 12px; font-weight: 600; }
.ep-coupon-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--accent) 10%, var(--mist));
  border: 1px solid color-mix(in oklab, var(--accent) 25%, var(--border));
  font-size: 12px;
  font-weight: 600;
}
.ep-coupon-chip span { min-width: 0; overflow-wrap: break-word; }
.ep-coupon-remove {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
}
.ep-coupon-remove:hover { background: var(--background); color: var(--foreground); }
.woocommerce-form-coupon-toggle,
form.checkout_coupon { display: none !important; }
.woocommerce table.shop_table { border: 1px solid var(--border); border-radius: 1rem; background: var(--card); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--border); padding: 1rem; }
.woocommerce-checkout #customer_details,
.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content, .woocommerce-form-login, .woocommerce-ResetPassword {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order,
.woocommerce-form-login button,
.woocommerce-form-register button,
.woocommerce-Button,
.woocommerce button.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--accent) !important;
  color: var(--accent-foreground) !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-glow);
  border: 0 !important;
}
.woocommerce a.button, .woocommerce button.button { background: var(--primary); color: var(--primary-foreground); border-radius: 0.5rem; }
.woocommerce-error, .woocommerce-info, .woocommerce-message { border-radius: 0.75rem; border-top-color: var(--accent); }
.woocommerce-checkout .col2-set { width: 100%; }
.woocommerce form .form-row { margin-bottom: 1rem; }
.woocommerce form .form-row label { font-size: 12px; font-weight: 500; color: var(--muted-foreground); }
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 0.65rem 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--muted-foreground); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--primary); color: var(--primary-foreground); }
.ep-account-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 1px solid var(--border); background: var(--card); border-radius: 0.5rem; padding: 0.25rem; margin: 2rem 0 1.5rem; }
.ep-account-tabs a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.65rem; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--muted-foreground); }
.ep-account-tabs a.is-active, .ep-account-tabs a:hover { background: var(--primary); color: var(--primary-foreground); }

.woocommerce-checkout .ep-checkout-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
  margin-top: 2rem;
}
.woocommerce-checkout .ep-checkout-grid > *,
.woocommerce-checkout .ep-order-summary,
.woocommerce-checkout #order_review,
.woocommerce-checkout-review-order {
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  float: none !important;
}
.ep-order-summary .woocommerce-checkout-review-order,
.ep-order-summary .woocommerce-checkout-review-order-table {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.woocommerce-remove-coupon {
  margin-left: 0.35rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
@media (min-width: 900px) {
  .ep-cart-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(22rem, 0.9fr);
    gap: 2rem;
  }
  .ep-cart-summary { position: sticky; top: 6rem; }
}
@media (min-width: 1024px) {
  .woocommerce-checkout .ep-checkout-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(22rem, 0.9fr);
    gap: 2.5rem;
    align-items: start;
  }
  .ep-order-summary { position: sticky; top: 6rem; }
  .woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }
  .woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
  .woocommerce-account .woocommerce > .woocommerce-message,
  .woocommerce-account .woocommerce > .woocommerce-info,
  .woocommerce-account .woocommerce > .woocommerce-error {
    grid-column: 1 / -1;
  }
}

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.woocommerce-page .woocommerce-breadcrumb { display: none; }
.woocommerce div.product div.images { display: none; }
.woocommerce div.product p.price { display: none; }
.woocommerce div.product .product_title { display: none; }
.woocommerce div.product form.cart {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.woocommerce-product-gallery { display: none !important; }
ul.products { list-style: none; margin: 0; padding: 0; }
.woocommerce-result-count, .woocommerce-ordering { display: none; }
.woocommerce-pagination { margin-top: 2rem; }
.ep-empty { margin-top: 2.5rem; border: 1px dashed var(--border); border-radius: 1rem; padding: 4rem 1rem; text-align: center; color: var(--muted-foreground); }

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--background);
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
}
.wpcf7-submit { width: 100%; }
.wpcf7-response-output { border-radius: 0.5rem !important; }

body.everpeak-body .site-content { min-height: 50vh; overflow-x: hidden; overflow-x: clip; }
.admin-bar .ep-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ep-header { top: 46px; } }

.woocommerce table.shop_table,
.woocommerce-checkout-review-order-table {
  width: 100%;
  max-width: 100%;
  table-layout: auto;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  word-break: normal;
  overflow-wrap: break-word;
}
.woocommerce-checkout-review-order-table .product-name {
  width: auto;
}
.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
  white-space: nowrap;
  text-align: right;
  width: 1%;
}
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce form .form-row,
.woocommerce-checkout #payment .form-row-first,
.woocommerce-checkout #payment .form-row-last {
  float: none !important;
  width: 100% !important;
  max-width: 100%;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.select2-container,
.select2-dropdown {
  max-width: 100% !important;
}
.woocommerce-checkout #payment,
.woocommerce-checkout #payment div.payment_box,
.wc-credit-card-form {
  max-width: 100%;
}
.ep-checkout-secure { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.ep-coupon-form { display: flex; flex-wrap: nowrap; gap: 0.5rem; margin-top: 0.5rem; align-items: stretch; }
.ep-coupon-form .ep-input { flex: 1; min-width: 0; text-transform: uppercase; }
.ep-coupon-form .ep-btn { flex-shrink: 0; padding-left: 1.1rem; padding-right: 1.1rem; }
.wpcf7, .wpcf7-form, .wpcf7-form-control-wrap, .wpcf7 input, .wpcf7 textarea {
  max-width: 100%;
  box-sizing: border-box;
}
.ep-form, .ep-card, .ep-buybox { max-width: 100%; }
.ep-pdp form.cart {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  left: 0 !important;
}

@media (max-width: 640px) {
  .ep-home-stats { gap: 0.75rem; }
  .ep-home-stats span { letter-spacing: 0.04em; font-size: 10px; }
  .ep-home-ctas { flex-direction: column; align-items: stretch; }
  .ep-home-ctas .ep-btn { width: 100%; }
  .ep-announce-inner { letter-spacing: 0.08em; }
  .ep-announce-inner span { max-width: 100%; flex-wrap: wrap; justify-content: center; }
  .ep-bundles { grid-template-columns: 1fr; }
  .ep-pills { grid-template-columns: 1fr; }
  .ep-buy-actions { flex-direction: column; }
  .ep-buy-actions .ep-btn { width: 100%; min-width: 0; }
  .ep-label { display: block; }
  .ep-label span { display: block; margin-top: 0.25rem; }
  .ep-specs { grid-template-columns: 1fr; }
  .ep-pdp-price { flex-wrap: wrap; }
  .ep-pdp-price strong { font-size: 1.75rem; }
  .ep-drawer-item { flex-wrap: nowrap; }
  .ep-drawer-thumb { width: 4rem; height: 4rem; }
  .ep-info-row { align-items: flex-start; }
  .ep-form { padding: 1.25rem; }
  .ep-woo { padding: 2rem 0 3rem; }
  .ep-shop-hero { padding: 2.25rem 0; }
  .ep-shop-hero h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .ep-values { grid-template-columns: 1fr; }
  .ep-coupon-form { flex-direction: column; }
  .ep-coupon-form .ep-btn { width: 100%; }
  .woocommerce-cart-form,
  .cart-collaterals,
  .woocommerce-checkout #customer_details,
  .woocommerce-MyAccount-navigation,
  .woocommerce-MyAccount-content,
  .woocommerce-form-login,
  .woocommerce-ResetPassword {
    padding: 1.15rem;
  }
  .ep-cart-summary,
  .ep-order-summary { padding: 1.15rem; }
  .ep-cart-checkout { margin-top: 1.15rem; }
  .ep-split > div > h1,
  .ep-section h2,
  .ep-center h2,
  .ep-section-head h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem) !important;
  }
  .ep-input, .ep-select,
  .woocommerce form .form-row input.input-text,
  .woocommerce form .form-row textarea,
  .woocommerce form .form-row select,
  .wpcf7-form-control-wrap input,
  .wpcf7-form-control-wrap textarea {
    font-size: 16px;
  }
  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 0.75rem;
  }
}

@media (max-width: 380px) {
  .ep-logo-sub { display: none; }
  .ep-header-actions .ep-hide-sm { display: none !important; }
}
