@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ========================================================
   VARIABLES DE IDENTIDAD VISUAL (Tech & Moda)
   - Dorado Elegante, Negro Profundo, Sombras y Minimalismo
   ======================================================== */
:root {
  --bg-dark: #0a0a0c;
  --bg-card: #121316;
  --bg-card-hover: #1b1c22;
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa8c2c;
  --text-main: #f5f5f7;
  --text-muted: #9aa0a6;
  --border-color: rgba(212, 175, 55, 0.2);
  --border-subtle: #24262d;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= Sticky Header Group (Top Banner + Nav Header) ================= */
.sticky-header-group {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1100 !important;
  transition: box-shadow 0.3s ease !important;
}

.sticky-header-group.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75) !important;
}

body.light-theme .sticky-header-group.is-scrolled {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

/* ================= Top Bar ================= */
.dummy-placeholder {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* ================= Top Bar ================= */
.top-banner {
  background: linear-gradient(90deg, #090a0e, var(--bg-card), #090a0e);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  text-align: center;
  padding: 8px 15px;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1001;
}

/* ================= Header ================= */
.header {
  position: relative;
  z-index: 100;
  background-color: #07080c;
  background: radial-gradient(circle at 50% 0%, rgba(38, 30, 15, 0.5) 0%, rgba(7, 8, 12, 0.98) 85%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(212, 175, 55, 0.15);
  overflow: hidden;
}

/* Cyber Circuit Background Container */
.circuit-nav-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Mouse Interactive Spotlight Illumination */
.circuit-mouse-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 280px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.2), transparent 75%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.circuit-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  filter: contrast(1.05) brightness(1.02);
}

/* Pulse animation for traveling electrical currents */
@keyframes circuitPulseFlow {
  0% {
    stroke-dashoffset: 700;
    opacity: 0.2;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -350;
    opacity: 0.2;
  }
}

.pulse-flow {
  stroke-dasharray: 60 420;
  animation: circuitPulseFlow 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.pulse-p1 { animation-delay: 0s; animation-duration: 4.8s; }
.pulse-p2 { animation-delay: 1.1s; animation-duration: 4.2s; }
.pulse-p3 { animation-delay: 2.3s; animation-duration: 5.2s; }
.pulse-p4 { animation-delay: 0.7s; animation-duration: 4.5s; }
.pulse-p5 { animation-delay: 1.8s; animation-duration: 5s; }
.pulse-p6 { animation-delay: 2.9s; animation-duration: 4.6s; }
.pulse-p7 { animation-delay: 3.5s; animation-duration: 4.4s; }

/* Breathing Glowing Orbs */
@keyframes orbPulse {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.glow-orb {
  transform-origin: center;
  transform-box: fill-box;
  animation: orbPulse 3.2s ease-in-out infinite;
}

/* Grid Center Star Flare Breathing Animation */
@keyframes flarePulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.grid-star-flare {
  transform-origin: center;
  transform-box: fill-box;
  animation: flarePulse 2.8s ease-in-out infinite;
}

/* Bottom laser line & traveling photon beam */
.circuit-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    rgba(212, 175, 55, 0.05) 0%, 
    rgba(212, 175, 55, 0.35) 25%, 
    rgba(212, 175, 55, 0.55) 50%, 
    rgba(212, 175, 55, 0.35) 75%, 
    rgba(212, 175, 55, 0.05) 100%
  );
  z-index: 3;
}

@keyframes beamScan {
  0% {
    left: -25%;
  }
  100% {
    left: 110%;
  }
}

.circuit-beam {
  position: absolute;
  top: -1px;
  left: -25%;
  width: 25%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(212, 175, 55, 0.6) 20%, 
    #ffffff 50%, 
    rgba(255, 230, 130, 0.8) 75%, 
    transparent 100%
  );
  box-shadow: 0 0 10px #ffd700, 0 0 20px #e5a93c;
  animation: beamScan 5s ease-in-out infinite;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 82px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
}

.logo:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.85));
}

.footer-logo-img {
  height: 105px;
  max-width: 260px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--gold-primary);
  margin-left: 2px;
}

/* ================= Navigation Menu (High-Contrast Cyber Capsule) ================= */
.nav {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(9, 10, 15, 0.88);
  padding: 6px 10px;
  border-radius: 40px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.12), inset 0 0 12px rgba(212, 175, 55, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
  position: relative;
  padding: 8px 16px;
  border-radius: 24px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.nav-link i {
  color: var(--gold-primary);
  font-size: 0.88rem;
  transition: all 0.25s ease;
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.5));
}

/* Micro cyber indicator dot */
.nav-link::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-primary);
  opacity: 0.4;
  box-shadow: 0 0 6px var(--gold-primary);
  transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.24) 0%, rgba(212, 175, 55, 0.08) 100%);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4), inset 0 0 8px rgba(212, 175, 55, 0.15);
  transform: translateY(-1px);
  text-shadow: 0 0 12px rgba(255, 230, 140, 0.9), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.nav-link:hover i,
.nav-link.active i {
  color: #ffffff;
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px #ffd700);
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 1;
  background: #ffffff;
  box-shadow: 0 0 8px #ffd700, 0 0 14px #e5a93c;
  transform: scale(1.3);
}

.btn-primary-sm {
  background-color: #25d366;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-primary-sm:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ================= Hero Section ================= */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.08), transparent 70%);
}

.hero-content {
  max-width: 850px;
  z-index: 2;
}

.badge-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-title span {
  background: linear-gradient(90deg, #fff, var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #000;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  background-color: rgba(212, 175, 55, 0.05);
}

.hero-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.highlight-item i {
  font-size: 1.5rem;
  color: var(--gold-primary);
}

.highlight-item strong {
  display: block;
  font-size: 0.9rem;
}

.highlight-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ================= Catálogo ================= */
.catalog-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}

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

.section-tag {
  color: var(--gold-primary);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 600;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  margin: 10px 0;
}

.section-description {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 25px;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.product-img-wrapper {
  position: relative;
  background-color: #ffffff;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(10, 12, 18, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  z-index: 4;
}

/* Botón flotante para ver modal en la esquina de la imagen */
.card-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 12, 18, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 5;
  transition: all 0.25s ease;
  opacity: 0.85;
}

