/*BASE*/

.cart-widget-side.wd-side-hidden{
    width: 450px;
    max-width: 100%;
    z-index: 9999;
}

.theme-woodmart .cart-widget-side .woocommerce-mini-cart .mini_cart_item:hover{
    background-color: transparent;
}

.theme-woodmart .woocommerce-mini-cart__buttons .btn-cart{
    background-color: var(--bg-secondary);
    color: #333;
}

.theme-woodmart .woocommerce-mini-cart__buttons .btn-cart:hover{
    color: #333;
    background-color: var(--bg-secondary);
}

.cart-widget-side a.cart-item-image:before{
    content: '';
    background: var(--bg-product-card);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    border-radius: 3px;
}

.cart-widget-side .product_list_widget>li img{
    min-width: 120px;
    max-width: 120px;
    background-color: #fff;
    aspect-ratio: 1;
    object-fit: contain;
}

.cart-widget-side .product_list_widget>li>a{
    margin-right: 15px;
    margin-bottom: 0;
}

.cart-widget-side .amount{
    font-family: var(--wd-widget-title-font);
}

.cart-widget-side .wd-action-btn.wd-style-text>a:before{
    font-size: 20px;
}

.cart-widget-side .wd-heading .wd-action-btn.wd-style-text>a{
    font-size: 0;
}

.cart-widget-side .wd-heading{
    padding: 25px 20px;
}

.theme-woodmart .cart-widget-side .shopping-cart-widget-footer>*{
    padding-left: 20px;
    padding-right: 20px;
}

.theme-woodmart .cart-widget-side .shopping-cart-widget-footer{
    padding-bottom: 20px;
}

.cart-widget-side .wd-heading .title{
    position: relative;
}

.cart-widget-side .product_list_widget>li .wd-entities-title{
    max-width: 90%;
}

.cart-widget-side .woocommerce-mini-cart .remove:after{
    content: '\f2ed';
    font-family: 'Font Awesome 6 Pro';
    font-size: 16px;
    color: #333333;
    font-weight: 300;
}

.theme-woodmart .cart-widget-side .woocommerce-mini-cart .remove{
    width: initial;
    height: initial;
    line-height: initial;
    top: 18px;
}

.theme-woodmart .cart-widget-side .wd-empty-mini-cart{
    margin: 0;
    padding: 0;
    height: calc(100% - 6rem);
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.theme-woodmart .wd-empty-mini-cart .btn{
    min-width: 200px;
    padding: 0 30px;
    min-height: 50px;
    margin: 0 auto;
}

.cart-widget-side div.quantity input[type="button"]:hover{
    background-color: var(--bg-secondary);
    color: #333;
}

.cart-widget-side div.quantity :is(input[type="number"]){
    border-right: 1px solid #ebebeb;
    border-left: 1px solid #ebebeb;
}
