.promo-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #4c505a80;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    display: none;
    justify-content: center;
    align-items: center;
}

#promo-popup {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--n-white);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 10px;
    width: 100%;
    max-width: 920px;
    position: relative;
    max-height: calc(100vh - 2*50px);
}

#promo-popup form{
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.promo-popup-bg{
    display: none;
}

.promo-popup-confirm{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--n-white);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    position: relative;
    max-height: calc(100vh - 2*50px);
    gap: 40px;
    padding: 48px 40px 40px;
}

.promo-popup-confirm .h3-small{
    text-align: center;
    color: var(--n-black);
}

.promo-popup-confirm .main-text-medium{
    text-align: center;
    color: var(--n-grey);
}

#promo-popup-empty-overlay .promo-popup-confirm .main-text-medium{
    display: none;
}

.promo-popup-confirm img{
    object-fit: cover;
    object-position: center;
    width: 380px;
    height: auto;
}

#promo-popup .promo-left-part{
    width: 360px;
    flex-shrink: 0;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('https://storage.googleapis.com/dev_resources_voka_io_303011/common/promocodes-popup-web-bg.webp');
}

#promo-popup .promo-right-part{
    flex: 1;
    padding: 48px 40px 40px;
    display: flex;
    gap: 32px;
    flex-direction: column;
    align-items: stretch;
}

#promo-popup .promo-right-info{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 2px solid;
    border-image-source: linear-gradient(90deg, rgba(211, 230, 255, 0) 0%, #D3E6FF 50%, rgba(211, 230, 255, 0) 100%);
    border-image-slice: 2;
}

#promo-popup .promo-right-info p{
    text-align: center;
}

#promo-popup .promo-right-info p span{
    color: var(--n-dark-accent);
}

#promo-popup .promo-right-info .small-text-bold{
    color: var(--n-dark-grey);
}

#promo-popup .promo-right-info .heading{
    color: var(--n-black);
    text-align: center;
    font-family: Manrope;
    font-size: 28px;
    font-style: normal;
    font-weight: 800;
    line-height: 40px; /* 142.857% */
}

#promo-popup input[type='radio']{
    display: none;
}

#promo-popup form .chip-radio{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
}

#promo-popup form .chip-radio .wpcf7-not-valid-tip{
    min-height: 32px;
}

#promo-popup form .wpcf7-form-control-wrap:has(.chip-radio){
    display: block;
    margin-bottom: 0 !important;
    min-height: 68px;
}

#promo-popup form p:has(.chip-radio){
    margin-bottom: 0 !important;
}

#promo-popup form .wpcf7-list-item{
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    padding: 10px 16px;
    background: var(--n-grey-BG);
    transition: 0.3s;
    cursor: pointer;

    color: var(--n-dark-grey);
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
}

#promo-popup form .wpcf7-list-item.chip-selected{
    background: var(--bright-blue);
    color: var(--n-white);
}

#promo-popup form .wpcf7-list-item:has(input[value='iOS']) .wpcf7-list-item-label::before{
    display: inline-block;
    width: 24px;
    height: 24px;
    content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%3Cpath%20d%3D%22M11.6324%207.03379C10.8081%207.03379%209.53202%206.09065%208.18823%206.12474C6.41534%206.14747%204.78925%207.15878%203.87457%208.76097C2.03392%2011.9767%203.40029%2016.7265%205.19577%2019.34C6.07657%2020.6127%207.11546%2022.0444%208.49313%2021.9989C9.81433%2021.9421%2010.3112%2021.1354%2011.9147%2021.1354C13.5069%2021.1354%2013.9586%2021.9989%2015.3589%2021.9649C16.7817%2021.9421%2017.6851%2020.6695%2018.5546%2019.3854C19.5596%2017.9082%2019.9774%2016.4765%2020%2016.397C19.9661%2016.3856%2017.2334%2015.3288%2017.1995%2012.1472C17.1769%209.48821%2019.3563%208.21555%2019.458%208.15873C18.2158%206.32928%2016.3074%206.12474%2015.6412%206.07929C13.9021%205.94293%2012.4454%207.03379%2011.6324%207.03379ZM14.5684%204.3521C15.3024%203.46579%2015.788%202.22721%2015.6525%201C14.6023%201.04545%2013.3375%201.70451%2012.5809%202.59083C11.9034%203.37488%2011.3162%204.63618%2011.4743%205.84067C12.6374%205.93157%2013.8344%205.23842%2014.5684%204.3521Z%22%20fill%3D%22%238C9AAB%22/%3E%0A%3C/svg%3E");    
}

