.um {
    margin-top: 4px;
}

.um-side-categories {
    background-color: #fff;
    margin-bottom: 4px;
}
.um-side-categories__nav {
    display: flex;
    border-bottom: 1px solid #dee8ee;
}
.um-side-categories__nav-link {
    display: inline-block;
    vertical-align: top;
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 0 10px;
    font-size: 1.3rem;
    line-height: 40px;
    background: #bfd0da;
}
.um-side-categories__nav-link.is-active {
    /*background-color: #22a0ef;*/
    /*color: #fff;*/
    background: #fff;
}
.um-side-categories__list {
    display: none;
}
.um-side-categories__list.is-active {
    display: block;
}
.um-side-categories__item {
    position: relative;
    border-top: 1px solid #dee8ee;
    z-index: 2;
}
.um-side-categories__item:first-child {
    border-top: 0;
}
.um-side-categories__link {
    position: relative;
    text-decoration: none;
    display: block;
    font-size: 1.3rem;
    line-height: 1;
    padding: 12px 14px 12px 10px;
    border-left: 4px solid #fff;
    transition: border-color 150ms ease;
}
.um-side-categories__item:hover .um-side-categories__link {
    border-left-color: #22a0ef;
}
.um-side-categories__link.is-active {
    color: #22a0ef;
}
.um-side-categories__toggle {
    position: absolute;
    top: 0;
    right: 0;
    border: 0;
    outline: 0;
    background: #fff !important;
    padding: 0;
    width: 32px;
    height: 36px;
    text-align: center;
}
.um-side-categories__toggle:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-left: 4px solid #22a0ef;
    border-bottom: 4px solid transparent;
    transition: transform 250ms ease 200ms;
}
@media (min-width: 992px){
    .um-side-categories__button {
        display: none !important;
    }
    .um-side-categories__item:hover .um-side-categories__toggle:after {
        transform: translateX(10px);
    }
    .um-side-categories__wrap {
        display: block !important;
    }

    .um-side-categories__sub {
        position: absolute;
        top: 0;
        left: 100%;
        background-color: #fff;
        border: 1px solid #dee8ee;
        padding: 16px;
        z-index: 1;
        /*width: 580px;*/
        width: 850px;
        display: block;
        /*display: flex !important;*/
        /*flex-wrap: wrap;*/
        opacity: 0;
        visibility: hidden;
        transform: translateX(50px);
        transition: opacity 250ms ease 200ms, visibility 250ms ease 200ms, transform 250ms ease 200ms;
    }
    .um-side-categories__item:hover .um-side-categories__sub {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    .um-side-categories__sub-item {
        flex: 1 1 33.33%;
        max-width: 33.33%;
        /*width: 100%;*/
        padding-right: 10px;
    }
    .um-side-categories__sub-link {
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    .um-side-categories__sub-pic {
        width: 50px;
        height: 50px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .um-side-categories__sub-img {
        width: 100%;
    }
    .um-side-categories__sub-name {
        font-size: 1.5rem;
        line-height: 1.1;
        padding-left: 10px;
        color: #2c2c2c;
    }
    .um-side-categories__sub-link:hover .um-side-categories__sub-name {
        color: #0f84cd;
    }
}
.um-side-categories__sub-link.is-active {
    color: #0f84cd;
}

.um-side-block {
    background: #fff;
    margin-bottom: 4px;
    padding: 8px;
}
.um-side-block__header {
    display: flex;
    align-items: center;
    padding: 8px 6px;
}
.um-side-block__headline {
    font-size: 1.8rem;
    line-height: 1;
    color: #2c2c2c;
}
.um-side-block__more {
    font-size: 1.2rem;
    line-height: 18px;
    display: inline-block;
    margin-left: 10px;
    vertical-align: top;
    color: #656565;
    text-decoration: none !important;
}
.um-side-block__more:hover {
    color: #0f84cd;
}
.um-side-block__more span {
    color: #656565 !important;
    margin-right: 5px;
}

.um-articles {
    margin-left: -8px;
    margin-right: -8px;
}
.um-articles__item {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #dee8ee;
}
.um-articles__item:first-child {
    margin-top: 0;
    border-top: 0;
}
.um-articles__link {
    text-decoration: none;
    display: block;
    border-left: 4px solid #fff;
    padding-left: 10px;
    padding-right: 10px;
    transition: border-color 150ms ease;
}
.um-articles__link:hover {
    border-left-color: #22a0ef;
}
.um-articles__headline {
    font-size: 1.3rem;
    line-height: 1.1;
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #2c2c2c;
}
.um-articles__text {
    font-size: 1.2rem;
    line-height: 1.2;
    color: #7e7e7e;
    max-height: 130px;
    overflow: hidden;
}
.um-articles__text p {
    margin: 0;
}
.um-articles__text p + p {
    margin-top: 5px;
}

.um-slider {
    overflow: hidden;
}
.um-slider .main_slider {
    float: none;
    width: 100%;
    padding-left: 0;
}
.um__wrapper {
    display: flex;
}
.um__side {
    width: 220px;
    flex-shrink: 0;
    /*background: #fff;*/
}
.um__main {
    width: calc(100% - 220px);
    padding-left: 4px;
}

.um-tiles {
    margin-top: 4px;
    /*margin-top: 24px;*/
}
.um-tiles__list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -2px;
}
.um-tiles__item {
    flex: 1 1 25%;
    max-width: 25%;
    padding: 0 2px;
    margin-bottom: 4px;
}
.um-tiles__item_wide {
    flex: 1 1 50%;
    max-width: 50%;
}
.um-tiles__link {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
    text-decoration: none !important;
    padding-bottom: 40%;
}
.um-tiles__pic {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.um-tiles__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 800ms cubic-bezier(.19,1,.22,1);;
    /*max-width: 100%;*/
    /*max-height: 100%;*/
}
.um-tiles__pic:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    /*background-color: #22a0ef;*/
    box-shadow: inset 0 0 0 1px #22a0ef;
    transition: opacity 800ms cubic-bezier(.19,1,.22,1);
    z-index: 1;
    pointer-events: none;
}
.um-tiles__name {
    display: block;
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    z-index: 1;
    padding: 10px 15px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1;
    background-color: #22a0ef;
}
.um-tiles__link:hover .um-tiles__img {
    transform: scale(1.03);
}
.um-tiles__link:hover .um-tiles__pic:after {
    /*opacity: .3;*/
    opacity: 1;
}

.um-section {
    background-color: #fff;
    padding: 8px 16px 12px 16px;
    margin: 0 0 4px;
}
.um-section__header {
    display: flex;
    align-items: center;
    /*margin-bottom: 14px;*/
    /*padding: 0 8px;*/
    padding: 8px 0;
}
.um-section__headline {
    font-size: 1.8rem;
    line-height: 1;
    color: #2c2c2c;
}
.um-section__more {
    font-size: 1.2rem;
    line-height: 18px;
    display: inline-block;
    margin-left: 15px;
    vertical-align: top;
    color: #656565;
    text-decoration: none !important;
}
.um-section__more:hover {
    color: #0f84cd;
}
.um-section__more span {
    color: #656565 !important;
    margin-right: 10px;
}

.um-categories {
    /*margin-top: 4px;*/
}
.um-categories__list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -2px;
}
.um-categories__item {
    /*position: relative;*/
    /*max-width: calc(1/4*100% - 1px);*/
    /*flex: 1 1 calc(1/4*100% - 1px);*/
    /*background: #fff;*/
    /*margin: .5px;*/
    /*box-shadow: 0 0 0 1px #dadada, 0 0 0 0 transparent;*/
    /*transition: box-shadow 150ms ease,color 150ms ease;*/
    /*color: #656565;*/
}
.um-categories__item:hover {
    /*box-shadow: 0 0 0 1px #dadada, 0 2px 7px 0 rgba(38,50,56,.2);*/
    /*z-index: 1;*/
    /*color: #0f84cd;*/
}
.um-categories__item {
    padding: 0 2px;
    margin-bottom: 4px;
    color: #656565;
    flex: 1 1 25%;
    max-width: 25%;
}
.um-categories__link {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 10px;
    background: #fff;
    text-decoration: none !important;
    transition: box-shadow 800ms cubic-bezier(.19,1,.22,1);
    overflow: hidden;
}
.um-categories__link:hover {
    box-shadow: inset 0 0 0 1px #22a0ef;
}
.um-categories__pic {
    display: flex;
    justify-content: center;
    align-items: center;
    /*flex: 1;*/
    height: 160px;
}
.um-categories__img {
    max-width: 100%;
    max-height: 100%;
    transition: transform 800ms cubic-bezier(.19,1,.22,1);
}
.um-categories__link:hover .um-categories__img {
    transform: scale(1.05);
}
.um-categories__name {
    display: block;
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-top: 18px;
    color: #656565;
}

