/* hero.css · carrusel de promociones (reemplaza el hero anterior).
   El fondo circular decorativo fue eliminado para que los logos
   de las franquicias (#bgFx) sean apreciables. */

.hero-carousel{
  position:relative;
  overflow:hidden;
  height:min(58vh, 520px);
  min-height:320px;
  background:var(--bg);
}

.carousel-track{
  position:relative;
  width:100%;
  height:100%;
}

.carousel-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .6s ease;
  pointer-events:none;
}
.carousel-slide.active{
  opacity:1;
  pointer-events:auto;
}
.carousel-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.carousel-caption{
  position:absolute;
  left:0;right:0;bottom:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 20px 14px 20px;
  padding-bottom:max(14px, env(safe-area-inset-bottom));
  background:linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.22) 62%, transparent 100%);
  color:#fff;
  z-index:1;
}
.cc-info{line-height:1.2}
.cc-info h3{
  font-family:'Manrope',sans-serif;
  font-size:18px;font-weight:800;letter-spacing:.3px;
  margin:0;
}
.cc-price{
  display:inline-block;
  margin-top:4px;
  font-weight:800;
  font-size:15px;
  color:var(--yellow);
}
.cc-add{
  flex:0 0 auto;
  background:var(--orange);
  border-color:var(--orange);
  color:var(--on-accent);
}
.cc-add:hover{background:var(--orange-dark);border-color:var(--orange-dark)}

/* Controles */
.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(0,0,0,.35);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  backdrop-filter:blur(6px);
  transition:.2s;
  z-index:2;
}
.carousel-btn:hover{background:rgba(0,0,0,.55);border-color:var(--orange)}
.carousel-btn.prev{left:18px}
.carousel-btn.next{right:18px}

.carousel-dots{
  position:absolute;
  left:50%;bottom:18px;
  transform:translateX(-50%);
  display:flex;gap:8px;
  z-index:2;
}
.carousel-dots button{
  width:10px;height:10px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.55);
  cursor:pointer;
  transition:.2s;
  padding:0;
}
.carousel-dots button.active{
  background:var(--orange);
  width:26px;
  border-radius:999px;
}

@media (max-width:600px){
  .hero-carousel{height:42vh;min-height:260px}
  .carousel-btn{width:36px;height:36px}
  .carousel-btn.prev{left:10px}
  .carousel-btn.next{right:10px}
}