/* ==========================================================================
   ZONA UNIVERSO - HOJA DE ESTILOS PRINCIPAL
   Estilo visual cósmico, divertido, infantil premium y 100% responsivo
   ========================================================================== */

:root {
  /* Paleta Cósmica Principal */
  --space-dark: #0a1128;
  --space-navy: #101f42;
  --space-blue: #1c3270;
  --primary-blue: #0077b6;
  --primary-cyan: #00b4d8;
  --primary-magenta: #ff2a70;
  --primary-magenta-hover: #e01e5a;
  --primary-yellow: #ffb703;
  --primary-yellow-hover: #fca311;
  --primary-green: #06d6a0;
  --primary-purple: #7209b7;

  /* Fondos y Neutros */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-focus: #00b4d8;

  /* Categorías Pasteles */
  --cat-pink-bg: #fff0f5;
  --cat-pink-border: #ffd1dc;
  --cat-pink-btn: #ff2a70;

  --cat-yellow-bg: #fffbeb;
  --cat-yellow-border: #fef08a;
  --cat-yellow-btn: #eab308;

  --cat-purple-bg: #f5f3ff;
  --cat-purple-border: #ddd6fe;
  --cat-purple-btn: #8b5cf6;

  --cat-cyan-bg: #ecfeff;
  --cat-cyan-border: #a5f3fc;
  --cat-cyan-btn: #06b6d4;

  --cat-green-bg: #f0fdf4;
  --cat-green-border: #bbf7d0;
  --cat-green-btn: #10b981;

  --cat-orange-bg: #fff7ed;
  --cat-orange-border: #fed7aa;
  --cat-orange-btn: #f97316;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(16, 31, 66, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(16, 31, 66, 0.08), 0 8px 10px -6px rgba(16, 31, 66, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(16, 31, 66, 0.12), 0 10px 10px -5px rgba(16, 31, 66, 0.05);
  --shadow-glow-pink: 0 0 20px rgba(255, 42, 112, 0.35);
  --shadow-glow-yellow: 0 0 20px rgba(255, 183, 3, 0.4);

  /* Bordes Redondeados */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Fuentes */
  --font-brand: 'Fredoka', cursive, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 75px; /* Espacio para barra móvil inferior */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ==========================================================================
   BARRA DE ANUNCIO SUPERIOR
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #101f42 0%, #1c3270 50%, #0077b6 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.2px;
}

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

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(16, 31, 66, 0.06);
  transition: all 0.3s ease;
}

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

@media (min-width: 992px) {
  .header-inner {
    height: 80px;
    gap: 30px;
  }
}

/* Logo Cósmico */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo .logo-svg,
.site-logo .logo-badge-img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(0, 119, 182, 0.25));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-logo:hover .logo-badge-img {
  transform: scale(1.08) rotate(-4deg);
}

.site-logo .logo-text {
  font-family: var(--font-brand);
  font-weight: 700;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.site-logo .logo-text .logo-top {
  font-size: 16px;
  color: #101f42;
  letter-spacing: 0.5px;
}

.site-logo .logo-text .logo-bottom {
  font-size: 22px;
  background: linear-gradient(135deg, #0077b6 0%, #ff2a70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 992px) {
  .site-logo .logo-svg,
  .site-logo .logo-badge-img {
    width: 50px;
    height: 50px;
  }
  .site-logo .logo-text .logo-bottom {
    font-size: 26px;
  }
}

/* Navegación Desktop */
.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .nav-link:hover, .nav-link.active {
    background-color: #f1f5f9;
    color: var(--primary-blue);
  }

  .nav-link.highlight {
    background: #e0f2fe;
    color: #0369a1;
  }

  .nav-link.highlight-offers {
    background: #fdf2f8;
    color: #be185d;
  }
}

/* Buscador */
.header-search {
  display: none;
  flex: 1;
  max-width: 360px;
  position: relative;
}

@media (min-width: 992px) {
  .header-search {
    display: block;
  }
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input-wrapper input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-light);
  background-color: #f8fafc;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.search-input-wrapper input:focus {
  background-color: #ffffff;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.search-input-wrapper .search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-cyan);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.search-input-wrapper .search-btn:hover {
  background: var(--primary-blue);
}

