/* ===== RESET Y BASE ===== */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #f5f7fa, #eef1f5);
  margin: 0;
  padding: 30px;
  overflow-x: hidden;
}

.title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
}

/* ===== LAYOUT PRINCIPAL ===== */
.marketplace-layout {
  display: flex;
  gap: 24px;
  padding: 20px;
}

@media (max-width: 991.98px) {
  .marketplace-layout {
    flex-direction: column;
    gap: 28px;
  }
}

/* ===== GRID DE PRODUCTOS ===== */
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
}

@media (min-width: 1400px) {
  .marketplace-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 767.98px) {
  .marketplace-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== TARJETA DE PRODUCTO ===== */
.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* IMAGEN */
.product-img {
  position: relative;
  background: #f2f2f2;
  padding-top: 6px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
  transform: scale(1.03);
}

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

/* BADGE DE TIENDA */
.badge-store {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 14px;
  white-space: nowrap;
  z-index: 5;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.4px;
}

/* INFO DEL PRODUCTO */
.product-info {
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-info h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.3;
  height: 38px;
  overflow: hidden;
}

.price {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin-bottom: 14px;
}

/* ===== BOTONES ===== */
.btn-store2,
.btn-store3 {
  display: inline-block;
  color: white;
  border: none;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  white-space: nowrap;
  margin-top: auto;
  align-self: center;
}

.btn-store2 {
  background: linear-gradient(135deg, #ffc107, #ed6500);
  color: #fff; /* texto en negro para mejor contraste */
  /* ... resto de tus estilos */
}

.btn-store2:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(216, 20, 45, 0.4);
}

.btn-store2:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(216, 20, 45, 0.3);
}

.btn-store3 {
  background: linear-gradient(to right, #f44343, #d8142d);
  box-shadow: 0 3px 8px rgba(216, 20, 45, 0.3);
}

.btn-store3:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(216, 20, 45, 0.4);
}

.btn-store3:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(216, 20, 45, 0.3);
}

/* BOTÓN "VER EN TIENDA" */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff9900, #ff7a00);
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.25);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
  font-size: 0.95rem;
}

.btn-store:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.45);
  color: white;
}

.btn-arrow {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  padding: 2px;
  stroke: white;
  transition: transform 0.2s ease;
}

.btn-store:hover .btn-arrow {
  transform: translateX(4px);
}

/* ===== SIDEBAR / FILTROS ===== */
.filters {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  max-width: 220px;
}

@media (max-width: 991.98px) {
  .filters {
    width: 100%;
    position: relative;
    top: auto;
    max-width: none;
  }
}

.sidebar-box {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tiendas-lista {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 6px;
  background: linear-gradient(180deg, #ffffff, #f9fdfc);
  box-shadow: inset 0 0 0 1px #e6f4ef;
}

/* ===== OTROS ===== */
.results-count {
  text-align: center;
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
}

.results-count strong {
  color: #000;
}

@media (max-width: 767.98px) {
  .product-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
  }

  .product-img {
    width: 120px; /* ← más grande que antes (era 100px) */
    min-width: 120px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    margin: 12px;
    overflow: hidden;
    padding-top: 0;
  }

  .product-info {
    padding: 16px 8px 16px 0;
    text-align: left; /* mejor legibilidad en horizontal */
    flex: 1;
    min-width: 0;
  }

  .product-info h3 {
    font-size: 14px;
    height: auto;
    min-height: 40px; /* 2 líneas */
    line-height: 1.4;
  }

  .price {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .btn-store2 {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}
/* ================================
   HEADER MARKETPLACE (CORREGIDO)
================================ */

/* Reset general */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.mpx-header {
  width: 100%;
  position: relative;
  z-index: 10;
  font-family: inherit;
  margin: 0;
  padding: 0;
}

/* ---------- BANNER (MÁS ALTO) ---------- */
.mpx-banner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 0;
  border-radius: 0;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* Imagen para escritorio (por defecto) */
.mpx-banner {
  background-image: url("https://superpromos.xn--promodiseoags-qkb.com/img/bannerejemplo%20escritotio.png");
}

/* Imagen para móviles (ajusta el breakpoint si necesitas otro) */
@media (max-width: 767.98px) {
  .mpx-banner {
    min-height: 400px; /* opcional: un poco menos alto en móvil */
    background-image: url("https://superpromos.xn--promodiseoags-qkb.com/img/bannerejemplo.png");
    background-position: center; /* en móvil, centrar para mejor enfoque */
  }
}


/* ---------- NAV (centrado en móvil, normal en desktop) ---------- */
.mpx-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  color: white;
  width: 100%;
  max-width: 1400px; /* límite para no estirarse infinitamente */
  margin: 0 auto; /* centra el nav dentro del banner */
}

/* Logo y menú */
.mpx-logo img {
  height: 150px;
  display: block;
}

.mpx-btn-menu {
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  padding: 0;
}

/* Iconos (carrito, etc.) */
.mpx-actions {
  display: flex;
  gap: 14px;
}

.mpx-icon {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  position: relative;
}

.mpx-cart .mpx-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ff7b00;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 50%;
}

/* ---------- BUSCADOR (CENTRADO EN ESCRITORIO) ---------- */
.mpx-search-wrap {
  margin-top: 20px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  max-width: 520px;
  width: 90%;
}

.mpx-search-icon {
  font-size: 18px;
  margin-right: 10px;
  color: #555;
}

.mpx-search-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
  color: #333;
}

