/**
 * Detailed Product Page - Videos Section Styling
 */

.product-videos-section {
    margin-top: 48px;
    margin-bottom: 48px;
    width: 100%;
}

.product-videos-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.product-videos-title {
    font-family: inherit;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: #0091ff;
    margin-bottom: 24px;
    text-align: left;
}

.product-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-video-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.video-preview-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #1a1a1a;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-video-card:hover .video-thumbnail {
    transform: scale(1.02);
}

.video-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.video-top-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-channel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-title-text {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1.2), filter 0.2s ease;
}

.video-play-btn svg {
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12);
    filter: brightness(1.1);
}

.video-play-btn:active {
    transform: translate(-50%, -50%) scale(0.98);
}

.video-embed-iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    z-index: 4;
}

.video-card-description {
    padding: 12px 16px;
    background-color: #ffffff;
    color: #333333;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .product-videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-videos-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .video-play-btn svg {
        width: 54px;
        height: 38px;
    }
}
