/* ============================================================================
   PRODUCT CARD
============================================================================ */
.product-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.product-brand-text {
    font-size: 24px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.product-badge-sale {
    background: #ef4444;
}

.product-badge-best-seller {
    background: #3b82f6;
}

.product-badge-top-rated {
    background: #10b981;
}

.product-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}

.product-wishlist-btn:hover {
    background: white;
}

.product-wishlist-btn svg {
    color: #6b7280;
    stroke-width: 2;
}

.product-card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand-part {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.product-brand {
    font-weight: 600;
    color: #374151;
}

.product-separator {
    margin: 0 6px;
    color: #9ca3af;
}

.product-part-number {
    color: #6b7280;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.star {
    font-size: 16px;
    line-height: 1;
}

.star-filled {
    color: #fbbf24;
}

.star-empty {
    color: #d1d5db;
}

.reviews-count {
    font-size: 13px;
    color: #6b7280;
    margin-left: 4px;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

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

.product-stock {
    margin-bottom: 16px;
}

.stock-status {
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stock-in {
    color: #10b981;
}

.stock-out {
    color: #ef4444;
}

.product-add-to-cart-btn {
    margin-top: auto;
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.product-add-to-cart-btn:hover:not(.disabled) {
    background: #ea580c;
}

.product-add-to-cart-btn.disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

.product-add-to-cart-btn svg {
    width: 16px;
    height: 16px;
}

/* ============================================================================
   RESPONSIVE: FEATURED PRODUCTS
============================================================================ */
@media (max-width: 768px) {
    .featured-products-section {
        padding: 40px 0;
    }
    
    .featured-products-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .featured-products-title {
        font-size: 28px;
    }
    
    .featured-products-view-all {
        margin-left: 0;
    }
    
    .featured-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .product-card-image {
        height: 180px;
    }
    
    .product-name {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 20px;
    }
}
