
/* Category */
.category-card .list-group-item {
  cursor: pointer;
  font-size: 14px;
}
.category-card .list-group-item:hover {
  background: #fff4e5;
}

/* Supplier */
.supplier-logo {
  background: #f2f2f2;
  padding: 8px;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 600;
  border-radius: 4px;
}


/* Plant Cards */
.plant-card{
  height: auto !important;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.plant-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.plant-card img {
  height: 100px;
  object-fit:contain;

}
.cement-card .card-body {
  padding: 10px 12px;
}

.plant-card h6 {
  font-size: 14px;
  margin-bottom: 4px;
   line-height: 1.3;
}
.plant-card small {
  font-size: 12px;
}

/* Sidebar Ad */
.sidebar-ad-wrapper {
  display: flex;
  justify-content: center;
}

.sidebar-ad-slot {
  width: 300px;
  height: 500px;
  background: #f2f2f2;
  border: 2px solid #d6d6d6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  color: #666;
  font-size: 16px;
  line-height: 1.4;
}

/* ================= SUPPLIER VERTICAL SLIDER ================= */

/* Slider container */
.supplier-slider {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
  border-radius: 6px;
}

/* Track */
.supplier-track {
  display: flex;
  flex-direction: column;
  animation: verticalScroll 20s linear infinite;
}

/* Individual logo link */
.supplier-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-bottom: 1px dashed #ddd;
  background: #fff;
  transition: background 0.3s, transform 0.3s;
}

/* Logo image */
.supplier-logo img {
  max-height: 80px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s, transform 0.3s;
}

/* Hover effects */
.supplier-logo:hover {
  background: #fff4e5;
}

.supplier-logo:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* Animation */
@keyframes verticalScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Pause animation on hover */
.supplier-slider:hover .supplier-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .supplier-slider {
    height: 160px;
  }

  .supplier-logo {
    height: 60px;
  }

  .supplier-logo img {
    max-height: 38px;
  }
}

/* ================= PLANT CARD ================= */

.plant-card img {
  height: 160px;
  object-fit: cover;
}

.plant-card h5 a:hover {
  color: #f39c12;
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .supplier-slider {
    max-height: 160px;
  }
}

.advt-card {
  border-radius: 12px;
  background: #fff;
}

.advt-img {
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.carousel-item a:hover .advt-img {
  transform: scale(1.03);
}

/* Controls visibility */
.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

/* Dots style */
.carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffc107;
}

.carousel-indicators .active {
  background-color: #000;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .advt-img {
    height: 160px;
  }
}


