.catalog.block.search .rows_grf_block .catalog_block {
    --count-columns: 4;
}
@media (max-width: 1023px) {
    .catalog.block.search .rows_grf_block .catalog_block {
        --count-columns: 3;
        --gap: 15px;
        --padding-default: 15px;
    }
}
@media(max-width: 767px){
    .catalog.block.search .rows_grf_block .catalog_block {
        --gap: 10px;
        --count-columns: 2;
    }
}

/* .item_info{
    padding:0 10px 10px;
}
.catalog_block .catalog_item_wrapp .catalog_item .item_info .ask-managers{
    padding: 0 25px 21px;
}
.catalog_block .catalog_item_wrapp .catalog_item .item_info .ask-managers .offer_unknown_price{
	display: inline-block;
	font-size: 12px;
	color: #3D4D65;
	display: block;
    height: 55px;
    line-height: 15px;
    margin-top: 21px;
    justify-content:center;
}
.item_info .ask-managers .button{
    border: 1px solid #f75e25;
    color: #f75e25;
    border-radius: 3px;
    padding: 0;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    background: none;
    margin: 0px;
    width: 100%;
	margin-top:0px;
}
.item_info .ask-managers .button span{
    font-size:12px;
    font-weight:normal;
}
.item_info .ask-managers .button:hover{
	opacity: 1;
    color: #ffffff;
    background: #f75e25;
}

.inner_wrap .item_info .ask-managers .button{
	margin-top:0px;
} */

/* GRF Styles */
.lmu-f-sb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
@media (max-width: 1179px) {
    .lmu-f-sb {
        flex-direction: column;
    }
}
.rows_grf_block .catalog_block {
    display: grid;
    grid-template-columns: repeat(var(--count-columns), minmax(0, 1fr));
    gap: var(--gap);
    align-items: stretch;
}
.lmu-block, .lmu-block .item {
    display: flex;
    align-items: stretch;
}
.lmu-block .item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-m);
    background: #fafafa;
    transition: var(--tr-linear);
    width: 100%;
}
.lmu-block .item:hover {
    box-shadow: var(--shadow-hm);
}
.lmu-block .item .catalog_item {
    background: transparent;
    border: none !important;
}
.image_wrapper_block {
    aspect-ratio: 1;
}
.image_wrapper_block a:before, .image_wrapper_block a:after {
    content: '';
    position: absolute;
    display: block;
    bottom: -10px;
    width: 30%;
    height: 2px;
    /* border: solid 3px #fafafa; */
    transition: var(--tr-linear);
}
.image_wrapper_block a.thumb {
    line-height: 3;
    min-height: auto !important;
    min-width: 100%;
    aspect-ratio: 1;
}
.image_wrapper_block a.thumb.with-second-photo::before {
    right: 50%;
}
.image_wrapper_block a.thumb.with-second-photo::after {
    left: 50%;
}
.image_wrapper_block a.thumb.with-second-photo::before, .image_wrapper_block a.thumb.with-second-photo:hover::after {
    background: #ea6120;
}
.image_wrapper_block a.thumb.with-second-photo::after, .image_wrapper_block a.thumb.with-second-photo:hover::before {
    background: rgba(0, 0, 0, 0.1);
}
.image_wrapper_block a.thumb .main_pict {
    transition: none;
}
.image_wrapper_block a.thumb .second_pict {
    display: block;
    opacity: 0;
    transition: var(--tr-linear);
}
.image_wrapper_block a.thumb.with-second-photo:hover .main_pict {
    opacity: 0;
    transition: var(--tr-linear-delay);
}
.image_wrapper_block a.thumb.with-second-photo:hover .second_pict {
    display: block;
    opacity: 1;
    transition: var(--tr-linear);
}
.item-head {
    margin-bottom: 15px;
}
.instock-status {
    font-size: 12px;
    font-weight: 500;
    position: relative;
}
.instock-y, .instock-n {
    padding-left: 12px;
}
.instock-y:after, .instock-n:after {
    content: '';
    display: block;
    position: absolute;
    left: 0px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
}
.instock-y {
    color: #3caa3c;
}
.instock-n {
    color: #777777;
}
.instock-y:after {
    background: #3caa3c;
}
.instock-n:after {
    background: #777777;
}

.lmu-f-sb .rating {
    margin: 10px 0;
}
.lmu-f-sb .rating .iblock-vote {
    margin: 0;
}

.rows_grf_block .catalog_block .catalog_item {
    padding-bottom: var(--padding-default) !important;
    width: 100%;
    height: 100%;
}
.rows_grf_block .inner_wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}
.rows_grf_block .item_info {
    padding: 0 var(--padding-default);
}
.rows_grf_block .catalog_block .catalog_item_wrapp .inner_wrap .item_info .item-title {
    margin: 0;
}
.rows_grf_block .catalog_item .item-title a, .rows_grf_block .catalog_item .item-title a span, .rows_grf_block .view-item .item-title a span {
    text-align: left;
    font-weight: 600;
}
.price:not(.discount), .price:not(.discount) .price_value, .price:not(.discount) .price_currency::before {
    font-size: 19px !important;
}

.price-per-unit {
    margin: 0 !important;
    padding-bottom: 0 !important;
}
.offer_unit_text {
    margin: 10px 0 0 !important;
    padding-bottom: 0 !important;
    text-align: left;
    color: #888;
}

.catalog_item .lmu-btn {
    margin-top: 15px;
}

/* <<< Коррекция основного стиля (потом перенести) */
.catalog_block .catalog_item_wrapp .catalog_item .counter_wrapp {
    margin: 0 !important;
}
.catalog_block .catalog_item_wrapp .catalog_item .counter_wrapp .button_block {
    width: auto !important;
    padding-right: 7px;
}
.item_info .offer_units_container {
    width: auto !important;
    max-width: 50%;
}
.catalog_block .catalog_item_wrapp .catalog_item .item_info {
    width: auto !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.rows_grf_block .catalog_block .catalog_item_wrapp .catalog_item:hover .item_info.fullheight {
    height: 100% !important;
}
.image_wrapper_block {
    height: auto !important;
}
@media(max-width: 599px){
    .catalog_block .catalog_item_wrapp .catalog_item .counter_wrapp {
        flex-direction: column !important;
    }
    .item_info .offer_units_container {
        max-width: 100% !important;
        text-align: center !important;
    }
    .item_info .offer_units_container::before {
        display: none !important;
    }
}
/* >>> */

