/* Premium Sponsored Products Styling */
#sponsored-products-section {
    margin: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
    border-radius: 20px;
}

#sponsored-products-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 700;
    font-size: 2rem;
    position: relative;
}

#sponsored-products-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #e91e63, #c2185b);
    border-radius: 2px;
}

#sponsored-products-grid {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.sponsored-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid transparent;
    width: 320px;
    flex-shrink: 0;
}

.sponsored-product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #e91e63;
}

.sponsored-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.sponsored-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.sponsored-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sponsored-product-card:hover .sponsored-image-container img {
    transform: scale(1.1);
}

.sponsored-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(233, 30, 99, 0.8), rgba(194, 24, 91, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sponsored-product-card:hover .sponsored-overlay {
    opacity: 1;
}

.sponsored-cta {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.sponsored-content {
    padding: 1.5rem;
}

.sponsored-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.sponsored-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.sponsored-price {
    display: flex;
    align-items: baseline;
    color: #e91e63;
    font-weight: 700;
}

.sponsored-price .currency {
    font-size: 0.9rem;
    margin-right: 0.2rem;
}

.sponsored-price .amount {
    font-size: 1.2rem;
}

.sponsored-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sponsored-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 500;
}

.feature-item i {
    font-size: 0.9rem;
}

.sponsored-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.sponsored-cta-button:hover {
    background: linear-gradient(135deg, #c2185b, #ad1457);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
    color: white;
}

.sponsored-cta-button i {
    transition: transform 0.3s ease;
}

.sponsored-cta-button:hover i {
    transform: translateX(3px);
}

/* Mobile responsive - Carousel */
@media (max-width: 768px) {
    #sponsored-products-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 1rem;
        max-width: none;
        margin: 0;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    #sponsored-products-grid::-webkit-scrollbar {
        display: none;
    }
    
    .sponsored-product-card {
        width: 280px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    
    .sponsored-image-container {
        height: 180px;
    }
    
    .sponsored-content {
        padding: 1rem;
    }
    
    .sponsored-features {
        justify-content: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    #sponsored-products-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    #sponsored-products-section h2 {
        font-size: 1.5rem;
    }
    
    .sponsored-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sponsored-features {
        gap: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.75rem;
    }
}