#promo-popup form .wpcf7-list-item:has(input[value='Android']) .wpcf7-list-item-label::before{
    display: inline-block;
    width: 24px;
    height: 24px;
    content: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cmask%20id='mask0_24583_140828'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='1'%20y='5'%20width='22'%20height='14'%3E%3Cpath%20d='M21.9503%2018H2.0498C2.5513%2012.9465%206.8148%209%2011.9998%209C17.1858%209%2021.4488%2012.9465%2021.9503%2018Z'%20fill='white'%20stroke='white'%20stroke-width='2'%20stroke-linejoin='round'/%3E%3Cpath%20d='M7.00049%2010L5.00049%206.5M16.5005%2010L18.5005%206.5'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M7.50049%2015.5C8.05277%2015.5%208.50049%2015.0523%208.50049%2014.5C8.50049%2013.9477%208.05277%2013.5%207.50049%2013.5C6.9482%2013.5%206.50049%2013.9477%206.50049%2014.5C6.50049%2015.0523%206.9482%2015.5%207.50049%2015.5Z'%20fill='black'/%3E%3Cpath%20d='M16.5005%2015.5C17.0528%2015.5%2017.5005%2015.0523%2017.5005%2014.5C17.5005%2013.9477%2017.0528%2013.5%2016.5005%2013.5C15.9482%2013.5%2015.5005%2013.9477%2015.5005%2014.5C15.5005%2015.0523%2015.9482%2015.5%2016.5005%2015.5Z'%20fill='black'/%3E%3C/mask%3E%3Cg%20mask='url(%23mask0_24583_140828)'%3E%3Cpath%20d='M0%200H24V24H0V0Z'%20fill='%238C9AAB'/%3E%3C/g%3E%3C/svg%3E");
}

#promo-popup form .wpcf7-list-item.chip-selected:has(input[value='iOS']) .wpcf7-list-item-label::before{
    content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%3Cpath%20d%3D%22M11.6324%207.03379C10.8081%207.03379%209.53202%206.09065%208.18823%206.12474C6.41534%206.14747%204.78925%207.15878%203.87457%208.76097C2.03392%2011.9767%203.40029%2016.7265%205.19577%2019.34C6.07657%2020.6127%207.11546%2022.0444%208.49313%2021.9989C9.81433%2021.9421%2010.3112%2021.1354%2011.9147%2021.1354C13.5069%2021.1354%2013.9586%2021.9989%2015.3589%2021.9649C16.7817%2021.9421%2017.6851%2020.6695%2018.5546%2019.3854C19.5596%2017.9082%2019.9774%2016.4765%2020%2016.397C19.9661%2016.3856%2017.2334%2015.3288%2017.1995%2012.1472C17.1769%209.48821%2019.3563%208.21555%2019.458%208.15873C18.2158%206.32928%2016.3074%206.12474%2015.6412%206.07929C13.9021%205.94293%2012.4454%207.03379%2011.6324%207.03379ZM14.5684%204.3521C15.3024%203.46579%2015.788%202.22721%2015.6525%201C14.6023%201.04545%2013.3375%201.70451%2012.5809%202.59083C11.9034%203.37488%2011.3162%204.63618%2011.4743%205.84067C12.6374%205.93157%2013.8344%205.23842%2014.5684%204.3521Z%22%20fill%3D%22%2381BDFF%22/%3E%0A%3C/svg%3E");    
}

