
.product_qty:hover {
    border: 1px solid #e78200;
}
.bg-product-grid {
    background: #f5f5f5;
    margin-top: 0px !important;
}
.cart-qty {
    background: green;
    border: 6px solid green;
    color: white;
}
.product_qty, .cart-qty {
    border-radius: 4px;
    padding: 4px 0px 4px 16px;
    width: 100px;
    height: 40px;
    margin: 0 4px 0 0;
    border: 1px solid rgba(0, 0, 0, .2);
    text-align: center;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.product-info a {
    text-decoration: none;
}
.wishlist-btn:hover {
    border: 1px solid green;
    background: #fff;
    color: green;
}
.cart_submit:hover
 {
    border: 1px solid green;
    background: #fff;
    color: green;
}

.cart_submit {
    width: 60px;
    height: 40px;
    color: #ffffff;
    display: flex;
    border-radius: 4px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .2);
    cursor: pointer !important;
    font-size: 25px;
    text-transform: uppercase;
    -webkit-transition: all .3s;
    transition: all .3s;
    background: green;
    align-items: center;
    justify-content: center;
}

/* Product grid & card (same as before) */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.product-card {
    background: #fff;
    border: 2px solid #d4dcd4;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* width: 100%; */
    /* max-width: 260px; */
    display: flex
;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    flex: 0 0 20%;
    transition: transform 0.3s ease;
}
/* .product-card {
  background: #fff;
  border: 2px solid #d4dcd4;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
} */

/* .product-image {
  position: relative;
} */

.product-image {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
}
.product-card:hover {
    border: 1px solid green;
}
.product-image img {
    cursor: pointer;
    width: auto;
    display: block;
    max-height: 303px;
    transition: transform 0.3s ease;
}
.product-image img:hover {
    transform: scale(1.05);
}
/* .product-image img {
  width: 100%;
  display: block;
} */

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding-top: 4px;
    background: white;
    border: none;
    font-size: 32px;
    width: 40px;
    /* padding-top: 2px; */
    height: 40px;
    cursor: pointer !important;
    border-radius: 50%;
    /* padding: 8px 8px; */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* .wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  padding: 4px 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
} */

.product-info {
  padding: 1rem;
  text-align: left;
}

.product-title {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.4rem;
  color: #333;
}

.product-code {
  font-size: 0.85rem;
  color: #777;
  margin: 0 0 0.5rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.rating {
  color: #ff9800;
  font-weight: bold;
}

.price {
    /* color: #1e88e5; */
    /* font-weight: 600; */
    font-size: 24px;
    line-height: 22px;
    font-weight: 700;
    color: green;
}

.qty-cart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-selector {
  display: flex;
  align-items: center;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background-color: #eee;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
}

.qty-input {
  width: 40px;
  text-align: center;
  margin: 0 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 4px;
}

.cart-btn {
  background-color: #ff6f00;
  border: none;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}



.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 0 1rem;
}
.product-card {
    background: #fff;
    border: 2px solid #d4dcd4;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    flex: 0 0 20%;
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  /* .product-grid {
    flex-direction: column;
    align-items: center;
  } */
   .product-image img {
        /* width: 100%; */
        height: auto;
        max-width: 100%;
    }
    /* .product-card {
        width: 100%;
    } */
     .product-card {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
}
