/* =========================================================
   STREAMSVIP - STYLE.CSS LIMPIO Y ORDENADO
   Mantiene panel de usuario, saldo, chat y tarjetas
========================================================= */

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
  max-width:100%;
  overflow-x:hidden !important;
}

body{
  font-family:Arial, sans-serif;
  background:#111;
  color:#fff;
  text-align:center;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

/* =========================================================
   INICIO / LOGIN BÁSICO
========================================================= */

.inicio{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  background:linear-gradient(180deg,#0f0f0f,#1a1a1a);
  padding:20px;
}

.card{
  width:100%;
  max-width:420px;
  margin:auto;
  background:#1c1c1c;
  padding:40px 35px;
  border-radius:18px;
  text-align:center;
  box-shadow:0 15px 40px rgba(0,0,0,0.6);
}

.logo{
  width:120px;
  margin:0 auto 20px;
}

.sub{
  color:#ccc;
  margin-bottom:20px;
}

.beneficios{
  font-size:14px;
  color:#bbb;
  margin-bottom:20px;
}

input{
  display:block;
  margin:10px auto;
  padding:10px;
  width:250px;
  border-radius:5px;
  border:none;
}

.inicio button,
.card button,
.modal-content button{
  background:red;
  border:none;
  color:#fff;
  padding:12px 20px;
  cursor:pointer;
  border-radius:6px;
  transition:.3s;
}

.inicio button:hover,
.card button:hover,
.modal-content button:hover{
  transform:scale(1.05);
  background:#ff2a2a;
}

.btnTerminos{
  background:#333;
}

.btnEntrar{
  width:100%;
  margin-top:15px;
}

.check{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  font-size:10px;
  margin-top:10px;
  max-width:100px;
  margin-left:auto;
  margin-right:auto;
  text-align:left;
}

.inicio .logo{
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid #fff;
  box-shadow:0 4px 15px rgba(0,0,0,0.3);
  transition:transform .3s ease, border-color .3s ease;
}

.inicio .logo:hover{
  transform:scale(1.05);
  border-color:#ff2a2a;
}

/* =========================================================
   MODAL BASE
========================================================= */

.modal{
  display:none;
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.8);
  justify-content:center;
  align-items:center;
  z-index:999;
}

.modal-content{
  width:90%;
  max-width:520px;
  max-height:85vh;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  background:#1c1c1c;
  padding:40px 38px 30px;
  border-radius:18px;
  color:#fff;
  line-height:1.7;
  text-align:left;
  box-shadow:0 25px 60px rgba(0,0,0,0.6);
}

.modal-content h2{
  text-align:center;
  margin-bottom:22px;
  font-size:22px;
  font-weight:600;
}

.modal-content p{
  margin-bottom:14px;
  font-size:14px;
  color:#d2d2d2;
}

.btnAceptar{
  margin-top:25px;
  align-self:center;
  background:#ff1a1a;
  color:#fff;
  border:none;
  padding:12px 28px;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:all .2s ease;
}

.btnAceptar:hover{
  background:#ff2d2d;
  transform:translateY(-1px);
}

@keyframes modalFade{
  from{
    opacity:0;
    transform:scale(.95);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

/* =========================================================
   MENÚ LATERAL
========================================================= */

.menuLateral{
  position:fixed;
  top:0;
  left:0;
  width:230px;
  height:100vh;
  background:#0b0b0b;
  overflow:hidden;
  z-index:9998;
  display:flex;
  flex-direction:column;
  box-shadow:5px 0 15px rgba(0,0,0,0.6);
}

.menuLateral a{
  display:flex;
  align-items:center;
  gap:14px;
  flex-shrink:0;
  color:#fff;
  text-decoration:none;
  padding:15px 20px;
  border-bottom:1px solid #1f1f1f;
  font-size:15px;
  font-family:'Segoe UI','Roboto',sans-serif;
  font-weight:500;
}

.menuLateral a:hover{
  background:#1a1a1a;
}

.menuLateral a.activo{
  background:red;
}

.menuLogo{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:18px 12px;
  text-align:center;
  border-bottom:1px solid #222;
  flex-shrink:0;
}

.menuLogo img{
  width:100px;
  height:100px;
  object-fit:cover;
  border-radius:50%;
  border:4px solid #222;
  box-shadow:0 6px 15px rgba(0,0,0,0.7);
  transition:transform .3s ease, border-color .3s ease;
  margin:0 auto;
}

.menuLogo img:hover{
  transform:scale(1.1);
  border-color:#ff2a2a;
}

.menuIcon{
  display:none;
  position:fixed;
  top:15px;
  left:15px;
  z-index:10001;
  font-size:28px;
  background:#111;
  color:#fff;
  padding:8px 12px;
  border-radius:6px;
  cursor:pointer;
}

.menu-emoji{
  filter:grayscale(100%) brightness(2);
  -webkit-filter:grayscale(100%) brightness(2);
}

/* =========================================================
   PANEL USUARIO / SALDO
========================================================= */

.panelUsuario{
  margin:12px 10px 10px;
  padding:12px 10px;
  border-radius:14px;
  background:
    radial-gradient(circle at top left, rgba(255,215,90,0.10), transparent 35%),
    radial-gradient(circle at bottom right, rgba(255,170,0,0.08), transparent 30%),
    linear-gradient(180deg,#101010 0%, #090909 100%);
  border:1px solid rgba(255,215,120,0.14);
  box-shadow:
    0 10px 25px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.03);
  text-align:left;
  position:relative;
  overflow:visible;
  flex-shrink:0;
  height:auto;
}

.panelUsuario::before{
  content:"";
  position:absolute;
  top:-40px;
  right:-40px;
  width:120px;
  height:120px;
  background:radial-gradient(circle, rgba(255,215,90,0.12), transparent 70%);
  pointer-events:none;
}

.panelUsuarioNombre{
  font-size:13px;
  font-weight:900;
  color:#ffffff;
  line-height:1.2;
  margin-bottom:3px;
  word-break:break-word;
  text-transform:uppercase;
  letter-spacing:.2px;
}

.panelUsuarioHandle{
  font-size:11px;
  color:#b9b0a0;
  margin-bottom:10px;
  word-break:break-word;
}

.panelSaldoBox{
  position:relative;
  width:100%;
  min-height:70px;
  height:auto;
  padding:8px 10px;
  border-radius:12px;
  text-align:center;
  overflow:hidden;
  border:1px solid rgba(255,215,120,0.38);
  background:
    linear-gradient(135deg, rgba(255,220,120,0.18) 0%, rgba(255,180,0,0.10) 18%, rgba(20,20,20,0.92) 45%, rgba(8,8,8,0.98) 100%),
    linear-gradient(180deg,#1a1408 0%, #0d0b08 100%);
  box-shadow:
    0 8px 22px rgba(0,0,0,0.45),
    0 0 18px rgba(255,196,0,0.10),
    inset 0 1px 0 rgba(255,240,190,0.18),
    inset 0 -1px 0 rgba(255,180,0,0.08);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.panelSaldoBox::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(115deg, transparent 15%, rgba(255,255,255,0.08) 32%, transparent 48%),
    radial-gradient(circle at 15% 20%, rgba(255,225,130,0.16), transparent 30%);
  pointer-events:none;
}

.panelSaldoBox::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:13px;
  border:1px solid rgba(255,220,150,0.08);
  pointer-events:none;
}

.panelSaldoLabel{
  position:relative;
  z-index:1;
  font-size:11px;
  font-weight:800;
  color:#f6ddb0;
  margin-bottom:4px;
  text-transform:uppercase;
  letter-spacing:.4px;
  text-shadow:0 0 8px rgba(255,204,0,0.10);
  line-height:1;
}

.panelSaldoValor{
  position:relative;
  z-index:1;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:2px;
  font-size:15px;
  font-weight:900;
  color:#ffe8a3;
  line-height:1.1;
  text-align:center;
  text-shadow:
    0 0 8px rgba(255,210,90,0.18),
    0 1px 0 rgba(0,0,0,0.6);
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
}

.panelSaldoMoneda{
  font-size:10px;
  color:#ffd670;
  opacity:.95;
  margin-left:2px;
  letter-spacing:.6px;
  font-weight:800;
  vertical-align:middle;
  white-space:nowrap;
}

/* =========================================================
   CHAT DEL MENÚ
========================================================= */

.chatcbox{
  width:calc(100% - 16px);
  max-width:calc(100% - 16px);
  height:430px;
  margin:8px auto 8px;
  display:block;
  flex-shrink:0;
  overflow:hidden;
  border-radius:12px;
}

.chatcbox iframe{
  width:100%;
  height:340px;
  max-width:100%;
  border:none;
  border-radius:12px;
  box-shadow:0 4px 15px rgba(0,0,0,0.25);
  background:#111;
  display:block;
}

/* =========================================================
   BANNER / SLIDER
========================================================= */

.bannerFull{
  position:relative;
  width:calc(100% - 230px);
  margin-left:230px;
  margin-top:20px;
  margin-bottom:20px;
  height:45vh;
  min-height:280px;
  max-height:320px;
  overflow:hidden;
  box-sizing:border-box;
}

.slides-container{
  position:relative;
  width:100%;
  height:100%;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  display:none;
  transition:opacity .8s ease-in-out;
}

.slide.active{
  opacity:1;
  display:block;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.prev,
.next{
  cursor:pointer;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:50px;
  height:50px;
  line-height:50px;
  text-align:center;
  font-size:28px;
  font-weight:bold;
  color:#fff;
  background:rgba(0,0,0,0.5);
  border-radius:50%;
  user-select:none;
  text-decoration:none;
  transition:.4s;
  z-index:10;
}

.prev{
  left:35px;
}

.next{
  right:20px;
}

.prev:hover,
.next:hover{
  background:rgba(255,0,0,0.8);
  transform:translateY(-50%) scale(1.1);
}

.dots{
  position:absolute;
  bottom:15px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
}

.dot{
  cursor:pointer;
  display:inline-block;
  width:12px;
  height:12px;
  margin:0 6px;
  background:#bbb;
  border-radius:50%;
  transition:background-color .6s ease;
}

.dot.active{
  background:#fff;
}

/* =========================================================
   PRODUCTOS
========================================================= */

.productos{
  width:calc(100% - 230px);
  margin-left:230px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
  padding:20px;
  align-items:center;
}

.cargandoProductos{
  width:100%;
  text-align:center;
  padding:30px 15px;
  color:#cfcfcf;
  font-size:16px;
  font-weight:600;
}

.producto{
  width:220px;
  min-height:380px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:#1c1c1c;
  border-radius:12px;
  overflow:hidden;
  text-align:center;
  box-shadow:0 4px 15px rgba(0,0,0,0.5);
  transition:transform .3s ease, box-shadow .3s ease;
  padding-bottom:18px;
  word-break:break-word;
}

.producto:hover{
  transform:translateY(-8px);
  box-shadow:0 8px 25px rgba(255,0,0,0.3);
}

.producto img{
  width:100%;
  height:190px;
  display:block;
  object-fit:cover;
  object-position:center;
  background:transparent;
  border:none;
  margin:0;
  padding:0;
  border-radius:0;
  box-sizing:border-box;
}

.producto h2{
  font-size:1rem;
  margin:14px 12px 8px;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  line-height:1.35;
  word-break:break-word;
}

.producto .precio{
  font-size:1.5rem;
  font-weight:bold;
  color:#ff0000;
  margin:10px 0 12px;
  text-shadow:0 2px 5px rgba(0,0,0,0.6);
}

.producto .viendo,
.producto .compras{
  font-size:.95rem;
  color:#ccc;
  margin:6px 12px;
  line-height:1.4;
}

.producto button{
  background:#e50914;
  color:#fff;
  border:none;
  width:calc(100% - 36px);
  max-width:260px;
  padding:12px 0;
  font-size:1.05rem;
  font-weight:bold;
  cursor:pointer !important;
  margin:14px auto 0;
  border-radius:8px;
  transition:background .3s, transform .2s;
  display:flex;
  align-items:center;
  justify-content:center;
}

.producto button:hover{
  background:#b20710;
  transform:scale(1.05);
}

.producto,
.producto h2,
.producto .precio,
.producto .viendo,
.producto .compras,
.producto p,
.producto span{
  cursor:default !important;
}

.producto button *{
  cursor:pointer !important;
}

.masVendido{
  position:relative;
  border:2px solid #ff2a2a;
  box-shadow:0 0 25px rgba(255,0,0,0.6);
  animation:fuegoPulse 2s infinite;
}

.masVendido::before{
  content:"🔥 MÁS VENDIDO";
  position:absolute;
  top:10px;
  left:10px;
  background:#ff0000;
  color:#fff;
  font-size:11px;
  padding:4px 8px;
  border-radius:6px;
  font-weight:bold;
}

@keyframes fuegoPulse{
  0%{box-shadow:0 0 10px rgba(255,0,0,0.5);}
  50%{box-shadow:0 0 30px rgba(255,0,0,0.9);}
  100%{box-shadow:0 0 10px rgba(255,0,0,0.5);}
}

/* =========================================================
   STOCK / DURACIÓN
========================================================= */

.stock{
  display:inline-block;
  margin-top:6px;
  font-size:12.5px;
  font-weight:600;
  color:#e4e4e42d;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:5px 10px;
  border-radius:8px;
  letter-spacing:.3px;
  backdrop-filter:blur(4px);
  width:calc(100% - 28px);
  margin-left:auto;
  margin-right:auto;
}

.duracionServicio{
  display:inline-block;
  margin-top:6px;
  font-size:12px;
  color:#eed798;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.06);
  padding:4px 10px;
  border-radius:8px;
  letter-spacing:.2px;
  width:calc(100% - 28px);
  margin-left:auto;
  margin-right:auto;
}

.avisoStock{
  display:none;
  margin-top:10px;
  padding:6px 12px;
  font-size:12px;
  font-weight:500;
  color:#ffd86b;
  background:rgba(255,216,107,0.08);
  border:1px solid rgba(255,216,107,0.25);
  border-radius:10px;
  backdrop-filter:blur(6px);
  animation:stockFade .4s ease;
}

@keyframes stockFade{
  from{
    opacity:0;
    transform:translateY(-4px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* =========================================================
   PROVEEDOR EN TARJETA
========================================================= */

.productoProveedor{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:100%;
  max-width:190px;
  margin:10px auto 8px;
  padding:9px 12px;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(20,24,32,0.95), rgba(12,16,24,0.98));
  border:1px solid rgba(126,200,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 20px rgba(0,0,0,0.18);
}

.productoProveedorTop{
  font-size:10.5px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  color:#8d98a7;
  line-height:1;
}

.productoProveedorNombre{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:13px;
  font-weight:800;
  color:#dff3ff;
  line-height:1.2;
  text-align:center;
}

/* =========================================================
   MODAL DE COMPRA
========================================================= */

.modalCompra{
  display:none;
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.85);
  backdrop-filter:blur(6px);
  justify-content:center;
  align-items:center;
  z-index:9999;
  padding:10px;
}

.modalContenido{
  position:relative;
  width:90%;
  max-width:900px;
  max-height:90vh;
  overflow-y:auto;
  margin:auto;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:30px;
  background:#1a1a1a;
  border-radius:16px;
  padding:30px;
  box-shadow:0 10px 40px rgba(0,0,0,0.6);
}

.cerrarModal{
  position:absolute;
  top:10px;
  right:12px;
  font-size:22px;
  cursor:pointer;
  z-index:5;
}

.modalProducto{
  display:flex;
  gap:30px;
  align-items:flex-start;
}

.modalProducto img{
  width:220px;
  border-radius:10px;
}

.modalInfo{
  flex:1;
  text-align:left;
}

.modalInfo h2{
  margin-bottom:10px;
  font-size:26px;
}

.modalInfo h3{
  margin-top:12px;
  font-size:18px;
}

.modalProveedor{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:8px 0 18px;
  padding:12px 14px;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(15,20,28,0.96), rgba(22,28,38,0.96));
  border:1px solid rgba(126,200,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 10px 24px rgba(0,0,0,0.22);
}

.proveedorLabel{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  color:#95a3b6;
  min-width:100%;
}

.proveedorNombreWrap{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:12px;
  background:rgba(126,200,255,0.08);
  border:1px solid rgba(126,200,255,0.16);
}

.proveedorIcono{
  font-size:15px;
  line-height:1;
}

.proveedorNombreTexto{
  font-size:14px;
  font-weight:800;
  color:#eaf7ff;
  letter-spacing:.2px;
}

.proveedorEstado{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(88,255,170,0.08);
  border:1px solid rgba(88,255,170,0.16);
  color:#8fffc1;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

.descripcionProducto{
  margin-top:10px;
  padding:14px;
  background:#161616;
  border-radius:8px;
  border:1px solid #2a2a2a;
  cursor:default;
}

.descripcionProducto h3{
  font-size:15px;
  margin-bottom:6px;
  color:#fff;
}

.descripcionProducto p{
  font-size:13px;
  color:#ccc;
  line-height:1.5;
}

.reglasUso{
  margin-top:12px;
  padding:14px;
  background:#141414;
  border-radius:8px;
  border:1px solid #2a2a2a;
  cursor:default;
}

.reglasUso h3{
  font-size:15px;
  margin-bottom:6px;
  color:#ff4040;
}

.reglasUso ul{
  padding-left:18px;
  margin:0;
}

.reglasUso li{
  font-size:13px;
  color:#ccc;
  margin-bottom:4px;
}

.garantiaBox{
  margin-top:12px;
  font-size:13px;
  color:#bbb;
}

.garantiaBox p{
  margin:4px 0;
}

.cantidadBox{
  display:flex;
  align-items:center;
  gap:15px;
  margin:20px 0;
}

.cantidadBox button{
  width:35px;
  height:35px;
  border:none;
  border-radius:6px;
  font-size:18px;
  cursor:pointer;
  background:#333;
  color:#fff;
}

.cantidadBox button:hover{
  background:#444;
}

#cantidadProducto{
  font-size:18px;
  min-width:20px;
  text-align:center;
}

.btnComprarAhora{
  background:#e50914;
  border:none;
  padding:12px 20px;
  color:#fff;
  font-size:16px;
  border-radius:8px;
  cursor:pointer;
  margin-top:10px;
  transition:.25s;
}

.btnComprarAhora:hover{
  background:#ff1a25;
  border-color:#ff2a2a !important;
  transform:scale(1.05);
}

/* =========================================================
   QR / PAGO
========================================================= */

.qrContainer{
  display:flex;
  flex-direction:column;
  align-items:center;
  background:#2a2a2a;
  border-radius:16px;
  box-shadow:inset 0 0 8px rgba(255,255,255,0.05);
  width:100%;
  max-width:280px;
  margin:0 auto;
  padding:0;
  overflow:hidden;
}

.qr{
  display:block;
  width:100%;
  border-radius:14px;
  box-shadow:0 6px 15px rgba(0,0,0,0.4);
  object-fit:cover;
}

.yapeBox{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.yapeNumero{
  font-size:18px;
  font-weight:600;
  color:#fff;
  cursor:default;
}

.btnCopiar,
#btnCopiar{
  background:#e50914;
  color:#fff;
  border:none;
  padding:8px 18px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  transition:all .3s ease;
}

.btnCopiar:hover,
#btnCopiar:hover{
  background:#ff1a25;
  transform:scale(1.05);
}

.qrAtencion{
  color:#ccc;
  font-size:14px;
  margin-top:15px;
  text-align:center;
}

.qrBtns{
  margin-top:22px;
  display:flex;
  justify-content:center;
  gap:15px;
}

.btnYape{
  background:#322758;
  color:#fff;
  border:none;
  padding:10px 20px;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s ease;
}

.btnYape:hover{
  background:#9117A0;
  transform:scale(1.05);
}

.qrBtns button:last-child{
  background:#e50914;
  color:#fff;
  border:none;
  padding:10px 20px;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s ease;
}

.qrBtns button:last-child:hover{
  background:#ff1a25;
  transform:scale(1.05);
}

.pantallaQR{
  display:none;
  margin:40px auto;
  max-width:380px;
  text-align:center;
  font-family:Arial, sans-serif;
  background:linear-gradient(145deg,#2c2c2c,#1b1b1b);
  padding:30px 25px;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(0,0,0,0.7), 0 0 10px rgba(100,0,255,0.2);
  transition:transform .3s ease, box-shadow .3s ease;
}

.pantallaQR:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 40px rgba(0,0,0,0.8), 0 0 15px rgba(100,0,255,0.3);
}

.qrNombre{
  font-size:22px;
  font-weight:700;
  color:#fff;
  margin-bottom:18px;
  letter-spacing:.5px;
}

/* =========================================================
   FORMULARIO
========================================================= */

.formulario{
  display:none;
  max-width:420px;
  margin:50px auto;
  background:#1f1f1f;
  padding:35px 30px;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,0.6);
  font-family:Arial, sans-serif;
  text-align:left;
  transition:transform .3s ease, box-shadow .3s ease;
}

.formulario:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 35px rgba(0,0,0,0.7);
}

.formulario h2{
  font-size:22px;
  font-weight:600;
  margin-bottom:25px;
  color:#f5f5f5;
  text-align:center;
  letter-spacing:.5px;
  border-bottom:2px solid #e50914;
  padding-bottom:8px;
}

.formulario form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.formulario input[type="text"],
.formulario input[type="file"]{
  padding:12px 15px;
  font-size:16px;
  border-radius:8px;
  border:1px solid #444;
  background:#2a2a2a;
  color:#f5f5f5;
  outline:none;
  transition:.3s;
}

.formulario input[type="text"]:focus,
.formulario input[type="file"]:focus{
  border-color:#e03232;
  box-shadow:0 0 8px rgba(255,59,59,0.3);
}

.formulario button[type="submit"]{
  background:#e03232;
  color:#fff;
  border:none;
  padding:12px 0;
  font-size:1rem;
  font-weight:600;
  border-radius:10px;
  cursor:pointer;
  transition:all .3s ease;
}

.formulario button[type="submit"]:hover{
  background:#e50914;
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(255,59,59,0.4);
}

.formulario input::placeholder{
  color:#ccc;
  font-weight:400;
}

.formulario input[type="file"]{
  cursor:pointer;
}

/* =========================================================
   WHATSAPP / SOPORTE
========================================================= */

.soporte{
  position:fixed;
  bottom:12px;
  right:12px;
  width:56px;
  height:56px;
  background:transparent !important;
  box-shadow:none !important;
  cursor:pointer;
  outline:none !important;
  border:none !important;
  transition:transform .3s ease, box-shadow .3s ease;
  animation:pulse 1.8s infinite ease-in-out;
}

.soporte img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:50%;
  transition:transform .3s ease;
}

.soporte:hover{
  transform:scale(1.15);
  box-shadow:0 0 30px rgba(37,211,102,0.8);
  animation:none;
}

.soporte:hover img{
  transform:scale(1.1);
}

@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(37,211,102,0.7);}
  50%{box-shadow:0 0 0 25px rgba(37,211,102,0);}
  100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}
}

