/* =============================================
   ESSENTIAL AMINO — CREATIVE REDESIGN v2
   Fonts: Space Grotesk (headings) + Plus Jakarta Sans (body)
   ============================================= */

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

:root {
  /* Dark palette */
  --navy:       #080f1e;
  --navy-mid:   #0c1830;
  --navy-soft:  #0f2040;
  --blue:       #1a6ab5;
  --blue-light: #4da3ff;
  --blue-glow:  rgba(77,163,255,0.14);
  --blue-deep:  #0d4a8a;

  /* Light palette */
  --white:      #ffffff;
  --off-white:  #f5f8ff;
  --light-bg:   #eef4ff;
  --light-border: #dce8fb;
  --light-text: #1a2540;
  --light-muted:#5a6e8a;

  /* Dark palette text */
  --text:       #c0d4ee;
  --text-dim:   #6888aa;
  --border:     rgba(77,163,255,0.13);
  --card-bg:    #0d1c35;

  --radius:    18px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);

  /* Fonts */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: linear-gradient(90deg, #0a3d7a 0%, #1a6ab5 50%, #0a3d7a 100%);
  background-size: 200%;
  animation: shimmer 5s linear infinite;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 11px 16px;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #90d0ff;
  display: inline-block;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(8,15,30,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  height: 70px;
  display: flex; align-items: center; gap: 36px;
  position: relative;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.4px; white-space: nowrap;
}

.logo strong { color: var(--blue-light); font-weight: 700; }
.logo-icon { display: flex; }

.nav-links {
  display: flex; list-style: none; gap: 2px; margin-left: auto;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  padding: 8px 15px; border-radius: var(--radius-xs);
  transition: var(--transition);
}


.nav-links a:hover { color: var(--white); background: var(--blue-glow); }

.nav-actions {
  display: flex; align-items: center; gap: 6px; margin-left: 12px;
}

.icon-btn {
  background: none; border: none; color: var(--text-dim);
  width: 44px; height: 44px; border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}

.icon-btn:hover { background: var(--blue-glow); color: var(--white); }

.cart-btn {
  position: relative;
  width: 48px; height: 48px;
  background: rgba(26,106,181,0.12);
  border-radius: 12px;
  color: var(--blue-light);
}
.cart-btn:hover {
  background: var(--blue);
  color: var(--white);
}
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: #e63946; color: #fff;
  font-size: 10px; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  border: 2px solid var(--navy);
}

.btn-shop {
  background: var(--blue); color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  padding: 9px 24px; border-radius: var(--radius-xs);
  letter-spacing: 0.6px; text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 0 24px rgba(26,106,181,0.45);
}

.btn-shop:hover {
  background: var(--blue-light);
  box-shadow: 0 0 32px rgba(77,163,255,0.55);
  transform: translateY(-1px);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  margin-left: auto; padding: 6px;
}

.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO — DARK
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
}

.orb1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(26,106,181,0.28) 0%, transparent 70%);
  top: -160px; left: -120px;
  animation: floatA 9s ease-in-out infinite;
}

.orb2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(77,163,255,0.14) 0%, transparent 70%);
  bottom: -120px; right: -100px;
  animation: floatB 11s ease-in-out infinite;
}

.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(100,200,255,0.08) 0%, transparent 70%);
  top: 40%; right: 25%;
  filter: blur(60px);
  animation: floatA 7s ease-in-out infinite reverse;
}

@keyframes floatA {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(28px,18px) scale(1.04); }
}

@keyframes floatB {
  0%, 100% { transform: translate(0,0); }
  50%       { transform: translate(-18px,28px); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77,163,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,163,255,0.035) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  flex: 1; display: flex; align-items: center;
  max-width: 1300px; margin: 0 auto; padding: 90px 28px 60px;
  width: 100%; gap: 50px;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,106,181,0.14);
  border: 1px solid rgba(77,163,255,0.28);
  color: var(--blue-light);
  font-family: var(--font-body);
  font-size: 11.5px; font-weight: 700;
  padding: 6px 15px; border-radius: 100px;
  letter-spacing: 0.8px; text-transform: uppercase;
  margin-bottom: 26px;
}

.badge-dot {
  width: 6px; height: 6px; background: var(--blue-light);
  border-radius: 50%; animation: blink 2s infinite;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(130deg, #90d0ff 0%, #4da3ff 40%, #1a6ab5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 16px; color: var(--text-dim);
  line-height: 1.75; margin-bottom: 38px;
  max-width: 460px; font-weight: 400;
}

.hero-actions {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 50px; flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #1a6ab5 0%, #0d4a8a 100%);
  color: #fff; text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700;
  padding: 14px 34px; border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 28px rgba(26,106,181,0.45);
  display: inline-block; letter-spacing: 0.1px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4da3ff 0%, #1a6ab5 100%);
  box-shadow: 0 8px 36px rgba(77,163,255,0.55);
  transform: translateY(-2px);
}

.btn-primary.large { font-size: 16px; padding: 16px 42px; }

.btn-ghost {
  color: var(--text); text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  padding: 14px 26px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition); display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--blue-light); color: var(--blue-light);
  background: var(--blue-glow);
}

.hero-stats {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }

.stat strong {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700; color: var(--white);
}

.stat span { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.stat-divider {
  width: 1px; height: 38px; background: var(--border);
}

/* HERO VISUAL */
.hero-visual { flex: 0 0 460px; position: relative; }

.product-showcase { position: relative; padding: 48px 20px 32px; }

.showcase-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 85%, rgba(26,106,181,0.35) 0%, transparent 70%);
  filter: blur(32px);
}

.vials-row {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 14px; position: relative; z-index: 1;
}

.vial-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: vFloat 3.2s ease-in-out infinite;
}

.vial-card.v2 { animation-delay: 0.3s; }
.vial-card.v3 { animation-delay: 0.6s; }
.vial-card.v4 { animation-delay: 0.9s; }
.vial-card.v5 { animation-delay: 1.2s; }

@keyframes vFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.vial-card span {
  font-size: 10px; color: var(--text-dim);
  font-weight: 600; letter-spacing: 0.5px;
  font-family: var(--font-body);
}

.vial-img { display: flex; align-items: flex-end; }

.vial-shape {
  width: 54px; height: 104px;
  background: linear-gradient(180deg, #e8f0fe 0%, #c5d8f0 40%, #a8c4e4 100%);
  border-radius: 8px 8px 4px 4px;
  position: relative;
  box-shadow:
    inset -5px 0 10px rgba(0,0,0,0.18),
    inset 5px 0 8px rgba(255,255,255,0.32),
    0 12px 28px rgba(0,0,0,0.45);
  overflow: hidden;
}

.vial-shape.tall { height: 136px; }

.vial-shape::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 20px;
  background: #1a6ab5;
}

.vial-label {
  color: #fff; font-size: 8.5px; font-weight: 800;
  letter-spacing: 0.4px; position: absolute;
  top: 5px; text-align: center; width: 100%;
  font-family: var(--font-body);
}

/* ---- PARTICLES CANVAS ---- */
#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ---- HERO BADGE extras ---- */
.badge-sep { opacity: 0.4; margin: 0 4px; }
.badge-live {
  color: #4ade80;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  animation: blink 1.5s infinite;
}

/* ---- WORD ROTATE ---- */
.word-rotate-wrap { display: inline; }
.word-rotate {
  display: inline-block;
  background: linear-gradient(130deg, #90d0ff 0%, #4da3ff 40%, #1a6ab5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.word-rotate.fade-out {
  opacity: 0;
  transform: translateY(-12px);
}
.word-rotate.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BTN WITH ICON ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---- SPOTLIGHT HERO VISUAL ---- */
.spotlight-wrap {
  position: relative;
  width: 420px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.spotlight-glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,106,181,0.45) 0%, transparent 70%);
  filter: blur(60px);
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.12); opacity: 1; }
}

.spotlight-ring {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(77,163,255,0.2);
  animation: ringRotate 12s linear infinite;
  z-index: 0;
}

.spotlight-ring::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 12px var(--blue-light);
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.spotlight-img-wrap {
  position: relative;
  z-index: 2;
  width: 280px; height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: imgFloat 4s ease-in-out infinite;
}

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

.spotlight-img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.6)) drop-shadow(0 0 40px rgba(26,106,181,0.5));
}

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex; align-items: center; gap: 7px;
  background: rgba(10,20,40,0.85);
  border: 1px solid rgba(77,163,255,0.25);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  padding: 8px 14px;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.fb-top  {
  top: 20px; left: 50%; transform: translateX(-50%);
  animation: fbFloat1 3.5s ease-in-out infinite;
}
.fb-left {
  left: -10px; top: 50%; transform: translateY(-50%);
  animation: fbFloat2 4s ease-in-out infinite 0.5s;
}
.fb-right {
  right: -10px; top: 38%; transform: translateY(-50%);
  animation: fbFloat3 3.8s ease-in-out infinite 1s;
}

@keyframes fbFloat1 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}
@keyframes fbFloat2 {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50%       { transform: translateY(-50%) translateX(-6px); }
}
@keyframes fbFloat3 {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50%       { transform: translateY(-50%) translateX(6px); }
}

/* Spotlight product card */
.spotlight-card {
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  background: rgba(10,20,42,0.9);
  border: 1px solid rgba(77,163,255,0.22);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  z-index: 3;
  min-width: 240px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  animation: fbFloat1 4s ease-in-out infinite 0.3s;
}

.sc-dot {
  width: 10px; height: 10px; min-width: 10px;
  border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: blink 2s infinite;
}

.sc-info {
  display: flex; flex-direction: column; gap: 2px; flex: 1;
}

.sc-name {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700; color: var(--white);
}

.sc-price {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 800; color: var(--blue-light);
}

.sc-btn {
  background: var(--blue); color: #fff; border: none;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  padding: 8px 16px; border-radius: 8px;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}

.sc-btn:hover { background: var(--blue-light); }

/* ---- TICKER ---- */
.hero-ticker {
  width: 100%;
  overflow: hidden;
  background: rgba(26,106,181,0.08);
  border-top: 1px solid rgba(77,163,255,0.15);
  border-bottom: 1px solid rgba(77,163,255,0.15);
  padding: 14px 0;
  position: relative;
  z-index: 2;
}

.hero-ticker::before,
.hero-ticker::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1;
}

.hero-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--navy), transparent);
}

.hero-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--navy), transparent);
}

.ticker-track {
  display: flex; align-items: center; gap: 32px;
  width: max-content;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.ticker-track .sep {
  color: var(--blue-light);
  font-size: 10px;
  opacity: 0.6;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* SCROLL INDICATOR */
.hero-scroll-indicator {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding-bottom: 36px;
  color: var(--text-dim); font-size: 10.5px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  font-family: var(--font-body);
}

.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
  animation: scPulse 2s ease-in-out infinite;
}

@keyframes scPulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.25; }
}

/* ============================================
   FEATURES STRIP — WHITE
   ============================================ */
.features-strip {
  background: var(--white);
  position: relative;
}

.features-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a6ab5, #4da3ff, #1a6ab5);
}

.features-strip-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  padding: 44px 32px;
  border-right: 1px solid var(--light-border);
  position: relative;
  transition: var(--transition);
  background: var(--white);
}

.feature-card:last-child { border-right: none; }

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 32px; right: 32px; height: 3px;
  background: linear-gradient(90deg, #1a6ab5, #4da3ff);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.feature-card:hover::after { transform: scaleX(1); }
.feature-card:hover { background: var(--off-white); }

.feature-num {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700;
  color: var(--blue); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 16px;
}

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--blue); border-color: var(--blue);
}

.feature-card:hover .feature-icon svg { stroke: #fff; }

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 700;
  color: var(--light-text); margin-bottom: 10px;
}

.feature-card p {
  font-size: 13.5px; color: var(--light-muted);
  line-height: 1.65;
}

/* ============================================
   WHY US — WHITE SECTION
   ============================================ */
.why-section {
  background: var(--white);
  padding: 100px 0;
  border-top: 1px solid var(--light-border);
}

.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.section-tag {
  display: inline-block;
  background: rgba(26,106,181,0.1);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 100px;
  letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(26,106,181,0.18);
}