/* ================================
   DESKTOP: ajustes finos
================================ */
@media (min-width: 768px) {
  .mpx-banner {
    min-height: 360px; /* aún más alto en desktop */
  }

  .mpx-nav {
    padding: 32px 40px;
  }

  .mpx-logo img {
    height: 150px;
  }

  .mpx-search-wrap {
    margin-top: 28px;
    /* El buscador ya está centrado por el flex del banner + max-width */
  }
}

/* En móvil, el buscador se mantiene full width */
@media (max-width: 767.98px) {
  .mpx-search-wrap {
    width: calc(100% - 32px);
    max-width: none;
    margin: 16px auto 0;
  }
}

/* === SELECTOR DE ORDEN CON COLORCITO MODERNO === */
label.mb-3.d-block {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 12px !important;
  color: #2d3748;
  display: block;
  text-align: left;
}

label.mb-3.d-block select {
  width: 100%;
  padding: 0.9rem 1.3rem 0.9rem 1.2rem;
  font-size: 1rem;
  font-weight: 500;
  color: #2d3748;
  background-color: #ffffff;

  /* 🎨 Borde neutro por defecto */
  border: 2px solid #cbd5e0;
  border-radius: 12px;

  /* 🖱️ Quitar flecha nativa y poner una linda */
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23718096' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 14px;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  text-align: left;
}

/* ✨ Al pasar el mouse */
label.mb-3.d-block select:hover {
  border-color: #a0aec0;
  background-color: #f8fafc;
}

/* 💙 AL SELECCIONAR (FOCO) — ¡ACÁ ESTÁ EL COLORCITO! */
label.mb-3.d-block select:focus {
  outline: none;
  /* 🌈 Borde con color vibrante + sombra suave */
  border-color: #4299e1; /* azul brillante (puedes cambiarlo) */
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.25); /* glow sutil */
  background-color: #ffffff;
}

/* 📱 Móvil: un poco más grande */
@media (max-width: 767.98px) {
  label.mb-3.d-block select {
    padding: 1rem 1.4rem 1rem 1.3rem;
    font-size: 1.05rem;
  }
}

/* 🔄 Si quieres un color diferente al abrir el menú (en algunos navegadores) */
label.mb-3.d-block select:active {
  border-color: #3182ce;
}

.mpx-filtros-rapidos {
  display: flex;
  gap: 10px;
  padding: 10px 15px;
  justify-content: center;
}

@media (min-width: 768px) {
  .mpx-filtros-rapidos {
    justify-content: flex-start;
    max-width: 1200px;
    margin: auto;
  }
}
.price-offer {
  display: flex;
  flex-direction: column;
}

.old-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.9rem;
}

.new-price {
  color: #dc2626;
  font-weight: 700;
  font-size: 1.2rem;
}

.badge-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #dc2626, #f97316);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.offer-timer {
  margin-top: 6px;
  font-size: 0.75rem;
  color: #475569;
}
.countdown-compact {
  margin-top: 8px;
  text-align: center;
}

.countdown-title {
  background-color: #dcfce7; /* Verde claro suave (tailwind green-100) */
  color: #166534;            /* Verde oscuro (tailwind green-800) */
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 8px;
}

