/* ============================================
   ELITE CORE V5 , MAIN STYLESHEET
   Premium biotech design system with GSAP animations,
   glassmorphism, particle systems, and 3D effects
   ============================================ */

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  /* Brand Colors */
  --bg: #ffffff;
  --surface: #FFFFFF;
  --surface-alt: #fafafa;
  --text: #111111;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #e8e8e8;
  --accent: #C9A961;
  --accent-light: #C9A961;
  --accent-glow: rgba(201, 169, 97, 0.15);
  --accent-glow-strong: rgba(201, 169, 97, 0.3);
  --gold: #C9A961;
  --gold-light: #C9A961;

  /* Dark surfaces */
  --dark: #111111;
  --dark-surface: #1A1A1A;
  --dark-lighter: #222222;
  --dark-text: #AAAAAA;
  --dark-text-muted: #777777;

  /* Radii */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-pill: 100px;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;
  --sp-96: 96px;
  --sp-128: 128px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.06);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 0 1px rgba(201,169,97,0.1);
  --shadow-hover: 0 24px 64px rgba(0,0,0,0.12), 0 0 0 1px rgba(201,169,97,0.1);

  /* Premium Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.4s;
  --duration-slow: 0.6s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea { font: inherit; }

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

/* =============================================
   UTILITIES
   ============================================= */
.container {
  width: min(1280px, 100% - 48px);
  margin: 0 auto;
}

.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

.section-label,
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-12);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--sp-16);
}

.section-heading.xl {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.section-copy {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

.section-copy.large {
  font-size: 19px;
  line-height: 1.8;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}

/* =============================================
   GSAP ANIMATION CLASSES
   Initial states , GSAP will animate these
   ============================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(40px);
}

/* Legacy fade-up support */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   AGE GATE
   ============================================= */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-24);
  opacity: 1;
  transition: opacity 0.5s var(--ease-out);
}
.age-gate-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.age-gate-modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-64);
  text-align: center;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 32px 100px rgba(0,0,0,0.2);
}
.age-gate-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: var(--sp-16);
}
.age-gate-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  color: var(--text);
  margin-bottom: var(--sp-12);
}
.age-gate-body {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--sp-32);
  line-height: 1.6;
}
.age-gate-actions {
  display: grid;
  gap: var(--sp-12);
}
.age-gate-actions .btn-primary {
  width: 100%;
  justify-content: center;
}
.btn-deny {
  font-size: 13px;
  color: var(--text-muted);
  padding: var(--sp-12);
  transition: color var(--duration) var(--ease-out);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-deny:hover { color: var(--text); }
.age-gate-disclaimer {
  font-size: 11px;
  color: var(--text-light);
  margin-top: var(--sp-24);
  line-height: 1.5;
}

/* =============================================
   RUO BAR
   ============================================= */
.ruo-bar {
  background: var(--dark);
  color: #FFFFFF;
  text-align: center;
  padding: 8px var(--sp-16);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  position: relative;
  z-index: 1001;
}

/* =============================================
   NAVBAR , Glassmorphism with scroll state
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 245, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.navbar.scrolled {
  background: rgba(246, 245, 242, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--text);
  white-space: nowrap;
}
.desktop-nav { flex: 1; display: flex; justify-content: center; }
.navbar-links,
.navbar-links .menu {
  display: flex;
  align-items: center;
  gap: var(--sp-32);
  list-style: none;
  padding: 0;
  margin: 0;
}
.navbar-links a,
.navbar-links .menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease-out);
  white-space: nowrap;
  position: relative;
}
.navbar-links a::after,
.navbar-links .menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}
.navbar-links a:hover,
.navbar-links .menu a:hover {
  color: var(--text);
}
.navbar-links a:hover::after,
.navbar-links .menu a:hover::after {
  width: 100%;
}
.navbar-links li,
.navbar-links .menu li {
  list-style: none;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}
.nav-icon-btn {
  color: var(--text-muted);
  transition: color var(--duration) var(--ease-out), transform 0.2s var(--ease-out);
  position: relative;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-icon-btn:hover {
  color: var(--text);
  transform: translateY(-1px);
}
.cart-link { position: relative; }
.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  background: #C9A961;
  color: #0a0a0a;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(246, 245, 242, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.search-overlay-inner {
  width: min(720px, 90%);
  text-align: center;
}
.search-overlay-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.search-overlay-close:hover {
  background: var(--text);
  color: white;
  border-color: var(--text);
}
.search-overlay-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  margin-bottom: var(--sp-32);
  color: var(--text);
}
.search-overlay-form {
  display: flex;
  gap: var(--sp-12);
}
.search-overlay-input {
  flex: 1;
  padding: 20px 28px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 18px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s var(--ease-out);
}
.search-overlay-input:focus {
  border-color: var(--accent);
}
.search-overlay-submit {
  padding: 20px 36px;
  background: var(--text);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.search-overlay-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* MOBILE NAV DRAWER */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease-out);
}
.mobile-nav.show {
  display: block;
  max-height: 500px;
}
.mobile-nav-inner { padding: var(--sp-24); }
.mobile-nav-links,
.mobile-nav-links .menu {
  list-style: none;
  display: grid;
  gap: var(--sp-16);
  padding: 0;
  margin: 0;
}
.mobile-nav-links a,
.mobile-nav-links .menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  display: block;
  padding: var(--sp-8) 0;
}
.mobile-nav-links li,
.mobile-nav-links .menu li {
  list-style: none;
}

/* =============================================
   BUTTONS , Premium Pill Design
   ============================================= */
.btn-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: 16px 36px;
  background: var(--text) !important;
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all 0.4s var(--ease-out);
  border: 1.5px solid var(--text) !important;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow-strong);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: 16px 36px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--text);
  transition: all 0.4s var(--ease-out);
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--text);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Glow Button */
.btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: 16px 36px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
  position: relative;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 0 20px var(--accent-glow), 0 0 60px rgba(201,169,97,0.1);
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), var(--gold), var(--accent));
  background-size: 300% 300%;
  animation: gradientShift 4s ease infinite;
  z-index: -1;
  opacity: 0.6;
  filter: blur(8px);
  transition: opacity 0.4s var(--ease-out);
}
.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--accent-glow-strong), 0 12px 40px rgba(201,169,97,0.2);
}
.btn-glow:hover::before {
  opacity: 1;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* =============================================
   HERO , Full viewport with particle canvas
   ============================================= */
.hero {
  padding: 80px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-particles canvas {
  width: 100%;
  height: 100%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 600px; }
.hero-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-24);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-label::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: var(--sp-24);
  letter-spacing: -0.03em;
}
.hero-title .accent-text {
  color: var(--accent);
}
.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--sp-48);
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: var(--sp-16);
  margin-bottom: var(--sp-32);
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}
.hero-trust span:first-child::before { display: none; }

/* Hero Imagery , 3D floating vials */
.hero-imagery {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 620px;
  perspective: 1200px;
}
.hero-vial {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  animation: float 6s ease-in-out infinite;
}
.hero-vial:hover {
  transform: translateY(-12px) scale(1.03) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.14);
}
.hero-vial img { width: 100%; height: 100%; object-fit: cover; }
.hero-vial-1 {
  width: 420px; height: 230px;
  top: 0; left: 20px;
  background: #fafafa;
  animation-delay: 0s;
}
.hero-vial-2 {
  width: 300px; height: 300px;
  right: 0; top: 110px;
  background: #fafafa;
  animation-delay: -2s;
}
.hero-vial-3 {
  width: 240px; height: 240px;
  left: 24px; bottom: 0;
  background: #fafafa;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

/* =============================================
   SCIENCE STRIP , Animated text marquee
   ============================================= */
.science-strip {
  padding: 24px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.science-strip-track {
  display: flex;
  gap: 64px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.science-strip-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.science-strip-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   PRODUCT CARD SYSTEM , Premium 3D
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.products-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  border: 1px solid rgba(0,0,0,0.04);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, var(--accent-glow), transparent 70%);
}
.product-card:hover::after {
  opacity: 1;
}

.product-card-image {
  position: relative;
  padding-bottom: 110%;
  overflow: hidden;
  margin: 12px;
  border-radius: calc(var(--radius) - 4px);
  background: #fafafa;
}
.product-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-card-image img {
  transform: scale(1.05) rotate(2deg);
}

.product-card-body {
  padding: 0 20px 22px;
  position: relative;
  z-index: 1;
}
.product-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-12);
}
.product-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--sp-16);
  min-height: 40px;
  line-height: 1.5;
}
.product-dosage {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: var(--sp-16);
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}
.view-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.4s var(--ease-out);
}
.product-card:hover .view-pill {
  background: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow-strong);
}
.btn-add-cart {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  transition: all var(--duration) var(--ease-out);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-add-cart:hover {
  border-color: var(--text);
  background: var(--text);
  color: #FFFFFF;
}

/* =============================================
   MOLECULAR GRID DIVIDER
   ============================================= */
.molecular-grid {
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5 L52 17.5 L52 42.5 L30 55 L8 42.5 L8 17.5 Z' fill='none' stroke='%23E8E5E0' stroke-width='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
  opacity: 0.6;
}

/* =============================================
   FEATURED COMPOUNDS
   ============================================= */
.featured {
  padding: var(--sp-96) 0 var(--sp-128);
}
.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--sp-48);
}
.featured-header .section-heading { margin-bottom: 0; }
.view-all-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: all var(--duration) var(--ease-out);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.view-all-link:hover {
  color: var(--text);
  gap: 10px;
}
.featured-footer {
  text-align: center;
  margin-top: var(--sp-48);
}

/* =============================================
   TRUST STRIP , Dark premium
   ============================================= */
.trust-strip {
  background: linear-gradient(135deg, #111111, #1a1a1a);
  color: #FFFFFF;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.trust-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,97,0.08), transparent 70%);
  pointer-events: none;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-32);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-32) var(--sp-24);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s var(--ease-out);
}
.trust-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.trust-icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--sp-16);
  color: var(--accent);
  background: rgba(201,169,97,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.trust-icon svg { width: 100%; height: 100%; }
.trust-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.trust-label {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.trust-sublabel {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* =============================================
   QUIZ SECTION , Glassmorphism
   ============================================= */
.quiz-section {
  padding: var(--sp-128) 0;
  background: linear-gradient(135deg, var(--bg), #fafafa);
  position: relative;
  overflow: hidden;
}
.quiz-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.quiz-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
}
.quiz-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--sp-16);
}
.quiz-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--sp-32);
  max-width: 420px;
}
.quiz-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: var(--sp-48);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.5);
}
.quiz-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-16);
  margin-bottom: var(--sp-24);
}
.quiz-benefit:last-child { margin-bottom: 0; }
.quiz-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.quiz-check svg { width: 12px; height: 12px; color: var(--accent); }
.quiz-benefit-text h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.quiz-benefit-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Quiz Illustration Icon */
.quiz-icon-animated {
  width: 64px;
  height: 64px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-24);
  animation: pulse 2s ease-in-out infinite;
  color: var(--accent);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 16px rgba(201,169,97,0); }
}

/* =============================================
   REWARDS SECTION
   ============================================= */
.rewards-section { padding: var(--sp-128) 0; }
.rewards-header {
  text-align: center;
  margin-bottom: var(--sp-64);
}
.rewards-header .section-heading { margin-bottom: var(--sp-8); }
.rewards-header p { font-size: 16px; color: var(--text-muted); }
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
  margin-bottom: var(--sp-48);
}
.reward-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: var(--sp-32);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.4s var(--ease-out);
  border: 1px solid rgba(255,255,255,0.3);
  position: relative;
}
.reward-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.reward-card.featured-tier {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 0 40px var(--accent-glow), var(--shadow-md);
}
.reward-card.featured-tier::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
}
.reward-tier-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: var(--sp-8);
}
.reward-points {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-24);
}
.reward-divider {
  width: 32px;
  height: 2px;
  background: var(--accent-glow);
  margin: 0 auto var(--sp-24);
  border-radius: 1px;
}
.reward-perk {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.rewards-footer { text-align: center; }

/* =============================================
   PARTNERS SECTION
   ============================================= */
.partners-section {
  padding: var(--sp-96) 0;
  background: var(--surface-alt);
}
.partners-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-64);
}
.partners-content { max-width: 500px; }
.partners-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--sp-32);
}
.partners-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  max-width: 360px;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--sp-32);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.04);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--text);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================
   CONTACT SECTION , Glassmorphism
   ============================================= */
.contact-section { padding: var(--sp-96) 0; }
.contact-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: var(--sp-64);
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.4);
}
.contact-card .section-heading { margin-bottom: var(--sp-12); }
.contact-body {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--sp-32);
  line-height: 1.7;
}

/* =============================================
   PAGE TEMPLATES
   ============================================= */

/* Page Hero */
.page-hero {
  padding: 96px 0 56px;
}
.page-hero .hero-ctas { margin-top: 24px; }

/* Split Hero (Rewards) */
.split-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

/* Info Cards Grid */
.card-grid-section {
  padding: var(--sp-96) 0;
}
.info-grid {
  display: grid;
  gap: 24px;
}
.info-grid.three { grid-template-columns: repeat(3, 1fr); }
.info-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,169,97,0.1);
}
.info-card:hover::before {
  opacity: 1;
}
.info-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.info-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.info-card-step {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.info-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: all var(--duration) var(--ease-out);
}
.info-card-link:hover {
  color: var(--text);
  gap: 10px;
}
.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-16);
  color: var(--accent);
}

/* CTA Band */
.cta-band {
  padding: var(--sp-64) 0;
  background: var(--surface-alt);
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 42px;
  background: var(--surface);
}

/* Generic Page */
.generic-page { padding: var(--sp-64) 0 var(--sp-96); }

/* =============================================
   QUIZ PAGE , Interactive Multi-Step
   ============================================= */
.quiz-page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-48) 0 var(--sp-96);
}

.quiz-progress {
  margin-bottom: var(--sp-48);
}
.quiz-progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--sp-12);
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  transition: width 0.6s var(--ease-out);
}
.quiz-progress-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quiz-step {
  display: none;
  animation: quizSlideIn 0.5s var(--ease-out);
}
.quiz-step.active {
  display: block;
}

@keyframes quizSlideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.quiz-step-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text);
  margin-bottom: var(--sp-8);
}
.quiz-step-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--sp-32);
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-16);
}
.quiz-option {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-24);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-align: center;
  position: relative;
}
.quiz-option:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
}
.quiz-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  margin: 0 auto var(--sp-12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.quiz-option.selected .quiz-option-icon {
  background: var(--accent);
  color: white;
}
.quiz-option-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}
.quiz-option-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-32);
  gap: var(--sp-16);
}
.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
  background: none;
  border: none;
  font-family: var(--font-body);
}
.quiz-back:hover { color: var(--text); }

/* Quiz Results */
.quiz-results {
  display: none;
}
.quiz-results.active {
  display: block;
  animation: quizSlideIn 0.5s var(--ease-out);
}
.quiz-results-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--text);
  margin-bottom: var(--sp-8);
}
.quiz-results-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--sp-32);
}
.quiz-result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  margin-bottom: var(--sp-16);
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--sp-24);
  align-items: center;
  transition: all 0.3s var(--ease-out);
}
.quiz-result-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.quiz-result-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  background: #fafafa;
  overflow: hidden;
}
.quiz-result-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.quiz-result-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}
.quiz-result-match {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.quiz-result-reason {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =============================================
   LAB RESULTS / VERIFICATION PORTAL
   ============================================= */
.verification-portal {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sp-48) 0 var(--sp-96);
}
.verification-search {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-48);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: var(--sp-32);
}
.verification-search-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: var(--sp-24);
}
.verification-form {
  display: grid;
  gap: var(--sp-16);
}
.verification-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}
.verification-input,
.verification-select {
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.3s var(--ease-out);
  width: 100%;
}
.verification-input:focus,
.verification-select:focus {
  border-color: var(--accent);
}
.verification-input::placeholder {
  color: var(--text-light);
}

/* Loading State */
.verification-loading {
  display: none;
  text-align: center;
  padding: var(--sp-64);
}
.verification-loading.active {
  display: block;
}
.verification-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto var(--sp-16);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.verification-loading-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  animation: loadPulse 1.5s ease-in-out infinite;
}
@keyframes loadPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Results Card */
.verification-result {
  display: none;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-48);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.verification-result.active {
  display: block;
  animation: quizSlideIn 0.5s var(--ease-out);
}
.verification-result.verified {
  border-color: rgba(201,169,97,0.3);
  box-shadow: 0 0 40px var(--accent-glow), var(--shadow-md);
}
.verification-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-24);
}
.verification-badge.verified {
  background: rgba(201,169,97,0.1);
  color: var(--accent);
}
.verification-badge.not-found {
  background: rgba(204,51,51,0.08);
  color: #CC3333;
}
.verification-badge svg {
  width: 16px;
  height: 16px;
}
.verification-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}
.verification-detail {
  padding: var(--sp-16);
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.verification-detail-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.verification-detail-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}
.verification-actions {
  margin-top: var(--sp-24);
  display: flex;
  gap: var(--sp-12);
}

/* Not found state */
.verification-not-found {
  display: none;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-48);
  text-align: center;
  border: 1px solid var(--border);
}
.verification-not-found.active {
  display: block;
  animation: quizSlideIn 0.5s var(--ease-out);
}
.verification-not-found-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(204,51,51,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-16);
  color: #CC3333;
  font-size: 28px;
}

/* =============================================
   SIGN-UP PAGE
   ============================================= */
.signup-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--sp-64);
  align-items: start;
  padding: var(--sp-64) 0 var(--sp-128);
}
.signup-form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-48);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.signup-form-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--text);
  margin-bottom: var(--sp-8);
}
.signup-form-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: var(--sp-32);
}
.signup-form .form-group {
  margin-bottom: var(--sp-16);
}
.signup-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.signup-form .form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.3s var(--ease-out);
}
.signup-form .form-group input:focus {
  border-color: var(--accent);
}
.signup-form .form-group input::placeholder {
  color: var(--text-light);
}
.signup-form .form-submit {
  margin-top: var(--sp-24);
}
.signup-form .form-submit .btn-primary {
  width: 100%;
}
.signup-login-link {
  text-align: center;
  margin-top: var(--sp-24);
  font-size: 14px;
  color: var(--text-muted);
}
.signup-login-link a {
  color: var(--accent);
  font-weight: 600;
}
.signup-login-link a:hover {
  text-decoration: underline;
}

/* Benefits Panel */
.signup-benefits {
  background: linear-gradient(135deg, #111, #1a1a1a);
  border-radius: var(--radius-lg);
  padding: var(--sp-48);
  color: white;
  position: sticky;
  top: 120px;
}
.signup-benefits-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  margin-bottom: var(--sp-8);
}
.signup-benefits-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-32);
}
.signup-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-16);
  margin-bottom: var(--sp-24);
}
.signup-benefit-item:last-child { margin-bottom: 0; }
.signup-benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201,169,97,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-light);
}
.signup-benefit-icon svg { width: 18px; height: 18px; }
.signup-benefit-text h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.signup-benefit-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* =============================================
   REWARDS PAGE , Enhanced
   ============================================= */
.tier-progression {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-48);
  padding: var(--sp-24);
  background: var(--surface);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.tier-step {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease-out);
}
.tier-step.active {
  background: var(--accent-glow);
  color: var(--accent);
}
.tier-arrow {
  color: var(--border);
  font-size: 18px;
}

/* =============================================
   PARTNERS PAGE , Enhanced
   ============================================= */
.partners-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-16);
  margin-top: var(--sp-48);
}
.partners-stat {
  text-align: center;
  padding: var(--sp-24);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.partners-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--text);
  margin-bottom: 4px;
}
.partners-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.analytics-preview {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--sp-32);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.4s var(--ease-out);
}
.analytics-preview:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.analytics-preview-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: var(--sp-12);
}
.analytics-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  height: 80px;
}
.analytics-bar {
  width: 24px;
  background: var(--accent-glow);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s var(--ease-out);
}
.analytics-bar.accent {
  background: var(--accent);
}

/* =============================================
   CONTACT PAGE , Enhanced
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--sp-48);
  align-items: start;
}
.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-48);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form-group {
  margin-bottom: var(--sp-16);
}
.contact-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.3s var(--ease-out);
  font-family: var(--font-body);
}
.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: var(--accent);
}
.contact-form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-sidebar-cards {
  display: grid;
  gap: var(--sp-16);
}
.contact-sidebar-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--sp-24);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
}
.contact-sidebar-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.contact-sidebar-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}
.contact-sidebar-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.live-chat-teaser {
  background: linear-gradient(135deg, var(--accent), #C9A961);
  color: white;
  border-radius: var(--radius);
  padding: var(--sp-24);
  text-align: center;
}
.live-chat-teaser h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}
.live-chat-teaser p {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: var(--sp-12);
}
.live-chat-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C9A961;
  margin-right: 6px;
  animation: liveDot 1.5s ease-in-out infinite;
}
@keyframes liveDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* =============================================
   SINGLE PRODUCT , Enhanced
   ============================================= */
.ec-breadcrumb-section { padding: var(--sp-24) 0 0; }
.ec-breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ec-breadcrumb a {
  color: var(--text-muted);
  transition: color var(--duration) var(--ease-out);
}
.ec-breadcrumb a:hover { color: var(--accent); }
.ec-breadcrumb span:last-child {
  color: var(--text);
  font-weight: 500;
}
.product-hero { padding: var(--sp-48) 0 var(--sp-96); }
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
.product-image-main {
  background: #fafafa;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 28px;
  transition: transform 0.3s var(--ease-out);
  position: relative;
}
.product-image-main img,
.product-main-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
}
.product-gallery-thumbs {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
}
.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--duration) var(--ease-out);
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-details { padding-top: var(--sp-12); }
.product-detail-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text);
  margin-bottom: var(--sp-8);
  margin-top: var(--sp-12);
  letter-spacing: -0.03em;
}
.product-detail-dosage {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--sp-24);
  line-height: 1.6;
}

