body {
  animation: fadeIn 1s ease-out;
  overflow-x: clip;
}


body button {
  background-color: rgb(175, 82, 222);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  max-width: 170px;
  transition: 0.5s;
}

body button:hover {
  background-color: rgb(81, 27, 107);
  transform: translateY(-5px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.my-products {
  background: url("../Photos/product-bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 250px;
  position: relative;
  color: white;
  text-align: center;
    overflow-x: clip;

}

.my-products h1 {
  text-align: center;
  font-size: 60px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  position: relative;
  top: 75px
}

@media screen and (max-width:680px) {
  .my-products h1 {
    font-size: 40px
  }
}


@media screen and (max-width:1280px) {
  .footer {
    margin-top: 0px
  }
}

@media screen and (max-width:410px) {
  .footer {
    margin-top: 0px;

  }

}


.product-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  /* padding-inline-start: 100px;
  padding-inline-end: 100px; */
    overflow-x: clip;

}






/* 
#cart-countdown {
  margin-left: 10px;
  color: red;
  font-size: 14px;
  font-weight: bold;
} */





@media screen and (max-width:768px) {
  .product-list {
    padding-inline-start: 10px;
    padding-inline-end: 10px;
  }
}










/* General Card Styling */
.the-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px; /* Explicit width for consistency */
}

.the-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.12);
}

.card-body {
  padding: 20px;
  text-align: center;
}

/* Image Styling */
.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Title Styling */
.the-card h5 {
  margin: 15px 0 10px;
  color: #af52de;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Benefits (Assuming you have a class for this) */
.product-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  color: #666;
  font-size: 0.9rem;
}

.product-benefits li {
  margin-bottom: 5px;
 
}

/* Price Styling */
.card-text {
  color: #555;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.card-text strong {
  color: #000;
}

/* View Button Styling */
.the-card .buy-now {
  background-color: #af52de;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-block; /* Essential for padding and other styles to apply correctly */
}

.the-card .buy-now:hover {
  background-color: #9247b6;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .the-card {
    width: 100%;
    max-width: 350px;
    margin-bottom: 20px; /* Add some space between cards on mobile */
  }
}
/* Pill-style tags for list items inside product cards */
.the-card .card-body ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center; /* change to flex-start to left-align */
}

.the-card .card-body ul li {
  display: inline-block;
  padding: 6px 12px;
  background: #f7f7f7;
  border: 1px solid #e1e1e1;
  border-radius: 9999px;
  font-size: 12px;
  line-height: 1;
  color: #333;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.the-card .card-body ul li:hover {
  background: #f2f2f2;
  border-color: #d7d7d7;
}

@media (max-width: 576px) {
  .the-card .card-body ul { gap: 6px; }
  .the-card .card-body ul li { font-size: 11px; padding: 5px 10px; }
}


/* Advanced Filter and Sort Styling */


.col-md-3 input,
.col-md-3 select,
.col-md-3 button {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.col-md-3 input:focus,
.col-md-3 select:focus {
  outline: none;
  border-color: #1c1c1d;

}

.col-md-3 button {

  color: white;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.col-md-3 button:hover {

  transform: scale(1.05);
}


.col-md-3 select option {
  padding: 10px;
}


@media (max-width: 768px) {
  .row.mb-4 {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .col-md-3 {
    max-width: 100%;
    min-width: unset;
  }
}




.the-products {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  /* background-color: #f8f9fa; */
    overflow-x: clip;

}

.the-products p{
  line-height: 1.9;
}


.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}



.card-text {

  text-align: center;
  margin: auto;
  margin-bottom: 0px
 ;
}


.card-text strong {
  font-size: 1.1rem;

  
 
}


.buy-now {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 120px !important;
  text-align: center;
  margin: auto;
}

.buy-now:hover {
  background-color: #0056b3;
}


@media (max-width: 768px) {
  .product-card {
    flex: 1 1 100%;
  }
}



/* .the-products img {
  position: relative;
  top: 10px;
} */

  .purple {
    position: relative;
    top: 19px
  }

.para {
  position: relative;
  top: 10px
}


.filter-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  padding: 20px;
  background-color: white;
  margin-top: 20px
}

/* .the-filter{
  display: flex;
  flex-direction: column;
} */

.filter-section select {
  padding: 7px;
  text-align: center;
  font-size:10px;
  border-radius: 5px;
  border: 1px solid rgb(57, 57, 57);
}

.price button {
  margin-top: 10px
}

.price input {
  padding: 7px;
  border-radius: 5px;
  border: 1px solid rgb(57, 57, 57);
  margin-top: 5px;
  font-size:10px;
  width:100%;
}

.the-card p {
  margin-top: 10px
}

.the-card button {
  margin-top: 10px;

}



@media screen and (max-width:768px) {
  .filter-section {
    display: flex;
    gap: 50px
  }

  .price input{
    max-width:100px
  }
}





.dropdown p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: bold;
  margin: 0;
}





.dropdown-content {
  display: none;
  margin-top: 8px;
}


.dropdown-toggle {
  cursor: pointer;
}


.dropdown.open .dropdown-content {
  display: block;
}





.close-btn{
  margin-left: -80px;
  margin-top:-10px
}


.inputs{
  width:100%;
  max-width:300px
}

.primary{
  padding:6px
}



.min-price{
  width:500px;
      margin-bottom: 60px;
}
@media screen and (max-width:600px){
  .min-price{
  width: 200px;
  }
}

.the-card {
box-shadow: 0 12px 10px 8px rgba(160, 160, 160, 0.2) !important;
    max-width: 400px !important;
    width: 400px !important;
    margin: auto;
    display: flex;
    justify-content: center;
}
