
/* =========================================================
   YANA RECUPERACIÓN DE CARRITO v1.0
   ========================================================= */

.yrc-modal,
.yrc-modal *{
    box-sizing:border-box;
}

.yrc-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:grid;
    place-items:center;
    padding:20px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    font-family:"Nunito Sans",Arial,sans-serif;
    transition:opacity .18s ease,visibility .18s ease;
}

.yrc-modal.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.yrc-modal__backdrop{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:rgba(10,27,17,.62)!important;
    backdrop-filter:blur(5px);
}

.yrc-modal__dialog{
    position:relative;
    z-index:2;
    width:min(100%,490px);
    padding:30px;
    border:1px solid #dce7dc;
    border-radius:22px;
    background:#fff;
    box-shadow:0 28px 75px rgba(7,36,20,.28);
    color:#213e2c;
}

.yrc-modal__close{
    position:absolute;
    top:12px;
    right:13px;
    width:35px;
    height:35px;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:#f2f5f2!important;
    color:#506158!important;
    font-size:23px!important;
    line-height:1!important;
    cursor:pointer;
}

.yrc-modal__gift{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    margin-bottom:16px;
    border-radius:15px;
    background:#edf8e9;
    color:#23843a;
}

.yrc-modal__gift svg{
    width:28px;
    height:28px;
}

.yrc-modal__eyebrow{
    margin-bottom:6px;
    color:#6da62c;
    font-size:10px;
    font-weight:900;
    letter-spacing:.11em;
}

.yrc-modal h2{
    margin:0!important;
    color:#174d32!important;
    font-size:31px!important;
    line-height:1.06!important;
    letter-spacing:-.8px!important;
    font-weight:900!important;
}

.yrc-modal__text{
    margin:12px 0 20px!important;
    color:#65746b;
    font-size:14px;
    line-height:1.55;
}

.yrc-modal__form>label:first-child{
    display:block;
    margin-bottom:6px;
    color:#304d39;
    font-size:11px;
    font-weight:900;
}

.yrc-modal__phone{
    display:grid;
    grid-template-columns:auto 1fr;
    align-items:center;
    overflow:hidden;
    border:1px solid #cfd9d0;
    border-radius:11px;
    background:#fff;
}

.yrc-modal__phone:focus-within{
    border-color:#3c9a4e;
    box-shadow:0 0 0 3px rgba(60,154,78,.08);
}

.yrc-modal__phone>span{
    padding:0 12px;
    border-right:1px solid #e0e6e0;
    color:#496152;
    font-size:12px;
    font-weight:800;
}

.yrc-modal__phone input{
    width:100%!important;
    min-height:50px!important;
    padding:0 13px!important;
    border:0!important;
    outline:0!important;
    background:#fff!important;
    box-shadow:none!important;
    color:#273f30!important;
    font-size:14px!important;
}

.yrc-modal__error{
    margin-top:8px;
    padding:9px 10px;
    border-radius:8px;
    background:#fff0ee;
    color:#a2382f;
    font-size:11px;
    font-weight:700;
}

.yrc-modal__consent{
    display:flex!important;
    gap:8px;
    align-items:flex-start;
    margin:12px 0 0!important;
    color:#738078!important;
    font-size:9px!important;
    line-height:1.45!important;
    font-weight:500!important;
}

.yrc-modal__consent input{
    width:auto!important;
    margin-top:2px!important;
}

.yrc-modal__consent a{
    color:#267b3b!important;
}

.yrc-modal__primary{
    width:100%;
    min-height:51px;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px;
    margin-top:18px!important;
    padding:0 18px!important;
    border:0!important;
    border-radius:10px!important;
    background:#159a1c!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:900!important;
    cursor:pointer;
}

.yrc-modal__primary:hover{
    background:#117d18!important;
}

.yrc-modal__primary:disabled{
    opacity:.6;
    cursor:wait;
}

.yrc-modal__primary svg{
    width:17px;
    height:17px;
}

.yrc-modal__skip{
    width:100%;
    padding:11px 8px 2px!important;
    border:0!important;
    background:transparent!important;
    color:#647269!important;
    font-size:10px!important;
    font-weight:800!important;
    cursor:pointer;
}

.yrc-modal__secure{
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:18px;
    padding-top:15px;
    border-top:1px solid #e8ede8;
    color:#7d8880;
    font-size:9px;
}

.yrc-modal__secure svg{
    width:16px;
    height:16px;
    flex:0 0 auto;
    color:#388b48;
}

body.yrc-modal-open{
    overflow:hidden!important;
}

@media(max-width:600px){
    .yrc-modal{
        align-items:end;
        padding:10px;
    }

    .yrc-modal__dialog{
        width:100%;
        padding:24px 20px 22px;
        border-radius:20px 20px 14px 14px;
    }

    .yrc-modal h2{
        font-size:27px!important;
    }
}