.section-tag.dark {
  background: rgba(26,106,181,0.1);
  color: var(--blue);
  border-color: rgba(26,106,181,0.2);
}

.why-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700; color: var(--light-text);
  line-height: 1.12; letter-spacing: -1px;
  margin-bottom: 20px;
}

.underline-text {
  position: relative; display: inline-block;
}

.underline-text::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #1a6ab5, #4da3ff);
  border-radius: 4px;
}

.why-desc {
  font-size: 16px; color: var(--light-muted);
  line-height: 1.75; margin-bottom: 32px;
}

.why-list {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 36px;
}

.why-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--light-text); font-weight: 500;
}

.why-check {
  width: 26px; height: 26px; min-width: 26px;
  border-radius: 50%;
  background: rgba(26,106,181,0.1);
  border: 1px solid rgba(26,106,181,0.2);
  display: flex; align-items: center; justify-content: center;
}

.btn-dark {
  display: inline-block;
  background: var(--light-text); color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700;
  padding: 13px 30px; border-radius: var(--radius-sm);
  transition: var(--transition); letter-spacing: 0.1px;
}

.btn-dark:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,106,181,0.35);
}

/* METRICS GRID */
.metrics-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-card {
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 8px;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  transition: var(--transition);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,106,181,0.12);
  border-color: rgba(26,106,181,0.3);
}

.metric-card.accent {
  background: var(--white);
  border-color: var(--light-border);
}

.metric-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}

.metric-icon.blue { background: var(--blue); }
.metric-icon.white {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
}
.metric-icon.white svg { stroke: var(--blue); }

.metric-card strong {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700; color: var(--light-text);
}

.metric-card span {
  font-size: 13px; color: var(--light-muted);
}

/* ============================================
   TRUST BANNER — DARK
   ============================================ */
.trust-banner {
  position: relative;
  background: var(--navy-mid);
  padding: 90px 0;
  overflow: hidden;
}

.trust-banner::before,
.trust-banner::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(77,163,255,0.3), transparent);
}

.trust-banner::before { top: 0; }
.trust-banner::after  { bottom: 0; }

.trust-bg { position: absolute; inset: 0; }

.trust-orb {
  position: absolute;
  width: 700px; height: 320px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26,106,181,0.22) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  filter: blur(50px);
}

.trust-inner {
  position: relative;
  display: flex; align-items: center; gap: 48px;
}

.trust-badge-large {
  width: 88px; height: 88px; min-width: 88px;
  border-radius: 22px;
  background: rgba(26,106,181,0.14);
  border: 1px solid rgba(77,163,255,0.28);
  display: flex; align-items: center; justify-content: center;
}

.trust-quote {
  font-family: var(--font-head);
  font-size: 24px; font-weight: 500;
  color: var(--white); line-height: 1.5;
  margin-bottom: 26px; max-width: 720px;
}

.trust-quote em {
  color: var(--blue-light);
  font-style: normal; font-weight: 700;
}

.btn-outline-light {
  display: inline-block; color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  padding: 12px 28px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.28);
  transition: var(--transition); letter-spacing: 0.2px;
}

.btn-outline-light:hover {
  border-color: var(--blue-light); color: var(--blue-light);
  background: rgba(77,163,255,0.08);
}

/* ============================================
   PRODUCTS — WHITE SECTION
   ============================================ */
.products-section {
  padding: 100px 0;
  background: var(--off-white);
  position: relative;
}

.products-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--light-border);
}

.section-header { text-align: center; margin-bottom: 60px; }

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700; color: var(--light-text);
  margin-bottom: 14px; letter-spacing: -0.8px;
}

.section-header h2 .gradient-text {
  background: linear-gradient(130deg, #1a6ab5, #4da3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 16px; color: var(--light-muted);
  max-width: 480px; margin: 0 auto; line-height: 1.7;
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(26,106,181,0.16), 0 8px 24px rgba(0,0,0,0.08);
}

.product-card.span2 {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
}

.product-badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-body);
  font-size: 9px; font-weight: 800;
  padding: 5px 12px; border-radius: 100px;
  letter-spacing: 0.8px; text-transform: uppercase; z-index: 2;
  backdrop-filter: blur(8px);
  background: rgba(26,106,181,0.12);
  color: var(--blue);
  border: 1px solid rgba(26,106,181,0.18);
}

.product-badge.best {
  background: rgba(245,160,0,0.15);
  color: #b36800;
  border-color: rgba(200,130,0,0.25);
}

.product-badge.new {
  background: rgba(0,170,80,0.12);
  color: #006b38;
  border-color: rgba(0,160,70,0.2);
}

/* IMAGE WRAP — full bleed, no padding */
.product-img-wrap {
  position: relative;
  overflow: hidden;
/*   height: 280px; */
  background: linear-gradient(145deg, #f0f5ff 0%, #dde9ff 100%);
  flex-shrink: 0;
}

/* .product-img-wrap.wide-img { height: 280px; } */

/* Real photo — full cover */
.product-img-wrap--photo {
  padding: 0;
/*   height: 280px; */
  background: #f2f6ff;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.product-card:hover .product-photo {
  transform: scale(1.08);
}

.product-card--featured {
  box-shadow: 0 4px 24px rgba(26,106,181,0.1);
}

/* Placeholder vial */
.product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #eef4ff 0%, #daeaff 100%);
}

.product-img-placeholder.amber {
  background: linear-gradient(145deg, #fff8ee 0%, #ffe5b0 100%);
}

/* 3D VIALS */
.vial-3d {
  display: flex; flex-direction: column;
  align-items: center; height: 128px;
}

.vial-cap {
  width: 34px; height: 16px; background: #1a6ab5;
  border-radius: 4px 4px 0 0;
  box-shadow: inset -2px 0 4px rgba(0,0,0,0.3), inset 2px 0 4px rgba(255,255,255,0.25);
}

.vial-body {
  width: 42px; flex: 1;
  background: linear-gradient(180deg, #e6f1ff 0%, #c0d8f5 40%, #a5c0e8 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: inset -4px 0 8px rgba(0,0,0,0.12), inset 4px 0 6px rgba(255,255,255,0.38);
}

.vial-body::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.55), transparent);
}

.amber-body {
  background: linear-gradient(180deg, #cc7a00 0%, #8a5200 40%, #6b3e00 100%);
}

.vial-label-3d {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 800;
  color: rgba(10,30,70,0.9);
  letter-spacing: 0.4px; text-align: center; z-index: 1;
  background: rgba(255,255,255,0.65);
  padding: 2px 5px; border-radius: 2px; line-height: 1.3;
}

.vial-base {
  width: 44px; height: 8px; background: #0d4a8a;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.product-info {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-card.span2 .product-info { padding: 32px; justify-content: center; }

.product-info h4 {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  color: var(--light-text); line-height: 1.4;
  margin-bottom: 8px;
}

.product-info h4 a {
  color: inherit; text-decoration: none;
  transition: color var(--transition);
}
.product-info h4 a:hover { color: var(--blue); }

.product-price {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 800;
  color: var(--blue);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

/* ── PRODUCT BUTTONS ── */
.product-btns {
  display: flex;
  gap: 0;
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26,106,181,0.18);
}

.btn-add-cart {
  flex: 1;
  padding: 13px 16px;
  background: linear-gradient(135deg, #1a6ab5 0%, #155fa0 100%);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: all 0.28s ease;
  position: relative; overflow: hidden;
}

.btn-add-cart::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.25s;
}

.btn-add-cart:hover { background: linear-gradient(135deg, #1259a0 0%, #0e4c88 100%); }
.btn-add-cart:hover::before { opacity: 1; }
.btn-add-cart:active { transform: scale(0.98); }

.btn-read-more {
  padding: 13px 16px;
  background: var(--light-bg);
  color: var(--blue);
  border: none;
  border-left: 1px solid rgba(26,106,181,0.15);
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
  display: flex; align-items: center;
}

.btn-read-more:hover {
  background: rgba(26,106,181,0.1);
  color: var(--blue);
}

/* Featured wide card */
.product-card.span2 .product-img-wrap {
  flex: 0 0 55%;
  height: auto;
  min-height: 320px;
}

.product-card.span2 .product-info {
  padding: 36px 32px;
}

.product-card.span2 .product-info h4 {
  font-size: 20px; line-height: 1.35;
  margin-bottom: 12px;
}

.product-card.span2 .product-price {
  font-size: 28px; margin-bottom: 14px;
}

.prod-short-desc {
  font-size: 13px; color: var(--light-muted);
  line-height: 1.7; margin-bottom: 22px;
}

.products-cta { text-align: center; margin-top: 60px; }

.products-cta .btn-primary {
  background: var(--light-text);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.products-cta .btn-primary:hover {
  background: var(--blue);
  box-shadow: 0 8px 32px rgba(26,106,181,0.4);
}

/* ============================================
   CTA SECTION — DARK
   ============================================ */
.cta-section {
  position: relative;
  background: var(--navy-soft);
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77,163,255,0.25), transparent);
}

.cta-section::before { top: 0; }
.cta-section::after  { bottom: 0; }

.cta-bg { position: absolute; inset: 0; pointer-events: none; }

.cta-orb1 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,106,181,0.28) 0%, transparent 70%);
  top: 50%; left: 18%; transform: translate(-50%,-50%);
  filter: blur(70px);
}

.cta-orb2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77,163,255,0.14) 0%, transparent 70%);
  top: 50%; right: 12%; transform: translateY(-50%);
  filter: blur(55px);
}

.cta-inner { position: relative; }

.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700; color: var(--white);
  margin-bottom: 16px; letter-spacing: -1px;
}

.cta-inner p {
  font-size: 17px; color: var(--text-dim);
  margin-bottom: 42px; font-weight: 400;
}

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #050c1a; }

.footer-top { padding: 72px 0; border-bottom: 1px solid var(--border); }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 52px;
}

.footer-brand .logo { margin-bottom: 18px; }

.footer-tagline {
  color: var(--text-dim); font-size: 14px;
  line-height: 1.7; max-width: 260px;
}

.footer-links-group h5,
.footer-disclaimer-col h5 {
  font-family: var(--font-head);
  font-size: 11.5px; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 18px;
}

.footer-links-group ul {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
}

.footer-links-group a {
  color: var(--text-dim); text-decoration: none;
  font-size: 14px; transition: var(--transition);
  font-weight: 400;
}

.footer-links-group a:hover { color: var(--blue-light); }

.footer-disclaimer-col p {
  font-size: 12.5px; color: var(--text-dim); line-height: 1.75;
}

.footer-bottom { padding: 22px 0; }