/* Enhanced Trust Badges */
.product-trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-32);
  padding-bottom: var(--sp-32);
  border-bottom: 1px solid var(--border);
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--sp-12);
  background: var(--bg);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
}
.trust-badge-item:hover {
  background: var(--accent-glow);
  color: var(--accent);
}
.trust-badge-item svg { color: var(--accent); flex-shrink: 0; }
.product-detail-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  color: var(--text);
  margin-bottom: 18px;
}
.ec-add-to-cart-form {
  display: flex;
  gap: var(--sp-12);
  margin-bottom: var(--sp-16);
  align-items: center;
  flex-wrap: wrap;
}
.quantity-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.qty-btn {
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  font-family: var(--font-body);
}
.qty-btn:hover { background: var(--bg); color: var(--text); }
.qty-input {
  width: 48px;
  text-align: center;
  border: none;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.btn-add-to-cart-full { flex: 1; }
.product-stock-status {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: var(--sp-24);
  font-weight: 500;
}
.out-of-stock-notice {
  font-size: 15px;
  color: #CC3333;
  font-weight: 500;
  margin-bottom: var(--sp-16);
}

/* Why Researchers Choose This */
.researchers-choose {
  margin-top: var(--sp-24);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-24);
}
.researchers-choose-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: var(--sp-12) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}
.researchers-choose-toggle svg {
  transition: transform 0.3s var(--ease-out);
}
.researchers-choose-toggle.open svg {
  transform: rotate(90deg);
}
.researchers-choose-content {
  display: none;
  padding: var(--sp-12) 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.researchers-choose-content.open {
  display: block;
}
.researchers-choose-list {
  list-style: none;
  padding: 0;
}
.researchers-choose-list li {
  padding: var(--sp-8) 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.researchers-choose-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* RUO Notice */
.product-ruo-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  padding: var(--sp-16) var(--sp-24);
  background: rgba(201,169,97,0.05);
  border: 1px solid rgba(201,169,97,0.1);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--sp-24);
  line-height: 1.5;
}
.product-ruo-notice svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }

.helper-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-top: var(--sp-24);
  border-top: 1px solid var(--border);
}
.helper-links a {
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  transition: all var(--duration) var(--ease-out);
}
.helper-links a:hover { color: var(--text); }

.product-description-section { padding: 0 0 var(--sp-96); }
.product-description-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--sp-48);
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  border: 1px solid var(--border);
}
.related-section { padding: var(--sp-64) 0 var(--sp-96); background: var(--surface-alt); }

/* =============================================
   EC CONTENT (for pages)
   ============================================= */
.ec-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}
.ec-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  margin: var(--sp-48) 0 var(--sp-16);
}
.ec-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin: var(--sp-32) 0 var(--sp-12);
}
.ec-content p { margin-bottom: var(--sp-16); }
.ec-content ul, .ec-content ol { margin: 0 0 var(--sp-16) var(--sp-24); }
.ec-content li { margin-bottom: var(--sp-8); }
.ec-content img { border-radius: var(--radius); margin: var(--sp-24) 0; }

/* Blog posts */
.ec-post-item {
  margin-bottom: var(--sp-48);
  padding-bottom: var(--sp-48);
  border-bottom: 1px solid var(--border);
}
.ec-post-item h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.ec-post-item h2 a:hover { color: var(--accent); }
.ec-post-date { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }

/* =============================================
   FOOTER , Dark premium design
   ============================================= */
.site-footer {
  background: #111111;
  color: #a8a8a8;
  padding: 0;
}

/* Newsletter section */
.footer-newsletter-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.footer-newsletter-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: #FFFFFF;
  margin-bottom: var(--sp-8);
}
.footer-newsletter-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-24);
}
.footer-newsletter-form {
  display: flex;
  gap: var(--sp-12);
  max-width: 480px;
  margin: 0 auto;
}
.footer-newsletter-input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  color: #FFFFFF;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s var(--ease-out);
  font-family: var(--font-body);
}
.footer-newsletter-input::placeholder {
  color: rgba(255,255,255,0.3);
}
.footer-newsletter-input:focus {
  border-color: var(--accent);
}
.footer-newsletter-btn {
  padding: 14px 28px;
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  font-family: var(--font-body);
}
.footer-newsletter-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Footer main content */
.footer-main {
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand-col .navbar-brand { color: #fff; display: inline-block; margin-bottom: var(--sp-16); }
.footer-brand-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
  max-width: 280px;
  margin-top: var(--sp-16);
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.footer-links li { list-style: none; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: all var(--duration) var(--ease-out);
}
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-copyright { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-address { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.01em; }
.footer-ruo { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer-socials { display: flex; gap: var(--sp-16); }
.footer-socials a {
  color: rgba(255,255,255,0.25);
  transition: all 0.3s var(--ease-out);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
}
.footer-socials a:hover {
  color: var(--accent-light);
  background: rgba(201,169,97,0.15);
  box-shadow: 0 0 20px rgba(201,169,97,0.2);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--accent-glow-strong);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* =============================================
   CATALOG PAGE
   ============================================= */
.catalog-hero { padding: var(--sp-64) 0 var(--sp-48); }
.catalog-filters {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
  margin-top: var(--sp-32);
}
.filter-pill {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition: all var(--duration) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--text);
  color: #FFFFFF;
  border-color: var(--text);
}
.catalog-products { padding-bottom: var(--sp-64); }
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.catalog-pagination { text-align: center; padding: var(--sp-48) 0; }
.catalog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--duration) var(--ease-out);
  text-decoration: none;
}
.catalog-pagination .page-numbers.current,
.catalog-pagination .page-numbers:hover {
  background: var(--text);
  color: #FFFFFF;
}
.empty-catalog { padding: var(--sp-96) 0; text-align: center; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .rewards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-48); }
  .hero-imagery { min-height: 300px; }
  .product-hero-grid { grid-template-columns: 1fr; gap: var(--sp-48); }
  .split-hero { grid-template-columns: 1fr; }
  .info-grid.three { grid-template-columns: repeat(2, 1fr); }
  .info-grid.four { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { grid-template-columns: 1fr; text-align: center; }
  .signup-wrapper { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .quiz-result-card { grid-template-columns: 80px 1fr; }
  .quiz-result-card .btn-primary { display: none; }
  .partners-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .verification-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { width: min(100% - 32px, 1280px); }
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { padding: var(--sp-64) 0 var(--sp-96); min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-48); }
  .hero-imagery { min-height: 320px; order: -1; }
  .hero-title { font-size: clamp(42px, 12vw, 64px); }
  .hero-vial-1 { width: 260px; height: 146px; left: 0; }
  .hero-vial-2 { width: 210px; height: 210px; }
  .hero-vial-3 { width: 170px; height: 170px; }
  .featured { padding: var(--sp-64) 0 var(--sp-96); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-16); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-16); }
  .quiz-inner { grid-template-columns: 1fr; gap: var(--sp-48); }
  .rewards-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .quiz-section, .rewards-section { padding: var(--sp-96) 0; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .info-grid.three, .info-grid.four { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-secondary { width: 100%; }
  .page-hero { padding: 72px 0 40px; }
  .card-grid-section { padding: var(--sp-64) 0; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-result-card { grid-template-columns: 1fr; text-align: center; }
  .quiz-result-img { margin: 0 auto; }
  .footer-newsletter-form { flex-direction: column; }
  .partners-hero-stats { grid-template-columns: 1fr; }
  .verification-details { grid-template-columns: 1fr; }
  .product-trust-badges { grid-template-columns: 1fr; }
  .tier-progression { flex-wrap: wrap; }
  .search-overlay-form { flex-direction: column; }
  .signup-benefits { position: static; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .rewards-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; justify-content: center; }
  .hero-imagery { min-height: 380px; }
  .hero-vial-1 { width: 240px; left: 30%; }
  .hero-vial-2 { width: 200px; left: 40%; }
  .hero-vial-3 { width: 160px; left: 25%; }
  .contact-card { padding: var(--sp-48) var(--sp-32); }
  .age-gate-modal { padding: 36px 24px; }
  .ec-add-to-cart-form { flex-direction: column; }
  .page-hero, .featured, .card-grid-section { padding: 56px 0; }
  .verification-search { padding: var(--sp-32); }
  .signup-form-card { padding: var(--sp-32); }
  .signup-benefits { padding: var(--sp-32); }
}

/* =============================================
   ELITE CORE V5 , REWARDS & PARTNERS PAGES
   Premium polish pass: glassmorphism, gold accents,
   tier system, calculator, dashboard preview, FAQ
   ============================================= */

/* ── SHARED UTILITIES ─────────────────────── */

.ec-section {
  padding: var(--sp-128) 0;
}

.ec-gold-text {
  background: linear-gradient(135deg, var(--gold), #C9A961);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ec-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold), #C9A961);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
  position: relative;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 8px 32px rgba(201, 169, 97, 0.25), 0 2px 8px rgba(0,0,0,0.06);
}

.ec-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 169, 97, 0.35), 0 4px 12px rgba(0,0,0,0.08);
}

.ec-btn-gold.ec-btn-full {
  width: 100%;
}

/* ── RUO FOOTER ───────────────────────────── */

.ec-ruo-footer {
  padding: var(--sp-32) 0;
  text-align: center;
}

.ec-ruo-footer p {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ── GLASSMORPHIC STATS BAR ───────────────── */

.ec-stats-section {
  padding: var(--sp-64) 0;
  background: var(--surface-alt);
}

.ec-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
}

.ec-stat-glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  padding: var(--sp-32);
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.4s var(--ease-out);
}

.ec-stat-glass:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ec-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ec-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.01em;
}

/* ── STEP CARDS (How It Works) ────────────── */

.ec-step-card {
  position: relative;
  padding-top: var(--sp-48) !important;
}

.ec-step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--gold), #C9A961);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: var(--sp-24);
  right: var(--sp-24);
  opacity: 0.25;
}

/* ── REWARDS HERO ─────────────────────────── */

.ec-rewards-hero {
  padding-bottom: var(--sp-32);
}

.ec-rewards-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ec-hero-float-card {
  position: relative;
  animation: ecFloat 6s ease-in-out infinite;
}

@keyframes ecFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(0.5deg); }
  66% { transform: translateY(-6px) rotate(-0.3deg); }
}

.ec-hero-float-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(201, 169, 97, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}

.ec-hero-float-inner {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: var(--sp-48) var(--sp-48) var(--sp-32);
  text-align: center;
  position: relative;
  box-shadow: 0 8px 40px rgba(201, 169, 97, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  min-width: 280px;
}

.ec-hero-float-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #C9A961);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-16);
  color: #fff;
  box-shadow: 0 4px 20px rgba(201, 169, 97, 0.3);
}

.ec-hero-float-badge svg {
  width: 24px;
  height: 24px;
}

.ec-hero-float-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ec-hero-float-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.ec-hero-float-unit {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: var(--sp-24);
}

.ec-hero-float-bar-wrap {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: var(--sp-16);
}

.ec-hero-float-bar {
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #C9A961);
  border-radius: 3px;
  animation: ecBarShimmer 3s ease-in-out infinite;
}

@keyframes ecBarShimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.ec-hero-float-tier {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
}

.ec-hero-float-tier-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--gold), #C9A961);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.ec-hero-float-tier-mult {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── TIER SYSTEM ──────────────────────────── */

.ec-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
  align-items: start;
}

.ec-tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.ec-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.ec-tier-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-16);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
}

.ec-tier-badge-starter {
  background: linear-gradient(135deg, #C0C0C0, #8A8A8A);
  box-shadow: 0 4px 16px rgba(140, 140, 140, 0.25);
}

.ec-tier-badge-researcher {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 4px 16px var(--accent-glow);
}

.ec-tier-badge-advanced {
  background: linear-gradient(135deg, #C9A961, #B8954D);
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.25);
}

.ec-tier-badge-elite {
  background: linear-gradient(135deg, var(--gold), #C9A961);
  box-shadow: 0 4px 20px rgba(201, 169, 97, 0.35);
}

.ec-tier-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}

.ec-tier-range {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--sp-16);
}

.ec-multiplier-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-24);
}

.ec-multiplier-gold {
  color: #C9A961;
  background: rgba(201, 169, 97, 0.15);
}

.ec-tier-benefits {
  list-style: none;
  padding: 0;
  text-align: left;
}

.ec-tier-benefits li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.ec-tier-benefits li:last-child {
  border-bottom: none;
}

.ec-tier-benefits li::before {
  content: '✓';
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  font-weight: 600;
}

/* Elite Tier , Gold Border */
.ec-tier-elite {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(135deg, var(--gold), #C9A961, var(--gold-light));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 8px 40px rgba(201, 169, 97, 0.15), var(--shadow-sm);
}

.ec-tier-elite:hover {
  box-shadow: 0 12px 48px rgba(201, 169, 97, 0.25), var(--shadow-md);
}

.ec-tier-elite .ec-tier-benefits li::before {
  color: var(--gold);
}

.ec-tier-elite-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #C9A961);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(201, 169, 97, 0.3);
}

/* ── EARNING METHODS ──────────────────────── */

.ec-earn-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-64);
  align-items: start;
}

.ec-earn-editorial {
  padding-top: var(--sp-16);
}

.ec-earn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-16);
}

.ec-earn-card {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-24);
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.ec-earn-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-glow);
}

.ec-earn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ec-earn-icon svg {
  width: 18px;
  height: 18px;
}

.ec-earn-info {
  flex: 1;
  min-width: 0;
}

.ec-earn-info h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}

.ec-earn-info p {
  font-size: 12px;
  color: var(--text-light);
}

.ec-earn-pts {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold), #C9A961);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
}

.ec-earn-pts small {
  font-size: 11px;
  font-weight: 600;
}

/* ── REDEMPTION OPTIONS ───────────────────── */

.ec-redeem-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  max-width: 820px;
  margin: 0 auto;
}

.ec-redeem-card {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-24) var(--sp-32);
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.ec-redeem-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.ec-redeem-card-premium {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(135deg, var(--gold), #C9A961);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.ec-redeem-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.ec-redeem-badge-gold {
  background: linear-gradient(135deg, var(--gold), #C9A961);
  color: #fff;
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.3);
}

.ec-redeem-info {
  flex: 1;
}

.ec-redeem-info h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 4px;
}

.ec-redeem-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.ec-redeem-arrow {
  color: var(--text-light);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.ec-redeem-card:hover .ec-redeem-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* ── PROGRESS TRACKER ─────────────────────── */

.ec-progress-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: var(--sp-48);
  box-shadow: 0 8px 40px rgba(201, 169, 97, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.ec-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-32);
}

.ec-progress-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
}

.ec-progress-current-tier {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.ec-progress-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--sp-12);
}

.ec-progress-points {
  font-size: 15px;
  color: var(--text-muted);
}

.ec-progress-points strong {
  color: var(--text);
  font-weight: 700;
}

.ec-progress-remaining {
  font-size: 14px;
  color: var(--text-light);
}

.ec-progress-remaining strong {
  color: var(--accent);
}

.ec-progress-bar-track {
  width: 100%;
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: var(--sp-16);
}

.ec-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #C9A961);
  border-radius: 5px;
  transition: width 1.5s var(--ease-out);
  position: relative;
}

.ec-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: ecProgressShine 2s ease-in-out infinite;
}

@keyframes ecProgressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.ec-progress-tiers-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.ec-progress-cta {
  text-align: center;
  margin-top: var(--sp-32);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--border);
}

/* ── ACTIVITY FEED ────────────────────────── */

.ec-activity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}

.ec-activity-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: var(--sp-24);
}

.ec-activity-list {
  display: flex;
  flex-direction: column;
}

.ec-activity-row {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  padding: var(--sp-12) 0;
  border-bottom: 1px solid var(--border);
}

.ec-activity-row:last-child {
  border-bottom: none;
}

.ec-activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ec-activity-icon svg {
  width: 16px;
  height: 16px;
}

.ec-activity-detail {
  flex: 1;
  min-width: 0;
}

.ec-activity-action {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ec-activity-time {
  font-size: 12px;
  color: var(--text-light);
}

.ec-activity-points {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #B8954D;
  flex-shrink: 0;
}

.ec-activity-points-bonus {
  background: linear-gradient(135deg, var(--gold), #C9A961);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ec-blur-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: var(--radius);
}

.ec-blur-overlay-content {
  text-align: center;
}

.ec-blur-overlay-content p {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-16);
}

/* ── COMMISSION HERO CARD (Affiliate) ─────── */

.ec-commission-hero-card {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ec-commission-hero-inner {
  position: relative;
  animation: ecFloat 6s ease-in-out infinite;
}

.ec-commission-hero-glow {
  position: absolute;
  inset: -50px;
  background: radial-gradient(ellipse at center, rgba(201, 169, 97, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}

.ec-commission-hero-content {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: var(--sp-48);
  text-align: center;
  box-shadow: 0 8px 40px rgba(201, 169, 97, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.ec-commission-hero-row {
  display: flex;
  align-items: center;
  gap: var(--sp-32);
}

.ec-commission-hero-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ec-commission-hero-pct {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), #C9A961);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ec-commission-hero-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

.ec-commission-hero-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

.ec-commission-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  justify-content: center;
  margin-top: var(--sp-24);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

/* ── COMMISSION STRUCTURE CARD ────────────── */

.ec-commission-card {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--gold), #C9A961, var(--gold-light));
  box-shadow: 0 8px 40px rgba(201, 169, 97, 0.15);
}

.ec-commission-card-inner {
  background: var(--surface);
  border-radius: calc(var(--radius-lg) - 2px);
  padding: var(--sp-64);
  text-align: center;
}

.ec-commission-rates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-64);
  margin-bottom: var(--sp-32);
}

.ec-commission-rate-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ec-commission-big-pct {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), #C9A961);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ec-commission-rate-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
}

.ec-commission-rate-sep {
  width: 1px;
  height: 80px;
  background: var(--border);
}

.ec-commission-pills {
  display: flex;
  justify-content: center;
  gap: var(--sp-16);
  flex-wrap: wrap;
}

.ec-commission-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.ec-commission-pill svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* ── EARNINGS CALCULATOR ──────────────────── */

.ec-calculator {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-48);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-48);
}

.ec-calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-32);
}

.ec-calculator-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.ec-calculator-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.ec-calculator-slider-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}

.ec-calculator-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.ec-calculator-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #C9A961);
  box-shadow: 0 2px 8px rgba(201, 169, 97, 0.35);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out);
}

.ec-calculator-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.ec-calculator-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #C9A961);
  box-shadow: 0 2px 8px rgba(201, 169, 97, 0.35);
  border: none;
  cursor: pointer;
}

.ec-calculator-slider-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  min-width: 48px;
  text-align: right;
}

.ec-calculator-output {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  justify-content: center;
}

.ec-calculator-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-16);
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.ec-calculator-result-label {
  font-size: 14px;
  color: var(--text-muted);
}

.ec-calculator-result-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.ec-calculator-result-featured {
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.08), rgba(201, 169, 97, 0.04));
  border-color: rgba(201, 169, 97, 0.25);
}

.ec-calculator-result-featured .ec-calculator-result-value {
  font-size: 28px;
}

/* ── WHY PARTNER LAYOUT ───────────────────── */

.ec-why-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-64);
  align-items: start;
}

.ec-why-editorial {
  padding-top: var(--sp-16);
}

.ec-why-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.ec-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-16);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--sp-24);
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.ec-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ec-benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(201, 169, 97, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ec-benefit-icon svg {
  width: 18px;
  height: 18px;
}

.ec-benefit-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}

.ec-benefit-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── PARTNER TIERS ────────────────────────── */

.ec-partner-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
  align-items: start;
}

.ec-partner-tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  text-align: center;
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.ec-partner-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.ec-partner-tier-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: var(--sp-24);
}

.ec-partner-tier-badge-gold {
  background: linear-gradient(135deg, var(--gold), #C9A961);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ec-partner-tier-rates {
  display: flex;
  justify-content: center;
  gap: var(--sp-32);
  margin-bottom: var(--sp-24);
  padding-bottom: var(--sp-24);
  border-bottom: 1px solid var(--border);
}

.ec-partner-tier-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ec-partner-tier-pct {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.ec-partner-tier-rate-label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

.ec-partner-tier-perks {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: var(--sp-24);
}

.ec-partner-tier-perks li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.ec-partner-tier-perks li:last-child {
  border-bottom: none;
}

.ec-partner-tier-perks li::before {
  content: '✓';
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  font-weight: 600;
}

.ec-partner-tier-req {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Elite Partner , Gold Border */
.ec-partner-tier-elite {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(135deg, var(--gold), #C9A961, var(--gold-light));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 8px 40px rgba(201, 169, 97, 0.15), var(--shadow-sm);
}

.ec-partner-tier-elite:hover {
  box-shadow: 0 12px 48px rgba(201, 169, 97, 0.25), var(--shadow-md);
}

.ec-partner-tier-elite .ec-partner-tier-perks li::before {
  color: var(--gold);
}

.ec-partner-tier-elite-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #C9A961);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(201, 169, 97, 0.3);
}

/* ── DASHBOARD PREVIEW ────────────────────── */

.ec-dashboard-preview {
  perspective: 1200px;
  max-width: 920px;
  margin: 0 auto;
}

.ec-dashboard-browser {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotateX(2deg) rotateY(-1deg);
  transition: transform 0.6s var(--ease-out);
}

.ec-dashboard-browser:hover {
  transform: rotateX(0) rotateY(0);
}

.ec-dashboard-chrome {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-12) var(--sp-16);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

.ec-dashboard-dots {
  display: flex;
  gap: 6px;
}

.ec-dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.ec-dashboard-dots span:first-child { background: #FF6058; }
.ec-dashboard-dots span:nth-child(2) { background: #FFBE2E; }
.ec-dashboard-dots span:nth-child(3) { background: #C9A961; }

.ec-dashboard-url {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text-light);
  font-family: var(--font-body);
}

.ec-dashboard-body {
  padding: var(--sp-32);
}

.ec-dashboard-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-16);
  margin-bottom: var(--sp-32);
}

.ec-dashboard-kpi {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-16);
  text-align: center;
}

.ec-dashboard-kpi-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.ec-dashboard-kpi-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.ec-dashboard-kpi-delta {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.ec-dashboard-kpi-delta.positive {
  color: #B8954D;
}

.ec-dashboard-chart {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-24);
}

.ec-dashboard-chart-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--sp-16);
}

.ec-dashboard-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
}

.ec-dashboard-bar {
  flex: 1;
  background: var(--border);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 0.6s var(--ease-out);
}

.ec-dashboard-bar span {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

.ec-dashboard-bar:hover span {
  opacity: 1;
}

.ec-dashboard-bar-accent {
  background: var(--accent);
  opacity: 0.7;
}

.ec-dashboard-bar-gold {
  background: linear-gradient(to top, #C9A961, var(--gold));
}

.ec-dashboard-months {
  display: flex;
  gap: 8px;
  margin-top: var(--sp-8);
}

.ec-dashboard-months span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--text-light);
}

/* ── APPLICATION FORM ─────────────────────── */

.ec-apply-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--sp-48);
  align-items: start;
}

.ec-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-48);
  box-shadow: var(--shadow-sm);
}

.ec-partner-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
}

.ec-form-row {
  display: grid;
  gap: var(--sp-24);
}

.ec-form-row-2 {
  grid-template-columns: 1fr 1fr;
}

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

.ec-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.ec-form-group input[type="text"],
.ec-form-group input[type="email"],
.ec-form-group input[type="url"],
.ec-form-group select {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text);
  outline: none;
  transition: all 0.3s var(--ease-out);
}

.ec-form-group input:focus,
.ec-form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.ec-form-group input::placeholder {
  color: var(--text-light);
}