.tooltip{
  position:absolute;
  bottom:100%;
  left:50%;
  transform:translateX(-50%);
  background:#111;
  color:#fff;
  padding:8px 14px;
  border-radius:8px;
  font-size:13px;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:opacity .3s ease, bottom .3s ease;
  margin-bottom:8px;
  box-shadow:0 4px 12px rgba(0,0,0,0.5);
}

.tooltip::after{
  content:'';
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  border-left:8px solid transparent;
  border-right:8px solid transparent;
  border-top:8px solid #111;
}

.soporte:hover .tooltip{
  opacity:1;
  bottom:110%;
}

/* =========================================================
   TOASTS / NOTIFICACIONES
========================================================= */

.notificacionCompra{
  position:fixed;
  bottom:20px;
  left:50%;
  transform:translateX(-50%) translateY(20px);
  background:linear-gradient(135deg,#ff0000,#ff4d4d);
  color:#fff;
  padding:14px 22px;
  border-radius:12px;
  box-shadow:0 8px 25px rgba(0,0,0,0.6);
  display:none;
  font-size:14px;
  z-index:20000;
  opacity:0;
  transition:transform .5s ease, opacity .5s ease;
}

.notificacionCompra.show{
  display:block;
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

#toastGracias{
  position:fixed;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  background:#25D366;
  color:#fff;
  padding:16px 32px;
  border-radius:12px;
  font-size:16px;
  box-shadow:0 4px 20px rgba(0,0,0,0.5);
  z-index:9999;
  opacity:0;
  transition:opacity .5s, transform .5s;
  pointer-events:none;
}

#toastGracias.show{
  opacity:1;
  transform:translateX(-50%) translateY(-20px);
}

