/* ==========================================================
   VENEXA PEPTIDES - RESEARCH STOREFRONT DESIGN SYSTEM
   Modern Biotech Luxury · Default Light Theme
   ========================================================== */

:root {
  /* Core Brand Colors (Venexa Palette: Deep Slate Teal & Mint) */
  --brand-navy: #0f172a;
  --brand-teal-deep: #0f766e;
  --brand-teal: #0d9488;
  --brand-cyan: #06b6d4;
  --brand-mint: #10b981;
  --brand-accent-blue: #2563eb;
  --brand-purple: #7c3aed;
  --brand-rose: #f43f5e;
  --brand-amber: #f59e0b;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  --grad-hero: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 50%, #eff6ff 100%);
  --grad-badge: linear-gradient(135deg, #0d9488 0%, #06b6d4 100%);
  --grad-waves: linear-gradient(90deg, #06b6d4 0%, #3b82f6 50%, #a855f7 100%);
  --grad-promo: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);

  /* Default Light Theme Tokens */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-input: #ffffff;
  --bg-pill: #e2e8f0;
  --bg-pill-hover: #cbd5e1;

  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #0d9488;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  --shadow-teal: 0 8px 24px -4px rgba(13, 148, 136, 0.3);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Optional Dark Theme */
[data-theme="dark"] {
  --bg-page: #090d16;
  --bg-surface: #111827;
  --bg-surface-elevated: #1e293b;
  --bg-surface-subtle: #1e293b;
  --bg-input: #1f293d;
  --bg-pill: #1e293b;
  --bg-pill-hover: #334155;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --border-focus: #06b6d4;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --text-inverse: #0f172a;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.7);
  --grad-hero: linear-gradient(135deg, #090d16 0%, #111827 50%, #0f172a 100%);
}

/* ==========================================================
   BASE RESET & GLOBAL CONTAINER
   ========================================================== */
html {
  box-sizing: border-box;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.store-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ==========================================================
   TOP ANNOUNCEMENT BAR (Marquee Infinito de Derecha a Izquierda)
   ========================================================== */
.announcement-bar {
  background: var(--grad-brand);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  position: relative;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.2);
  white-space: nowrap;
  user-select: none;
}

.announcement-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.announcement-bar:hover .announcement-marquee-track {
  animation-play-state: paused;
}

.announcement-marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  flex-shrink: 0;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.announcement-sep {
  opacity: 0.55;
  font-size: 1.1rem;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.announcement-badge {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #34d399;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

/* ==========================================================
   TOP NAVIGATION BAR (Integrated into Top Marquee & Main Nav)
   ========================================================== */
.ecosystem-nav-wrap {
  display: none !important;
}

border-bottom: 1px solid var(--border-subtle);
padding: 6px 0;
}

.ecosystem-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}

.ecosystem-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eco-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.eco-link:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .eco-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.eco-link.active {
  color: var(--brand-teal);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.eco-utilities {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
}

.eco-util-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
}

/* ==========================================================
   MAIN STORE HEADER & NAVBAR
   ========================================================== */
.store-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-item:hover {
  color: var(--brand-teal);
}

.nav-item.has-badge::after {
  content: 'PROMO';
  position: absolute;
  top: -6px;
  right: -32px;
  background: var(--brand-rose);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* ==========================================================
   DROPDOWN MENU: HERRAMIENTAS LAB (Calculadora + Semivida)
   ========================================================== */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -15px;
  right: -15px;
  height: 18px;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 0;
  transition: var(--transition-fast);
}

.nav-dropdown-trigger:hover,
.nav-item-dropdown:hover .nav-dropdown-trigger,
.nav-item-dropdown.open .nav-dropdown-trigger {
  color: var(--brand-teal);
}

.dropdown-chevron {
  transition: transform 0.22s ease;
  color: var(--text-muted);
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--brand-teal);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 120;
  pointer-events: none;
}

[data-theme="dark"] .nav-dropdown-menu {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-fast);
  color: var(--text-main);
}

.nav-dropdown-item:hover {
  background: var(--bg-surface-subtle);
  transform: translateX(2px);
}

[data-theme="dark"] .nav-dropdown-item:hover {
  background: #1e293b;
}

.nav-dropdown-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(2, 132, 199, 0.12) 100%);
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.nav-dropdown-item:hover .nav-dropdown-icon {
  background: var(--grad-brand);
  color: #ffffff;
  transform: scale(1.05);
}

.nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.nav-dropdown-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.nav-dropdown-text span {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.catalog-dropdown-menu {
  min-width: 330px;
}

.mobile-cat-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 16px 12px;
}

.mobile-cat-chip {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-cat-chip:hover,
.mobile-cat-chip:active {
  background: rgba(13, 148, 136, 0.12);
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.btn-header-icon:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  background: var(--bg-surface-subtle);
}

/* Header Login Action Button (Substituted from Promociones) */
a.btn-header-login,
a.btn-header-login:visited,
.btn-header-login {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  height: 42px !important;
  padding: 0 16px !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(0, 180, 216, 0.35) !important;
  background: rgba(0, 180, 216, 0.08) !important;
  color: #0284c7 !important;
  font-family: inherit !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: var(--transition-fast) !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 180, 216, 0.08) !important;
}

[data-theme="dark"] a.btn-header-login,
[data-theme="dark"] a.btn-header-login:visited,
[data-theme="dark"] .btn-header-login {
  background: rgba(0, 180, 216, 0.12) !important;
  border-color: rgba(0, 180, 216, 0.35) !important;
  color: #38bdf8 !important;
}

a.btn-header-login:hover,
a.btn-header-login:focus,
.btn-header-login:hover {
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(0, 180, 216, 0.32) !important;
}

.btn-header-login svg {
  transition: var(--transition-fast) !important;
}

a.btn-header-login:hover svg,
.btn-header-login:hover svg {
  stroke: #ffffff !important;
}

/* Header Promociones Action Button */
.btn-header-promo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(244, 63, 94, 0.28);
  background: rgba(244, 63, 94, 0.07);
  color: #e11d48;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(244, 63, 94, 0.08);
}

[data-theme="dark"] .btn-header-promo {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.35);
  color: #fb7185;
}

.btn-header-promo:hover {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.35);
}

.promo-badge-tag {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  transition: var(--transition-fast);
}

.btn-header-promo:hover .promo-badge-tag {
  background: #ffffff;
  color: #e11d48;
}

.cart-counter-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--brand-teal);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.4);
  border: 2px solid var(--bg-surface);
  z-index: 5;
  pointer-events: none;
}

.btn-cart-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-brand);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--shadow-teal);
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-cart-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* Mobile Hamburger Button */
.btn-mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  padding: 0;
}

.btn-mobile-menu:hover,
.btn-mobile-menu:active {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  background: var(--bg-surface-subtle);
}

/* ==========================================================
   HERO SECTION: BIOTECH LUXURY LIGHT THEME
   ========================================================== */
.hero-section {
  background: var(--grad-hero);
  border-bottom: 1px solid var(--border-subtle);
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 70%);
  top: -100px;
  right: 5%;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #ccfbf1;
  color: var(--brand-teal-deep);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .hero-pill-badge {
  background: rgba(13, 148, 136, 0.15);
  border-color: rgba(45, 212, 191, 0.3);
  color: #2dd4bf;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-title-highlight {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-brand);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow-teal);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(13, 148, 136, 0.45);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-secondary-outline:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  background: var(--bg-surface-subtle);
  transform: translateY(-1px);
}

/* Hero Trust Pillars */
.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #ecfeff;
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .trust-icon-box {
  background: rgba(6, 182, 212, 0.15);
  color: #2dd4bf;
}

.trust-text-block strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
}

.trust-text-block span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Hero Showcase Card */
.hero-visual-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-main-img-wrap {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-main-img-wrap:hover .hero-main-img {
  transform: scale(1.03);
}

/* Floating Quality Badge on Hero Image */
.floating-quality-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
}

[data-theme="dark"] .floating-quality-badge {
  background: rgba(17, 24, 39, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
}

.badge-purity-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-teal);
  line-height: 1;
}

.badge-purity-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Mini Showcase Bar */
.hero-mini-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-product-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
}

.mini-product-chip:hover {
  border-color: var(--brand-teal);
  transform: translateY(-1px);
}

.mini-chip-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #ffffff;
}

.mini-chip-info strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-main);
}

.mini-chip-info span {
  font-size: 0.74rem;
  color: var(--brand-teal);
  font-weight: 700;
}

/* ==========================================================
   FREE SHIPPING PROGRESS BAR ( desde 99€)
   ========================================================== */
.shipping-banner-strip {
  background: #f0fdfa;
  border-bottom: 1px solid #ccfbf1;
  padding: 16px 0;
}