/* Acciones de Cabecera (Iconos) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: scale(1.05);
}

.action-btn .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-magenta);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(255, 42, 112, 0.4);
}

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

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ==========================================================================
   HERO BANNER CÓSMICO
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #091336 0%, #152764 45%, #0077b6 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  color: #ffffff;
  padding: 16px 14px 28px;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 28px 24px 38px;
    border-radius: 0 0 28px 28px;
  }
}

@media (min-width: 992px) {
  .hero-section {
    text-align: center;
    padding: 34px 30px 44px;
  }
}

/* Estrellas y Efectos de Fondo */
.hero-cosmic-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (min-width: 992px) {
  .hero-content-wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.hero-text {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-yellow);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-family: var(--font-brand);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 46px;
  }
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 54px;
  }
}

.hero-title .rainbow-word {
  background: linear-gradient(90deg, #ffb703 0%, #ff2a70 50%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 18px;
  }
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff2a70 0%, #ff6584 100%);
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow-pink);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 42, 112, 0.5);
}

/* Ilustraciones Cósmicas de Hero */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-visual {
    margin-top: 0;
  }
}

.floating-planet-svg {
  animation: floatCosmic 6s ease-in-out infinite;
}

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

.floating-rocket-svg {
  position: absolute;
  top: -10px;
  right: 15px;
  width: 90px;
  animation: rocketFly 4s ease-in-out infinite;
}

@keyframes rocketFly {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-8px, -12px) rotate(-4deg); }
}

/* Nubes en la base del hero */
.hero-clouds-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 36px;
  fill: var(--bg-main);
  z-index: 3;
}

/* ==========================================================================
   SECCIONES Y ENCABEZADOS
   ========================================================================== */
.section-wrapper {
  padding: 24px 0;
}

@media (min-width: 768px) {
  .section-wrapper {
    padding: 45px 0;
  }
}

#destacados {
  padding-top: 10px;
}

@media (min-width: 768px) {
  #destacados {
    padding-top: 24px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 16px 14px 26px;
  }
  .hero-badge-pill {
    margin-bottom: 10px;
    padding: 4px 12px;
    font-size: 12px;
  }
  .hero-title {
    font-size: 24px;
    margin-bottom: 6px;
  }
  .hero-desc {
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.4;
  }
  .hero-cta-btn {
    padding: 9px 22px;
    font-size: 14.5px;
  }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 700;
  color: #101f42;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 28px;
  }
}

.section-title .title-icon {
  font-size: 26px;
}

.view-all-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.view-all-link:hover {
  color: var(--primary-cyan);
  transform: translateX(3px);
}

/* ==========================================================================
   CATEGORÍAS (Tarjetas Pastel con Botón Flecha)
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
}

.category-card {
  border-radius: var(--radius-md);
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

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

/* Variantes de Color Pastel */
.category-card.cat-pink {
  background-color: var(--cat-pink-bg);
  border-color: var(--cat-pink-border);
}
.category-card.cat-pink .cat-arrow-btn {
  background-color: var(--cat-pink-btn);
}

.category-card.cat-yellow {
  background-color: var(--cat-yellow-bg);
  border-color: var(--cat-yellow-border);
}
.category-card.cat-yellow .cat-arrow-btn {
  background-color: var(--cat-yellow-btn);
}

.category-card.cat-purple {
  background-color: var(--cat-purple-bg);
  border-color: var(--cat-purple-border);
}
.category-card.cat-purple .cat-arrow-btn {
  background-color: var(--cat-purple-btn);
}

.category-card.cat-cyan {
  background-color: var(--cat-cyan-bg);
  border-color: var(--cat-cyan-border);
}
.category-card.cat-cyan .cat-arrow-btn {
  background-color: var(--cat-cyan-btn);
}

.category-card.cat-green {
  background-color: var(--cat-green-bg);
  border-color: var(--cat-green-border);
}
.category-card.cat-green .cat-arrow-btn {
  background-color: var(--cat-green-btn);
}

.category-card.cat-orange {
  background-color: var(--cat-orange-bg);
  border-color: var(--cat-orange-border);
}
.category-card.cat-orange .cat-arrow-btn {
  background-color: var(--cat-orange-btn);
}