#promo-popup form .wpcf7-list-item.chip-selected:has(input[value='Android']) .wpcf7-list-item-label::before{
    content: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cmask%20id='mask0_24583_140828'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='1'%20y='5'%20width='22'%20height='14'%3E%3Cpath%20d='M21.9503%2018H2.0498C2.5513%2012.9465%206.8148%209%2011.9998%209C17.1858%209%2021.4488%2012.9465%2021.9503%2018Z'%20fill='white'%20stroke='white'%20stroke-width='2'%20stroke-linejoin='round'/%3E%3Cpath%20d='M7.00049%2010L5.00049%206.5M16.5005%2010L18.5005%206.5'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M7.50049%2015.5C8.05277%2015.5%208.50049%2015.0523%208.50049%2014.5C8.50049%2013.9477%208.05277%2013.5%207.50049%2013.5C6.9482%2013.5%206.50049%2013.9477%206.50049%2014.5C6.50049%2015.0523%206.9482%2015.5%207.50049%2015.5Z'%20fill='black'/%3E%3Cpath%20d='M16.5005%2015.5C17.0528%2015.5%2017.5005%2015.0523%2017.5005%2014.5C17.5005%2013.9477%2017.0528%2013.5%2016.5005%2013.5C15.9482%2013.5%2015.5005%2013.9477%2015.5005%2014.5C15.5005%2015.0523%2015.9482%2015.5%2016.5005%2015.5Z'%20fill='black'/%3E%3C/mask%3E%3Cg%20mask='url(%23mask0_24583_140828)'%3E%3Cpath%20d='M0%200H24V24H0V0Z'%20fill='%2381BDFF'/%3E%3C/g%3E%3C/svg%3E");
}

#promo-popup form .wpcf7-list-item-label{
    display: flex;
    gap: 8px;
    align-items: center;
}

#promo-popup form .wpcf7-list-item-label::after{
    display: none !important;
}

#promo-popup form .platform-text,
#promo-popup form .email-text{
    color: var(--n-dark-grey);
    margin-bottom: 16px !important;
    position: relative;
    display: inline-block;
    align-self: flex-start;
}

#promo-popup form .email-text{
    padding-top: 8px;
}

#promo-popup form .platform-text::after{
    position: absolute;
    top: 0;
    right: -10px;
    content: '*';
    color: #62656C;
}

#form-agree-text{
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: start;
    gap: 20px;
    margin-bottom: 0 !important;
    padding-top: 10px;
}

#form-agree-text .description-medium{
    color: var(--secondary-black);
}

#form-agree-text .description-medium a{
    color: #056CF2;
}

#form-agree-text input[type='submit']{
    background-image: none !important;
    padding: 12px 24px !important;
    cursor: pointer;
}

#form-agree-text input[type="submit"]:disabled{
    cursor: not-allowed;
}

#promo-popup form input[type='email']{
    border-radius: 8px;
    border: 1px solid;
    width: 100%;
    outline: none;
    background-color: transparent;
    transition: 0.2s;
    height: 60px;
    padding: 27px 16px 9px 16px;
    font-family: Manrope;
    font-weight: 500;
    line-height: 24px;
    font-size: 16px;
    background-color: var(--n-white);
    border-color: #CDD2DF;
    color: var(--n-dark-grey);
}

#promo-popup form p:has(label.focused) input[type='email']{
    padding-top: 27px;
}

#close-promo-popup, .close-promo-popup {
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 14px;
    right: 14px;
}

#close-promo-popup path, .close-promo-popup path {
    transition: 0.3s;
}

