.product h1{
	font-size: 22px !important;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* Increase gap between thumbnails */
    padding: 20px;
}

.video-thumbnail {
    text-align: center;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 8px; /* Adds space between image and link */
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-link {
    text-decoration: none;
    color: #007BFF;
    font-size: 16px;
}

.video-link span{
	display: block;
}

.video-link:hover {
    text-decoration: underline;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    width: 85%;
    max-width: 900px;
    height: 500px;
    background-color: black;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container iframe {
    width: 90%;
    height: 90%;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Media query for mobile devices */
@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: 1fr; /* Stacks the thumbnails on top of each other */
        gap: 30px; /* Adjust gap for mobile view */
        padding: 30px; /* Less padding on mobile */
		margin-bottom: 30px;
    }
}
