/* ATS Voucher Popup styles */

.ats-voucher-banner,
.ats-voucher-title,
.ats-voucher-subtitle,
.ats-voucher-cta,
.ats-voucher-note {
    font-family: 'Manrope', sans-serif;
    /*font-family: 'Bahnschrift', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;*/
}

.ats-voucher-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    place-items: center;
}

.ats-voucher-modal.is-active {
    display: grid;
}

.ats-voucher-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.ats-voucher-dialog {
    position: relative;
    max-width: 1241px;
    width: min(96vw, 1241px);
    background: transparent;
    border-radius: 18px;
    /*overflow: hidden;*/
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.ats-voucher-close {
    position: absolute;
    top: -30px;
    right: -20px;
    z-index: 5;
    background: transparent;
    border: 0;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.ats-voucher-banner {
    display: grid;
    grid-template-columns: 1.4fr 1.1fr;
    align-items: stretch;
    background: radial-gradient(75.89% 227.45% at 83.49% 46.48%, #323232 0%, #000000 100%);
    border-radius: 15px 15px 0 0;


    color: #ffffff;
    position: relative;
}

.ats-voucher-left {
    position: relative;
    padding: 40px 40px 0;
    z-index: 2;
}

.ats-voucher-logos {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
    font-size: 13px;
    font-weight: 600;
}

.ats-voucher-logos .header-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ats-voucher-logos .header-logo-wrap a {
    display: flex;
    gap: 13px;
}

.ats-voucher-logos .header-logo-wrap-herb {
    max-height: 45px;
    width: auto;
    display: block;
}

.ats-voucher-logos .header-logo-wrap-main-logo {
    max-height: 45px;
    width: auto;
    display: block;
}

.ats-logo-pill {
    padding: 5px 10px;
    border-radius: 999px;
    background: #ff9100;
    color: #111111;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.ats-logo-x {
    color: #ffffff;
    font-weight: 700;
}

.ats-logo-ats {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.ats-logo-absolute {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
}

.ats-logo-teamsport {
    font-size: 15px;
    font-weight: 700;
    color: #32b33b;
}

.ats-voucher-title {
    font-family: 'Manrope', sans-serif;
    /*font-family: 'Bahnschrift', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;*/
    font-size: 55px;
    font-weight: 700;
}

.ats-voucher-subtitle {
    margin: 0 0 33px;
    font-family: 'Manrope', sans-serif;
    /*font-family: 'Bahnschrift', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;*/
    font-size: 30px;
    font-weight: 300;
    color: #ffffff;
}

.ats-voucher-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 57px;
    gap: 10px;
    background: #65B32E;
    border: 2px solid #65B32E;

    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    /*font-family: 'Bahnschrift', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;*/
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    margin-bottom: 60px;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.ats-voucher-note-wrap {
    border-radius: 0 0 15px 15px;
    background: #62B32C;
    padding: 23px 40px;
    position: relative;
    &:before {
        content: url('new-pop-up-footer.png');
        position: absolute;
        bottom: -5px;
        z-index: 2;
        right: 10.5%;
    }
}

.ats-voucher-note {
    font-family: 'Manrope', sans-serif;
    /*font-family: 'Bahnschrift', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;*/
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
    margin: 0;
    color: #ffffff;
}

.ats-voucher-right {
    position: relative;
    padding: 0 32px 40px 10px;
    overflow: hidden;
    /*border-radius: 0 15px 0 0;*/
}

.ats-voucher-mock-shirt,
.ats-voucher-mock-jacket {
    position: absolute;
    bottom: 40px;
    width: 150px;
    height: 200px;
    border-radius: 32px;
    background: linear-gradient(to bottom, #42ff3b, #1c7f13);
    box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

.ats-voucher-mock-shirt {
    right: 155px;
}

.ats-voucher-mock-jacket {
    right: 45px;
    background: linear-gradient(to bottom, #1ab14a, #0f5a2a);
}

.ats-voucher-mock-card {
    position: absolute;
    top: 0;
    right: 0;
    content: url('bon-image.png');
    border-radius: 0 15px 0 0;
}

@media (max-width: 1200px) {
    .ats-voucher-close {
        right: -10px;
    }
    .ats-voucher-mock-card {
        transform: scale(.85);
        transform-origin: top right;
    }
    .ats-voucher-note-wrap {
        &:before {
            transform: scale(.7);
            transform-origin: bottom right;
            right: 4.5%;
        }
    }
}

@media (max-width: 1140px) {
    .ats-voucher-title {
        font-size: 45px;
    }
    .ats-voucher-subtitle {
        font-size: 25px;
    }
    .ats-voucher-note {
        width: 45%;
    }
}

@media (max-width: 992px) {
    .ats-voucher-note {
        width: 40%;
        br {
            display: none;
        }
    }
    .ats-voucher-dialog {
        grid-template-columns: 1fr;
    }
    .ats-voucher-cta {
        margin-bottom: 20px;
    }
    .ats-voucher-note-wrap {
        &:before {
            transform: scale(.7);
            transform-origin: bottom right;
            right: 0;
        }
    }
}

@media (max-width: 890px) {
    .ats-voucher-mock-card {
        transform: scale(.7);
        transform-origin: top right;
        width: 100%;
    }
    .ats-voucher-right {
        position: absolute;
        right: 0;
        top: 0;
        padding: 0;
        width: 40%;
        height: 100%;
    }

}

@media (max-width: 768px) {
    .ats-voucher-banner {
        grid-template-columns: 1fr;
    }

    .ats-voucher-left {
        padding: 40px 20px 0;
    }

    .ats-voucher-note-wrap {
        padding: 23px 20px;
        &:before {
            display: none;
        }
        .ats-voucher-note {
            width: 100%;
        }
    }
    .ats-voucher-title {
        font-size: 25px;
    }
    .ats-voucher-subtitle {
        font-size: 20px;
    }
}

