

.carrito-page{
    padding:60px 7%;
}

.carrito-header{
    margin-bottom:40px;
}

.cart-tag{
    display:inline-flex;

    background:#fff3da;

    color:#222;

    padding:10px 18px;

    border-radius:999px;

    font-size:14px;
    font-weight:600;

    margin-bottom:18px;
}

.carrito-header h1{
    font-size:48px;
}

.carrito-wrapper{
    display:grid;
    grid-template-columns:1.4fr .6fr;
    gap:35px;
    align-items:start;
}

.carrito-productos{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.item-carrito{
    background:#fff;

    border-radius:28px;

    padding:22px;

    display:grid;
    grid-template-columns:120px 1fr auto auto auto;
    gap:20px;

    align-items:center;

    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.item-img img{
    width:120px;
    height:120px;

    border-radius:20px;

    object-fit:cover;
}

.item-info h3{
    font-size:22px;
    margin-bottom:10px;
}

.item-info span{
    display:block;
    color:#666;
    margin-bottom:5px;
}

.item-precio{
    margin-top:12px;

    color:var(--colorsecun);

    font-size:22px;
    font-weight:700;
}

.item-cantidad{
    display:flex;
    align-items:center;
    gap:10px;
}


.qtyCart{
    width:42px;
    height:42px;

    border:none;
    border-radius:12px;

    background:#f5f5f5;

    cursor:pointer;

    font-size:18px;
    font-weight:700;
}

.item-cantidad input{
    width:60px;
    height:42px;
    border:1px #ddd solid;
    border-radius:12px;
    text-align:center !important;
    font-size:16px;
    font-weight:600;
}

.item-subtotal{
    font-size:24px;
    font-weight:700;
}

.delete-item{
    width:45px;
    height:45px;

    border:none;
    border-radius:12px;

    background:#fff0f0;

    color:#d90000;

    cursor:pointer;

    font-size:18px;
}

.carrito-resumen{
    background:#fff;

    border-radius:28px;

    padding:30px;

    position:sticky;
    top:140px;

    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.carrito-resumen h3{
    font-size:30px;
    margin-bottom:25px;
}

.resumen-linea,
.resumen-total{
    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-bottom:18px;
}

.resumen-total{
    margin-top:30px;
    padding-top:25px;

    border-top:1px #eee solid;

    font-size:24px;
}

.btn-checkout{
    width:100%;

    height:58px;

    border-radius:18px;

    background:var(--colormain);

    color:#222;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:700;

    margin-top:25px;

    transition:.3s ease;
}

.btn-checkout:hover{
    transform:translateY(-3px);
}

.carrito-vacio{
    background:#fff;

    border-radius:32px;

    padding:70px 30px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.carrito-vacio i{
    font-size:70px;
    color:var(--colormain);

    margin-bottom:25px;
}

.carrito-vacio h2{
    font-size:38px;
    margin-bottom:15px;
}

.carrito-vacio p{
    color:#666;
    margin-bottom:30px;
}

.btn-seguir{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:16px 28px;

    border-radius:999px;

    background:var(--colormain);

    color:#222;

    font-weight:700;
}





.checkout-form{

    margin-top: 25px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    padding-top: 20px;
    border-top: 1px solid #e9e9e9;

}

.checkout-form h3{

    font-size: 20px;
    font-weight: 700;
    color: #222;

    margin-bottom: 5px;

}

.checkout-form input,
.checkout-form textarea{

    width: 100%;

    border: 1px solid #dcdcdc;

    border-radius: 14px;

    padding: 14px 16px;

    font-size: 15px;

    outline: none;

    transition: 0.2s ease;

    background: #fff;

    box-sizing: border-box;

}

.checkout-form textarea{

    resize: vertical;
    min-height: 90px;

}

.checkout-form input:focus,
.checkout-form textarea:focus{

    border-color: #7ab55c;

    box-shadow: 0 0 0 4px rgba(122,181,92,.15);

}

.btn-checkout{

    width: 100%;

    border: none;

    background: #7ab55c;

    color: white;

    padding: 16px;

    border-radius: 14px;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;

    margin-top: 5px;

}

.btn-checkout:hover{

    transform: translateY(-2px);

    background: #689d4d;

}

.btn-checkout:disabled{

    opacity: .7;
    cursor: not-allowed;

}

#wallet_container{

    margin-top: 18px;

}

.carrito-resumen{

    background: #fff;

    border-radius: 20px;

    padding: 24px;

    box-shadow: 0 8px 30px rgba(0,0,0,.06);

    position: sticky;

    top: 120px;

}




.checkout-page{
    padding:60px 7%;
}

.checkout-wrapper{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:35px;
    align-items:start;
}

.checkout-main{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.checkout-box{
    background:#fff;
    border-radius:28px;
    padding:35px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.checkout-box h2{
    font-size:34px;
    margin-bottom:25px;
}

.checkout-steps{
    display:flex;
    align-items:center;
    gap:15px;
}

.step{
    background:#f2f2f2;
    color:#777;
    padding:12px 22px;
    border-radius:999px;
    font-weight:700;
}

.step.active{
    background:#7ab55c;
    color:#fff;
}

.step-line{
    flex:1;
    height:2px;
    background:#e5e5e5;
}

.checkout-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.checkout-form input,
.checkout-form textarea{
    width:100%;
    border:1px solid #ddd;
    border-radius:16px;
    padding:16px;
    font-size:15px;
    box-sizing:border-box;
    outline:none;
    transition:.2s ease;
}

.checkout-form textarea{
    min-height:110px;
    resize:vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus{
    border-color:#7ab55c;
    box-shadow:0 0 0 4px rgba(122,181,92,.15);
}

.checkout-secure{
    color:#666;
    margin-bottom:25px;
    line-height:1.6;
}

.checkout-resumen{
    background:#fff;
    border-radius:28px;
    padding:30px;
    position:sticky;
    top:120px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.checkout-resumen h3{
    font-size:30px;
    margin-bottom:25px;
}

.checkout-productos{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-bottom:25px;
}

.checkout-item{
    display:grid;
    grid-template-columns:70px 1fr auto;
    gap:15px;
    align-items:center;
}

.checkout-item img{
    width:70px;
    height:70px;
    border-radius:16px;
    object-fit:cover;
}

.checkout-item-info{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.checkout-item-info span{
    color:#777;
    font-size:14px;
}

.checkout-item-total{
    font-weight:700;
}

@media(max-width:992px){

    .checkout-wrapper{
        grid-template-columns:1fr;
    }

    .checkout-resumen{
        position:relative;
        top:0;
    }

}

@media(max-width:600px){

    .checkout-page{
        padding:30px 5%;
    }

    .checkout-box{
        padding:24px;
    }

    .checkout-box h2{
        font-size:28px;
    }

    .checkout-steps{
        flex-direction:column;
        align-items:stretch;
    }

    .step-line{
        display:none;
    }

}




@media(max-width:768px){

    .carrito-resumen{

        position: relative;
        top: 0;

    }

}





@media(max-width:992px){

    .carrito-wrapper{
        grid-template-columns:1fr;
    }

    .item-carrito{
        grid-template-columns:1fr;
    }

    .item-img img{
        width:100%;
        height:260px;
    }

}

@media(max-width:600px){

    .carrito-page{
        padding:30px 5%;
    }

    .carrito-header h1{
        font-size:34px;
    }

}