/*
Theme Name:     Kalitys-theme
Description:    Hello-elementor child theme.
Author:         Kalitys
Author URI:     https://www.kalitys.com/
Template:       hello-elementor
Version:        0.1.0
*/

 .reservation-popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 999999;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        overflow-y: auto; 
        padding: 20px 0;
    }

    .reservation-popup-overlay.active {
        display: flex;
        opacity: 1;
    }

   
    .reservation-popup-content {
        background: #ffffff;
        border-radius: 12px;
        max-width: 500px;
        width: 90%;
        max-height: none;
        overflow: visible;
        position: relative;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        animation: popupSlideIn 0.3s ease;
        margin: auto; 
    }

    @keyframes popupSlideIn {
        from {
            transform: translateY(-50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    
    .reservation-popup-close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 32px;
        font-weight: 300;
        color: #999;
        cursor: pointer;
        z-index: 10;
        line-height: 1;
        transition: color 0.2s ease;
    }

    .reservation-popup-close:hover {
        color: #333;
    }

   
    .reservation-popup-header {
        padding: 30px 30px 20px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .reservation-popup-header h2 {
        margin: 0 0 10px;
        font-size: 20px;
        font-weight: 600;
        color: #333;
        letter-spacing: 0.5px;
    }

    .reservation-popup-header p {
        margin: 0;
        font-size: 14px;
        color: #666;
    }

   
    .reservation-popup-body {
        padding: 20px 30px 30px;
    }

   
    #hors-hydra-3301209d-04b4-405b-bb3f-22f83c78daff {
        min-height: 400px;
    }

   
    @media (max-width: 768px) {
        .reservation-popup-overlay {
            padding: 10px 0; /* 移动端减少上下留白 */
        }

        .reservation-popup-content {
            width: 95%;
            border-radius: 8px;
        }

        .reservation-popup-header {
            padding: 25px 20px 15px;
        }

        .reservation-popup-header h2 {
            font-size: 16px;
        }

        .reservation-popup-body {
            padding: 15px 20px 25px;
        }

        .reservation-popup-close {
            top: 10px;
            right: 15px;
            font-size: 28px;
        }
    }

   
    .reservation-popup-content::-webkit-scrollbar {
        display: none;
    }
    
    .reservation-popup-content {
        -ms-overflow-style: none;  /* IE 和 Edge */
        scrollbar-width: none;  /* Firefox */
    }

    /* 美化遮罩层滚动条（如果需要） */
    .reservation-popup-overlay::-webkit-scrollbar {
        width: 8px;
    }

    .reservation-popup-overlay::-webkit-scrollbar-track {
        background: transparent;
    }

    .reservation-popup-overlay::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }

    .reservation-popup-overlay::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }

   
    body.reservation-popup-open {
        overflow: hidden;
    }