.footer-bottom p {
  text-align: center; color: var(--text-dim); font-size: 13px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-visual { flex: 0 0 360px; }
  .features-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .feature-card { border-bottom: 1px solid var(--light-border); }
  .feature-card:nth-child(even) { border-right: none; }
  .why-grid { gap: 48px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.span2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: rgba(8,15,30,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(77,163,255,0.12);
    border-bottom: 1px solid rgba(77,163,255,0.12);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    z-index: 999;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  }

  .nav-links.mobile-open {
    display: flex;
    animation: slideDown 0.22s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 13px 24px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid rgba(77,163,255,0.07);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-actions {
    gap: 4px;
    margin-left: 8px;
  }

  .nav-actions .search-btn,
  .nav-actions .btn-shop { display: none; }

  .nav-actions .cart-btn { display: flex; }

  .hamburger { display: flex; }

  .hero-inner {
    flex-direction: column; padding: 64px 24px 40px;
    text-align: center; gap: 44px;
  }

  .hero-visual { flex: none; width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats  { justify-content: center; }
  .hero-badge  { margin: 0 auto 26px; }
  .hero-sub    { margin: 0 auto 38px; }

  .features-strip-inner { grid-template-columns: 1fr; }
  .feature-card { border-right: none; }

  .why-grid { grid-template-columns: 1fr; gap: 48px; }

  .trust-inner { flex-direction: column; text-align: center; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.span2 { grid-column: span 2; flex-direction: column; }
  .product-card.span2 .product-img-wrap { flex: none; height: 280px; min-height: unset; }
  .product-card.span2 .product-info h4 { font-size: 16px; }
  .product-card.span2 .product-price { font-size: 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card.span2 { grid-column: span 1; flex-direction: column; }
  .product-card.span2 .product-img-wrap { height: 240px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .vials-row { gap: 7px; }
  .vial-shape { width: 44px; height: 84px; }
  .vial-shape.tall { height: 108px; }
}

/* ============================================
   INNER PAGES — SHARED
   ============================================ */

/* Nav active link */
.nav-links a.active { color: var(--blue-light); }

/* Nav dropdown */
.nav-links li.has-dropdown { position: relative; }
.nav-links .nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 200px;
  list-style: none; padding: 8px 0;
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.22s, transform 0.22s;
  z-index: 200;
}
.nav-links li.has-dropdown:hover .nav-dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav-links .nav-dropdown li a {
  display: block; padding: 9px 18px;
  font-size: 13px; border-radius: 0;
}
.nav-links .nav-dropdown li a:hover { background: var(--blue-glow); }
.dd-arrow { margin-left: 4px; vertical-align: middle; }

/* Custom logo inside .logo link */
.logo .custom-logo-link { display: contents; }
.logo .custom-logo { height: 36px; width: auto; }

/* Product card dual buttons */
.product-btns {
  display: flex; gap: 8px; margin-top: 12px;
}
.product-btns .btn-add-cart,
.product-btns .btn-read-more { flex: 1; }

/* Product overlay on hover */
.product-img-wrap { position: relative; overflow: hidden; }
.product-overlay {
  position: absolute; inset: 0;
  background: rgba(8,15,30,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s;
}
.product-img-wrap:hover .product-overlay { opacity: 1; }
.overlay-btn {
  background: var(--white);
  color: var(--light-text);
  padding: 8px 20px;
  border-radius: var(--radius-xs);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}
.overlay-btn:hover { background: var(--blue-light); color: #fff; }

/* Product rating */
.product-rating { display: flex; align-items: center; gap: 6px; margin: 4px 0 8px; }
.stars { color: #f59e0b; font-size: 13px; }
.review-count { font-size: 12px; color: var(--light-muted); }
.product-cat { font-size: 11px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  position: relative;
  background: var(--navy);
  padding: 80px 0 60px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
}
.page-hero-inner {
  position: relative; text-align: center;
}
.page-hero-inner h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  color: var(--white);
  margin: 12px 0 16px;
}
.page-hero-inner p {
  max-width: 520px; margin: 0 auto;
  color: var(--text-dim); font-size: 16px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-dim);
  justify-content: center;
}
.breadcrumb a { color: var(--blue-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span:not(:last-child) { color: var(--text-dim); }

.breadcrumb-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.breadcrumb-bar .breadcrumb { justify-content: flex-start; }

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-section { background: var(--off-white); padding: 48px 0 80px; }

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar */
.shop-sidebar { position: sticky; top: 88px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.widget-title {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  color: var(--light-text);
  margin-bottom: 16px;
}
.filter-list { list-style: none; }
.filter-list li { padding: 5px 0; }
.filter-list label {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; font-size: 14px; color: var(--light-text);
}
.filter-list input[type=checkbox] {
  width: 16px; height: 16px; accent-color: var(--blue);
}
.filter-list .count { color: var(--light-muted); font-size: 12px; margin-left: auto; }

.price-range { padding: 8px 0; }
.range-slider {
  width: 100%; accent-color: var(--blue);
  margin-bottom: 10px;
}
.price-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--light-text); font-weight: 600; }

/* Shop Toolbar */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.results-count { font-size: 14px; color: var(--light-muted); }
.results-count strong { color: var(--light-text); }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.sort-select {
  padding: 8px 14px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xs);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 13px; color: var(--light-text);
  cursor: pointer;
}
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xs);
  background: var(--white);
  color: var(--light-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.view-btn.active, .view-btn:hover {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}

/* Shop grid uses existing .products-grid + .product-card */
.shop-section .products-grid {
  background: transparent;
  padding: 0;
}
.shop-section .product-card {
  background: var(--white);
}

/* List view */
.products-grid.list-view { grid-template-columns: 1fr !important; }
.products-grid.list-view .product-card {
  display: flex; flex-direction: row; gap: 20px;
}
.products-grid.list-view .product-img-wrap {
  flex: 0 0 160px; height: 160px;
}
.products-grid.list-view .product-info { flex: 1; }
.products-grid.list-view .product-card.span2 { grid-column: span 1; }

/* Pagination */
.pagination {
  display: flex; align-items: center; gap: 8px;
  margin-top: 40px; justify-content: center;
}
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xs);
  background: var(--white);
  color: var(--light-text); font-size: 14px;
  cursor: pointer; transition: all var(--transition);
}
.page-btn.active, .page-btn:hover {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.page-next { padding: 0 20px; }

/* w-full utility */
.w-full { width: 100%; text-align: center; }

/* Shop page body bg */
body.woocommerce-page { background: var(--off-white); }

/* Shop products area (wrapper with spinner) */
.shop-products-area { position: relative; min-height: 300px; }

.shop-loading {
  display: none;
  position: absolute; inset: 0; z-index: 5;
  background: rgba(245,248,255,0.75);
  backdrop-filter: blur(2px);
  align-items: center; justify-content: center;
  border-radius: var(--radius);
}
.shop-loading.active { display: flex; }

.shop-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--light-border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Out of stock button state */
.btn-add-cart.btn-out-of-stock {
  opacity: .5; cursor: default; pointer-events: none;
}

/* No products found */
.shop-no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 0;
  color: var(--light-muted);
}
.shop-no-products svg { margin: 0 auto 16px; display: block; }
.shop-no-products p { font-size: 16px; }

/* Shop pagination links */
#shopPagination .pagination a.page-btn {
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ============================================
   PRODUCT DETAILS PAGE
   ============================================ */
.product-details-section {
  background: var(--off-white);
  padding: 48px 0 80px;
}

.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}

/* Gallery */
.pd-gallery { }
.pd-main-img {
  position: relative;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.pd-main-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.pd-main-img:hover img { transform: scale(1.04); }
.pd-badge-wrap { position: absolute; top: 16px; left: 16px; }

.pd-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.pd-thumb {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: var(--white);
  transition: border-color var(--transition);
}
.pd-thumb.active, .pd-thumb:hover { border-color: var(--blue); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.pd-cat-tag {
  font-size: 11px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.pd-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; color: var(--light-text);
  margin-bottom: 12px; line-height: 1.2;
}
.pd-rating-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.pd-stars { color: #f59e0b; font-size: 16px; }
.pd-review-count { font-size: 13px; color: var(--light-muted); }
.pd-sep { color: var(--light-border); }
.pd-stock { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.pd-stock.in-stock { color: #16a34a; }
.stock-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }

.pd-price {
  font-family: var(--font-head);
  font-size: 32px; font-weight: 700;
  color: var(--blue); margin-bottom: 18px;
}
.pd-short-desc {
  font-size: 15px; color: var(--light-muted);
  line-height: 1.7; margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-border);
}
.pd-meta { margin-bottom: 20px; }
.pd-meta-row {
  display: flex; gap: 12px; font-size: 13px;
  margin-bottom: 6px; color: var(--light-text);
}
.pd-meta-label { color: var(--light-muted); min-width: 80px; }
.pd-meta-row a { color: var(--blue); text-decoration: none; }

.pd-label { display: block; font-size: 13px; font-weight: 600; color: var(--light-text); margin-bottom: 8px; }

.pd-qty-row { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.qty-control {
  display: flex; align-items: center;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xs);
  overflow: hidden; background: var(--white);
}
.qty-btn {
  width: 38px; height: 44px;
  background: var(--light-bg); border: none;
  font-size: 18px; color: var(--light-text);
  cursor: pointer; transition: background var(--transition);
}
.qty-btn:hover { background: var(--blue); color: var(--white); }
.qty-input {
  width: 60px; height: 44px; border: none;
  text-align: center; font-size: 15px; font-weight: 600;
  color: var(--light-text); font-family: var(--font-body);
}
.qty-control.small .qty-btn { width: 32px; height: 38px; font-size: 16px; }
.qty-control.small .qty-input { width: 48px; height: 38px; font-size: 14px; }

.pd-add-btn { flex: 1; display: flex; align-items: center; gap: 8px; justify-content: center; }

.pd-trust {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
}
.pd-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--light-muted);
}

/* Tabs */
.pd-tabs {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 64px;
}
.tab-nav {
  display: flex; border-bottom: 1px solid var(--light-border);
  background: var(--light-bg);
  overflow-x: auto;
}
.tab-btn {
  padding: 16px 28px;
  border: none; background: none;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  color: var(--light-muted);
  cursor: pointer; white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  color: var(--blue); border-bottom-color: var(--blue);
}
.tab-content {
  display: none; padding: 36px;
}
.tab-content.active { display: block; }
.tab-content h3 {
  font-family: var(--font-head);
  font-size: 20px; color: var(--light-text);
  margin-bottom: 16px;
}
.tab-content h4 { font-size: 16px; color: var(--light-text); margin: 20px 0 10px; }
.tab-content p { color: var(--light-muted); line-height: 1.7; margin-bottom: 12px; }
.pd-list { color: var(--light-muted); padding-left: 20px; line-height: 2; }

/* Specs table */
.pd-specs-table { margin-top: 24px; overflow-x: auto; }
.pd-specs-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-specs-table th {
  background: var(--light-bg); color: var(--light-text);
  font-weight: 600; padding: 10px 16px;
  text-align: left; border: 1px solid var(--light-border);
}
.pd-specs-table td {
  padding: 10px 16px; border: 1px solid var(--light-border);
  color: var(--light-muted);
}
.pd-specs-table tr:nth-child(even) td { background: var(--off-white); }

/* COA card */
.coa-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.coa-icon { flex-shrink: 0; }
.coa-card strong { color: var(--light-text); }
.coa-card p { margin: 4px 0; }

/* Shipping cards */
.shipping-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shipping-card {
  padding: 24px;
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  text-align: center;
}
.shipping-card svg { margin-bottom: 12px; }
.shipping-card h4 { font-size: 15px; color: var(--light-text); margin-bottom: 8px; }
.shipping-card p { font-size: 13px; color: var(--light-muted); }

/* Reviews */
.reviews-summary {
  display: flex; gap: 40px; align-items: center;
  padding: 24px; background: var(--light-bg);
  border-radius: var(--radius-sm); margin-bottom: 28px;
}
.overall-rating { text-align: center; }
.big-rating { font-size: 48px; font-weight: 800; color: var(--light-text); font-family: var(--font-head); }
.stars-big { color: #f59e0b; font-size: 22px; }
.overall-rating span { font-size: 13px; color: var(--light-muted); }
.rating-bars { flex: 1; }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 13px; color: var(--light-muted); }
.bar { flex: 1; height: 8px; background: var(--light-border); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: #f59e0b; border-radius: 4px; }
.review-list { display: flex; flex-direction: column; gap: 20px; }
.review-card {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.reviewer-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.review-stars { color: #f59e0b; font-size: 13px; }
.review-date { margin-left: auto; font-size: 12px; color: var(--light-muted); }
.review-card p { font-size: 14px; color: var(--light-muted); line-height: 1.7; }

/* Related products */
.related-section { padding: 0 0 0; }
.related-title { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--light-text); margin-bottom: 28px; }
.related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

/* Single product page bg */
body.single-product { background: var(--off-white); }

/* PD page add-to-cart (larger) */
.pd-add-btn {
  flex: 1; padding: 14px 24px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

/* Buy Now button */
.btn-buy-now {
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin-top: 12px; padding: 14px 24px;
  background: var(--light-text); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background var(--transition);
  letter-spacing: 0.2px;
}
.btn-buy-now:hover { background: #0c1525; }
.btn-buy-now:disabled { opacity: .6; cursor: not-allowed; }

/* Out of stock notice */
.pd-out-of-stock {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px; margin: 16px 0;
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  color: #ef4444; font-size: 14px; font-weight: 600;
}

/* Tab content spacing */
.tab-content { padding: 36px; }
.tab-content h3 + p { margin-top: 0; }

/* WooCommerce review comments override */
.woocommerce-Reviews-title { display: none; }
#comments { padding: 0; }
#comments ol.commentlist {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 20px;
}
#comments ol.commentlist li { background: none; padding: 0; margin: 0; }
#comments ol.commentlist .comment_container {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: flex; gap: 16px;
}
#comments ol.commentlist img.avatar {
  width: 40px; height: 40px; border-radius: 50%;
}
#comments .comment-text { flex: 1; }
#comments .comment-text p.meta {
  font-size: 13px; color: var(--light-muted);
  margin-bottom: 8px;
}
#comments .comment-text .woocommerce-review__author {
  font-weight: 700; color: var(--light-text);
}
#comments .comment-text .description p {
  font-size: 14px; color: var(--light-muted); line-height: 1.7;
}
#comments .star-rating { color: #f59e0b; overflow: hidden; }
#comments .star-rating::before,
#comments .star-rating span::before { color: #f59e0b; }

/* Review form styling */
#review_form_wrapper {
  margin-top: 32px; padding-top: 32px;
  border-top: 1px solid var(--light-border);
}
#review_form h3 {
  font-family: var(--font-head); font-size: 18px;
  color: var(--light-text); margin-bottom: 16px;
}
#review_form .stars a { color: #f59e0b; font-size: 20px; text-decoration: none; }
#review_form .form-submit .submit {
  padding: 12px 28px;
  background: var(--blue); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background var(--transition);
}
#review_form .form-submit .submit:hover { background: var(--blue-deep); }
#review_form p { margin-bottom: 14px; }
#review_form label { font-size: 13px; font-weight: 600; color: var(--light-text); display: block; margin-bottom: 6px; }
#review_form input[type=text],
#review_form input[type=email],
#review_form textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--light-border); border-radius: var(--radius-xs);
  font-family: var(--font-body); font-size: 14px; color: var(--light-text);
  background: var(--white);
}
#review_form input:focus,
#review_form textarea:focus { outline: none; border-color: var(--blue); }

