@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Product Card Main Box */
.custom-product-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  margin: 10px;
  border: 1px solid rgba(255, 183, 3, 0.2);
}
.custom-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(255, 183, 3, 0.2);
}

/* Image Wrapper & Center Alignment Fix */
.custom-img-wrapper {
  position: relative;
  overflow: hidden;
  background: #fdfdfd;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.custom-img-wrapper img {
  max-height: 190px;
  width: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.custom-product-card:hover .custom-img-wrapper img {
  transform: scale(1.08);
}

/* Badge Styling */
.custom-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ffb703, #fb8500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(251, 133, 0, 0.3);
  z-index: 2;
}

/* Action Icons */
.custom-action-list {
  position: absolute;
  top: 12px;
  right: -50px;
  list-style: none;
  padding: 0;
  transition: right 0.3s ease;
  z-index: 2;
}
.custom-product-card:hover .custom-action-list {
  right: 12px !important;
}
.custom-action-list li a {
  background: #fff;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #333;
}

/* Product Details Content */
.custom-product-content {
  padding: 15px 20px;
  text-align: left;
}
.custom-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  height: 42px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.custom-title a {
  color: #2b2b2b;
  text-decoration: none;
  transition: color 0.2s;
}
.custom-title a:hover {
  color: #ffb703;
}
.custom-price {
  font-size: 16px;
  font-weight: 800;
  color: #2a9d8f;
}
.custom-price del {
  font-size: 13px;
  color: #999;
  font-weight: 400;
  margin-left: 6px;
}

/* Footer Buttons */
.custom-footer-action {
  padding: 15px 20px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}
.custom-cart-btn {
  flex: 1;
  background: linear-gradient(135deg, #ffb703, #fb8500);
  border: none;
  color: #fff;
  padding: 10px 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
  transition: all 0.3s ease;
}
.custom-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.5);
}
.custom-buynow-btn {
  flex: 1;
  background: #212529;
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.custom-buynow-btn:hover {
  transform: translateY(-2px);
  background: #000;
  color: #fff;
}
