/*Mini Cart*/
.right-header > .flex-row {
    justify-content: space-between;
    max-width: 225px;
    width: 100%;
}
.b2b_header .right-header > .flex-row {
    justify-content: unset;
    max-width: unset;
    width: unset;
}
.right-header #cart {
    min-width: 90px;
}
.b2b_header .right-header #cart {
    min-width: 40px;
}
#cart {
    max-width: 50px;
    width: 100%;
    margin: 0;
    text-align: right;
    position: relative;
}
#cart .cart-btn {
    align-items: center;
    background-color: transparent;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
#cart #cart-total {
    display: inline-block;
    position: relative;
    width: 30px;
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
}
#cart #cart-total:after {
    content: '';
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: transparent;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    left: -2px;
    top: -9px;
    z-index: -1;
    border: 1px solid #000;
}
#cart #cart-total.not-empty:after {
    background-color: #ff0000;
    border-color: #ff0000;
}

#cart .mini-cart__body {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 35px;
    right: 0;
    background: #F5F5F7;
    min-width: 530px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 40px;
}
#cart .mini-cart__body.open {
    display: flex;
}
#cart .mini-cart__body li > div {
    min-width: unset;
    padding: 0;
}
#cart .mini-cart__body li p {
    margin: 0;
}
.mini-cart__close-cart {
    background: transparent;
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    padding: 0;
}
.mini-cart__close-cart .close-icon,
.mini-cart__close-cart .close-icon svg {
    display: flex;
    width: 17px;
    height: 17px;
    fill: #000;
}
.scrollable-products {
    height: auto;
    max-height: 275px;
    overflow-y: auto;
}
.scrollable-products::-webkit-scrollbar {
    display: none;
}
.scrollable-products {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.flex-row.mini-cart__products {
    align-items: center;
    padding: 20px 0;
    justify-content: space-between;
}
.flex-row.mini-cart__checkout {
    width: 100%;
    justify-content: center;
}

.mini-cart__prd__item {
    align-self: center;
    flex-basis: 75%;
}
.mini-cart__prd__item .flex-row {
    justify-content: space-between;
    align-items: center;
}
.mini-cart__prd__img {
    flex-basis: 25%;
}
.mini-cart__prd__img a {
    display: flex;
}
.mini-cart__prd__img img {
    width: 90px;
    object-fit: contain;
    height: auto;
    mix-blend-mode: darken;
}
.mini-cart__prd__name {
    display: flex;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.mini-cart__prd__name span:first-child {
    margin-right: 10px;
}
.mini-cart__prd__name:hover {
    color: #000;
}
.mini-cart__prd__price {
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-right: 15px;
}
.mini-cart__prd__options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.mini-cart__prd__options > li, .mini-cart__prd__price--perkilo {
    color: rgba(0, 0, 0, 0.50);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 110% */
}
.mini-cart__prd__price--perkilo {
    margin: 3px 0!important;
}
.mini-cart__prd__remove {
    border: none;
    background-color: transparent;
    padding: 0;
}
.mini-cart__prd__item .delete-icon, .mini-cart__prd__item .delete-icon svg {
    display: flex;
    width: 20px;
    height: 20px;
}
.mini-cart__total {
    border-top: 1px solid #000;
}
.mini-cart__total__row.flex-row {
    justify-content: space-between;
    padding: 20px 0;
}
.mini-cart__total__row.flex-row:first-child {
    display: none;
}
span.mini-cart__total__title {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 100% */
    text-transform: uppercase;
}
span.mini-cart__total__text {
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px; /* 100% */
}
.mini-cart__checkout a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 126px;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    color: #fff;
    background-color: #000;
    padding: 12px 10px 10px;
    /*border-radius: 5px;*/
}
.mini-cart__checkout a:first-child {
    margin-right: 25px;
}
.mini-cart__cost__delivery h3 {
    color: #000;
    text-align: center;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px; /* 113.333% */
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}
.mini-cart__progress {
    background-color: #fff;
    position: relative;
    margin: 15px 0 20px;
    height: 10px;
    width: 100%;
}
.mini-cart__progress--done {
    background: #F00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 0;
    opacity: 0;
    transition: 1s ease 0.3s;
}
.mini-cart__cost__delivery__button {
    display: block;
    width: 100%;
    max-width: 170px;
    margin: 0 auto;
    padding: 12px 8px;
    /*border-radius: 5px;*/
    background: #000;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 100% */
}

.mini-cart__cost__delivery__link {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 20px auto 5px;
    text-align: center;
    color: #000;
    text-decoration: underline;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 111.111% */
}
.mini-cart__cost__delivery__link:hover {
    color: #000;
    text-decoration: underline;
}
@media (max-width: 991px) {
    #cart .mini-cart__body.open {
        left: 0;
    }
    #main-header.b2b_header   #cart .mini-cart__body.open {
        left: unset;
    }
}

@media (max-width: 600px) {
    body.cart-is-open {
        overflow: hidden!important;
    }
    .mini-cart__close-cart {
        display: none;
    }
    #cart .mini-cart__body {
        top: 105px;
        right: 0;
        left: unset;
        padding: 0 10px;
        min-width: auto;
        width: 100%;
        position: fixed;
        height: calc(100vh - 100px);
        overflow-y: auto;
        background-color: #fff;
        border: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    #main-header.b2b_header #cart .mini-cart__body {
        top: 120px;
    }
    #cart .mini-cart__body li > div {
        min-width: unset;
    }
    .scrollable-products {
        max-height: calc(100vh - 250px);
        padding-bottom: 100px;
    }
    .scrollable-products.minimum-size {
        max-height: calc(100vh - 435px);
        padding-bottom: 100px;
    }
    .sticky-menu #cart .mini-cart__body {
        top: 99px;
        height: calc(100vh - 99px);
    }
    .mini-cart__cost__delivery {
        background-color: #F5F5F7;
        padding:12px 10px;
        border-radius: 10px;
    }
    .mini-cart__cost__delivery h3 {
        font-size: 18px;
        line-height: 18px; /* 111.111% */
    }
    .mini-cart__prd__name {
        font-size: 20px;
        line-height: 22px; /* 110% */
    }
    .mini-cart__prd__options > li, .mini-cart__prd__price--perkilo {
        font-size: 18px;
        line-height: 20px; /* 111.111% */
    }
    /*.scrollable-products {*/
    /*    padding-bottom: 40px;*/
    /*}*/
    .flex-row.mini-cart__products {
        padding: 10px 0;
    }
    .mini-cart__prd__img {
        background-color: #F5F5F7;
        border-radius: 10px;
        padding: 10px 5px;
        max-width: 80px;
        flex-basis: 15%;
    }
    .mini-cart__prd__img img {
        width: 60px;
    }
    .mini-cart__prd__img a {
        justify-content: center;
    }
    .mini-cart__prd__item {
        flex-basis: 85%;
        margin-left: 15px;
    }
    .mini-cart__prd__price {
        font-size: 18px;
        line-height: 20px; /* 111.111% */
    }
    .mini-cart__bottom {
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        padding: 0 10px 20px 10px;
        background: #fff;
    }
}

@media (max-width: 420px) {
    .mini-cart__progress {
        margin: 15px auto 20px;
        max-width: 295px;
    }
    .mini-cart__cost__delivery h3 {
        max-width: 226px;
    }
    span.mini-cart__total__title {
        font-size: 14px;
        line-height: 16px; /* 114.286% */
    }
    span.mini-cart__total__text {
        font-size: 18px;
        line-height: 20px; /* 111.111% */
    }
}