/* ============================================
   CART PAGE
   ============================================ */
body.woocommerce-cart,
body.woocommerce-checkout { background: var(--off-white); }

.cart-section { background: var(--off-white); padding: 48px 0 80px; }
.page-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; color: var(--light-text);
  margin-bottom: 36px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.cart-items-wrap { }
.cart-table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.cart-table thead tr {
  background: var(--light-bg);
  border-bottom: 1px solid var(--light-border);
}
.cart-table th {
  padding: 14px 20px; text-align: left;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--light-muted);
}
.cart-table td { padding: 20px; border-bottom: 1px solid var(--light-border); vertical-align: middle; }
.cart-table .cart-row:last-child td { border-bottom: none; }
.cart-item-img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius-xs); }
.cart-item-name { font-size: 14px; font-weight: 600; color: var(--light-text); text-decoration: none; }
.cart-item-name:hover { color: var(--blue); }
.cart-item-meta { font-size: 12px; color: var(--light-muted); margin-top: 4px; }
.cart-price-td { font-size: 14px; color: var(--light-text); }
.cart-sub-td { font-size: 14px; font-weight: 700; color: var(--light-text); }
.cart-remove-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--light-border);
  border-radius: 50%;
  background: var(--white);
  color: var(--light-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.cart-remove-btn:hover { background: #fee2e2; border-color: #ef4444; color: #ef4444; }

.cart-actions-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.coupon-wrap { display: flex; gap: 8px; }
.coupon-input {
  padding: 10px 16px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xs);
  font-family: var(--font-body); font-size: 14px;
  color: var(--light-text); background: var(--white);
  width: 200px;
}
.coupon-input:focus { outline: none; border-color: var(--blue); }
.btn-outline-dark {
  padding: 10px 20px;
  border: 2px solid var(--light-text);
  border-radius: var(--radius-xs);
  background: none;
  font-family: var(--font-body); font-size: 14px;
  font-weight: 600; color: var(--light-text);
  cursor: pointer; transition: all var(--transition);
}
.btn-outline-dark:hover { background: var(--light-text); color: var(--white); }

/* Cart Totals */
.cart-totals {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky; top: 88px;
}
.cart-totals h3 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  color: var(--light-text); margin-bottom: 20px;
}
.totals-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 12px 0; font-size: 14px; color: var(--light-text);
  border-bottom: 1px solid var(--light-border);
}
.totals-row:last-of-type { border-bottom: none; }
.total-row { font-size: 18px; font-weight: 700; }
.totals-divider { height: 1px; background: var(--light-border); margin: 4px 0; }
.shipping-status { text-align: right; color: #16a34a; font-weight: 600; }
.discount-row .discount-amt { color: #16a34a; font-weight: 600; }
.hidden { display: none; }
.text-muted { color: var(--light-muted); font-weight: 400; }
.text-green { color: #16a34a; font-weight: 600; }

.proceed-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 20px; text-decoration: none;
}
.continue-shopping {
  display: block; text-align: center;
  margin-top: 14px; font-size: 13px;
  color: var(--light-muted); text-decoration: none;
}
.continue-shopping:hover { color: var(--blue); }

.cart-trust {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--light-border);
}
.ct-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--light-muted);
}

/* Checkout Steps */
.checkout-steps-bar {
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
  padding: 16px 0;
}
.checkout-steps {
  display: flex; align-items: center; justify-content: center; gap: 0;
}
.step {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--light-muted);
}
.step.active { color: var(--blue); }
.step.done { color: #16a34a; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--light-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--light-muted);
}
.step.active .step-num { background: var(--blue); color: var(--white); }
.step.done .step-num { background: #16a34a; color: var(--white); }
.step-line {
  width: 60px; height: 2px; background: var(--light-border); margin: 0 12px;
}
.step-line.done { background: #16a34a; }

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-section { background: var(--off-white); padding: 48px 0 80px; }

.returning-notice {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 14px; color: var(--light-muted);
  margin-bottom: 32px;
}
.returning-notice a { color: var(--blue); }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

.checkout-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}
.checkout-section-title {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  color: var(--light-text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light-border);
}

/* Form styles */
.checkout-form { }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--light-text); margin-bottom: 6px;
}
.req { color: #ef4444; }
.optional { color: var(--light-muted); font-weight: 400; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xs);
  font-family: var(--font-body); font-size: 14px;
  color: var(--light-text); background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,106,181,0.1);
}
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Checkbox */
.checkbox-group { }
.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 14px; color: var(--light-muted);
}
.checkbox-label input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.checkbox-label a { color: var(--blue); }
.checkbox-label strong { color: var(--light-text); }
.terms-group { margin-top: 8px; }

/* Payment */
.payment-methods { margin-bottom: 20px; }
.payment-option {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  transition: border-color var(--transition);
}
.payment-option.active { border-color: var(--blue); background: rgba(26,106,181,0.04); }
.payment-label { display: flex; align-items: center; gap: 10px; flex: 1; font-size: 14px; font-weight: 600; color: var(--light-text); }
.payment-icons { display: flex; gap: 6px; margin-left: auto; }
.pay-icon {
  padding: 3px 7px; border-radius: 3px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.3px;
}
.pay-icon.visa { background: #1a1f71; color: #fff; }
.pay-icon.mc { background: #eb001b; color: #fff; }
.pay-icon.amex { background: #007ac1; color: #fff; }
.card-fields {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 10px;
}
.card-input-wrap { position: relative; }
.card-input-wrap input { padding-right: 44px; }
.card-input-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }

/* Order Summary */
.sticky-summary { position: sticky; top: 88px; }
.order-items { margin-bottom: 20px; }
.order-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-border);
}
.order-item:last-child { border-bottom: none; }
.order-item-img {
  position: relative; flex-shrink: 0;
}
.order-item-img img {
  width: 52px; height: 52px; object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--light-border);
}
.order-item-qty {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.order-item-info { flex: 1; }
.order-item-info span { font-size: 13px; font-weight: 600; color: var(--light-text); display: block; }
.order-item-info small { font-size: 11px; color: var(--light-muted); }
.order-item-price { font-size: 14px; font-weight: 700; color: var(--light-text); }
.order-totals { }

.secure-note {
  display: flex; align-items: center; gap: 6px;
  justify-content: center;
  margin-top: 14px; font-size: 12px; color: var(--light-muted);
}

/* ============================================
   RESPONSIVE — INNER PAGES
   ============================================ */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 220px 1fr; }
  .pd-layout { gap: 40px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr 340px; }
  .cart-layout { grid-template-columns: 1fr 300px; }
}

@media (max-width: 768px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .pd-layout { grid-template-columns: 1fr; gap: 32px; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
  .shipping-grid { grid-template-columns: 1fr; }
  .reviews-summary { flex-direction: column; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-totals { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .sticky-summary { position: static; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) { display: none; }
}

@media (max-width: 480px) {
  .pd-trust { grid-template-columns: 1fr; }
  .tab-btn { padding: 12px 16px; font-size: 12px; }
  .cart-actions-row { flex-direction: column; gap: 12px; }
  .coupon-wrap { width: 100%; }
  .coupon-input { flex: 1; }
  .page-hero-inner { padding: 0 20px; }
  .page-hero h1 { font-size: 32px; }
  .shop-products-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .cart-table th { font-size: 12px; }
  .cart-table td { font-size: 13px; }
  .nav-inner { padding: 0 16px; gap: 5px; }
}

/* ============================================
   CART — KILL HORIZONTAL SCROLLBAR ON MOBILE
   Neutralises the legacy Customizer rule
   ".cart-layout{overflow:scroll !important}"
   which forces a permanent left-right scrollbar,
   and stops grid items from overflowing the
   viewport (min-width:0 lets them shrink).
   ============================================ */
@media (max-width: 768px) {
  body.woocommerce-cart .cart-layout {
    overflow: visible !important;
    grid-template-columns: 1fr;
  }
  body.woocommerce-cart .cart-items-wrap,
  body.woocommerce-cart .cart-totals,
  body.woocommerce-cart .cart-table-wrap {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  /* The REAL overflow source: the Cart → Checkout → Confirmation
     step bar is a no-wrap flex row ~450px wide (fixed 60px connector
     lines + no-wrap labels), which is wider than a phone and forces
     the whole page to scroll sideways. Shrink it to fit. */
  .checkout-steps { flex-wrap: nowrap; max-width: 100%; }
  .checkout-steps .step { font-size: 11px; gap: 5px; }
  .checkout-steps .step span { white-space: nowrap; }
  .checkout-steps .step-num { width: 22px; height: 22px; font-size: 11px; }
  .checkout-steps .step-line { width: 16px; margin: 0 6px; }

  /* Safety net: never let these cart/checkout bars push the page wider
     than the screen (does NOT touch html/body, so the sticky navbar
     keeps working). */
  .breadcrumb-bar,
  .checkout-steps-bar,
  .cart-section { overflow-x: hidden; }
}

@media (max-width: 360px) {
  .checkout-steps .step { font-size: 10px; gap: 4px; }
  .checkout-steps .step-num { width: 20px; height: 20px; font-size: 10px; }
  .checkout-steps .step-line { width: 10px; margin: 0 4px; }
}

/* ============================================
   CART TABLE — MOBILE STACKED CARDS
   On phones the 6-column table overflows the
   viewport. Collapse each row into a card so it
   fits the screen with no horizontal scroll.
   ============================================ */
@media (max-width: 600px) {
  .cart-table,
  .cart-table tbody { display: block; width: 100%; }
  .cart-table thead { display: none; }

  .cart-table tr.cart-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    grid-template-areas:
      "img  name"
      "img  price"
      "img  qty"
      "sub  sub";
    column-gap: 14px;
    row-gap: 8px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--light-border);
    position: relative;
  }
  .cart-table tr.cart-row:last-child { border-bottom: none; }

  .cart-table tr.cart-row td {
    display: block;
    padding: 0;
    border: none;
    width: auto;
  }
  .cart-table tr.cart-row td.cart-img-td  { grid-area: img; align-self: start; }
  .cart-table tr.cart-row td.cart-img-td a { display: block; }
  .cart-table tr.cart-row td.cart-name-td { grid-area: name; padding-right: 30px; }
  .cart-table tr.cart-row td.cart-price-td {
    grid-area: price; font-size: 13px; color: var(--light-muted);
  }
  .cart-table tr.cart-row td.cart-price-td::before {
    content: "Unit price: "; font-weight: 600;
  }
  .cart-table tr.cart-row td.cart-qty-td  { grid-area: qty; }
  .cart-table tr.cart-row td.cart-sub-td  {
    grid-area: sub;
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 10px; margin-top: 2px;
    border-top: 1px dashed var(--light-border);
    font-size: 15px; font-weight: 700;
  }
  .cart-table tr.cart-row td.cart-sub-td::before {
    content: "Subtotal"; font-weight: 600; color: var(--light-muted);
  }

  .cart-table tr.cart-row .cart-item-img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: var(--white);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: 8px;
  }

  /* remove button pinned to the top-right corner of the card */
  .cart-table tr.cart-row td.cart-remove-td {
    position: absolute; top: 12px; right: 12px;
  }

  /* keep the qty stepper compact so nothing overflows */
  .cart-table tr.cart-row .qty-control { width: max-content; max-width: 100%; }
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-section {
  background: var(--white);
  padding: 56px 0 96px;
}

.faq-container { max-width: 860px; }

.faq-search-wrap {
  display: flex; align-items: center; gap: 12px;
  background: var(--off-white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 28px;
  transition: border-color var(--transition);
}
.faq-search-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,106,181,0.1); }
.faq-search {
  flex: 1; border: none; background: none;
  font-family: var(--font-body); font-size: 15px; color: var(--light-text);
}
.faq-search:focus { outline: none; }
.faq-search::placeholder { color: var(--light-muted); }

.faq-cats {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px;
}
.faq-cat-btn {
  padding: 9px 22px;
  border: 1.5px solid var(--light-border);
  border-radius: 100px;
  background: var(--white);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  color: var(--light-muted); cursor: pointer;
  transition: all var(--transition);
}
.faq-cat-btn:hover {
  border-color: var(--blue); color: var(--blue);
  background: rgba(26,106,181,0.05);
}
.faq-cat-btn.active {
  background: var(--blue); color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(26,106,181,0.25);
}

.faq-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 56px; }

