body {
  background-color: #e2e2e2;
}

.products {
  width: 96% !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-div {
  text-align: center;
  padding-top: 73px;
}

.product-txt {
  font-weight: 800;
  margin-top: 50px;
  text-align: center;
  font-size: 45px;
}

/* 
  .view-all a{
    color: #181B4B;
    font-weight: 500;
    font-size: 20px ;
  }
  
  .view-all a:hover{
    color: #303252;
  } */

.stylish-button {
  display: inline-block;
  background: #FAAB18;
  /* Your main color */
  border: none;
  border-radius: 50px;
  color: white;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.373);
  outline: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  /* Removes underline */
}

.simple-button {
  display: inline-block;
  background-color: #FAAB18;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.simple-button:hover {
  background-color: #181B4B;
  /* Contrasting hover color */
  color: #FAAB18;
  /* Switch to main color on hover */
  transform: scale(1.05);
  /* Slightly enlarges on hover */
}

.simple-button:active {
  transform: scale(1);
  /* Returns to normal on click */
}


.stylish-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2);
  /* Lighter overlay for contrast */
  transition: all 0.4s ease;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
}

.stylish-button:hover {
  background-color: #111439;
  /* Contrasting hover color */
  color: #ffffff;
  /* Main color on hover */
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.stylish-button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.stylish-button:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.381);
}



.product-card {
  width: 289px;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  outline: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.500);
  height: 461px;
  overflow-x: visible;

}

.product-card:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.500);
}

/* Image Section */
.product-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.product-image img {
  object-fit: cover;
  transition: transform 0.3s ease;
}


.product-image:hover img {
  transform: scale(1.1);
  /* Enlarge the image on hover */
}

/* Product Details Section */
.product-details {
  padding: 0 10px;
  background-color: #f8f8f8;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  height: 241px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.product-details h5 {
  font-size: 14px;
  font-weight: 500;
}

.product-details:hover {
  background-color: #FAAB18;
  color: #181B4B;
}

.cards {
  display: flex;
  justify-content: center;
  height: 484px;
  width: 289px !important;
}

/* Text Styles */
.item-code {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0;
  text-transform: uppercase;
}

.product-name {
  font-size: 18px;
  margin-bottom: 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.weight {
  font-size: 14px;
  font-weight: 600;
}

.weight span {
  color: #FAAB18;
  transition: color 0.3s ease, transform 0.3s ease;
}

.product-details:hover .weight span {
  color: #181B4B;
}

.product-details h4 {
  font-weight: 700;
  font-size: 23px;
}

.product-details:hover .simple-button {
  background-color: #111439;
}

.product-row {
  margin-top: 0;
  display: flex;
  justify-content: space-evenly;
  gap: 18px;
}

.product-heading {
  font-weight: 700;
  font-size: 35px;
  justify-content: center ;
  display: flex;
  letter-spacing: 0;
}

.white {
  width: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
}

.advantage h2 {
  font-weight: 700;
}

@media (max-width: 768px) {
  .cards {
    width: 170px !important;
    height: 361px;
  }
  .product-heading{
    text-align: center;
    font-size: 31px;
  }
  .product-card {
    height: 321px;
    width: 170px;
  }

  .product-details {
    height: 156px;
    justify-content: space-evenly;
  }

  .product-image {
    height: 165px;
  }

  .product-image img {
    width: 180px;
  }

  .product-details h4 {
    font-weight: 700;
    font-size: 16px;
  }

  .product-details h5 {
    font-size: 13px;
  }

  .products {
    width: 89%;
  }
  #small1 {
    width: 95%;
  }
  #small2 {
    width: 110%;
  }
  #small3 {
    width: 130%;
  }

  .weight {

    margin: 0;
    display: none;
  }
}


