/* Modern Popup Styles */
.order-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.order-popup-content {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.order-popup-overlay.active .order-popup-content {
    transform: translateY(0);
}

.order-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
}

.order-popup-close:hover {
    color: #333;
    background: #eee;
}

.order-popup-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2c3e50;
    font-family: inherit;
}

.order-info-item {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
}

.order-info-item:hover {
    transform: scale(1.02);
}

.order-info-label {
    font-size: 14px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.order-info-value {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* Smooth Scroll Offset */
/* Global Responsive Fixes */
html, body {
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .elementor-element {
        --flex-direction: column !important;
    }
    .wd-carousel-item {
        width: 100% !important;
    }
    .whb-general-header-inner {
        height: auto !important;
        padding: 10px 0;
    }
    /* Fix for slider height on mobile */
    .wd-slider, .wd-slide-container {
        min-height: 400px !important;
    }
}

@media (max-width: 480px) {
    .wd-slide-inner h4 {
        font-size: 24px !important;
    }
    .wd-slider {
        height: auto !important;
        min-height: 350px !important;
    }
}

.order-info-value.phone {
    font-size: 24px;
    color: #27ae60;
    font-weight: 700;
}

.order-info-value.mail {
    color: #2980b9;
}

.order-popup-footer {
    margin-top: 30px;
    font-size: 14px;
    color: #aaa;
}

@media (max-width: 480px) {
    .order-popup-content {
        padding: 30px 20px;
    }
    .order-popup-title {
        font-size: 22px;
    }
    .order-info-value {
        font-size: 16px;
    }
    .order-info-value.phone {
        font-size: 20px;
    }
}