.faq-item {
  background: var(--off-white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: none;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.faq-item:hover { border-color: rgba(26,106,181,0.3); box-shadow: 0 4px 20px rgba(26,106,181,0.08); }

.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: var(--light-text); cursor: pointer; text-align: left; gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-item.open .faq-question { color: var(--blue); background: var(--white); }

.faq-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 50%; background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--blue); color: var(--white);
  transform: rotate(180deg);
}
.faq-icon svg { color: var(--light-muted); }
.faq-item.open .faq-icon svg { color: var(--white); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  padding: 0;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}
.faq-answer-inner {
  background: #f0f6ff;
  padding: 18px 24px 22px;
  border-top: 2px solid rgba(26,106,181,0.12);
  border-left: 3px solid var(--blue);
  margin: 0 16px 16px;
  border-radius: 0 0 8px 8px;
}
.faq-answer p {
  font-size: 14px;
  color: var(--light-muted);
  line-height: 1.85;
  margin: 0;
}

.faq-cta {
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  padding: 32px 36px;
}
.faq-cta-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(26,106,181,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.faq-cta h3 { font-family: var(--font-head); font-size: 18px; color: var(--white); margin-bottom: 4px; }
.faq-cta p { font-size: 13px; color: var(--text-dim); }
.faq-cta .btn-primary { margin-left: auto; white-space: nowrap; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  background: var(--off-white);
  padding: 56px 0 96px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
}

.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 14px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  transition: box-shadow var(--transition);
}
.contact-card:hover { box-shadow: 0 4px 20px rgba(26,106,181,0.1); }
.contact-card-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(26,106,181,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-card h4 { font-size: 14px; font-weight: 700; color: var(--light-text); margin-bottom: 2px; }
.contact-card p { font-size: 14px; color: var(--blue); font-weight: 600; margin-bottom: 2px; }
.contact-card span { font-size: 12px; color: var(--light-muted); }

.contact-socials { margin-top: 20px; margin-bottom: 20px; }
.contact-socials h4 { font-size: 14px; font-weight: 700; color: var(--light-text); margin-bottom: 12px; }
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--light-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--light-muted); transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.contact-hours {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.contact-hours h4 { font-size: 14px; font-weight: 700; color: var(--light-text); margin-bottom: 14px; }
.hours-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.hours-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--light-muted); }
.hours-row span:last-child { color: var(--light-text); font-weight: 600; }
.hours-row.closed span:last-child { color: #ef4444; }
.support-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.18);
  border-radius: var(--radius-xs); padding: 8px 14px;
  font-size: 12px; font-weight: 600; color: #15803d;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.contact-form-card h2 {
  font-family: var(--font-head); font-size: 24px; font-weight: 700;
  color: var(--light-text); margin-bottom: 8px;
}
.form-subtitle { font-size: 14px; color: var(--light-muted); margin-bottom: 28px; line-height: 1.6; }

.form-success {
  display: flex; align-items: center; gap: 10px;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius-xs);
  padding: 14px 18px; margin-top: 16px;
  font-size: 14px; font-weight: 600; color: #15803d;
}
.form-success.hidden { display: none; }

.contact-faq-strip {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 28px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  margin-top: 8px;
}
.contact-faq-strip p { font-size: 15px; font-weight: 600; color: var(--light-text); }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .faq-cta { flex-wrap: wrap; }
  .faq-cta .btn-primary { margin-left: 0; }
}
@media (max-width: 600px) {
  .contact-form-card { padding: 24px 20px; }
  .faq-cta { padding: 24px 20px; }
}

/* ============================================
   COA PAGE
   ============================================ */
.coa-info-strip {
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
  padding: 36px 0;
}
.coa-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.coa-strip-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.coa-strip-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: #eff6ff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.coa-strip-item h5 {
  font-size: 14px; font-weight: 700;
  color: var(--light-text); margin-bottom: 4px;
}
.coa-strip-item p {
  font-size: 12px; color: var(--light-muted); line-height: 1.5;
}

.coa-section {
  background: var(--off-white);
  padding: 56px 0 80px;
}

.coa-controls {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 36px;
}
.coa-search-wrap {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-xs);
  padding: 11px 16px;
  flex: 1; min-width: 240px;
  transition: border-color var(--transition);
}
.coa-search-wrap:focus-within { border-color: var(--blue); }
.coa-search {
  flex: 1; border: none; background: none;
  font-family: var(--font-body); font-size: 14px;
  color: var(--light-text);
}
.coa-search:focus { outline: none; }
.coa-filter-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.coa-filter-btn {
  padding: 9px 20px;
  border: 1.5px solid var(--light-border);
  background: var(--white);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--light-muted);
  cursor: pointer; transition: var(--transition);
}
.coa-filter-btn.active,
.coa-filter-btn:hover {
  background: var(--blue); border-color: var(--blue);
  color: var(--white);
}

.coa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coa-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--light-border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.coa-card:hover {
  box-shadow: 0 8px 32px rgba(26,106,181,0.14);
  transform: translateY(-3px);
}

.coa-card-top {
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f1ff 100%);
  padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--light-border);
}
.coa-badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.4px; text-transform: uppercase;
}
.coa-badge.glp { background: #dbeafe; color: #1e40af; }
.coa-badge.peptide { background: #d1fae5; color: #065f46; }
.coa-badge.hormone { background: #fce7f3; color: #9d174d; }

.coa-purity-ring {
  position: relative;
  width: 64px; height: 64px;
}
.coa-purity-ring svg { position: absolute; top: 0; left: 0; }
.purity-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  color: var(--blue);
  font-family: var(--font-head);
}

.coa-card-body { padding: 20px 22px; flex: 1; }
.coa-card-body h3 {
  font-size: 16px; font-weight: 700;
  color: var(--light-text); margin-bottom: 14px;
  line-height: 1.3;
}

.coa-meta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 16px;
}
.coa-meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--light-muted); }
.meta-val { font-size: 12px; font-weight: 600; color: var(--light-text); }

.coa-tests { display: flex; flex-direction: column; gap: 6px; }
.coa-test {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; color: var(--light-text);
}
.coa-test.pass { color: #15803d; }

.coa-card-footer {
  padding: 16px 22px;
  border-top: 1px solid var(--light-border);
  display: flex; gap: 10px; align-items: center;
}
.coa-download-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  font-size: 13px; font-weight: 700;
  font-family: var(--font-body);
  transition: background var(--transition), box-shadow var(--transition);
  cursor: pointer; border: none;
}
.coa-download-btn:hover {
  background: var(--blue-light);
  box-shadow: 0 4px 14px rgba(26,106,181,0.3);
}
.coa-view-btn {
  font-size: 12px; font-weight: 600; color: var(--blue);
  text-decoration: none; white-space: nowrap;
  transition: color var(--transition);
}
.coa-view-btn:hover { color: var(--blue-light); }
.coa-view-btn.oos { color: #f59e0b; }
.coa-view-btn.oos:hover { color: #d97706; }

/* ---- Out-of-stock ribbon ---- */
.coa-card { position: relative; overflow: hidden; }
.coa-oos-ribbon {
  position: absolute; top: 14px; right: -26px;
  background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; padding: 4px 32px;
  transform: rotate(35deg); z-index: 2;
  box-shadow: 0 2px 8px rgba(239,68,68,.35);
}
.coa-card.out-of-stock { opacity: .88; }
.coa-card.out-of-stock .coa-purity-ring circle:last-child { stroke: #9ca3af; }

/* ---- Price row ---- */
.coa-price {
  display: flex; align-items: baseline; gap: 8px;
  margin: 6px 0 12px;
}
.coa-price .woocommerce-Price-amount {
  font-size: 20px; font-weight: 700; color: var(--blue);
  line-height: 1;
}
.coa-price.oos .woocommerce-Price-amount {
  color: #9ca3af; text-decoration: line-through; font-size: 16px;
}
.coa-price-oos-label {
  font-size: 11px; font-weight: 600; color: #ef4444;
  text-transform: uppercase; letter-spacing: .4px;
}

.coa-empty {
  text-align: center; padding: 60px 0;
  color: var(--light-muted);
}
.coa-empty p { margin-top: 14px; font-size: 15px; }

.coa-request-strip {
  background: var(--white);
  border: 1.5px solid var(--light-border);
  border-radius: 16px;
  padding: 28px 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.coa-request-left h3 { font-size: 18px; font-weight: 700; color: var(--light-text); margin-bottom: 6px; }
.coa-request-left p { font-size: 14px; color: var(--light-muted); }

@media (max-width: 1024px) {
  .coa-grid { grid-template-columns: repeat(2, 1fr); }
  .coa-strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .coa-grid { grid-template-columns: 1fr; }
  .coa-strip-inner { grid-template-columns: 1fr; }
  .coa-controls { flex-direction: column; align-items: stretch; }
  .coa-search-wrap { min-width: unset; }
  .coa-request-strip { flex-direction: column; text-align: center; }
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce-page .woocommerce,
.wc-main-section { background: var(--off-white); }

/* WC form fields */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-xs);
  font-family: var(--font-body); font-size: 14px;
  color: var(--light-text); background: var(--white);
  transition: border-color var(--transition);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,106,181,0.1);
}
.woocommerce form .form-row label { font-size: 13px; font-weight: 600; color: var(--light-text); margin-bottom: 6px; display: block; }

/* WC ordering dropdown */
.woocommerce-ordering select {
  padding: 9px 16px; border: 1.5px solid var(--light-border);
  border-radius: var(--radius-xs); background: var(--white);
  font-family: var(--font-body); font-size: 13px; cursor: pointer;
}

/* WC pagination */
.woocommerce nav.woocommerce-pagination ul {
  display: flex; gap: 6px; list-style: none; padding: 0; margin: 40px 0 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-xs);
  border: 1.5px solid var(--light-border); font-weight: 600; font-size: 13px;
  color: var(--light-text); text-decoration: none; transition: var(--transition);
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--blue); border-color: var(--blue); color: #fff;
}

/* WC cart totals */
.cart_totals h2 { font-size: 18px; font-weight: 700; color: var(--light-text); margin-bottom: 20px; }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table tr th,
.cart_totals table tr td { padding: 12px 0; border-bottom: 1px solid var(--light-border); font-size: 14px; color: var(--light-text); }
.cart_totals table .order-total th,
.cart_totals table .order-total td { font-size: 18px; font-weight: 700; border-bottom: none; }
.cart_totals .wc-proceed-to-checkout { margin-top: 20px; }
.cart_totals .wc-proceed-to-checkout .checkout-button {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px;
  background: var(--blue); color: #fff;
  border-radius: var(--radius-xs); font-weight: 700; font-size: 15px;
  text-decoration: none; transition: background var(--transition);
}
.cart_totals .wc-proceed-to-checkout .checkout-button:hover { background: var(--blue-light); }

