@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{
    --color-primary: #43b0f1;
}
*{
    box-sizing: border-box;
}
body{
    overflow-x: hidden;
    margin: 0;
}
body *{
    font-family: Montserrat;
    color: #282828;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 22px 24px;
    width: 100%;
    max-width: 998px;
}
header img{
    width: 100px;
}
header > div{
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    background-color: #08844333;
    padding: 4px;
    color: #088443;
    font-weight: 600;
    font-size: 10.375px;
    line-height: normal;
}
header > div svg{
    fill: #088443;
}

main{
    margin: 0 auto;
    padding: 40px 24px;
    max-width: 998px;
}
main > div:first-child{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
main > div:first-child > div{
    width: calc(50% - 20px);
}
main > div:last-child{
    display: flex;
    justify-content: end;
    margin-top: 20px;
}

h2{
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
}

.tarja{
    background: #f3f1e2;
    color: #323927;
    font-size: 14px;
    padding: 22px 24px;
    text-align: center;
    font-weight: 600;
}

#obrigado{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#obrigado main{
    flex: 1;
}
.obrigado{
    text-align: center;
}
.obrigado a.btn-1{
    background: #aa871a;
    color: #f3f1e2;
    text-decoration: none;
    padding: 15px 20px;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 30px;
    border-radius: 50px;
    font-weight: 600;
    background-size: 200%;
    transition: .3s;
}
.obrigado a.btn-1:hover{
    background-position-x: right;
}
.dados,.resumo,.pagamento,.pix,.upsell,.entrega{
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    padding: 25px;
}
.pix small{
    display: block;
    text-align: center;
    margin-bottom: 10px;
}
.cancelar{
    margin: 20px auto 0;
    display: block;
    border: 0;
    background: #f0f0f0;
    padding: 10px 15px;
    cursor: pointer;
}
.entrega{
    margin-top: 40px;
}
.dados label,
.pagamento label,
.entrega label{
    display: block;
    margin-bottom: 24px;
    font-size: 14px;
}
.dados label span,
.pagamento label span,
.entrega label span{
    color: #f00;
}
.dados label:last-child,
.entrega label:last-child{
    margin: 0;
}
.dados input,
.pagamento input,
.pagamento select,
.entrega input,
.entrega select{
    display: block;
    width: 100%;
    height: 44px;
    padding: 10px 16px;
    border-radius: 4px;
    border: 1px solid #e3e3e3;
    color: #515151;
    font-size: 14px;
    line-height: 170%;
    outline: none !important;
    margin-top: 5px;
}
.dados input.boder-danger,
.pagamento input.boder-danger,
.entrega input.boder-danger{
    border-color: #f00;
}
.dados input:focus,
.pagamento input:focus,
.entrega input:focus{
    border-color: #c3c3c3;
}
.resumo > div,
.upsell .others-upsell{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.upsell .others-upsell{
    margin-bottom: 0;
}
.resumo > div > div:not(.img),
.upsell .others-upsell > div:not(.img){
    width: 100%;
}
.resumo .img,
.upsell .img{
    min-width: 65px;
    width: 65px;
    height: 65px;
    border-radius: 7px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-right: 20px;
}
.resumo .img img,
.upsell .img img{
    width: 100%;
}
.resumo p,
.upsell p{
    margin: 0 0 5px;
    font-size: 14px;
}
.resumo div.quantity,
.upsell div.quantity{
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.resumo div.quantity button,
.upsell div.quantity button{
    background: #dcdcdc;
    border: 0;
    height: 22px;
    border-radius: 5px;
    cursor: pointer;
    padding: 3px;
}
.resumo div.quantity button:disabled,
.upsell div.quantity button:disabled{
    opacity: .4;
}
.resumo div.quantity button svg,
.upsell div.quantity button svg{
    width: 16px;
    height: 16px;
    stroke: #000;
}
.resumo div.quantity input,
.upsell div.quantity input{
    border: 0;
    background: 0;
    text-align: center;
    max-width: 30px;
}
.resumo .total,
.resumo .subtotal
.upsell .total,
.upsell .subtotal{
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.upsell{
    margin-top: 40px;
}
.upsell s{
    color: #919191;
}
.upsell button{
    background: #29B765;
    color: #fff;
    cursor: pointer;
    border: 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    padding: 7px 9px;
    margin-top: 15px;
}
.upsells{
    position: relative;
}
.upsells > div{
    display: flex;
}
.upsells > button{
    position: absolute;
    margin: 0;
    top: calc(50% - 15px);
    z-index: 3;
    background: 0;
}
.upsells > button.prev{
    left: -28px;
}
.upsells > button.next{
    right: -28px;
}
.upsells > button svg{
    stroke: #282828;
}
.others-upsell{
    min-width: 100%;
}

.cupom{
    gap: 10px;
}
.cupom input{
    display: block;
    width: 100%;
    height: 44px;
    padding: 10px 16px;
    border-radius: 4px;
    border: 1px solid #e3e3e3;
    color: #515151;
    font-size: 14px;
    line-height: 170%;
    outline: none !important;
}
.cupom button{
    border: 0;
    background: 0;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
}

.pagamento{
    margin-top: 40px;
}
.pagamento .radio{
    width: 20px;
    height: 20px;
    border: 1px solid #35ba1b;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.pagamento .radio:after{
    content: '';
    display: block;
    border-radius: 50%;
    width: 10px;
    height: 10px;
}
.pagamento .selected .radio:after{
    background: #35ba1b;
}
.pagamento > div{
    border-radius: 4px;
    border: 1px solid #e3e3e3;
}
.pagamento > div.selected{
    border: 1px solid #35ba1b;
}
.pagamento > div:nth-child(3){
    margin-top: 10px;
}
.pagamento > div > label{
    display: flex;
    justify-content: space-between;
    padding: 16px;
    cursor: pointer;
    
}
.pagamento > div > label > input{
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
}
.pagamento > div > label > div{
    width: 100%;
}
.pagamento > div > div{
    min-width: 100%;
}

.finalizar button{
    background: #29B765;
    color: #fff;
    cursor: pointer;
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 155%;
    padding: 13px;
}
.finalizar button:disabled{
    opacity: .4;
}
.finalizar button svg{
    fill: #fff;
}

main .container-pix{
    justify-content: center !important;
    margin: 0 !important;
}
.pix h2{
    text-align: center;
}
.pix h2 b{
    color: #14964f;
}
.pix .qrcode{
    border: 1px solid #e5e5e5;
    max-width: 256px;
    margin: 0 auto;
}
.pix .qrcode img{
    width: 100%;
}
.pix .or{
    display: flex;
    justify-content: center;
    margin: 10px 0;
}
.pix .copy{
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    width: 100%;
    background: #fbfbfb;
    color: #515151;
    border: 1px solid #c7c7c7;
    padding: 13px;
    max-width: 256px;
    margin: 0 auto;
    gap: 8px;
    cursor: pointer;
}
.pix .copy svg{
    fill: #515151;
}

footer{
    font-size: 12px;
    border-top: 1px solid #e3e3e3;
}
footer *{
    color: #A1A1A1;
    font-weight: 600;
}
footer svg{
    fill: #A1A1A1;
}
footer > div{
    margin: 0 auto;
    padding: 22px 24px;
    max-width: 998px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer > div > div:last-child{
    display: flex;
    gap: 24px;
}
footer > div > div:last-child div{
    display: flex;
    align-items: center;
    gap: 4px;
}
footer img{
    width: 100px;
    display: block;
}

.modal-1{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.modal-1 > div:first-child{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.1);
}
.modal-1 h4{
    text-align: center;
    margin-bottom: 20px;
    color: #f00;
    margin: 0;
}
.modal-1 p{
    text-align: center;
}
.modal-1 > div:last-child{
    position: relative;
    background: #fff;
    border-radius: 10px;
    z-index: 999;
    padding: 20px;
    width: 100%;
    max-width: 390px;
    margin: 20px;
    box-shadow: 0 0 16px -4px #d5d5d5;
}
.modal-1 > div:last-child > button{
    background: 0;
    border: 0;
    position: absolute;
    top: 5px;
    right: 5px;
}
.modal-1 > div:last-child > div{
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    overflow-x: hidden;
}

.pagamento label{
    padding: 0 20px;
}
label[id*="forma-pagamento-"]{
    margin: 0;
}

.loader {
    border: 4px solid #ffffff5e;
    border-radius: 50%;
    border-top: 4px solid #ffffff;
    width: 16px;
    height: 16px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.discount{
    background: #29B765;
    color: #fff;
    padding: 2px 5px;
    margin-left: 10px;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media(max-width: 768px){
    main > div:first-child > div{
        width: 100%;
    }
    main > div:first-child > div:first-child{
        order: 2;
        margin-top: 40px;
    }
    footer > div{
        flex-wrap: wrap;
    }
    footer > div > div{
        width: 100%;
        text-align: center;
    }
    footer > div > div:last-child{
        justify-content: center;
        margin-top: 30px;
    }
    footer img{
        margin: 0 auto;
    }
}