.category-icon-wrapper {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon-wrapper {
  transform: scale(1.1) rotate(3deg);
}

.category-name {
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 700;
  color: #101f42;
  margin-bottom: 12px;
  line-height: 1.25;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform 0.2s ease;
}

.category-card:hover .cat-arrow-btn {
  transform: scale(1.15);
}

/* ==========================================================================
   PRODUCTOS (Tarjetas de Producto estilo Mockup)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #e2e8f0;
}

/* Badges de Edad y Favoritos */
.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.age-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
}

.age-badge.age-purple {
  background: #ede9fe;
  color: #6d28d9;
}

.age-badge.age-cyan {
  background: #cffafe;
  color: #0e7490;
}

.age-badge.age-green {
  background: #dcfce7;
  color: #15803d;
}

.wishlist-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.wishlist-btn:hover, .wishlist-btn.active {
  color: var(--primary-magenta);
  background: #fff0f5;
}

/* Imagen del Producto */
.product-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

/* Placeholder SVG cuando no hay foto aún */
.product-placeholder-svg {
  width: 60%;
  height: 60%;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Información del Producto */
.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 14px;
  font-weight: 700;
  color: #101f42;
  line-height: 1.35;
  margin-bottom: 6px;
  height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .product-title {
    font-size: 15px;
  }
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}

.rating-stars {
  color: var(--primary-yellow);
  letter-spacing: -1px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: auto;
}

.current-price {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .current-price {
    font-size: 20px;
  }
}

.compare-price {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
  white-space: nowrap;
}

/* Botón Añadir al Carrito */
.add-to-cart-btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary-magenta);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(255, 42, 112, 0.25);
}

.add-to-cart-btn:hover {
  background: var(--primary-magenta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 42, 112, 0.35);
}

.add-to-cart-btn.btn-cyan {
  background: var(--primary-cyan);
  box-shadow: 0 4px 10px rgba(0, 180, 216, 0.25);
}

.add-to-cart-btn.btn-cyan:hover {
  background: var(--primary-blue);
  box-shadow: 0 6px 14px rgba(0, 119, 182, 0.35);
}

/* ==========================================================================
   BANNER DE OFERTAS / PROMO CÓSMICO
   ========================================================================== */
.promo-banner {
  background: linear-gradient(135deg, #0077b6 0%, #00b4d8 50%, #90e0ef 100%);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 30px 0;
}

@media (min-width: 768px) {
  .promo-banner {
    padding: 34px 40px;
  }
}

.promo-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .promo-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.promo-text-content {
  max-width: 500px;
}

.promo-headline {
  font-family: var(--font-brand);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .promo-headline {
    font-size: 32px;
  }
}

.promo-subtext {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 18px;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-yellow);
  color: #101f42;
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.promo-btn:hover {
  background: var(--primary-yellow-hover);
  transform: translateY(-2px);
}

.promo-badge-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-magenta);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-brand);
  padding: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: pulseBadge 3s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.promo-badge-circle .badge-mini {
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
}

.promo-badge-circle .badge-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.promo-badge-circle .badge-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #1e293b;
}

/* ==========================================================================
   INSIGNIAS DE CONFIANZA / BENEFICIOS (Trust Badges)
   ========================================================================== */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 30px 0;
}

