/* список категорий */

.sections-list{
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    display: grid;
    grid-gap: 32px;
}

@media(min-width: 1920px) {
    .sections-list{
        grid-template-columns: repeat(auto-fill, minmax(410px, 1fr));

    }
}


.sections-list__item{
    position: relative;
}

.sections-list__item--has-additional-text:hover .sections-list__item-text-wrapper {
    opacity: 1;
   visibility: visible;
}

.sections-list__item--has-additional-text .sections-list__item-text-wrapper {
    opacity: 0;
    visibility: hidden;
    justify-content: flex-end;
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 4px 4px 2px 2px;
    border-bottom-right-radius: 2px;
    padding: 0;
    max-height: 100%;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    width: 100%;
    z-index: 1;
}

.flexbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    flex: 1;
}

.sections-list .shadow-parent-all:hover .shadow-target {
    bottom: 0;
}
.sections-list .shadow-parent-all:not(.sections-list__item-without-image) .shadow-target {
    bottom: -10px;
}
.shadow-parent-all:hover .shadow-target {
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
}
.mCustomScrollbar.mCS_no_scrollbar, .mCustomScrollbar.mCS_touch_action {
    -ms-touch-action: auto;
    touch-action: auto;
}
.sections-list .shadow-target {
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    transition: bottom 0.2s ease-in-out;
}
.sections-list__item--has-additional-text .sections-list__item-text-top-part {
    overflow-y: auto;
    max-height: 100%;
}
.srollbar-custom {
    overflow: auto;
}

.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden {
    margin-right: 0;
}

.sections-list__item--has-additional-text .sections-list__item-text-top-part .mCSB_container {
    padding: 20px 32px 0 24px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.sections-list .shadow-parent-all:not(.sections-list__item-without-image) .shadow-target {
    bottom: -10px;
}
.sections-list .shadow-parent-all:hover .shadow-target {
    bottom: 0;
}

.main ul li p {
    display: inline;
    vertical-align: top;
}
ul.list-unstyled li {
    padding-left: 0px;
    margin-bottom: 0px;
}
ul.list-unstyled li:before {
    display: none;
}
.main ul.list-unstyled li p {
    display: block;
}

/* section childs */
.sections-list__item-childs {
    margin: 12px 0 7px 0;
}
.sections-list--img-srl .grid-list--items-1 .sections-list__item-childs {
    margin-top: 20px;
}
.sections-list__item-childs > ul {
    margin: 0;
}
.sections-list__item-childs > ul > li {
    display: inline;
    line-height: calc(1em + 10px);
}

.sections-list__item-childs-item-separator {
    color: #ccc;
    margin: 0 7px 0 4px;
}

.sections-list__item-title{
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 10px;
}

.sections-list__item-products-count{
    color: #999;
}

.sections-list__link-more {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
}

.sections-list__item-link--absolute {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.sections-list__item--has-additional-text .sections-list__item-text-top-part .mCSB_container > * {
    cursor: initial;
}

.sections-list__images{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}