.um-banner {
    background: #fff;
    margin-bottom: 4px;
}
.um-banner__link {
    text-decoration: none;
    display: block;
    overflow: hidden;
    height: 110px;
}
.um-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px){
    .um__wrapper {
        display: block;
    }
    .um__side {
        width: 100%;
    }
    .um__main {
        padding-left: 0;
        width: 100%;
        margin-top: 4px;
    }

    .um-side-categories__button {
        display: block;
        width: 100%;
        border: 0;
        outline: 0;
        background-color: #fff !important;
        color: #2c2c2c !important;
        font-size: 1.8rem;
        line-height: 1;
        text-align: left;
        border-bottom: 4px solid #dee8ee;
        border-top: 2px solid #dee8ee;
        padding: 12px 14px;
        position: relative;
    }
    .um-side-categories__button span {
        margin-right: 9px;
    }
    .um-side-categories__button:after {
        content: '';
        display: block;
        position: absolute;
        top: 16px;
        right: 14px;
        border-top: 4px solid transparent;
        border-left: 4px solid #2c2c2c;
        border-bottom: 4px solid transparent;
        transform: rotate(90deg);
    }
    .um-side-categories__wrap {
        display: none;
    }
    .um-side-categories.is-open .um-side-categories__button:after {
        transform: rotate(-90deg);
    }

    .um-side-categories__link {
        border-left-color: #fff !important;
    }
    .um-side-categories__toggle:after {
        transform: rotate(90deg);
        transition: none;
    }
    .um-side-categories__item.is-open .um-side-categories__toggle:after {
        transform: rotate(-90deg);
    }
    .um-side-categories__sub {
        background-color: #ececf3;
        display: none;
    }
    .um-side-categories__sub-pic {
        display: none;
    }
    .um-side-categories__sub-item {
        border-top: 1px solid #fff;
    }
    .um-side-categories__sub-item:first-child {
        border-top: 0;
    }
    .um-side-categories__sub-link {
        text-decoration: none;
        display: block;
        font-size: 1.3rem;
        line-height: 1;
        padding: 12px 24px;
    }

    .um-side-block {
        display: none;
    }
}
@media (max-width: 767px){
    .um-slider {
        padding:4px;
        background-color: #fff;
    }
    .um-tiles__item {
        flex: 1 1 50%;
        max-width: 50%;
    }
    .um-categories__item {
        flex: 1 1 50%;
        max-width: 50%;
    }
    .um-categories__pic {
        height: 120px;
    }
    .um-categories__link {
        padding: 6px;
    }
    .um-categories__name {
        font-size: 1.3rem;
    }
}
@media (max-width: 575px){
    .um-tiles__item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.um-sub__row {
    display: block;
    background-color: grey;
    margin-bottom: 10px;
}
.um-sub__row img {
    display: none;
}

.um-side-categories .level-2 {
    position: relative;
    padding-left: 60px;
    display: flex;
    flex-wrap: wrap;
    min-height: 50px;
}
.um-side-categories .level-2 + .level-2 {
    /*margin-top: 5px;*/
    /*border-top: 1px solid #dee8ee;*/
    padding-top: 10px;
}
.um-side-categories .level-2 > a {
    /*display: flex;*/
    text-decoration: none !important;
    flex: 1 1 100%;
    max-width: 100%;
    display: block;
    margin-bottom: 4px;
    /*margin-left: 2px;*/
}
.um-side-categories .level-2 > a > .pic {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
}
.um-side-categories .level-2 > a > .pic img {
    border-radius: 4px;
    max-width: 100%;
    max-height: 100%;
}
.um-side-categories .level-2 > a > span {
    display: inline-block;
    vertical-align: top;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-weight: 700;
}
.um-side-categories .level-2 > a > .pic + span {
    /*padding-left: 10px;*/
}

.um-side-categories .level-2 > .row {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 100%;
    max-width: 100%;
}
/*.um-side-categories .level-2 > .row + .row > .level-3 {*/
    /*flex: initial;*/
    /*max-width: initial;*/
    /*border: 0;*/
    /*padding: 0;*/
    /*margin: 0 5px 5px 0;*/
/*}*/
.um-side-categories .level-2 > .row.hasnobrand > .level-3 {
    flex: initial;
    max-width: initial;
    border: 0;
    padding: 0;
    margin: 0 5px 0 0;
}
.um-side-categories .level-2 > .row.hasnobrand > .level-3 > a {
    flex: initial;
    max-width: initial;

    display: inline-block;
    vertical-align: top;
    font-size: 1.1rem;
    text-transform: lowercase;
    text-decoration: none !important;
    line-height: 1.1;
    padding: 2px 4px;
    background-color: #efefef;
    border: 1px solid #dee8ee;
    color: #8e8e8e;

    border-radius: 2px;
}
.um-side-categories .level-2 > .row.hasnobrand > .level-3 > a:hover {
    background-color: #6bc5ff;
    border: 1px solid #1b9dec;
    color: #fff;
}

.um-side-categories .level-3 {
    display: inline-block;
    vertical-align: top;
    /*margin: 0 5px 5px 0;*/

    flex: 1 1 calc(25% - 4px);
    max-width: calc(25% - 4px);
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    /*align-items: flex-start;*/

    /*border: 1px solid #dee8ee;*/
    /*padding: 4px;*/

    border-radius: 2px;
    margin: 0 2px 4px;
}
/*.um-side-categories .level-3 + .level-3 {*/
    /*margin-top: 5px;*/
/*}*/
.um-side-categories .level-3 > a {
    text-decoration: none !important;
    font-size: 1.3rem;
    /*display: inline-block;*/
    /*vertical-align: top;*/

    display: block;
    margin-bottom: 5px;
    flex: 1 1 100%;
    max-width: 100%;
}
.um-side-categories .level-3 > a:hover {
    text-decoration: underline !important;
}

.um-side-categories .level-4 {
    display: inline-block;
    vertical-align: top;
    margin: 0 0 3px 0;
}
.um-side-categories .level-4 > a {
    display: inline-block;
    vertical-align: top;
    font-size: 1.1rem;
    text-transform: lowercase;
    text-decoration: none !important;
    line-height: 1.1;
    padding: 2px 4px;
    /*background-color: #6bc5ff;*/
    /*border: 1px solid #1b9dec;*/
    /*color: #fff;*/
    background-color: #efefef;
    border: 1px solid #dee8ee;
    color: #8e8e8e;

    border-radius: 2px;
}
.um-side-categories .level-4 > a:hover {
    background-color: #6bc5ff;
    border: 1px solid #1b9dec;
    color: #fff;
}

.um-side-categories__sub.s-brand > .level-2 {
    padding-top: 0;
    display: block;
}
.um-side-categories__sub.s-brand > .level-2 + .level-2 {
    margin-top: 20px;
}
.um-side-categories .sub-brand {
    padding-left: 0;
}
.um-side-categories .sub-brand.level-3 {
    position: relative;
    padding-left: 60px;
    max-width: 100%;
    width: 100%;
}
.um-side-categories .sub-brand.level-3 + .level-3 {
    margin-top: 10px;
}
.um-side-categories .sub-brand.level-3 > a .pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
}
.um-side-categories .sub-brand.level-3 > a .pic img {
    border-radius: 4px;
    max-width: 100%;
    max-height: 100%;
}