/* WC notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  padding: 14px 20px; border-radius: var(--radius-xs);
  margin-bottom: 24px; font-size: 14px; font-weight: 500;
}
.woocommerce-message { background: #d1fae5; color: #065f46; border-left: 4px solid #16a34a; }
.woocommerce-info { background: #dbeafe; color: #1e40af; border-left: 4px solid var(--blue); }
.woocommerce-error { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; }

/* WC star ratings */
.star-rating { color: #f59e0b; font-size: 13px; }

/* Checkout steps */
.checkout-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; font-family: var(--font-head);
  background: var(--light-border); color: var(--light-muted);
  transition: var(--transition);
}
.checkout-step.active .step-num { background: var(--blue); color: #fff; }
.checkout-step.done .step-num { background: #16a34a; color: #fff; }
.step-label { font-size: 12px; font-weight: 600; color: var(--light-muted); }
.checkout-step.active .step-label { color: var(--blue); }
.step-line { flex: 1; height: 2px; background: var(--light-border); align-self: center; margin-bottom: 20px; }
.step-line.active { background: var(--blue); }


/* ============================================
   MINI CART PANEL
   ============================================ */
.mini-cart-overlay {
  position: fixed; inset: 0; z-index: 1998;
  background: rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mini-cart-overlay.active { opacity: 1; visibility: visible; }

.mini-cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 380px; max-width: 100vw;
  z-index: 1999;
  background: var(--white);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 48px rgba(0,0,0,0.18);
}
.mini-cart-panel.open { transform: translateX(0); }

.mini-cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--light-border);
  flex-shrink: 0;
}
.mini-cart-header h3 { font-size: 17px; font-weight: 700; color: var(--light-text); }
.mc-count { color: var(--blue); font-size: 14px; }
.mini-cart-close {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--off-white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--light-muted); transition: background var(--transition);
}
.mini-cart-close:hover { background: #fee2e2; color: #dc2626; }

#essecialMiniCartBody {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column;
}
.mini-cart-items { flex: 1; }

.mini-cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%; padding: 60px 24px;
  text-align: center; color: var(--light-muted);
}
.mini-cart-empty p { margin-top: 16px; font-size: 15px; }

.mini-cart-items { padding: 8px 0; }
.mini-cart-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--light-border);
  transition: background var(--transition);
}
.mini-cart-item:hover { background: var(--off-white); }
.mini-cart-item img {
  width: 56px; height: 56px; object-fit: cover;
  border-radius: 10px; flex-shrink: 0;
  border: 1px solid var(--light-border);
}
.mini-cart-item-info { flex: 1; min-width: 0; }
.mc-name {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--light-text); margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mc-qty-price { font-size: 12px; color: var(--light-muted); }
.mc-remove {
  width: 28px; height: 28px; border-radius: 6px;
  background: none; border: 1px solid var(--light-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--light-muted); cursor: pointer; flex-shrink: 0;
  transition: var(--transition); text-decoration: none;
}
.mc-remove:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }

.mini-cart-footer {
  padding: 20px 24px;
  border-top: 1.5px solid var(--light-border);
  flex-shrink: 0;
  position: sticky; bottom: 0;
  background: var(--white); z-index: 2;
}
.mini-cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; font-size: 15px;
}
.mini-cart-total span { color: var(--light-muted); font-weight: 600; }
.mini-cart-total strong { font-size: 18px; font-weight: 800; color: var(--light-text); }
.mini-cart-view-cart {
  display: block; text-align: center; margin-top: 10px;
  font-size: 13px; color: var(--blue); text-decoration: none; font-weight: 600;
}
.mini-cart-view-cart:hover { text-decoration: underline; }

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast-notification {
  position: fixed; bottom: 28px; left: 28px;
  z-index: 2100;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  max-width: 320px;
}
.toast-notification.show { transform: translateY(0); opacity: 1; }
.toast-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: #d1fae5; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.toast-content { flex: 1; min-width: 0; }
.toast-content strong { display: block; font-size: 13px; font-weight: 700; color: var(--light-text); }
.toast-content span { font-size: 12px; color: var(--light-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.toast-view-cart {
  font-size: 12px; font-weight: 700; color: var(--blue);
  background: none; border: none; cursor: pointer; white-space: nowrap;
  padding: 0; transition: color var(--transition);
}
.toast-view-cart:hover { color: var(--blue-light); }

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(8,15,30,0.92);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-overlay-inner { width: 100%; max-width: 640px; padding: 0 24px; position: relative; }
.search-close {
  position: absolute; top: -60px; right: 24px;
  background: rgba(255,255,255,0.1); border: none; border-radius: 10px;
  width: 40px; height: 40px; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.search-close:hover { background: rgba(255,255,255,0.2); }
.search-overlay-form {
  display: flex; align-items: center;
  background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.search-overlay-input {
  flex: 1; padding: 18px 24px; border: none; background: none;
  font-family: var(--font-body); font-size: 17px; color: var(--light-text);
}
.search-overlay-input:focus { outline: none; }
.search-overlay-input::placeholder { color: var(--light-muted); }
.search-overlay-btn {
  padding: 0 24px; height: 60px; background: var(--blue); border: none;
  color: #fff; cursor: pointer; display: flex; align-items: center;
  transition: background var(--transition);
}
.search-overlay-btn:hover { background: var(--blue-light); }

/* ============================================
   BTN SPINNER
   ============================================ */
.btn-spinner {
  display: inline-block; width: 13px; height: 13px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Cart count bump animation */
.cart-count { transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1); }
.cart-count.bump { animation: cartBump 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes cartBump { 0%{transform:scale(1)} 50%{transform:scale(1.6)} 100%{transform:scale(1)} }

/* ============================================
   CART AJAX LOADING STATES
   ============================================ */
.cart-table-wrap { position: relative; }

.cart-loading-overlay {
  position: absolute; inset: 0; z-index: 10;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.cart-loading-overlay.active { opacity: 1; visibility: visible; }

.cart-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(26,106,181,0.15);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

/* Row removing animation */
.cart-row--removing { pointer-events: none; }
.cart-row { transition: opacity 0.3s ease, transform 0.3s ease; }

/* Qty pending indicator */
.qty-pending .qty-input { border-color: var(--blue) !important; }

/* Remove coupon button */
.remove-coupon-btn {
  background: none; border: none; cursor: pointer;
  color: var(--light-muted); font-size: 16px; font-weight: 700;
  padding: 0 0 0 6px; line-height: 1;
  transition: color var(--transition);
}
.remove-coupon-btn:hover { color: #ef4444; }

/* ============================================
   CART TABLE — COLUMN SPECIFIC
   ============================================ */
.cart-img-td { width: 90px; padding: 16px 12px 16px 20px !important; }
.cart-img-td a { display: block; }
.cart-name-td { min-width: 180px; }
.cart-qty-td { width: 140px; }
.cart-price-td { width: 90px; white-space: nowrap; }
.cart-sub-td { width: 90px; white-space: nowrap; font-weight: 700; }
.cart-remove-td { width: 50px; text-align: center; }
.cart-remove-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border: 1px solid var(--light-border); border-radius: 50%;
  background: var(--white); color: var(--light-muted);
  transition: all var(--transition); text-decoration: none;
}
.cart-remove-btn:hover { background: #fee2e2; border-color: #ef4444; color: #ef4444; }

/* Cart empty state */
.cart-empty-state {
  text-align: center; padding: 80px 0;
}
.cart-empty-state svg { margin: 0 auto 20px; display: block; }
.cart-empty-state h2 { color: var(--light-text); font-size: 24px; margin-bottom: 12px; }
.cart-empty-state p { color: var(--light-muted); margin-bottom: 28px; }

/* Breadcrumb bar */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
  padding: 10px 0;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--light-muted);
}
.breadcrumb a { color: var(--light-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span:last-child { color: var(--light-text); font-weight: 600; }

/* ============================================
   WOOCOMMERCE CHECKOUT FORM FIELD OVERRIDES
   ============================================ */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields { }

.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row,
.woocommerce-additional-fields .form-row,
.checkout .form-row { margin-bottom: 16px; }

.woocommerce-billing-fields .form-row label,
.woocommerce-shipping-fields .form-row label,
.woocommerce-additional-fields .form-row label,
.checkout .form-row label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--light-text); margin-bottom: 6px;
}

.woocommerce-billing-fields .form-row label .required,
.woocommerce-shipping-fields .form-row label .required,
.checkout .form-row label .required {
  color: #ef4444; text-decoration: none;
}

.woocommerce-billing-fields input.input-text,
.woocommerce-shipping-fields input.input-text,
.woocommerce-additional-fields input.input-text,
.woocommerce-billing-fields select,
.woocommerce-shipping-fields select,
.woocommerce-billing-fields textarea,
.checkout input.input-text,
.checkout select,
.checkout textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-xs);
  font-family: var(--font-body); font-size: 14px;
  color: var(--light-text); background: var(--white);
  transition: border-color var(--transition);
  appearance: none; -webkit-appearance: none;
}

.woocommerce-billing-fields input.input-text:focus,
.woocommerce-shipping-fields input.input-text:focus,
.checkout input.input-text:focus,
.checkout select:focus,
.checkout textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,106,181,0.1);
}

.woocommerce-billing-fields .form-row-first,
.woocommerce-shipping-fields .form-row-first { float: left; width: calc(50% - 8px); }
.woocommerce-billing-fields .form-row-last,
.woocommerce-shipping-fields .form-row-last { float: right; width: calc(50% - 8px); }
.woocommerce-billing-fields::after,
.woocommerce-shipping-fields::after { content: ''; display: table; clear: both; }

.woocommerce-input-wrapper { display: block; }

/* WooCommerce select arrow */
.checkout 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 1L6 6L11 1' stroke='%235a6e8a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ---- Step number badge ---- */
.ea-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.checkout-section-title { display: flex; align-items: center; gap: 10px; }

/* ---- Shipping address card toggle ---- */
.ea-ship-addr-card .ea-ship-toggle-row {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 0; margin-bottom: 0;
}
.ea-ship-toggle-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--light-text);
  cursor: pointer; flex: 1;
}
/* iOS-style toggle switch */
.ea-toggle-track {
  display: inline-flex; align-items: center;
  width: 40px; height: 22px; border-radius: 11px;
  background: #d1d5db; position: relative;
  transition: background .2s ease; flex-shrink: 0;
}
.ea-toggle-thumb {
  position: absolute; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .2s ease;
}
#ship-to-different-address-checkbox { display: none; }
#ship-to-different-address-checkbox:checked + .ea-toggle-track { background: var(--blue); }
#ship-to-different-address-checkbox:checked + .ea-toggle-track .ea-toggle-thumb { transform: translateX(18px); }
.ea-ship-optional {
  font-size: 11px; font-weight: 500; color: var(--light-muted);
  background: var(--off-white); border: 1px solid var(--light-border);
  padding: 2px 8px; border-radius: 20px;
}
/* The shipping address fields container */
.ea-ship-fields {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
}
/* Shipping address — hidden by default; WC's checkout.js toggles it */
.shipping_address { display: none; }

/* ---- Shipping method list ---- */
.ea-shipping-methods {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ea-ship-option { position: relative; }
.ea-ship-option input[type=radio] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.ea-ship-label {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-sm);
  cursor: pointer; transition: all var(--transition);
  background: var(--white);
}
.ea-ship-label:hover { border-color: var(--blue); background: rgba(26,106,181,.03); }
.ea-ship-option input:checked + .ea-ship-label {
  border-color: var(--blue);
  background: rgba(26,106,181,.05);
  box-shadow: 0 0 0 1px var(--blue);
}
.ea-ship-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--off-white); display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0;
}
.ea-ship-option input:checked + .ea-ship-label .ea-ship-icon { background: rgba(26,106,181,.1); }
.ea-ship-name { font-size: 14px; font-weight: 600; color: var(--light-text); flex: 1; }
.ea-ship-price { font-size: 14px; font-weight: 700; color: var(--blue); margin-left: auto; }
.ea-free-tag {
  font-size: 12px; font-weight: 700; color: #16a34a;
  background: rgba(22,163,74,.1); padding: 2px 8px; border-radius: 20px;
}
.ea-no-methods li { font-size: 13px; color: var(--light-muted); padding: 12px 0; }
.ea-pkg-label { font-size: 12px; color: var(--light-muted); margin-bottom: 10px; }

