/* ==============================
   🔹 Unified Card Style (Categories / Products)
   ============================== */
.unified-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background-color: #fff;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: 100%;
}

.unified-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.unified-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: transform 0.3s ease;
}

.unified-card:hover img {
  transform: scale(1.03);
}

.unified-card .card-body {
  display: flex;
  flex-direction: column;
  padding: 8px 6px;
  flex-grow: 1;
}

.unified-card h6 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.unified-card p {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 4px;
}

.unified-card .price {
  font-weight: 600;
  color: #28a745;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.unified-card .btn {
  border-radius: 6px;
  font-size: 0.75rem;
  padding: 4px 4px;
 
}

/* ==============================
   🔹 Carousel / Hero Banner
   ============================== */
#carouselExampleIndicators {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

#carouselExampleIndicators img {
  height: 420px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

#carouselExampleIndicators img:hover {
  transform: scale(1.03);
}

.carousel-caption {
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: left;
  border-radius: 8px;
  padding: 12px 16px;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.35);
}

.carousel-caption h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.carousel-caption p {
  font-size: 0.95rem;
  color: #eaeaea;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* ==============================
   🔹 Banners
   ============================== */
.mb-5 img, .my-5 img {
  border-radius: 12px;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mb-5 img:hover, .my-5 img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* ==============================
   🔹 Responsive
   ============================== */
@media (max-width: 992px) {
  #carouselExampleIndicators img { height: 300px; }
  .mb-5 img, .my-5 img { height: 200px; }
}

@media (max-width: 576px) {
  #carouselExampleIndicators img { height: 200px; }
  .mb-5 img, .my-5 img { height: 150px; }
  .unified-card img { height: 120px; }
  .unified-card h6 { font-size: 0.8rem; }
  .unified-card p { font-size: 0.7rem; }
}