.countdown-row {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.cd-box {
  background: #dc2626;
  border-radius: 4px;
  padding: 4px 6px;
  min-width: 42px;
  color: #fff;
}

.cd-box .num {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.cd-box .label {
  font-size: 0.55rem;
  line-height: 1;
}

.price-badge {
  display: inline-block;
  
  color: green;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.2rem;
  margin-top: 5px;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  margin-right: 8px;
  font-size: 0.9rem;
}

.corner-ribbon {
  width: 90px;
  background: #ef4444;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 10px;
  right: -25px;
  transform: rotate(45deg);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1;
}

/* 🔵 Ribbon especial */
.corner-ribbon.especial {
  background: #2563eb; /* azul */
}

.modal-price {
  display: flex;
  flex-direction: column;   /* 👈 uno arriba del otro */
  gap: 4px;
  align-items: flex-start;
}

.old-price {
  font-size: 0.9rem;
  color: #6b7280;
  text-decoration: line-through;
  white-space: nowrap;
}

.price-badge {
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ===== RIBBON MODAL – LIMPIO DERECHA ===== */
.modal-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dc2626; /* descuento */
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  z-index: 20;
  pointer-events: none;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}

/* Especial */
.modal-ribbon.especial {
  background: #2563eb;
}
.fab-menu {
  position: fixed;
  right: 16px;
  bottom: 80px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-size: 22px;
  border: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  z-index: 9999;
}

.side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;              /* 🔑 ocupa toda la pantalla */
  background: #000;
  z-index: 2000;
  padding: 20px;
  overflow-y: auto;           /* 🔑 ESTO habilita el scroll */
  -webkit-overflow-scrolling: touch; /* 🔥 scroll suave en mobile */
  transition: left 0.3s ease;
}



.side-menu.active {
  right: 0;
}

.side-menu a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  border-bottom: 1px solid #eee;
}

.close-menu {
  background: none;
  border: none;
  font-size: 22px;
  float: right;
}


.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9997;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.product-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:active {
  transform: scale(.96);
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
}



.mpx-filtros-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mpx-filtros-scroll::-webkit-scrollbar {
  display: none;
}

.mpx-filtros-rapidos {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  width: max-content;
}

.btn-store2 {
  white-space: nowrap;
  flex-shrink: 0;
}
.mpx-filtros-scroll {
  scroll-snap-type: x mandatory;
}

.btn-store2 {
  scroll-snap-align: start;
}


.mpx-filtros-scroll {
  background: linear-gradient(180deg, #0b0b0b, #000);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.btn-store2 {
  background: BLACK;
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: all .25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
  position: relative;
  overflow: hidden;
}


.btn-store2::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.35),
    transparent
  );
  transition: left .4s ease;
}

.btn-store2:hover::after {
  left: 120%;
}


.btn-store2:hover {
  background: rgba(255,215,0,.18);
  border-color: #ffd700;
  color: #efb810;
}

.btn-store2:active {
  transform: scale(.94);
}


.btn-inicio {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  border: none;
  color: #fff;
  box-shadow: 0 6px 18px rgba(13,110,253,.6);
}

.btn-inicio:hover {
  background: linear-gradient(135deg, #0a58ca, #0d6efd);
  color: #fff;
}


.btn-store2.active {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #000;
  border: none;
  box-shadow: 0 6px 20px rgba(255,215,0,.55);
}


.btn-store2.hot::before {
  content: "🔥";
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff0033;
  color: #fff;
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 50%;
}


btn.classList.add("active");



















/* ===== Carrusel estilo Mercado Libre ===== */
.ml-carrusel {
  margin: 20px 0;
}

.ml-carrusel h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.ml-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.ml-track::-webkit-scrollbar {
  display: none;
}

.ml-item {
  min-width: 160px;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
  scroll-snap-align: start;
  flex-shrink: 0;
}

.ml-item img {
  width: 100%;
  height: 140px;          /* 👈 controla el tamaño */
  object-fit: contain;   /* 👈 no se recorta */
  border-radius: 8px;
  background: #f5f5f5;
}

.ml-item h4 {
  font-size: 14px;
  margin: 6px 0;
}

.ml-item b {
  color: #00a650;
}

.ml-item {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ml-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
/* =========================
   🧸 MR TOYS – CARD
========================= */

.ml-item {
  position: relative;
  min-width: 220px;
  max-width: 220px;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.ml-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* =========================
   ⏳ CONTADOR
========================= */

.mrtoy-countdown {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(0,0,0,.75);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  z-index: 5;
  backdrop-filter: blur(4px);
}

.mrtoy-countdown .cd {
  background: #ff4b00;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 11px;
  min-width: 18px;
  text-align: center;
}

/* =========================
   🖼 IMAGEN
========================= */

.mrtoy-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f7f7;
  margin-bottom: 10px;
}

.mrtoy-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

.ml-item:hover .mrtoy-img img {
  transform: scale(1.06);
}

/* =========================
   🧾 TITULO
========================= */

.mrtoy-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 6px;
  height: 36px;
  overflow: hidden;
}

/* =========================
   💰 PRECIOS
========================= */

.mrtoy-price-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mrtoy-price-box .old-price {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}

.mrtoy-price-box .price-badge {
  font-size: 16px;
  font-weight: 800;
  color: #ff4b00;
}
/* BOTÓN */
.pwa-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 600;
  cursor: pointer;
  z-index: 2147483647;
}