.promo-popup-text-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (hover:hover){
    #promo-popup form .wpcf7-list-item:hover{
        background: var(--bright-blue);
        color: var(--n-white);
    }

    #promo-popup form .wpcf7-list-item:has(input[value='iOS']):hover .wpcf7-list-item-label::before{
        content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%3Cpath%20d%3D%22M11.6324%207.03379C10.8081%207.03379%209.53202%206.09065%208.18823%206.12474C6.41534%206.14747%204.78925%207.15878%203.87457%208.76097C2.03392%2011.9767%203.40029%2016.7265%205.19577%2019.34C6.07657%2020.6127%207.11546%2022.0444%208.49313%2021.9989C9.81433%2021.9421%2010.3112%2021.1354%2011.9147%2021.1354C13.5069%2021.1354%2013.9586%2021.9989%2015.3589%2021.9649C16.7817%2021.9421%2017.6851%2020.6695%2018.5546%2019.3854C19.5596%2017.9082%2019.9774%2016.4765%2020%2016.397C19.9661%2016.3856%2017.2334%2015.3288%2017.1995%2012.1472C17.1769%209.48821%2019.3563%208.21555%2019.458%208.15873C18.2158%206.32928%2016.3074%206.12474%2015.6412%206.07929C13.9021%205.94293%2012.4454%207.03379%2011.6324%207.03379ZM14.5684%204.3521C15.3024%203.46579%2015.788%202.22721%2015.6525%201C14.6023%201.04545%2013.3375%201.70451%2012.5809%202.59083C11.9034%203.37488%2011.3162%204.63618%2011.4743%205.84067C12.6374%205.93157%2013.8344%205.23842%2014.5684%204.3521Z%22%20fill%3D%22%2381BDFF%22/%3E%0A%3C/svg%3E");    
    }

    #promo-popup form .wpcf7-list-item:has(input[value='Android']):hover .wpcf7-list-item-label::before{
        content: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3E%3Cmask%20id='mask0_24583_140828'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='1'%20y='5'%20width='22'%20height='14'%3E%3Cpath%20d='M21.9503%2018H2.0498C2.5513%2012.9465%206.8148%209%2011.9998%209C17.1858%209%2021.4488%2012.9465%2021.9503%2018Z'%20fill='white'%20stroke='white'%20stroke-width='2'%20stroke-linejoin='round'/%3E%3Cpath%20d='M7.00049%2010L5.00049%206.5M16.5005%2010L18.5005%206.5'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M7.50049%2015.5C8.05277%2015.5%208.50049%2015.0523%208.50049%2014.5C8.50049%2013.9477%208.05277%2013.5%207.50049%2013.5C6.9482%2013.5%206.50049%2013.9477%206.50049%2014.5C6.50049%2015.0523%206.9482%2015.5%207.50049%2015.5Z'%20fill='black'/%3E%3Cpath%20d='M16.5005%2015.5C17.0528%2015.5%2017.5005%2015.0523%2017.5005%2014.5C17.5005%2013.9477%2017.0528%2013.5%2016.5005%2013.5C15.9482%2013.5%2015.5005%2013.9477%2015.5005%2014.5C15.5005%2015.0523%2015.9482%2015.5%2016.5005%2015.5Z'%20fill='black'/%3E%3C/mask%3E%3Cg%20mask='url(%23mask0_24583_140828)'%3E%3Cpath%20d='M0%200H24V24H0V0Z'%20fill='%2381BDFF'/%3E%3C/g%3E%3C/svg%3E");
    }

    #promo-popup form p:has(label.focused) input[type='email']:hover{
        border-color: var(--light-blue);
    }

    #close-promo-popup:hover path, .close-promo-popup:hover path {
        fill: var(--n-grey-60);
    }
}

#promo-popup form input[type='email']:focus,
#promo-popup form input[type='email']:active{
    border-color: var(--bright-blue);
}

#promo-popup form input[type='email'].wpcf7-not-valid{
    border-color: var(--red);
}

#promo-popup form .wpcf7-not-valid-tip{
    position: static;
    font-size: 12px;
    line-height: 16px;
    min-height: 24px;
    color: var(--red);
    padding: 6px 16px 2px;
}

#promo-popup form label{
    position: absolute;
    left: 16px;
    top: 18px;
    font-family: Manrope;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    transition: 0.2s;
    z-index: 1;
    pointer-events: none;
    color: var(--n-grey);
}