[data-theme="dark"] .shipping-banner-strip {
  background: #042f2e;
  border-color: #115e59;
}

.shipping-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.shipping-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.truck-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.shipping-text-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.shipping-text-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.shipping-progress-wrap {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-teal-deep);
}

[data-theme="dark"] .progress-header {
  color: #2dd4bf;
}

.progress-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .progress-track {
  background: #1e293b;
}

.progress-fill {
  height: 100%;
  background: var(--grad-brand);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
  width: 45%;
}

/* ==========================================================
   FLASH DEALS & PROMOTIONS SECTION
   ========================================================== */
.promos-section {
  padding: 60px 0 40px;
}

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

.section-pretitle {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.promo-timer-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.timer-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.timer-digits {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-rose);
  background: #fff1f2;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

[data-theme="dark"] .timer-digits {
  background: rgba(244, 63, 94, 0.15);
}

/* Promos Grid */
.promos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-teal);
}

.promo-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand-rose);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4);
}

.promo-badge-tag.tag-blue {
  background: var(--brand-teal);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.4);
}

.promo-badge-tag.tag-purple {
  background: var(--brand-purple);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

.promo-card-image-wrap {
  width: 100%;
  height: 220px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.promo-card-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.promo-card:hover .promo-card-image {
  transform: scale(1.06);
}

.promo-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.promo-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-teal);
  text-transform: uppercase;
}

.promo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.promo-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  flex-grow: 1;
}

.promo-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}

.promo-current-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
}

.promo-old-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.promo-save-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-rose);
  background: #fff1f2;
  padding: 2px 7px;
  border-radius: 4px;
}

[data-theme="dark"] .promo-save-pill {
  background: rgba(244, 63, 94, 0.15);
}

.btn-promo-buy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 8px;
}

.btn-promo-buy:hover {
  background: var(--brand-teal);
  color: #ffffff;
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-teal);
}

/* ==========================================================
   PRODUCT CATALOG & FILTERS SECTION
   ========================================================== */
.catalog-section {
  padding: 40px 0 80px;
}

.catalog-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toolbar-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Search input */
.catalog-search-wrap {
  position: relative;
  flex: 1;
  max-width: 420px;
  min-width: 240px;
}

.catalog-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.catalog-search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  font-size: 0.88rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.catalog-search-input:focus {
  outline: none;
  border-color: var(--brand-teal);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

/* Sort dropdown */
.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.sort-select {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.84rem;
  font-family: inherit;
  cursor: pointer;
}

/* Filter category pills */
.category-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-filter-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.cat-pill-btn:hover {
  color: var(--text-main);
  border-color: var(--border-strong);
}

.cat-pill-btn.active {
  background: var(--brand-teal);
  color: #ffffff;
  border-color: var(--brand-teal);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-lg);
}