/* MODAL */
.pwa-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2147483647;
}

.pwa-modal-content {
  background: #fff;
  max-width: 360px;
  margin: 15vh auto;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
}

.close-app-modal {
  float: right;
  cursor: pointer;
  font-size: 20px;
}

.install-btn {
  display: none;
  margin-top: 16px;
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
}
/* Ocultar botón de app en escritorio */
@media (min-width: 1024px) {
  #openAppModal {
    display: none !important;
  }
}

.menu-app-btn {
  width: 100%;
  padding: 14px 18px;
  margin-top: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #1f2937;

  border: none;
  border-radius: 14px;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;

  cursor: pointer;
  transition: all 0.25s ease;

  box-shadow:
    0 6px 16px rgba(245, 158, 11, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Hover (desktop) */
.menu-app-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 24px rgba(245, 158, 11, 0.45);
}

/* Active (tap) */
.menu-app-btn:active {
  transform: scale(0.97);
  box-shadow:
    0 4px 10px rgba(245, 158, 11, 0.3);
}

/* Icono más grande */
.menu-app-btn::before {
  content: "📲";
  font-size: 18px;
}

.videos-screen {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  transition: right 0.3s ease;
  overflow: hidden;
}

.videos-screen.active {
  right: 0;
}

.back-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 20;
}


.videos-list {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.video-card {
  position: relative;
  height: 100vh;
  max-width: 420px;
  margin: 0 auto;
  scroll-snap-align: start;
  background: #000;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXTO ABAJO */
.video-info {
  position: absolute;
  bottom: 80px;
  left: 15px;
  right: 15px;
  color: #fff;
  z-index: 5;
}

.video-info p {
  font-size: 15px;
  margin-bottom: 8px;
}

.video-info a {
  display: inline-block;
  background: #ffd700;
  color: #000;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
}
.sound-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 22px;
  background: rgba(0,0,0,0.6);
  padding: 8px;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
}
.audio-hint {
  position: absolute;
  bottom: 160px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 8;
  animation: pulse 1.5s infinite;
  pointer-events: none;
}

.audio-hint.active {
  animation: none;
  background: rgba(0,0,0,0.85);
}

@keyframes pulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

.side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: linear-gradient(180deg, #0f0f0f, #000);
  box-shadow: 8px 0 30px rgba(0,0,0,.6);
  z-index: 9999;
  padding: 20px 18px;
  transition: left .35s ease;
}

.side-menu.active {
  left: 0;
}


.close-menu {
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}


.side-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.05);
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
  border: 1px solid rgba(255,255,255,.05);
}

.side-menu a:hover {
  background: rgba(255,215,0,.15);
  transform: translateX(6px);
  border-color: #ffd700;
}


.side-menu a::first-letter {
  font-size: 22px;
}


#openVideos {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #000;
  font-weight: 800;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(255,215,0,.4);
}


.menu-app-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(13,110,253,.5);
  cursor: pointer;
}


.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}
.side-menu {
  background:
    radial-gradient(circle at top left, rgba(255,215,0,.15), transparent 40%),
    radial-gradient(circle at bottom right, rgba(13,110,253,.15), transparent 40%),
    linear-gradient(180deg, #0a0a0a, #000);
}


.side-menu {
  transform: translateX(-100%);
}

.side-menu.active {
  transform: translateX(0);
}


.side-menu a {
  position: relative;
  overflow: hidden;
}

.side-menu a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.25),
    transparent
  );
  transition: left .4s;
}

.side-menu a:hover::after {
  left: 100%;
}
.side-menu a:active {
  transform: scale(.97);
  background: rgba(255,215,0,.25);
}


