/* Default popup styles (Enabled for larger screens) */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    width: 40%; /* Box width */
    max-height: 600px; /* Set maximum height */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    overflow-y: auto; /* Adds scrolling if content overflows */
    position: relative;
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: red;
}

.popup-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px; /* Adjusted height */
}

.popup-slider-content {
    display: flex;
    transition: transform 0.5s ease;
}

.popup-slider-item {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

/* ---- Disable popup completely on Mobile and Tablets ---- */
@media (max-width: 768px) { /* Hide for screens below 768px */
    .popup-overlay,
    .popup-content,
    .popup-slider-container,
    .popup-slider-content,
    .popup-slider-item,
    .popup-close-btn,
    .arrow {
        display: none !important; /* Fully disable popups */
    }
}
