/*BASE*/

body .wd-close-side {
    background-color: rgb(23 23 23 / 40%);
}

.cart-widget-side.wd-side-hidden.wd-opened {
    transform: none;
}

:root .theme-woodmart .cart-widget-side {
    --btn-height: 55px;
    --wd-form-height: 55px;
    inset: 20px;
    left: auto;
    border-radius: calc(var(--wd-brd-radius)* 2);
}

.cart-widget-side.wd-side-hidden {
    width: 550px;
    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: var(--wd-text-color);
    font-family: 'TT Fors Medium';
    font-size: 13px;
}

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

.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;
}

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

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

body .cart-info span.quantity {
    color: #767E95;
}

.cart-widget-side .amount {
    font-weight: normal;
    font-family: 'TT Fors Medium';
}

.cart-widget-side del .amount,
.cart-widget-side del {
    color: #767E95;
}

.cart-widget-side ins .amount {
    font-family: 'TT Fors Semibold';
}

.cart-widget-side .wd-action-btn.wd-style-text>a:before {
    font-size: 0;
    margin-inline-end: 5px;
    background-image: url(/wp-content/uploads/2024/02/exit-icon-2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 18px;
    width: 18px;
}

.cart-widget-side .wd-action-btn.wd-style-text>a:hover:before {
    opacity: .75;
}

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

.cart-widget-side .wd-heading {
    padding: 25px 30px;
    border-bottom: 1px solid #e8e8eb;
}

.cart-widget-side .woocommerce-mini-cart .mini_cart_item {
    border-color: #e8e8eb;
}

.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: 25px;
}

.cart-widget-side .wd-heading .title {
    position: relative;
    font-size: 24px;
}

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

.cart-widget-side .woocommerce-mini-cart .remove:after {
    content: '';
    font-family: initial;
    font-size: 0;
    font-weight: initial;
    background-image: url('/wp-content/uploads/2024/03/trash-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
    height: 15px;
    width: 15px;
}

.theme-woodmart .cart-widget-side .woocommerce-mini-cart .remove {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    box-shadow: none;
    border-radius: var(--wd-brd-radius);
}

.theme-woodmart .cart-widget-side .woocommerce-mini-cart .remove:hover {
    box-shadow: inset 0 0 200px rgb(21 37 82 / 3%);
}

.cart-widget-side div.quantity input[type="button"]:hover {
    background-color: var(--bg-secondary);
    color: var(--wd-text-color);
    box-shadow: inset 0 0 200px rgb(21 37 82 / 3%);
}

.woocommerce-mini-cart__total strong{
    font-weight: normal;
    font-family: 'TT Fors Medium';
}

.woocommerce-mini-cart__discounts.total {
    display: flex;
    font-size: 125%;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #f2f2f2;
    border-top: 1px solid #f2f2f2;
}

.subtotal-text {
    display: flex;
    align-items: center;
}

.cart-widget-side .subtotal-text .amount {
    color: #fff;
    font-family: 'TT Fors Medium';
}

span.subtotal-text:before {
    content: '';
    height: 4px;
    width: 4px;
    border-radius: 4px;
    margin: 0 8px;
    display: block;
    background-color: #fff;
    position: relative;
}

a.button.checkout.wc-forward:before {
    content: '';
    position: absolute;
    left: 20px;
    background-image: url('/wp-content/uploads/2024/03/lock-keyhole-regular-3-1.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 16px;
    width: 16px;
}

.cart-widget-side .shopping-cart-widget-footer>* {
    margin-bottom: 20px;
}

.cart-widget-side .woocommerce-mini-cart__buttons .checkout {
    line-height: 1;
    font-size: 13px;
    font-family: 'TT Fors Medium';
    background-color: var(--wd-primary-color);
}

.cart-widget-side .woocommerce-mini-cart__buttons .checkout:hover {
    background-color: var(--wd-primary-color);
    box-shadow: inset 0 0 200px rgb(10 37 111 / 25%);
}

.cart-widget-side .cart-info span.quantity ins {
    margin-left: 5px;
}

.progress-msg {
    font-size: 14px;
    font-family: 'TT Fors Medium';
    display: inline-block;
    line-height: 1;
}

.cart-info .quantity input.minus {
    font-size: 17px;
}

.cart-info .quantity input.minus {
    font-size: 17px !important;
}

body .cart-info div.quantity :is(input[type="button"], input[type="number"], input[type="text"]) {
    border: 0;
    border-radius: 0;
    font-family: 'TT Fors Medium';
    font-size: 15px;
}

body .wd-progress-bar .progress-area {
	background-color: var(--bg-secondary);
}

body ul.variation .item-variation-name{
    font-weight: normal;
    font-family: 'TT Fors Medium';
    color: var(--wd-text-color);
}

body ul.variation .item-variation-value{
    font-family: 'TT Fors Semibold';
}

body li:hover .cart-info .wd-entities-title{
    color: var(--wd-text-color);
}

body li.woocommerce-mini-cart-item:hover{
    background-color: var(--bg-secondary);
}

.cart-widget-side .cart-info .amount{
    font-family: 'TT Fors Semibold';
}


.wd-empty-mini-cart {
    display: none;
}

body .widget_shopping_cart_content .btn.btn-color-default {
    background-color: var(--bg-secondary);
    color: var(--wd-text-color);
    font-size: 14px;
    letter-spacing: 0.02em;
    font-family: 'TT Fors Medium';
    gap: 6px;
    line-height: 1;
    min-height: 55px;
    min-width: 250px;
    padding: 0 20px 0 25px;
    justify-content: flex-end;
    text-transform: none;
}

body .widget_shopping_cart_content .btn.btn-color-default::after {
    content: '';
    background-image: url(/wp-content/uploads/2024/03/chevron-right-icon.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    height: 15px;
    width: 15px;
    order: -1;
    margin-left: auto;
    transition: transform .125s linear;
    will-change: transform;
}

body .widget_shopping_cart_content .btn.btn-color-default:hover:after {
    transform: translateX(2px);
}

.magitech__minicart-empty {
    position: absolute;
    transform: translateY(calc(50% - 100px));
    width: 100%;
    padding: 0 25px;
    z-index: 1;
}

.magitech__minicart-empty .wd-button-wrapper {
    margin-bottom: 8px;
}

.magitech__minicart-empty strong {
    font-weight: normal;
}

.magitech__minicart-empty--empty-text {
    font-family: 'TT Fors Semibold';
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
}

.magitech__minicart-empty--extra-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    font-family: 'TT Fors Medium';
    opacity: .5;
}

.cart-widget-side.wd-side-hidden.wd-right:not(.wd-opened){
    transform: translate3d(calc(100% + 20px), 0, 0);
}

.wholesale_customer .cart-info span.quantity{
    display: flex;
    gap: 6px;
}

.wholesale_customer .cart-info .wholesale_price_title{
    display: none;
}

.woocommerce-mini-cart-item a[href=""] {
    position: relative;
    width: 80px;
    height: 80px;
    background-image: url(/wp-content/uploads/2024/07/Group-100.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    background-color: #f7f7f8;
    background-blend-mode: luminosity;
    margin-left: 40px;
}

.woocommerce-mini-cart-item a[href=""] + .cart-info div.quantity{
    display: none;
}

@media screen and (max-width: 768px) {

    .theme-woodmart .cart-widget-side .woocommerce-mini-cart .remove {
        width: 30px;
        height: 30px;
    }

}

@media screen and (max-width: 570px){

    :root .theme-woodmart .cart-widget-side{
        inset: 0;
        border-radius: 0;
    }

}