/* Massless Goods Affiliate Products Styles */
.mga-affiliate-wrapper {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f5f2;
}

.mga-hero {
    padding: 80px 0;
    text-align: center;
    background-color: #ffffff;
}

.mga-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.mga-hero p {
    font-size: 1.2rem;
    color: #777777;
    max-width: 600px;
    margin: 0 auto;
}

.mga-filters {
    padding: 30px 0;
    background-color: #ffffff;
}

.mga-filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.mga-filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid #2c2c2c;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #2c2c2c;
}

.mga-filter-btn:hover, .mga-filter-btn.active {
    background-color: #2c2c2c;
    color: #ffffff;
}

.mga-products {
    padding: 50px 0;
}

.mga-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.mga-product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mga-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mga-product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.mga-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.mga-product-info {
    padding: 20px;
}

.mga-product-category {
    font-size: 0.8rem;
    color: #777777;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mga-product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c2c2c;
}

.mga-product-description {
    font-size: 0.95rem;
    color: #777777;
    margin-bottom: 15px;
    line-height: 1.5;
}

.mga-product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 15px;
}

.mga-buy-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #e8c4b8;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.mga-buy-btn:hover {
    background-color: #2c2c2c;
    color: #ffffff;
}

.mga-disclaimer {
    padding: 30px 0;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: #777777;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mga-hero h1 {
        font-size: 2rem;
    }
    
    .mga-hero p {
        font-size: 1rem;
    }
    
    .mga-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .mga-filter-buttons {
        gap: 10px;
    }
    
    .mga-filter-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .mga-product-grid {
        grid-template-columns: 1fr;
    }
}