.toastCompraExitosa{
  position:fixed;
  top:22px;
  right:22px;
  z-index:999999;
  min-width:290px;
  max-width:380px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:16px;
  background:linear-gradient(135deg,#101010,#1a1a1a);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 18px 40px rgba(0,0,0,0.45);
  color:#fff;
  transform:translateY(-20px);
  opacity:0;
  pointer-events:none;
  transition:all .28s ease;
}

.toastCompraExitosa.show{
  transform:translateY(0);
  opacity:1;
}

.toastCompraIcon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(30,215,96,0.16);
  font-size:22px;
  flex-shrink:0;
}

.toastCompraTexto{
  display:flex;
  flex-direction:column;
  line-height:1.35;
}

.toastCompraTexto strong{
  font-size:14px;
  color:#fff;
  font-weight:800;
}

.toastCompraTexto span{
  font-size:13px;
  color:#cfcfcf;
}

/* =========================================================
   ESTRELLAS / ESTADÍSTICAS
========================================================= */

.estadisticas{
  position:absolute;
  bottom:30px;
  left:0;
  width:100%;
  text-align:center;
  color:#bbb;
  font-size:15px;
  line-height:26px;
}

.estadisticas span{
  color:#fff;
  font-weight:bold;
}

.estadisticas-top{
  position:fixed;
  top:20px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:25px;
  background:rgba(28,28,28,0.85);
  padding:10px 20px;
  border-radius:12px;
  font-size:15px;
  color:#fff;
  font-weight:500;
  z-index:9999;
  box-shadow:0 4px 15px rgba(0,0,0,0.4);
  text-align:center;
  backdrop-filter:blur(4px);
}