.ec-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.ec-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

/* Apply Sidebar */
.ec-apply-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 120px;
}

.ec-apply-summary-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin-bottom: var(--sp-24);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid var(--border);
}

.ec-apply-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.ec-apply-summary-row span {
  color: var(--text-muted);
}

.ec-apply-summary-row strong {
  font-weight: 700;
  color: var(--text);
}

.ec-apply-summary-row:last-of-type {
  border-bottom: none;
}

.ec-apply-summary-note {
  margin-top: var(--sp-24);
  padding-top: var(--sp-16);
  border-top: 1px solid var(--border);
}

.ec-apply-summary-note p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.ec-apply-summary-note svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* ── FAQ ACCORDION ────────────────────────── */

.ec-faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.ec-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.ec-faq-item:hover {
  border-color: rgba(201, 169, 97, 0.15);
}

.ec-faq-item[open] {
  box-shadow: var(--shadow-md);
}

.ec-faq-question {
  padding: var(--sp-24);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
  user-select: none;
}

.ec-faq-question::-webkit-details-marker {
  display: none;
}

.ec-faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--text-light);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  margin-left: var(--sp-16);
}

.ec-faq-item[open] .ec-faq-question::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.ec-faq-answer {
  padding: 0 var(--sp-24) var(--sp-24);
}

.ec-faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── REWARDS CTA ENHANCEMENT ──────────────── */

.ec-rewards-cta .cta-band-inner,
.ec-partners-cta .cta-band-inner {
  border-color: rgba(201, 169, 97, 0.2);
}

/* =============================================
   RESPONSIVE , REWARDS & PARTNERS
   ============================================= */

@media (max-width: 1024px) {
  .ec-section {
    padding: var(--sp-96) 0;
  }

  .ec-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ec-tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ec-earn-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-48);
  }

  .ec-earn-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ec-why-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-48);
  }

  .ec-partner-tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ec-calculator {
    grid-template-columns: 1fr;
    gap: var(--sp-32);
  }

  .ec-apply-layout {
    grid-template-columns: 1fr;
  }

  .ec-apply-summary-card {
    position: static;
  }

  .ec-dashboard-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .ec-commission-rates {
    gap: var(--sp-32);
  }
}

@media (max-width: 768px) {
  .ec-section {
    padding: var(--sp-64) 0;
  }

  .ec-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-16);
  }

  .ec-stat-glass {
    padding: var(--sp-24);
  }

  .ec-tier-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .ec-earn-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ec-partner-tier-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .ec-redeem-card {
    padding: var(--sp-16) var(--sp-24);
  }

  .ec-progress-card {
    padding: var(--sp-32);
  }

  .ec-progress-header {
    flex-direction: column;
    gap: var(--sp-16);
  }

  .ec-commission-hero-pct {
    font-size: 40px;
  }

  .ec-commission-big-pct {
    font-size: 48px;
  }

  .ec-commission-card-inner {
    padding: var(--sp-32);
  }

  .ec-form-card {
    padding: var(--sp-32);
  }

  .ec-form-row-2 {
    grid-template-columns: 1fr;
  }

  .ec-dashboard-browser {
    transform: none;
  }

  .ec-dashboard-bars {
    height: 100px;
  }

  .ec-commission-hero-row {
    gap: var(--sp-16);
  }

  .ec-commission-hero-content {
    padding: var(--sp-32);
  }
}

@media (max-width: 480px) {
  .ec-section {
    padding: var(--sp-48) 0;
  }

  .ec-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
  }

  .ec-stat-glass {
    padding: var(--sp-16);
  }

  .ec-stat-value {
    font-size: 24px;
  }

  .ec-earn-grid {
    grid-template-columns: 1fr;
  }

  .ec-earn-card {
    padding: var(--sp-16);
  }

  .ec-earn-pts {
    font-size: 18px;
  }

  .ec-redeem-card {
    flex-wrap: wrap;
    gap: var(--sp-16);
  }

  .ec-redeem-arrow {
    display: none;
  }

  .ec-progress-stats {
    flex-direction: column;
    gap: 4px;
  }

  .ec-progress-tiers-labels {
    font-size: 10px;
  }

  .ec-commission-hero-row {
    flex-direction: column;
    gap: var(--sp-24);
  }

  .ec-commission-hero-divider {
    width: 60px;
    height: 1px;
  }

  .ec-commission-rates {
    flex-direction: column;
    gap: var(--sp-24);
  }

  .ec-commission-rate-sep {
    width: 60px;
    height: 1px;
  }

  .ec-commission-hero-meta {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 12px;
  }

  .ec-dashboard-kpi-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

  .ec-dashboard-kpi {
    padding: var(--sp-12);
  }

  .ec-dashboard-kpi-value {
    font-size: 18px;
  }

  .ec-calculator {
    padding: var(--sp-24);
  }

  .ec-form-card {
    padding: var(--sp-24);
  }

  .ec-apply-summary-card {
    padding: var(--sp-24);
  }
}

/* =============================================
   PREMIUM AUTH SYSTEM , Elite Core V5
   Split-screen login/register/reset experience
   ============================================= */

/* ─── Container ─── */
.ec-auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
  width: 100%;
}

/* ─── Left Panel: Dark Branded Visual ─── */
.ec-auth-left {
  background: #111111;
  background-image: radial-gradient(ellipse at 30% 50%, rgba(201,169,97,0.08), transparent 60%),
                    radial-gradient(ellipse at 70% 80%, rgba(201,169,97,0.06), transparent 50%);
  position: sticky;
  top: 0;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ec-auth-left-inner {
  position: relative;
  z-index: 2;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 520px;
  width: 100%;
}

/* ─── Molecular CSS Visualization ─── */
.ec-auth-molecular {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ec-mol-node {
  position: absolute;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ec-mol-node--1 {
  width: 56px; height: 56px;
  background: rgba(201,169,97,0.12);
  border: 1px solid rgba(201,169,97,0.18);
  top: 15%; left: 20%;
  box-shadow: 0 0 30px rgba(201,169,97,0.2);
  animation: ec-mol-float 8s ease-in-out infinite;
}

.ec-mol-node--2 {
  width: 32px; height: 32px;
  background: rgba(201,169,97,0.15);
  border: 1px solid rgba(201,169,97,0.22);
  top: 28%; left: 60%;
  animation: ec-mol-float 6s ease-in-out 1s infinite;
}

.ec-mol-node--3 {
  width: 44px; height: 44px;
  background: rgba(201,169,97,0.1);
  border: 1px solid rgba(201,169,97,0.15);
  top: 50%; left: 35%;
  box-shadow: 0 0 40px rgba(201,169,97,0.25);
  animation: ec-mol-float 10s ease-in-out 2s infinite;
}

.ec-mol-node--4 {
  width: 20px; height: 20px;
  background: rgba(201,169,97,0.18);
  border: 1px solid rgba(201,169,97,0.25);
  top: 42%; left: 72%;
  animation: ec-mol-float 7s ease-in-out 0.5s infinite;
}

.ec-mol-node--5 {
  width: 64px; height: 64px;
  background: rgba(201,169,97,0.08);
  border: 1px solid rgba(201,169,97,0.12);
  top: 68%; left: 55%;
  box-shadow: 0 0 50px rgba(201,169,97,0.15);
  animation: ec-mol-float 12s ease-in-out 3s infinite;
}

.ec-mol-node--6 {
  width: 16px; height: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  top: 78%; left: 25%;
  animation: ec-mol-float 5s ease-in-out 1.5s infinite;
}

.ec-mol-node--7 {
  width: 28px; height: 28px;
  background: rgba(201,169,97,0.12);
  border: 1px solid rgba(201,169,97,0.18);
  top: 22%; left: 42%;
  animation: ec-mol-float 9s ease-in-out 4s infinite;
}

.ec-mol-node--8 {
  width: 12px; height: 12px;
  background: rgba(201,169,97,0.2);
  border: 1px solid rgba(201,169,97,0.3);
  top: 60%; left: 15%;
  animation: ec-mol-float 6.5s ease-in-out 2.5s infinite;
}

/* Connecting Lines */
.ec-mol-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,97,0.15), transparent);
  transform-origin: left center;
}

.ec-mol-line--1 {
  top: 22%; left: 24%;
  width: 180px;
  transform: rotate(20deg);
  animation: ec-mol-line-pulse 4s ease-in-out infinite;
}

.ec-mol-line--2 {
  top: 35%; left: 40%;
  width: 140px;
  transform: rotate(-15deg);
  animation: ec-mol-line-pulse 5s ease-in-out 1s infinite;
}

.ec-mol-line--3 {
  top: 55%; left: 20%;
  width: 200px;
  transform: rotate(35deg);
  animation: ec-mol-line-pulse 6s ease-in-out 2s infinite;
}

.ec-mol-line--4 {
  top: 65%; left: 45%;
  width: 120px;
  transform: rotate(-25deg);
  animation: ec-mol-line-pulse 4.5s ease-in-out 0.5s infinite;
}

.ec-mol-line--5 {
  top: 48%; left: 55%;
  width: 160px;
  transform: rotate(50deg);
  animation: ec-mol-line-pulse 5.5s ease-in-out 1.5s infinite;
}

/* Glow Orbs */
.ec-mol-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.ec-mol-glow--1 {
  width: 120px; height: 120px;
  background: rgba(201,169,97,0.12);
  top: 25%; left: 30%;
  animation: ec-mol-glow-pulse 6s ease-in-out infinite;
}

.ec-mol-glow--2 {
  width: 100px; height: 100px;
  background: rgba(201,169,97,0.1);
  top: 60%; left: 50%;
  animation: ec-mol-glow-pulse 8s ease-in-out 2s infinite;
}

@keyframes ec-mol-float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(8px, -12px); }
  50% { transform: translate(-6px, 8px); }
  75% { transform: translate(10px, 4px); }
}

@keyframes ec-mol-line-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

@keyframes ec-mol-glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ─── Brand Content ─── */
.ec-auth-brand {
  position: relative;
  z-index: 3;
  margin-top: auto;
}

.ec-auth-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.ec-auth-brand-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.ec-auth-brand-sub {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  max-width: 380px;
}

/* ─── Trust Strip ─── */
.ec-auth-trust-strip {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ec-auth-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.ec-auth-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  opacity: 0.8;
  flex-shrink: 0;
}

.ec-auth-trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ─── Right Panel: White Form Area ─── */
.ec-auth-right {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
  overflow-y: auto;
}

.ec-auth-form-wrapper {
  width: 100%;
  max-width: 420px;
}

/* ─── WooCommerce Notice Styling ─── */
.ec-auth-notices {
  margin-bottom: 8px;
}

.ec-auth-notices:empty {
  display: none;
}

.ec-auth-notices .woocommerce-error,
.ec-auth-notices .woocommerce-message,
.ec-auth-notices .woocommerce-info {
  list-style: none;
  padding: 14px 18px;
  margin: 0 0 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  line-height: 1.5;
}

.ec-auth-notices .woocommerce-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.ec-auth-notices .woocommerce-error li {
  list-style: none;
}

.ec-auth-notices .woocommerce-message {
  background: rgba(201,169,97,0.08);
  border: 1px solid rgba(201,169,97,0.08);
  color: #B8954D;
}

.ec-auth-notices .woocommerce-info {
  background: rgba(201,169,97,0.08);
  border: 1px solid rgba(201,169,97,0.08);
  color: #C9A961;
}

/* ─── Tab Switcher ─── */
.ec-auth-tabs {
  display: flex;
  position: relative;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.ec-auth-tab {
  flex: 1;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.ec-auth-tab:hover {
  color: var(--text);
}

.ec-auth-tab.active {
  color: var(--text);
}

.ec-auth-tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--gold);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.ec-auth-tab[data-tab="signup"].active ~ .ec-auth-tab-indicator,
.ec-auth-tabs[data-active="signup"] .ec-auth-tab-indicator {
  transform: translateX(100%);
}

/* ─── Form Panels ─── */
.ec-auth-panel {
  display: none;
}

.ec-auth-panel.active {
  display: block;
  animation: ec-auth-fade-in 0.35s ease-out;
}

@keyframes ec-auth-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ec-auth-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 8px;
}

.ec-auth-panel-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
}

/* ─── Form Fields ─── */
.ec-auth-field {
  margin-bottom: 20px;
}

.ec-auth-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.ec-required {
  color: #DC2626;
}

.ec-auth-field input[type="text"],
.ec-auth-field input[type="email"],
.ec-auth-field input[type="password"] {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.ec-auth-field input::placeholder {
  color: var(--text-light);
}

.ec-auth-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.ec-auth-field input.ec-auth-error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.ec-auth-field-error {
  font-size: 12px;
  color: #DC2626;
  margin-top: 6px;
  display: none;
}

.ec-auth-field-error.visible {
  display: block;
  animation: ec-auth-shake 0.4s ease;
}

@keyframes ec-auth-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

/* Field Row (two cols) */
.ec-auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ─── Password Input Wrap ─── */
.ec-auth-input-wrap {
  position: relative;
}

.ec-auth-input-wrap input {
  padding-right: 52px;
}

.ec-auth-pw-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.2s ease;
  padding: 0;
  border-radius: 8px;
}

.ec-auth-pw-toggle:hover {
  color: var(--text);
}

.ec-pw-icon-hide {
  display: none;
}

.ec-auth-pw-toggle.active .ec-pw-icon-show {
  display: none;
}

.ec-auth-pw-toggle.active .ec-pw-icon-hide {
  display: block;
}

/* ─── Password Strength Meter ─── */
.ec-auth-pw-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ec-auth-pw-strength.visible {
  opacity: 1;
}

.ec-auth-pw-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.ec-auth-pw-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.4s ease, background-color 0.4s ease;
}

.ec-auth-pw-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  min-width: 48px;
}

/* Strength colors */
.ec-auth-pw-strength[data-strength="weak"] .ec-auth-pw-bar-fill {
  width: 25%;
  background: #DC2626;
}
.ec-auth-pw-strength[data-strength="weak"] .ec-auth-pw-label {
  color: #DC2626;
}

.ec-auth-pw-strength[data-strength="fair"] .ec-auth-pw-bar-fill {
  width: 50%;
  background: #F59E0B;
}
.ec-auth-pw-strength[data-strength="fair"] .ec-auth-pw-label {
  color: #F59E0B;
}

.ec-auth-pw-strength[data-strength="good"] .ec-auth-pw-bar-fill {
  width: 75%;
  background: var(--accent);
}
.ec-auth-pw-strength[data-strength="good"] .ec-auth-pw-label {
  color: var(--accent);
}

.ec-auth-pw-strength[data-strength="strong"] .ec-auth-pw-bar-fill {
  width: 100%;
  background: #C9A961;
}
.ec-auth-pw-strength[data-strength="strong"] .ec-auth-pw-label {
  color: #C9A961;
}

/* ─── Options Row (Remember + Forgot) ─── */
.ec-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ec-auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  user-select: none;
}

.ec-auth-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ec-auth-checkmark {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ec-auth-checkbox input:checked + .ec-auth-checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.ec-auth-checkbox input:checked + .ec-auth-checkmark::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.ec-auth-checkbox input:focus-visible + .ec-auth-checkmark {
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.ec-auth-forgot-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ec-auth-forgot-link:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* ─── Submit Button ─── */
.ec-auth-submit {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--dark);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.ec-auth-submit:hover {
  background: #333333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ec-auth-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

.ec-auth-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out);
}

.ec-auth-submit:hover svg {
  transform: translateX(3px);
}

/* Loading state */
.ec-auth-submit.loading {
  pointer-events: none;
  opacity: 0.7;
}

.ec-auth-submit.loading::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: ec-auth-spin 0.6s linear infinite;
  position: absolute;
  right: 20px;
}

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

/* ─── Legal Text ─── */
.ec-auth-legal {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 16px;
}

.ec-auth-legal a {
  color: var(--accent);
  text-decoration: none;
}

.ec-auth-legal a:hover {
  text-decoration: underline;
}

/* ─── Benefits Micro-Section ─── */
.ec-auth-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.ec-auth-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ec-auth-benefit:hover {
  border-color: rgba(201,169,97,0.3);
  box-shadow: 0 2px 8px rgba(201,169,97,0.06);
}

.ec-auth-benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(201,169,97,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.ec-auth-benefit-icon svg {
  width: 16px;
  height: 16px;
}

.ec-auth-benefit span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

/* ─── Back Link / Alt Action ─── */
.ec-auth-back-link {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-muted);
}

.ec-auth-back-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.ec-auth-back-link a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* ─── Reset Password Specific ─── */
.ec-auth-reset-header {
  text-align: center;
  margin-bottom: 32px;
}

.ec-auth-reset-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201,169,97,0.1), rgba(201,169,97,0.08));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
}

.ec-auth-reset-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 10px;
}

.ec-auth-reset-header .ec-auth-panel-sub {
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .ec-auth-container {
    grid-template-columns: 1fr;
  }

  .ec-auth-left {
    position: relative;
    height: auto;
    min-height: 280px;
    top: auto;
  }

  .ec-auth-left-inner {
    padding: 48px 32px;
    align-items: center;
    text-align: center;
  }

  .ec-auth-brand {
    margin-top: 0;
  }

  .ec-auth-brand-heading {
    font-size: 28px;
  }

  .ec-auth-brand-sub {
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }

  .ec-auth-trust-strip {
    justify-content: center;
    padding-top: 32px;
    margin-top: 32px;
  }

  .ec-auth-right {
    padding: 48px 32px;
  }

  .ec-auth-form-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .ec-auth-left {
    min-height: 200px;
  }

  .ec-auth-left-inner {
    padding: 32px 24px;
  }

  .ec-auth-brand-heading {
    font-size: 24px;
  }

  .ec-auth-brand-sub {
    font-size: 13px;
    display: none;
  }

  .ec-auth-trust-strip {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ec-auth-trust-divider {
    display: none;
  }

  .ec-auth-right {
    padding: 32px 24px;
  }

  .ec-auth-field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ec-auth-benefits {
    grid-template-columns: 1fr;
  }

  .ec-auth-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ec-mol-node--5,
  .ec-mol-node--6,
  .ec-mol-line--3,
  .ec-mol-line--4,
  .ec-mol-line--5 {
    display: none;
  }
}

/* ─── WooCommerce wrapper overrides for auth pages ─── */
/* Remove container constraints so split-screen auth renders full-width */
.woocommerce-account:not(.logged-in) .ec-woo-main,
.woocommerce-account:not(.logged-in) .ec-woo-main > .container {
  max-width: 100%;
  padding: 0;
  width: 100%;
  margin: 0;
}

/* Also remove constraints when ec-auth-container is present (lost-password, etc.) */
.ec-woo-main:has(.ec-auth-container),
.ec-woo-main:has(.ec-auth-container) > .container {
  max-width: 100%;
  padding: 0;
  width: 100%;
  margin: 0;
}

/* Hide the WC "My account" page title above the auth form */
body.woocommerce-account:not(.logged-in) .page-hero,
body.woocommerce-account:not(.logged-in) .ec-woo-main > .container > h1,
body.woocommerce-account:not(.logged-in) .ec-woo-main > .container > .page-title {
  display: none;
}

/* Ensure auth container renders as grid on auth pages */
.woocommerce-account:not(.logged-in) .ec-auth-container,
.ec-auth-container {
  display: grid;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .ec-mol-node,
  .ec-mol-line,
  .ec-mol-glow {
    animation: none !important;
  }

  .ec-auth-panel.active {
    animation: none;
  }

  .ec-auth-tab-indicator {
    transition: none;
  }
}

/* =============================================
   ELITE CORE V5 , MY ACCOUNT DASHBOARD
   Premium logged-in account portal styles.
   All classes use ec-dash- prefix.
   ============================================= */

/* ─── Premium Account Navigation ─── */
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  display: none; /* Hide default WC nav , replaced by ec-dash-nav */
}

.ec-dash-nav {
  margin-bottom: var(--sp-32);
  position: relative;
}

.ec-dash-nav-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ec-dash-nav-scroll::-webkit-scrollbar {
  display: none;
}

.ec-dash-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1.5px solid var(--border);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.ec-dash-nav-item:hover {
  color: var(--text);
  border-color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.ec-dash-nav-item--active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.ec-dash-nav-item--active:hover {
  background: var(--dark-lighter);
  color: #fff;
  border-color: var(--dark-lighter);
}

.ec-dash-nav-item--logout {
  margin-left: auto;
  color: #999;
  border-color: transparent;
}

.ec-dash-nav-item--logout:hover {
  color: #d44;
  border-color: rgba(221, 68, 68, 0.2);
  background: rgba(221, 68, 68, 0.04);
}

.ec-dash-nav-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ─── Dashboard Container ─── */
.ec-dash {
  padding: var(--sp-16) 0 var(--sp-64);
}

/* ─── Welcome Header ─── */
.ec-dash-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
  padding: var(--sp-32) var(--sp-32);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-24);
}

.ec-dash-welcome-content {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}

.ec-dash-welcome-avatar {
  flex-shrink: 0;
}

.ec-dash-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.ec-dash-welcome-heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.ec-dash-welcome-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  margin-top: 6px;
}

.ec-dash-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tier-color, var(--accent));
  background: color-mix(in srgb, var(--tier-color, var(--accent)) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--tier-color, var(--accent)) 20%, transparent);
}

.ec-dash-tier-badge svg {
  stroke: var(--tier-color, var(--accent));
}

.ec-dash-welcome-since {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.ec-dash-welcome-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ─── Dashboard Buttons ─── */
.ec-dash-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: 1.5px solid transparent;
}

.ec-dash-btn--primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.ec-dash-btn--primary:hover {
  background: var(--dark-lighter);
  border-color: var(--dark-lighter);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.ec-dash-btn--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.ec-dash-btn--secondary:hover {
  border-color: var(--text);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.ec-dash-btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.ec-dash-btn--accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.25);
  transform: translateY(-1px);
}

.ec-dash-btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  border-color: var(--gold);
  font-weight: 700;
}

.ec-dash-btn--gold:hover {
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.35);
  transform: translateY(-1px);
}

.ec-dash-btn--sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* ─── Stats Cards ─── */
.ec-dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-16);
  margin-bottom: var(--sp-24);
}

.ec-dash-stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: var(--sp-24);
  text-align: center;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.ec-dash-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  transition: background 0.3s var(--ease-out);
}

.ec-dash-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 169, 97, 0.15);
}

.ec-dash-stat-card:hover::before {
  background: var(--accent);
}

.ec-dash-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-12);
}

.ec-dash-stat-icon--orders {
  background: rgba(201, 169, 97, 0.08);
  color: var(--accent);
}
.ec-dash-stat-icon--points {
  background: rgba(201, 169, 97, 0.12);
  color: var(--gold);
}
.ec-dash-stat-icon--tier {
  background: color-mix(in srgb, var(--tier-accent, var(--accent)) 10%, transparent);
  color: var(--tier-accent, var(--accent));
}
.ec-dash-stat-icon--member {
  background: rgba(17, 17, 17, 0.06);
  color: var(--text);
}

