.bigdata_recommended_products_items .icons-basket-wrapper .button_block,
.bigdata_recommended_products_items .icons-basket-wrapper .btn {
    width: auto;
}

.bigdata_recommended_products_items .icons-basket-wrapper .btn {
    width: 40px;
    height: 40px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bigdata_recommended_products_items .icons-basket-wrapper .btn>span:not(.svg) {
    display: none;
}

.bigdata_recommended_products_items .block-item__actions {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.bigdata_recommended_products_items .icons-basket-wrapper {
    position: static;
}

/* Keep basket icon visible in AJAX-loaded recommendations */
.bigdata_recommended_products_items .counter_wrapp .button_block svg:not(.prediction_svg),
.bigdata_recommended_products_items .btn.in-cart .svg.svg-inline-fw svg:not(.prediction_svg) {
    display: inline-block !important;
}

/* Match themed basket button state colors for this template */
.bigdata_recommended_products_items .block-item:hover .icons-basket-wrapper .btn,
.bigdata_recommended_products_items .icons-basket-wrapper .btn.in-cart,
.bigdata_recommended_products_items .icons-basket-wrapper .btn.in-subscribe,
.bigdata_recommended_products_items .icons-basket-wrapper .btn:hover,
.bigdata_recommended_products_items .icons-basket-wrapper .btn:active,
.bigdata_recommended_products_items .icons-basket-wrapper .btn:focus {
    background-color: #464a45 !important;
    border-color: #464a45 !important;
}

/* Keep icon fill white for active/hover/in-cart states */
.bigdata_recommended_products_items .icons-basket-wrapper .btn:hover svg path,
.bigdata_recommended_products_items .icons-basket-wrapper .btn:hover use,
.bigdata_recommended_products_items .icons-basket-wrapper .btn:active svg path,
.bigdata_recommended_products_items .icons-basket-wrapper .btn:active use,
.bigdata_recommended_products_items .icons-basket-wrapper .btn:focus svg path,
.bigdata_recommended_products_items .icons-basket-wrapper .btn:focus use,
.bigdata_recommended_products_items .block-item:hover .icons-basket-wrapper .btn svg path,
.bigdata_recommended_products_items .block-item:hover .icons-basket-wrapper .btn use,
.bigdata_recommended_products_items .icons-basket-wrapper .btn.in-cart svg path,
.bigdata_recommended_products_items .icons-basket-wrapper .btn.in-subscribe svg path {
    fill: #fff !important;
}