/*КТ*/
.sp-good-block {

}
.sp-good-block__group {
    display: flex;
    align-items: flex-start;
}
.sp-good-block__group + .sp-good-block__group {
    margin-top: 10px;
}
.sp-good-block__label {
    display: block;
    font-size: 1.2rem;
    line-height: 19px;
    text-align: right;
    flex: 1 0 55px;
    max-width: 55px;
}
.sp-good-block__value {
    flex: 1;
    padding-left: 10px;
    display: flex;
    flex-wrap: wrap;
    margin-right: 0;
    line-height: 1;
}

.sp-good-item {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    padding: 5px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    border-radius: 2px;
    text-decoration: none !important;
    margin: 0 4px 4px 0;
}
.sp-good-item:hover {
    border-color: #22a0ef;
}
.sp-good-item.is-active {
    /*border-color: #22a0ef;*/
    box-shadow: inset 0 0 3px #22a0ef;
    background-color: #6bc5ff;
    border: 1px solid #1b9dec;
    color: #fff;
}
.sp-good-item.is-disabled {
    background-color: #cecece !important;
    border-color: #929292 !important;
    cursor: not-allowed;
    color: #656565;
}
.sp-good-item span {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 3px;
}
.sp-good-item div {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.sp-good-item-smell {
    display: inline-block;
    vertical-align: top;
    font-size: 1.2rem;
    text-transform: lowercase;
    text-decoration: none !important;
    padding: 2px 5px 3px;
    background-color: #fff;
    border: 1px solid #e8e8e8;
    color: #8e8e8e;
    border-radius: 2px;
    margin: 0 4px 4px 0;
}
.sp-good-item-smell:hover {
    border-color: #22a0ef;
}
.sp-good-item-smell.is-active {
    box-shadow: inset 0 0 3px #22a0ef;
    background-color: #6bc5ff;
    border: 1px solid #1b9dec;
    color: #fff;
}
.sp-good-item-smell.is-disabled {
    background-color: #cecece !important;
    border-color: #929292 !important;
    cursor: not-allowed;
    color: #656565;
}