.xcodee-single-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.xcodee-single-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.xcodee-single-product-card a {
  text-decoration: none !important;
}

/* Sale Badge */
.xcodee-product-badge.xcodee-sale-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--e-global-color-5b522ed);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
  letter-spacing: 0.5px;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4),
      0 0 20px rgba(255, 68, 68, 0.6), 0 0 30px rgba(255, 68, 68, 0.4);
  }
}

/* Product Image */
.xcodee-product-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.xcodee-product-image-link {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xcodee-product-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.xcodee-single-product-card:hover .xcodee-product-image img {
  transform: scale(1.05);
}

/* Product Info */
.xcodee-product-info {
  padding: 20px;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.xcodee-product-title {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.xcodee-product-title-link {
  color: #333;
  transition: color 0.3s ease;
}

.xcodee-product-title-link:hover {
  color: #000;
}

.xcodee-product-price {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-top: auto;
}

.xcodee-product-price .woocommerce-Price-amount {
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .xcodee-product-image {
    height: 250px;
  }

  .xcodee-product-info {
    padding: 16px;
  }

  .xcodee-product-title {
    font-size: 14px;
  }

  .xcodee-product-price {
    font-size: 16px;
  }
}
