/* Стиль для первого изображения (WMF) */
.brand-row .col-lg-12:nth-child(1) img {
    width: 61px;
}

/* Стиль для второго изображения (Sambonet) */
.brand-row .col-lg-12:nth-child(2) img {
    width: 143px;

}

/* Стиль для третьего изображения (Rogaska) */
.brand-row .col-lg-12:nth-child(3) img {
    width: 126px;
}


#serving_result .product-item {
    border: 1px solid #E4E4E4;
}

#serving_result .price-box {
    margin-bottom: 5px;
    margin-top: 20px;
}

#serving_result a.product-name span {
    font-size: 18px;
}

#serving_result .price-box span {
    font-size: 14px;
}

#serving_result .product-name {
    max-height: 50px;
    overflow: hidden;
}

.product-markers {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    gap: 4px;
    min-height: 44px;
}

.product-markers > * {
    display: inline-flex;
}

.mark-list {
    position: absolute;
    z-index: 10;
    top: 10px;
    left: 10px;
    gap: 10px;
}


.mark-item {
    background: #b5b5b5;
    line-height: 1;
    padding: 9px 0;
    font-size: 12px;
    width: 80px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.1rem;
}

.mark-item.sale {
    background: #C72E2E;
}

.mark-item.new {
    background: #002B5C;
}

.mark-item.outlet {
    background: #5C2C2C;
}


.pagination-dot {
    display: none; /* по умолчанию скрыты */
}


#serving_result .slider-control-prev.swiper-button-disabled, #serving_result .slider-control-next.swiper-button-disabled {
    display: flex !important;
    filter: opacity(0.2);
}

.rebild {
    flex-direction: column;
    align-items: center;
}


.brand-switch {
    min-height: 120px;
    max-width: 334px;
}

.mega-menu .submenu-href.active {
    color: #fff;
    background: #023E84;
    text-decoration: none;
}

.block_ser {
    margin-top: 7px;
}

.brand-switch img {
    max-width: 80%;
}

#serving_result .tablet_block {
    padding-left: 12px !important;
}

/*#serving_result .swiper-container:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    width: 30%;*/
/*    height: 100%;*/
/*    background: linear-gradient(to left, white, transparent);*/
/*    pointer-events: none;*/
/*    transition: opacity 0.3s ease;*/
/*    z-index: 999;*/
/*}*/


#serving_result .swiper-container {
    position: relative;
}





@media screen and (max-width: 768px) {

    .rebild {
        flex-direction: unset;
    }

    .rebild .brand-switch {
        align-items: center;
        min-height: 76px;
        border-radius: 8px !important;
    }

    .rebild > div {
        padding-right: unset;
    }

    #complete .rebild {
        margin-right: calc(var(--bs-gutter-x) * .5);
    }
    .main-title {
        justify-content: center;
    }


}


