/* 🔷 Banner Container */
#banner-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  margin: 0.5rem auto 0.2rem; /* bottom margin reduced for tight dot spacing */
  background-color: transparent;
  padding: 0;
}

/* 🔷 Banner Carousel Wrapper */
.banner-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.5rem 0; /* tighter vertical spacing */
  gap: 0.7rem;
}

.banner-carousel::-webkit-scrollbar {
  display: none;
}

/* 🔷 Individual Banner Slide */
.banner-slide {
  flex: 0 0 auto;
  width: 240px;
  height: 120px;
  scroll-snap-align: start;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--card-bg, #f8f8f8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease;
}

.banner-slide:hover {
  transform: scale(1.02);
}

/* 🔷 Banner Image */
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 🔷 Promo Label (e.g., “LIMITED DEAL”) */
.banner-label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #ff4646;
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  animation: bounceIn 0.5s ease;
}

/* 🔷 Slide CTA Text (optional overlay text) */
.banner-text {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  border-radius: 0.4rem;
  font-weight: 500;
  backdrop-filter: blur(3px);
}

/* 🔷 Dot Indicators (placed tightly below banner) */
.banner-dots {
  text-align: center;
  margin-top: 0.2rem; /* very close to the banner */
}

.banner-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 3px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.banner-dot.active {
  background-color: #ff4646;
}