/* ==========================================
   Shopex Pro - Premium Mini Cart
========================================== */

.shopex-mini-cart{
    position:fixed;
    top:0;
    left:0;
    width:300px;
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:12px;
    box-shadow:0 15px 45px rgba(0,0,0,.12);
    display:none;
    z-index:999999;
    overflow:hidden;
}

.shopex-mini-cart-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 18px;
    border-bottom:1px solid #eee;
}

.shopex-mini-cart-header h4{
    margin:0;
    font-size:16px;
    font-weight:600;
}

.shopex-cart-total-count{
    background:#ff6b00;
    color:#fff;
    width:24px;
    height:24px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
}

.shopex-mini-cart-body{
    max-height:360px;
    overflow-y:auto;
}

.shopex-mini-cart-item{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:15px 18px;
    border-bottom:1px solid #f2f2f2;
}

.shopex-mini-cart-thumb{
    flex:0 0 60px;
}

.shopex-mini-cart-thumb img{
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:8px;
    display:block;
}

.shopex-mini-cart-content{
    flex:1;
}

.shopex-mini-cart-title{
    margin:0 0 6px;
    font-size:14px;
    line-height:1.4;
}

.shopex-mini-cart-title a{
    color:#222;
    text-decoration:none;
}

.shopex-mini-cart-title a:hover{
    color:#ff6b00;
}

.shopex-mini-cart-price{
    font-size:14px;
    font-weight:600;
    color:#ff6b00;
}

.shopex-mini-cart-qty{
    margin-top:4px;
    font-size:13px;
    color:#777;
}

.shopex-mini-cart-remove a{
    color:#999;
    font-size:20px;
    text-decoration:none;
}

.shopex-mini-cart-remove a:hover{
    color:#ff3b30;
}

.shopex-mini-cart-footer{
    padding:18px;
    border-top:1px solid #eee;
}

.shopex-cart-subtotal{
    display:flex;
    justify-content:space-between;
    margin-bottom:15px;
    font-size:15px;
}

.shopex-cart-buttons{
    display:flex;
    gap:10px;
}

.shopex-cart-buttons a{

    flex:1;

    white-space:nowrap;

    padding:10px 8px;

    font-size:13px;

}

.shopex-cart-buttons a{
    flex:1;
    text-align:center;
    padding:10px 14px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:.25s;
}

.shopex-cart-buttons a:first-child{
    background:#f3f3f3;
    color:#222;
}

.shopex-cart-buttons a:last-child{
    background:#ff6b00;
    color:#fff;
}

.shopex-cart-buttons a:hover{
    opacity:.9;
}