@media (min-width: 992px) {
  .trust-badges-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.trust-badge-item {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.trust-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon-box.blue { background: #e0f2fe; color: #0284c7; }
.trust-icon-box.green { background: #dcfce7; color: #16a34a; }
.trust-icon-box.pink { background: #fce7f3; color: #db2777; }
.trust-icon-box.yellow { background: #fef9c3; color: #ca8a04; }

.trust-badge-item .trust-title {
  font-size: 13px;
  font-weight: 700;
  color: #101f42;
  line-height: 1.2;
}

.trust-badge-item .trust-sub {
  font-size: 11px;
  color: #64748b;
}

/* ==========================================================================
   FOOTER (Pie de página Cósmico)
   ========================================================================== */
.site-footer {
  background: #091336;
  color: #e2e8f0;
  padding: 50px 0 30px;
  margin-top: 50px;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-col .footer-title {
  font-family: var(--font-brand);
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary-cyan);
}

.footer-newsletter input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid #1e293b;
  background: #101f42;
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 10px;
  outline: none;
}

.footer-newsletter button {
  width: 100%;
  height: 42px;
  border-radius: var(--radius-pill);
  background: var(--primary-cyan);
  color: #101f42;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s;
}

.footer-newsletter button:hover {
  background: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN MÓVIL INFERIOR (App Bar estilo nativo)
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 99;
  box-shadow: 0 -4px 16px rgba(16, 31, 66, 0.08);
}

@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  padding: 6px;
  position: relative;
  transition: color 0.2s;
  flex: 1;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--primary-blue);
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}

.bottom-nav-item .nav-badge {
  position: absolute;
  top: 4px;
  right: 22%;
  background: var(--primary-magenta);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   DRAWER DEL CARRITO (Deslizante lateral)
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

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

.cart-drawer-title {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 700;
  color: #101f42;
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-drawer-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: background 0.2s;
}

.close-drawer-btn:hover {
  background: #e2e8f0;
}

/* Barra de Envío Gratis */
.free-shipping-bar {
  background: #f0fdf4;
  border-bottom: 1px solid #dcfce7;
  padding: 12px 20px;
  font-size: 12px;
  color: #166534;
}

.progress-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary-green);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Lista de Artículos en Carrito */
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item-img {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #101f42;
  margin-bottom: 4px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 14px;
  margin-bottom: 8px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.qty-btn {
  width: 26px;
  height: 26px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.qty-btn:hover {
  background: #f1f5f9;
}

.qty-display {
  width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.cart-item-remove {
  color: #ef4444;
  font-size: 12px;
  padding: 4px;
}

/* Pie del Carrito */
.cart-drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--border-light);
  background: #f8fafc;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  color: #101f42;
  margin-bottom: 16px;
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary-magenta);
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-glow-pink);
  transition: all 0.2s ease;
}

.checkout-btn:hover {
  background: var(--primary-magenta-hover);
  transform: translateY(-2px);
}

/* Toast de Notificaciones */
.toast-notice {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #101f42;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-notice.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   FORMULARIOS Y CHECKOUT RESPONSIVO
   ========================================================================== */
input, select, textarea {
  max-width: 100%;
}

/* ==========================================================================
   SELECTOR DE IDIOMA Y TRADUCCIÓN AUTOMÁTICA
   ========================================================================== */

/* Ocultar barra superior y globos nativos de Google Translate */
body {
  top: 0px !important;
  position: static !important;
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body > .skiptranslate {
  display: none !important;
}

#google_translate_element {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -999 !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

font {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Selector en la Cabecera */
.lang-selector-dropdown {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--primary-blue);
  box-shadow: 0 2px 6px rgba(16, 31, 66, 0.08);
}

.lang-flag-current {
  font-size: 16px;
  line-height: 1;
}

.lang-code-current {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lang-arrow {
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

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

/* Menú Desplegable de Idiomas */
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 195px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: 0 12px 30px -4px rgba(16, 31, 66, 0.16), 0 4px 8px -2px rgba(16, 31, 66, 0.06);
  padding: 6px;
  z-index: 1000;
  display: none;
  animation: langDropFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-menu.open {
  display: block;
}

@keyframes langDropFade {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-menu-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 10px 4px;
  letter-spacing: 0.5px;
}

.lang-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.lang-item:hover {
  background: #f1f5f9;
  color: var(--primary-blue);
}

.lang-item.active {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
}

.lang-item-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-item-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-item-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #e2e8f0;
  color: #475569;
}

.lang-item.active .lang-item-tag {
  background: #bae6fd;
  color: #0369a1;
}

/* Idiomas en Menú Móvil */
.mobile-lang-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.mobile-lang-title {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-lang-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mobile-lang-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 4px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}

.mobile-lang-chip:hover {
  background: #e2e8f0;
}

.mobile-lang-chip.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 2px 5px rgba(0, 119, 182, 0.3);
}

@media (max-width: 480px) {
  .lang-btn {
    padding: 0 8px;
    height: 38px;
  }
  .lang-code-current {
    display: none;
  }
}


