.woocommerce-cart .cart-title-wrapper {
    display: flex;
    align-items: center;
    gap:8px;
    margin-bottom: 8px;
}
.woocommerce-cart .cart-title-wrapper .count-prods-cart {
    display: inline-block;
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: -2%;
    text-transform: uppercase;
    margin: 0;
    color:#8A8A8A;
}
.woocommerce-cart .cart-title-wrapper h1 {
    margin-bottom: 0;
    padding-right: 0;
}
.woocommerce-cart-form {}
.woocommerce-cart-form__contents {
    display: flex;
    gap:16px;
}
.woocommerce-cart-form__contents .tbody {
    width: calc(100% - 356px - 16px);
}
.woocommerce-cart-form__contents .tbody .cart_item {
    display: flex;
    gap:8px;
    background-color: #fff;
    padding:8px;
    border-radius: 8px;
    margin-bottom: 8px;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-thumbnail {
    width: 148px;
    height: 148px;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    transition: .3s;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-thumbnail a {
    display: block;
    text-decoration: none;
    outline: none;
    width: 100%;
    height: 100%;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-thumbnail a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: .3s;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-thumbnail a:hover img {
    transform: scale(1.1);
}
.woocommerce-cart-form__contents .tbody .cart_item .product-content {
    width: calc(100% - 148px - 8px);
    display: flex;
    flex-wrap: wrap;
    gap:32px 8px;
    padding: 8px;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-name-wrapper {
    display: flex;
    flex-direction: column;
    color:#1E1E1E;
    order:1;
    width: calc(100% - 58px - 8px);
}
.woocommerce-cart-form__contents .tbody .cart_item .product-name-wrapper a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    outline: none;
    color:#1E1E1E;
    transition: .3s;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-name-wrapper a:hover {
    color:#E65A26;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-brand {
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
    line-height: 132%;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 2px;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-name {
    font-weight: 400;
    font-size: 14px;
    line-height: 125%;
    letter-spacing: -0.2px;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-name .variations {
    margin: 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap:4px;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-name .variations-item {
    display: flex;
    align-items: baseline;
    gap:4px;
    font-weight: 400;
    font-size: 12px;
    line-height: 126%;
    letter-spacing: -0.2px;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-name .variations-item dt {
    font-weight: 400;
    height: auto;
    margin: 0;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-name .variations-item dd {
    font-weight: 400;
    height: auto;
    margin: 0;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-name .variations-item dd > * {
    margin: 0;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-remove {
    order: 2;
    margin-left: auto;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-remove .remove {
    font-size: 0px;
    line-height: 0px;
    color: transparent;
    display: block;
    width: 44px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.33341 15.8333L4.16675 14.6667L8.83342 9.99999L4.16675 5.33332L5.33341 4.16666L10.0001 8.83332L14.6667 4.16666L15.8334 5.33332L11.1667 9.99999L15.8334 14.6667L14.6667 15.8333L10.0001 11.1667L5.33341 15.8333Z' fill='%231E1E1E'/%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    opacity: 1;
    transition: .3s;
    margin-left: 8px;
    background-color: #0000000A;
    padding: 4px 12px;
    border-radius: 8px;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-remove .remove:hover {
    background-color: #E65A26;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.33341 15.8333L4.16675 14.6667L8.83342 9.99999L4.16675 5.33332L5.33341 4.16666L10.0001 8.83332L14.6667 4.16666L15.8334 5.33332L11.1667 9.99999L15.8334 14.6667L14.6667 15.8333L10.0001 11.1667L5.33341 15.8333Z' fill='%23FFFFFF'/%3E%3C/svg%3E ");
}
.woocommerce-cart-form__contents .tbody .cart_item .product-quantity {
    order: 3;
    margin-top: auto;
}
/* quantity */
.woocommerce .quantity {
    height: auto;
    width: 96px;
    display: flex;
    align-items: center;
    position: relative;
    background: #F6F7F8;
    user-select: none;
    border-radius: 4px;
    overflow: hidden;    
}
.woocommerce span.quantity-arrows {
    height: 30px;
    width: 36px;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s;   
}
.woocommerce .quantity .qty {
    color: #3F3F3F;
    border: none;
    width: 24px;
    text-align: center;
    outline: none;
    order: 2;
    background-color: transparent;
    border: 0;
    margin: 0 -1px;
    padding: 4px 2px;
    height: 30px;
    border-radius: 0;
    box-shadow: none;
    -moz-appearance: none!important;
    -webkit-appearance: none !important;
    appearance: none !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.2px;
    text-align: center;
    vertical-align: middle;
    color:#1E1E1E;
}
.woocommerce .quantity input[type="number"]::-webkit-outer-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-inner-spin-button {
    display: none;
}
.woocommerce span.quantity-arrows.minus {
    order:1;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11V9H16V11H4Z' fill='%231E1E1E'/%3E%3C/svg%3E ");
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
    transition: .3s;
    cursor: pointer;
    border-radius: 4px 0 0 4px;
}
.woocommerce span.quantity-arrows.minus:hover {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 11V9H16V11H4Z' fill='%23FFFFFF'/%3E%3C/svg%3E ");
    background-color: #E65A26;
}
.woocommerce span.quantity-arrows.plus {
    order:3;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 11H3V9H9V3H11V9H17V11H11V17H9V11Z' fill='%231E1E1E'/%3E%3C/svg%3E ");
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
    transition: .3s;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}
.woocommerce span.quantity-arrows.plus:hover {
    background-color: #E65A26;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 11H3V9H9V3H11V9H17V11H11V17H9V11Z' fill='%23FFFFFF'/%3E%3C/svg%3E ");
}
/* end */

.woocommerce-cart-form__contents .tbody .cart_item .product-subtotal {
    order:4;
    margin-left: auto;
    display: flex;
    align-items: center;
    margin-top: auto;
    height: 30px;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-subtotal .amount {
    font-weight: 500;
    font-size: 16px;
    line-height: 136%;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color:#1E1E1E;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-subtotal .cart-item-price-info {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap:8px;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-subtotal .cart-item-price-info .discount-badge {
    border: 1px solid #A62222;
    border-radius: 4px;
    padding:2px 8px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    font-weight: 500;
    font-size: 14px;
    line-height: 126%;
    letter-spacing: -0.2px;
    text-align: center;
    color:#A62222;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-subtotal .cart-item-price-info .regular-total {

}
.woocommerce-cart-form__contents .tbody .cart_item .product-subtotal .cart-item-price-info .sale-total .amount {
    color:#D64545;
}
.woocommerce-cart-form__contents .tbody .cart_item .product-subtotal .cart-item-price-info .sale-total ins {
    text-decoration: none;
}
.woocommerce-cart-form__contents .tfoot-wrapper {
    width: 356px;
}
.woocommerce-cart-form__contents .tfoot {
    
    background-color: #fff;
    border-radius: 0px 0px 8px 8px;
    position: relative;
    /* height: 100%; */
    padding:32px 24px 24px;
}
.woocommerce-cart-form__contents .tfoot::before {
    content:'';
    display: block;
    width: 100%;
    height: 23.5px;
    background-image: url("data:image/svg+xml,%3Csvg width='356' height='24' viewBox='0 0 356 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_3545_11664)'%3E%3Crect x='1.75' width='16.617' height='16.617' transform='rotate(45 1.75 0)' fill='white'/%3E%3Crect x='25.25' width='16.617' height='16.617' transform='rotate(45 25.25 0)' fill='white'/%3E%3Crect x='48.75' width='16.617' height='16.617' transform='rotate(45 48.75 0)' fill='white'/%3E%3Crect x='72.25' width='16.617' height='16.617' transform='rotate(45 72.25 0)' fill='white'/%3E%3Crect x='95.75' width='16.617' height='16.617' transform='rotate(45 95.75 0)' fill='white'/%3E%3Crect x='119.25' width='16.617' height='16.617' transform='rotate(45 119.25 0)' fill='white'/%3E%3Crect x='142.75' width='16.617' height='16.617' transform='rotate(45 142.75 0)' fill='white'/%3E%3Crect x='166.25' width='16.617' height='16.617' transform='rotate(45 166.25 0)' fill='white'/%3E%3Crect x='189.75' width='16.617' height='16.617' transform='rotate(45 189.75 0)' fill='white'/%3E%3Crect x='213.25' width='16.617' height='16.617' transform='rotate(45 213.25 0)' fill='white'/%3E%3Crect x='236.75' width='16.617' height='16.617' transform='rotate(45 236.75 0)' fill='white'/%3E%3Crect x='260.25' width='16.617' height='16.617' transform='rotate(45 260.25 0)' fill='white'/%3E%3Crect x='283.75' width='16.617' height='16.617' transform='rotate(45 283.75 0)' fill='white'/%3E%3Crect x='307.25' width='16.617' height='16.617' transform='rotate(45 307.25 0)' fill='white'/%3E%3Crect x='330.75' width='16.617' height='16.617' transform='rotate(45 330.75 0)' fill='white'/%3E%3Crect x='354.25' width='16.617' height='16.617' transform='rotate(45 354.25 0)' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_3545_11664'%3E%3Crect width='356' height='23.5' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-repeat: repeat-x;
    background-position: center;
    background-size: contain;
    position: absolute;
    left: 0;
    right: 0;
    top: -11px;
}
.woocommerce-cart-form__contents .tfoot .tr.actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top:1px solid #D6D6D6;
}
.woocommerce-cart-form__contents .tfoot .actions button[name="update_cart"] {
    display: none;
}
.woocommerce-cart-form__contents .tfoot .actions .coupon {
    display: flex;
    flex-wrap: wrap;
    gap:8px;
}
.woocommerce-cart-form__contents .tfoot .actions .coupon label {
    display: none;
}
.woocommerce-cart-form__contents .tfoot .actions .coupon input {
    width: calc(100% - 8px - 58px);
    margin: 0;
    border: 0.5px solid #0000001F;
    background-color: #F1F1F1;
}
.woocommerce-cart-form__contents .tfoot .actions .coupon input:focus {
    border-color:#E65A26;
}
.woocommerce-cart-form__contents .tfoot .actions .coupon button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 0;
    color:transparent;
    width: 58px;
    height: 100%;
    margin: 0;
    transition: .3s;
    background-color: #ECECEC;
    border:0;
    border-radius: 8px;
}
.woocommerce-cart-form__contents .tfoot .actions .coupon button:hover {
    background-color: #E65A26;
}
.woocommerce-cart-form__contents .tfoot .actions .coupon button::after {
    display: block;
    content: '';
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.79508 16.875L5.62508 12.705L4.20508 14.115L9.79508 19.705L21.7951 7.70501L20.3851 6.29501L9.79508 16.875Z' fill='black'/%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: .3s;
    opacity: 64%;
}
.woocommerce-cart-form__contents .tfoot .actions .coupon button:hover::after {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.79508 16.875L5.62508 12.705L4.20508 14.115L9.79508 19.705L21.7951 7.70501L20.3851 6.29501L9.79508 16.875Z' fill='%23fff'/%3E%3C/svg%3E ");
}
.woocommerce-cart-form__contents .tfoot .actions .coupon .coupon-error-notice {
    width: 100%;
}
.woocommerce-cart-form__contents .tfoot .shop_table {
    width: 100%;
    margin-bottom: 24px;
}
.woocommerce-cart-form__contents .tfoot .shop_table tbody {
    display: flex;
    flex-direction: column;
}
.woocommerce-cart-form__contents .tfoot .shop_table tr {
    display: flex;
    gap:8px;
    justify-content: space-between;
    width: 100%;
    white-space: nowrap;
}
.woocommerce-cart-form__contents .tfoot .shop_table tr.cart-subtotal {
    font-weight: 500;
    font-size: 16px;
    line-height: 136%;
    letter-spacing: -0.5px;
}
.woocommerce-cart-form__contents .tfoot .shop_table tr.cart-discount {
    font-weight: 500;
    font-size: 16px;
    line-height: 136%;
    letter-spacing: -0.5px;
    color:#D64545;
    margin-top: 8px;
}
.woocommerce-cart-form__contents .tfoot .shop_table tr.cart-discount td {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.woocommerce-cart-form__contents .tfoot .shop_table tr.cart-discount .woocommerce-remove-coupon {
    font-size: 0px;
    line-height: 0px;
    color: transparent;
    display: block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.16667 11.6667L0 10.5L4.66667 5.83333L0 1.16667L1.16667 0L5.83333 4.66667L10.5 0L11.6667 1.16667L7 5.83333L11.6667 10.5L10.5 11.6667L5.83333 7L1.16667 11.6667Z' fill='%23D64545'/%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 1;
    transition: .3s;
    margin-left: 8px;
}
.woocommerce-cart-form__contents .tfoot .shop_table tr.cart-discount .woocommerce-remove-coupon:hover {
    transform: rotate(90deg);
}
.woocommerce-cart-form__contents .tfoot .shop_table tr.order-total {
    margin-top: 16px;
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: -2%;
    text-transform: uppercase;
}

@media(max-width:992px) {
    .woocommerce-cart main .container {
        max-width: 100%;
    }
    .woocommerce-cart-form__contents {
        flex-wrap: wrap;
    }
    .woocommerce-cart-form__contents .tbody {
        width: 100%;
    }
    .woocommerce-cart-form__contents .tfoot {
        width: 100%;
    }
    .woocommerce-cart-form__contents .tfoot-wrapper {
        width: 100%;
    }
}
@media(max-width:576px) {
    .woocommerce-cart-form__contents .tbody .cart_item {
        gap:11px;
        padding-bottom: 48px;
        position: relative;
    }
    .woocommerce-cart-form__contents .tbody .cart_item .product-thumbnail {
        width: 128px;
        height: 128px;
    }
    .woocommerce-cart-form__contents .tbody .cart_item .product-content {
        width: calc(100% - 128px - 11px);
        padding: 4px 0;
        gap:10px;
    }
    .woocommerce-cart-form__contents .tbody .cart_item .product-name-wrapper {
        width: 100%;
    }
    .woocommerce-cart-form__contents .tbody .cart_item .product-subtotal {
        order: 2; 
        margin-left: 0;
        width: 100%;
        height: auto;
    }
    .woocommerce-cart-form__contents .tbody .cart_item .product-subtotal .cart-item-price-info {
        flex-wrap: wrap;
    }
    .woocommerce-cart-form__contents .tbody .cart_item .product-remove {
        order:4;
        position: absolute;
        margin: 0;
        right: 8px;
        bottom: 8px;
    }
    .woocommerce-cart-form__contents .tbody .cart_item .product-quantity {
        position: absolute;
        left: 8px;
        bottom: 8px;
    }
    .woocommerce-cart-form__contents .tfoot {
        padding:24px 16px 16px;
    }
}

/* BONUS CART */
.woocommerce-cart .bonus-block-form {
    margin-top: 8px;
    border: 1px solid #D6D6D6;
    background-color: #fff;
    padding:24px;
    border-radius: 8px;
}
.bfw-write-off-block {

}
.bfw-write-off-block .bfw-spisanie-blocks-button {
    display: none;
}
.bfw-write-off-block .computy_skidka_form {
    opacity: 1;
    max-height: unset;
    padding: 0;
}
.bfw-write-off-block .computy_skidka_form .text_how_many_points {
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 132%;
    letter-spacing: -0.2px;
    margin-bottom: 12px;
}
.bfw-write-off-block .computy_skidka_form .text_how_many_points > * {
    margin: 0;
}
.bfw-write-off-block .computy_skidka_form .text_how_many_points b,
.bfw-write-off-block .computy_skidka_form .text_how_many_points strong {
    color:#E65A26;
}
.bfw-write-off-block .computy_skidka_form .write_points_form {
    width: 100%;
    gap:8px;
}
.bfw-write-off-block .computy_skidka_form .write_points_form .input-text {
    margin: 0;
    width: calc(100% - 8px - 123px);
    max-width: 100%;
}
.bfw-write-off-block .computy_skidka_form .write_points_form button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    outline: none;
    box-shadow: unset !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0em;
    text-align: center;
    color: #fff;
    padding: 10px 16px;
    transition: .3s;
    cursor: pointer;
    border-radius: 8px;
    background-color: #E65A26;
    border: 1px solid #E65A26;
}
.bfw-write-off-block .computy_skidka_form .text_how_many_points_feauter {
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: -2%;
    display: flex;
    flex-wrap: wrap;
    gap:6px;
}
.bfw-write-off-block .computy_skidka_form .text_how_many_points_feauter .bfw-how-match-cashback-block .order-cashback-title {
    display: none;
}
.bfw-write-off-block .computy_skidka_form .text_how_many_points_feauter .bfw-how-match-cashback-block .order-cashback-value {
    color:#E65A26;
}
.bfw-write-off-block .computy_skidka_form .text_how_many_points_feauter .bfw-how-match-cashback-block-subtext {
    display: inline-block;
}
.bfw-write-off-block .computy_skidka_form .btn-login {
    width: 100%;
    background-color: #0000000A;
    color:#E65A26;
    border-color:#0000000A;
}
.bfw-write-off-block .computy_skidka_form .btn-login:hover {
    background-color: #E65A26;
    color:#fff;
    border-color: #E65A26;
}
@media (max-width: 576px) {
    .woocommerce-cart .bonus-block-form {
        padding: 16px 16px 16px;
    }
    .bfw-write-off-block .computy_skidka_form .text_how_many_points {
        font-size: 14px;
    }
}
/* END */