.cp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.cp-popup {
    position: relative;
    max-width: 90%;
    opacity: 0;
    transform: scale(.98);
    transition: opacity .3s ease, transform .3s ease;
}

.cp-popup-inner {
    box-sizing: border-box;
    animation: blur-in 500ms 0.3s forwards;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@keyframes blur-in {
    from {
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }

    to {
        backdrop-filter: blur(var(--cp-blur));
        -webkit-backdrop-filter: blur(var(--cp-blur));
    }
}

.cp-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 1;
    padding: 0;
}

#cp-global-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: none;
    align-items: center;
    justify-content: center;
    transition: background .3s ease;
    z-index: 9999;
}

#cp-global-overlay.is-open {
    background: rgba(0, 0, 0, .6);
}

#cp-global-overlay.is-open .cp-popup {
    opacity: 1;
    transform: scale(1);
}

/* form */

.cp-popup-inner input[type="text"],
.cp-popup-inner input[type="tel"],
.cp-popup-inner input[type="email"],
.cp-popup-inner input[type="submit"],
.cp-popup-inner select,
.cp-popup-inner textarea {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.cp-popup-inner h3 {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    line-height: 1.2;
}

.otf-form__choice--checkbox span{
    white-space: nowrap;
}

.cp-popup-inner form {
    display: flex;
    flex-direction: column;
}

.cp-popup-policy {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
    color: #fff;
}

.cp-popup-policy a {
    color: #fff;
}

.cp-popup-inner .wpcf7-checkbox span {
    font-weight: 300;
    font-size: 11px;
}

.cp-popup-inner .wpcf7-checkbox label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.cp-popup input[type="checkbox"] {
    padding: 0 !important;
    appearance: none;
    position: relative;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 3px !important;
    border: none !important;
    transition: all 0.2s ease-in-out;
}

.cp-popup input[type="checkbox"]::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='30' viewBox='0 -960 960 960' width='30' stroke='%23FFFFFF' stroke-width='30' fill='%23FFFFFF'%3E%3Cpath d='M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-in-out;
}

.cp-popup input[type="checkbox"]:checked::after {
    opacity: 1;
}

.cp-popup input[type="checkbox"]:checked {
    background: #ffaa41;
}

.cp-popup-inner form label {
    display: flex;
    gap: 4px;
}

.cp-popup-inner button[type='submit'] {
    width: 100%;
}