.catalog-main-shell {
    background-color: #ffffff;
}

.catalog-main {
    width: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-position-y: bottom;
}

.catalog-main h1{
    color: #000000;
}
.catalog-main__wrapper {
    min-width: 320px;
    position: relative;
    padding-top: 60px;
    margin-bottom: 45px;
}

.catalog {
    position: relative;
    font-size: 0;
    line-height: 0;
}

.catalog__wrapper {
    position: relative;
    margin: 0 -10px;
}

.catalog__wrapper:after {
    content: "";
    display: table;
    clear: both;
}


.catalog__column {
    display: block;
    position: relative;
    float: left;
    text-decoration: none;
    width: calc(20% - 20px);
    margin: 0 10px 20px 10px;
    height: 314px;
    overflow: hidden;
}

.catalog__element .catalog__img div{
    width: 196px;
    height: 184px;
}
.catalog__item_picture{
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.2s ease;
}
.catalog__column:hover  .catalog__item_picture{
    width: 104%;
    height: 104%;
    margin-top: -2%;
    margin-left: -2%;
    transition: 0.3s ease;
}

.catalog__name {
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    color: #232323;
    line-height: 22px;
    margin-bottom: 18px;
    flex-grow: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1;
    text-transform: initial;
}

.catalog-all-categories {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
.catalog-all-categories div:first-child{
    background: url("/local/templates/dtrd/assets/images/catalog_all_category.svg") center no-repeat;
    width: 40px;
    height: 40px;
}
.catalog-all-categories .catalog__name{
   flex-grow: 0;
}

.catalog__element {
    display: flex;
    flex-direction: column;
    background: #F5F5F5;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    font-size: 0;
    border-radius: 8px;
    border: none;
    padding: 32px 6px 32px 6px;
    transition: 0.3s;
}

.catalog__img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.scroll-anim {
    -webkit-transform: translateY(100px);
    -ms-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
}

.scroll-anim-active {
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
}

.scroll-anim-transition {
    -webkit-transition: -webkit-transform 1s ease;
    transition: transform 1s ease;
    -webkit-transition-property: -webkit-transform, opacity;
    transition-property: transform, opacity;
}

.shine {
    overflow: hidden;
}
.shine:after {
    content: "";
    height: 200%;
    left: -230%;
    opacity: 0;
    position: absolute;
    top: -20%;
    transform: rotate(-30deg);
    width: 200%;
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.13) 77%, rgba(255, 255, 255, 0.5) 92%, rgba(255, 255, 255, 0.0) 100%);
}
.shine:hover:after {
    left: -50%;
    opacity: 1;
    top: -50%;
    transition-duration: 0.5s, 0.5s, 0.15s;
    transition-property: left, top, opacity;
    transition-timing-function: ease;
}
.shine:active:after {
    opacity: 0;
}
.catalog__img:after{
    content: "";
    height: 200%;
    left: -230%;
    opacity: 0;
    position: absolute;
    top: -20%;
    transform: rotate(-30deg);
    width: 200%;
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.13) 77%, rgba(255, 255, 255, 0.5) 92%, rgba(255, 255, 255, 0.0) 100%);
}
.catalog__column:hover .catalog__img:after {
    left: -50%;
    opacity: 1;
    top: -50%;
    transition-duration: 0.5s, 0.5s, 0.15s;
    transition-property: left, top, opacity;
    transition-timing-function: ease;
}
.catalog__img:active:after {
    opacity: 0;
}
.catalog-arrow{
    display: none;
    margin-left: 4px;
}


@media screen and (max-width: 1409px){
    .catalog__column{
        width: calc(25% - 20px);
    }
}
@media screen and (max-width: 1199px){
    .catalog__column{
        width: calc(25% - 20px);
    }
    .catalog__element .catalog__img div {
        width: 164px;
        height: 154px;
    }
}
@media screen and (max-width: 991px){
    .catalog__column{
        width: calc(33% - 20px);
    }
    .catalog__element .catalog__img div {
        width: 164px;
        height: 154px;
    }

}
@media screen and (max-width: 767px) {
    .catalog-main__wrapper{
        padding-top: 0;
    }
    .catalog__column{
        width: calc(50% - 20px);
        height: 300px;
    }
    .catalog__name {
        font-size: 16px;
    }
}
@media screen and (max-width: 540px){
    .catalog-main__wrapper{
        margin-bottom: 0;
    }
    .catalog__name{
        text-align: start;
        margin-bottom: 0;
    }
    .catalog__column{
        width: calc(100% - 20px);
        height: 109px;
    }
    .catalog__element{
        flex-direction: row;
        align-items: center;
        padding: 16px;
    }
    .catalog__img{
        width: 83px;
        justify-content: end;
    }
    .catalog__element .catalog__img div {
        width: 83px;
        height: 77px;
    }
    .all-categories{
        height: 48px;
    }
    .all-categories .catalog__element{
        background: #D62A32;
    }
    .all-categories .catalog__element .catalog__name{
        color: #ffffff;
    }
    .all-categories .catalog__element .catalog__name .catalog-arrow{
        display: inline-block;
        color: #ffffff;
    }
    .catalog-all-categories div:first-child{
        display: none;
    }
}


/*Для того чтобы скрыть компонент Хит продаж в урле /catalog/*/
.section-hit-of-sales{
    display: none;
}