.ec-dash-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums lining-nums;
}

.ec-dash-stat-unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}

.ec-dash-stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Main Grid: Orders + Rewards ─── */
.ec-dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-24);
  margin-bottom: var(--sp-24);
}

.ec-dash-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ec-dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-24) var(--sp-24) 0;
}

.ec-dash-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.ec-dash-card-title svg {
  color: var(--text-muted);
}

.ec-dash-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s var(--ease-out);
}

.ec-dash-card-link:hover {
  gap: 8px;
}

.ec-dash-card-body {
  padding: var(--sp-24);
}

/* ─── Orders Table ─── */
.ec-dash-orders-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ec-dash-orders-head {
  display: grid;
  grid-template-columns: 80px 1fr 100px 80px 32px;
  gap: var(--sp-12);
  padding: 0 0 var(--sp-12);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ec-dash-order-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px 80px 32px;
  gap: var(--sp-12);
  align-items: center;
  padding: var(--sp-12) 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.ec-dash-order-row:last-child {
  border-bottom: none;
}

.ec-dash-order-row:hover {
  background: var(--surface-alt, #fafafa);
  border-radius: var(--radius-sm);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}

.ec-dash-order-num {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.ec-dash-order-date {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.ec-dash-order-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
}

.ec-dash-status--completed {
  background: rgba(201, 169, 97, 0.08);
  color: var(--accent);
}
.ec-dash-status--processing {
  background: rgba(201, 169, 97, 0.12);
  color: #B8954D;
}
.ec-dash-status--hold {
  background: rgba(201, 169, 97, 0.1);
  color: #B8954D;
}
.ec-dash-status--pending {
  background: rgba(100, 100, 100, 0.08);
  color: #666;
}
.ec-dash-status--refunded,
.ec-dash-status--cancelled {
  background: rgba(220, 50, 50, 0.06);
  color: #c0392b;
}

.ec-dash-order-total {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.ec-dash-order-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.ec-dash-order-view:hover {
  background: var(--text);
  color: #fff;
}

/* ─── Empty State ─── */
.ec-dash-empty {
  text-align: center;
  padding: var(--sp-32) 0;
}

.ec-dash-empty-icon {
  color: var(--text-light);
  margin-bottom: var(--sp-12);
}

.ec-dash-empty p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--sp-16);
}

/* ─── Rewards Module ─── */
.ec-dash-rewards-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-16);
}

.ec-dash-rewards-current {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ec-dash-rewards-tier-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.ec-dash-rewards-tier-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ec-dash-rewards-multiplier {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ec-dash-rewards-mult-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}

.ec-dash-rewards-mult-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.ec-dash-rewards-progress {
  margin-bottom: var(--sp-16);
}

.ec-dash-rewards-progress-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ec-dash-rewards-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.ec-dash-rewards-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  transition: width 1.2s var(--ease-out);
  min-width: 2px;
}

.ec-dash-rewards-progress-footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-light);
  margin-top: 6px;
}

.ec-dash-rewards-maxed {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(201, 169, 97, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--sp-16);
}

.ec-dash-rewards-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-16);
  border-top: 1px solid var(--border);
}

.ec-dash-rewards-pts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ec-dash-rewards-pts-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}

.ec-dash-rewards-pts-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ─── CTA Cards ─── */
.ec-dash-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-16);
  margin-bottom: var(--sp-24);
}

.ec-dash-cta {
  border-radius: var(--radius);
  padding: var(--sp-32);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.ec-dash-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.ec-dash-cta-content {
  position: relative;
  z-index: 1;
}

/* Partner CTA , Dark premium */
.ec-dash-cta--partner {
  background: var(--dark);
  color: #fff;
}

.ec-dash-cta--partner .ec-dash-cta-icon {
  color: var(--gold);
}

.ec-dash-cta--partner .ec-dash-cta-title {
  color: #fff;
}

.ec-dash-cta--partner .ec-dash-cta-desc {
  color: var(--dark-text);
}

.ec-dash-cta--partner .ec-dash-cta-pattern {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Refer CTA */
.ec-dash-cta--refer {
  background: var(--surface);
  border: 1px solid var(--border);
}

.ec-dash-cta--refer .ec-dash-cta-icon {
  color: var(--accent);
}

/* Support CTA */
.ec-dash-cta--support {
  background: var(--surface);
  border: 1px solid var(--border);
}

.ec-dash-cta--support .ec-dash-cta-icon {
  color: var(--text-muted);
}

.ec-dash-cta-icon {
  margin-bottom: var(--sp-16);
}

.ec-dash-cta-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.ec-dash-cta-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: var(--sp-16);
}

/* ─── RUO Disclaimer ─── */
.ec-dash-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--sp-16);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--border);
}

/* ─── Responsive: Tablet ─── */
@media (max-width: 1024px) {
  .ec-dash-welcome {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-16);
  }

  .ec-dash-welcome-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .ec-dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ec-dash-grid {
    grid-template-columns: 1fr;
  }

  .ec-dash-ctas {
    grid-template-columns: 1fr;
  }
}

/* ─── Responsive: Mobile ─── */
@media (max-width: 640px) {
  .ec-dash {
    padding: var(--sp-8) 0 var(--sp-48);
  }

  .ec-dash-nav-item {
    padding: 8px 14px;
    font-size: 12px;
  }

  .ec-dash-nav-label {
    display: none;
  }

  .ec-dash-nav-item--active .ec-dash-nav-label {
    display: inline;
  }

  .ec-dash-welcome {
    padding: var(--sp-24) var(--sp-16);
  }

  .ec-dash-welcome-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-12);
  }

  .ec-dash-welcome-heading {
    font-size: 20px;
  }

  .ec-dash-welcome-meta {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .ec-dash-welcome-actions {
    flex-direction: column;
  }

  .ec-dash-welcome-actions .ec-dash-btn {
    width: 100%;
    justify-content: center;
  }

  .ec-dash-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8);
  }

  .ec-dash-stat-card {
    padding: var(--sp-16);
  }

  .ec-dash-stat-value {
    font-size: 22px;
  }

  .ec-dash-stat-icon {
    width: 40px;
    height: 40px;
  }

  .ec-dash-stat-icon svg {
    width: 20px;
    height: 20px;
  }

  .ec-dash-card-body {
    padding: var(--sp-16);
  }

  .ec-dash-card-header {
    padding: var(--sp-16) var(--sp-16) 0;
  }

  /* Orders table , stacked on mobile */
  .ec-dash-orders-head {
    display: none;
  }

  .ec-dash-order-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 6px var(--sp-12);
    padding: var(--sp-12) 0;
  }

  .ec-dash-order-num {
    grid-column: 1;
  }

  .ec-dash-order-total {
    grid-column: 2;
    text-align: right;
  }

  .ec-dash-order-date {
    grid-column: 1;
    font-size: 12px;
  }

  .ec-dash-order-status {
    grid-column: 2;
    justify-self: end;
  }

  .ec-dash-order-view {
    display: none;
  }

  .ec-dash-cta {
    padding: var(--sp-24);
  }

  .ec-dash-rewards-tier {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-12);
  }

  .ec-dash-rewards-multiplier {
    text-align: left;
  }

  .ec-dash-rewards-balance {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-12);
  }
}

/* ─── Animations ─── */
@keyframes ec-dash-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ec-dash-welcome,
.ec-dash-stat-card,
.ec-dash-card,
.ec-dash-cta {
  animation: ec-dash-fadeInUp 0.5s var(--ease-out) both;
}

.ec-dash-stat-card:nth-child(1) { animation-delay: 0.05s; }
.ec-dash-stat-card:nth-child(2) { animation-delay: 0.1s; }
.ec-dash-stat-card:nth-child(3) { animation-delay: 0.15s; }
.ec-dash-stat-card:nth-child(4) { animation-delay: 0.2s; }
.ec-dash-card--orders { animation-delay: 0.2s; }
.ec-dash-card--rewards { animation-delay: 0.25s; }
.ec-dash-cta:nth-child(1) { animation-delay: 0.3s; }
.ec-dash-cta:nth-child(2) { animation-delay: 0.35s; }
.ec-dash-cta:nth-child(3) { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .ec-dash-welcome,
  .ec-dash-stat-card,
  .ec-dash-card,
  .ec-dash-cta {
    animation: none;
  }
}


/* =============================================
   ELITE CORE V5 , PREMIUM SHOP PAGE STYLES
   Append to main.css , do not modify existing CSS
   ============================================= */

/* ─────────────────────────────────────────────
   A. PREMIUM SHOP HERO
   ───────────────────────────────────────────── */
.ec-shop-hero {
  position: relative;
  background: var(--dark);
  padding: 80px 0 64px;
  overflow: hidden;
}

.ec-shop-hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 40px 40px;
  animation: ec-shop-grid-drift 30s linear infinite;
  pointer-events: none;
}

@keyframes ec-shop-grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.ec-shop-hero__inner {
  position: relative;
  z-index: 1;
}

.ec-shop-hero__content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.ec-shop-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.ec-shop-hero__eyebrow svg {
  opacity: 0.8;
}

.ec-shop-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.ec-shop-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto 0;
}

/* Trust Strip */
.ec-shop-hero__trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ec-shop-trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.01em;
}

.ec-shop-trust-badge svg {
  color: var(--accent-light);
  flex-shrink: 0;
}

/* RUO Notice */
.ec-shop-hero__ruo {
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 32px;
}


/* ─────────────────────────────────────────────
   B. STICKY TOOLBAR
   ───────────────────────────────────────────── */
.ec-toolbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 16px 0 12px;
  transition: box-shadow 0.3s var(--ease-out);
}

.ec-toolbar.ec-toolbar--stuck {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.ec-toolbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Search Input */
.ec-toolbar__search {
  position: relative;
  flex: 0 0 auto;
  width: 240px;
}

.ec-toolbar__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.ec-toolbar__search-input {
  width: 100%;
  height: 42px;
  padding: 0 40px 0 42px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  outline: none;
  transition: all 0.25s var(--ease-out);
}

.ec-toolbar__search-input::placeholder {
  color: var(--text-light);
}

.ec-toolbar__search-input:focus {
  background: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.ec-toolbar__search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.ec-toolbar__search-clear:hover {
  background: var(--text-light);
  color: #FFFFFF;
}

/* Category Pills */
.ec-toolbar__filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.ec-toolbar__filters::-webkit-scrollbar {
  display: none;
}

.ec-toolbar__pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  flex-shrink: 0;
}

.ec-toolbar__pill:hover {
  color: var(--text);
  background: var(--bg);
  border-color: rgba(0,0,0,0.12);
}

.ec-toolbar__pill--active,
.ec-toolbar__pill--active:hover {
  color: #FFFFFF;
  background: var(--dark);
  border-color: var(--dark);
}

.ec-toolbar__pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Sort Dropdown */
.ec-toolbar__sort {
  position: relative;
  flex: 0 0 auto;
}

.ec-toolbar__sort-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease-out);
}

.ec-toolbar__sort-btn:hover {
  color: var(--text);
  border-color: rgba(0,0,0,0.15);
}

.ec-toolbar__sort-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ec-toolbar__sort-btn svg {
  transition: transform 0.25s var(--ease-out);
}

.ec-toolbar__sort-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.ec-toolbar__sort-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.04);
  list-style: none;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: all 0.25s var(--ease-out);
  z-index: 100;
}

.ec-toolbar__sort-dropdown--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ec-toolbar__sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s var(--ease-out);
}

.ec-toolbar__sort-option:hover {
  background: var(--bg);
  color: var(--text);
}

.ec-toolbar__sort-option--active {
  color: var(--accent);
  font-weight: 600;
  background: rgba(201, 169, 97, 0.06);
}

.ec-toolbar__sort-option--active:hover {
  background: rgba(201, 169, 97, 0.1);
  color: var(--accent);
}

.ec-toolbar__sort-option svg {
  color: var(--accent);
}

/* Results Count */
.ec-toolbar__results {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-light);
  padding-top: 8px;
}


/* ─────────────────────────────────────────────
   C. PRODUCT GRID
   ───────────────────────────────────────────── */
.ec-shop-grid-section {
  padding: 48px 0 80px;
  background: var(--bg);
}

.ec-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}


/* ─────────────────────────────────────────────
   D. PRODUCT CARDS
   ───────────────────────────────────────────── */
.ec-product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.04),
    0 4px 12px rgba(0,0,0,0.03);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out);
  will-change: transform;
}

.ec-product-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.1),
    0 2px 8px rgba(0,0,0,0.04);
  border-color: var(--accent-glow);
}

/* Image Area */
.ec-card-image-wrap {
  position: relative;
  background: #fafafa;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.ec-card-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ec-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out);
}

.ec-product-card:hover .ec-card-img {
  transform: scale(1.04);
}

/* Badges */
.ec-card-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 3;
}

.ec-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  line-height: 1;
}

.ec-card-badge--bestseller {
  background: var(--gold);
  color: #FFFFFF;
}

.ec-card-badge--bestseller svg {
  width: 10px;
  height: 10px;
}

.ec-card-badge--new {
  background: var(--accent);
  color: #FFFFFF;
}

.ec-card-badge--research {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
}

/* Quick View Overlay */
.ec-card-quick-view {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out);
  z-index: 4;
  white-space: nowrap;
}

.ec-product-card:hover .ec-card-quick-view {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.ec-card-quick-view:hover {
  background: var(--accent);
}

.ec-card-quick-view:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

/* Card Body */
.ec-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ec-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ec-card-category {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(201, 169, 97, 0.07);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  line-height: 1;
}

.ec-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.ec-card-rating svg {
  flex-shrink: 0;
}

.ec-card-rating__value {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}

.ec-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
}

.ec-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.ec-card-title a:hover {
  color: var(--accent);
}

.ec-card-excerpt {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.ec-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.ec-card-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.ec-card-price del {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 400;
}

.ec-card-price ins {
  text-decoration: none;
  color: var(--accent);
}

.ec-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--dark);
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
  flex-shrink: 0;
}

.ec-card-cta svg {
  transition: transform 0.3s var(--ease-out);
}

.ec-card-cta:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.ec-card-cta:hover svg {
  transform: translateX(3px);
}

.ec-card-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Card hide/show animation for search */
.ec-product-card.ec-card--hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.ec-product-card.ec-card--animating-out {
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: all 0.25s var(--ease-out);
}

.ec-product-card.ec-card--animating-in {
  animation: ec-card-fadeIn 0.35s var(--ease-out) forwards;
}

@keyframes ec-card-fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* ─────────────────────────────────────────────
   E. LOAD MORE PAGINATION
   ───────────────────────────────────────────── */
.ec-shop-pagination {
  text-align: center;
  margin-top: 56px;
}

.ec-shop-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
}

.ec-shop-load-more:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #FFFFFF;
}

.ec-shop-load-more:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ec-shop-load-more__spinner {
  display: none;
}

.ec-shop-load-more.ec-shop-load-more--loading .ec-shop-load-more__text {
  opacity: 0.5;
}

.ec-shop-load-more.ec-shop-load-more--loading .ec-shop-load-more__spinner {
  display: inline-flex;
  animation: ec-spin 0.8s linear infinite;
}

@keyframes ec-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ec-shop-pagination__count {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
}

.ec-shop-pagination__fallback {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ec-shop-pagination__fallback a,
.ec-shop-pagination__fallback span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
}

.ec-shop-pagination__fallback a:hover {
  background: var(--dark);
  color: #FFFFFF;
  border-color: var(--dark);
}

.ec-shop-pagination__fallback .current {
  background: var(--dark);
  color: #FFFFFF;
  border-color: var(--dark);
}


/* ─────────────────────────────────────────────
   F. QUICK VIEW MODAL
   ───────────────────────────────────────────── */
.ec-quickview-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-out);
  padding: 24px;
}

.ec-quickview-overlay.ec-quickview--open {
  opacity: 1;
  visibility: visible;
}

.ec-quickview-modal {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s var(--ease-spring), opacity 0.35s var(--ease-out);
  opacity: 0;
}

.ec-quickview--open .ec-quickview-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.ec-quickview-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.06);
  border: none;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s var(--ease-out);
}

.ec-quickview-close:hover {
  background: rgba(0,0,0,0.12);
  color: var(--text);
}

.ec-quickview-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ec-quickview-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.ec-quickview-image {
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
}

.ec-quickview-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.ec-quickview-info {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.ec-quickview-category {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.ec-quickview-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.ec-quickview-excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* About This Compound block inside quick view (mirrors PDP style) */
.ec-quickview-about {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: var(--cream, #F7F5F0);
  border: 1px solid var(--border, #E8E4DC);
  border-radius: var(--radius-md, 12px);
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent, #C9A961) transparent;
}

.ec-quickview-about::-webkit-scrollbar { width: 6px; }
.ec-quickview-about::-webkit-scrollbar-track { background: transparent; }
.ec-quickview-about::-webkit-scrollbar-thumb {
  background: var(--accent, #C9A961);
  border-radius: 3px;
}

.ec-quickview-about-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #C9A961);
  margin: 0 0 10px;
}

.ec-quickview-about-body {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text, #0A0A0A);
}

.ec-quickview-about-body p {
  margin: 0 0 10px;
}

.ec-quickview-about-body p:last-child { margin-bottom: 0; }

.ec-quickview-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.ec-quickview-actions {
  margin-bottom: 20px;
}

.ec-quickview-atc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--dark);
  border: none;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.ec-quickview-atc:hover {
  background: var(--accent);
}

.ec-quickview-atc:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ec-quickview-ruo {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-light);
  font-style: italic;
}


/* ─────────────────────────────────────────────
   EMPTY STATE
   ───────────────────────────────────────────── */
.ec-shop-empty {
  text-align: center;
  padding: 80px 0;
}

.ec-shop-empty svg {
  margin-bottom: 24px;
}

.ec-shop-empty__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.ec-shop-empty__text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 32px;
  line-height: 1.6;
}


/* ─────────────────────────────────────────────
   RESPONSIVE , 1200px
   ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .ec-shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .ec-toolbar__search {
    width: 200px;
  }
}


/* ─────────────────────────────────────────────
   RESPONSIVE , 1024px (tablet landscape)
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ec-shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .ec-toolbar__inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ec-toolbar__search {
    order: 1;
    flex: 1 1 auto;
    width: auto;
    min-width: 180px;
  }

  .ec-toolbar__sort {
    order: 2;
    flex: 0 0 auto;
  }

  .ec-toolbar__filters {
    order: 3;
    flex: 0 0 100%;
  }
}


/* ─────────────────────────────────────────────
   RESPONSIVE , 768px (tablet portrait)
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .ec-shop-hero {
    padding: 60px 0 48px;
  }

  .ec-shop-hero__trust {
    gap: 10px 24px;
    margin-top: 36px;
    padding-top: 24px;
  }

  .ec-shop-trust-badge {
    font-size: 12px;
  }

  .ec-toolbar {
    padding: 12px 0 8px;
  }

  .ec-card-body {
    padding: 16px 20px 20px;
  }

  .ec-card-title {
    font-size: 15px;
  }

  .ec-card-cta {
    padding: 8px 16px;
    font-size: 12px;
  }

  .ec-card-price {
    font-size: 16px;
  }

  .ec-quickview-body {
    grid-template-columns: 1fr;
  }

  .ec-quickview-image {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 280px;
  }

  .ec-quickview-info {
    padding: 28px 24px;
  }

  .ec-quickview-title {
    font-size: 20px;
  }

  .ec-quickview-price {
    font-size: 22px;
  }
}


/* ─────────────────────────────────────────────
   RESPONSIVE , 640px (mobile landscape / small)
   ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .ec-shop-hero {
    padding: 48px 0 40px;
  }

  .ec-shop-hero__subtitle {
    font-size: 14px;
  }

  .ec-shop-hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .ec-shop-hero__ruo {
    font-size: 10px;
  }

  .ec-shop-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ec-shop-grid-section {
    padding: 32px 0 64px;
  }

  .ec-toolbar__inner {
    gap: 10px;
  }

  .ec-toolbar__search {
    min-width: 0;
  }

  .ec-toolbar__search-input {
    height: 38px;
    font-size: 13px;
  }

  .ec-toolbar__pill {
    padding: 6px 14px;
    font-size: 12px;
  }

  .ec-card-image-wrap {
    padding: 20px;
    aspect-ratio: 4 / 3;
  }

  .ec-product-card {
    border-radius: 20px;
  }

  .ec-card-badges {
    top: 12px;
    left: 12px;
    gap: 4px;
  }

  .ec-card-badge {
    font-size: 9px;
    padding: 4px 8px;
  }

  .ec-card-meta {
    margin-bottom: 8px;
  }

  .ec-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ec-card-cta {
    justify-content: center;
    padding: 12px 20px;
    font-size: 13px;
  }

  .ec-quickview-modal {
    border-radius: 20px;
  }

  .ec-quickview-image {
    padding: 24px;
    max-height: 240px;
  }

  .ec-quickview-info {
    padding: 24px 20px;
  }
}


/* ─────────────────────────────────────────────
   RESPONSIVE , 480px (small mobile)
   ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .ec-shop-hero {
    padding: 40px 0 32px;
  }

  .ec-shop-hero__title {
    font-size: 28px;
  }

  .ec-toolbar__sort-btn .ec-toolbar__sort-label {
    display: none;
  }

  .ec-toolbar__sort-btn {
    padding: 0 12px;
    width: 42px;
    height: 38px;
    justify-content: center;
  }

  .ec-toolbar__sort-btn svg {
    margin: 0;
  }

  .ec-card-excerpt {
    -webkit-line-clamp: 2;
    font-size: 12px;
  }

  .ec-card-rating svg {
    width: 12px;
    height: 12px;
  }
}


/* ─────────────────────────────────────────────
   MOBILE SEARCH ICON COLLAPSE
   ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .ec-toolbar__search {
    width: 42px;
    overflow: hidden;
    transition: width 0.35s var(--ease-out);
  }

  .ec-toolbar__search.ec-toolbar__search--expanded {
    width: 100%;
    flex: 1 1 auto;
  }

  .ec-toolbar__search-input {
    opacity: 0;
    transition: opacity 0.2s var(--ease-out);
  }

  .ec-toolbar__search--expanded .ec-toolbar__search-input {
    opacity: 1;
  }

  .ec-toolbar__search-icon {
    cursor: pointer;
    pointer-events: auto;
  }
}


/* ─────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ec-shop-hero__grid-pattern {
    animation: none;
  }

  .ec-product-card,
  .ec-card-img,
  .ec-card-quick-view,
  .ec-quickview-modal,
  .ec-quickview-overlay {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* ─────────────────────────────────────────────
   PRINT STYLES
   ───────────────────────────────────────────── */
@media print {
  .ec-toolbar,
  .ec-card-quick-view,
  .ec-quickview-overlay,
  .ec-shop-load-more,
  .ec-shop-hero__grid-pattern {
    display: none !important;
  }

  .ec-shop-hero {
    background: #FFFFFF !important;
    color: #000000 !important;
    padding: 24px 0;
  }

  .ec-shop-hero__title {
    color: #000000 !important;
  }

  .ec-shop-hero__subtitle,
  .ec-shop-hero__ruo {
    color: #333333 !important;
  }

  .ec-shop-trust-badge {
    color: #333333 !important;
  }

  .ec-shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .ec-product-card {
    box-shadow: none !important;
    border: 1px solid #DDD !important;
    break-inside: avoid;
  }

  .ec-product-card:hover {
    transform: none !important;
  }

  .ec-card-cta {
    background: #FFFFFF !important;
    color: #000000 !important;
    border: 1px solid #000000;
  }
}


/* ─────────────────────────────────────────────
   SHOP-SPECIFIC UTILITY: hide old WC output
   ───────────────────────────────────────────── */
.ec-shop-page .woocommerce-result-count,
.ec-shop-page .woocommerce-ordering {
  display: none !important;
}

/* No-JS: show fallback pagination, hide load-more */
.ec-shop-page noscript .ec-shop-pagination__fallback {
  display: flex;
}

/* Search "no results" message */
.ec-shop-grid__no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  display: none;
}