/* Card badges top */
.card-badges-row {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.purity-tag {
  background: #ffffff;
  border: 1px solid #ccfbf1;
  color: var(--brand-teal-deep);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-family: 'JetBrains Mono', monospace;
}

[data-theme="dark"] .purity-tag {
  background: rgba(17, 24, 39, 0.9);
  color: #2dd4bf;
  border-color: rgba(45, 212, 191, 0.3);
}

.stock-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.stock-tag.tag-out {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

[data-theme="dark"] .stock-tag {
  background: rgba(5, 150, 105, 0.2);
  color: #34d399;
  border-color: rgba(5, 150, 105, 0.4);
}

[data-theme="dark"] .stock-tag.tag-out {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

/* Product image area */
.product-card-thumb-wrap {
  width: 100%;
  height: 240px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px;
}

[data-theme="dark"] .product-card-thumb-wrap {
  background: #0f172a;
}

.product-card-thumb {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

/* Quick COA button over image on hover */
.btn-quick-coa {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0.85;
  transition: var(--transition-fast);
}

.btn-quick-coa:hover {
  opacity: 1;
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  background: #ffffff;
}

/* Card content body */
.product-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
}

.product-cat-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.product-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  height: 34px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Dosage Selector inside Card */
.dose-selector-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
  flex-wrap: wrap;
}

.dose-chip-btn {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dose-chip-btn:hover {
  color: var(--text-main);
  border-color: var(--brand-teal);
}

.dose-chip-btn.active {
  background: #ecfeff;
  border-color: var(--brand-teal);
  color: var(--brand-teal-deep);
}

.dose-chip-btn.is-out-of-stock {
  opacity: 0.65;
  background: #fef2f2 !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
  position: relative;
}

[data-theme="dark"] .dose-chip-btn.active {
  background: rgba(13, 148, 136, 0.2);
  color: #2dd4bf;
}

[data-theme="dark"] .dose-chip-btn.is-out-of-stock {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
}

/* Price & Add to Cart row */
.product-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.product-price-col {
  display: flex;
  flex-direction: column;
}

.price-main {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-strikethrough {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-brand);
  color: #ffffff;
  border: none;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
  transition: var(--transition-fast);
}

.btn-add-cart:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-add-cart:disabled,
.btn-add-cart.is-disabled {
  background: #94a3b8 !important;
  color: #ffffff !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  filter: grayscale(0.8) !important;
}

/* ==========================================================
   MOBILE NAVIGATION DRAWER & BACKDROP
   ========================================================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--bg-surface);
  z-index: 995;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-left: 1px solid var(--border-subtle);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

body.mobile-nav-active {
  overflow: hidden !important;
  touch-action: none;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  position: sticky;
  top: 0;
  z-index: 2;
}

.mobile-brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.mobile-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.btn-close-mobile-nav {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-close-mobile-nav:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

[data-theme="dark"] .btn-close-mobile-nav:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.mobile-shipping-pill {
  margin: 14px 18px 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(13, 148, 136, 0.25);
  color: var(--brand-teal-deep);
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="dark"] .mobile-shipping-pill {
  color: #2dd4bf;
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(13, 148, 136, 0.2);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  gap: 4px;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.mobile-nav-link svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: var(--bg-surface-subtle);
  color: var(--brand-teal);
}

.mobile-nav-link:hover svg,
.mobile-nav-link:active svg {
  color: var(--brand-teal);
}

.mobile-badge-pill {
  margin-left: auto;
  background: var(--brand-rose);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 8px 14px;
}

.mobile-nav-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  padding: 4px 14px;
  margin-top: 4px;
}

.mobile-nav-admin-link {
  background: rgba(13, 148, 136, 0.06);
  border: 1px dashed rgba(13, 148, 136, 0.35);
  margin-top: 4px;
}

.mobile-badge-admin {
  margin-left: auto;
  background: #0f172a;
  color: #38bdf8;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
}

[data-theme="dark"] .mobile-badge-admin {
  background: #0284c7;
  color: #ffffff;
}

.mobile-nav-active-pill {
  background: #ecfeff !important;
  color: var(--brand-teal-deep) !important;
  font-weight: 700;
  border: 1px solid rgba(13, 148, 136, 0.25);
}

[data-theme="dark"] .mobile-nav-active-pill {
  background: rgba(13, 148, 136, 0.2) !important;
  color: #2dd4bf !important;
  border-color: rgba(45, 212, 191, 0.35);
}

.mobile-badge-active {
  margin-left: auto;
  background: var(--brand-teal);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.mobile-nav-footer {
  padding: 16px 18px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-cart-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--grad-brand);
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: var(--shadow-teal);
  transition: var(--transition-fast);
}

.mobile-cart-action-btn:hover {
  filter: brightness(1.08);
}

.mobile-cart-badge {
  background: #ffffff;
  color: var(--brand-teal-deep);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0 4px;
}

.btn-theme-pill {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
}

.theme-pill-track {
  width: 44px;
  height: 24px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
  display: block;
  position: relative;
  transition: var(--transition-fast);
}

[data-theme="dark"] .theme-pill-track {
  background: var(--brand-teal);
}

.theme-pill-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .theme-pill-thumb {
  transform: translateX(20px);
}

.mobile-contact-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.mobile-contact-note a {
  color: var(--brand-teal);
  text-decoration: none;
  font-weight: 600;
}

/* ==========================================================
   LAB TOOLS CONNECTION BANNER (Calculadora + Semivida)
   ========================================================== */
.lab-tools-banner {
  background: var(--grad-promo);
  color: #ffffff;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.lab-tools-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.lab-tools-content h2 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.lab-tools-content p {
  font-size: 0.98rem;
  color: #94a3b8;
  max-width: 580px;
  margin-bottom: 24px;
}

.lab-tools-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-tool-primary {
  background: var(--brand-teal);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
}

.btn-tool-primary:hover {
  background: #0f766e;
  transform: translateY(-2px);
}

.btn-tool-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-tool-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.lab-tools-card-preview {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.preview-stat-row:last-child {
  border-bottom: none;
}

.preview-stat-row span:first-child {
  color: #94a3b8;
}

.preview-stat-row span:last-child {
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

/* ==========================================================
   FAQ SECTION (Acordeón Interactivo)
   ========================================================== */
.faq-section {
  padding: 70px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  font-family: inherit;
}

.faq-icon-arrow {
  transition: transform 0.3s ease;
  color: var(--brand-teal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 22px 18px;
}

/* ==========================================================
   SLIDE-OVER CART DRAWER
   ========================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 101;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-title-row h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.cart-items-count-badge {
  background: var(--bg-surface-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-teal);
}

.btn-close-cart {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-cart:hover {
  color: var(--brand-rose);
}

/* Free shipping threshold in cart */
.cart-shipping-meter {
  background: #f0fdfa;
  border-bottom: 1px solid #ccfbf1;
  padding: 14px 20px;
}

[data-theme="dark"] .cart-shipping-meter {
  background: #042f2e;
  border-color: #115e59;
}

.cart-shipping-msg {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-teal-deep);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-theme="dark"] .cart-shipping-msg {
  color: #2dd4bf;
}

/* Cart Items Scroll list */
.cart-body-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item-row {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

.cart-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  object-fit: contain;
  border: 1px solid var(--border-subtle);
  padding: 4px;
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.cart-item-variant {
  font-size: 0.76rem;
  color: var(--brand-teal);
  font-weight: 600;
}

.cart-item-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
}

.btn-qty-adj {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-main);
  padding: 2px 6px;
}

.cart-qty-val {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.btn-cart-remove {
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px;
  transition: var(--transition-fast);
}

.btn-cart-remove:hover {
  color: var(--brand-rose);
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  gap: 12px;
  color: var(--text-muted);
}

.cart-empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* Cart Footer / Checkout */
.cart-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.coupon-input-wrap {
  display: flex;
  gap: 8px;
}

.coupon-input {
  flex: 1;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  font-size: 0.82rem;
  font-family: inherit;
  text-transform: uppercase;
}

.btn-coupon-apply {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.cart-summary-line.line-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  padding-top: 8px;
  border-top: 1px dashed var(--border-subtle);
}

.btn-checkout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-brand);
  color: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-teal);
  transition: var(--transition-fast);
}

.btn-checkout:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ==========================================================
   PRODUCT DETAIL & COA MODAL
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.product-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-product-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  padding: 28px;
}

.modal-product-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-product-img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 16px;
}

