:root{
  --primary:#137fec;
  --bg-dark:#101922;
  --bg-light:#f6f7f8;
}
html {
  scroll-behavior: smooth;
}

body{
  font-family: 'Space Grotesk', sans-serif;
  scroll-behavior:smooth;
}

[data-modal]{
  -webkit-overflow-scrolling: touch;
}

[data-modal] > .relative{
  -webkit-overflow-scrolling: touch;
}

.glass-header{
  background: rgba(16, 25, 34, 0.80);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 127, 236, 0.10);
}

.hero-gradient{
  background: linear-gradient(to bottom, rgba(16, 25, 34, 0.35), rgba(16, 25, 34, 1));
}

.product-card{
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.product-card:hover{
  transform: translateY(-8px);
  border-color: var(--primary);
}

.hide-scrollbar::-webkit-scrollbar{ display:none; }
.hide-scrollbar{ -ms-overflow-style:none; scrollbar-width:none; }

/* Parallax */
.parallax-hero{
  will-change: transform;
}
.parallax-hero img{
  will-change: transform;
  transform: translate3d(0,0,0) scale(1.06);
}

/* Accesibility focus */
a:focus-visible, button:focus-visible{
  outline: 2px solid rgba(19,127,236,0.9);
  outline-offset: 3px;
}
/* --- Sección interna (detalle / parallax) --- */
.text-glow{
  text-shadow: 0 0 20px rgba(19, 127, 236, 0.40);
}

.card-blur{
  backdrop-filter: blur(12px);
  background: rgba(16, 25, 34, 0.70);
}

/* Parallax background (suave y consistente) */
.parallax-bg{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* En mobile, fixed suele “tironear”: lo desactivamos */
@media (max-width: 768px){
  .parallax-bg{ background-attachment: scroll; }
}

.purchase-card img{
  transition: transform .35s ease;
}

.purchase-card:hover img{
  transform: scale(1.03);
}

.variant-btn{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-radius: 999px;
  transition: all .2s ease;
}

.variant-btn:hover{
  border-color: rgba(19,127,236,0.45);
  color: #fff;
}

.variant-btn.is-active{
  background: rgba(19,127,236,0.16);
  border-color: rgba(19,127,236,0.65);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(19,127,236,0.12);
}

.qty-step{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.qty-step:hover{
  background: rgba(19,127,236,0.14);
  border-color: rgba(19,127,236,0.45);
}

.purchase-card [data-card-carousel-track] img {
  transition: transform .35s ease;
}

.purchase-card:hover [data-card-carousel-track] img {
  transform: scale(1.02);
}

@media (max-width: 640px){
  .variant-btn{
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