.ec-shop-grid__no-results.ec-shop-grid__no-results--visible {
  display: block;
}

.ec-shop-grid__no-results-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.ec-shop-grid__no-results-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   CARD REVEAL ANIMATION (replaces fade-up for shop)
   ───────────────────────────────────────────── */
.ec-card-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: ec-cardReveal 0.6s var(--ease-out) forwards;
}

.ec-card-reveal:nth-child(1)  { animation-delay: 0.05s; }
.ec-card-reveal:nth-child(2)  { animation-delay: 0.12s; }
.ec-card-reveal:nth-child(3)  { animation-delay: 0.19s; }
.ec-card-reveal:nth-child(4)  { animation-delay: 0.26s; }
.ec-card-reveal:nth-child(5)  { animation-delay: 0.33s; }
.ec-card-reveal:nth-child(6)  { animation-delay: 0.40s; }
.ec-card-reveal:nth-child(7)  { animation-delay: 0.47s; }
.ec-card-reveal:nth-child(8)  { animation-delay: 0.54s; }
.ec-card-reveal:nth-child(9)  { animation-delay: 0.61s; }
.ec-card-reveal:nth-child(10) { animation-delay: 0.68s; }
.ec-card-reveal:nth-child(11) { animation-delay: 0.75s; }
.ec-card-reveal:nth-child(12) { animation-delay: 0.82s; }

@keyframes ec-cardReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =============================================================
   Elite Core V5.3 , Homepage New Sections CSS
   Appended to main.css
   All new classes prefixed with .ec-hp-
   ============================================================= */


/* =============================================================
   SHARED , Section header for new sections
   ============================================================= */

.ec-hp-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

/* Light variants for dark-bg sections */
.ec-hp-label-light {
    color: rgba(255, 255, 255, 0.6) !important;
}

.ec-hp-heading-light {
    color: #FFFFFF !important;
}


/* =============================================================
   3. TRUST BAR , Dark section, 4 white cards
   ============================================================= */

.ec-hp-trust-bar {
    background: var(--dark);
    padding: 5rem 2rem;
}

.ec-hp-trust-bar-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ec-hp-trust-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ec-hp-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.ec-hp-trust-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(201, 169, 97, 0.08);
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.ec-hp-trust-card-icon svg {
    width: 24px;
    height: 24px;
}

.ec-hp-trust-card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.ec-hp-trust-card-desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 1024px) {
    .ec-hp-trust-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ec-hp-trust-bar {
        padding: 3rem 1.25rem;
    }
    .ec-hp-trust-bar-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .ec-hp-trust-card {
        padding: 1.5rem 1.25rem;
    }
}


/* =============================================================
   5. WHY ELITE CORE , 3-column authority cards
   ============================================================= */

.ec-hp-why-section {
    background: var(--bg);
    padding: 6rem 2rem;
}

.ec-hp-why-grid {
    max-width: 1240px;
    margin: 3.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ec-hp-why-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.ec-hp-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
    border-color: var(--accent);
}

.ec-hp-why-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(201, 169, 97, 0.06);
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.ec-hp-why-card-icon svg {
    width: 32px;
    height: 32px;
}

.ec-hp-why-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.ec-hp-why-card-desc {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 1024px) {
    .ec-hp-why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .ec-hp-why-section {
        padding: 4rem 1.25rem;
    }
    .ec-hp-why-card {
        padding: 2rem 1.5rem;
    }
}


/* =============================================================
   6. QUALITY PROCESS , 4-step flow with connectors
   ============================================================= */

.ec-hp-process-section {
    background: var(--dark);
    padding: 6rem 2rem;
}

.ec-hp-process-grid {
    max-width: 1240px;
    margin: 3.5rem auto 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.ec-hp-process-step {
    flex: 1;
    max-width: 260px;
    background: var(--dark-surface, #1A1A1A);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.ec-hp-process-step:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 97, 0.4);
}

.ec-hp-process-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(201, 169, 97, 0.2);
    letter-spacing: -0.03em;
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

.ec-hp-process-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(201, 169, 97, 0.1);
    color: var(--accent-light, #C9A961);
    margin-bottom: 1.25rem;
}

.ec-hp-process-icon svg {
    width: 28px;
    height: 28px;
}

.ec-hp-process-step-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.5rem;
}

.ec-hp-process-step-desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.ec-hp-process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4.5rem;
    flex-shrink: 0;
    width: 56px;
}

@media (max-width: 1024px) {
    .ec-hp-process-grid {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    .ec-hp-process-step {
        flex: 0 0 calc(50% - 1rem);
        max-width: none;
    }
    .ec-hp-process-connector {
        display: none;
    }
}

@media (max-width: 600px) {
    .ec-hp-process-section {
        padding: 4rem 1.25rem;
    }
    .ec-hp-process-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .ec-hp-process-step {
        flex: 1;
    }
}


/* =============================================================
   7. LAB VERIFICATION , Split layout + COA preview
   ============================================================= */

.ec-hp-lab-section {
    background: var(--bg);
    padding: 6rem 2rem;
}

.ec-hp-lab-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ec-hp-lab-desc {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 1rem 0 2rem;
}

.ec-hp-lab-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ec-hp-lab-visual {
    display: flex;
    justify-content: center;
}

.ec-hp-coa-card {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ec-hp-coa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.ec-hp-coa-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
}

.ec-hp-coa-body {
    padding: 1.5rem;
}

.ec-hp-coa-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(232, 229, 224, 0.5);
}

.ec-hp-coa-row:last-of-type {
    border-bottom: none;
}

.ec-hp-coa-label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.ec-hp-coa-value {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.ec-hp-coa-value--accent {
    color: var(--accent);
    font-size: 1.125rem;
    font-weight: 700;
}

.ec-hp-coa-divider {
    height: 1px;
    background: var(--border);
    margin: 0.75rem 0;
}

.ec-hp-coa-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(201, 169, 97, 0.06);
    border-radius: 12px;
    margin-top: 0.5rem;
}

.ec-hp-coa-status-text {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: #C9A961;
    letter-spacing: 0.08em;
}

@media (max-width: 1024px) {
    .ec-hp-lab-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .ec-hp-lab-visual {
        order: -1;
    }
}

@media (max-width: 600px) {
    .ec-hp-lab-section {
        padding: 4rem 1.25rem;
    }
    .ec-hp-lab-ctas {
        flex-direction: column;
    }
    .ec-hp-lab-ctas .btn-primary,
    .ec-hp-lab-ctas .btn-secondary {
        text-align: center;
        justify-content: center;
    }
}


/* =============================================================
   10. PARTNERS , Rewritten (checklist, no fake counters)
   ============================================================= */

.ec-hp-partners-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ec-hp-partners-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 1rem 0 2rem;
}

.ec-hp-partners-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ec-hp-partners-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ec-hp-partners-list-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ec-hp-partners-list-item svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 0.125rem;
    width: 20px;
    height: 20px;
}

.ec-hp-partners-list-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.ec-hp-partners-list-item span {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .ec-hp-partners-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .ec-hp-partners-list-item {
        padding: 1rem 1.25rem;
    }
}


/* =============================================================
   11. CONTACT , Grid layout with methods + CTA card
   ============================================================= */

.ec-hp-contact-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.ec-hp-contact-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 1rem 0 2rem;
}

.ec-hp-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ec-hp-contact-method {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.ec-hp-contact-method svg {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 0.125rem;
}

.ec-hp-contact-method strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.125rem;
}

.ec-hp-contact-method a,
.ec-hp-contact-method span {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
}

.ec-hp-contact-method a:hover {
    color: var(--accent);
}

.ec-hp-contact-cta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
}

.ec-hp-contact-cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.ec-hp-contact-cta-card > p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
}

.ec-hp-contact-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ec-hp-ruo-notice {
    margin-top: 1.5rem;
    font-size: 12px;
    color: var(--text-light, #999);
}

@media (max-width: 1024px) {
    .ec-hp-contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .ec-hp-contact-cta-card {
        padding: 1.5rem;
    }
    .ec-hp-contact-cta-buttons {
        flex-direction: column;
    }
    .ec-hp-contact-cta-buttons .btn-primary,
    .ec-hp-contact-cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}


/* =============================================================
   SUBTLE ENTRANCE ANIMATIONS , CSS only (no GSAP)
   ============================================================= */

@media (prefers-reduced-motion: no-preference) {
    .ec-hp-trust-card,
    .ec-hp-why-card,
    .ec-hp-process-step,
    .ec-hp-coa-card,
    .ec-hp-partners-list-item {
        opacity: 0;
        transform: translateY(20px);
        animation: ec-hp-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .ec-hp-trust-card:nth-child(1) { animation-delay: 0.1s; }
    .ec-hp-trust-card:nth-child(2) { animation-delay: 0.2s; }
    .ec-hp-trust-card:nth-child(3) { animation-delay: 0.3s; }
    .ec-hp-trust-card:nth-child(4) { animation-delay: 0.4s; }

    .ec-hp-why-card:nth-child(1) { animation-delay: 0.1s; }
    .ec-hp-why-card:nth-child(2) { animation-delay: 0.2s; }
    .ec-hp-why-card:nth-child(3) { animation-delay: 0.3s; }

    .ec-hp-process-step:nth-child(1) { animation-delay: 0.1s; }
    .ec-hp-process-step:nth-child(3) { animation-delay: 0.2s; }
    .ec-hp-process-step:nth-child(5) { animation-delay: 0.3s; }
    .ec-hp-process-step:nth-child(7) { animation-delay: 0.4s; }

    .ec-hp-partners-list-item:nth-child(1) { animation-delay: 0.1s; }
    .ec-hp-partners-list-item:nth-child(2) { animation-delay: 0.2s; }
    .ec-hp-partners-list-item:nth-child(3) { animation-delay: 0.3s; }
    .ec-hp-partners-list-item:nth-child(4) { animation-delay: 0.4s; }

    @keyframes ec-hp-fade-up {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


/* =============================================================
   Elite Core V5.3 , Lab Results / COA Verification Portal
   All classes prefixed with .ec-lab-
   ============================================================= */


/* =============================================================
   1. HERO , Dark, authoritative, scientific
   ============================================================= */

.ec-lab-hero {
    background: var(--dark);
    padding: 7rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ec-lab-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}

.ec-lab-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.ec-lab-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.ec-lab-eyebrow svg {
    opacity: 0.8;
}

.ec-lab-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 1.25rem;
}

.ec-lab-hero-sub {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.ec-lab-hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ec-lab-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.ec-lab-metric-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.ec-lab-metric-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ec-lab-metric-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.08);
}

.ec-lab-ruo {
    margin-top: 1.5rem;
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .ec-lab-hero { padding: 5rem 1.25rem 3rem; }
    .ec-lab-hero-metrics {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }
    .ec-lab-metric-divider {
        width: 48px;
        height: 1px;
    }
}


/* =============================================================
   2. VERIFICATION PORTAL , Search, Loading, Results, Not Found
   ============================================================= */

.ec-lab-portal {
    padding: 4rem 2rem 5rem;
    background: var(--bg);
}

.ec-lab-portal-inner {
    max-width: 760px;
    margin: 0 auto;
}

/* ── Search ── */
.ec-lab-search {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ec-lab-search.ec-lab-exit {
    opacity: 0;
    transform: translateY(-8px);
}

.ec-lab-search-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ec-lab-search-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(201,169,97,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.ec-lab-search-icon svg {
    width: 24px;
    height: 24px;
}

.ec-lab-search-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.125rem;
    letter-spacing: -0.01em;
}

.ec-lab-search-sub {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.ec-lab-search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ec-lab-search-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
}

.ec-lab-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.ec-lab-input-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ec-lab-input,
.ec-lab-select {
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    -webkit-appearance: none;
}

.ec-lab-input:focus,
.ec-lab-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201,169,97,0.08);
}

.ec-lab-input.ec-lab-input-error {
    border-color: #CC3333;
    box-shadow: 0 0 0 3px rgba(204,51,51,0.08);
}

.ec-lab-input::placeholder {
    color: var(--text-light);
}

.ec-lab-select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.ec-lab-verify-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 16px 24px;
    background: var(--dark);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    width: 100%;
}

.ec-lab-verify-btn:hover {
    background: #222;
}

.ec-lab-verify-btn:active {
    transform: scale(0.98);
}

.ec-lab-search-footer {
    margin-top: 1.25rem;
    text-align: center;
}

.ec-lab-search-hint {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 600px) {
    .ec-lab-portal { padding: 2.5rem 1.25rem 3rem; }
    .ec-lab-search { padding: 1.5rem; border-radius: 16px; }
    .ec-lab-search-row { grid-template-columns: 1fr; }
    .ec-lab-search-header { flex-direction: column; text-align: center; }
}


/* ── Loading State ── */
.ec-lab-loading {
    display: none;
    text-align: center;
    padding: 3rem 0;
}

.ec-lab-loading.active {
    display: block;
    animation: ecLabFadeIn 0.3s ease;
}

.ec-lab-loading-inner {
    max-width: 480px;
    margin: 0 auto;
}

.ec-lab-loading-spinner {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
}

.ec-lab-loading-spinner svg {
    width: 100%;
    height: 100%;
}

.ec-lab-loading-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.25rem;
}

.ec-lab-loading-sub {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
}

/* Skeleton shimmer */
.ec-lab-skeleton-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.ec-lab-skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, var(--bg) 25%, rgba(201,169,97,0.04) 50%, var(--bg) 75%);
    background-size: 200% 100%;
    animation: ecLabShimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.ec-lab-skeleton-w40 { width: 40%; }
.ec-lab-skeleton-w70 { width: 70%; }

.ec-lab-skeleton-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.ec-lab-skeleton-block {
    height: 60px;
    background: linear-gradient(90deg, var(--bg) 25%, rgba(201,169,97,0.04) 50%, var(--bg) 75%);
    background-size: 200% 100%;
    animation: ecLabShimmer 1.5s ease-in-out infinite;
    border-radius: 10px;
}

.ec-lab-skeleton-block:nth-child(2) { animation-delay: 0.15s; }
.ec-lab-skeleton-block:nth-child(3) { animation-delay: 0.3s; }
.ec-lab-skeleton-block:nth-child(4) { animation-delay: 0.45s; }

@keyframes ecLabShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* ── Verified Result ── */
.ec-lab-result {
    display: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.ec-lab-result.active {
    display: block;
    animation: ecLabResultIn 0.5s cubic-bezier(0.16,1,0.3,1);
    border-color: rgba(201,169,97,0.25);
    box-shadow: 0 0 48px rgba(201,169,97,0.06), 0 4px 24px rgba(0,0,0,0.04);
}

@keyframes ecLabResultIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ec-lab-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.ec-lab-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: rgba(201,169,97,0.08);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ec-lab-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: ecLabPulse 2s ease-in-out infinite;
}

@keyframes ecLabPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,169,97,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(201,169,97,0); }
}

.ec-lab-result-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ec-lab-result-close:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.ec-lab-result-identity {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.ec-lab-result-product {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 0.25rem;
    letter-spacing: -0.02em;
}

.ec-lab-result-batch {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
    font-variant-numeric: tabular-nums;
}

/* Purity Highlight */
.ec-lab-purity-highlight {
    background: var(--bg);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.ec-lab-purity-info {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.ec-lab-purity-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.ec-lab-purity-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.ec-lab-purity-bar-track {
    height: 8px;
    background: rgba(201,169,97,0.08);
    border-radius: 100px;
    position: relative;
    overflow: visible;
}

.ec-lab-purity-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #C9A961);
    border-radius: 100px;
    transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
}

.ec-lab-purity-threshold {
    position: absolute;
    top: -6px;
    transform: translateX(-50%);
}

.ec-lab-purity-threshold::before {
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    background: rgba(201,169,97,0.2);
}

.ec-lab-purity-threshold-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
}

/* Data Grid */
.ec-lab-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ec-lab-data-cell {
    padding: 1rem 1.125rem;
    background: var(--bg);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ec-lab-data-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
}

.ec-lab-data-value {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

/* Result Actions */
.ec-lab-result-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ec-lab-coa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 24px;
    background: var(--dark);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    flex: 1;
    justify-content: center;
}

.ec-lab-coa-btn:hover { background: #222; }
.ec-lab-coa-btn:active { transform: scale(0.98); }

.ec-lab-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 20px;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-content: center;
}

.ec-lab-dl-btn:hover {
    border-color: var(--text-muted);
    background: var(--bg);
}

.ec-lab-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: transparent;
    color: var(--text-muted);
    border: none;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
}

.ec-lab-reset-btn:hover { color: var(--text); }

@media (max-width: 600px) {
    .ec-lab-result { padding: 1.5rem; border-radius: 16px; }
    .ec-lab-data-grid { grid-template-columns: 1fr; }
    .ec-lab-result-actions { flex-direction: column; }
    .ec-lab-coa-btn, .ec-lab-dl-btn, .ec-lab-reset-btn { width: 100%; }
    .ec-lab-purity-highlight { padding: 1.25rem; }
}


/* ── Not Found ── */
.ec-lab-notfound {
    display: none;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
}

.ec-lab-notfound.active {
    display: block;
    animation: ecLabResultIn 0.5s cubic-bezier(0.16,1,0.3,1);
}

.ec-lab-notfound-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(204,51,51,0.06);
    color: #CC3333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.ec-lab-notfound-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.ec-lab-notfound-desc {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.ec-lab-notfound-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* =============================================================
   COA MODAL , Premium certificate viewer
   ============================================================= */

.ec-lab-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ec-lab-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ec-lab-modal {
    background: var(--surface);
    border-radius: 20px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0,0,0,0.2);
    transform: translateY(16px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.ec-lab-modal-overlay.active .ec-lab-modal {
    transform: translateY(0) scale(1);
}

.ec-lab-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.ec-lab-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    background: rgba(201,169,97,0.08);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.ec-lab-modal-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}

.ec-lab-modal-sub {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.ec-lab-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ec-lab-modal-close:hover {
    border-color: var(--text-muted);
    color: var(--text);
    background: var(--bg);
}

.ec-lab-modal-body {
    padding: 2rem;
}

/* COA Document Styling */
.ec-lab-modal-doc {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.ec-lab-coa-doc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--dark);
}

.ec-lab-coa-logo {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.08em;
}

.ec-lab-coa-doc-title {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ec-lab-coa-doc-meta {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.ec-lab-coa-doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(229,226,219,0.4);
}

.ec-lab-coa-doc-row:last-child { border-bottom: none; }

.ec-lab-coa-doc-row span:first-child {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.ec-lab-coa-doc-row span:last-child {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.ec-lab-coa-doc-section {
    padding: 1.5rem;
}

.ec-lab-coa-doc-section h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin: 0 0 1rem;
}

.ec-lab-coa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ec-lab-coa-table th {
    text-align: left;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding: 0.625rem 0.75rem;
    border-bottom: 2px solid var(--border);
}

.ec-lab-coa-table td {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text);
    padding: 0.75rem;
    border-bottom: 1px solid rgba(229,226,219,0.4);
}

.ec-lab-coa-table tr:last-child td { border-bottom: none; }

.ec-lab-coa-pass {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 100px;
    background: rgba(201,169,97,0.08);
    color: #C9A961;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ec-lab-coa-doc-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.ec-lab-coa-stamp {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ec-lab-coa-stamp strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.125rem;
}

.ec-lab-coa-stamp span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.ec-lab-coa-disclaimer {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.ec-lab-modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--border);
    justify-content: flex-end;
}

@media (max-width: 600px) {
    .ec-lab-modal-overlay { padding: 0; align-items: flex-end; }
    .ec-lab-modal {
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
        max-width: 100%;
    }
    .ec-lab-modal-header,
    .ec-lab-modal-body,
    .ec-lab-modal-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
    .ec-lab-coa-table { font-size: 12px; }
    .ec-lab-coa-table th { font-size: 10px; padding: 0.5rem; }
    .ec-lab-coa-table td { padding: 0.5rem; }
}


/* =============================================================
   3. VERIFICATION PROCESS TIMELINE
   ============================================================= */

.ec-lab-process {
    background: var(--bg);
    padding: 6rem 2rem;
}

.ec-lab-timeline {
    max-width: 1240px;
    margin: 3.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}

.ec-lab-timeline-track {
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
}

.ec-lab-timeline-track::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--accent), rgba(201,169,97,0.2));
    border-radius: 1px;
}

.ec-lab-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.ec-lab-step-marker {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}

.ec-lab-step-marker span {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
}

.ec-lab-step:hover .ec-lab-step-marker {
    background: var(--accent);
    box-shadow: 0 0 24px rgba(201,169,97,0.2);
}

.ec-lab-step:hover .ec-lab-step-marker span {
    color: #FFFFFF;
}

.ec-lab-step-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.375rem;
}

.ec-lab-step-desc {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 1024px) {
    .ec-lab-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 480px;
    }
    .ec-lab-timeline-track {
        top: 0;
        bottom: 0;
        left: 28px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .ec-lab-timeline-track::after {
        background: linear-gradient(180deg, var(--accent), rgba(201,169,97,0.2));
    }
    .ec-lab-step {
        text-align: left;
        display: grid;
        grid-template-columns: 56px 1fr;
        gap: 1rem;
        align-items: start;
        padding: 0;
    }
    .ec-lab-step-marker { margin: 0; }
    .ec-lab-step-title,
    .ec-lab-step-desc { grid-column: 2; }
    .ec-lab-step-title { margin-top: 0; }
}

@media (max-width: 600px) {
    .ec-lab-process { padding: 4rem 1.25rem; }
}