#promo-popup form label::after{
    position: absolute;
    top: 0;
    right: -9px;
    display: block;
    content: '*';
    color: var(--n-grey-60);
}

#promo-popup form label.focused{
    top: 9px;
    font-size: 12px;
    line-height: 16px;
    color: #768394;
}

#promo-popup form>p{
    position: relative;
}

#promo-popup form>p:not(:has(.wpcf7-not-valid-tip)){
    margin-bottom: 24px;
}

#open-promocode-popup{
    position: fixed;
    z-index: 501;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    writing-mode: sideways-lr;
    padding: 16px 12px 16px 14px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px 0 0 10px;
    background: var(--bright-blue);
    transition: 0.3s;
    cursor: pointer;
    margin: 40px 0;
    outline: none;
    border: none;
    width: fit-content;
}

#open-promocode-popup svg{
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

#open-promocode-popup span{
    color: var(--n-white);
}

@media (hover:hover){
    #open-promocode-popup:hover{
        background: var(--dark-accent);
    }
}

@media screen and (max-width: 1919px) {
    #open-promocode-popup{
        padding: 14px 10px 14px 12px;
    }

    .promo-popup-confirm{
        gap: 32px;
        padding: 32px;
    }

    .promo-popup-confirm img{
        width: 321px;
    }

    .promo-popup-text-content{
        gap: 14px;
    }
}

@media screen and (max-width: 1439px) {
    .promo-popup-confirm img{
        width: 292px;
    }
}

@media screen and (max-width: 1279px) {
    
}

@media screen and (max-width: 1079px) {
    #promo-popup {
        max-width: 640px;
        flex-direction: column;
    }

    #promo-popup .promo-left-part{
        width: 100%;
        height: 278px;
        background-image: url('https://storage.googleapis.com/dev_resources_voka_io_303011/common/promocodes-popup-tablet-bg.webp');
    }

    #promo-popup .promo-right-part{
        padding: 32px 40px 40px;
    }

    #close-promo-popup path{
        fill: var(--n-white) !important;
    }
}

@media screen and (max-width: 769px) {
    #promo-popup {
        max-width: unset;
        max-height: unset;
        border-radius: 0;
        flex-direction: column;
        height: 100vh;
    }

    .promo-popup-confirm{
        max-width: unset;
        max-height: unset;
        border-radius: 0;
        height: 100vh;
        padding: 60px 32px;
    }

    .promo-popup-confirm img{
        width: 263px;
    }

    .promo-popup-bg{
        position: absolute;
        display: block;
        top: 0;
        transform: translateX(-50%);
        left: 50%;
        min-width: 100%;
        width: 768px !important;
        height: 128px !important;
    }
}

@media screen and (max-width: 577px) {
    #promo-popup .promo-left-part{
        width: 100%;
        height: 260px;
        background-image: url('https://storage.googleapis.com/dev_resources_voka_io_303011/common/promocodes-popup-mobile-bg.webp');
    }

    #open-promocode-popup{
        margin: 0;
        border-radius: 0;
        top: auto;
        left: 0;
        width: 100%;
        padding: 12px 14px 10px 14px;
        bottom: 0;
        writing-mode: unset;
        transform: unset;
        background: linear-gradient(271deg, #85BEFF -25.78%, #CCE4FF 78.9%), #0C79F2 !important;
        border-top: 1px solid var(--very-light-accent, #D3E6FF);
    }

    #open-promocode-popup span{
        color: var(--n-dark-accent) !important;
    }

    #open-promocode-popup path{
        fill: var(--n-dark-accent);
    }

    .promo-popup-confirm{
        padding: 60px 16px;
        gap: 24px;
    }

    #promo-popup .promo-right-part{
        padding: 24px 16px 60px;
    }

    #promo-popup .promo-right-info .heading{
        font-size: 24px;
    }

    #promo-popup .promo-right-info{
        gap: 8px;
        padding-bottom: 16px;
    }

    #form-agree-text{
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    #promo-popup form .email-text{
        margin-bottom: 12px !important;
    }
}