.estadisticas-top .estadistica-item{
  display:flex;
  align-items:center;
  gap:6px;
}

.estadisticas-top .icon{
  font-size:18px;
}

.estadisticas-top .texto{
  font-weight:bold;
  color:#fff;
}

.estrellas{
  display:flex;
  justify-content:center;
  gap:10px;
  cursor:pointer;
}

.estrellas .estrella{
  color:#444;
  transition:color .2s;
}

.estrellas .estrella.activa,
.estrellas .estrella:hover,
.estrellas .estrella:hover ~ .estrella{
  color:#ffd700;
}

.viendo,
.ventas{
  font-size:13px;
  color:#bbb;
}

.viendo{
  margin:8px 0;
}

.ventas{
  margin:5px 0;
}

/* =========================================================
   OFERTAS
========================================================= */

.ofertasContainer{
  display:flex;
  justify-content:center;
  margin-top:40px;
}

.productoOferta{
  width:260px;
  text-align:center;
  background:#1c1c1c;
  padding:25px;
  border-radius:14px;
  box-shadow:0 15px 40px rgba(0,0,0,0.6);
}

.productoOferta img{
  width:120px;
  margin:0 auto 10px;
}

.precioOferta{
  color:#00ff90;
  font-size:24px;
  font-weight:bold;
}

.stockOferta{
  margin-top:5px;
  color:#ccc;
}

.contadorOferta{
  margin-top:12px;
  background:#111;
  padding:8px;
  border-radius:8px;
  font-size:14px;
}

.productoOferta button{
  margin-top:15px;
  background:#ff1a1a;
  color:#fff;
  border:none;
  padding:10px 25px;
  border-radius:8px;
  cursor:pointer;
}

.productoOferta button:hover{
  background:#ff3b3b;
}

button:disabled{
  background-color:#555 !important;
  color:#ccc !important;
  cursor:not-allowed !important;
  pointer-events:none !important;
}

/* =========================================================
   MODAL OFERTA VIGENTE
========================================================= */

.modalOfertaVigente{
  display:none;
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.80);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  z-index:99999;
  justify-content:center;
  align-items:center;
  padding:20px;
}

.modalOfertaBox{
  position:relative;
  width:100%;
  max-width:420px;
  text-align:center;
  color:#fff;
  background:linear-gradient(180deg,#242432,#16161f);
  border-radius:22px;
  padding:30px 25px 28px;
  border:1px solid rgba(255,213,74,0.18);
  box-shadow:0 25px 60px rgba(0,0,0,0.6);
  animation:zoomOferta .25s ease;
}

.modalOfertaBox::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg,#ffd54a,#ffb300,#ffd54a);
  border-radius:22px 22px 0 0;
}

.modalOfertaBox h2{
  margin:6px 0 12px;
  font-size:30px;
  color:#ffe082;
  font-weight:800;
  line-height:1.2;
}

.modalOfertaBox p{
  margin:0;
  font-size:15px;
  color:#d6d6de;
  line-height:1.7;
}

.cerrarOferta{
  position:absolute;
  top:14px;
  right:14px;
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:18px;
  cursor:pointer;
  color:#fff;
  background:rgba(255,255,255,0.08);
  transition:.25s;
}

.cerrarOferta:hover{
  background:#ffd54a;
  color:#111;
}

.btnsOferta{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:24px;
  flex-wrap:wrap;
}