/* =============================================================
   4. TESTING METHODOLOGY , Dark section
   ============================================================= */

.ec-lab-methodology {
    background: var(--dark);
    padding: 6rem 2rem;
}

.ec-lab-method-grid {
    max-width: 1240px;
    margin: 3.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ec-lab-method-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    position: relative;
}

.ec-lab-method-card:hover {
    border-color: rgba(201,169,97,0.3);
    background: rgba(255,255,255,0.04);
    transform: translateY(-4px);
}

.ec-lab-method-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(201,169,97,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.ec-lab-method-icon svg {
    width: 28px;
    height: 28px;
}

.ec-lab-method-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.625rem;
}

.ec-lab-method-desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.5);
    margin: 0 0 1.25rem;
}

.ec-lab-method-tag {
    display: inline-flex;
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
    background: rgba(201,169,97,0.1);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
    .ec-lab-method-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .ec-lab-methodology { padding: 4rem 1.25rem; }
    .ec-lab-method-grid { grid-template-columns: 1fr; }
}


/* =============================================================
   5. WHY INDEPENDENT VERIFICATION
   ============================================================= */

.ec-lab-why {
    background: var(--bg);
    padding: 6rem 2rem;
}

.ec-lab-why-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.ec-lab-why-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 1rem 0 0;
}

.ec-lab-why-points {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ec-lab-why-point {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ec-lab-why-point:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.ec-lab-why-point-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(201,169,97,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.ec-lab-why-point strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.ec-lab-why-point p {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 1024px) {
    .ec-lab-why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 600px) {
    .ec-lab-why { padding: 4rem 1.25rem; }
    .ec-lab-why-point { padding: 1rem 1.25rem; }
}


/* ── Fade-in utility ── */
@keyframes ecLabFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================================
   AFFILIATEWP FORM SKIN (Partners page)
   Overrides AffiliateWP default form classes to match the Elite
   Core premium aesthetic. Scoped under .ec-affwp-shell so it
   never bleeds into other AffiliateWP pages.
   ============================================================ */

.ec-affwp-shell .affwp-form,
.ec-affwp-shell .affwp-register-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
  margin: 0;
}

.ec-affwp-shell .affwp-form legend,
.ec-affwp-shell .affwp-form fieldset > h3,
.ec-affwp-shell .affwp-form > h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 var(--sp-8);
  padding: 0;
  letter-spacing: -0.01em;
}

.ec-affwp-shell .affwp-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.ec-affwp-shell .affwp-form p {
  margin: 0;
}

.ec-affwp-shell .affwp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 var(--sp-16);
}

.ec-affwp-shell .affwp-field-label,
.ec-affwp-shell .affwp-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.ec-affwp-shell .affwp-form input[type="text"],
.ec-affwp-shell .affwp-form input[type="email"],
.ec-affwp-shell .affwp-form input[type="url"],
.ec-affwp-shell .affwp-form input[type="password"],
.ec-affwp-shell .affwp-form input[type="tel"],
.ec-affwp-shell .affwp-form select,
.ec-affwp-shell .affwp-form textarea {
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
  box-sizing: border-box;
  line-height: 1.5;
}

.ec-affwp-shell .affwp-form textarea {
  min-height: 120px;
  resize: vertical;
}

.ec-affwp-shell .affwp-form input:hover,
.ec-affwp-shell .affwp-form select:hover,
.ec-affwp-shell .affwp-form textarea:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.ec-affwp-shell .affwp-form input:focus,
.ec-affwp-shell .affwp-form select:focus,
.ec-affwp-shell .affwp-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--surface);
}

.ec-affwp-shell .affwp-form input::placeholder,
.ec-affwp-shell .affwp-form textarea::placeholder {
  color: var(--text-light);
}

/* Checkbox / radio rows */
.ec-affwp-shell .affwp-form input[type="checkbox"],
.ec-affwp-shell .affwp-form input[type="radio"] {
  width: auto;
  margin-right: 8px;
  accent-color: var(--accent);
}

.ec-affwp-shell .affwp-tos label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 400;
}

.ec-affwp-shell .affwp-tos label a {
  color: var(--accent);
  text-decoration: underline;
}

/* Submit button , gold, matches site CTA */
.ec-affwp-shell .affwp-form input[type="submit"],
.ec-affwp-shell .affwp-form button[type="submit"],
.ec-affwp-shell .affwp-form .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: var(--sp-12);
  padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #0a0a0a;
  background: linear-gradient(135deg, #C9A961 0%, #C9A961 100%);
  border: 1px solid color-mix(in srgb, #C9A961 60%, #0a0a0a 0%);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 8px 24px -8px color-mix(in srgb, #C9A961 60%, transparent);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.25s var(--ease-out);
}

.ec-affwp-shell .affwp-form input[type="submit"]:hover,
.ec-affwp-shell .affwp-form button[type="submit"]:hover,
.ec-affwp-shell .affwp-form .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px color-mix(in srgb, #C9A961 70%, transparent);
  filter: brightness(1.04);
}

.ec-affwp-shell .affwp-form input[type="submit"]:active,
.ec-affwp-shell .affwp-form button[type="submit"]:active,
.ec-affwp-shell .affwp-form .button:active {
  transform: translateY(0);
}

/* Errors / notices */
.ec-affwp-shell .affwp-errors,
.ec-affwp-shell .affwp-notice {
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: var(--sp-16);
}

.ec-affwp-shell .affwp-errors p,
.ec-affwp-shell .affwp-notice p {
  margin: 0;
}

.ec-affwp-shell .affwp-form .description,
.ec-affwp-shell .affwp-form .affwp-description {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.5;
}

/* Two-column rows where AffiliateWP supplies them */
.ec-affwp-shell .affwp-form .affwp-form-row {
  display: grid;
  gap: var(--sp-20);
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 720px) {
  .ec-affwp-shell .affwp-form .affwp-form-row {
    grid-template-columns: 1fr;
  }
}

/* "Already a partner?" / active-affiliate state */
.ec-affwp-state {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  text-align: center;
  padding: var(--sp-24) var(--sp-16);
}

.ec-affwp-state-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A961 0%, #C9A961 100%);
  color: #0a0a0a;
  margin: 0 auto;
}

.ec-affwp-state-icon svg {
  width: 28px;
  height: 28px;
}

.ec-affwp-state-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.ec-affwp-state-copy {
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 38ch;
  line-height: 1.6;
}

/* The shortcode wrapper itself */
.ec-affwp-form-wrap > h3:first-child {
  margin-top: 0;
}

/* ============================================================
   MY ACCOUNT , REWARDS PANEL (RewardsWP integration)
   ============================================================ */

.ec-account-rewards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-32);
  font-family: var(--font-body);
  color: var(--text);
}

.ec-account-rewards--empty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-48);
  text-align: center;
  color: var(--text-muted);
}

/* Header */
.ec-ar-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ec-ar-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.ec-ar-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

/* Balance card */
.ec-ar-balance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-40) var(--sp-48);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-32);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.ec-ar-balance-card::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(closest-side, rgba(201, 169, 97, 0.14), transparent 70%);
  pointer-events: none;
}

.ec-ar-balance-main {
  display: flex;
  align-items: baseline;
  gap: var(--sp-12);
  position: relative;
  z-index: 1;
}

.ec-ar-balance-value {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.ec-ar-balance-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: lowercase;
}

.ec-ar-balance-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, max-content));
  gap: var(--sp-24);
  position: relative;
  z-index: 1;
}

.ec-ar-meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.ec-ar-meta-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
}

.ec-ar-meta-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

/* Progress card */
.ec-ar-progress-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
  box-shadow: var(--shadow-sm);
}

.ec-ar-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-24);
  flex-wrap: wrap;
}

.ec-ar-progress-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin: 0 0 4px;
}

.ec-ar-progress-amount {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}

.ec-ar-progress-points {
  text-align: right;
}

.ec-ar-progress-points span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  display: block;
  line-height: 1.1;
}

.ec-ar-progress-points small {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.ec-ar-progress-bar {
  height: 8px;
  width: 100%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.ec-ar-progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #C9A961 0%, #C9A961 60%, #C9A961 100%);
  transition: width 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Sections */
.ec-ar-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  box-shadow: var(--shadow-sm);
}

.ec-ar-section-head {
  margin-bottom: var(--sp-24);
}

.ec-ar-section-head h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--text);
}

.ec-ar-section-head p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Redeem list */
.ec-ar-redeem-list,
.ec-ar-earn-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.ec-ar-redeem-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-16);
  padding: var(--sp-16) var(--sp-20);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.ec-ar-redeem-item.is-unlocked {
  border-color: rgba(201, 169, 97, 0.45);
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.06), transparent);
}

.ec-ar-redeem-item.is-unlocked:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 169, 97, 0.7);
}

.ec-ar-redeem-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ec-ar-redeem-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.ec-ar-redeem-cost {
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.ec-ar-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ec-ar-pill--unlocked {
  background: rgba(201, 169, 97, 0.18);
  color: #B8954D;
  border: 1px solid rgba(201, 169, 97, 0.45);
}

.ec-ar-pill--locked {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.ec-ar-redeem-note {
  margin: var(--sp-20) 0 0;
  padding: var(--sp-12) var(--sp-16);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

/* Earn list */
.ec-ar-earn-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-16);
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--border);
}

.ec-ar-earn-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ec-ar-earn-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ec-ar-earn-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.ec-ar-earn-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.ec-ar-earn-reward {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Footer link */
.ec-ar-footer {
  text-align: center;
  padding-top: var(--sp-12);
}

.ec-ar-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}

.ec-ar-link:hover {
  border-bottom-color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .ec-ar-balance-card {
    grid-template-columns: 1fr;
    padding: var(--sp-32);
    gap: var(--sp-24);
  }

  .ec-ar-balance-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ec-ar-meta-item {
    align-items: flex-start;
  }

  .ec-ar-balance-value {
    font-size: 48px;
  }

  .ec-ar-section,
  .ec-ar-progress-card {
    padding: var(--sp-24);
  }

  .ec-ar-redeem-item {
    flex-wrap: wrap;
  }
}

/* ──────────────────────────────────────────
   PRODUCT PAGE: VERIFIED COA STRIP (v5.7.0)
   Sits between price and add-to-cart on single product summary.
   Renders only when a verified COA record exists for the product.
   ────────────────────────────────────────── */

.ec-product-coa-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  margin: 18px 0 22px;
  background: linear-gradient(180deg, #FFFFFF 0%, #fafafa 100%);
  border: 1px solid var(--border, #e8e8e8);
  border-left: 3px solid var(--accent, #C9A961);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(201, 169, 97, 0.04), 0 4px 14px rgba(17, 17, 17, 0.04);
  font-family: 'Inter', system-ui, sans-serif;
}

.ec-product-coa-strip .ec-pcs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(201, 169, 97, 0.08);
  color: var(--accent, #C9A961);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ec-product-coa-strip .ec-pcs-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ec-product-coa-strip .ec-pcs-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  min-width: 0;
}

.ec-product-coa-strip .ec-pcs-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ec-product-coa-strip .ec-pcs-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #666);
}

.ec-product-coa-strip .ec-pcs-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #111);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ec-product-coa-strip .ec-pcs-value-strong {
  color: var(--accent, #C9A961);
  font-size: 14px;
  font-weight: 700;
}

.ec-product-coa-strip .ec-pcs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  color: var(--accent, #C9A961);
  border: 1px solid var(--accent, #C9A961);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.ec-product-coa-strip .ec-pcs-link:hover {
  background: var(--accent, #C9A961);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.ec-product-coa-strip .ec-pcs-link:focus-visible {
  outline: 2px solid var(--accent, #C9A961);
  outline-offset: 2px;
}

.ec-product-coa-strip .ec-pcs-link svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Mobile: stack vertically below 768px */
@media (max-width: 768px) {
  .ec-product-coa-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .ec-product-coa-strip .ec-pcs-badge {
    align-self: flex-start;
  }

  .ec-product-coa-strip .ec-pcs-meta {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .ec-product-coa-strip .ec-pcs-link {
    justify-content: center;
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* =============================================
   PHASE A v5.9.0
   Top RUO bar + Understand This Compound
   ============================================= */

/* Top-of-page RUO bar (research-safe banner) */
.ec-ruo-bar {
  background: rgba(201,169,97,0.08);
  border-bottom: 1px solid #C9A961;
  color: #B8954D;
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.ec-ruo-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.ec-ruo-bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #B8954D;
  flex-shrink: 0;
}
.ec-ruo-bar-strong {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11.5px;
  color: #B8954D;
}
.ec-ruo-bar-text { color: #B8954D; }
@media (max-width: 640px) {
  .ec-ruo-bar { font-size: 12px; }
  .ec-ruo-bar-strong { font-size: 11px; }
  .ec-ruo-bar-inner { gap: 8px; padding: 9px 0; }
}

/* Understand This Compound section wrapper */
.product-understand-section {
  padding: 0 0 var(--sp-96);
}
.ec-understand {
  max-width: 800px;
  display: grid;
  gap: var(--sp-20);
}
.ec-understand-head {
  display: grid;
  gap: 6px;
  margin-bottom: var(--sp-8);
}
.ec-understand-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.ec-understand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}
.ec-understand-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  box-shadow: var(--shadow-sm);
}
.ec-understand-kid-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}
.ec-understand-subhead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin: 0 0 var(--sp-20) 0;
  letter-spacing: -0.005em;
}

/* Three quick research facts */
.ec-understand-fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-16);
}
.ec-understand-fact {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--sp-16);
  align-items: start;
}
.ec-understand-fact-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-glow);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
.ec-understand-fact-body {
  display: grid;
  gap: 4px;
  padding-top: 4px;
}
.ec-understand-fact-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ec-understand-fact-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

/* Research-area badges */
.ec-understand-area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ec-understand-area {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  letter-spacing: 0.005em;
  transition: border-color var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}
.ec-understand-area:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Inline RUO disclaimer at the end of the section */
.ec-understand-ruo {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: var(--sp-8) 0 0 0;
  padding: var(--sp-16) var(--sp-20);
  background: var(--surface-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}
.ec-understand-ruo strong { color: var(--text); }

@media (max-width: 640px) {
  .product-understand-section { padding: 0 0 var(--sp-64); }
  .ec-understand-card { padding: var(--sp-24); }
  .ec-understand-title { font-size: 24px; }
  .ec-understand-fact { grid-template-columns: 32px 1fr; gap: 12px; }
  .ec-understand-fact-num { width: 32px; height: 32px; font-size: 12px; }
  .ec-understand-fact-text { font-size: 14.5px; }
}

/* =============================================
   HOMEPAGE V2 (v5.10.0)
   Beginner, Category grid, Bundles, Final CTA,
   Featured-card badges, Trust strip 5-up,
   Footer trust column.
   ============================================= */

/* Hero trust strip , allow 5 items to wrap nicely */
.hero-trust { gap: 18px 24px; flex-wrap: wrap; }
.hero-trust span { white-space: nowrap; }

/* Trust bar variant: 5 cards instead of 4 */
.ec-hp-trust-bar--five .ec-hp-trust-bar-inner {
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-24);
}
@media (max-width: 1100px) {
  .ec-hp-trust-bar--five .ec-hp-trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .ec-hp-trust-bar--five .ec-hp-trust-bar-inner { grid-template-columns: 1fr; }
}

/* ─── Beginner section ─── */
.ec-hp-beginner {
  padding: var(--sp-128) 0 var(--sp-96);
  background: var(--bg);
  position: relative;
}
.ec-hp-beginner-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-64);
  display: grid;
  gap: var(--sp-16);
}
.ec-hp-beginner-lede {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.ec-hp-beginner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}
.ec-hp-beginner-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  display: grid;
  gap: var(--sp-16);
  transition: transform 0.4s var(--ease-out, ease-out), box-shadow 0.4s ease, border-color 0.3s ease;
}
.ec-hp-beginner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-glow);
}
.ec-hp-beginner-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ec-hp-beginner-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.005em;
}
.ec-hp-beginner-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.ec-hp-beginner-cta {
  text-align: center;
  margin-top: var(--sp-64);
}
@media (max-width: 900px) {
  .ec-hp-beginner-grid { grid-template-columns: 1fr; gap: var(--sp-16); }
  .ec-hp-beginner { padding: var(--sp-96) 0 var(--sp-64); }
}

/* ─── Featured product card mini-badges + Best-for line ─── */
.product-card { position: relative; }
.product-card-image { position: relative; }
.product-card-badges {
  position: absolute;
  top: var(--sp-12);
  left: var(--sp-12);
  display: inline-flex;
  gap: 6px;
  z-index: 2;
}
.ec-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ec-mini-badge svg { width: 11px; height: 11px; }
.ec-mini-badge--ruo {
  background: rgba(201,169,97,0.08);
  color: #B8954D;
  border: 1px solid #C9A961;
}
.ec-mini-badge--coa {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(201,169,97,0.25);
}
.product-best-for {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 4px 0 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-best-for-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10.5px;
  color: var(--accent);
}

/* ─── Category grid section ─── */
.ec-hp-category-section {
  padding: var(--sp-128) 0 var(--sp-96);
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ec-hp-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-64);
  display: grid;
  gap: var(--sp-16);
}
.ec-hp-section-sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.ec-hp-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}
.ec-hp-cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  display: grid;
  gap: var(--sp-12);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.ec-hp-cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.ec-hp-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.ec-hp-cat-card:hover::before { opacity: 1; }
.ec-hp-cat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.ec-hp-cat-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: var(--sp-8) 0 0 0;
  letter-spacing: -0.005em;
  z-index: 1;
}
.ec-hp-cat-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  z-index: 1;
}
.ec-hp-cat-card-link {
  margin-top: var(--sp-12);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
  z-index: 1;
}
.ec-hp-cat-card-link svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.ec-hp-cat-card:hover .ec-hp-cat-card-link svg { transform: translateX(4px); }
@media (max-width: 900px) {
  .ec-hp-category-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-16); }
  .ec-hp-category-section { padding: var(--sp-96) 0 var(--sp-64); }
}
@media (max-width: 600px) {
  .ec-hp-category-grid { grid-template-columns: 1fr; }
}

/* ─── Lab section bullets ─── */
.ec-hp-lab-bullets {
  list-style: none;
  margin: var(--sp-20) 0 var(--sp-32);
  padding: 0;
  display: grid;
  gap: 10px;
}
.ec-hp-lab-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
}
.ec-hp-lab-bullets svg { color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }

/* ─── Quiz layout tweak ─── */
.quiz-section .quiz-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
}
.quiz-cta { margin-top: var(--sp-24); display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 900px) {
  .quiz-section .quiz-grid { grid-template-columns: 1fr; gap: var(--sp-32); }
}

/* ─── Bundle promo cards (visual only, no fake checkout) ─── */
.ec-hp-bundles {
  padding: var(--sp-128) 0 var(--sp-96);
  background: var(--bg);
}
.ec-hp-bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}
.ec-hp-bundle-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  display: grid;
  gap: var(--sp-16);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}
.ec-hp-bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.ec-hp-bundle-card--feature {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, var(--surface), var(--accent-glow));
}
.ec-hp-bundle-card-tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  width: fit-content;
}
.ec-hp-bundle-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.01em;
}
.ec-hp-bundle-card-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.ec-hp-bundle-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ec-hp-bundle-card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text);
}
.ec-hp-bundle-card-list svg { color: var(--accent); width: 14px; height: 14px; flex-shrink: 0; }
.ec-hp-bundle-card-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-8);
}
.ec-hp-bundle-card-link svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.ec-hp-bundle-card:hover .ec-hp-bundle-card-link svg { transform: translateX(4px); }
@media (max-width: 900px) {
  .ec-hp-bundle-grid { grid-template-columns: 1fr; gap: var(--sp-16); }
  .ec-hp-bundles { padding: var(--sp-96) 0 var(--sp-64); }
}

/* ─── Rewards tier card name treatment (V2 adds a tier name) ─── */
.reward-tier-name {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--sp-8) 0;
}

/* ─── Final CTA section ─── */
.ec-hp-final-cta {
  padding: var(--sp-128) 0;
  background: linear-gradient(180deg, var(--surface-alt), var(--bg));
  border-top: 1px solid var(--border);
}
.ec-hp-final-cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: var(--sp-16);
}
.ec-hp-final-cta-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}
.ec-hp-final-cta-desc {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.ec-hp-final-cta-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--sp-12);
  justify-content: center;
  margin: var(--sp-16) 0 var(--sp-12);
}
.ec-hp-final-cta-ruo {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: var(--sp-12) 0 0 0;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) {
  .ec-hp-final-cta { padding: var(--sp-96) 0 var(--sp-64); }
  .ec-hp-final-cta-title { font-size: 34px; }
  .ec-hp-final-cta-buttons { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* ─── Footer trust column (added beside existing four cols) ─── */
.footer-grid {
  grid-template-columns: 1.4fr repeat(4, 1fr) !important;
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr !important; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}

/* ─── Shop archive: Best-for badge inside category-meta row ─── */
.ec-card-best-for {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
}

/* ─── Shop archive: RUO + COA mini badges on the card image ─── */
.ec-card-image-wrap { position: relative; }
.ec-card-mini-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
  pointer-events: none;
}
.ec-card-mini-badges .ec-mini-badge { pointer-events: auto; }

/* ==================================================================
   PHASE 5.11.0 , V2.5 ADDITIONS
   Urgency strip, How-it-works, Backed by Research, Hero Bundles,
   Color stripes, Per-mg anchor.
   No layout changes to cart/checkout/payment/account flows.
   ================================================================== */

/* ----- 1. URGENCY STRIP (header.php, sits above main nav) ----- */
.ec-urgency-strip{
  display:flex;align-items:center;justify-content:center;gap:10px;
  background:linear-gradient(90deg, rgba(201,169,97,0.08), rgba(201,169,97,0.08));
  border-bottom:1px solid var(--border);
  padding:8px 16px;font-size:13px;line-height:1.4;color:var(--text);
  font-weight:500;letter-spacing:0.01em;
}
.ec-urgency-dot{
  width:8px;height:8px;border-radius:50%;background:var(--accent);
  box-shadow:0 0 0 0 var(--accent-glow-strong);
  animation:ecPulseDot 2.4s var(--ease-in-out) infinite;
}
@keyframes ecPulseDot{
  0%,100%{box-shadow:0 0 0 0 var(--accent-glow-strong);}
  50%{box-shadow:0 0 0 8px rgba(201,169,97,0);}
}
.ec-urgency-text{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center;}
.ec-urgency-text strong{font-weight:600;color:var(--text);}
.ec-urgency-link{
  color:var(--accent);font-weight:600;text-decoration:none;
  border-bottom:1px solid transparent;transition:border-color var(--duration) var(--ease-out);
}
.ec-urgency-link:hover{border-bottom-color:var(--accent);}
@media (max-width: 600px){
  .ec-urgency-strip{font-size:12px;padding:7px 12px;}
}

/* ----- 2. HOW IT WORKS , 3-step ----- */
.ec-hp-howitworks{
  padding:96px 0 64px;background:var(--surface);
  position:relative;
}
.ec-hp-howitworks .ec-hp-section-header{text-align:center;max-width:680px;margin:0 auto 56px;}
.ec-hp-howitworks-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:28px;
  position:relative;
}
.ec-hp-howitworks-grid::before{
  content:"";position:absolute;top:38px;left:12%;right:12%;height:1px;
  background:linear-gradient(90deg, transparent, var(--border) 12%, var(--border) 88%, transparent);
  z-index:0;
}
.ec-hp-how-step{
  position:relative;z-index:1;background:var(--surface);
  padding:24px 28px 28px;text-align:center;
  border-radius:var(--radius);
}
.ec-hp-how-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:56px;height:56px;border-radius:50%;
  background:var(--surface);
  border:1px solid var(--border);
  font-family:var(--font-display);font-weight:600;font-size:18px;
  color:var(--accent);letter-spacing:0.08em;
  margin:0 auto 18px;box-shadow:var(--shadow-sm);
}
.ec-hp-how-title{font-family:var(--font-display);font-size:20px;font-weight:600;color:var(--text);margin-bottom:8px;letter-spacing:-0.01em;}
.ec-hp-how-desc{font-size:15px;line-height:1.55;color:var(--text-muted);max-width:300px;margin:0 auto;}
@media (max-width: 900px){
  .ec-hp-howitworks-grid{grid-template-columns:1fr;gap:20px;}
  .ec-hp-howitworks-grid::before{display:none;}
  .ec-hp-howitworks{padding:64px 0 32px;}
}