.fab-menu {
  background: linear-gradient(135deg, #ffb700, #ffd700);
  color: #000;
  font-weight: 900;
  animation: pulseFab 1.5s infinite;
}

@keyframes pulseFab {
  0% { box-shadow: 0 0 0 0 rgba(255,215,0,.6); }
  70% { box-shadow: 0 0 0 18px rgba(255,215,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }
}


.side-menu::before {
  content: "🔥 PROMOS DESTACADAS";
  display: block;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 20px;
}

.hot-counter {
  background: linear-gradient(135deg, #ff0033, #ffb700);
  color: #fff;
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 14px;
  text-align: center;
  margin: 14px 0 18px;
  box-shadow: 0 8px 20px rgba(255,0,51,.4);
}


.side-menu a span.badge {
  margin-left: auto;
  background: #ff0033;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 10px;
  animation: shake .8s infinite;
}

.side-menu a span.badge2 {
  margin-left: auto;
  background: #36B5FF;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 10px;
  animation: shake .8s infinite;
}


.side-menu a span.badge3 {
  margin-left: auto;
  background: #36FF94;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 10px;
  animation: shake .8s infinite;
}


@keyframes shake {
  0% { transform: rotate(0); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(0); }
}
.side-menu a:active {
  animation: boom .25s ease;
}

@keyframes boom {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(.98); }
}
.side-menu {
  background-attachment: fixed;
}
.fomo {
  font-size: 13px;
  color: #bbb;
  text-align: center;
  margin-top: 12px;
  opacity: .8;
}



#menuOffcanvas {
  background: linear-gradient(180deg, #0b0b0b, #000);
  color: #fff;
}

#menuOffcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.7);
}

#menuOffcanvas .offcanvas-title {
  font-weight: 900;
  letter-spacing: .5px;
}


#menu-principal button {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: all .25s ease;
}

#menu-principal button:hover {
  background: rgba(255,215,0,.15);
  border-color: #ffd700;
  transform: translateX(6px);
}


#submenu-tiendas h6,
#submenu-categorias h6 {
  color: #ffd700;
  font-weight: 900;
}


#filtro-letras-tiendas button {
  background: rgba(255,255,255,.05);
  border: none;
  color: #ccc;
  font-weight: 700;
}

#filtro-letras-tiendas button:hover,
#filtro-letras-tiendas button.active {
  background: #ffd700;
  color: #000;
}


.tienda-item-menu {
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #fff !important;
  transition: all .2s ease;
}

.tienda-item-menu:hover {
  background: rgba(13,110,253,.25);
  transform: translateX(4px);
}


#submenu-categorias a {
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  font-weight: 600;
  color: #fff !important;
  transition: all .2s ease;
}

#submenu-categorias a:hover {
  background: rgba(255,215,0,.2);
  transform: scale(1.02);
}


#searchCategorias {
  background: #111;
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
}

#searchCategorias::placeholder {
  color: #777;
}


#menu-principal,
#submenu-tiendas,
#submenu-categorias {
  animation: fadeSlide .25s ease;
}

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



#menuOffcanvas .btn-close {
  filter: invert(1);
  opacity: .8;
}

#btn-regresar-tiendas,
#btn-regresar-categorias {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 12px;
  transition: all .25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}

/* Hover */
#btn-regresar-tiendas:hover,
#btn-regresar-categorias:hover {
  background: rgba(255,215,0,.25);
  border-color: #ffd700;
  color: #000;
  transform: translateX(-3px);
}

/* Active (tap) */
#btn-regresar-tiendas:active,
#btn-regresar-categorias:active {
  transform: scale(.95);
}


#btn-regresar-tiendas::before,
#btn-regresar-categorias::before {
  content: "←";
  margin-right: 6px;
  transition: transform .25s ease;
}

#btn-regresar-tiendas:hover::before,
#btn-regresar-categorias:hover::before {
  transform: translateX(-4px);
}

/* Pantallas informativas */
#screenSuperpromos,
#screenunicas,
#screencelebraciones,
#screenQuienes,
#screenParticipar {
  background: #000;      /* fondo negro */
  color: #fff;           /* texto blanco */
}

/* Títulos */
#screenSuperpromos h4,
#screenunicas h4,
#screencelebraciones h4,
#screenQuienes h4,
#screenParticipar h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Párrafos */
#screenSuperpromos p,
#screenunicas p,
#screencelebraciones p,
#screenQuienes p,
#screenParticipar p {
  color: #ddd;           /* blanco suave */
  line-height: 1.5;
}

/* Botón cerrar */
#screenSuperpromos .close-menu,
#screenunicas .close-menu,
#screencelebraciones .close-menu,
#screenQuienes .close-menu,
#screenParticipar .close-menu {
  color: #fff;
}

/* Botón WhatsApp */
#screenSuperpromos .menu-app-btn,
#screencelebraciones .menu-app-btn,
#screenunicas .menu-app-btn,
#screenParticipar .menu-app-btn {
  display: block;
  background: #c0d309;
  color: #000;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  margin: 20px 0;
}


/* ===============================
   CTA FINAL OFFCANVAS
=============================== */

