/* Ensure the content is responsive */
.content {
    max-width: 100%;
    word-wrap: break-word;
}

/* Responsive video embeds */
.content iframe, .content video {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Video wrapper for aspect ratio */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe, .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

/* Popup content */
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.close-btn:hover {
    color: #000;
}
/* Text adjustments for readability */
@media (max-width: 768px) {
    .content {
        font-size: 14px;
        padding: 10px;
    }
}

@media (min-width: 769px) {
    .content {
        font-size: 16px;
        padding: 20px;
    }
}

#product_preview2 {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

#product_preview2:hover {
    transform: scale(1.5);
    transform-origin: center center;
}

/* Custom CSS for fixed zoom window */
.zoomWindow {
    top: 100px !important;
}