/* ----- 3. BACKED BY RESEARCH , public database logo wall ----- */
.ec-hp-backed{
  padding:80px 0;background:var(--surface-alt);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.ec-hp-backed .ec-hp-section-header{text-align:center;max-width:720px;margin:0 auto 48px;}
.ec-hp-backed-grid{
  list-style:none;display:grid;
  grid-template-columns:repeat(5,1fr);gap:16px;
  max-width:1100px;margin:0 auto;
}
.ec-hp-backed-item{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:24px 18px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  transition:transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}
.ec-hp-backed-item:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
  border-color:rgba(201,169,97,0.25);
}
.ec-hp-backed-mark{
  font-family:var(--font-display);font-weight:600;
  font-size:20px;letter-spacing:-0.01em;color:var(--text);
  margin-bottom:6px;
}
.ec-hp-backed-sub{
  font-size:12px;line-height:1.4;color:var(--text-muted);letter-spacing:0.01em;
}
.ec-hp-backed-note{
  text-align:center;max-width:720px;margin:32px auto 0;
  font-size:12px;line-height:1.55;color:var(--text-light);
}
@media (max-width: 900px){
  .ec-hp-backed-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width: 480px){
  .ec-hp-backed-grid{grid-template-columns:1fr 1fr;gap:10px;}
  .ec-hp-backed-mark{font-size:17px;}
  .ec-hp-backed{padding:56px 0;}
}

/* ----- 4. HERO-TREATED BUNDLES (with bundle-stack.webp) ----- */
.ec-hp-bundles--hero{
  position:relative;padding:96px 0 96px;
  background:linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
  overflow:hidden;
}
.ec-hp-bundles-bg{
  position:absolute;inset:0;
  background-image:url('../img/3d/gold-molecular-pattern.svg');
  background-repeat:repeat;background-size:140px 140px;
  opacity:0.06;pointer-events:none;
}
.ec-hp-bundles-inner{
  position:relative;z-index:1;
  display:grid;grid-template-columns:minmax(280px, 1fr) minmax(0, 1.4fr);
  gap:64px;align-items:center;
}
.ec-hp-bundles-visual{
  position:relative;display:flex;align-items:center;justify-content:center;
}
.ec-hp-bundles-img{
  display:block;max-width:100%;height:auto;
  filter:drop-shadow(0 32px 64px rgba(201,169,97,0.18)) drop-shadow(0 8px 20px rgba(0,0,0,0.08));
  border-radius:var(--radius-lg);
}
.ec-hp-bundles-content{display:flex;flex-direction:column;gap:32px;}
.ec-hp-bundles--hero .ec-hp-section-header{text-align:left;max-width:none;margin:0;}
.ec-hp-bundles--hero .ec-hp-section-header .section-heading{font-size:clamp(28px, 3.4vw, 40px);}
.ec-hp-bundles--hero .ec-hp-bundle-grid{
  display:grid;grid-template-columns:1fr;gap:14px;
}
.ec-hp-bundles--hero .ec-hp-bundle-card{
  padding:22px 24px;
}
@media (max-width: 1000px){
  .ec-hp-bundles-inner{grid-template-columns:1fr;gap:40px;}
  .ec-hp-bundles-visual{order:-1;max-width:480px;margin:0 auto;}
  .ec-hp-bundles--hero .ec-hp-section-header{text-align:center;}
  .ec-hp-bundles--hero{padding:64px 0;}
}

/* ----- 5. PRODUCT CARD COLOR STRIPE + PER-MG ANCHOR ----- */
.product-card{position:relative;overflow:hidden;}
.product-card-stripe{
  position:absolute;top:0;left:0;right:0;height:4px;
  background:var(--accent);z-index:2;
  border-top-left-radius:inherit;border-top-right-radius:inherit;
}
.product-price-wrap{
  display:inline-flex;flex-direction:column;align-items:flex-start;gap:2px;
  line-height:1.1;
}
.product-per-mg{
  font-size:12px;font-weight:500;color:var(--text-muted);
  letter-spacing:0.01em;
}

/* ==================================================================
   PHASE 5.12.0 ADDITIONS
   Bundles landing page + Most Popular highlight on homepage card
   ================================================================== */

/* ----- HOMEPAGE: Most Popular feature card ----- */
.ec-hp-bundle-card.ec-hp-bundle-card--feature{
  position:relative;
  border:2px solid var(--accent);
  box-shadow:0 12px 32px rgba(201,169,97,0.14), 0 4px 12px rgba(0,0,0,0.06);
  transform:translateY(-4px);
  background:linear-gradient(180deg, rgba(201,169,97,0.04) 0%, var(--surface) 60%);
}
.ec-hp-bundle-card.ec-hp-bundle-card--feature .ec-hp-bundle-card-tag{
  background:var(--accent);color:#fff;
}
.ec-hp-bundles-footer{margin-top:24px;display:flex;justify-content:flex-start;}
@media (max-width: 1000px){
  .ec-hp-bundles-footer{justify-content:center;}
  .ec-hp-bundle-card.ec-hp-bundle-card--feature{transform:none;}
}

/* ==================================================================
   /BUNDLES/ PAGE TEMPLATE
   ================================================================== */

/* HERO */
.ec-bp-hero{
  position:relative;padding:96px 0 80px;
  background:linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 100%);
  overflow:hidden;
}
.ec-bp-hero-bg{
  position:absolute;inset:0;
  background-image:url('../img/3d/gold-molecular-pattern.svg');
  background-repeat:repeat;background-size:140px 140px;
  opacity:0.05;pointer-events:none;
}
.ec-bp-hero-inner{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:center;
}
.ec-bp-hero-heading{
  font-family:var(--font-display);
  font-size:clamp(36px, 5vw, 56px);
  font-weight:600;letter-spacing:-0.02em;line-height:1.05;
  margin:8px 0 20px;color:var(--text);
}
.ec-bp-hero-heading .text-accent{color:var(--accent);}
.ec-bp-hero-sub{
  font-size:17px;line-height:1.6;color:var(--text-muted);
  max-width:560px;margin-bottom:28px;
}
.ec-bp-hero-meta{display:flex;flex-wrap:wrap;gap:18px 28px;}
.ec-bp-hero-meta-item{
  display:inline-flex;align-items:center;gap:8px;
  font-size:14px;font-weight:500;color:var(--text);
}
.ec-bp-hero-meta-item svg{color:var(--accent);}
.ec-bp-hero-visual{display:flex;justify-content:center;align-items:center;}
.ec-bp-hero-img{
  display:block;max-width:100%;height:auto;
  filter:drop-shadow(0 32px 64px rgba(201,169,97,0.18)) drop-shadow(0 8px 20px rgba(0,0,0,0.08));
  border-radius:var(--radius-lg);
}
@media (max-width: 1000px){
  .ec-bp-hero-inner{grid-template-columns:1fr;gap:40px;text-align:center;}
  .ec-bp-hero-visual{order:-1;max-width:420px;margin:0 auto;}
  .ec-bp-hero-meta{justify-content:center;}
  .ec-bp-hero{padding:64px 0;}
}

/* CARDS */
.ec-bp-cards-section{padding:64px 0 48px;background:var(--surface);}
.ec-bp-cards{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:stretch;
}
.ec-bp-card{
  position:relative;
  display:flex;flex-direction:column;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px 28px 28px;
  transition:transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}
.ec-bp-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-lg);
  border-color:rgba(201,169,97,0.25);
}
.ec-bp-card--popular{
  border:2px solid var(--accent);
  box-shadow:0 16px 40px rgba(201,169,97,0.16), 0 6px 16px rgba(0,0,0,0.06);
  background:linear-gradient(180deg, rgba(201,169,97,0.03) 0%, var(--surface) 50%);
  transform:translateY(-12px);
  z-index:2;
}
.ec-bp-card--popular:hover{transform:translateY(-15px);}
.ec-bp-card-ribbon{
  position:absolute;top:-14px;left:50%;transform:translateX(-50%);
  background:var(--accent);color:#fff;
  font-size:11px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;
  padding:6px 16px;border-radius:999px;
  box-shadow:0 6px 14px rgba(201,169,97,0.32);
  white-space:nowrap;
}
.ec-bp-card-badge{
  display:inline-block;
  background:var(--surface-alt);color:var(--accent);
  font-size:11px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;
  padding:5px 12px;border-radius:999px;
  margin-bottom:14px;align-self:flex-start;
  border:1px solid rgba(201,169,97,0.2);
}
.ec-bp-card-head{margin-bottom:20px;}
.ec-bp-card-title{
  font-family:var(--font-display);font-size:22px;font-weight:600;
  letter-spacing:-0.01em;line-height:1.25;color:var(--text);
  margin:0 0 8px;
}
.ec-bp-card-best{
  font-size:14px;color:var(--text-muted);margin:0;
  display:flex;flex-wrap:wrap;gap:6px;
}
.ec-bp-card-best-label{
  font-size:11px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;
  color:var(--text-light);
}

/* PRICE BLOCK */
.ec-bp-card-price{
  display:flex;flex-direction:column;gap:4px;
  padding:16px 0;margin-bottom:18px;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.ec-bp-card-price-now{
  font-family:var(--font-display);
  font-size:32px;font-weight:600;line-height:1;
  color:var(--text);letter-spacing:-0.02em;
}
.ec-bp-card-price-now .woocommerce-Price-amount{font-weight:600;}
.ec-bp-card-price-was{
  font-size:13px;color:var(--text-light);
}
.ec-bp-card-price-was .woocommerce-Price-amount{
  text-decoration:line-through;
  color:var(--text-light);
}
.ec-bp-card-savings{
  display:inline-flex;align-items:center;gap:6px;
  font-size:13px;font-weight:600;color:var(--accent);
  margin-top:2px;
}
.ec-bp-card-savings .woocommerce-Price-amount{color:var(--accent);font-weight:600;}
.ec-bp-card-savings-pct{
  font-weight:500;color:var(--text-muted);font-size:12px;
}

/* INCLUDES LIST */
.ec-bp-card-includes{margin-bottom:18px;}
.ec-bp-card-includes-label{
  font-size:11px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;
  color:var(--text-light);margin:0 0 10px;
}
.ec-bp-card-items{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;}
.ec-bp-card-item{
  display:flex;align-items:center;gap:10px;
  font-size:14px;color:var(--text);line-height:1.4;
}
.ec-bp-card-item-check{
  flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;
  width:20px;height:20px;border-radius:50%;
  background:rgba(201,169,97,0.1);color:var(--accent);
}
.ec-bp-card-item-check svg{width:12px;height:12px;}
.ec-bp-card-item-link{
  color:var(--text);text-decoration:none;
  border-bottom:1px solid transparent;transition:border-color var(--duration) var(--ease-out);
}
.ec-bp-card-item-link:hover{border-bottom-color:var(--accent);color:var(--accent);}
.ec-bp-card-item-qty{
  font-size:12px;color:var(--text-muted);font-weight:500;
}

/* TRUST + CTA */
.ec-bp-card-trust{
  display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px;
}
.ec-bp-card-form{margin:0 0 12px;}
.ec-bp-card-cta{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;padding:14px 20px;
  background:var(--surface);
  color:var(--text);
  border:1.5px solid var(--text);
  border-radius:var(--radius-sm);
  font-size:15px;font-weight:600;letter-spacing:0.01em;
  cursor:pointer;
  transition:all var(--duration) var(--ease-out);
}
.ec-bp-card-cta:hover{
  background:var(--text);color:var(--surface);
  transform:translateY(-1px);
}
.ec-bp-card-cta--accent{
  background:var(--accent);color:#fff;border-color:var(--accent);
}
.ec-bp-card-cta--accent:hover{
  background:var(--accent-dark, var(--accent));
  border-color:var(--accent-dark, var(--accent));
  filter:brightness(1.08);
  color:#fff;
}
.ec-bp-card-cta svg{transition:transform var(--duration) var(--ease-out);}
.ec-bp-card-cta:hover svg{transform:translateX(2px);}
.ec-bp-card-detail-link{
  display:inline-block;
  text-align:center;
  font-size:13px;color:var(--text-muted);
  text-decoration:none;
  border-bottom:1px solid transparent;
  align-self:center;
  transition:color var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}
.ec-bp-card-detail-link:hover{color:var(--accent);border-bottom-color:var(--accent);}

@media (max-width: 1100px){
  .ec-bp-cards{grid-template-columns:1fr;gap:24px;max-width:520px;margin:0 auto;}
  .ec-bp-card--popular{transform:none;}
  .ec-bp-card--popular:hover{transform:translateY(-3px);}
}

/* HOW BUNDLES WORK (3-step) */
.ec-bp-howitworks{padding:80px 0 64px;background:var(--surface-alt);border-top:1px solid var(--border);}
.ec-bp-howitworks .ec-hp-section-header{text-align:center;max-width:680px;margin:0 auto 48px;}
.ec-bp-how-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  position:relative;
}
.ec-bp-how-grid::before{
  content:"";position:absolute;top:38px;left:12%;right:12%;height:1px;
  background:linear-gradient(90deg, transparent, var(--border) 12%, var(--border) 88%, transparent);
  z-index:0;
}
.ec-bp-how-step{
  position:relative;z-index:1;background:var(--surface-alt);
  padding:24px 28px 28px;text-align:center;
}
.ec-bp-how-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:56px;height:56px;border-radius:50%;
  background:var(--surface);
  border:1px solid var(--border);
  font-family:var(--font-display);font-weight:600;font-size:18px;
  color:var(--accent);letter-spacing:0.08em;
  margin:0 auto 18px;box-shadow:var(--shadow-sm);
}
.ec-bp-how-title{font-family:var(--font-display);font-size:20px;font-weight:600;color:var(--text);margin-bottom:8px;letter-spacing:-0.01em;}
.ec-bp-how-desc{font-size:15px;line-height:1.55;color:var(--text-muted);max-width:300px;margin:0 auto;}
@media (max-width: 900px){
  .ec-bp-how-grid{grid-template-columns:1fr;gap:20px;}
  .ec-bp-how-grid::before{display:none;}
}

/* FAQ */
.ec-bp-faq{padding:80px 0;background:var(--surface);}
.ec-bp-faq .ec-hp-section-header{text-align:center;max-width:680px;margin:0 auto 40px;}
.ec-bp-faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:12px;}
.ec-bp-faq-item{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:0;
  transition:border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}
.ec-bp-faq-item[open]{border-color:rgba(201,169,97,0.3);box-shadow:var(--shadow-sm);}
.ec-bp-faq-q{
  font-family:var(--font-display);
  font-size:16px;font-weight:600;color:var(--text);
  padding:18px 24px;cursor:pointer;
  list-style:none;position:relative;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
}
.ec-bp-faq-q::-webkit-details-marker{display:none;}
.ec-bp-faq-q::after{
  content:"+";font-size:22px;color:var(--accent);
  width:24px;text-align:center;
  transition:transform var(--duration) var(--ease-out);
}
.ec-bp-faq-item[open] .ec-bp-faq-q::after{content:",";transform:rotate(0deg);}
.ec-bp-faq-a{
  margin:0;padding:0 24px 20px;
  font-size:15px;line-height:1.6;color:var(--text-muted);
}

/* RUO STRIP */
.ec-bp-ruo{padding:40px 0 80px;background:var(--surface);border-top:1px solid var(--border);}
.ec-bp-ruo-inner{max-width:760px;}
.ec-bp-ruo-text{
  font-size:13px;line-height:1.6;color:var(--text-light);
  text-align:center;margin:0;letter-spacing:0.01em;
}
.ec-bp-ruo-text strong{color:var(--text);font-weight:600;}

/* ============================================
   v5.13.0  GUIDED BUYING SYSTEM
   Premium white + gold. Mobile-first, fully
   isolated from cart/checkout/payment styles.
   ============================================ */
:root {
  --ec-gold-ink: #B8954D;
  --ec-gold-soft: rgba(201, 169, 97, 0.14);
  --ec-gold-softer: rgba(201, 169, 97, 0.08);
  --ec-gold-border: rgba(201, 169, 97, 0.35);
  --ec-white-card: #FFFFFF;
  --ec-white-tint: #ffffff;
}

/* ---------- START HERE (Homepage 3 cards) ---------- */
.ec-starthere {
  padding: clamp(48px, 7vw, 96px) 0;
  background:
    radial-gradient(1100px 500px at 50% -120px, rgba(201,169,97,0.10), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--ec-white-tint) 100%);
  position: relative;
}
.ec-starthere-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 56px);
}
.ec-starthere-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--ec-gold-soft);
  color: var(--ec-gold-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ec-starthere-eyebrow svg { width: 14px; height: 14px; color: var(--gold); }
.ec-starthere-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-top: 16px;
}
.ec-starthere-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 12px;
}
.ec-starthere-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .ec-starthere-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.ec-starthere-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--ec-white-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s ease;
  overflow: hidden;
  min-height: 280px;
}
.ec-starthere-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ec-starthere-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(201, 169, 97, 0.12), 0 0 0 1px var(--ec-gold-border);
  border-color: var(--ec-gold-border);
}
.ec-starthere-card:hover::before { opacity: 1; }
.ec-starthere-card--featured {
  background:
    radial-gradient(340px 180px at 100% 0%, var(--ec-gold-soft), transparent 70%),
    var(--ec-white-card);
  border-color: var(--ec-gold-border);
}
.ec-starthere-card--featured::before { opacity: 1; }
.ec-starthere-card-step {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  letter-spacing: -0.02em;
  pointer-events: none;
}
.ec-starthere-card--featured .ec-starthere-card-step {
  -webkit-text-stroke-color: var(--ec-gold-border);
}
.ec-starthere-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--ec-gold-softer);
  color: var(--ec-gold-ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.ec-starthere-card--featured .ec-starthere-card-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  box-shadow: 0 10px 24px rgba(201,169,97,0.3);
}
.ec-starthere-card-tag {
  position: absolute;
  top: 20px; left: 24px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(201,169,97,0.35);
}
.ec-starthere-card--featured .ec-starthere-card-step { top: 48px; }
.ec-starthere-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}
.ec-starthere-card-copy {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.ec-starthere-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
}
.ec-starthere-card-cta svg {
  width: 18px; height: 18px;
  transition: transform 0.3s var(--ease-out);
}
.ec-starthere-card:hover .ec-starthere-card-cta { color: var(--ec-gold-ink); }
.ec-starthere-card:hover .ec-starthere-card-cta svg { transform: translateX(4px); }

/* ---------- TRUST STRIP ---------- */
.ec-trust-strip {
  padding: clamp(28px, 4vw, 44px) 0;
  background: var(--ec-white-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ec-trust-strip--light { background: var(--surface); }
.ec-trust-strip-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
@media (min-width: 760px) {
  .ec-trust-strip-list { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}
.ec-trust-strip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ec-trust-strip-icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--ec-gold-soft);
  color: var(--ec-gold-ink);
  display: flex; align-items: center; justify-content: center;
}
.ec-trust-strip-icon svg { width: 20px; height: 20px; }
.ec-trust-strip-text { display: flex; flex-direction: column; gap: 2px; }
.ec-trust-strip-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.ec-trust-strip-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ---------- PDP GUIDANCE PANEL (Not sure what to choose?) ---------- */
.ec-guide-panel {
  margin-top: 28px;
  padding: 22px;
  background:
    radial-gradient(360px 180px at 100% 0%, var(--ec-gold-softer), transparent 70%),
    var(--surface);
  border: 1px solid var(--ec-gold-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.06);
}
.ec-guide-panel-head { margin-bottom: 16px; }
.ec-guide-panel-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ec-gold-ink);
  margin-bottom: 6px;
}
.ec-guide-panel-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.ec-guide-panel-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.ec-guide-panel-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s ease;
}
.ec-guide-panel-cta--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  box-shadow: 0 10px 24px rgba(201,169,97,0.28);
}
.ec-guide-panel-cta--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(201,169,97,0.36); }
.ec-guide-panel-cta--primary .ec-guide-panel-cta-icon { color: #fff; background: rgba(255,255,255,0.22); }
.ec-guide-panel-cta--primary .ec-guide-panel-cta-text strong { color: #fff; }
.ec-guide-panel-cta--primary .ec-guide-panel-cta-text span { color: rgba(255,255,255,0.86); }
.ec-guide-panel-cta--primary .ec-guide-panel-cta-arrow { color: #fff; }
.ec-guide-panel-cta--ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.ec-guide-panel-cta--ghost:hover {
  border-color: var(--ec-gold-border);
  background: var(--ec-gold-softer);
  transform: translateY(-2px);
}
.ec-guide-panel-cta-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--ec-gold-soft);
  color: var(--ec-gold-ink);
  display: flex; align-items: center; justify-content: center;
}
.ec-guide-panel-cta-icon svg { width: 20px; height: 20px; }
.ec-guide-panel-cta-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ec-guide-panel-cta-text strong {
  font-size: 15px; font-weight: 700; letter-spacing: -0.005em;
}
.ec-guide-panel-cta-text span {
  font-size: 12.5px; color: var(--text-muted); line-height: 1.3;
}
.ec-guide-panel-cta-arrow svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.ec-guide-panel-cta:hover .ec-guide-panel-cta-arrow svg { transform: translateX(4px); }

/* ---------- BUNDLE PUSH (Want to save more?) ---------- */
.ec-bundle-push-section {
  padding: clamp(32px, 5vw, 56px) 0;
  background: var(--bg);
}
.ec-bundle-push {
  background:
    radial-gradient(500px 220px at 0% 0%, var(--ec-gold-softer), transparent 70%),
    var(--surface);
  border: 1px solid var(--ec-gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.ec-bundle-push::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.ec-bundle-push-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  align-items: center;
}
@media (min-width: 900px) {
  .ec-bundle-push-inner {
    grid-template-columns: 1.4fr auto;
    gap: 48px;
  }
}
.ec-bundle-push-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--ec-gold-soft);
  color: var(--ec-gold-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ec-bundle-push-eyebrow svg { width: 14px; height: 14px; color: var(--gold); }
.ec-bundle-push-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.3;
}
.ec-bundle-push-copy {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}
.ec-bundle-push-copy strong { color: var(--ec-gold-ink); font-weight: 700; }
.ec-bundle-push-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 22px;
  background: var(--ec-white-tint);
  border: 1px solid var(--ec-gold-border);
  border-radius: var(--radius);
  min-width: 220px;
}
.ec-bundle-push-price-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}
.ec-bundle-push-price-amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.ec-bundle-push-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(201,169,97,0.28);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.ec-bundle-push-cta svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.ec-bundle-push-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(201,169,97,0.36); }
.ec-bundle-push-cta:hover svg { transform: translateX(4px); }

