/* ====================================
   COMPACT PRODUCT CARD STYLES
   ==================================== */

.premium-product-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(196, 69, 105, 0.2);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-badges .badge {
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-new_arrival {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.badge-featured_product {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
}

.badge-top_product {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #ffffff;
}

.badge-best_product {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #ffffff;
}

.badge-discount {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #ffffff;
}

/* Product Image */
.product-image-wrapper {
    display: block;
    position: relative;
    overflow: hidden;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-img-main,
.product-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-img-hover {
    opacity: 0;
}

.premium-product-card:hover .product-img-main {
    opacity: 0;
    transform: scale(1.08);
}

.premium-product-card:hover .product-img-hover {
    opacity: 1;
    transform: scale(1.05);
}

.image-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.35) 100%);
    transition: all 0.3s;
}

.premium-product-card:hover .image-gradient-overlay {
    background: linear-gradient(to bottom, rgba(196, 69, 105, 0.1) 0%, rgba(196, 69, 105, 0.5) 100%);
}

/* Quick Actions */
.product-quick-actions {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%) translateX(50px);
    z-index: 10;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-product-card:hover .product-quick-actions {
    transform: translateY(-50%) translateX(0);
}

.quick-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.quick-action-btn:hover {
    background: linear-gradient(135deg, #c44569, #e91e8c);
    color: #ffffff;
    transform: scale(1.1);
}

/* Product Details */
.product-details-wrapper {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.product-category {
    font-size: 11px;
    font-weight: 700;
    color: #c44569;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
}

.product-category:hover {
    color: #a03050;
}

.product-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
    transition: color 0.3s ease;
}

.product-title:hover {
    color: #c44569;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
}

.product-rating i {
    color: #fbbf24;
    font-size: 11px;
}

.product-rating .far {
    color: #d1d5db;
}

.review-count {
    font-size: 11px;
    color: #9ca3af;
    margin-left: 2px;
}

/* Price */
.product-price-wrapper {
    margin-top: auto;
    padding-top: 6px;
}

.product-price,
.price-current {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.price-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-original {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Add to Cart Button */
.product-cart-action {
    margin-top: 10px;
}

.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 14px;
    background: linear-gradient(135deg, #c44569, #e91e8c);
    color: #ffffff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(196, 69, 105, 0.3);
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #e91e8c, #c44569);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(196, 69, 105, 0.4);
    color: #ffffff;
}

.add-to-cart-btn i {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-quick-actions {
        transform: translateY(-50%) translateX(0);
    }

    .product-image-container {
        height: 120px;
    }
}
