.order-online-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.admin-bar .order-online-popup-overlay {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .order-online-popup-overlay {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.order-online-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-online-popup-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.order-online-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
    padding: 0;
    line-height: 1;
}

.order-online-popup-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.order-online-popup-content p {
    color: #666;
    margin-bottom: 20px;
}

.order-online-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-online-popup-btn {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.delivery-btn {
    background: #D94948;
    color: #fff;
}
.delivery-btn:hover {
    background: #b53837;
    color: #fff;
}

.pickup-btn {
    background: #011627;
    color: #fff;
}
.pickup-btn:hover {
    background: #000;
    color: #fff;
}