﻿/* ===== AFFILIATE PRODUCT CARDS ===== */
.affiliate-product-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--bege-medio);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

    .affiliate-product-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

.sponsored-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f0ad4e;
    color: #333;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    flex: 0 0 150px;
    height: 150px;
    background: var(--cinza-claro);
    border-radius: 8px;
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-image .no-image {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--bege-medio);
        font-size: 2rem;
    }

.product-info {
    flex: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cinza-escuro);
    margin: 0 0 0.5rem 0;
}

.product-description {
    color: var(--cinza-medio);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-price {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #28a745;
}

.original-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--cinza-medio);
    margin-left: 0.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #ffc107;
    font-size: 0.8rem;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--cinza-medio);
}

.product-platform {
    font-size: 0.8rem;
    color: var(--cinza-medio);
    margin-bottom: 0.75rem;
}

    .product-platform i {
        width: 18px;
        color: var(--verde-pastel);
    }

.affiliate-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

    .affiliate-button:hover {
        background: linear-gradient(135deg, #218838, #1aa179);
        transform: translateY(-1px);
        color: white;
    }

.affiliate-disclosure {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-left: 0.25rem;
}

@media (max-width: 640px) {
    .affiliate-product-card {
        flex-direction: column;
    }

    .product-image {
        flex: 0 0 auto;
        max-width: 200px;
        margin: 0 auto;
    }

    .affiliate-button {
        justify-content: center;
        width: 100%;
    }
}
