/* Product Card */
.product-card {
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background:#ffffff;
  width: 280px; 
  padding: 1rem;                          /* Added padding for spacing */
  max-width: 100%;                          /* Increased image height */

}
.btn-brown {
    /* background-color: brown; */
    /* color: orange; */
    border: 1px solid #5a3733;
}

.btn-brown:hover {
    /* background-color: orange; */
    color: #5a3733;
    border: 1px solid #5a3733;
}

body{
  background: #f9f4f0;
  color: #5a3733 !important;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* ==========================
   🔹 Banner Styles
   ========================== */ 

/* Carousel (Top Banner) */
#carouselExampleIndicators {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

#carouselExampleIndicators img {
  height: 400px;                /* Adjust depending on your design */
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.text-success {
    --bs-text-opacity: 1;
    color: #5a3733 !important;
}
#carouselExampleIndicators img:hover {
  transform: scale(1.03);       /* Slight zoom effect */
}

.carousel-caption {
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: left;
  border-radius: 8px;
  padding: 12px 16px;
  backdrop-filter: blur(5px);
}

.carousel-caption h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.carousel-caption p {
  font-size: 0.95rem;
  color: #eaeaea;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
  filter: invert(1); /* makes arrows white */
}

/* ==========================
   🔹 Middle & Bottom Banners
   ========================== */
.banner-section img {
  border-radius: 12px;
  width: 100%;
  height: 250px;                 /* Adjust size */
  object-fit: cover;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.banner-section img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Add spacing between stacked banners */
.banner-section img + img {
  margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #carouselExampleIndicators img {
    height: 220px;
  }

  .banner-section img {
    height: 160px;
  }

  .carousel-caption {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
}


/* Product Image */
.product-img {
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;

}

/* Title */
.product-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  height: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Add Button */
.add-btn {
  background: #eb6e2f;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 18px;                      /* More padding for a bolder button */
  transition: background 0.2s;
}
.add-btn:hover {
  background: #eb6d2f ;
}

@media (max-width: 768px) {
  .product-card {
    width: 100%;
    padding: 0.75rem;
    display:flex;
    flex-wrap: nowrap;
    flex-direction: row;
  }
  .col-6 {
    flex: 0 0 auto;
    width: 100%;
}

  .product-img {
    height: 180px;
  }

  .product-title {
    font-size: 0.9rem;
    height: auto;
  }

  .add-btn {
    font-size: 0.9rem;
    padding: 6px 14px;
  }
}
@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 auto;
        width: 22.666667%;
    }
  }

/*  Filter Container Layout */
.fillter-container {
  width: 100%;
  background-color: #f9f9f9;
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Flex layout with spacing */
.fillter-container form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

/* Selects and number inputs */
.fillter-container select,
.fillter-container input[type="number"] {
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9em;
  min-width: 100px;
}

/* Checkbox labels */
.fillter-container label.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 0.9em;
  cursor: pointer;
}

.fillter-container label.checkbox-label input[type="checkbox"] {
  margin-right: 5px;
  width: 16px;
  height: 16px;
}

/* Filter button */
.fillter-container button {
  padding: 8px 15px;
  background-color: #3f51b5;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  min-width: 90px;
}

.fillter-container button:hover {
  background-color: #303f9f;
}

/* Dual Range Slider Base */
.dual-range-slider {
  position: relative;
  width: 100%;
  max-width: 250px;
  height: 30px;
}

/* Input range sliders (hidden track) */
.dual-range-slider input[type=range] {
  position: absolute;
  pointer-events: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: transparent;
  margin: 0;
  top: 76%;
  transform: translateY(-50%);
}

/* Webkit thumbs */
.dual-range-slider input[type=range]::-webkit-slider-thumb {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #3f51b5;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.3s ease;
}

.dual-range-slider input[type=range]::-webkit-slider-thumb:hover {
  background: #303f9f;
}

/* Firefox thumbs */
.dual-range-slider input[type=range]::-moz-range-thumb {
  pointer-events: auto;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #3f51b5;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.3s ease;
}

/* Slider base track */
.slider-track {
  position: absolute;
  height: 6px;
  border-radius: 5px;
  background: #ddd;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

/* Selected range */
.slider-range {
  position: absolute;
  height: 6px;
  border-radius: 5px;
  background: #3f51b5;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
  .fillter-container form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .fillter-container select,
  .fillter-container input[type="number"],
  .fillter-container button,
  .dual-range-slider {
    width: 100%;
    min-width: unset;
  }

  .dual-range-slider {
    height: 35px;
    max-width: 100%;
  }

  .slider-track,
  .slider-range {
    height: 5px;
  }

  .dual-range-slider input[type=range]::-webkit-slider-thumb,
  .dual-range-slider input[type=range]::-moz-range-thumb {
    height: 16px;
    width: 16px;
  }
}