/* WC checkbox ship different (keep for WC's own JS) */
#ship-to-different-address { margin: 0; }

/* Shipping pending / address-required message */
.ea-shipping-pending {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--light-muted);
  background: var(--off-white);
  border: 1px dashed var(--light-border);
  border-radius: var(--radius-xs);
  padding: 14px 16px; margin: 0;
}
.ea-shipping-pending svg { flex-shrink: 0; color: var(--blue); }

/* Checkout page — soften WC error/info notices (they show inline) */
.checkout-section .woocommerce-error,
.checkout-section .woocommerce-message,
.checkout-section .woocommerce-info {
  font-size: 13px; padding: 12px 16px;
  border-radius: var(--radius-xs);
  margin-bottom: 20px;
}
.checkout-section .woocommerce-error li,
.checkout-section .woocommerce-message li { margin: 0; list-style: none; }

/* ---- Payment methods ---- */
#payment { }
.wc_payment_methods { list-style: none; padding: 0; margin: 0 0 24px; }

.wc_payment_method {
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  background: var(--white);
  position: relative;
}

/* Hide the native radio — we draw our own via label ::before */
.wc_payment_method > input[type=radio] {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}

/* Label = full-width clickable card row */
.wc_payment_method > label {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px 15px 46px;
  cursor: pointer; font-size: 14px; font-weight: 600;
  color: var(--light-text); margin: 0;
  position: relative; width: 100%;
}

/* Custom radio circle on the left */
.wc_payment_method > label::before {
  content: '';
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #c8d6e8;
  background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

/* Checked state — uses adjacent sibling (radio is immediately before label in WC HTML) */
.wc_payment_method > input[type=radio]:checked + label::before {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 3px #fff;
}
.wc_payment_method > input[type=radio]:checked + label {
  background: rgba(26,106,181,.03);
}

/* Active li border — :has() for modern browsers, .active class as fallback via JS */
.wc_payment_method:has(> input[type=radio]:checked),
.wc_payment_method.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

/* Payment gateway icon in label */
.wc_payment_method > label img { height: 22px; width: auto; margin-left: auto; }

/* Description box (WC shows/hides this via JS) */
.payment_box {
  padding: 14px 18px;
  background: #f0f6ff;
  border-top: 1px solid rgba(26,106,181,.12);
  font-size: 13px; color: var(--light-muted);
}
.payment_box p { margin: 0; line-height: 1.6; }

/* WC place order button */
#place_order,
.woocommerce #payment #place_order {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, #1e6fb5 0%, #155fa0 100%);
  color: #fff; border: none;
  border-radius: var(--radius-xs);
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all var(--transition);
  margin-top: 20px; letter-spacing: 0.3px;
}
#place_order:hover,
.woocommerce #payment #place_order:hover {
  background: linear-gradient(135deg, #155fa0 0%, #0f4a80 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(26,106,181,0.35);
}

/* WC checkout login form */
.woocommerce-form-login {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 24px; margin-bottom: 24px;
}
.woocommerce-form-login .form-row { margin-bottom: 14px; }
.woocommerce-form-login button { margin-top: 8px; }

/* WC validation errors */
.woocommerce-invalid input.input-text,
.woocommerce-invalid select { border-color: #ef4444 !important; }
.woocommerce-validated input.input-text,
.woocommerce-validated select { border-color: #16a34a !important; }

/* Order summary */
.checkout-summary-col .checkout-card { margin-bottom: 0; }
.order-totals .totals-row:last-child { border-bottom: none; }

/* Checkout form col */
.checkout-form-col .checkout-card:last-child { margin-bottom: 0; }

/* ============================================
   PRIVACY POLICY CHECKBOX — checkout
   ============================================ */
.ea-privacy-wrap {
  margin: 16px 0 0;
  padding: 14px 18px;
  background: var(--off-white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xs);
}
.ea-privacy-label {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; font-size: 13px; color: var(--light-text);
  line-height: 1.5; margin: 0; font-weight: 500;
}
.ea-privacy-label input[type=checkbox] { display: none; }
.ea-priv-box {
  width: 18px; height: 18px; border-radius: 4px;
  border: 2px solid #c8d6e8;
  background: #fff; flex-shrink: 0; margin-top: 1px;
  transition: all .2s; position: relative;
}
.ea-privacy-label input:checked + .ea-priv-box {
  background: var(--blue); border-color: var(--blue);
}
.ea-privacy-label input:checked + .ea-priv-box::after {
  content: '';
  position: absolute; top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg);
}
.ea-privacy-label a { color: var(--blue); text-decoration: underline; }
.ea-privacy-label .required { color: #dc2626; margin-left: 2px; }

/* ============================================
   THANK YOU / ORDER CONFIRMATION PAGE
   ============================================ */
.ty-section {
  background: var(--off-white);
  min-height: 70vh;
  padding: 48px 0 80px;
}

/* Hero */
.ty-hero {
  text-align: center; padding: 40px 0 32px;
}
.ty-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(22,163,74,.3);
}
.ty-icon--fail { background: linear-gradient(135deg, #dc2626, #b91c1c); box-shadow: 0 8px 32px rgba(220,38,38,.3); }
.ty-title { font-family: var(--font-head); font-size: clamp(28px,4vw,38px); font-weight: 800; color: var(--light-text); margin-bottom: 12px; }
.ty-subtitle { font-size: 15px; color: var(--light-muted); max-width: 480px; margin: 0 auto; line-height: 1.6; }
.ty-hero--fail .ty-subtitle { max-width: 400px; }
.ty-fail-actions { display: flex; gap: 16px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.ty-link { font-size: 14px; color: var(--blue); font-weight: 600; text-decoration: none; align-self: center; }
.ty-link:hover { text-decoration: underline; }

/* Stat cards */
.ty-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-bottom: 24px;
}
.ty-stat {
  background: var(--white); border: 1px solid var(--light-border);
  border-radius: var(--radius-sm); padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.ty-stat svg { flex-shrink: 0; }
.ty-stat span { font-size: 11px; font-weight: 600; color: var(--light-muted); text-transform: uppercase; letter-spacing: .5px; }
.ty-stat strong { font-size: 14px; font-weight: 700; color: var(--light-text); }

/* Email notice */
.ty-email-note {
  display: flex; align-items: center; gap: 10px;
  background: #dbeafe; color: #1e40af;
  border-radius: var(--radius-xs);
  padding: 13px 18px; font-size: 13px; font-weight: 500;
  margin-bottom: 32px;
}
.ty-email-note svg { flex-shrink: 0; }
.ty-email-note strong { color: #1e40af; }

/* Two-column body */
.ty-body {
  display: grid; grid-template-columns: 1fr 340px; gap: 24px;
  align-items: start;
}

/* Cards */
.ty-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 0;
}
.ty-card-title {
  font-size: 15px; font-weight: 700; color: var(--light-text);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--light-border);
}

/* Order items */
.ty-items { display: flex; flex-direction: column; gap: 0; }
.ty-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-border);
}
.ty-item:last-child { border-bottom: none; }
.ty-item img {
  width: 56px; height: 56px; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--light-border); flex-shrink: 0;
}
.ty-item-info { flex: 1; min-width: 0; }
.ty-item-name { display: block; font-size: 14px; font-weight: 600; color: var(--light-text); margin-bottom: 3px; }
.ty-item-qty { font-size: 12px; color: var(--light-muted); }
.ty-item-price { font-size: 14px; font-weight: 700; color: var(--light-text); white-space: nowrap; }

/* Totals under items */
.ty-totals { margin-top: 20px; padding-top: 16px; border-top: 2px solid var(--light-border); }
.ty-tot-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; padding: 7px 0; color: var(--light-muted);
}
.ty-tot-row span:last-child { color: var(--light-text); font-weight: 500; }
.ty-tot-discount span { color: #16a34a; }
.ty-divider { height: 1px; background: var(--light-border); margin: 8px 0; }
.ty-tot-grand { font-size: 15px; }
.ty-tot-grand span { font-weight: 700; color: var(--light-text); }
.ty-tot-grand strong { font-size: 18px; font-weight: 800; color: var(--blue); }

/* CTA buttons */
.ty-actions {
  display: flex; align-items: center; gap: 16px;
  margin-top: 20px; flex-wrap: wrap;
}
.ty-link-btn {
  font-size: 14px; font-weight: 600; color: var(--blue);
  text-decoration: none; white-space: nowrap;
}
.ty-link-btn:hover { text-decoration: underline; }

/* Billing/shipping address */
.ty-address {
  font-style: normal; font-size: 14px; color: var(--light-text);
  line-height: 1.8; margin: 0;
}
.ty-address-extra {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--light-muted);
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--light-border);
}

/* Trust badges on right column */
.ty-trust {
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.ty-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--light-text);
}

/* Responsive */
@media (max-width: 900px) {
  .ty-body { grid-template-columns: 1fr; }
  .ty-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ty-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ty-stat { padding: 14px 12px; }
  .ty-actions { flex-direction: column; align-items: stretch; }
  .ty-actions .btn-primary { text-align: center; justify-content: center; }
}


/* ===============================================
   VARIABLE PRODUCT — VARIATION SELECTORS
   (added to fix add-to-cart on variable products)
   =============================================== */
.pd-variations {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.pd-variation-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pd-variation-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(77,163,255,0.05);
  color: var(--light-text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%231a6ab5' stroke-width='2.4' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.pd-variation-select:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.pd-variation-msg {
  margin: 4px 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.30);
  color: #b91c1c;
  font-size: 13.5px;
  font-weight: 500;
}
.btn-select-options { text-decoration: none; }


/* ============================================
   MY ACCOUNT PAGE
   ============================================ */
.ea-account { padding: 6px 0 42px; }

/* ---- Account header banner ---- */
.ea-account-head {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  overflow: hidden;
}
.ea-account-head::after {
  content: ""; position: absolute; top: -60%; right: -10%;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow), transparent 70%);
  pointer-events: none;
}
.ea-account-avatar {
  position: relative; z-index: 1;
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 22px;
  color: #fff; flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(26,106,181,0.45);
}
.ea-account-greet { position: relative; z-index: 1; flex: 1; min-width: 200px; }
.ea-account-greet .ea-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 4px;
}
.ea-account-greet h1 {
  font-family: var(--font-head); font-size: clamp(22px, 3vw, 30px);
  font-weight: 700; color: var(--white); margin: 0 0 4px; line-height: 1.2;
}
.ea-account-greet p { font-size: 14px; color: var(--text-dim); margin: 0; }
.ea-account-logout {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-sm);
  background: rgba(77,163,255,0.10); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: var(--transition);
}
.ea-account-logout:hover { background: var(--blue-glow); color: var(--white); border-color: var(--blue-light); }

/* ---- Layout: sidebar nav + content ---- */
.ea-account-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start;
}

/* ---- Sidebar navigation ---- */
.woocommerce-MyAccount-navigation {
  position: sticky; top: 88px;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 8px 30px rgba(26,106,181,0.07);
}
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-MyAccount-navigation li a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: var(--light-text);
  text-decoration: none; transition: var(--transition);
}
.woocommerce-MyAccount-navigation li a svg { flex-shrink: 0; color: var(--light-muted); transition: var(--transition); }
.woocommerce-MyAccount-navigation li a:hover {
  background: var(--light-bg); color: var(--blue);
}
.woocommerce-MyAccount-navigation li a:hover svg { color: var(--blue); }
.woocommerce-MyAccount-navigation li.is-active a {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; box-shadow: 0 4px 18px rgba(26,106,181,0.35);
}
.woocommerce-MyAccount-navigation li.is-active a svg { color: #fff; }

/* ---- Content panel ---- */
.woocommerce-MyAccount-content {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 30px 32px;
  min-width: 0;
  box-shadow: 0 8px 30px rgba(26,106,181,0.07);
}
.woocommerce-MyAccount-content > p { color: var(--light-text); font-size: 14.5px; }
.woocommerce-MyAccount-content > p a { color: var(--blue); font-weight: 600; text-decoration: none; }
.woocommerce-MyAccount-content > p a:hover { text-decoration: underline; }
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: var(--font-head); color: var(--light-text); font-weight: 700;
}

