.cart-widget-side.wd-side-hidden {
    width: 33rem;
    overflow: visible;
}

.cart-widget-side .wd-heading .title {
    font-size: 1.2rem;
    font-family: var(--wd-widget-title-font);
    font-weight: normal;
}

.cart-widget-side .close-side-widget a {
    font-size: 0;
}

.cart-widget-side .wd-action-btn.wd-style-text>a:before {
    font-size: 1.2rem;
    font-weight: 600;
    margin-inline-end: 0.45rem;
}

.cart-widget-side .wd-heading {
    padding: 0 1.1rem;
    border-bottom: 1px solid #f2f2f2;
    gap: initial;
    min-height: 1.1rem;
    height: 5rem;
}

.theme-woodmart .cart-info div.quantity :is(input[type="button"],input[type="number"],input[type="text"]){
    font-size: 0.8rem;
    height: 2rem;
    min-width: 1.4rem;
    border: 1px solid #e4e4e4;
}

.theme-woodmart .cart-info div.quantity input[type="number"]{
    width: 2rem;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    border-left: 0;
    border-right: 0;
}

a.cart-item-image:before,
a.product-link:before {
    content: "";
    background: rgb(242 240 246);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    border-radius: 0.5rem;
}

a[href="https://tarwifoods.com/p/blend-proteico-de-tarwi-con-cacao/"].cart-item-image:before,
a[href="https://tarwi.kinsta.cloud/p/blend-proteico-de-tarwi-con-cacao/"].product-link:before {
    background: rgb(83 57 50);
}

a[href="https://tarwifoods.com/p/blend-proteico-de-tarwi-con-camu-camu/"].cart-item-image:before,
a[href="https://tarwifoods.com/p/blend-proteico-de-tarwi-con-camu-camu/"].product-link:before {
    background: rgb(153 42 45);
}

a[href="https://tarwifoods.com/p/blend-proteico-de-tarwi-con-lucuma/"].cart-item-image:before,
a[href="https://tarwifoods.com/p/blend-proteico-de-tarwi-con-lucuma/"].product-link:before {
    background: rgb(252 79 84);
}

a[href="https://tarwifoods.com/p/super-desayuno-mix-de-tarwi-super-foods/"].cart-item-image:before,
a[href="https://tarwifoods.com/p/super-desayuno-mix-de-tarwi-super-foods/"].product-link:before {
    background: rgb(255 188 0);
}

a[href="https://tarwifoods.com/p/polvo-instantaneo-de-tarwi/"].cart-item-image:before,
a[href="https://tarwifoods.com/p/polvo-instantaneo-de-tarwi/"].product-link:before {
    background: rgb(91 39 204);
}

.cart-widget-side .product_list_widget>li img {
    min-width: 6rem;
    max-width: 6rem;
    border-radius: calc(var(--wd-brd-radius) / 1.5);
    z-index: 2;
    position: relative;
    padding: 0.3rem;
}

