/* 🌐 GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* 🔹 HERO SECTION */
.shop-hero {
  position: relative;
  background-image: url('../assets/images/agent-hero.webp');
  background-size: cover;
  background-position: center;
  height: 420px; /* default for large screens */
}

/* 🔽 Smaller screens (e.g. mobile and small tablets) */
@media (max-width: 768px) {
  .shop-hero {
    height: 250px; /* reduced height for mobile */
  }
}


.hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 18px;
  font-weight: 400;
}

/* 🧩 BUNDLE BUTTONS */
.btn-bundle {
  padding: 10px 16px;
  font-size: 15px;
  border-radius: 6px;
  transition: 0.2s ease-in-out;
  min-width: 65px;
}

.btn-bundle.active,
.btn-bundle:hover {
  background-color: #006eff;
  color: white;
}

.btn-bundle.disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* 💰 PRICE DISPLAY */
#selectedInfo {
  animation: fadeInUp 0.4s ease forwards;
  display: none;
}

#selectedInfo h4 {
  font-size: 24px;
}

#selectedInfo p {
  font-size: 16px;
}

/* 🎯 BUY + CLEAR BUTTONS */
#buyNowBtn {
  background-color: #006eff;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 5px;
  transition: 0.3s ease;
}

#buyNowBtn:hover {
  background-color: #0056d2;
}

#clearBtn {
  transition: 0.3s ease;
}

#clearBtn:hover {
  transform: scale(1.05);
}

/* 📝 NOTE */
.note {
  background-color: #fff7e6;
  border-left: 4px solid #ffbb33;
  padding: 15px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #8a6d3b;
}

.note .text-danger {
  color: #b94a48 !important;
  font-weight: bold;
}

/* 🚫 OUT OF STOCK BOX */
.out-of-stock-box {
  max-width: 550px;
  background-color: #fff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  margin: 0 auto;
  text-align: center;
}

.out-of-stock-box .out-icon i {
  font-size: 3rem;
  color: #dc3545;
  margin-bottom: 10px;
}

/* 🔻 RELATED PRODUCTS */
.related-products h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.related-products .card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease-in-out;
}

.related-products .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.related-products .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.related-products .card-body h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.related-products .badge {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
}

/* 🧾 ALERTS */
.alert {
  border-radius: 8px;
  font-size: 15px;
  padding: 14px 18px;
}

.alert-danger {
  background-color: #ffe1e1;
  color: #a60000;
  border: 1px solid #ff8b8b;
}

.alert-warning {
  background-color: #fff8e6;
  color: #b68500;
  border: 1px solid #ffe58f;
}

.alert-info {
  background-color: #e6f7ff;
  color: #006c9c;
  border: 1px solid #91d5ff;
}

/* 📦 ANIMATIONS */
@keyframes fadeInUp {
  0% {opacity: 0; transform: translateY(20px);}
  100% {opacity: 1; transform: translateY(0);}
}

@keyframes slideFade {
  0% {opacity: 0; transform: translateY(12px);}
  100% {opacity: 1; transform: translateY(0);}
}

.bundle-info {
  display: none;
  animation: slideFade 0.4s ease forwards;
}

.animate-slide {
  display: block !important;
  animation: slideFade 0.4s ease forwards;
}

/* 📷 CATEGORY IMAGE (MAIN SECTION) */
.category-main-image {
  width: 100%;
  max-width: 260px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

/* 📱 RESPONSIVENESS */
@media (max-width: 768px) {
  .btn-bundle {
    font-size: 14px;
    padding: 8px 12px;
  }

  .hero-overlay h1 {
    font-size: 28px;
  }

  .hero-overlay p {
    font-size: 16px;
  }

  .category-main-image {
    max-width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .related-products .card-img-top {
    height: 170px;
  }

  .out-of-stock-box {
    padding: 2rem 1.5rem;
  }

  .out-of-stock-box .out-icon i {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .category-main-image {
    max-width: 170px;
    height: 170px;
  }

  .related-products .card-img-top {
    height: 150px;
  }
}

.category-main-image {
  width: 300px;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

 .card-img-top.opacity-50 {
    filter: brightness(0.6);
  }
  .swiper-slide {
    height: auto;
  }
  .swiper .card {
    height: 100%;
  }  .breadcrumb a {
    text-decoration: none;
  }

  /* 📱 Ensure Related Slider has padding on small screens */
@media (max-width: 576px) {
  .related-products .swiper-slide {
    padding-left: 6px;
    padding-right: 6px;
  }

  .related-products .swiper {
    padding-left: 4px;
    padding-right: 4px;
  }
}
