/**
 * TikTok Video Section - CSS Simple y Funcional
 */

/* Contenedor principal */
#tiktok-videos-container {
    width: 100%;
}

/* Contenedores de video */
.video-container {
    position: relative;
    aspect-ratio: 9 / 16;
    background-color: #f3f4f6;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Placeholder con botón de play */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    z-index: 20;
    transition: opacity 0.3s ease;
}

.video-placeholder:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Videos */
.tiktok-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
}

/* Swiper para móvil */
.tiktok-swiper {
    width: 100%;
    padding-bottom: 20px;
}

.tiktok-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Desktop: Grid layout */
@media (min-width: 768px) {
    .tiktok-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        transform: none !important;
    }
    
    .tiktok-swiper .swiper-slide {
        width: auto !important;
        height: auto !important;
        transform: none !important;
    }
    

}

@media (min-width: 1024px) {
    .tiktok-swiper .swiper-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .video-container {
        max-width: 280px;
        margin: 0 auto;
    }
}