.btnVerOferta{
  min-width:145px;
  border:none;
  padding:13px 20px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  background:linear-gradient(180deg,#e0b93f,#c99c16);
  color:#1a1a1a;
  transition:.25s;
}

.btnVerOferta:hover{
  background:linear-gradient(180deg,#ffe082,#ffd54a);
  color:#1a1a1a;
  transform:translateY(-2px);
}

.btnVerOferta:active,
.btnVerOferta:focus,
.btnVerOferta:focus-visible{
  background:linear-gradient(180deg,#ffe082,#ffd54a);
  color:#1a1a1a;
  outline:none;
  box-shadow:none;
}

.btnCerrarOferta{
  min-width:145px;
  border:none;
  padding:13px 20px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  background:#2b2b36;
  color:#fff;
  transition:.25s;
}

.btnCerrarOferta:hover{
  background:#3a3a45;
  transform:translateY(-2px);
}

.btnCerrarOferta:active,
.btnCerrarOferta:focus,
.btnCerrarOferta:focus-visible{
  outline:none;
  box-shadow:none;
}

.modalOfertaBadge{
  display:inline-block;
  margin-bottom:16px;
  padding:10px 18px;
  border-radius:30px;
  font-size:13px;
  font-weight:800;
  letter-spacing:1px;
  color:#1a1a1a;
  background:linear-gradient(180deg,#ffe082,#ffd54a);
  border:2px solid #ffca28;
  box-shadow:
    0 6px 18px rgba(255,213,74,0.35),
    inset 0 1px 0 rgba(255,255,255,0.4);
  animation:pulsoPromo 2.2s infinite;
}

@keyframes zoomOferta{
  from{
    opacity:0;
    transform:scale(.9);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

@keyframes pulsoPromo{
  0%{
    transform:scale(1);
    box-shadow:0 6px 18px rgba(255,213,74,0.35);
  }
  50%{
    transform:scale(1.05);
    box-shadow:0 10px 30px rgba(255,213,74,0.55);
  }
  100%{
    transform:scale(1);
    box-shadow:0 6px 18px rgba(255,213,74,0.35);
  }
}

/* =========================================================
   AUTH NUEVO ESTILO
========================================================= */

.authBody{
  margin:0;
  font-family:Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(255,0,0,0.08), transparent 28%),
    linear-gradient(180deg,#050505,#0a0a0a 45%, #0f0f0f 100%);
  color:#fff;
}

.authContainer{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:28px 16px;
}

.authCard{
  width:100%;
  max-width:430px;
  background:linear-gradient(180deg,#111111,#0b0b0b);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:28px;
  padding:34px 28px 30px;
  box-shadow:
    0 24px 70px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.02) inset;
}

.authCardRegister{
  max-width:560px;
}

.authLogoWrap,
.registerLogoTop{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:18px;
}

.authLogoMain{
  width:92px;
  height:92px;
  object-fit:cover;
  border-radius:50%;
  border:3px solid #ff2a2a;
  box-shadow:0 8px 22px rgba(255,0,0,0.20);
}

.registerTopLogo{
  width:96px;
  height:96px;
  object-fit:cover;
  border-radius:22px;
  border:2px solid rgba(255,42,42,0.65);
  box-shadow:0 10px 24px rgba(255,0,0,0.12);
}

.authWelcomeTitle{
  margin:0 0 12px;
  text-align:center;
  font-size:2.15rem;
  line-height:1.2;
  font-weight:800;
  color:#fff;
}

.registerMainTitle{
  text-align:center;
  color:#fff;
  margin:0 0 10px;
  font-size:2.05rem;
  font-weight:800;
  letter-spacing:.2px;
}

.authSubtitle,
.registerSubtitle{
  text-align:center;
  color:#cfcfcf;
  margin:0 0 26px;
  font-size:1rem;
  line-height:1.45;
}

.authGroup{
  margin-bottom:17px;
  text-align:left;
}

.authGroup label{
  display:block;
  margin-bottom:8px;
  color:#f1f1f1;
  font-size:15px;
  font-weight:700;
}

.authInputWrap{
  position:relative;
  display:flex;
  align-items:center;
  background:#121212;
  border:1px solid #2a2a2a;
  border-radius:16px;
  overflow:hidden;
  transition:border-color .25s ease, box-shadow .25s ease;
}

.authInputWrap:focus-within{
  border-color:#ff2a2a;
  box-shadow:0 0 0 3px rgba(255,42,42,0.10);
}

.authInputWrap input{
  width:100%;
  margin:0;
  background:transparent;
  border:none;
  outline:none;
  color:#fff;
  font-size:16px;
  padding:16px 46px 16px 46px;
}

.authInputWrap input::placeholder{
  color:#777;
}

.authIcon{
  position:absolute;
  left:14px;
  font-size:18px;
  opacity:.9;
}

.authEye{
  position:absolute;
  right:10px;
  width:34px;
  height:34px;
  border:none;
  background:transparent !important;
  color:#8e8e8e !important;
  border-radius:50%;
  cursor:pointer;
  padding:0;
  margin:0;
  box-shadow:none !important;
}

.authEye:hover{
  background:rgba(255,255,255,0.05) !important;
  color:#fff !important;
  transform:none !important;
}

.authPrimaryBtn{
  width:100%;
  border:none;
  border-radius:16px;
  padding:16px 20px;
  font-size:1.08rem;
  font-weight:800;
  color:#fff;
  background:linear-gradient(90deg,#d11414,#ff2f2f);
  cursor:pointer;
  margin-top:8px;
  box-shadow:0 10px 24px rgba(255,0,0,0.18);
}

.authPrimaryBtn:hover{
  transform:translateY(-1px);
  background:linear-gradient(90deg,#ea1818,#ff4444);
}

.authPrimaryBtnRed{
  background:linear-gradient(90deg,#c70f0f,#ff2424);
}

.authPrimaryBtnRed:hover{
  background:linear-gradient(90deg,#db1414,#ff3a3a);
}

.authLinkBtn{
  width:100%;
  margin-top:14px;
  background:transparent !important;
  border:none;
  color:#e1e1e1 !important;
  text-decoration:underline;
  font-size:15px;
  cursor:pointer;
  box-shadow:none !important;
}

.authLinkBtn:hover{
  color:#ffffff !important;
  background:transparent !important;
  transform:none !important;
}

.authSecurityBox{
  margin-top:12px;
  padding:14px 16px;
  border-radius:15px;
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.06);
  color:#d7d7d7;
  font-weight:600;
  text-align:center;
}

.authDivider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:24px 0 16px;
  color:#7a7a7a;
  font-size:14px;
  justify-content:center;
}

.authDivider::before,
.authDivider::after{
  content:"";
  flex:1;
  height:1px;
  background:#222;
}

.authSecondaryLink{
  display:block;
  text-align:center;
  color:#ff3a3a;
  text-decoration:none;
  font-size:1.05rem;
  font-weight:800;
}

.authSecondaryLink:hover{
  color:#ff5b5b;
}

.mensajeAuth{
  min-height:22px;
  margin-top:14px;
  text-align:center;
  font-size:14px;
  font-weight:700;
}

.registerGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.btnTerminosRegistro{
  width:100%;
  margin-top:10px;
  background:#242424;
  color:#fff;
  border:none;
  padding:14px 16px;
  border-radius:14px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

.btnTerminosRegistro:hover{
  background:#2f2f2f;
}

.checkAuth{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:10px;
  margin-top:14px;
  text-align:left;
  color:#e1e1e1;
  font-size:14px;
  line-height:1.35;
}

.checkAuth input{
  width:16px;
  height:16px;
  margin-top:2px;
  flex-shrink:0;
}

.checkAuth span{
  max-width:250px;
}

.registerLoginText{
  margin:18px 0 0;
  text-align:center;
  color:#bdbdbd;
  font-size:15px;
}

.registerLoginText a{
  color:#ff3c3c;
  text-decoration:none;
  font-weight:800;
}

.registerLoginText a:hover{
  color:#ff5b5b;
}

.authRememberRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:-2px 0 12px;
}

.authRememberLabel{
  display:flex;
  align-items:center;
  gap:10px;
  color:#d9d9d9;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  user-select:none;
}

.authRememberLabel input{
  width:16px;
  height:16px;
  accent-color:#ff2a2a;
  cursor:pointer;
}

/* =========================================================
   MODAL TÉRMINOS
========================================================= */

#modalTerminos .modal-content{
  background:linear-gradient(180deg,#1b1b1b,#141414);
  border:1px solid rgba(255,255,255,0.05);
  border-radius:20px;
}

#modalTerminos .modal-content h2{
  text-align:center;
  margin-bottom:18px;
  font-size:24px;
  color:#fff;
}

#modalTerminos .modal-content p{
  font-size:14px;
  line-height:1.7;
  color:#d6d6d6;
}

#modalTerminos .btnAceptar{
  background:linear-gradient(90deg,#d11414,#ff3030);
}

#modalTerminos .btnAceptar:hover{
  background:linear-gradient(90deg,#e61919,#ff4a4a);
}

/* =========================================================
   CÓMO COMPRAR
========================================================= */

.pagina-como-comprar{
  margin-left:230px;
  width:calc(100% - 230px);
  min-height:100vh;
  padding:34px 26px 50px;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:#0e0e0e;
  color:#e8e8e8;
  text-align:left;
}

.hero-como-comprar{
  max-width:1100px;
  margin:0 auto 22px;
  padding:30px 28px;
  border-radius:22px;
  background:linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:0 14px 38px rgba(0,0,0,0.35);
  text-align:center;
}

.heroBadge{
  display:inline-block;
  margin-bottom:12px;
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.8px;
  color:#ffd3a1;
  background:rgba(255,140,0,0.10);
  border:1px solid rgba(255,170,0,0.20);
}

.hero-como-comprar h1{
  margin:0 0 12px;
  font-size:42px;
  font-weight:800;
  color:#fff;
  line-height:1.15;
  text-align:center;
}

.hero-como-comprar p{
  max-width:760px;
  margin:0 auto;
  color:#d2d2d2;
  font-size:15px;
  line-height:1.7;
  text-align:center;
}

.resumen-como-comprar{
  max-width:1100px;
  margin:0 auto 26px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.resumenCard{
  background:linear-gradient(180deg,#181818,#131313);
  border:1px solid rgba(255,255,255,0.05);
  border-radius:18px;
  padding:18px 18px;
  box-shadow:0 8px 24px rgba(0,0,0,0.26);
  text-align:left;
}

.resumenCard strong{
  display:block;
  margin-bottom:5px;
  color:#fff;
  font-size:15px;
  font-weight:700;
}

.resumenCard span{
  display:block;
  color:#bdbdbd;
  font-size:13px;
  line-height:1.55;
}

.pagina-como-comprar .pasos-container{
  max-width:1100px;
  margin:0 auto;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:22px;
  position:relative;
}

.pagina-como-comprar .pasos-container::before{
  content:"";
  position:absolute;
  left:20px;
  top:18px;
  bottom:18px;
  width:2px;
  background:linear-gradient(to bottom, transparent, rgba(255,255,255,0.14), transparent);
}

.pagina-como-comprar .paso{
  display:grid;
  grid-template-columns:290px 1fr;
  gap:24px;
  align-items:center;
  background:linear-gradient(180deg,#181818,#131313);
  padding:24px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:0 12px 34px rgba(0,0,0,0.34);
  position:relative;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  opacity:0;
  transform:translateY(28px);
  animation:aparecerPaso .7s ease forwards;
  text-align:left;
}

.pagina-como-comprar .paso:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(0,0,0,0.42);
  border-color:rgba(255,255,255,0.10);
}

.pagina-como-comprar .paso::before{
  content:"";
  position:absolute;
  left:-9px;
  top:34px;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#f1f1f1;
  box-shadow:0 0 0 4px #0e0e0e;
}

.pagina-como-comprar .paso:nth-child(1){animation-delay:.08s;}
.pagina-como-comprar .paso:nth-child(2){animation-delay:.16s;}
.pagina-como-comprar .paso:nth-child(3){animation-delay:.24s;}
.pagina-como-comprar .paso:nth-child(4){animation-delay:.32s;}

@keyframes aparecerPaso{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.pagina-como-comprar .paso-img{
  width:100%;
  max-width:290px;
  min-width:0;
  overflow:hidden;
}

.pagina-como-comprar .paso-img img{
  width:100%;
  height:210px;
  object-fit:cover;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(0,0,0,0.40);
  margin:0;
}

.pagina-como-comprar .paso-texto{
  display:block;
  color:#d7d7d7;
  text-align:left;
  min-width:0;
  width:100%;
}

.pagina-como-comprar .numero{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 0 12px;
  border-radius:12px;
  font-size:20px;
  font-weight:800;
  color:#fff;
  background:linear-gradient(135deg,#ff2a2a,#ff7b00);
  box-shadow:0 8px 20px rgba(255,80,0,0.24);
}

.pagina-como-comprar .paso-texto h3{
  margin:0 0 8px;
  font-size:28px;
  font-weight:800;
  color:#fff;
  line-height:1.15;
}

.paso-mini{
  margin:0 0 14px;
  color:#aaaaaa;
  font-size:13px;
  line-height:1.55;
}

.pagina-como-comprar .paso-texto p{
  margin:0 0 12px;
  font-size:15px;
  line-height:1.75;
  color:#d4d4d4;
  text-align:left;
  max-width:none;
}

.pagina-como-comprar .paso-texto strong{
  color:#fff;
  font-size:inherit;
  display:inline;
  margin:0;
}

.pagina-como-comprar .carrusel-plataformas{
  width:100%;
  max-width:100%;
  overflow:hidden;
  border-radius:16px;
  background:#101010;
  padding:14px 0;
  border:1px solid rgba(255,255,255,0.04);
  margin:0;
}

.pagina-como-comprar .carrusel-track{
  display:flex;
  align-items:center;
  gap:14px;
  width:max-content;
  max-width:none;
  animation:scrollPlataformas 20s linear infinite;
}

.pagina-como-comprar .carrusel-track img{
  width:84px;
  height:84px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 5px 14px rgba(0,0,0,0.38);
  transition:transform .25s ease;
}

.pagina-como-comprar .carrusel-track img:hover{
  transform:scale(1.08);
}

@keyframes scrollPlataformas{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

.estadoFlow{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0 14px;
}

.estadoTag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.2px;
}

.estadoPendiente{
  color:#ffd76a;
  background:rgba(255,215,106,0.10);
  border:1px solid rgba(255,215,106,0.24);
}

.estadoAprobada{
  color:#7ef0a5;
  background:rgba(126,240,165,0.10);
  border:1px solid rgba(126,240,165,0.22);
}

.estadoRechazada{
  color:#ff9b9b;
  background:rgba(255,120,120,0.10);
  border:1px solid rgba(255,120,120,0.22);
}

.estadoArrow{
  color:#7d7d7d;
  font-size:14px;
  font-weight:700;
}

.lista-soporte{
  list-style:none;
  margin:16px 0 0;
  padding:0;
  max-width:100%;
  display:grid;
  gap:12px;
}

.lista-soporte li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 16px;
  margin:0;
  border-radius:16px;
  transition:all .25s ease;
  backdrop-filter:blur(6px);
}

.lista-soporte li:hover{
  transform:translateY(-2px);
}

.soporte-wspp{
  background:rgba(37,211,102,0.08);
  border:1px solid rgba(37,211,102,0.14);
}

.soporte-rojo{
  background:rgba(255,80,80,0.08);
  border:1px solid rgba(255,80,80,0.14);
}

.lista-soporte li .icono{
  font-size:18px;
  min-width:22px;
  line-height:1.2;
  text-align:center;
  margin-top:2px;
}

.lista-soporte li .texto{
  line-height:1.5;
  color:#f1f1f1;
}

.lista-soporte li strong{
  display:block;
  margin-bottom:3px;
  color:#fff;
  font-weight:700;
}

.lista-soporte li .horario{
  display:block;
  margin-top:3px;
  font-size:12.5px;
  color:#c8c8c8;
}

/* =========================================================
   RESPONSIVE GENERAL
========================================================= */

@media (max-width:1100px){
  .pagina-como-comprar{
    margin-left:0;
    width:100%;
    padding:84px 18px 40px;
  }
}

@media (max-width:1024px){
  .menuIcon{
    display:block;
  }

  .menuLateral{
    left:-230px;
    transition:left .3s ease;
    overflow-y:auto;
    overflow-x:hidden;
  }

  .menuLateral.activo{
    left:0;
  }

  .bannerFull{
    width:100%;
    margin-left:0;
  }

  .productos{
    width:100%;
    margin-left:0;
    padding:18px 14px 28px;
    gap:18px;
    justify-content:center;
  }

  .producto{
    width:calc(50% - 12px);
    max-width:320px;
    min-width:0;
  }

  .chatcbox{
    height:320px;
    margin:12px auto 8px;
  }
}

@media (max-width:950px){
  .resumen-como-comprar{
    grid-template-columns:1fr;
  }

  .pagina-como-comprar .pasos-container::before{
    display:none;
  }

  .pagina-como-comprar .paso{
    grid-template-columns:1fr;
    overflow:hidden;
  }

  .pagina-como-comprar .paso::before{
    display:none;
  }

  .pagina-como-comprar .paso-img{
    max-width:100%;
    width:100%;
    min-width:0;
    order:2;
  }

  .pagina-como-comprar .paso-texto{
    width:100%;
    min-width:0;
    order:1;
  }

  .pagina-como-comprar .paso-img img{
    height:220px;
  }
}

@media (max-width:900px){
  .container,
  .tienda,
  .productos{
    align-items:center;
  }

  .product-card,
  .card,
  .producto{
    width:90%;
    max-width:420px;
  }

  .product-modal,
  .modal-product{
    flex-direction:column;
    text-align:center;
    padding:25px;
  }

  .product-modal img,
  .modal-product img{
    width:180px;
    margin:auto;
  }

  .product-modal .info,
  .modal-product .info{
    width:100%;
  }

  .inicio button,
  .card button,
  .modal-content button,
  .btn,
  .btnComprar{
    width:100%;
    max-width:280px;
    margin:auto;
  }

  .contador{
    justify-content:center;
  }
}

@media (max-width:768px){
  #modalCompra,
  #modalQR{
    background:rgba(0,0,0,0.5);
    padding:5px;
  }

  .modal-content{
    max-height:95vh;
    width:95%;
    padding:20px 15px;
    border:2px solid rgba(255,255,255,0.2);
    font-size:.9rem;
    line-height:1.4;
  }

  .modal-content h1,
  .modal-content h2{
    font-size:1.2rem;
    margin-bottom:10px;
  }

  .modal-content p,
  .modal-content li,
  .modal-content button{
    font-size:.85rem;
    margin-bottom:8px;
  }

  .modal-content button{
    padding:8px 12px;
  }

  .qrPago{
    max-width:150px;
    margin:10px auto;
  }

  .productoProveedor{
    max-width:170px;
    padding:8px 10px;
  }

  .productoProveedorTop{
    font-size:10px;
  }

  .productoProveedorNombre{
    font-size:12px;
  }

  .modalProveedor{
    gap:8px;
    padding:11px 12px;
    border-radius:12px;
  }

  .proveedorLabel{
    font-size:10px;
  }

  .proveedorNombreTexto{
    font-size:13px;
  }

  .proveedorEstado{
    font-size:11px;
    padding:6px 9px;
  }
}

@media (max-width:700px){
  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden !important;
  }

  .menuIcon{
    display:block;
  }

  .menuLateral{
    width:215px;
    max-width:215px;
    left:-215px;
    transition:left .3s ease;
    height:100vh;
    overflow-y:auto;
    overflow-x:hidden !important;
  }

  .menuLateral.activo{
    left:0;
  }

  .menuLogo,
  .panelUsuario,
  .chatcbox,
  .menuLateral a{
    max-width:100%;
    box-sizing:border-box;
  }

  .menuLogo{
    padding:14px 10px;
  }

  .menuLogo img{
    width:78px;
    height:78px;
  }

  .menuLateral a{
    padding:13px 16px;
    font-size:14px;
    gap:12px;
  }

  .bannerFull{
    width:100%;
    margin-left:0 !important;
    margin-top:10px;
    margin-bottom:16px;
    height:180px;
    min-height:180px;
    max-height:180px;
  }

  .prev,
  .next{
    width:38px;
    height:38px;
    line-height:38px;
    font-size:22px;
  }

  .prev{
    left:10px;
  }

  .next{
    right:10px;
  }

  .productos{
    width:100% !important;
    margin:0 !important;
    margin-left:0 !important;
    padding:14px 12px 24px !important;
    gap:18px !important;
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .producto{
    width:100% !important;
    max-width:360px !important;
    min-height:auto !important;
    border-radius:18px !important;
    padding-bottom:14px !important;
    overflow:hidden !important;
    box-shadow:0 10px 28px rgba(0,0,0,0.42) !important;
  }

  .producto img{
    width:100% !important;
    height:210px !important;
    display:block !important;
    object-fit:cover !important;
    object-position:center !important;
    background:transparent !important;
    border:none !important;
    margin:0 !important;
    padding:0 !important;
  }

  .producto h2{
    font-size:1.05rem !important;
    line-height:1.35 !important;
    margin:14px 14px 8px !important;
    min-height:auto !important;
  }

  .producto .precio{
    font-size:2rem !important;
    margin:12px 0 !important;
  }

  .productoProveedor{
    width:calc(100% - 28px) !important;
    max-width:220px !important;
  }

  .stock,
  .duracionServicio,
  .avisoStock{
    width:calc(100% - 28px) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .producto button{
    width:calc(100% - 36px) !important;
    max-width:260px !important;
    min-height:48px !important;
    margin:14px auto 0 !important;
    border-radius:12px !important;
    padding:12px 16px !important;
    font-size:1rem !important;
  }

  .modalContenido{
    width:94%;
    max-height:88vh;
    padding:18px 14px;
  }

  .modalContenido .cantidadBox,
  .modalContenido .btnComprarAhora{
    margin-left:auto;
    margin-right:auto;
  }

  .modalProducto{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:10px;
  }

  .modalProducto img{
    width:180px;
  }

  .modalInfo{
    text-align:center;
  }

  .modalInfo h2{
    font-size:20px;
  }

  .descripcionProducto,
  .reglasUso{
    text-align:left;
    font-size:12px;
    padding:10px;
  }

  .descripcionProducto p,
  .reglasUso li{
    font-size:12px;
    line-height:1.4;
  }

  .cantidadBox{
    justify-content:center;
  }

  .garantiaBox{
    font-size:12px;
  }

  .btnComprarAhora{
    width:100%;
    max-width:220px;
    margin:auto;
    display:block;
    font-size:14px;
    padding:10px 16px;
  }

  .qrPago{
    max-width:120px;
    margin:8px auto;
  }

  .pagina-como-comprar{
    padding:78px 14px 34px;
  }

  .hero-como-comprar{
    padding:24px 18px;
    border-radius:18px;
  }

  .hero-como-comprar h1{
    font-size:31px;
  }

  .hero-como-comprar p{
    font-size:14px;
  }

  .resumenCard{
    padding:16px 15px;
    border-radius:15px;
  }

  .pagina-como-comprar .paso{
    grid-template-columns:1fr;
    padding:18px;
    border-radius:18px;
    gap:16px;
    overflow:hidden;
  }

  .pagina-como-comprar .paso-img{
    width:100%;
    max-width:100%;
    min-width:0;
    order:2;
  }

  .pagina-como-comprar .paso-texto{
    width:100%;
    min-width:0;
    order:1;
  }

  .pagina-como-comprar .paso-img img{
    height:190px;
  }

  .pagina-como-comprar .numero{
    width:38px;
    height:38px;
    font-size:18px;
    border-radius:10px;
  }

  .pagina-como-comprar .paso-texto h3{
    font-size:22px;
    line-height:1.2;
    word-break:break-word;
  }

  .pagina-como-comprar .paso-texto p{
    font-size:14px;
    line-height:1.65;
    word-break:break-word;
  }

  .pagina-como-comprar .carrusel-track{
    gap:12px;
  }

  .pagina-como-comprar .carrusel-track img{
    width:74px;
    height:74px;
    flex-shrink:0;
  }

  .estadoTag{
    font-size:12px;
    padding:7px 12px;
  }

  .panelUsuario{
    margin:12px 10px 10px;
    padding:12px 11px;
    border-radius:14px;
  }

  .panelUsuarioNombre{
    font-size:13px;
    margin-bottom:2px;
    line-height:1.2;
    letter-spacing:.2px;
  }

  .panelUsuarioHandle{
    font-size:11px;
    margin-bottom:10px;
    color:#c8bba7;
  }

  .panelSaldoBox{
    min-height:78px;
    padding:10px 10px;
    border-radius:12px;
  }

  .panelSaldoLabel{
    margin-bottom:4px;
    font-size:11px;
    letter-spacing:.4px;
    line-height:1;
  }

  .panelSaldoValor{
    font-size:15px;
    line-height:1.1;
    gap:2px;
  }

  .panelSaldoMoneda{
    font-size:10px;
    margin-left:2px;
    vertical-align:baseline;
  }

  .chatcbox{
    width:calc(100% - 16px) !important;
    max-width:calc(100% - 16px) !important;
    height:340px !important;
    margin:10px auto 6px !important;
    overflow:hidden !important;
    border-radius:12px !important;
  }

  .chatcbox iframe{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    display:block !important;
    border:none !important;
    border-radius:12px !important;
  }

  .toastCompraExitosa{
    right:12px;
    left:12px;
    top:14px;
    min-width:auto;
    max-width:none;
  }
}

@media (max-width:600px){
  h1{
    font-size:26px;
  }

  h2{
    font-size:20px;
  }

  .product-card,
  .card,
  .producto{
    width:95%;
  }

  .modal-content{
    width:92%;
    padding:28px 22px;
    max-height:85vh;
    overflow-y:auto;
  }

  .modal-content p{
    font-size:13px;
    line-height:1.6;
  }

  .btnAceptar,
  .btnComprar{
    width:100%;
    max-width:260px;
  }

  input{
    width:100%;
  }

  .cantidad{
    gap:10px;
  }

  .total{
    font-size:16px;
  }

  .authCard{
    padding:28px 20px 24px;
    border-radius:24px;
  }

  .authLogoMain{
    width:82px;
    height:82px;
  }

  .registerTopLogo{
    width:84px;
    height:84px;
  }

  .authWelcomeTitle,
  .registerMainTitle{
    font-size:1.8rem;
  }

  .authSubtitle,
  .registerSubtitle{
    font-size:15px;
  }

  .registerGrid{
    grid-template-columns:1fr;
    gap:0;
  }

  .authInputWrap input{
    font-size:15px;
    padding:15px 44px 15px 42px;
  }

  .authPrimaryBtn{
    font-size:1rem;
    padding:15px 16px;
  }
}

@media (max-width:480px){
  .bannerFull{
    height:160px;
    min-height:160px;
    max-height:160px;
  }

  .productos{
    padding:12px 10px 22px !important;
  }

  .producto{
    max-width:340px !important;
    border-radius:16px !important;
  }

  .producto img{
    height:190px !important;
    padding:0 !important;
    object-fit:cover !important;
    object-position:center !important;
  }

  .producto h2{
    font-size:.98rem !important;
    margin:12px 12px 8px !important;
  }

  .producto .precio{
    font-size:1.8rem !important;
  }

  .producto button{
    width:calc(100% - 28px) !important;
    font-size:.96rem !important;
  }

  .modalOfertaBox{
    padding:28px 18px 22px;
  }

  .modalOfertaBox h2{
    font-size:24px;
  }

  .modalOfertaBox p{
    font-size:14px;
  }

  .btnsOferta{
    flex-direction:column;
  }

  .btnVerOferta,
  .btnCerrarOferta{
    width:100%;
    min-width:100%;
  }
}
/* =========================================================
   AVISO FLOTANTE DE INGRESO
========================================================= */

.avisoFlotante{
  position:fixed;
  right:16px;
  bottom:90px;
  width:min(380px, calc(100vw - 24px));
  z-index:99998;
  background:rgba(10,10,10,0.96);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 16px 45px rgba(0,0,0,0.45);
  animation:avisoEntrada .35s ease;
}

.avisoFlotante img{
  display:block;
  width:100%;
  height:auto;
  max-height:70vh;
  object-fit:contain;
  background:#000;
}

.cerrarAvisoFlotante{
  position:absolute;
  top:8px;
  right:8px;
  width:34px;
  height:34px;
  border:none;
  border-radius:50%;
  background:rgba(0,0,0,0.75);
  color:#fff;
  font-size:18px;
  font-weight:700;
  cursor:pointer;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s ease, background .2s ease;
}

.cerrarAvisoFlotante:hover{
  transform:scale(1.08);
  background:rgba(0,0,0,0.92);
}

@keyframes avisoEntrada{
  from{
    opacity:0;
    transform:translateY(16px) scale(.96);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@media (max-width:768px){
  .avisoFlotante{
    left:12px;
    right:12px;
    width:auto;
    bottom:78px;
    border-radius:16px;
  }

  .avisoFlotante img{
    max-height:60vh;
  }

  .cerrarAvisoFlotante{
    width:32px;
    height:32px;
    font-size:17px;
    top:7px;
    right:7px;
  }
}
/* =========================================================
   BUSCADOR Y CATEGORIAS TIENDA
========================================================= */

.filtrosTienda{
  width:calc(100% - 230px);
  margin-left:230px;
  padding:8px 20px 0;
}

.filtrosWrap{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  background:linear-gradient(180deg,#171717,#111111);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:18px;
  padding:18px;
  box-shadow:0 10px 24px rgba(0,0,0,0.28);
}

.buscadorBox{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  background:#0f0f0f;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  padding:10px 12px;
  margin-bottom:14px;
}

.buscadorIcono{
  font-size:18px;
  flex-shrink:0;
}

.buscadorProductos{
  flex:1;
  width:100%;
  margin:0;
  border:none;
  outline:none;
  background:transparent;
  color:#fff;
  font-size:15px;
  padding:4px 0;
}

.buscadorProductos::placeholder{
  color:#8f8f8f;
}

.btnLimpiarBusqueda{
  border:none;
  background:#242424;
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
  transition:.25s;
  white-space:nowrap;
}

.btnLimpiarBusqueda:hover{
  background:#333;
}

.categoriasBox{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-bottom:12px;
}

.categoriaBtn{
  border:none;
  background:#1d1d1d;
  color:#eaeaea;
  padding:10px 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:.25s;
  border:1px solid rgba(255,255,255,0.07);
}

.categoriaBtn:hover{
  background:#2a2a2a;
  transform:translateY(-1px);
}

.categoriaBtn.activo{
  background:linear-gradient(180deg,#ff2a2a,#c70f0f);
  color:#fff;
  border-color:rgba(255,255,255,0.10);
  box-shadow:0 10px 20px rgba(255,0,0,0.20);
}

.resultadoFiltroInfo{
  text-align:center;
  color:#c8c8c8;
  font-size:13px;
  line-height:1.5;
}

.sinResultadosBusqueda{
  width:100%;
  max-width:700px;
  margin:10px auto 0;
  background:linear-gradient(180deg,#1b1b1b,#141414);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:16px;
  padding:26px 18px;
  text-align:center;
  color:#d8d8d8;
  box-shadow:0 12px 28px rgba(0,0,0,0.26);
}

.sinResultadosBusqueda strong{
  display:block;
  font-size:18px;
  color:#fff;
  margin-bottom:8px;
}

@media (max-width:1024px){
  .filtrosTienda{
    width:100%;
    margin-left:0;
    padding:10px 14px 0;
  }
}

@media (max-width:700px){
  .filtrosWrap{
    padding:14px;
    border-radius:16px;
  }

  .buscadorBox{
    flex-wrap:wrap;
    justify-content:center;
    padding:12px;
  }

  .buscadorProductos{
    min-width:100%;
    text-align:left;
  }

  .btnLimpiarBusqueda{
    width:100%;
  }

  .categoriasBox{
    justify-content:center;
    gap:8px;
  }

  .categoriaBtn{
    font-size:13px;
    padding:9px 13px;
  }

  .resultadoFiltroInfo{
    font-size:12.5px;
  }
}
