.navbar {
    background-color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);  
    overflow-x: hidden;
  }
  
  .navbar .nav-link {
    color: black !important;
    font-size: 16px;
    padding: 15px 20px;
  }
  
  .navbar .nav-link:hover {
    background-color: #f1f1f1;
    border-radius: 5px;
  }
  
  .navbar .navbar-toggler-icon {
    background-color: white;
  }
  
  .navbar-nav .nav-item {
    margin-right: 20px;
  }
  
  .navbar-brand img {
    width: 50px;
    height: auto;
  }
  
  .navbar-nav .nav-item i {
    margin-right: 8px;
  }
  
  .navbar-nav .nav-item .nav-link {
    display: flex;
    align-items: center;
  } 
  
  .navbar-nav .nav-item a {
    text-decoration: none;
  }

  .top-section {

    padding: 40px 0;
    text-align: center;
  
  }
  .filter-buttons {
    margin-top: 20px;
  }
  
  .btn-all-filter, .btn-sort-by {
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid rgb(104, 103, 103);
    color: black;
    border-radius: 5px;
  }

  /* Optional: Custom styling for the modal */
.modal-header {
    background-color: #f8f9fa;
}

.modal-body {
    padding: 15px;
}

.modal-footer {
    text-align: right;
}


.filter {
    display: flex; 
    gap: 20px;
    margin-top: 20px;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    background-color: #f2f2f2;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .filter p {
    background-color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
  }
  
  .filter p:hover {
    background: linear-gradient(155deg, #d67d00, #d67d00);
    color: #fff;
    transform: scale(1.1);
  }
  

  .filter::-webkit-scrollbar {
    height: 8px;
  }
  
  .filter::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
  }
  
  .filter::-webkit-scrollbar-track {
    background-color: #f1f1f1;
  }

  .filter-content {
    display: none; /* Hide all filter sections by default */
}
.filter p {
    cursor: pointer;
}
.active1 {
    background: linear-gradient(155deg, #d67d00, #d67d00);
    color: white; 
}


.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  .product-card:hover {
    transform: scale(1.05);
  }
  .product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px; 
    background-color: #f5f5f5; 
  }
  
  .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
  }
  
  .product-details {
    padding: 15px;
  }
  .product-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
  }
  .product-price {
    font-size: 16px;
    color: #666;
    text-decoration: line-through;
  }
  .product-discount {
    font-size: 18px;
    color: #e74c3c;
    font-weight: bold;
  }
  .product-description p{
    background-color: #27ae60;
    color: white;
   border-radius: 10px;
   padding: 2px;
   font-size: 12px;
   font-weight: 500;
   text-transform: uppercase;
   width: 80%;
   
  }
  .emi {
    font-size: 14px;
    color: blue;
    font-weight: bold;
  }
  .mrp {
    font-size: 14px;
    color: #888;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .ro-text p{
    font-size: 14px;
    border: 1px solid green;
   border-radius: 5px;
   padding: 2px;

  }   
  .ro-minerals p{
    font-size: 14px;
    border: 1px solid orange;
    border-radius: 5px;
    padding: 2px;
    color: orange   ;
  } 
  .aquasaver p{
    font-size: 14px;
    border: 1px solid red;
    border-radius: 5px;
    padding: 2px;
    color: red   ;
    width: 70px;
  }    
  
  



/* Initially hide the extra products */
.extra-products {
    display: none;
    flex-wrap: wrap;
    gap: 20px; /* Optional: Add spacing between the cards */
    justify-content: center;

}


/* Ensure the product cards take a proper width */
.product-cards {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Ensure image does not overflow the card */
.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
}


.view-more button{

    color: black;
    padding: 10px 20px;
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.view-more button:hover{
    background-color: black;
    color: white;
}




.owl-nav {
    position: absolute;
    bottom: -70px; /* Move navigation up */
    right: 30px; 
    display: flex;
    gap: 10px;
}

.owl-nav button {
    background: #3F3D9D !important;
    color: white !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}




footer {
  background-color: #f8f9fa;
  color: #333;
}

.footer-container {
  font-family: Arial, sans-serif;
  color: #555;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  text-decoration: none;
  color: black;
  transition: color 0.3s;
  font-weight: 500;
}

.footer-section ul li a:hover {
  color: black;
  text-decoration: underline;
}

footer .d-flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

footer .footer-section {
  flex: 1;
  padding: 10px;
}

footer .footer-section ul {
  line-height: 1.8;
}

footer .footer-section ul li {
  padding-bottom: 5px;
}

footer hr {
  border-top: 1px solid #ddd;
  margin: 20px 0;
}

.social-icon a{
  font-size: 20px;
  margin-right: 10px;
  color: #333;  
}

.text{
  color: rgb(143, 141, 141);
  font-size: 15px;
  font-weight: 500;
  width: 100%;
}


footer p {
  font-size: 14px;
  color: #777;
}




.mobile-footer{
  max-width: 400px;
  margin: 0 auto;
}


  .nav-list li{
    list-style: none;
  }
  .navbar-nav {
  margin-right: -100px;
  }

  .carousel{
    background-color: rgb(223, 223, 223);
  }
  @media (min-width: 992px) {
    .mobile-footer{
      display: none ;
    }
  }
  @media (max-width: 767px) {
    .navbar{
      overflow-x: hidden;
    }
    .footer-container{
      display: none;  
    }
  
  
    .mobile-footer{
      position: relative;
      top: 90px;
    }
  }