.pagination{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.pagination button{
    min-width:42px;
    height:42px;
    border:none;
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.pagination button:hover{
    background:#ff5a00;
    color:white;
    border-color:#ff5a00;
}

.pagination button.activo{
    background:#ff5a00;
    color:white;
    border-color:#ff5a00;
}

.pagination .dots{
    padding:0 5px;
    color:#777;
    font-weight:bold;
}

.card{
    background:#fff;
    border-radius:14px;
    padding:18px;
    box-shadow:0 4px 18px rgba(0,0,0,.08);
    transition:.3s;
    border:1px solid #eee;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 28px rgba(0,0,0,.15);
}

.card img{
    width:100%;
    height:180px;
    object-fit:contain;
    margin-bottom:15px;
}

.card-title{
    font-size:15px;
    font-weight:600;
    min-height:45px;
    margin-bottom:8px;
    color:#333;
}

.card small{
    font-size:13px;
    color:#777;
}

.price{
    font-size:32px;
    font-weight:800;
    color:#000000;
    margin:18px 0;
    line-height:1;
}

.btn{
    width:100%;
    background:#0d1321;
    color:#fff;
    border:none;
    padding:18px;
    font-size:17px;
    font-weight:bold;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.btn:hover{
    background:#1d2d44;
    transform:scale(1.03);
    box-shadow:0 6px 18px rgba(255,90,0,.35);
}

.btn:active{
    transform:scale(.98);
}

/*EL MENU LATERAL DEL CARRO*/
.mini-cart-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.4);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9998;
}

.mini-cart-overlay.active{
    opacity:1;
    visibility:visible;
}

.mini-cart{
    position:fixed;
    top:0;
    right:-420px;
    width:400px;
    height:100%;
    background:#fff;
    box-shadow:-5px 0 25px rgba(0,0,0,.15);
    transition:.35s ease;
    z-index:9999;
    display:flex;
    flex-direction:column;
}

.mini-cart.active{
    right:0;
}

.mini-cart-header{
    padding:20px;
    display:flex;
    justify-content:space-between;
    border-bottom:1px solid #eee;
}

.mini-cart-header span{
    cursor:pointer;
    font-size:24px;
}

.mini-cart-items{
    flex:1;
    overflow-y:auto;
    padding:20px;
}

.mini-cart-product{
    display:flex;
    gap:15px;
    margin-bottom:20px;
    border-bottom:1px solid #eee;
    padding-bottom:15px;
}

.mini-cart-product img{
    width:70px;
    height:70px;
    object-fit:contain;
}

.product-info{
    flex:1;
}

.product-info h4{
    margin:0;
    font-size:14px;
}

.product-info small{
    display:block;
    margin:8px 0;
}

.product-info strong{
    color:#ff5a00;
}

.mini-cart-footer{
    padding:20px;
    border-top:1px solid #eee;
}

.mini-cart-footer button{
    width:100%;
    padding:14px;
    margin-bottom:10px;
    border:none;
    border-radius:8px;
    font-weight:bold;
    cursor:pointer;
}

.mini-cart-footer button:first-of-type{
    background:#eee;
}

.btn-finalizar{
    background:#ff5a00;
    color:#fff;
}

.mini-cart-footer p{
    text-align:center;
    cursor:pointer;
    color:#666;
}

@media(max-width:500px){
    .mini-cart{
        width:100%;
    }
}