.card-zoom-btn:hover {
  background: var(--gold-primary);
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Flechas de navegación en la tarjeta (Slider) */
.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(8, 10, 15, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 6;
  opacity: 0.85;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-arrow {
  opacity: 1;
}

.card-arrow:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0a0c10;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.card-arrow-prev {
  left: 8px;
}

.card-arrow-next {
  right: 8px;
}

/* Puntos indicadores (Dots) */
.card-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 12, 18, 0.7);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.card-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.card-dot.active {
  width: 16px;
  border-radius: 4px;
  background: var(--gold-primary);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
}

.product-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.card-view-details-link {
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
  padding: 0;
}

.card-view-details-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.product-delivery-tag {
  font-size: 0.72rem;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-brand {
  font-size: 0.8rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 6px 0 12px;
}

.size-selector {
  margin-bottom: 15px;
}

.size-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.size-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.size-btn {
  background: #18191f;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.size-btn.selected {
  border-color: var(--gold-primary);
  background-color: var(--gold-primary);
  color: #000;
  font-weight: 700;
}

.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.btn-order {
  background: #25d366;
  color: #fff;
  border: none;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-order:hover {
  background: #1ebc59;
}

/* ================= Ecosistema Tech ================= */
.tech-ecosystem {
  padding: 80px 0;
  background-color: #0d0e12;
  border-top: 1px solid var(--border-subtle);
}

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

.ecosystem-text p {
  color: var(--text-muted);
  margin: 15px 0 20px;
  line-height: 1.6;
}

.ecosystem-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.ecosystem-list i {
  color: var(--gold-primary);
}

.ecosystem-banner {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  padding: 40px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  text-align: center;
}

.tech-card i {
  font-size: 3rem;
  color: var(--gold-primary);
  margin-bottom: 15px;
}

.tech-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.tech-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.badge-gold {
  background: var(--gold-primary);
  color: #000;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ================= Beneficios ================= */
.benefits-section {
  padding: 80px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.benefit-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--border-color);
}

.benefit-icon {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 15px;
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ================= Footer ================= */
.footer {
  background-color: #070709;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 15px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--gold-primary);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--gold-primary);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 25px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ================= Buscador y Controles ================= */
.catalog-controls {
  max-width: 800px;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-box-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 18px;
  color: var(--gold-primary);
  font-size: 1rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 14px 45px 14px 48px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
  background-color: #17181f;
}

.clear-search-btn {
  position: absolute;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.clear-search-btn:hover {
  color: var(--gold-primary);
}

.catalog-meta {
  text-align: center;
  margin-bottom: 25px;
}

.product-counter {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-color);
  padding: 5px 16px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 500;
}

/* ================= Botón Flotante de WhatsApp ================= */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  text-decoration: none;
  transition: var(--transition);
  animation: pulseWhatsApp 2.5s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}

.floating-tooltip {
  position: absolute;
  right: 70px;
  background: #18191f;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.floating-whatsapp:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulseWhatsApp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ================= Toast Notification ================= */
.toast-notification {
  position: fixed;
  bottom: 95px;
  right: 28px;
  background: #181920;
  border: 1px solid var(--gold-primary);
  color: var(--text-main);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  font-size: 0.85rem;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInToast 0.3s ease forwards;
}

.toast-notification i {
  color: var(--gold-primary);
  font-size: 1.1rem;
}

@keyframes slideInToast {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ================= Página de Catálogo Independiente ================= */
.catalog-page-hero {
  padding: 55px 20px 25px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
}

.catalog-page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff 30%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.catalog-page-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
  .logo-img {
    height: 62px;
    max-width: 160px;
  }
  .header-container {
    padding: 8px 15px;
  }
  .nav {
    display: none;
  }
  .hero-title {
    font-size: 2rem;
  }
  .ecosystem-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
  .toast-notification {
    bottom: 80px;
    right: 20px;
    left: 20px;
  }
}

/* ================= Modal Flotante Estilo Facebook Marketplace ================= */
.fb-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(5, 7, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.fb-modal-container {
  position: relative;
  width: 100%;
  max-width: 1040px;
  max-height: 90vh;
  background: #0f121a;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 45px rgba(212, 175, 55, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-modal-overlay.active .fb-modal-container {
  transform: scale(1) translateY(0);
}

.fb-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 30;
  transition: all 0.2s ease;
}

.fb-modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ef4444;
  transform: rotate(90deg) scale(1.05);
}

.fb-modal-content {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  height: 100%;
  max-height: 90vh;
  overflow: hidden;
}

/* Columna Izquierda: Galería Marketplace */
.fb-modal-gallery {
  display: flex;
  flex-direction: column;
  background: #07080d;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  user-select: none;
}

.fb-main-viewport {
  position: relative;
  flex: 1;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
  overflow: hidden;
}

.fb-counter-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 12, 18, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 14px;
  z-index: 10;
  letter-spacing: 1px;
}

.fb-main-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.fb-main-img {
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.15));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fb-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 18, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-nav-arrow:hover {
  background: var(--gold-primary);
  color: #05070a;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.6);
}

.fb-nav-arrow.prev {
  left: 16px;
}

.fb-nav-arrow.next {
  right: 16px;
}

/* Tira de Miniaturas Inferior */
.fb-thumbnails-strip {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(10, 12, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  justify-content: center;
}

.fb-thumb-btn {
  width: 74px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #ffffff;
  cursor: pointer;
  padding: 0;
  transition: all 0.22s ease;
  flex-shrink: 0;
}

.fb-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.fb-thumb-btn:hover {
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
}

.fb-thumb-btn:hover img {
  transform: scale(1.08);
}

.fb-thumb-btn.active {
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.6);
  transform: translateY(-3px);
}

/* Columna Derecha: Detalles estilo Facebook Marketplace */
.fb-modal-sidebar {
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 90vh;
  background: #0f121a;
}

/* Barra del vendedor */
.fb-seller-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.fb-seller-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f2433, #0d0f15);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.15rem;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
  flex-shrink: 0;
}

.fb-seller-info {
  display: flex;
  flex-direction: column;
}

.fb-seller-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.fb-verified-badge {
  color: #38bdf8;
  font-size: 0.9rem;
}

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

/* Encabezado del producto */
.fb-product-header {
  margin-bottom: 18px;
}

.fb-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.fb-brand-tag {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fb-quality-tag {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.fb-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 10px;
}

.fb-modal-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.fb-price-note {
  display: block;
  font-size: 0.78rem;
  color: #4ade80;
  margin-top: 4px;
}

.fb-modal-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 16px 0;
}

/* Tallas en Modal */
.fb-modal-sizes {
  margin-bottom: 20px;
}

.fb-size-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.fb-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.fb-selected-size-text {
  font-size: 0.9rem;
  color: var(--gold-primary);
  font-weight: 700;
}

.fb-size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fb-size-btn {
  background: #171a25;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fb-size-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
}

.fb-size-btn.selected {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #07090d;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Tarjeta de Garantías */
.fb-guarantees-card {
  background: rgba(17, 21, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.fb-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fb-guarantee-item i {
  color: var(--gold-primary);
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.fb-guarantee-item div {
  display: flex;
  flex-direction: column;
}

.fb-guarantee-item strong {
  font-size: 0.82rem;
  color: #ffffff;
}

.fb-guarantee-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Botones de Acción */
.fb-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.fb-btn-whatsapp {
  flex: 1;
  background: linear-gradient(135deg, #25d366 0%, #1ea952 100%);
  color: #ffffff;
  border: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.fb-btn-whatsapp:hover {
  background: linear-gradient(135deg, #28e16d 0%, #1fb858 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.fb-btn-whatsapp i {
  font-size: 1.25rem;
}

.fb-btn-share {
  background: #171a25;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.fb-btn-share:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--gold-light);
}

.fb-order-tip {
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
}

.fb-order-tip i {
  color: var(--gold-primary);
  margin-right: 4px;
}

/* Responsive Modal (Tablets y Móviles) */
@media (max-width: 860px) {
  .fb-modal-container {
    max-height: 94vh;
  }
  .fb-modal-content {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .fb-main-viewport {
    min-height: 320px;
  }
  .fb-main-img {
    max-height: 300px;
  }
  .fb-modal-sidebar {
    max-height: none;
    padding: 20px;
  }
  .fb-modal-gallery {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 520px) {
  .fb-modal-overlay {
    padding: 10px;
  }
  .fb-modal-container {
    border-radius: 14px;
  }
  .fb-main-viewport {
    min-height: 260px;
  }
  .fb-main-img {
    max-height: 240px;
  }
  .fb-nav-arrow {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .fb-thumb-btn {
    width: 60px;
    height: 52px;
  }
  .fb-modal-title {
    font-size: 1.3rem;
  }
  .fb-modal-price {
    font-size: 1.6rem;
  }
  .fb-modal-actions {
    flex-direction: column;
  }
}


/* ========================================================
   MERCADO LIBRE STYLE COMMERCIAL SECTIONS
   ======================================================== */

/* ================= 1. Hero Promocional Slider ================= */
.ml-hero-slider-section {
  position: relative;
  background-color: #08090d;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.ml-slider-container {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.ml-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
  transform: scale(0.98);
  pointer-events: none;
  z-index: 1;
}

.ml-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.ml-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ml-slide-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  width: 100%;
}

.ml-slide-text {
  max-width: 620px;
}

.ml-badge-flash {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background-color: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ml-badge-flash i {
  color: var(--gold-primary);
}

.ml-slide-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff;
}

.ml-slide-title span {
  background: linear-gradient(90deg, #ffffff, var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ml-slide-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.ml-slide-desc strong {
  color: #4ade80;
}

.ml-slide-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.ml-btn-cta {
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
}

.ml-btn-whatsapp {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.ml-btn-whatsapp i {
  color: #25d366;
  font-size: 1.2rem;
}

.ml-slide-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ml-slide-hero-img {
  width: 100%;
  max-width: 440px;
  max-height: 380px;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.2);
  transform: rotate(-3deg);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.ml-slide:hover .ml-slide-hero-img {
  transform: rotate(0deg) scale(1.03);
}

.ml-slide-tag-float {
  position: absolute;
  bottom: -15px;
  right: 15px;
  background: rgba(10, 12, 18, 0.92);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.ml-slide-tag-float i {
  color: #4ade80;
}

/* Flechas de navegación Slider */
.ml-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10, 12, 18, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.ml-slider-arrow:hover {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.ml-slider-prev {
  left: 20px;
}

.ml-slider-next {
  right: 20px;
}

/* Dots del Slider */
.ml-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(10, 12, 18, 0.65);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ml-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ml-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.ml-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

/* ================= 2. Barra de Confianza & Beneficios ================= */
.ml-trust-strip {
  background: #0d0f15;
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.ml-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ml-trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.ml-trust-item:hover {
  background-color: rgba(212, 175, 55, 0.04);
}

.ml-trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.ml-trust-info {
  display: flex;
  flex-direction: column;
}

.ml-trust-info strong {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.ml-trust-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ================= 3. Categorías Populares (Círculos Mercado Libre) ================= */
.ml-categories-section {
  padding: 45px 0 25px;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.ml-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.ml-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
}

.ml-header-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.ml-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.ml-category-bubble {
  background: #11131a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.ml-category-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}

.ml-category-bubble:hover,
.ml-category-bubble.active {
  transform: translateY(-4px);
  background: #171a25;
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.15);
}

.ml-category-bubble:hover::before,
.ml-category-bubble.active::before {
  background: var(--gold-primary);
}

.ml-bubble-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin-bottom: 12px;
  transition: all 0.25s ease;
}

.ml-category-bubble:hover .ml-bubble-icon,
.ml-category-bubble.active .ml-bubble-icon {
  background: var(--gold-primary);
  color: #07090d;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.ml-bubble-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.ml-bubble-badge {
  font-size: 0.72rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 500;
}

/* ================= 4. Cintillo de Ofertas del Día ================= */
.ml-deals-banner {
  background: linear-gradient(90deg, #161209 0%, #201708 50%, #161209 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  padding: 24px 0;
  position: relative;
}

.ml-deals-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.ml-deals-left {
  max-width: 650px;
}

.ml-deals-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.ml-deals-left h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.ml-deals-left p {
  font-size: 0.88rem;
  color: var(--gold-light);
  opacity: 0.85;
}

.ml-deals-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ml-timer-title {
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ml-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ml-countdown-box {
  background: #090a0e;
  border: 1px solid var(--gold-primary);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.ml-countdown-box span {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.ml-countdown-box small {
  font-size: 0.65rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.ml-countdown-sep {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-primary);
}

/* ================= 6. ¿Cómo Comprar? Paso a Paso ================= */
.ml-how-to-buy {
  padding: 80px 0;
  background-color: #0b0d13;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.ml-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.ml-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 30px 22px;
  position: relative;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ml-step-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.ml-step-number {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.15);
}

.ml-step-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.ml-step-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.ml-step-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ================= 7. Testimonios & Reseñas de Clientes ================= */
.ml-reviews-section {
  padding: 80px 0;
}

.ml-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.ml-review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.ml-review-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
}

.ml-review-stars {
  color: #eab308;
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.ml-review-text {
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 22px;
  font-style: italic;
}

.ml-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.ml-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.ml-review-author strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
}

.ml-review-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ================= 8. FAQ Acordeón ================= */
.ml-faq-section {
  padding: 70px 0 90px;
  background-color: #0b0d13;
  border-top: 1px solid var(--border-subtle);
}

.ml-faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ml-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.ml-faq-item[open] {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ml-faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

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

.ml-faq-question:hover {
  color: var(--gold-primary);
}

.ml-faq-question i {
  color: var(--gold-primary);
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.ml-faq-item[open] .ml-faq-question i {
  transform: rotate(180deg);
}

.ml-faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ================= Responsive Mercado Libre ================= */
@media (max-width: 1024px) {
  .ml-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ml-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ml-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ml-reviews-grid {
    grid-template-columns: 1fr;
  }
  .ml-slide-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .ml-slider-container {
    min-height: auto;
  }
  .ml-slide {
    position: relative;
    display: none;
    inset: auto;
    transform: none;
  }
  .ml-slide.active {
    display: block;
    transform: none;
  }
  .ml-slide-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 45px 15px 35px;
    gap: 25px;
  }
  .ml-slide-text {
    max-width: 100%;
  }
  .ml-slide-title {
    font-size: 1.95rem;
  }
  .ml-slide-actions {
    justify-content: center;
  }
  .ml-slide-image-wrap {
    margin-top: 10px;
  }
  .ml-slide-hero-img {
    max-width: 290px;
    transform: none;
  }
  .ml-slider-arrow {
    display: none;
  }
  .ml-slider-dots {
    bottom: 10px;
  }
  .ml-trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ml-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .ml-category-bubble {
    padding: 16px 8px;
  }
  .ml-bubble-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  .ml-bubble-title {
    font-size: 0.85rem;
  }
  .ml-bubble-badge {
    display: none;
  }
  .ml-deals-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .ml-deals-right {
    align-items: flex-start;
  }
  .ml-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ml-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ml-slide-title {
    font-size: 1.7rem;
  }
  .ml-slide-actions .btn-gold,
  .ml-slide-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
}


/* ========================================================
   THEME TOGGLE BUTTON & LIGHT THEME STYLES
   ======================================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: #ffffff;
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.theme-toggle-btn i {
  transition: transform 0.4s ease, color 0.3s ease;
}

/* ================= VARIABLES & OVERRIDES PARA TEMA CLARO ================= */
body.light-theme {
  --bg-dark: #f8f9fc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --gold-primary: #b8860b;
  --gold-light: #856404;
  --gold-dark: #7a5808;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: rgba(184, 134, 11, 0.35);
  --border-subtle: #e2e8f0;
  background-color: #f8f9fc;
  color: #0f172a;
}

/* Header & Banner Superior en Modo Claro */
body.light-theme .top-banner {
  background: linear-gradient(90deg, #f1f5f9, #ffffff, #f1f5f9);
  color: #854d0e;
  border-bottom: 1px solid #e2e8f0;
}

body.light-theme .header {
  background: radial-gradient(circle at 50% 0%, rgba(254, 243, 199, 0.5) 0%, rgba(255, 255, 255, 0.98) 85%);
  border-bottom: 1px solid rgba(184, 134, 11, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-theme .nav {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(184, 134, 11, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-theme .nav-link {
  color: #1e293b;
  text-shadow: none;
}

body.light-theme .nav-link:hover,
body.light-theme .nav-link.active {
  color: #0f172a;
  background: rgba(184, 134, 11, 0.12);
  border-color: rgba(184, 134, 11, 0.6);
  box-shadow: 0 0 12px rgba(184, 134, 11, 0.25);
}

body.light-theme .nav-link i {
  color: #b8860b;
}

body.light-theme .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(184, 134, 11, 0.5);
  color: #854d0e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-theme .theme-toggle-btn:hover {
  background: rgba(184, 134, 11, 0.15);
  color: #78350f;
  box-shadow: 0 0 12px rgba(184, 134, 11, 0.35);
}

/* Slider Hero en Modo Claro */
body.light-theme .ml-hero-slider-section {
  background-color: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

body.light-theme .ml-slide-bg {
  opacity: 0.5;
}

body.light-theme .ml-slide-title {
  color: #0f172a;
}

body.light-theme .ml-slide-title span {
  background: linear-gradient(90deg, #0f172a, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .ml-slide-desc {
  color: #475569;
}

body.light-theme .ml-badge-flash {
  background-color: rgba(184, 134, 11, 0.1);
  border-color: rgba(184, 134, 11, 0.4);
  color: #854d0e;
}

body.light-theme .ml-slide-hero-img {
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 25px rgba(184, 134, 11, 0.15);
}

body.light-theme .ml-slide-tag-float {
  background: rgba(255, 255, 255, 0.95);
  border-color: #b8860b;
  color: #78350f;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

body.light-theme .btn-outline {
  border-color: #cbd5e1;
  color: #1e293b;
  background: #ffffff;
}

body.light-theme .btn-outline:hover {
  border-color: #b8860b;
  background: rgba(184, 134, 11, 0.08);
  color: #0f172a;
}

body.light-theme .ml-slider-arrow {
  background: rgba(255, 255, 255, 0.88);
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body.light-theme .ml-slider-arrow:hover {
  background: #b8860b;
  color: #ffffff;
}

body.light-theme .ml-slider-dots {
  background: rgba(255, 255, 255, 0.85);
  border-color: #cbd5e1;
}

body.light-theme .ml-dot {
  background: rgba(0, 0, 0, 0.25);
}

body.light-theme .ml-dot.active {
  background: #b8860b;
}

/* Barra de Confianza en Modo Claro */
body.light-theme .ml-trust-strip {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

body.light-theme .ml-trust-item:hover {
  background-color: #f8fafc;
}

body.light-theme .ml-trust-icon {
  background: rgba(184, 134, 11, 0.1);
  border-color: rgba(184, 134, 11, 0.3);
  color: #b8860b;
}

body.light-theme .ml-trust-info strong {
  color: #0f172a;
}

body.light-theme .ml-trust-info span {
  color: #64748b;
}

/* Categorías en Modo Claro */
body.light-theme .ml-categories-section {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

body.light-theme .ml-section-title {
  color: #0f172a;
}

body.light-theme .ml-header-sub {
  color: #64748b;
}

body.light-theme .ml-category-bubble {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.light-theme .ml-category-bubble:hover,
body.light-theme .ml-category-bubble.active {
  background: #ffffff;
  border-color: #b8860b;
  box-shadow: 0 10px 25px rgba(184, 134, 11, 0.15);
}

body.light-theme .ml-bubble-icon {
  background: rgba(184, 134, 11, 0.08);
  border-color: rgba(184, 134, 11, 0.25);
  color: #b8860b;
}

body.light-theme .ml-category-bubble:hover .ml-bubble-icon,
body.light-theme .ml-category-bubble.active .ml-bubble-icon {
  background: #b8860b;
  color: #ffffff;
}

body.light-theme .ml-bubble-title {
  color: #0f172a;
}

body.light-theme .ml-bubble-badge {
  color: #854d0e;
  background: rgba(184, 134, 11, 0.1);
}

/* Ofertas del Día en Modo Claro */
body.light-theme .ml-deals-banner {
  background: linear-gradient(90deg, #fef3c7 0%, #fffbeb 50%, #fef3c7 100%);
  border-color: rgba(184, 134, 11, 0.35);
}

body.light-theme .ml-deals-left h3 {
  color: #0f172a;
}

body.light-theme .ml-deals-left p {
  color: #78350f;
}

body.light-theme .ml-timer-title {
  color: #78350f;
}

body.light-theme .ml-countdown-box {
  background: #ffffff;
  border-color: #b8860b;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.15);
}

body.light-theme .ml-countdown-box span {
  color: #0f172a;
}

body.light-theme .ml-countdown-box small {
  color: #b8860b;
}

body.light-theme .ml-countdown-sep {
  color: #b8860b;
}

/* Catálogo & Productos en Modo Claro */
body.light-theme .catalog-section {
  background-color: #f8f9fc;
}

body.light-theme .section-title {
  color: #0f172a;
}

body.light-theme .section-description {
  color: #64748b;
}

body.light-theme .search-input {
  background-color: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

body.light-theme .search-input:focus {
  border-color: #b8860b;
  box-shadow: 0 0 15px rgba(184, 134, 11, 0.25);
  background-color: #ffffff;
}

body.light-theme .filter-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

body.light-theme .filter-btn:hover,
body.light-theme .filter-btn.active {
  background: #b8860b;
  color: #ffffff;
  border-color: #b8860b;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

body.light-theme .product-counter {
  background: rgba(184, 134, 11, 0.08);
  border-color: rgba(184, 134, 11, 0.3);
  color: #78350f;
}

body.light-theme .product-card {
  background-color: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-theme .product-card:hover {
  border-color: rgba(184, 134, 11, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

body.light-theme .product-img-wrapper {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

body.light-theme .product-badge {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(184, 134, 11, 0.4);
  color: #78350f;
}

body.light-theme .product-name {
  color: #0f172a;
}

body.light-theme .product-price {
  color: #b8860b;
}

body.light-theme .product-brand {
  color: #b8860b;
}

body.light-theme .size-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}

body.light-theme .size-btn:hover {
  border-color: #b8860b;
  color: #b8860b;
}

body.light-theme .size-btn.selected {
  background: #b8860b;
  border-color: #b8860b;
  color: #ffffff;
}

body.light-theme .card-arrow {
  background: rgba(255, 255, 255, 0.88);
  border-color: #cbd5e1;
  color: #0f172a;
}

body.light-theme .card-arrow:hover {
  background: #b8860b;
  border-color: #b8860b;
  color: #ffffff;
}

body.light-theme .card-zoom-btn {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(184, 134, 11, 0.4);
  color: #b8860b;
}

body.light-theme .card-zoom-btn:hover {
  background: #b8860b;
  color: #ffffff;
}

body.light-theme .card-dots {
  background: rgba(255, 255, 255, 0.85);
  border-color: #cbd5e1;
}

body.light-theme .card-dot {
  background: rgba(0, 0, 0, 0.25);
}

body.light-theme .card-dot.active {
  background: #b8860b;
}

body.light-theme .card-view-details-link {
  color: #b8860b;
}

body.light-theme .card-view-details-link:hover {
  color: #78350f;
}

/* ¿Cómo Comprar? en Modo Claro */
body.light-theme .ml-how-to-buy {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
}

body.light-theme .ml-step-card {
  background-color: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

body.light-theme .ml-step-card:hover {
  border-color: #b8860b;
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.12);
}

body.light-theme .ml-step-number {
  color: rgba(184, 134, 11, 0.18);
}

body.light-theme .ml-step-icon {
  background: rgba(184, 134, 11, 0.1);
  border-color: rgba(184, 134, 11, 0.3);
  color: #b8860b;
}

body.light-theme .ml-step-card h3 {
  color: #0f172a;
}

body.light-theme .ml-step-card p {
  color: #64748b;
}

/* Reseñas en Modo Claro */
body.light-theme .ml-reviews-section {
  background-color: #f8fafc;
}

body.light-theme .ml-review-card {
  background-color: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

body.light-theme .ml-review-card:hover {
  border-color: rgba(184, 134, 11, 0.4);
}

body.light-theme .ml-review-text {
  color: #334155;
}

body.light-theme .ml-author-avatar {
  background: rgba(184, 134, 11, 0.12);
  border-color: #b8860b;
  color: #b8860b;
}

body.light-theme .ml-review-author strong {
  color: #0f172a;
}

body.light-theme .ml-review-author span {
  color: #64748b;
}

/* FAQ en Modo Claro */
body.light-theme .ml-faq-section {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
}

body.light-theme .ml-faq-item {
  background-color: #ffffff;
  border-color: #e2e8f0;
}

body.light-theme .ml-faq-item[open] {
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

body.light-theme .ml-faq-question {
  color: #0f172a;
}

body.light-theme .ml-faq-question:hover {
  color: #b8860b;
}

body.light-theme .ml-faq-answer {
  color: #475569;
}

/* Modal en Modo Claro */
body.light-theme .fb-modal-container {
  background: #ffffff;
  border-color: rgba(184, 134, 11, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

body.light-theme .fb-modal-sidebar {
  background: #ffffff;
}

body.light-theme .fb-main-viewport {
  background: radial-gradient(circle at center, #f8fafc 0%, #e2e8f0 80%);
}

body.light-theme .fb-modal-title {
  color: #0f172a;
}

body.light-theme .fb-modal-price {
  color: #b8860b;
}

body.light-theme .fb-seller-name {
  color: #0f172a;
}

body.light-theme .fb-seller-sub {
  color: #64748b;
}

body.light-theme .fb-guarantees-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

body.light-theme .fb-guarantee-item strong {
  color: #0f172a;
}

body.light-theme .fb-guarantee-item span {
  color: #64748b;
}

body.light-theme .fb-size-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.light-theme .fb-size-btn.selected {
  background: #b8860b;
  border-color: #b8860b;
  color: #ffffff;
}

body.light-theme .fb-btn-share {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.light-theme .fb-btn-share:hover {
  background: rgba(184, 134, 11, 0.12);
  color: #78350f;
}

body.light-theme .fb-counter-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border-color: #b8860b;
}

body.light-theme .fb-thumbnails-strip {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

body.light-theme .fb-modal-close {
  background: rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
  color: #0f172a;
}


/* Ajuste móvil para botones en cabecera */
@media (max-width: 480px) {
  .header-actions {
    gap: 8px;
  }
  .theme-toggle-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .btn-primary-sm {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
}


/* ================= TOP BANNER CONTAINER & THEME BUTTON ================= */
.top-banner {
  padding: 6px 15px;
}

.top-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.top-banner-text {
  flex: 1;
  text-align: center;
  font-size: 0.84rem;
}

.top-theme-btn {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-theme-btn:hover {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  transform: translateY(-1px);
}

.top-theme-btn i {
  font-size: 0.8rem;
  color: var(--gold-primary);
}

.top-theme-btn:hover i {
  color: #000;
}

/* Modo Claro en Top Bar */
body.light-theme .top-banner {
  background: linear-gradient(90deg, #f1f5f9, #ffffff, #f1f5f9);
  color: #854d0e;
  border-bottom: 1px solid #e2e8f0;
}

body.light-theme .top-theme-btn {
  background: rgba(184, 134, 11, 0.1);
  border-color: rgba(184, 134, 11, 0.4);
  color: #854d0e;
}

body.light-theme .top-theme-btn:hover {
  background: #b8860b;
  color: #ffffff;
}

body.light-theme .top-theme-btn i {
  color: #854d0e;
}

body.light-theme .top-theme-btn:hover i {
  color: #ffffff;
}

@media (max-width: 768px) {
  .top-banner-container {
    justify-content: space-between;
    gap: 8px;
  }
  .top-banner-text {
    font-size: 0.75rem;
    text-align: left;
    line-height: 1.3;
  }
  .top-theme-btn {
    padding: 4px 8px;
    font-size: 0.72rem;
  }
  .top-theme-btn span {
    display: none;
  }
}


/* ========================================================
   LIGHT THEME NAV & HEADER - HIGH CONTRAST & STRIKING ELEGANCE
   ======================================================== */

body.light-theme .header {
  background: linear-gradient(180deg, #ffffff 0%, #fbf9f4 100%) !important;
  border-bottom: 2px solid rgba(184, 134, 11, 0.45) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07), 0 1px 0 rgba(184, 134, 11, 0.2) !important;
}

/* Circuito SVG en Modo Claro: Líneas nítidas oro bruñido sin manchas borrosas */
body.light-theme .circuit-mouse-glow {
  opacity: 0.12 !important;
  background: radial-gradient(circle 280px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.25), transparent 70%) !important;
}

body.light-theme .circuit-traces path {
  stroke: #b45309 !important;
  opacity: 0.5 !important;
}

body.light-theme .circuit-pulses path {
  stroke: #d97706 !important;
  opacity: 0.45 !important;
  filter: none !important;
}

body.light-theme .circuit-pads circle {
  fill: #b45309 !important;
  stroke: #78350f !important;
}

body.light-theme .circuit-crosshairs path {
  stroke: #b45309 !important;
  opacity: 0.5 !important;
}

body.light-theme .circuit-grid-lines path {
  stroke: rgba(180, 83, 9, 0.2) !important;
}

body.light-theme .circuit-telemetry text {
  fill: #92400e !important;
  opacity: 0.75 !important;
  font-weight: 700 !important;
}

body.light-theme .circuit-glowing-orbs circle:first-child {
  opacity: 0.3 !important;
}

body.light-theme .circuit-glowing-orbs circle:last-child {
  fill: #d97706 !important;
  opacity: 0.85 !important;
  filter: none !important;
}

body.light-theme .grid-star-flare path {
  fill: #b45309 !important;
  filter: none !important;
}

body.light-theme .grid-star-flare line {
  stroke: #b45309 !important;
}

body.light-theme .circuit-bottom-line {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(184, 134, 11, 0.4) 25%, 
    rgba(184, 134, 11, 0.7) 50%, 
    rgba(184, 134, 11, 0.4) 75%, 
    transparent 100%
  ) !important;
}

body.light-theme .circuit-beam {
  background: linear-gradient(90deg, transparent, #b8860b, #d4af37, #b8860b, transparent) !important;
  box-shadow: 0 0 10px rgba(184, 134, 11, 0.6) !important;
}

/* Logotipo en Modo Claro: Se vuelve oscuro (negro profundo) para resaltar con máxima nitidez */
body.light-theme .header .logo-img,
body.light-theme .logo-img:not(.footer-logo-img) {
  filter: brightness(0) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2)) !important;
  opacity: 0.95 !important;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease !important;
}

body.light-theme .header .logo:hover .logo-img,
body.light-theme .logo:hover .logo-img:not(.footer-logo-img) {
  transform: scale(1.05) !important;
  filter: brightness(0) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35)) !important;
  opacity: 1 !important;
}

/* El logo del footer siempre permanece dorado con brillo sobre el fondo oscuro */
body.light-theme .footer .logo-img,
body.light-theme .footer-logo-img {
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5)) !important;
  opacity: 1 !important;
}

/* Cápsula de Navegación Principal (.nav) en Modo Claro: Ultra Nítida y con Relieve */
body.light-theme .nav {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1.5px solid rgba(184, 134, 11, 0.55) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.09), 0 0 16px rgba(184, 134, 11, 0.18), inset 0 1px 1px #ffffff !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* Enlaces del Nav Inactivos: Texto 100% Negro Profundo y Ultra Legible */
body.light-theme .nav-link {
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.3px !important;
  text-shadow: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 8px 20px !important;
}

body.light-theme .nav-link i {
  color: #000000 !important;
  font-size: 0.95rem !important;
  filter: none !important;
  transition: all 0.25s ease !important;
}

body.light-theme .nav-link::before {
  background: #000000 !important;
  opacity: 0.6 !important;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4) !important;
}

/* Hover de Enlaces: Acento Dorado Suave manteniendo la letra negra */
body.light-theme .nav-link:hover {
  color: #000000 !important;
  background: rgba(212, 175, 55, 0.22) !important;
  border-color: rgba(184, 134, 11, 0.6) !important;
  box-shadow: 0 2px 10px rgba(184, 134, 11, 0.2) !important;
  transform: translateY(-1px) !important;
}

body.light-theme .nav-link:hover i {
  color: #000000 !important;
  transform: scale(1.15) !important;
}

body.light-theme .nav-link:hover::before {
  background: #000000 !important;
  opacity: 1 !important;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5) !important;
}

/* Enlace Activo: Medalla Dorada de Alto Impacto con Letra Negra */
body.light-theme .nav-link.active {
  color: #000000 !important;
  background: linear-gradient(135deg, #fce588 0%, #eab308 50%, #ca8a04 100%) !important;
  border: 1px solid #a16207 !important;
  box-shadow: 0 4px 14px rgba(202, 138, 4, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  transform: translateY(-1px) !important;
}

body.light-theme .nav-link.active i {
  color: #000000 !important;
  filter: none !important;
  transform: scale(1.15) !important;
}

body.light-theme .nav-link.active::before {
  background: #000000 !important;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5) !important;
  opacity: 1 !important;
}

/* Botón "Ver Catálogo" en Cabecera (Modo Claro): Verde con Letra Negra */
body.light-theme .btn-primary-sm {
  background: #25d366 !important;
  background: linear-gradient(135deg, #2ae16f 0%, #1ebc59 100%) !important;
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

body.light-theme .btn-primary-sm i {
  color: #000000 !important;
}

body.light-theme .btn-primary-sm:hover {
  background: linear-gradient(135deg, #1ebc59 0%, #17a34a 100%) !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45) !important;
}

body.light-theme .btn-primary-sm:hover i {
  color: #000000 !important;
}


/* ========================================================
   CONSULTAR PRECIO & PEDIDO WHATSAPP DIRECTO
   ======================================================== */
.product-consult-price {
  font-size: 0.96rem !important;
  font-weight: 700;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  user-select: none;
}

.product-consult-price i {
  color: #25d366;
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.product-consult-price:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.product-consult-price:hover i {
  transform: scale(1.2);
}

.fb-modal-price.fb-modal-consult-price {
  font-size: 1.45rem !important;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.fb-modal-price.fb-modal-consult-price i {
  color: #25d366;
  font-size: 1.6rem;
}

.fb-modal-price.fb-modal-consult-price:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Modo Claro: Consultar Precio */
body.light-theme .product-consult-price {
  color: #0f172a !important;
}

body.light-theme .product-consult-price:hover {
  color: #15803d !important;
}

body.light-theme .fb-modal-price.fb-modal-consult-price {
  color: #0f172a !important;
}

body.light-theme .fb-modal-price.fb-modal-consult-price:hover {
  color: #15803d !important;
}


/* ========================================================
   MODO CLARO: ENCABEZADO DE CATÁLOGO & TÍTULOS VISIBLES
   ======================================================== */
body.light-theme .catalog-page-hero {
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.2) 0%, #f8f9fc 70%) !important;
}

body.light-theme .catalog-page-hero .badge-tag,
body.light-theme .badge-tag {
  background-color: rgba(184, 134, 11, 0.12) !important;
  border-color: rgba(184, 134, 11, 0.45) !important;
  color: #78350f !important;
  font-weight: 700 !important;
}

body.light-theme .catalog-page-title {
  color: #000000 !important;
  background: linear-gradient(90deg, #000000 35%, #b45309 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08)) !important;
}

body.light-theme .catalog-page-subtitle {
  color: #334155 !important;
  font-weight: 500 !important;
}

body.light-theme .catalog-page-subtitle strong {
  color: #15803d !important;
}

body.light-theme .section-tag {
  color: #b45309 !important;
  font-weight: 700 !important;
}

body.light-theme .section-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.light-theme .section-description {
  color: #475569 !important;
}

/* ========================================================
   ACOMODACIÓN Y ENCUADRE ÓPTIMO DE IMÁGENES EN CARDS Y CATÁLOGO
   Fotos de calzado con fondo blanco puro y encuadre completo (sin recortes)
   ======================================================== */

/* Contenedor de la foto en la tarjeta */
.product-card .product-img-wrapper {
  background-color: #ffffff !important;
  height: 245px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
  padding: 14px 18px !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22) !important;
}

body.light-theme .product-card .product-img-wrapper {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Imagen del calzado: siempre visible al 100% (contain) y centrada */
.product-card .product-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08)) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease !important;
}

/* Efecto hover suave y tridimensional al posar el mouse */
.product-card:hover .product-img {
  transform: scale(1.08) translateY(-4px) !important;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.16)) !important;
}

/* Insignia de Calidad (AAA) con contraste superior sobre el fondo blanco */
.product-card .product-badge {
  background-color: rgba(10, 12, 18, 0.88) !important;
  color: #fceea7 !important;
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  z-index: 5 !important;
}

body.light-theme .product-card .product-badge {
  background-color: #ffffff !important;
  color: #78350f !important;
  border: 1px solid rgba(184, 134, 11, 0.45) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Botón flotante de lupa / modal con alto contraste */
.product-card .card-zoom-btn {
  background: rgba(10, 12, 18, 0.88) !important;
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
  color: var(--gold-primary) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  z-index: 6 !important;
}

.product-card .card-zoom-btn:hover {
  background: var(--gold-primary) !important;
  color: #000000 !important;
  border-color: var(--gold-primary) !important;
  transform: scale(1.12) !important;
}

body.light-theme .product-card .card-zoom-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #b8860b !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .product-card .card-zoom-btn:hover {
  background: #b8860b !important;
  color: #ffffff !important;
  border-color: #b8860b !important;
}

/* Flechas de navegación en minicarrusel de tarjeta */
.product-card .card-arrow {
  background: rgba(10, 12, 18, 0.85) !important;
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  z-index: 6 !important;
}

.product-card .card-arrow:hover {
  background: var(--gold-primary) !important;
  color: #000000 !important;
  border-color: var(--gold-primary) !important;
  transform: translateY(-50%) scale(1.12) !important;
}

body.light-theme .product-card .card-arrow {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
}

body.light-theme .product-card .card-arrow:hover {
  background: #b8860b !important;
  color: #ffffff !important;
  border-color: #b8860b !important;
}

/* Puntos indicadores (Dots) del carrusel en tarjeta */
.product-card .card-dots {
  background: rgba(10, 12, 18, 0.85) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
  z-index: 5 !important;
}

body.light-theme .product-card .card-dots {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Hero Slider: fotos destacadas con encuadre completo */
.ml-slide-hero-img {
  object-fit: contain !important;
  background-color: #ffffff !important;
  padding: 18px 22px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.2) !important;
}

/* Modal flotante Marketplace: visor de fotos y miniaturas */
.fb-main-viewport {
  background: radial-gradient(circle at center, #ffffff 0%, #f4f6fa 100%) !important;
}

.fb-main-img {
  object-fit: contain !important;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.14)) !important;
}

.fb-thumb-btn {
  background: #ffffff !important;
  border: 2px solid rgba(212, 175, 55, 0.35) !important;
  padding: 3px !important;
}

.fb-thumb-btn img {
  object-fit: contain !important;
}

/* ========================================================
   SISTEMA DE ZOOM INTERACTIVO EN EL MISMO RECUADRO
   Zoom fluido con seguimiento de cursor dentro del recuadro (Modal & Cards)
   ======================================================== */

/* Contenedor del visor principal en el Modal (Escenario tipo Marketplace) */
.fb-main-viewport {
  position: relative !important;
  flex: 1 !important;
  min-height: 440px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #08090d !important;
  padding: 18px 24px !important;
  overflow: hidden !important;
}

body.light-theme .fb-main-viewport {
  background: #eef2f6 !important;
}

/* Recuadro blanco central donde se encuadra y amplía el calzado */
.fb-main-img-wrap {
  width: 100% !important;
  height: 100% !important;
  max-width: 640px !important;
  max-height: 440px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 22px 30px !important;
  background-color: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.1) !important;
  overflow: hidden !important; /* Zoom estricto dentro del mismo recuadro */
  cursor: zoom-in !important;
  position: relative !important;
  user-select: none !important;
}

body.light-theme .fb-main-img-wrap {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Imagen en el modal con origen de transformación dinámico que sigue el mouse */
.fb-main-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  transform-origin: center center;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12)) !important;
  pointer-events: none !important; /* Permite capturar coordenadas fluidas en el recuadro */
  will-change: transform, transform-origin;
}

/* Insignia indicadora de zoom en el recuadro */
.fb-zoom-lens-badge {
  position: absolute;
  bottom: 14px;
  right: 16px;
  background: rgba(10, 12, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #f7e7a9;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  z-index: 8;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.fb-main-img-wrap.is-zooming .fb-zoom-lens-badge {
  opacity: 0.25;
  transform: scale(0.9);
}

body.light-theme .fb-zoom-lens-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: #cbd5e1;
  color: #78350f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Zoom interactivo en las tarjetas del catálogo (dentro del recuadro de la card) */
.product-card .product-img-wrapper {
  overflow: hidden !important;
  cursor: zoom-in !important;
}

.product-card .product-img {
  transform-origin: center center;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease !important;
  pointer-events: none !important;
  will-change: transform, transform-origin;
}

/* ========================================================
   REDES SOCIALES OFICIALES (FACEBOOK, INSTAGRAM, TIKTOK)
   Iconos interactivos con colores oficiales y efectos de brillo
   ======================================================== */

/* --- 1. Redes en el Top Banner Superior --- */
.top-banner-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.top-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.top-social-link:hover {
  background: var(--gold-primary);
  color: #000000;
  border-color: var(--gold-primary);
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

body.light-theme .top-social-link {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(184, 134, 11, 0.35);
  color: #78350f;
}

body.light-theme .top-social-link:hover {
  background: #b8860b;
  color: #ffffff;
  border-color: #b8860b;
  box-shadow: 0 3px 10px rgba(184, 134, 11, 0.3);
}

/* --- 2. Redes Sociales en el Footer --- */
.footer-social-links {
  margin-top: 20px;
}

.footer-social-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.light-theme .footer-social-title {
  color: #b45309;
}

.social-icons-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* Efecto hover personalizado por marca */
.social-icon-btn.facebook:hover {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.5) !important;
}

.social-icon-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: #dc2743 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.5) !important;
}

.social-icon-btn.tiktok:hover {
  background: #000000 !important;
  border-color: #00f2fe !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1);
  box-shadow: -2px 2px 12px rgba(254, 44, 85, 0.6), 2px -2px 12px rgba(0, 242, 254, 0.6) !important;
}

body.light-theme .social-icon-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.footer-nav-links a:hover {
  color: var(--gold-primary);
  transform: translateX(4px);
}

body.light-theme .footer-nav-links a {
  color: #475569;
}

body.light-theme .footer-nav-links a:hover {
  color: #b45309;
}

/* --- 3. Redes Sociales en el Modal Marketplace (Ficha de Vendedor) --- */
.fb-seller-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.fb-seller-social-link {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fb-seller-social-link.fb-soc-fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.fb-seller-social-link.fb-soc-ig:hover {
  background: #e1306c;
  border-color: #e1306c;
  color: #ffffff;
}

.fb-seller-social-link.fb-soc-tk:hover {
  background: #000000;
  border-color: #00f2fe;
  color: #00f2fe;
}

body.light-theme .fb-seller-social-link {
  background: rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
  color: #475569;
}

/* Responsividad para móviles en barra superior */
@media (max-width: 600px) {
  .top-banner-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .top-banner-right {
    width: 100%;
    justify-content: center;
  }
}


/* ========================================================
   MODO CLARO: CORRECCIÓN DE CONTRASTE DE TEXTO Y BENEFICIOS
   Evita textos oscuros sobre fondos oscuros (barra de confianza y footer)
   ======================================================== */

/* 1. Barra de Confianza & Beneficios en Catálogo (.trust-bar-section) */
.trust-bar-section,
body.light-theme .trust-bar-section {
  background: #0d0e13 !important;
  border-top: 1px solid #24262d !important;
  border-bottom: 1px solid #24262d !important;
}

.trust-bar-section .hero-highlights,
body.light-theme .trust-bar-section .hero-highlights {
  border-top: 1px solid #24262d !important;
}

.trust-bar-section .highlight-item strong,
body.light-theme .trust-bar-section .highlight-item strong,
body.light-theme .highlight-item strong,
.highlight-item strong {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.2px !important;
}

.trust-bar-section .highlight-item span,
body.light-theme .trust-bar-section .highlight-item span,
body.light-theme .highlight-item span,
.highlight-item span {
  color: #e2e8f0 !important;
  font-size: 0.8rem !important;
  line-height: 1.4 !important;
  opacity: 0.95 !important;
}

.trust-bar-section .highlight-item i,
body.light-theme .trust-bar-section .highlight-item i,
body.light-theme .highlight-item i,
.highlight-item i {
  color: #fceea7 !important;
  font-size: 1.6rem !important;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.45)) !important;
}

/* 2. Barra de Confianza en Inicio (.ml-trust-strip) en Modo Claro */
body.light-theme .ml-trust-info strong {
  color: #000000 !important;
  font-weight: 800 !important;
}

body.light-theme .ml-trust-info span {
  color: #334155 !important;
  font-weight: 500 !important;
}

/* 3. Footer en Modo Claro: Mantener textos 100% nítidos sobre fondo negro */
body.light-theme .footer {
  background-color: #070709 !important;
  color: #f5f5f7 !important;
  border-top: 1px solid #1e2028 !important;
}

body.light-theme .footer-desc {
  color: #cbd5e1 !important;
}

body.light-theme .footer-col h4 {
  color: #f3e5ab !important;
}

body.light-theme .footer-col p {
  color: #cbd5e1 !important;
}

body.light-theme .footer-col p i {
  color: #d4af37 !important;
}

body.light-theme .footer-nav-links a {
  color: #cbd5e1 !important;
}

body.light-theme .footer-nav-links a:hover {
  color: #ffd700 !important;
  transform: translateX(4px);
}

body.light-theme .footer-social-title {
  color: #f3e5ab !important;
}

body.light-theme .footer-bottom p {
  color: #94a3b8 !important;
}

/* 4. Etiqueta Contra Entrega y Tooltips en Modo Claro */
body.light-theme .product-delivery-tag {
  color: #15803d !important;
  background: rgba(22, 163, 74, 0.12) !important;
  border-color: rgba(22, 163, 74, 0.35) !important;
  font-weight: 600 !important;
}

body.light-theme .floating-tooltip {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .toast-notification {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #b8860b !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}


/* ========================================================
   FONDO Y PADDING TOTALMENTE BLANCO PURO PARA IMÁGENES
   Lienzo 100% blanco (#ffffff) sin bordes grises ni cortes
   ======================================================== */

/* 1. Modal: Visor Principal y Galería 100% Blanco */
.fb-modal-gallery,
body.light-theme .fb-modal-gallery {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
}

.fb-main-viewport,
body.light-theme .fb-main-viewport {
  background: #ffffff !important;
  background-color: #ffffff !important;
  padding: 0 !important;
}

.fb-main-img-wrap,
body.light-theme .fb-main-img-wrap {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: 24px 30px !important;
}

.fb-main-img,
body.light-theme .fb-main-img {
  filter: none !important;
  background: transparent !important;
}

/* Flechas y Contadores del Modal con alto contraste sobre fondo blanco */
.fb-main-viewport .fb-nav-arrow {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

.fb-main-viewport .fb-nav-arrow:hover {
  background: var(--gold-primary) !important;
  color: #000000 !important;
  border-color: var(--gold-primary) !important;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.5) !important;
}

.fb-main-viewport .fb-counter-badge {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #ffffff !important;
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

/* 2. Tarjetas de Producto en Catálogo: Padding y Contenedor 100% Blanco */
.product-card .product-img-wrapper,
body.light-theme .product-card .product-img-wrapper {
  background: #ffffff !important;
  background-color: #ffffff !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.product-card .product-img,
body.light-theme .product-card .product-img {
  background: transparent !important;
  filter: none !important;
}

/* 3. Slider Hero: Fondo de calzado 100% blanco */
.ml-slide-hero-img,
body.light-theme .ml-slide-hero-img {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}


/* ========================================================
   BANNER OFICIAL EN CABECERA DEL CATÁLOGO (banner.jfif)
   ======================================================== */
.catalog-page-hero {
  padding: 30px 0 25px;
  text-align: center;
  position: relative;
}

.catalog-banner-wrapper {
  margin: 0 auto 30px;
  max-width: 1200px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(212, 175, 55, 0.15);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  background-color: #0b0d14;
}

.catalog-banner-wrapper:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.28);
}

.catalog-banner-link {
  display: block;
  width: 100%;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
}

.catalog-banner-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.catalog-banner-wrapper:hover .catalog-banner-img {
  transform: scale(1.015);
}

body.light-theme .catalog-banner-wrapper {
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
}

body.light-theme .catalog-banner-wrapper:hover {
  border-color: #b8860b;
  box-shadow: 0 14px 35px rgba(184, 134, 11, 0.18);
}

.catalog-hero-text-wrap {
  max-width: 850px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .catalog-page-hero {
    padding: 20px 0 15px;
  }
  .catalog-banner-wrapper {
    margin-bottom: 20px;
    border-radius: 12px;
  }
  .catalog-banner-img {
    max-height: 240px;
  }
}


/* Espaciado optimizado para el banner superior y encabezado dentro de la sección catálogo */
.catalog-page-hero {
  padding: 25px 0 10px !important;
}

.catalog-banner-wrapper {
  margin: 0 auto 10px !important;
}

.catalog-header-in-section {
  margin-bottom: 25px !important;
  text-align: center !important;
}


/* Ocultar contador de referencias */
.catalog-meta,
.product-counter {
  display: none !important;
}


/* Ocultar barra de beneficios/confianza */
.ml-trust-strip {
  display: none !important;
}


/* ========================================================
   BOTÓN DESTACADO PARA DIRECCIONAR AL CATÁLOGO COMPLETO
   ======================================================== */
.catalog-cta-wrapper {
  text-align: center;
  margin-top: 45px;
  position: relative;
  z-index: 5;
}

.btn-view-catalog-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 60%, #aa8c2c 100%);
  color: #08090d !important;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35), 0 0 15px rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-view-catalog-full i {
  font-size: 1.15rem;
  transition: transform 0.3s ease;
}

.btn-view-catalog-full:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.55), 0 0 25px rgba(255, 215, 0, 0.35);
  color: #000000 !important;
  border-color: #ffffff;
}

.btn-view-catalog-full:hover i.fa-arrow-right {
  transform: translateX(5px);
}

.btn-view-catalog-full:hover i.fa-shoe-prints {
  transform: rotate(-10deg);
}

body.light-theme .btn-view-catalog-full {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff !important;
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25), 0 0 15px rgba(212, 175, 55, 0.2);
}

body.light-theme .btn-view-catalog-full:hover {
  background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.35), 0 0 20px rgba(212, 175, 55, 0.3);
  border-color: var(--gold-primary);
}


/* ========================================================
   MODO CLARO: HERO SLIDER PREMIUM (ELIMINACIÓN DE FONDO GRIS OPACO)
   ======================================================== */
body.light-theme .ml-hero-slider-section {
  background: #ffffff !important;
  background: radial-gradient(circle at 75% 35%, rgba(254, 243, 199, 0.55) 0%, rgba(255, 255, 255, 0.98) 60%), linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%) !important;
  border-bottom: 1px solid rgba(184, 134, 11, 0.25) !important;
}

/* Anular el gradiente oscuro inline de cada slide en modo claro */
body.light-theme .ml-slide-bg {
  opacity: 1 !important;
  background: none !important;
}

body.light-theme .ml-slide[data-slide="0"] .ml-slide-bg {
  background: radial-gradient(circle at 75% 50%, rgba(212, 175, 55, 0.16) 0%, transparent 65%), linear-gradient(90deg, #ffffff 0%, #faf8f5 55%, rgba(255, 255, 255, 0) 100%) !important;
}

body.light-theme .ml-slide[data-slide="1"] .ml-slide-bg {
  background: radial-gradient(circle at 75% 50%, rgba(168, 85, 247, 0.16) 0%, transparent 65%), linear-gradient(90deg, #ffffff 0%, #faf5ff 55%, rgba(255, 255, 255, 0) 100%) !important;
}

body.light-theme .ml-slide[data-slide="2"] .ml-slide-bg {
  background: radial-gradient(circle at 75% 50%, rgba(56, 189, 248, 0.16) 0%, transparent 65%), linear-gradient(90deg, #ffffff 0%, #f0f9ff 55%, rgba(255, 255, 255, 0) 100%) !important;
}

/* Tipografía y Textos del Hero en Modo Claro */
body.light-theme .ml-slide-title {
  color: #0a0e1a !important;
}

body.light-theme .ml-slide-title span {
  background: linear-gradient(90deg, #0a0e1a 10%, #b8860b 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.light-theme .ml-slide-desc {
  color: #334155 !important;
  font-weight: 500 !important;
}

body.light-theme .ml-slide-desc strong {
  color: #15803d !important;
  font-weight: 700 !important;
}

/* Badges e Insignias del Hero en Modo Claro */
body.light-theme .ml-badge-flash {
  background-color: rgba(184, 134, 11, 0.12) !important;
  border-color: rgba(184, 134, 11, 0.45) !important;
  color: #78350f !important;
  font-weight: 800 !important;
}

body.light-theme .ml-slide[data-slide="1"] .ml-badge-flash {
  background: rgba(147, 51, 234, 0.1) !important;
  border-color: rgba(147, 51, 234, 0.4) !important;
  color: #7e22ce !important;
}

body.light-theme .ml-slide[data-slide="2"] .ml-badge-flash {
  background: rgba(2, 132, 199, 0.1) !important;
  border-color: rgba(2, 132, 199, 0.4) !important;
  color: #0369a1 !important;
}

/* Tarjeta y Foto del Calzado en el Slider */
body.light-theme .ml-slide-hero-img {
  background-color: #ffffff !important;
  border: 2px solid rgba(184, 134, 11, 0.35) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08), 0 0 20px rgba(184, 134, 11, 0.15) !important;
}

/* Tag flotante de beneficios en el calzado */
body.light-theme .ml-slide-tag-float {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: #b8860b !important;
  color: #78350f !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .ml-slide[data-slide="1"] .ml-slide-tag-float {
  border-color: rgba(147, 51, 234, 0.45) !important;
  color: #6b21a8 !important;
}

body.light-theme .ml-slide[data-slide="2"] .ml-slide-tag-float {
  border-color: rgba(2, 132, 199, 0.45) !important;
  color: #0369a1 !important;
}

/* Botones y Controles del Slider */
body.light-theme .ml-slide-actions .btn-outline {
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  background: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .ml-slide-actions .btn-outline:hover {
  border-color: #b8860b !important;
  background: rgba(184, 134, 11, 0.08) !important;
  color: #78350f !important;
}

body.light-theme .ml-slider-arrow {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(184, 134, 11, 0.35) !important;
  color: #0f172a !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .ml-slider-arrow:hover {
  background: #b8860b !important;
  color: #ffffff !important;
  border-color: #b8860b !important;
}

body.light-theme .ml-slider-dots {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(184, 134, 11, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

body.light-theme .ml-dot {
  background: rgba(0, 0, 0, 0.22) !important;
}

body.light-theme .ml-dot.active {
  background: #b8860b !important;
}


/* ========================================================
   DISEÑO GRÁFICO DINÁMICO DEL HERO COMERCIAL (ESTILO BANNER STREETWEAR)
   ======================================================== */
.hero-bg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.ml-hero-slider-section {
  position: relative;
  background: #060e22 !important;
  overflow: hidden;
  border-bottom: 2px solid rgba(212, 175, 55, 0.4);
}

.ml-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

/* En Modo Claro y Oscuro: La campaña comercial mantiene su impacto vibrante y alta legibilidad */
body.light-theme .ml-hero-slider-section {
  background: #060e22 !important;
  border-bottom: 2px solid rgba(212, 175, 55, 0.4) !important;
}

body.light-theme .ml-slide-bg {
  background: none !important;
  opacity: 1 !important;
}

body.light-theme .ml-slide[data-slide="0"] .ml-slide-bg,
body.light-theme .ml-slide[data-slide="1"] .ml-slide-bg,
body.light-theme .ml-slide[data-slide="2"] .ml-slide-bg {
  background: none !important;
}

body.light-theme .ml-slide-title {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

body.light-theme .ml-slide-title span {
  background: linear-gradient(90deg, #ffffff 15%, #ffd700 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

body.light-theme .ml-slide-desc {
  color: #e2e8f0 !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

body.light-theme .ml-slide-desc strong {
  color: #4ade80 !important;
  font-weight: 700 !important;
}

body.light-theme .ml-slide-actions .btn-outline {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px) !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

body.light-theme .ml-slide-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #ffd700 !important;
  color: #ffffff !important;
}

body.light-theme .ml-slide-tag-float {
  background: rgba(6, 18, 45, 0.92) !important;
  border-color: #ffd700 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
}


/* ========================================================
   SISTEMA DE NAVEGACIÓN MÓVIL RESPONSIVA (100% RESPONSIVE)
   Botón Hamburguesa Animado + Drawer Off-Canvas + Glassmorphism
   ======================================================== */

/* 1. Bloqueo de scroll y desbordamiento global */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

body.mobile-drawer-locked {
  overflow: hidden !important;
  touch-action: none;
}

/* 2. Contenedor de Acciones del Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 3. Botón Hamburguesa Moderno y Accesible */
.hamburger-btn {
  display: none; /* Oculto en pantallas grandes (Desktop) */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1002;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hamburger-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.hamburger-bar {
  width: 22px;
  height: 2.2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Animación a X al activarse */
.hamburger-btn.is-active {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.hamburger-btn.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
  background: var(--gold-primary);
}

.hamburger-btn.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger-btn.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
  background: var(--gold-primary);
}

/* Modo Claro: Botón Hamburguesa */
body.light-theme .hamburger-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-theme .hamburger-btn:hover {
  background: rgba(184, 134, 11, 0.12);
  border-color: #b8860b;
}

body.light-theme .hamburger-bar {
  background: #0f172a;
}

body.light-theme .hamburger-btn.is-active .hamburger-bar {
  background: #b8860b;
}

/* 4. Backdrop Oscuro con Desenfoque (Glassmorphism) */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* 5. Cajón de Navegación Lateral (Off-Canvas Drawer) */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 330px;
  max-width: 86vw;
  height: 100vh;
  background: #0b0d14;
  border-left: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.1);
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

/* Cabecera del Drawer */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(15, 18, 27, 0.7);
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
}

.mobile-drawer-logo {
  height: 44px;
  max-width: 140px;
  object-fit: contain;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mobile-drawer-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
  transform: rotate(90deg);
}

/* Cuerpo del Drawer */
.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 22px 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Enlaces del Drawer */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #e2e8f0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.22s ease;
  position: relative;
}

.mobile-nav-link i {
  color: var(--gold-primary);
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
  transition: transform 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.04) 100%);
  border-color: rgba(212, 175, 55, 0.5);
  color: #ffffff;
  transform: translateX(4px);
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
  color: #ffd700;
  transform: scale(1.15);
}

.mobile-nav-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 2px 8px;
  border-radius: 10px;
}

/* CTAs en el Drawer */
.mobile-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-cta-whatsapp {
  padding: 13px 18px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  border-radius: 12px !important;
  justify-content: center;
}

.mobile-cta-catalog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  text-decoration: none;
  border-radius: 12px !important;
}

/* Ficha de Garantías e Información en Drawer */
.mobile-drawer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(17, 21, 31, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 16px;
}

.mobile-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.mobile-info-item i {
  color: var(--gold-primary);
  font-size: 1.05rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.mobile-info-item strong {
  display: block;
  color: #f1f5f9;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

/* Redes en Drawer */
.mobile-drawer-social {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-social-title {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

/* Modo Claro: Drawer Lateral */
body.light-theme .mobile-nav-drawer {
  background: #ffffff;
  border-left-color: rgba(184, 134, 11, 0.3);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.15);
}

body.light-theme .mobile-drawer-header {
  background: #f8fafc;
  border-bottom-color: rgba(184, 134, 11, 0.2);
}

body.light-theme .mobile-drawer-close {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

body.light-theme .mobile-nav-link {
  color: #1e293b;
  background: rgba(0, 0, 0, 0.02);
}

body.light-theme .mobile-nav-link i {
  color: #b8860b;
}

body.light-theme .mobile-nav-link:hover,
body.light-theme .mobile-nav-link.active {
  background: linear-gradient(90deg, rgba(184, 134, 11, 0.12) 0%, rgba(184, 134, 11, 0.03) 100%);
  border-color: rgba(184, 134, 11, 0.35);
  color: #0f172a;
}

body.light-theme .mobile-nav-link:hover i,
body.light-theme .mobile-nav-link.active i {
  color: #92400e;
}

body.light-theme .mobile-nav-badge {
  background: rgba(184, 134, 11, 0.12);
  color: #78350f;
  border-color: rgba(184, 134, 11, 0.3);
}

body.light-theme .mobile-drawer-info {
  background: #f8fafc;
  border-color: #e2e8f0;
}

body.light-theme .mobile-info-item strong {
  color: #0f172a;
}

body.light-theme .mobile-info-item span {
  color: #475569;
}

body.light-theme .mobile-social-title {
  color: #92400e;
}


/* ========================================================
   MEDIA QUERIES GLOBALES (100% RESPONSIVE EN TODAS LAS PANTALLAS)
   ======================================================== */

/* --- TABLETS Y PANTALLAS MEDIANAS (<= 850px) --- */
@media (max-width: 850px) {
  /* Ocultar navegación horizontal de escritorio y mostrar botón hamburguesa */
  .nav {
    display: none !important;
  }

  .header-cta-desktop {
    display: none !important;
  }

  .hamburger-btn {
    display: inline-flex !important;
  }

  .header-container {
    padding: 8px 16px !important;
    position: relative !important;
    justify-content: flex-end !important;
    min-height: 64px !important;
  }

  /* Logo centrado en el medio de la barra en versión móvil */
  .header-container .logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
  }

  .header-actions {
    margin-left: auto !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .logo-img {
    height: 52px !important;
    max-width: 150px !important;
  }

  /* Catálogo y destacados: 2 columnas fluidas */
  #productsGrid,
  #featuredProductsGrid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* --- MÓVILES GRANDES Y TABLETS VERTICALES (<= 600px) --- */
@media (max-width: 600px) {
  /* Barra superior promocional */
  .top-banner {
    padding: 6px 12px !important;
  }

  .top-banner-text {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  .top-banner-right {
    gap: 8px !important;
  }

  .top-theme-btn {
    padding: 3px 10px !important;
    font-size: 0.75rem !important;
  }

  /* Controles de Filtros y Búsqueda en Catálogo */
  .catalog-controls {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    margin-bottom: 24px !important;
  }

  .search-wrapper {
    max-width: 100% !important;
  }

  .search-input {
    font-size: 0.88rem !important;
    padding: 12px 42px 12px 42px !important;
  }

  .filter-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    justify-content: center !important;
  }

  .filter-btn {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    border-radius: 18px !important;
  }

  /* Burbujas de categorías circulares */
  .ml-category-bubble {
    width: 68px !important;
  }

  .ml-bubble-icon {
    width: 58px !important;
    height: 58px !important;
    font-size: 1.25rem !important;
  }

  .ml-bubble-name {
    font-size: 0.75rem !important;
  }

  /* Cintillo de Ofertas del Día */
  .ml-deals-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .ml-deals-left h3 {
    font-size: 1.15rem !important;
  }

  .ml-deals-right {
    flex-direction: column !important;
    width: 100% !important;
  }

  .ml-deals-cta {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Barra de beneficios en Catálogo */
  .hero-highlights {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .highlight-item {
    padding: 10px 14px !important;
  }

  /* Footer en 1 columna */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: left !important;
  }

  .footer-col {
    padding: 0 !important;
  }
}

/* --- MÓVILES PEQUEÑOS Y ESTRECHOS (<= 480px) --- */
@media (max-width: 480px) {
  .logo-img {
    height: 44px !important;
    max-width: 125px !important;
  }

  .header-container {
    padding: 6px 12px !important;
    min-height: 56px !important;
  }

  .hamburger-btn {
    width: 40px !important;
    height: 40px !important;
  }

  .hamburger-bar {
    width: 20px !important;
  }

  /* Grilla de productos: 2 columnas (2 Grid) en móvil */
  #productsGrid,
  #featuredProductsGrid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 10px !important;
  }

  /* Ajustes en las Tarjetas para 2 Columnas en Móvil */
  .product-card {
    border-radius: 12px !important;
  }

  .product-img-wrapper {
    height: 145px !important;
    padding: 8px 10px !important;
  }

  .product-badge {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
    top: 6px !important;
    left: 6px !important;
    border-radius: 4px !important;
  }

  .card-zoom-btn {
    width: 26px !important;
    height: 26px !important;
    top: 6px !important;
    right: 6px !important;
    font-size: 0.68rem !important;
  }

  .card-arrow {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.65rem !important;
  }

  .card-arrow-prev {
    left: 4px !important;
  }

  .card-arrow-next {
    right: 4px !important;
  }

  .card-dots {
    bottom: 4px !important;
    padding: 2px 6px !important;
    gap: 3px !important;
  }

  .card-dot {
    width: 4px !important;
    height: 4px !important;
  }

  .card-dot.active {
    width: 10px !important;
  }

  .product-info {
    padding: 10px 8px 12px !important;
  }

  .product-header-row {
    margin-bottom: 2px !important;
  }

  .product-brand {
    font-size: 0.68rem !important;
    letter-spacing: 0.5px !important;
  }

  .card-view-details-link {
    font-size: 0.64rem !important;
    gap: 3px !important;
  }

  .product-name {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    margin: 3px 0 6px !important;
    min-height: 2.5em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .product-delivery-tag {
    font-size: 0.62rem !important;
    padding: 2px 5px !important;
    margin-bottom: 6px !important;
    display: inline-flex !important;
    align-self: flex-start !important;
  }

  .size-selector {
    margin-bottom: 8px !important;
  }

  .size-label {
    font-size: 0.65rem !important;
    margin-bottom: 4px !important;
  }

  .size-options {
    gap: 4px !important;
  }

  .size-btn {
    padding: 2px 5px !important;
    font-size: 0.68rem !important;
    min-width: 24px !important;
    border-radius: 4px !important;
  }

  .product-price-row {
    margin-top: auto !important;
    margin-bottom: 8px !important;
  }

  .product-price {
    font-size: 0.95rem !important;
  }

  .btn-order {
    padding: 8px 6px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }

  /* Título de sección de catálogo */
  .catalog-page-title,
  .section-title {
    font-size: 1.65rem !important;
  }

  .catalog-page-subtitle,
  .section-subtitle {
    font-size: 0.9rem !important;
  }

  /* Botón flotante de WhatsApp */
  .floating-whatsapp {
    bottom: 18px !important;
    right: 18px !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 1.55rem !important;
  }
}

/* --- PANTALLAS ULTRA PEQUEÑAS (<= 360px) --- */
@media (max-width: 360px) {
  .top-banner-text {
    font-size: 0.72rem !important;
  }

  .top-social-link {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.72rem !important;
  }

  .mobile-nav-drawer {
    width: 280px !important;
  }

  #productsGrid,
  #featuredProductsGrid {
    gap: 8px !important;
  }

  .product-img-wrapper {
    height: 125px !important;
    padding: 6px 8px !important;
  }

  .product-info {
    padding: 8px 6px 10px !important;
  }

  .product-name {
    font-size: 0.78rem !important;
  }

  .product-price {
    font-size: 0.88rem !important;
  }

  .btn-order {
    font-size: 0.7rem !important;
    padding: 7px 4px !important;
  }
}


/* ========================================================
   MODO MÓVIL: UNA SOLA FOTO POR PRODUCTO Y BOTÓN X PARA MODAL
   ======================================================== */

/* Botón X de Cierre para el Modal (Alto Contraste y Siempre Visible) */
.fb-modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #0b0d14 !important;
  border: 2px solid var(--gold-primary) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.75), 0 0 12px rgba(212, 175, 55, 0.4) !important;
  transition: all 0.25s ease !important;
}

.fb-modal-close:hover {
  background: #dc2626 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.1) !important;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.6) !important;
}

body.light-theme .fb-modal-close {
  background: #ffffff !important;
  border: 2px solid #b8860b !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

body.light-theme .fb-modal-close:hover {
  background: #dc2626 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

/* Botón secundario "Cerrar" al pie del modal */
.fb-btn-close-bottom {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #e2e8f0 !important;
  padding: 11px 16px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  margin-top: 6px !important;
}

.fb-btn-close-bottom:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #ef4444 !important;
  color: #ef4444 !important;
}

body.light-theme .fb-btn-close-bottom {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

body.light-theme .fb-btn-close-bottom:hover {
  background: #fee2e2 !important;
  border-color: #ef4444 !important;
  color: #dc2626 !important;
}

/* Reglas estrictas para dispositivos móviles (<= 850px) */
@media (max-width: 850px) {
  /* En versión móvil: exactamente UNA SOLA FOTO por producto */
  .fb-thumbnails-strip {
    display: none !important;
  }

  .fb-nav-arrow {
    display: none !important;
  }

  .fb-counter-badge {
    display: none !important;
  }

  .fb-zoom-lens-badge {
    display: none !important;
  }

  .card-arrow,
  .card-dots {
    display: none !important;
  }

  /* Ajuste de altura del visor de foto única en móvil para dar protagonismo al calzado */
  .fb-main-viewport {
    min-height: 240px !important;
    max-height: 280px !important;
  }

  .fb-main-img {
    max-height: 230px !important;
  }

  /* Posición y tamaño de la X de cierre en móvil */
  .fb-modal-close {
    top: 12px !important;
    right: 12px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 1.35rem !important;
  }
}


/* ========================================================
   OPTIMIZACIÓN DE ZOOM EN MÓVIL (TAP TO ZOOM & TOUCH PAN)
   ======================================================== */
@media (max-width: 850px) {
  .fb-main-viewport {
    min-height: 260px !important;
    height: 275px !important;
    max-height: 300px !important;
    background: radial-gradient(circle at center, #ffffff 0%, #f3f4f6 100%) !important;
    overflow: hidden !important;
    position: relative !important;
    touch-action: pan-y !important;
  }

  .fb-main-img-wrap {
    width: 100% !important;
    height: 100% !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
  }

  .fb-main-img-wrap.is-zooming-mobile {
    touch-action: none !important;
    cursor: grab !important;
  }

  .fb-main-img {
    max-width: 92% !important;
    max-height: 235px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transform-origin: center center;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform-origin 0.25s ease !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
  }

  /* Insignia interactiva de zoom en móvil */
  .fb-zoom-lens-badge {
    display: inline-flex !important;
    position: absolute !important;
    bottom: 12px !important;
    left: 14px !important;
    right: auto !important;
    background: rgba(11, 13, 20, 0.88) !important;
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    color: #f7e7a9 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 25 !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.25s ease !important;
  }

  .fb-zoom-lens-badge.is-active-zoom {
    background: #d4af37 !important;
    color: #0b0d14 !important;
    border-color: #ffd700 !important;
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.6) !important;
  }

  body.light-theme .fb-zoom-lens-badge {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #b8860b !important;
    color: #78350f !important;
  }

  body.light-theme .fb-zoom-lens-badge.is-active-zoom {
    background: #b8860b !important;
    color: #ffffff !important;
  }
}


/* ========================================================
   MODAL DE IMAGEN A PANTALLA COMPLETA (FULLSCREEN LIGHTBOX)
   Apertura al hacer clic en la foto del calzado
   ======================================================== */
.fullscreen-image-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(3, 5, 10, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
  overflow: hidden !important;
}

.fullscreen-image-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Barra superior */
.fullscreen-top-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%) !important;
  z-index: 10 !important;
}

.fullscreen-title-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.fullscreen-badge {
  font-size: 0.72rem !important;
  color: var(--gold-primary) !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.fullscreen-prod-title {
  color: #ffffff !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.fullscreen-close-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.6) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.fullscreen-close-btn:hover {
  background: #dc2626 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.1) !important;
}

/* Escenario central de la imagen */
.fullscreen-img-stage {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 12px !important;
  cursor: zoom-in !important;
}

.fullscreen-img-stage.is-zoomed {
  cursor: grab !important;
}

.fullscreen-img {
  max-width: 95vw !important;
  max-height: 74vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.8)) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform-origin 0.2s ease !important;
  transform-origin: center center !important;
  will-change: transform !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
}

.fullscreen-hint {
  position: absolute !important;
  bottom: 16px !important;
  background: rgba(10, 12, 18, 0.8) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: #f7e7a9 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  backdrop-filter: blur(8px) !important;
  pointer-events: none !important;
  opacity: 0.9 !important;
  transition: opacity 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.fullscreen-img-stage.is-zoomed .fullscreen-hint {
  opacity: 0 !important;
}

/* Barra inferior con botón WhatsApp */
.fullscreen-bottom-bar {
  padding: 14px 20px 22px !important;
  display: flex !important;
  justify-content: center !important;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%) !important;
  z-index: 10 !important;
}

.fullscreen-btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4) !important;
  transition: all 0.25s ease !important;
}

.fullscreen-btn-whatsapp:hover {
  filter: brightness(1.1) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6) !important;
}

/* Cursor de apertura a pantalla completa en la foto del modal */
.fb-main-img-wrap {
  cursor: zoom-in !important;
}

.fb-zoom-lens-badge {
  cursor: pointer !important;
}

@media (max-width: 600px) {
  .fullscreen-top-bar {
    padding: 10px 14px !important;
  }
  .fullscreen-prod-title {
    font-size: 0.95rem !important;
  }
  .fullscreen-close-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
  }
  .fullscreen-img {
    max-width: 98vw !important;
    max-height: 72vh !important;
  }
  .fullscreen-btn-whatsapp {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
    padding: 11px 16px !important;
  }
}


/* ========================================================
   ELIMINACIÓN DE LA BARRA DE VENDEDOR / DIAMANTE EN MODAL
   ======================================================== */
.fb-seller-bar,
.fb-seller-avatar,
.fb-seller-info,
.fb-seller-name,
.fb-seller-sub,
.fb-seller-socials {
  display: none !important;
}


/* ========================================================
   BOTÓN FLOTANTE PARA VOLVER ARRIBA (SCROLL TO TOP)
   ======================================================== */
.scroll-to-top-btn {
  position: fixed !important;
  bottom: 98px !important;
  right: 28px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(14, 17, 26, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid var(--gold-primary) !important;
  color: var(--gold-primary) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.15rem !important;
  cursor: pointer !important;
  z-index: 9990 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(16px) scale(0.85) !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.3s ease, 
              background-color 0.25s ease, 
              border-color 0.25s ease, 
              color 0.25s ease, 
              box-shadow 0.25s ease !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
  outline: none !important;
}

.scroll-to-top-btn.visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.scroll-to-top-btn:hover {
  background: var(--gold-primary) !important;
  border-color: #ffd700 !important;
  color: #0b0d14 !important;
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.55) !important;
}

.scroll-to-top-btn:active {
  transform: translateY(0) scale(0.95) !important;
}

.scroll-to-top-btn .scroll-tooltip {
  position: absolute !important;
  right: 58px !important;
  background: #141722 !important;
  color: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  padding: 5px 12px !important;
  border-radius: 14px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transform: translateX(8px) !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45) !important;
}

.scroll-to-top-btn:hover .scroll-tooltip {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Soporte Tema Claro */
body.light-theme .scroll-to-top-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: #b8860b !important;
  color: #78350f !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

body.light-theme .scroll-to-top-btn:hover {
  background: #b8860b !important;
  border-color: #92400e !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.45) !important;
}

body.light-theme .scroll-to-top-btn .scroll-tooltip {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

/* Optimización Responsive Móvil */
@media (max-width: 600px) {
  .scroll-to-top-btn {
    bottom: 78px !important;
    right: 18px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 1rem !important;
  }
  .scroll-to-top-btn .scroll-tooltip {
    display: none !important;
  }
}


/* Margen superior para anclas al tener la navegación fija */
section[id], [id^="catalog"], [id^="hero"] {
  scroll-margin-top: 110px !important;
}


/* ========================================================
   CONTROLES DE ZOOM Y NAVEGACIÓN LIBRE (PAN & DRAG)
   ======================================================== */
.fullscreen-img-stage {
  touch-action: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.fullscreen-img-stage.is-zoomed {
  cursor: grab !important;
}

.fullscreen-img-stage.is-dragging {
  cursor: grabbing !important;
}

.fullscreen-img-stage.is-dragging .fullscreen-img {
  transition: none !important;
}

.fullscreen-zoom-controls {
  position: absolute !important;
  top: 18px !important;
  right: 20px !important;
  display: flex !important;
  align-items: center !important;
  background: rgba(14, 18, 27, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.5) !important;
  border-radius: 30px !important;
  padding: 4px 8px !important;
  gap: 6px !important;
  z-index: 25 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
}

.fullscreen-zoom-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  color: #f7e7a9 !important;
  font-size: 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.fullscreen-zoom-btn:hover {
  background: rgba(212, 175, 55, 0.25) !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
}

.fullscreen-zoom-btn:active {
  transform: scale(0.95) !important;
}

.fullscreen-zoom-reset {
  width: auto !important;
  padding: 0 10px !important;
  border-radius: 14px !important;
  font-family: 'Space Grotesk', monospace !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.5px !important;
}

.fullscreen-zoom-reset:hover {
  background: rgba(212, 175, 55, 0.25) !important;
  color: var(--gold-light) !important;
}

@media (max-width: 600px) {
  .fullscreen-zoom-controls {
    top: 12px !important;
    right: 14px !important;
    padding: 3px 6px !important;
    gap: 4px !important;
  }
  .fullscreen-zoom-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }
  .fullscreen-zoom-reset {
    font-size: 0.75rem !important;
    padding: 0 8px !important;
  }
}


/* ========================================================
   DISEÑO MEJORADO DE BOTONES EN MODAL (WHATSAPP + ACCIONES)
   ======================================================== */
.fb-modal-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 20px !important;
  width: 100% !important;
}

/* Botón Principal: WhatsApp (Ancho Completo, Texto en 1 sola línea, Prominente) */
.fb-btn-whatsapp {
  width: 100% !important;
  flex: none !important;
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 20px !important;
  min-height: 52px !important;
  border-radius: 12px !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4), 0 0 10px rgba(37, 211, 102, 0.2) !important;
  text-align: center !important;
  white-space: normal !important;
}

.fb-btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ae06e 0%, #15803d 100%) !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55), 0 0 16px rgba(37, 211, 102, 0.3) !important;
}

.fb-btn-whatsapp:active {
  transform: translateY(0) scale(0.98) !important;
}

.fb-btn-whatsapp i {
  font-size: 1.35rem !important;
  flex-shrink: 0 !important;
}

/* Fila de Botones Secundarios: 50% / 50% Compartir + Cerrar */
.fb-modal-secondary-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
}

.fb-btn-share,
.fb-btn-close-bottom {
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.fb-btn-share {
  background: #141724 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #e2e8f0 !important;
}

.fb-btn-share:hover {
  background: rgba(212, 175, 55, 0.12) !important;
  border-color: var(--gold-primary) !important;
  color: var(--gold-light) !important;
  transform: translateY(-1px) !important;
}

.fb-btn-share:active {
  transform: translateY(0) !important;
}

.fb-btn-close-bottom {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #cbd5e1 !important;
}

.fb-btn-close-bottom:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: #ef4444 !important;
  color: #f87171 !important;
  transform: translateY(-1px) !important;
}

.fb-btn-close-bottom:active {
  transform: translateY(0) !important;
}

/* Modo Claro: Botones */
body.light-theme .fb-btn-whatsapp {
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3) !important;
}

body.light-theme .fb-btn-share {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .fb-btn-share:hover {
  background: rgba(184, 134, 11, 0.08) !important;
  border-color: #b8860b !important;
  color: #92400e !important;
}

body.light-theme .fb-btn-close-bottom {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .fb-btn-close-bottom:hover {
  background: #fee2e2 !important;
  border-color: #ef4444 !important;
  color: #dc2626 !important;
}

/* Ajustes Responsive en Móviles */
@media (max-width: 600px) {
  .fb-btn-whatsapp {
    padding: 13px 16px !important;
    font-size: 0.94rem !important;
    min-height: 48px !important;
  }
  .fb-modal-secondary-row {
    gap: 8px !important;
  }
  .fb-btn-share,
  .fb-btn-close-bottom {
    height: 42px !important;
    min-height: 42px !important;
    font-size: 0.84rem !important;
  }
}


/* ========================================================
   OCULTAR BADGE FLASH (CALIDAD AAA) SOLO EN VERSIÓN MÓVIL
   ======================================================== */
@media (max-width: 850px) {
  .ml-badge-flash {
    display: none !important;
  }
}


/* ========================================================
   ALINEACIÓN VERTICAL PERFECTA DE BOTONES FLOTANTES
   Alineación concéntrica exacta entre Volver Arriba y WhatsApp
   ======================================================== */
.floating-whatsapp {
  right: 28px !important;
  bottom: 28px !important;
  width: 60px !important;
  height: 60px !important;
}

.scroll-to-top-btn {
  right: 34px !important; /* Centro exacto a 58px del borde derecho (34px + 24px) */
  bottom: 100px !important; /* 12px de separación vertical uniforme sobre WhatsApp */
  width: 48px !important;
  height: 48px !important;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    right: 18px !important;
    bottom: 18px !important;
    width: 50px !important;
    height: 50px !important;
  }

  .scroll-to-top-btn {
    right: 22px !important; /* Centro exacto a 43px del borde derecho (22px + 21px) */
    bottom: 80px !important; /* 12px de separación vertical uniforme sobre WhatsApp */
    width: 42px !important;
    height: 42px !important;
  }

  .floating-tooltip,
  .scroll-to-top-btn .scroll-tooltip {
    display: none !important;
  }
}


/* ========================================================
   CONFIGURACIÓN GLOBAL: 1 SOLA FOTO POR CARD (WEB Y MÓVIL)
   Oculta controles de navegación multicarrusel en cards y modal
   ======================================================== */
.card-arrow,
.card-dots,
.fb-thumbnails-strip,
.fb-nav-arrow,
.fb-counter-badge {
  display: none !important;
}


/* ========================================================
   ENLACE DE CORREO EN FOOTER Y DRAWER
   ======================================================== */
.footer-col p a {
  transition: color 0.2s ease;
}

.footer-col p a:hover {
  color: var(--gold-primary) !important;
  text-decoration: underline !important;
}

body.light-theme .footer-col p a:hover {
  color: #f3e5ab !important;
}