.coa-sheet-preview {
  background: var(--bg-surface-subtle);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.76rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-product-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================
   FOOTER: RESEARCH CHEMICAL DISCLAIMER & CREDITS
   ========================================================== */
.store-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--brand-teal);
  transform: translateX(2px);
}

.footer-legal-box {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-legal-box strong {
  color: var(--brand-rose);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================
   RESPONSIVE MEDIA QUERIES (Mobile-First Polish)
   ========================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .lab-tools-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .announcement-bar {
    font-size: 0.74rem;
    padding: 8px 12px;
    flex-direction: column;
    gap: 4px;
  }

  /* Hide top ecosystem bar on mobile (handled inside mobile hamburger drawer) */
  .ecosystem-nav-wrap {
    display: none !important;
  }

  .header-inner {
    height: 64px;
  }

  .brand-logo-img {
    height: 38px;
  }

  .main-nav {
    display: none;
    /* Replaced by hamburger menu drawer on mobile */
  }

  .btn-mobile-menu {
    display: flex;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shipping-bar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .shipping-progress-wrap {
    width: 100%;
  }

  .promos-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .modal-product-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 18px;
  }

  .cart-drawer {
    max-width: 100vw;
  }

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

@media (max-width: 440px) {
  .store-container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .btn-primary,
  .btn-secondary-outline {
    width: 100%;
    justify-content: center;
  }

  .btn-cart-cta .cart-label {
    display: none;
  }

  .btn-cart-cta {
    padding: 9px 12px;
  }

  .btn-header-promo .promo-label,
  .btn-header-promo .promo-badge-tag,
  .btn-header-login .login-label {
    display: none;
  }

  .btn-header-promo,
  .btn-header-login {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }
}

@media (min-width: 769px) {

  .btn-mobile-menu,
  .mobile-nav-drawer,
  .mobile-nav-overlay {
    display: none !important;
  }
}