.products-slider {
    padding-bottom: 40px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.products-slider > .products-wrap {
    min-height: 300px;
    margin: 0;
    visibility: hidden;
    padding-left: 0;
}

.products-slider li {
    position: relative;
    list-style-type: none;
    float: left;
}

.products-slider .discount {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 5;
    padding: 5px;
    background: #ff3434;
    color: #fbfbfb;
    font-weight: 600;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.products-slider div.product {
    display: block;
    width: 250px;
    margin: 5px;
    z-index: 2;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    height: 100%;
    overflow: hidden;
}

/*noinspection CssOptimizeSimilarProperties*/
.products-slider .image-wrap {
    width: 100%;
    height: 290px;
    position: relative;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    border: 1px solid #073c5e;
    border-radius: 10px;
}

.products-slider .name {
    background-image: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
    text-transform: uppercase;
    color: #19a5ff;
    text-shadow: 1px 1px 6px #009bff;
    height: 60px;
    width: 100%;
    bottom: 0;
    font-size: 14px;
    text-align: center;
    padding: 10px;
    overflow: hidden;
    position: absolute;
    font-weight: 600;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.products-slider .description {
    background-color: rgba(7, 60, 94, 0.9);
    color: #ffffff;
    height: 100%;
    width: 100%;
    bottom: -100%;
    font-size: 14px;
    text-align: center;
    padding: 35px 10px 35px 10px;
    overflow: hidden;
    position: absolute;
    font-weight: 600;
}

.products-slider div.product:hover .description {
    bottom: 0;
    animation-name: open-up;
    animation-duration: 500ms;
}

.products-slider div.product.animation-close-down .description {
    bottom: -100%;
    animation-name: close-down;
    animation-duration: 500ms;
}

.products-slider div.product:hover {
    filter: brightness(0.9);
}

.products-slider .more-products {
    margin-top: 80px;
    text-align: center;
    visibility: hidden;
}

@keyframes open-up {
    from {
        bottom: -100%;
    }
    to {
        bottom: 0;
    }
}

@keyframes close-down {
    from {
        bottom: 0;
    }
    to {
        bottom: -100%;
    }
}