#custom-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#custom-popup.active {
    display: flex;
}

.popup-content {
    background: #fff;
    padding: 24px;
    min-width: 300px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

#popup-close-btn {
    margin-top: 16px;
    padding: 10px;
    color: #fff;
    border: none;
    font-size: 16px;
    line-height: 1;
    min-width: 100px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s;
    border: 1px solid #000;
    background: #000;
}

#popup-close-btn:hover {
    background: #fff;
    color: #000;
}

span#popup-message {
    font-size: 14px;
}

body.custom-popup-active {
    overflow: hidden;
}

/* cancel order page custom styles */
.order-cancel-form .cancel-order-terms-conditions .cancel-order-checkbox .wpcf7-list-item-label {
    padding-right: 2rem !important;
}

@media (min-width: 768px) {
    .order-cancel-form .cancel-order-terms-conditions .cancel-order-checkbox .fake-input {
        top: 4px !important;
        transform: none !important;
    }
}

.wpcf7-form.unaccepted .wpcf7-response-output {
    color: red;
    font-size: 13px;
}