.collection_banner_grid {
    display: flex;
    flex-wrap: wrap;
    margin: -10px; /* Компенсируем padding у дочерних элементов */
    margin-bottom: 10px;
}

.collection_banner_grid > div {
    flex: 0 0 calc(50% - 20px); /* 50% ширины минус отступы */
    margin: 10px; /* Равномерные отступы со всех сторон */
    box-sizing: border-box;

}
.collection_banner_grid a img{
    transition: all .5s ease;
}
.collection_banner_grid a:hover img {
    transform: scale(0.95);
}

.collection_banner_grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.collection-picture img{
    transition: all .5s ease;
}
.collection-picture:hover img{
    transform: scale(0.95);
}
@media (max-width: 1290px) {
    .collection_banner_grid {
        margin: -1%; /* Компенсируем margin дочерних элементов */
        margin-bottom: 1%;
    }
    .collection_banner_grid > div {
        flex: 0 0 calc(50% - 2%); /* 50% ширины минус 2% margin с каждой стороны */
        margin: 1%; /* Отступы 1% со всех сторон (1% + 1% = 2% между элементами) */
        box-sizing: border-box;
    }

}
@media (max-width: 730px) {
    .collection_banner_grid > div{
        width: 100%;
        flex: 0 0 100%;
        padding-right: 10px;
    }
}

.collection-desc{
    text-align: center;
    margin:10px 15px;
}
.collection-desc p{
    margin-bottom: 10px;
}
.collection-desc .collection_h1{
    font-size: 24px;
    font-weight: bold;
}
.collection-desc .collection_bold{
    font-weight: bold;
}
.catalog-search-empty {
    width: 100%;
    max-width: 760px;
    margin: 40px auto 80px;
    text-align: center;
}
.catalog-search-empty__title {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
}
.catalog-search-empty__text {
    margin-bottom: 24px;
    font-size: 16px;
}
.catalog-search-empty__form {
    display: flex;
    width: 100%;
    border: 1px solid #d9d9d9;
}
.catalog-search-empty__input {
    flex: 1;
    min-width: 0;
    height: 58px;
    padding: 0 20px;
    border: 0;
    font-size: 18px;
}
.catalog-search-empty__button {
    min-width: 150px;
    height: 58px;
    border: 0;
    background: #1f1f1f;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}
@media (max-width: 540px) {
    .collection-desc .collection_h1 {
        font-size: 20px;
    }

    .collection-desc p {
        font-size: 14px;
    }
    .catalog-search-empty {
        margin: 24px auto 48px;
    }
    .catalog-search-empty__title {
        font-size: 24px;
    }
    .catalog-search-empty__form {
        display: block;
        border: 0;
    }
    .catalog-search-empty__input,
    .catalog-search-empty__button {
        width: 100%;
    }
    .catalog-search-empty__input {
        border: 1px solid #d9d9d9;
    }
}