.cart-widget-side .cart-info span.quantity {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.cart-widget-side .cart-info span.quantity del {
    color: #83B1C9;
    font-size: 78%;
    order: 1;
    width: 65%;
}

.cart-widget-side .cart-info span.quantity del .amount {
    color: #83B1C9;
    font-family: var(--wd-widget-title-font);
    font-weight: normal;
}

.cart-widget-side .cart-info span.quantity ins {
    color: #0D0D0D;
    width: max-content;
    order: 0;
}

.cart-widget-side .cart-info span.quantity ins .amount {
    color: #0D0D0D;
    font-family: var(--wd-widget-title-font);
    font-weight: normal;
}

.cart-item-discount {
    bottom: -2.5rem;
    display: flex;
    align-items: center;
    height: auto;
    width: max-content;
    padding: 0.5rem 0.75rem;
    border-radius: 100rem;
    background-color: #EAE6F2;
    color: var(--wd-primary-color);
    font-size: 0.8rem;
    font-weight: normal;
    font-family: var(--wd-widget-title-font);
    line-height: 1;
    order: 2;
    gap: 0.4rem;
}

.cart-item-discount:before,
.product-discount:before {
    content: '';
    background-image: url('/wp-content/uploads/2023/03/Subtract.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 0.8rem;
    height: 0.8rem;
}

.theme-woodmart .cart-widget-side .woocommerce-mini-cart .mini_cart_item {
    padding: 1.1rem;
    border-bottom: 1px solid #f2f2f2;
}

.cart-widget-side .woocommerce-mini-cart .remove:after {
    content: '';
    background-image: url('/wp-content/uploads/2023/03/icon-garbage_v1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.1rem;
    height: 1.1rem;
    display: block;
}

.theme-woodmart .woocommerce-mini-cart-item a.cart-item-image{
    margin-right: 1.1rem;
    margin-bottom: 0.3rem;
}

.theme-woodmart .cart-widget-side .woocommerce-mini-cart .remove {
    inset-inline-end: 3.75%;
    width: auto;
    height: auto;
    line-height: initial;
    top: 1.16rem;
}

.cart-widget-side .product_list_widget>li .wd-entities-title {
    width: 90%;
    max-width: 100%;
    font-size: 1rem;
}

.theme-woodmart .wd-close-side {
    background-color: rgb(91 39 204 / 30%);
    backdrop-filter: blur(4px);
}

.theme-woodmart .woocommerce-mini-cart__discounts.total,
.theme-woodmart .woocommerce-mini-cart__total {
    display: flex;
    font-size: 105%;
    font-family: var(--wd-widget-title-font);
}

.theme-woodmart .woocommerce-mini-cart__discounts.total strong,
.theme-woodmart .woocommerce-mini-cart__total.total strong {
    font-weight: normal;
    display: flex;
    align-items: center;
}

.theme-woodmart .woocommerce-mini-cart__discounts.total span.amount,
.theme-woodmart .woocommerce-mini-cart__total.total span.amount {
    font-family: var(--wd-title-font);
}

.woocommerce-mini-cart__discounts.total span {
    flex-grow: 1;
    text-align: right;
}

.theme-woodmart .cart-widget-side .shopping-cart-widget-footer {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #f2f2f2;
    padding-bottom: 1.5rem;
    font-size: 1rem;
}

.shopping-cart-widget-footer .wd-progress-bar.wd-free-progress-bar {
    order: -1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #ffbc00;
    margin: 1.1rem;
    border-radius: 1rem;
    border: 0;
    font-size: 100%;
    padding: 1.1rem;
}

.shopping-cart-widget-footer .wd-progress-bar.wd-free-progress-bar .progress-msg:before {
    content: '\e3d0';
    font-family: 'Font Awesome 6 Pro';
    margin-right: 0.3rem;
    font-size: 0.8rem;
    font-weight: bold;
}

.shopping-cart-widget-footer .wd-progress-bar .progress-area {
    background-color: #ffd04c;
    height: 0.4rem;
    border-radius: 1.1rem;
}

.shopping-cart-widget-footer .wd-progress-bar.wd-free-progress-bar .progress-msg span.amount {
    color: var(--wd-text-color);
    font-family: var(--wd-title-font);
    font-weight: normal;
}

.shopping-cart-widget-footer .wd-progress-bar .progress-bar {
    background-color: #fff;
    box-shadow: 0px 0.3rem 1.5rem 0px #7a708f80;
    height: 0.4rem;
    border-radius: 1.1rem;
    position: relative;
    margin-top: 0;
}

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

.theme-woodmart .woocommerce-mini-cart__total.total {
    order: 2;
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
    padding-top: 1.1rem;
    border-top: 0;
    border-bottom: 1px solid #f2f2f2;
}

.woocommerce-mini-cart__discounts.total {
    order: 1;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    margin-bottom: 0;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
}

.woocommerce-mini-cart__buttons.buttons {
    order: 3;
    margin-bottom: 0;
}

.theme-woodmart .cart-widget-side .shopping-cart-widget-footer p:not(.total, .buttons) {
    display: none;
}

.theme-woodmart .woocommerce-mini-cart__buttons a{
    font-size: 1.15rem;
    text-transform: none;
    font-family: 'Made Tommy Medium';
    font-weight: normal;
    height: 3.5rem;
    min-height: 3.5rem;
    border-radius: 100rem;
}

.theme-woodmart .woocommerce-mini-cart__buttons a.checkout:after{
    content: '';
    background-image: url('/wp-content/uploads/2023/03/cart-in-minicart_v1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.4rem;
    height: 1.1rem;
    margin-left: 0.4rem;
}

.theme-woodmart .woocommerce-mini-cart__buttons a.btn-cart{
    background-color: #eae6f2;
    color: #5b27cc;
    margin-bottom: 1rem;
}

.theme-woodmart .woocommerce-mini-cart__buttons a.btn-cart:hover{
    background-color: #e3d4ff;
}

.theme-woodmart .woocommerce-mini-cart__discounts.total strong:before{
    content: '';
    background-image: url('/wp-content/uploads/2023/03/icon-discount-black_v2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.1rem;
    height: 1.1rem;
    transform: scale(1.15);
    filter: brightness(0);
    margin-right: 0.6rem;
}

.theme-woodmart .cart-widget-side .widget_shopping_cart{
    flex: 1 1 100rem;
}

.theme-woodmart .woocommerce-mini-cart__total.total strong:before{
    content: '';
    background-image: url('/wp-content/uploads/2023/03/subtotal-icon_v1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.2rem;
    height: 1.2rem;
    filter: brightness(0);
    margin-right: 0.5rem;
}

.cart-widget-side.wd-side-hidden #my_custom_products_widget-2{
    position: absolute;
    pointer-events: none;
    top: 0%;
    left: calc(-100% + 2rem);
    z-index: 2;
    background-color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0px 0.5rem 1.2rem rgba(122, 112, 143, 0.2);
    opacity: 0;
    width: 28rem;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cart-widget-side.wd-side-hidden.wd-right.wd-opened #my_custom_products_widget-2{
    opacity: 1;
    pointer-events: all;
}

.my-custom-products-list .my-custom-product{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid #f2f2f2;
}

.cart-widget-side .my-custom-products-list{
    max-height: calc(100vh - 13rem);
    height: max-content;
    overflow: auto;
}

.my-custom-products-list .my-custom-product:last-child{
    border-bottom: 0;
    margin-bottom: 0;
}

.my-custom-products-list .my-custom-product .product-link{
    width: 30%;
    position: relative;
}

.my-custom-products-list .my-custom-product .product-info{
    font-size: 0.9rem;
    width: 70%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.my-custom-products-list .my-custom-product .product-info .product-name{
    order: 1;
    width: 90%;
}

.my-custom-products-list .my-custom-product .product-info .product-name a,
.my-custom-products-list .my-custom-product .product-info .sale-price .amount{
    color: #0d0d0d;
}

.my-custom-products-list .my-custom-product .product-info .sale-price{
    order: 2;
    font-weight: normal;
    font-family: var(--wd-widget-title-font);
}

.my-custom-products-list .my-custom-product .product-info .sale-price .amount{
    font-weight: normal;
    font-family: var(--wd-widget-title-font);
}

.my-custom-products-list .my-custom-product .product-info .regular-price{
    order: 3;
    font-weight: normal;
    font-family: var(--wd-widget-title-font);
    color: #83B1C9;
    font-size: 85%;
}

.my-custom-products-list .my-custom-product .product-info .regular-price .amount{
    font-weight: normal;
    font-family: var(--wd-widget-title-font);
    color: #83B1C9;
    font-size: 85%;
    text-decoration: line-through;
}

.my-custom-products-list .my-custom-product .product-info .product-discount{
    order: 4;
    display: flex;
    align-items: center;
    height: auto;
    width: max-content;
    padding: 0.4rem 0.6rem;
    border-radius: 100rem;
    background-color: #EAE6F2;
    color: var(--wd-primary-color);
    font-size: 0.8rem;
    font-weight: normal;
    font-family: var(--wd-widget-title-font);
    line-height: 1;
    gap: 0.3rem;
}

.my-custom-products-list .my-custom-product .product-info .add-to-cart-button{
    order: 5;
    margin-top: 0.2rem;
    width: 100%;
}

.my-custom-products-list .my-custom-product .product-info .add-to-cart-button a{
    padding: 0;
    min-height: auto;
    height: auto;
    background-color: transparent;
    text-transform: none;
    font-size: 0.9rem;
    color: var(--wd-primary-color);
    font-family: var(--wd-widget-title-font);
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

.my-custom-products-list .my-custom-product .product-image{
    position: relative;
}


#my_custom_products_widget-2 .widgettitle{
    text-transform: none;
    font-size: 1.1rem;
    margin-bottom: 1.4rem;
}

.my-custom-products-list .add-to-cart-loop span:before {
    content: '';
    position: absolute;
    right: -25%;
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-top-color: #5b27cc;
    border-radius: 50%;
    opacity: 0;
    vertical-align: middle;
    margin-left: 0.25rem;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    transition: all .3s ease;
}

.my-custom-products-list .add-to-cart-loop.loading span:before {
    transition: all .3s ease;
    opacity: 1;
}

.my-custom-products-list a.add-to-cart-loop.loading{
    opacity: 0.7;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.theme-woodmart .wd-empty-mini-cart:before{
    content: '';
    background-image: url(/wp-content/uploads/2023/01/bag_v1.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 7rem;
    height: 7rem;
    opacity: 0.75;
    margin: 0 auto 2rem auto;
}

.theme-woodmart .wd-empty-mini-cart .btn{
    font-size: 1.1rem;
    text-transform: none;
    font-family: 'Made Tommy Medium';
    font-weight: normal;
    height: 3.25rem;
    min-height: 3.25rem;
    border-radius: 3.25rem;
    padding: 0 2rem;
    max-width: 16rem;
    margin: 0 auto;
}

.theme-woodmart .wd-empty-mini-cart p.woocommerce-mini-cart__empty-message{
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
    font-family: 'Made Tommy Medium';
    font-weight: normal;
}

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

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

    .widget.widget_my_custom_products_widget{
        display: none;
    }

    .cart-widget-side.wd-side-hidden{
        width: 100%;
    }

    .cart-widget-side .wd-heading {
        padding: 0 1rem;
        border-bottom: 1px solid #f2f2f2;
        gap: initial;
        min-height: 5rem;
        height: 5rem;
    }

    .cart-widget-side .product_list_widget>li .wd-entities-title{
        width: 95%;
        max-width: 100%;
        font-size: 1rem;
    }

    .cart-widget-side .wd-heading .title{
        font-size: 1.25rem;
    }

    .cart-widget-side .product_list_widget>li img{
        min-width: 7rem;
        max-width: 7rem;
        padding: 0.5rem;
    }

    a.cart-item-image:before, a.product-link:before{
        border-radius: 0.75rem;
    }

    .cart-widget-side .wd-action-btn.wd-style-text>a:before{
        font-size: 1.5rem;
        margin-inline-end: 0;
    }

    .theme-woodmart .cart-widget-side .woocommerce-mini-cart .mini_cart_item{
        padding: 1rem;
    }

    .theme-woodmart .woocommerce-mini-cart-item a.cart-item-image{
        margin-right: 1rem;
        margin-bottom: 1rem;
    }

    .theme-woodmart .cart-info div.quantity :is(input[type="button"],input[type="number"],input[type="text"]){
        font-size: 1rem;
        height: 2rem;
        min-width: 2rem;
    }

    .cart-widget-side .cart-info span.quantity{
        gap: 0.5rem;
        font-size: 1rem;
    }

    .cart-widget-side .woocommerce-mini-cart .remove:after{
        width: 1.25rem;
        height: 1.25rem;
    }

    .theme-woodmart .cart-widget-side .woocommerce-mini-cart .remove{
        top: 1rem;
    }

    .cart-item-discount {
        height: 2rem;
        padding: 0 1rem;
        border-radius: 100rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .cart-widget-side .cart-info span.quantity del{
        width: auto;
    }

    .cart-item-discount:before, .product-discount:before{
        width: 1rem;
        height: 1rem;
    }

    .theme-woodmart .cart-widget-side .shopping-cart-widget-footer{
        font-size: 1rem;
    }

    .shopping-cart-widget-footer .wd-progress-bar.wd-free-progress-bar .progress-msg:before{
        margin-right: 0.25rem;
        font-size: 1rem;
    }

    .theme-woodmart .cart-widget-side .shopping-cart-widget-footer>*{
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 100%;
    }

    .shopping-cart-widget-footer .wd-progress-bar.wd-free-progress-bar{
        margin: 1rem;
        padding: 1.25rem;
        gap: 1rem;
        border-radius: 1rem;
        font-size: 92%;
    }

    .shopping-cart-widget-footer .wd-progress-bar .progress-area{
        height: 0.7rem;
    }

    .shopping-cart-widget-footer .wd-progress-bar .progress-bar{
        box-shadow: 0px 0.5rem 1.2rem rgba(122, 112, 143, 0.2);
        height: 0.7rem;
    }

    .theme-woodmart .woocommerce-mini-cart__discounts.total strong:before{
        width: 1.15rem;
        height: 1.15rem;
        margin-right: 0.75rem;
    }

    .theme-woodmart .woocommerce-mini-cart__total.total{
        margin-bottom: 0.75rem;
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

    .theme-woodmart .woocommerce-mini-cart__discounts.total{
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

    .theme-woodmart .woocommerce-mini-cart__total.total strong:before{
        width: 1.45rem;
        height: 1.45rem;
        margin-right: 0.5rem;
    }

    .theme-woodmart .woocommerce-mini-cart__buttons a{
        height: 3rem;
        min-height: 3rem;
        border-radius: 100rem;
    }

    .theme-woodmart .woocommerce-mini-cart__buttons a.btn-cart{
        margin-bottom: 0.75rem;
    }

    .theme-woodmart .cart-widget-side .shopping-cart-widget-footer{
        padding-bottom: 1rem;
    }

    .theme-woodmart .woocommerce-mini-cart__buttons a.checkout:after{
        width: 1rem;
        height: 1rem;
        margin-left: 0.5rem;
    }
    
}