
a{
  text-decoration: none;
}

/* Product Details Section */
.product-dtls {
    margin-top: 30px;
  }
  
  .img-fluid {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  h2 {
    font-size: 2.5rem;
    color: #02152b;
  }
  
  .Price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1b0101;
  }
  
  .similar-pro {
    font-size: 1.8rem;
    color: #010a14;
    margin-top: 20px;
  }
  
  
  
  /* Buttons */
  .btn-primary {
    background-color: #007bff;
    border: none;
  }
  
  .btn-primary:hover {
    background-color: #0056b3;
  }
  
  .buyNow-btn {
    background: rgb(187, 24, 24) !important;
    color: white !important;
    border: none !important;
  }
  
  .buyNow-btn:hover {
    background-color: #d40420 !important;
    color: #fff ;
  }

  /* Common styles for both sections */
.product-details-section{
    border: 1px solid #ced4da;
    border-radius: 8px 0px 0 8px;
    background-color: #f8f9fa;
}

.delivery-services-section {
  border: 1px solid #ced4da;
  border-radius: 0 8px 8px 0;
  background-color: #f8f9fa;
}
.review-section{
  border: 1px solid #ced4da;
  border-radius: 8px;
  background-color: #f8f9fa;
}
.star-rating{
  border: .79px solid #ced4da;
  padding: 5px 30px;
  background-color: #f8f9fa;
}
.product-info{
    color: #000913;
}
.delivery-info{
    color: #000913;
}
/* Styles for the icons in the delivery services section */
.delivery-services-section ul li i {
    margin-right: 10px;
    color: #494a4b;
    font-size: 1.2rem;
}



 /* Products styles */
#products{
    padding: 20px;
}
.product-cards-container{
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr; /* Default for small devices */
    padding: 30px;
    border: 1px solid rgba(214, 210, 210, 0.993); 
    border-radius: 10px;
}

/* Responsive Grid */
@media (min-width: 576px) {
    .product-cards-container {
        grid-template-columns: repeat(1, 1fr); /* 2 cards on small devices */
    }
}

@media (min-width: 768px) {
    .product-cards-container {
        grid-template-columns: repeat(4, 1fr); /* 4 cards on medium devices */
    }
}

@media (min-width: 1200px) {
    .product-cards-container {
        grid-template-columns: repeat(4, 1fr); /* 6 cards on large devices */
    }
}

.product-card {
    position: relative;
    background-color: #fff;
    border: 1px solid rgb(190, 187, 187);
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: scale(1.02);
}

.product-card .product-card-img {
    width: 100%;
    height: 200px; /* Fixed height for the image */
    object-fit: cover;
    padding: 30px 10px 0px 10px;
}

.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px; /* Adjusted height */
    text-overflow: ellipsis;
}

.product-card-title {
    font-size: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-price i {
   font-size: 1rem;
}
.product-card-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #04000a;
    margin-bottom: 5px;
}

.wishlist-btn {
    position: absolute;
    top: 1px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #797373;
    transition: color 0.3s ease;
}

.wishlist-btn.active {
    color: #ff0000;

}
.wishlist-btn:focus{
    outline: none;
}





  .breadcrumb {
    background-color: #f8f9fa;
    padding: 10px 15px;
    margin-bottom: 20px;
    list-style: none;
    display: flex;
    border-radius: 5px;
  }
  
  .breadcrumb-item {
    margin-right: 0.5rem;
  }
  
  .breadcrumb-item + .breadcrumb-item:before {
    content: "/";
    margin-right: 0.5rem;
  }
  
  .breadcrumb-item a {
    text-decoration: none;
    color: #007bff;
  }
  
  .breadcrumb-item.active {
    color: #6c757d;
  }
  

   

/* Card Styles */
.card {
  transition: transform 0.3s;
  max-width: 300px; /* Set max-width for cards */
  margin: 20px auto; /* Center cards horizontally */
  overflow: hidden; /* Hide overflow text */
  border: 1px solid rgba(187, 183, 183, 0.993);
  border-radius: 10px;
}

.card:hover {
  transform: translateY(-5px); /* Lift effect on card hover */
}

/* Categories Section Styles */
#categories {
  padding: 30px 20px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Space out elements */
  overflow: hidden; /* Hide overflow text */
}
#categories h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333; /* Dark gray text */
}

.card-title{
white-space: nowrap; /* Prevents the text from wrapping */
display: block;                      /* Use block for standard display */
  overflow: hidden;                    /* Hide overflow text */
  line-height: 1.5em;                 /* Set line height */
  text-overflow: ellipsis; 
}


/* Button Styles */
.card-button {
  display: none; /* Hide the button by default */
  margin-top: auto; /* Push button to the bottom */
}

.category-card:hover .card-button {
  display: block; /* Show button on hover */
}


.category-description {
white-space: nowrap; /* Prevents the text from wrapping */
overflow: hidden; /* Hides the overflow text */
text-overflow: ellipsis; /* Adds the ellipsis (...) */
}


.product-card-price i {
font-size: 1rem;
}
.product-card-price {
 font-size: 1.2rem;
 font-weight: bold;
 color: #04000a;
 margin-bottom: 5px;
}

.wishlist-btn {
 position: absolute;
 top: 1px;
 right: 10px;
 background: none;
 border: none;
 font-size: 1.5rem;
 cursor: pointer;
 color: #797373;
 transition: color 0.3s ease;
}

.btn-outline-secondary:hover{
  background: #f7f5f5;
  color: #04000a;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  

  .card {
      margin-bottom: 20px; /* Spacing for smaller screens */
  }
 
}
