.gifts {
    margin-top: 45px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.gifts .gift {
    width: 31.7%;
    margin-bottom: 40px;
}

.gifts .gift:not(:nth-of-type(3n)) {
    margin-right: 2.44%
}

.gifts picture {
    display: block
}

.gifts img {
    height: 6.4rem;
    width: 6.3rem;
    -o-object-fit: contain;
    object-fit: contain
}

.gifts h4 {
    margin-top: 15px;
}

.gifts p {
    position: relative;
    width: 85%;
    margin-top: 1.1rem;
}

.gifts .info {
    position: relative;
    display: inline-block;
    margin: 0;
}

@media screen and (max-width: 1023px) {
    .gifts {
        margin-top: 30px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .gifts .gift {
        border: 1px solid #F0F0F0;
        border-radius: 8px;
        width: 100%;
        padding: 30px 20px;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .gifts .gift:last-child {
        margin-bottom: 0;
    }

    .gifts .gift img {
        height: 100px;
        margin: 0 auto;
        display: block;
        width: 37vmin
    }

    .gifts h4 {
        width: 86%
    }

    .gifts p {
        width: 86%;
    }

    .gifts .info:after {
        display: none
    }
}
