#mini-cart-icon,
#mini-cart-icon-mobile{
    cursor: pointer;
}
span.mini-cart-count{
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    background-color: #5988C5;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    position: absolute;
    right: 0;
    z-index: 99;
}
.mini-cart-sidebar-header{
    display: block;
    width: 100%;
    border-bottom: 1px #212227 solid;
    box-sizing: border-box;
}

img.mini-cart-close-btn{
    display: inline;
    float: right;
    width: 30px;
    max-width: 30px;
    height: 30px;
    max-height: 30px;
    cursor: pointer;
}

h2.mini-cart-heading{
    display: inline;
    float: left;
    font-size: 16px;
    line-height: 30px;
    text-transform: uppercase;
    margin: 2px 0px 2px 0px;
}

.mini-cart-overlay {
    background-color: transparent;
    transform: scale(0);
    transition: background-color 0.4s, transform 0s 0.4s;
}

.mini-cart-overlay.open {
    transform: scale(1);
    overflow: hidden;
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    transition: background-color 0.4s, transform 0s;
    text-align: left;
}

.mini-cart{
    position: fixed;
    z-index: 9999;
    left: auto;
    right: 0;
    top: 0px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    font-size: 14px;
    height: 100%;
    width: 350px;
    max-width: 100%;
    transition: .3s;
    background-color: #FAFAFA;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
    border-style: none;
    border-color: initial;
    border-radius: 0;
    margin-top: 0; 
    padding: 20px 30px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
}

.mini-cart.open{
    opacity: 1;
    transform: translateX(0);
}

#mini-cart-sidebar{
    display: block;
    width: 100%;
    height: calc(100vh - 200px);
    overflow-y: scroll;
}
#mini-cart-sidebar ul{
    list-style: none !important;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
}
#mini-cart-sidebar ul li{
    display: flex;
    align-items: center; /* Align items vertically centered */
    padding: 15px 0px;  /* Space between list items */
    border-bottom: 1px #A6B0A5 solid;

}

#mini-cart-sidebar ul li img {
    height: 100px; /* Fixed height for the image */
    width: auto; /* Maintain aspect ratio */
    margin-right: 10px; /* Space between the image and text */
    object-fit: cover; /* Ensures the image covers the given height */
}
#mini-cart-sidebar ul li a {
    text-decoration: none;
    margin: 0;
    padding: 0;
    color: #000;
}

.text-content {
    display: flex;
    flex-direction: column; /* Stack p and span vertically */
    width: 100%;
    padding: 5px 10px;
}

.text-content p {
    margin: 0;
    padding: 0;
}

p.mini-cart-item-buttons{
    display: table;
    width: 100%;
    font-size: 0; /* Makes the children inline without any gaps */
    text-align: right;
    margin-top: 10px;
}

p.mini-cart-item-buttons span.mini-cart-remove-item{
    background-color: #c94626;;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    display: inline-block;
    width: 82px;
    height: 26px;
    line-height: 26px;
    box-sizing: border-box;
    text-align: center;
}

.mini-cart-qty-plus{
    display: inline-block;
    width: 26px !important;
    padding: 0px !important;
    text-align: center;
    margin: 0;
    height:26px;
    background: #dbdbdb;
    line-height: 26px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}
.mini-cart-qty-minus{
    display: inline-block;
    width: 26px !important;
    padding: 0px !important;
    text-align: center;
    margin: 0;
    height: 26px;
    background: #dbdbdb;
    line-height: 26px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}
input.mini-cart-qty{
    display: inline-block;
    width: 30px !important;
    padding: 0px !important;
    text-align: center;
    margin: 0;
    height: 26px;
    background: #e6e6e6;
    border-radius: 0 !important;
    border: none !important;
    line-height: 26px;
    font-weight: 500;
    font-size: 14px;
    pointer-events: none;
}
input.mini-cart-qty.max{
    background: #dd4d4d;
    color:#fff;
}
input:active,
input:focus{
    outline: none !important;
}

#mini-cart-totals{
    display: table;
    width: 100%;
    padding: 10px 0px 20px 0px;
    border-top: #c94626 2px solid;
}
.mini-cart-shipping-label{
    display: block;
    width: 100%;
}
.mini-cart-shipping-label b.shipping-name{
    font-weight: 400;
    font-size: 11px;
}
.mini-cart-shipping-label b.shipping-price{
    font-size: 16px;
    font-weight: 600;
    float: right;
}

.mini-cart-totals-label{
    display: block;
    width: 30%;
    float: left;
    text-align: left;
    font-size: 16px;
}
.mini-cart-totals-price{
    display: block;
    width: 70%;
    float:left;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    text-align: right;
}
.mini-cart-totals-price b{
    font-weight: 400;
    font-size: 11px;
    margin: 0;
    padding: 0;
}
.mini-cart-sidebar-buttons{
    display: table;
    width: 100%;
}

.mini-cart-open-cart{
    display: inline-block;
    width: 48%;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    text-align: center;
    background-color: #000;
    color: #fff;
    transition: all 0.5s ease;
}
.mini-cart-open-cart:hover{
    background-color: #c94626;
    color: #fff;
}

.mini-cart-checkout{
    display: inline-block;
    float: right;
    width: 48%;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    text-align: center;
    background-color: #000;
    color: #fff;
    transition: all 0.5s ease;
}
.mini-cart-checkout:hover{
    background-color: #c94626;
    color: #fff;
}