.fillings-wrap {
    display: flex;
    justify-content: center;
}
.fillings-wrap>div {
    display: flex;
    column-gap: 32px;
    row-gap: 30px;
    flex-wrap: wrap;
}

.fillings__item {
    width: 260px;
}
.fillings__title,
.fillings__text-title {
    font-size: 17px;
    padding: 14px 0 0;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
    text-decoration: none;
    color: #4d4f50;
    text-align: center;
}
.fillings__text-title {
    text-align: left;
    margin-bottom: 20px;
    font-weight: 700;
}
.fillings__text {
    display: none;
}
.fillings__text.open {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 999999;
    justify-content: center;
    align-items: center;
    width: 100vw;
    font-size: 18px;
}
.fillings__text>div {
    opacity: 0;
    -webkit-transition: opacity ease-in-out 0.3s;
    -moz-transition: opacity ease-in-out 0.3s;
    -o-transition: opacity ease-in-out 0.3s;
    transition: opacity ease-in-out 0.3s;
    padding: 80px 0 40px;
}
.fillings__text.open>div {
    display: flex;
    column-gap: 20px;
    overflow: auto;
    opacity: 1;
    width: 100%;
    max-height: 100%;
    max-width: 800px;
    outline: none;
    justify-content: center;
    align-items: flex-start;
}
.fillings__item.active {
    cursor: pointer;
}
.fillings__close {
    content: "";
    cursor: pointer;
    display: block;
    background: url(/images/close.svg);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: contain;
    width: 17px;
    height: 17px;
    position: absolute;
    top: 30px;
    right: 50px;
    z-index: 10;
}
.fillings__text img {
    width: 260px;
}
@media screen and (max-width:1259px) {
    .fillings-wrap>div {
        max-width: 845px;
    }
}
@media screen and (max-width:991px) {
    .fillings-wrap>div {
        max-width: 554px;
    }
}
@media screen and (max-width:890px) {
    .fillings__text.open {
        padding-top: 50px;
    }
    .fillings__text.open>div {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
        padding: 25vw 20px 40px;
    }
    .fillings__text.open>div>div {
        max-width: 400px;
    }
    .fillings__text img {
        width: 100%;
        max-width: 400px;
    }
    .fillings__close {
        top: 20px;
        right: 22px;
    }
}
@media screen and (max-width:581px) {
    .fillings-wrap>div {
        max-width: 100%;
    }
    .fillings-wrap>div {
        justify-content: center;
    }
}