/* ---------- STICKY ADD-TO-CART BAR ---------- */
.ec-sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out);
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
  pointer-events: none;
}
.ec-sticky-bar.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.ec-sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
}
@media (min-width: 760px) {
  .ec-sticky-bar-inner { padding: 14px 24px; }
}
.ec-sticky-bar-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.ec-sticky-bar-img {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--ec-white-tint);
  border: 1px solid var(--border);
  flex: 0 0 auto;
}
.ec-sticky-bar-product-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ec-sticky-bar-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 46vw;
}
@media (min-width: 760px) {
  .ec-sticky-bar-title { font-size: 15px; max-width: none; }
}
.ec-sticky-bar-price {
  font-size: 14px;
  color: var(--ec-gold-ink);
  font-weight: 700;
}
.ec-sticky-bar-price .woocommerce-Price-amount { color: inherit; }
.ec-sticky-bar-price del { color: var(--text-light); font-weight: 500; margin-right: 6px; }
.ec-sticky-bar-actions { flex: 0 0 auto; }
.ec-sticky-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  box-shadow: 0 10px 22px rgba(201,169,97,0.32);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.ec-sticky-bar-cta svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.ec-sticky-bar-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(201,169,97,0.42); }
.ec-sticky-bar-cta:hover svg { transform: translateX(3px); }
.ec-sticky-bar-oos {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-light);
  padding: 8px 14px;
  background: var(--ec-white-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

/* Give body extra bottom padding when the sticky bar is showing so footer isn't hidden */
.single-product .site-footer,
.single-product body {
  padding-bottom: 0;
}
.ec-sticky-bar.is-visible ~ .site-footer { margin-bottom: 72px; }

/* ---------- MOBILE SAFETY ---------- */
@media (max-width: 480px) {
  .ec-starthere-card { padding: 24px 20px; min-height: 240px; }
  .ec-starthere-card-step { font-size: 38px; top: 14px; right: 18px; }
  .ec-bundle-push-inner { padding: 22px; }
  .ec-bundle-push-price { width: 100%; }
  .ec-sticky-bar-cta { padding: 10px 14px; font-size: 13px; }
  .ec-sticky-bar-img { width: 40px; height: 40px; }
}

/* ============================================
   ELITE CORE: Two Paths section + Wholesale page
   Added 2026-05-06 (paths card + wholesale styling)
   ============================================ */

.ec-paths-section {
  background: var(--surface-alt);
}

.ec-paths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-32);
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .ec-paths-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-24);
  }
}

.ec-path-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}

.ec-path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 169, 97, 0.3);
}

.ec-path-card-tag {
  display: inline-block;
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 169, 97, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-16);
  align-self: flex-start;
}

.ec-path-card-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text, #1a1a1a);
  margin: 0 0 12px;
}

.ec-path-card-copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0 0 var(--sp-24);
}

.ec-path-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-32);
  display: grid;
  gap: 12px;
}

.ec-path-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text, #1a1a1a);
}

.ec-path-card-list li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.ec-path-card .ec-btn-full,
.ec-path-card .btn-secondary {
  margin-top: auto;
}

/* ============================================
   WHOLESALE PAGE
   ============================================ */

.ec-wholesale-hero {
  background: var(--surface-alt);
  padding: var(--sp-64, 64px) 0 var(--sp-48, 48px);
  text-align: center;
}

.ec-wholesale-hero .section-label {
  color: var(--gold);
}

.ec-wholesale-hero h1 {
  margin-bottom: var(--sp-16, 16px);
}

.ec-wholesale-hero-copy {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light);
}

.ec-wholesale-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: var(--sp-32, 32px);
  padding-top: var(--sp-24, 24px);
  border-top: 1px solid var(--border);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.ec-wholesale-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-light);
}

.ec-wholesale-trust-item svg {
  color: var(--gold);
}

.ec-wholesale-benefits {
  padding: var(--sp-64, 64px) 0;
}

.ec-wholesale-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24, 24px);
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .ec-wholesale-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.ec-wholesale-benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-24, 24px);
  text-align: left;
  transition: all 0.3s var(--ease-out);
}

.ec-wholesale-benefit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(201, 169, 97, 0.3);
}

.ec-wholesale-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 97, 0.1);
  color: var(--gold);
  margin-bottom: 14px;
}

.ec-wholesale-benefit h3 {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text, #1a1a1a);
}

.ec-wholesale-benefit p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-light);
  margin: 0;
}

.ec-wholesale-form-section {
  padding: var(--sp-48, 48px) 0 var(--sp-64, 64px);
  background: var(--surface-alt);
}

.ec-wholesale-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-32, 32px);
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 860px) {
  .ec-wholesale-layout {
    grid-template-columns: 1fr;
  }
}

.ec-wholesale-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-32, 32px);
  box-shadow: var(--shadow-sm);
}

.ec-wholesale-form-card h2 {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--text, #1a1a1a);
}

.ec-wholesale-form-card p.lead {
  color: var(--text-light);
  font-size: 15px;
  margin: 0 0 var(--sp-24, 24px);
}

.ec-wholesale-form-card .ecb-wholesale-form {
  max-width: none !important;
}

.ec-wholesale-form-card .ecb-wholesale-form input[type=text],
.ec-wholesale-form-card .ecb-wholesale-form input[type=email],
.ec-wholesale-form-card .ecb-wholesale-form input[type=tel],
.ec-wholesale-form-card .ecb-wholesale-form select,
.ec-wholesale-form-card .ecb-wholesale-form textarea {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 15px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff !important;
}

.ec-wholesale-form-card .ecb-wholesale-form input:focus,
.ec-wholesale-form-card .ecb-wholesale-form select:focus,
.ec-wholesale-form-card .ecb-wholesale-form textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15) !important;
  outline: none !important;
}

.ec-wholesale-form-card .ecb-wholesale-form button[type=submit] {
  background: var(--gold) !important;
  color: #fff !important;
  font-size: 15px !important;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 16px rgba(201, 169, 97, 0.25);
}

.ec-wholesale-form-card .ecb-wholesale-form button[type=submit]:hover {
  background: #C9A961 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.35);
}

.ec-wholesale-form-card .ecb-app-success {
  border-color: var(--gold) !important;
}

.ec-wholesale-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-24, 24px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.ec-wholesale-summary h4 {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 17px;
  margin: 0 0 var(--sp-16, 16px);
  color: var(--text, #1a1a1a);
}

.ec-wholesale-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.ec-wholesale-summary-row:last-of-type {
  border-bottom: none;
}

.ec-wholesale-summary-row span {
  color: var(--text-light);
}

.ec-wholesale-summary-row strong {
  color: var(--text, #1a1a1a);
  font-weight: 600;
}

.ec-wholesale-summary-row strong.gold {
  color: var(--gold);
}

.ec-wholesale-summary-note {
  margin-top: var(--sp-16, 16px);
  padding: 12px 14px;
  background: rgba(201, 169, 97, 0.08);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-light);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.ec-wholesale-summary-note svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== EC AUTH V5.3 POLISH START ===== */

/* ============================================================
   EC AUTH V5.3 POLISH , override pass
   Modernizes split-screen sign-in: real card, refined inputs,
   inline notices, fixed remember-me row, security strip.
   ============================================================ */

/* Right panel: subtle warm bg instead of pure white, more vertical air */
.ec-auth-right {
  background: linear-gradient(180deg, #fafafa 0%, #fafafa 100%);
  padding: 56px 48px;
}

/* Wider, breathable form area */
.ec-auth-form-wrapper {
  width: 100%;
  max-width: 460px;
}

/* The card itself, real elevation */
.ec-auth-card {
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 16px;
  padding: 40px 36px 32px;
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.04),
    0 8px 24px rgba(17, 17, 17, 0.06),
    0 24px 48px rgba(17, 17, 17, 0.04);
  position: relative;
}

/* ─── Inline notices INSIDE the card ─── */
.ec-auth-notices {
  margin: 0 0 20px;
}

.ec-auth-notices:empty {
  display: none;
}

.ec-auth-notices ul.woocommerce-error,
.ec-auth-notices .woocommerce-error,
.ec-auth-notices .woocommerce-message,
.ec-auth-notices .woocommerce-info {
  list-style: none;
  padding: 12px 14px;
  margin: 0 0 10px;
  border-radius: 10px;
  border: 1px solid;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}

.ec-auth-notices .woocommerce-error::before,
.ec-auth-notices ul.woocommerce-error::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: #DC2626;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='8' x2='12' y2='12'/><line x1='12' y1='16' x2='12.01' y2='16'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='8' x2='12' y2='12'/><line x1='12' y1='16' x2='12.01' y2='16'/></svg>") center / contain no-repeat;
}

.ec-auth-notices .woocommerce-error li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ec-auth-notices .woocommerce-error a,
.ec-auth-notices ul.woocommerce-error a {
  color: #991B1B;
  text-decoration: underline;
  font-weight: 500;
}

.ec-auth-notices .woocommerce-message {
  background: rgba(201,169,97,0.08);
  border-color: rgba(201,169,97,0.08);
  color: #B8954D;
}

.ec-auth-notices .woocommerce-message::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: #C9A961;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/><polyline points='22 4 12 14.01 9 11.01'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/><polyline points='22 4 12 14.01 9 11.01'/></svg>") center / contain no-repeat;
}

.ec-auth-notices .woocommerce-info {
  background: rgba(201,169,97,0.08);
  border-color: rgba(201,169,97,0.08);
  color: #C9A961;
}

.ec-auth-notices .woocommerce-info::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: #C9A961;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='16' x2='12' y2='12'/><line x1='12' y1='8' x2='12.01' y2='8'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='12' y1='16' x2='12' y2='12'/><line x1='12' y1='8' x2='12.01' y2='8'/></svg>") center / contain no-repeat;
}

/* Kill any stray notice rendered outside the card by other hooks */
.ec-woo-main > .woocommerce-notices-wrapper,
.ec-woo-main > .container > .woocommerce-notices-wrapper,
body.woocommerce-account:not(.logged-in) .ec-woo-main > .woocommerce-notices-wrapper {
  display: none;
}

/* ─── Tabs , refined ─── */
.ec-auth-tabs {
  display: flex;
  position: relative;
  margin: 0 -4px 28px;
  padding: 4px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.ec-auth-tab {
  flex: 1;
  padding: 11px 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s ease;
  position: relative;
  z-index: 2;
}

.ec-auth-tab:hover {
  color: var(--text);
}

.ec-auth-tab.active {
  color: var(--text);
}

.ec-auth-tab-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.06);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.ec-auth-tabs[data-active="signup"] .ec-auth-tab-indicator {
  transform: translateX(100%);
}

/* ─── Panel header ─── */
.ec-auth-panel-header {
  margin-bottom: 24px;
}

.ec-auth-panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 6px;
}

.ec-auth-panel-sub {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ─── Refined inputs ─── */
.ec-auth-field {
  margin-bottom: 16px;
}

.ec-auth-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: 0.1px;
}

.ec-auth-field input[type="text"],
.ec-auth-field input[type="email"],
.ec-auth-field input[type="password"] {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 10px;
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.ec-auth-field input::placeholder {
  color: #A1A1A1;
}

.ec-auth-field input:hover {
  border-color: rgba(17, 17, 17, 0.22);
}

.ec-auth-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.18);
  background: #FFFFFF;
}

.ec-auth-field input.ec-auth-error {
  border-color: #DC2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

/* Password toggle button */
.ec-auth-pw-toggle {
  right: 6px;
  width: 36px;
  height: 36px;
  color: #999;
  border-radius: 8px;
}

.ec-auth-pw-toggle:hover {
  color: var(--text);
  background: rgba(17, 17, 17, 0.04);
}

/* ─── Options row , fix Remember me wrap ─── */
.ec-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 4px 0 22px;
}

.ec-auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  user-select: none;
  white-space: nowrap;
}

.ec-auth-checkbox-label {
  white-space: nowrap;
}

.ec-auth-checkmark {
  width: 17px;
  height: 17px;
  border: 1.5px solid rgba(17, 17, 17, 0.18);
  border-radius: 5px;
  background: #FFFFFF;
}

.ec-auth-checkbox input:checked + .ec-auth-checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.ec-auth-forgot-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.ec-auth-forgot-link:hover {
  color: var(--accent-light, var(--accent));
  text-decoration: underline;
}

/* ─── Submit button , premium black with gold hover hint ─── */
.ec-auth-submit {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  background: #111111;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.12);
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.ec-auth-submit:hover {
  background: #1F1F1F;
  transform: translateY(-1px);
  box-shadow:
    0 4px 12px rgba(17, 17, 17, 0.18),
    0 0 0 1px rgba(201, 169, 97, 0.3);
}

.ec-auth-submit:active {
  transform: translateY(0);
}

.ec-auth-submit svg {
  width: 16px;
  height: 16px;
}

/* ─── Security strip under sign-in form ─── */
.ec-auth-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: var(--font-body);
  line-height: 1.4;
  text-align: center;
}

.ec-auth-security svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ─── Refined benefits grid ─── */
.ec-auth-benefits {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
  padding-top: 24px;
}

.ec-auth-benefit {
  padding: 9px 12px;
  border-radius: 9px;
  background: #fafafa;
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.ec-auth-benefit:hover {
  background: #FFFFFF;
  border-color: rgba(201, 169, 97, 0.25);
  box-shadow: 0 2px 8px rgba(201, 169, 97, 0.06);
}

.ec-auth-benefit-icon {
  width: 28px;
  height: 28px;
  background: rgba(201, 169, 97, 0.08);
}

.ec-auth-benefit-icon svg {
  width: 14px;
  height: 14px;
}

.ec-auth-benefit span {
  font-size: 12.5px;
  font-weight: 500;
}

/* ─── Legal text refined ─── */
.ec-auth-legal {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-light, #999);
  margin-top: 14px;
  text-align: center;
}

/* ─── Mobile responsive tweaks ─── */
@media (max-width: 1024px) {
  .ec-auth-right {
    padding: 40px 24px 56px;
  }

  .ec-auth-card {
    padding: 32px 28px 28px;
  }
}

@media (max-width: 640px) {
  .ec-auth-right {
    padding: 24px 16px 40px;
  }

  .ec-auth-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .ec-auth-options {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  .ec-auth-forgot-link,
  .ec-auth-checkbox {
    font-size: 12.5px;
  }

  .ec-auth-panel-title {
    font-size: 20px;
  }
}
/* ===== EC AUTH V5.3 POLISH END ===== */

/* ================================================================
   EC HOMEPAGE REBUILD V2 (7-section spec) - appended block.
   Palette only: black #0a0a0a, white #fff, surface #fafafa,
   border #e8e8e8, muted #6b6b6b, gold #C9A961, gold-hover #B8954D.
   ================================================================ */

/* 1. HERO - black canvas, white text, gold CTA preserved.
   Match the base .hero specificity; this later rule wins. */
.hero.hero--dark {
  background: #0a0a0a;
  color: #ffffff;
}
.hero.hero--dark .hero-title {
  color: #ffffff;
}
.hero.hero--dark .hero-subtitle {
  color: rgba(255, 255, 255, 0.72);
}
/* keep the gold eyebrow label readable on black */
.hero.hero--dark .hero-label {
  color: #C9A961;
}
/* On black, vial tiles read as light cards (already #fff bg) - keep as is. */

/* 2. TRUST STRIP - 4-up grid (no --five modifier). */
.ec-hp-trust-bar--four .ec-hp-trust-bar-inner {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1000px) {
  .ec-hp-trust-bar--four .ec-hp-trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .ec-hp-trust-bar--four .ec-hp-trust-bar-inner { grid-template-columns: 1fr; }
}

/* 3. BEST SELLERS - card foot holds price + gold add-to-cart, siblings of the PDP link. */
.featured .ec-hp-section-header,
.ec-hp-faq .ec-hp-section-header {
  margin-bottom: var(--sp-48);
}
.product-card .product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card-foot {
  padding: 0 20px 22px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-card-foot .product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}
.product-card-foot .product-footer {
  display: block;
}

/* Gold native AJAX add-to-cart button. Beats .woocommerce a.button (black + !important). */
.ec-atc-btn,
.product-card-foot a.ec-atc-btn,
.woocommerce a.button.ec-atc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  background: #C9A961 !important;
  color: #ffffff !important;
  border: 1.5px solid #C9A961 !important;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.ec-atc-btn:hover,
.product-card-foot a.ec-atc-btn:hover,
.woocommerce a.button.ec-atc-btn:hover {
  background: #B8954D !important;
  border-color: #B8954D !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.28);
}
/* Woo adds .added / .loading states; keep gold throughout. */
.ec-atc-btn.loading,
.ec-atc-btn.added {
  background: #B8954D !important;
  border-color: #B8954D !important;
}

/* 5. LAB RESULTS - lean gold-accented band. */
.ec-hp-lab-band {
  padding: var(--sp-64) 0;
  background: #fafafa;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}
.ec-hp-lab-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-32);
  flex-wrap: wrap;
}
.ec-hp-lab-band-copy { max-width: 620px; }
.ec-hp-lab-band-copy .section-heading { margin-bottom: var(--sp-12); }
.ec-hp-lab-band-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #6b6b6b;
  margin: 0;
}
.ec-hp-lab-band-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: #C9A961;
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.ec-hp-lab-band-link:hover {
  background: #B8954D;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.28);
}
.ec-hp-lab-band-link svg { width: 16px; height: 16px; }

/* 6. FAQ - reuse .ec-faq-* native accordion; just section spacing. */
.ec-hp-faq {
  padding: var(--sp-96) 0;
  background: var(--bg);
}
.ec-hp-faq .ec-faq-list {
  max-width: 820px;
  margin: 0 auto;
}
/* ===== EC HOMEPAGE REBUILD V2 END ===== */


/* ═══════════════════════════════════════════════════════════════
   PHASE 5 , SHOP / ARCHIVE ENHANCEMENTS
   Grid breakpoints, vanilla-tilt friendly card, gold hover glow,
   black-and-gold native add-to-cart, muted "Coming Soon" state.
   Palette-locked: gold #C9A961, gold-hover #B8954D, border #e8e8e8,
   surface #fafafa, muted #6b6b6b, near-black #111. No other accents.
   Container: #ecProductGrid .ec-shop-grid  /  Card: .ec-product-card
   ═══════════════════════════════════════════════════════════════ */

/* 1. GRID , 3 desktop (>=1024) / 2 tablet / 1 mobile (<=600px).
   These override the earlier 1024px and 640px breakpoints so the
   3-column layout holds down to exactly 1024px and single-column
   does not start until 600px. */
@media (min-width: 1024px) {
  .ec-shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023.98px) and (min-width: 601px) {
  .ec-shop-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .ec-shop-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* 2. Tilt-friendly card. vanilla-tilt writes an inline transform, so
   keep a perspective and smooth transition for the glare-free tilt.
   transform-style preserve-3d lets the lift read cleanly. */
.ec-product-card[data-tilt] {
  transform-style: preserve-3d;
  transform: perspective(1000px);
  will-change: transform;
}

/* 3. Gold border glow on hover (overrides the neutral default hover). */
.ec-product-card {
  border: 1px solid #e8e8e8;
}
.ec-product-card:hover,
.ec-product-card:focus-within {
  border-color: #C9A961;
  box-shadow: 0 8px 30px rgba(201, 169, 97, 0.18);
}

/* 4. Native WooCommerce loop add-to-cart , black-and-gold, full width. */
.ec-card-atc {
  margin-top: 14px;
}
.ec-card-atc .button,
.ec-card-atc a.button,
.ec-card-atc a.add_to_cart_button {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: 1px solid #C9A961;
  border-radius: var(--radius-pill);
  background: #C9A961;
  color: #111111;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out),
              color 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}
.ec-card-atc .button:hover,
.ec-card-atc a.button:hover,
.ec-card-atc a.add_to_cart_button:hover {
  background: #B8954D;
  border-color: #B8954D;
  color: #ffffff;
}
.ec-card-atc .button:focus-visible,
.ec-card-atc a.button:focus-visible {
  outline: 2px solid #C9A961;
  outline-offset: 2px;
}
/* Loading state from WC ajax add-to-cart */
.ec-card-atc .button.loading {
  opacity: 0.75;
  pointer-events: none;
}
.ec-card-atc .button.added {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

/* 5. Pre-launch "Coming Soon" , muted gold-outline (not solid), readable.
   WC prints this as a plain link to the product page when the product is
   not purchasable; we wrap it in .ec-card-atc--soon from the template. */
.ec-card-atc--soon .button,
.ec-card-atc--soon a.button {
  background: transparent;
  border: 1px solid #e8e8e8;
  color: #6b6b6b;
  cursor: default;
  pointer-events: none;
}
.ec-card-atc--soon .button:hover,
.ec-card-atc--soon a.button:hover {
  background: transparent;
  border-color: #C9A961;
  color: #6b6b6b;
}
/* ═══════════════ PHASE 5 SHOP END ═══════════════ */

/* Spin to Win nav link, gold accent */
.navbar-links a.nav-spin-link,
.navbar-links .menu a.nav-spin-link,
.mobile-nav-links a.nav-spin-link {
    color: #C9A961 !important;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.navbar-links a.nav-spin-link:hover,
.mobile-nav-links a.nav-spin-link:hover {
    color: #B8954D !important;
}
.navbar-links a.nav-spin-link::after {
    background: #C9A961 !important;
}
