/* =========================================
   HEADER / BANNER
   ========================================= */

.banner{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11,18,32,0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header{
  padding-top: 50px;
  margin-top: 15px;
}

/* =========================================
   CARD HOVER
   ========================================= */

.grid .card:hover{
  transform:translateY(-6px);
}

/* =========================================
   🛒 BOTONES PREMIUM
   ========================================= */

.acciones-card{
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  margin-top:auto;
}

/* BOTÓN COMPRAR */
.btn-comprar{
  flex:1;
  position:relative;
  background:linear-gradient(135deg,#0251fd,#00aaff);
  padding:12px 18px;
  border-radius:12px;
  text-decoration:none;
  color:white;
  font-size:14px;
  font-weight:600;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow: hidden;
  transition: 0.3s;
}

.btn-comprar:hover{
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,170,255,0.4);
}

/* BOTÓN INFO */
.btn-info{
  background: rgba(255,255,255,0.08);
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items:center;
  cursor: pointer;
  transition: 0.3s;
  color: #a0aec0;
}

.btn-info:hover{
  background: rgba(255,255,255,0.15);
  color: white;
}

/* =========================================================
   OPTIMIZACIÓN LIGHTHOUSE CUENTAS
   ========================================================= */

.card img{
  aspect-ratio: 3 / 4;
  height:auto;
  min-height:360px;
  object-fit:cover;
}

.btn-info{
  font-weight:700;
  font-size:13px;
}

@media(max-width:600px){
  .banner{
    position:relative;
  }

  .header{
    padding-top:20px;
    margin-top:0;
  }

  .card img{
    min-height:320px;
  }
}

/* Mejora accesibilidad y performance para usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:0.01ms !important;
  }

  .banner-track{
    animation:none !important;
  }
}