/* ---- Dashboard ---- */
.ea-dash-welcome {
  display: flex; align-items: flex-start; gap: 14px;
  padding-bottom: 22px; margin-bottom: 24px;
  border-bottom: 1px solid var(--light-border);
}
.ea-dash-welcome svg { flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.ea-dash-welcome h2 { font-size: 19px; margin: 0 0 4px; }
.ea-dash-welcome p { font-size: 14px; color: var(--light-muted); margin: 0; line-height: 1.6; }
.ea-dash-welcome p a { color: var(--blue); font-weight: 600; text-decoration: none; }
.ea-dash-welcome p a:hover { text-decoration: underline; }

.ea-dash-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px;
}
.ea-dash-stat {
  display: flex; align-items: center; gap: 14px;
  background: var(--off-white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 18px 18px;
}
.ea-dash-stat-ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,106,181,0.10); color: var(--blue);
}
.ea-dash-stat-meta { display: flex; flex-direction: column; line-height: 1.2; }
.ea-dash-stat-meta strong { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--light-text); }
.ea-dash-stat-meta span { font-size: 12px; font-weight: 600; color: var(--light-muted); text-transform: uppercase; letter-spacing: .5px; }

.ea-dash-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ea-dash-link {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--light-border);
  text-decoration: none; transition: var(--transition);
}
.ea-dash-link:hover { border-color: var(--blue); box-shadow: 0 6px 22px rgba(26,106,181,0.12); transform: translateY(-2px); }
.ea-dash-link svg { flex-shrink: 0; color: var(--blue); }
.ea-dash-link-meta { display: flex; flex-direction: column; }
.ea-dash-link-meta strong { font-size: 14px; font-weight: 700; color: var(--light-text); }
.ea-dash-link-meta span { font-size: 12.5px; color: var(--light-muted); }
.ea-dash-link-arrow { margin-left: auto; color: var(--light-muted); transition: var(--transition); }
.ea-dash-link:hover .ea-dash-link-arrow { color: var(--blue); transform: translateX(3px); }

/* ---- Orders / downloads tables ---- */
.woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-MyAccount-content .shop_table,
.woocommerce-MyAccount-content table.account-orders-table {
  width: 100%; border-collapse: collapse; margin: 0 0 8px;
  border: 1px solid var(--light-border); border-radius: var(--radius-sm); overflow: hidden;
}
.woocommerce-MyAccount-content table thead th {
  background: var(--off-white); text-align: left;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: var(--blue); padding: 14px 16px; border-bottom: 1px solid var(--light-border);
}
.woocommerce-MyAccount-content table tbody td {
  padding: 16px; font-size: 14px; color: var(--light-text);
  border-bottom: 1px solid var(--light-border); vertical-align: middle;
}
.woocommerce-MyAccount-content table tbody tr:last-child td { border-bottom: none; }
.woocommerce-MyAccount-content table tbody tr:hover td { background: var(--off-white); }
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions { text-align: right; white-space: nowrap; }

/* Order status pill */
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status {
  font-weight: 600;
}

/* ---- Addresses ---- */
.woocommerce-MyAccount-content .woocommerce-Addresses,
.woocommerce-MyAccount-content .u-columns {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px;
}
.woocommerce-MyAccount-content .woocommerce-Address {
  background: var(--off-white); border: 1px solid var(--light-border);
  border-radius: var(--radius-sm); padding: 22px 24px;
}
.woocommerce-MyAccount-content .woocommerce-Address-title { margin-bottom: 14px; }
.woocommerce-MyAccount-content .woocommerce-Address-title h2,
.woocommerce-MyAccount-content .woocommerce-Address-title h3 { font-size: 16px; margin: 0; }
.woocommerce-MyAccount-content .woocommerce-Address-title .edit {
  font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none;
}
.woocommerce-MyAccount-content .woocommerce-Address-title .edit:hover { text-decoration: underline; }
.woocommerce-MyAccount-content address {
  font-style: normal; font-size: 14px; color: var(--light-text); line-height: 1.8;
}

/* ---- Account forms (edit account / edit address / view order) ---- */
.woocommerce-MyAccount-content form .form-row,
.woocommerce-MyAccount-content form p { margin-bottom: 18px; }
.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {
  margin-top: 26px; padding: 22px 24px;
  border: 1px solid var(--light-border); border-radius: var(--radius-sm);
  background: var(--off-white);
}
.woocommerce-MyAccount-content fieldset legend {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--light-text); padding: 0 8px;
}
.woocommerce-MyAccount-content .woocommerce-form-row label,
.woocommerce-MyAccount-content form .form-row label {
  font-size: 13px; font-weight: 600; color: var(--light-text);
  margin-bottom: 6px; display: block;
}
.woocommerce-MyAccount-content input.input-text,
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--light-border); border-radius: var(--radius-xs);
  font-family: var(--font-body); font-size: 14px; color: var(--light-text);
  background: var(--white); transition: border-color var(--transition);
}
.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,106,181,0.1);
}
.woocommerce-MyAccount-content .woocommerce-form-row span em,
.woocommerce-MyAccount-content .description { font-size: 12.5px; color: var(--light-muted); }

/* Buttons inside account content */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content .woocommerce-Button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #1a6ab5 0%, #0d4a8a 100%);
  color: #fff; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  padding: 12px 26px; border-radius: var(--radius-sm);
  text-decoration: none; transition: var(--transition);
  box-shadow: 0 4px 18px rgba(26,106,181,0.30);
}
.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content .woocommerce-Button:hover {
  background: linear-gradient(135deg, #4da3ff 0%, #1a6ab5 100%);
  box-shadow: 0 8px 26px rgba(77,163,255,0.45); transform: translateY(-2px);
}
/* "View" / secondary outline buttons in tables */
.woocommerce-MyAccount-content .woocommerce-orders-table .button.view,
.woocommerce-MyAccount-content .button.pay,
.woocommerce-MyAccount-content .button--secondary {
  padding: 9px 18px; font-size: 13px; box-shadow: none;
}

/* Empty-state notice (no orders/downloads) */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-Message {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.woocommerce-MyAccount-content .woocommerce-info .button { margin-left: auto; }

/* ============================================
   MY ACCOUNT — LOGIN / REGISTER
   ============================================ */
.ea-auth { padding: 6px 0 48px; }
.ea-auth-head { text-align: center; max-width: 520px; margin: 0 auto 32px; }
.ea-auth-head .ea-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
}
.ea-auth-head h1 {
  font-family: var(--font-head); font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; color: var(--light-text); margin: 0 0 12px;
}
.ea-auth-head p { font-size: 15px; color: var(--light-muted); margin: 0; }

.ea-auth-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 920px; margin: 0 auto; align-items: start;
}
.ea-auth-card {
  background: var(--white); border: 1px solid var(--light-border);
  border-radius: var(--radius); padding: 32px;
  box-shadow: 0 8px 30px rgba(26,106,181,0.07);
}
.ea-auth-card-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
  padding-bottom: 18px; border-bottom: 1px solid var(--light-border);
}
.ea-auth-card-head .ea-auth-ic {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,106,181,0.10); color: var(--blue);
}
.ea-auth-card-head h2 { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--light-text); margin: 0; }
.ea-auth-card-head span { font-size: 13px; color: var(--light-muted); display: block; margin-top: 2px; }
.ea-auth-card .form-row { margin-bottom: 18px; }
.ea-auth-card label { font-size: 13px; font-weight: 600; color: var(--light-text); margin-bottom: 6px; display: block; }
.ea-auth-card input.input-text,
.ea-auth-card input[type="text"],
.ea-auth-card input[type="email"],
.ea-auth-card input[type="password"] {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--light-border); border-radius: var(--radius-xs);
  font-family: var(--font-body); font-size: 14px; color: var(--light-text);
  background: var(--white); transition: border-color var(--transition);
}
.ea-auth-card input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,106,181,0.1); }
.ea-auth-card .woocommerce-form-login__rememberme,
.ea-auth-card .woocommerce-form__label-for-checkbox {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--light-muted); font-weight: 500;
}
.ea-auth-card .woocommerce-form-login__rememberme input,
.ea-auth-card .woocommerce-form__label-for-checkbox input { width: auto; accent-color: var(--blue); }
.ea-auth-card .woocommerce-form-login__submit,
.ea-auth-card .woocommerce-form-register__submit,
.ea-auth-card button[type="submit"] {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #1a6ab5 0%, #0d4a8a 100%);
  color: #fff; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  padding: 14px; border-radius: var(--radius-sm); margin-top: 6px;
  transition: var(--transition); box-shadow: 0 4px 18px rgba(26,106,181,0.30);
}
.ea-auth-card button[type="submit"]:hover {
  background: linear-gradient(135deg, #4da3ff 0%, #1a6ab5 100%);
  box-shadow: 0 8px 26px rgba(77,163,255,0.45); transform: translateY(-2px);
}
.ea-auth-card .lost_password { margin-top: 16px; text-align: center; }
.ea-auth-card .lost_password a { font-size: 13px; color: var(--blue); font-weight: 600; text-decoration: none; }
.ea-auth-card .lost_password a:hover { text-decoration: underline; }
.ea-auth-perks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ea-auth-perks li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--light-text); }
.ea-auth-perks li svg { flex-shrink: 0; color: #16a34a; }

/* ============================================
   MY ACCOUNT — RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .ea-account-layout { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-navigation { position: static; }
  .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .woocommerce-MyAccount-navigation li a { padding: 10px 14px; }
  .ea-dash-stats { grid-template-columns: 1fr; }
  .ea-dash-links { grid-template-columns: 1fr; }
  .ea-auth-grid { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-content .woocommerce-Addresses,
  .woocommerce-MyAccount-content .u-columns { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ea-account-head { padding: 22px; }
  .ea-account-logout { width: 100%; justify-content: center; }
  .woocommerce-MyAccount-content { padding: 22px 18px; }
  .ea-auth-card { padding: 24px 20px; }
  .woocommerce-MyAccount-content table thead { display: none; }
  .woocommerce-MyAccount-content table tbody td { display: flex; justify-content: space-between; gap: 12px; text-align: right; padding: 12px 16px; }
  .woocommerce-MyAccount-content table tbody td::before { content: attr(data-title); font-weight: 700; color: var(--light-muted); text-align: left; }
  .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions { justify-content: flex-end; }
}

/* ============================================
   MY ACCOUNT — OVERRIDE LEGACY CUSTOMIZER CSS
   These reset the old "Additional CSS" rules
   (blue nav chips, forced-white link text,
   #customer_login flex) so the new design wins
   even if that legacy CSS is still present.
   Higher specificity + !important is required
   because Customizer CSS is inlined after this
   stylesheet and uses !important itself.
   ============================================ */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link {
  background: transparent !important;
  color: inherit !important;
  list-style: none !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a {
  color: var(--light-text) !important;
  text-decoration: none !important;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link.is-active a {
  color: #fff !important;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link:hover a {
  color: var(--blue) !important;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link.is-active:hover a {
  color: #fff !important;
}
/* Legacy ".tab-content-inner div.woocommerce{display:flex}" turns the
   wrapper into a flex row — make our wrappers fill the full width. */
.ea-account, .ea-auth { width: 100%; flex: 1 1 100%; }

/* Keep the new auth grid layout regardless of legacy #customer_login flex rule */
.ea-auth div#customer_login.ea-auth-grid {
  display: grid !important;
  gap: 24px !important;
  width: 100% !important;
}
.ea-auth div#customer_login.ea-auth-grid .u-column1,
.ea-auth div#customer_login.ea-auth-grid .u-column2 {
  width: auto !important;
}
@media (max-width: 900px) {
  .ea-auth div#customer_login.ea-auth-grid { grid-template-columns: 1fr !important; }
}
