.menu-item-cta {
    cursor: pointer;
}

/* WCF7 custom error */
.custom-error {
    display: block;
    margin-top: 6px;
    color: #dc3232;
    font-size: 14px;
}

/* WCF7 response output */
.wpcf7 form .wpcf7-response-output {
    display: none;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    display: block;
}

/* Popup backdrop */
.custom-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(2px);
    z-index: 99998;

    opacity: 0;
    visibility: hidden;
    transition: .2s;
}

.custom-popup-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Hide popup backdrop */
.custom-popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Скрыт по умолчанию */
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.custom-popup-wrapper.is-active {
    display: flex;
}

.custom-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px); /* Опционально: легкое размытие */
}

.custom-popup-content {
    position: relative;
    background: #fff;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
    z-index: 10;
    /* Анимация появления */
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.custom-popup-wrapper.is-active .custom-popup-content {
    transform: translateY(0);
}

.custom-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.custom-popup-body h3 {
    margin-top: 0;
    color: #000;
	font-size: 18px;
}
.custom-popup-body p {
	font-size: 16px;
}

/* Fix iPhone scaling */
.wpcf7-form input[type=text] {
	font-size:16px;
}