.collecton-more-photos {
    margin-top: 15px;
}
.collecton-more-photo img{
    width: 100%;
    margin-bottom: 20px;
}
.collecton-more-photo {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.half-width-item {
    flex: 0 0 50%;
}
.full-width-item {
    flex: 0 0 100%;
}
.half-width {
    width: 100%;
    max-width: 670px;
    border-radius: 20px;
    overflow: hidden;
    max-height: 984px;
    height: 100%;
}
.half-width img{
    max-height: 984px;
    height: 100%;
}
.full-width {
    width: 100%;
    max-width: 1360px;
    border-radius: 20px;
    overflow: hidden;
    max-height: 808px;
    height: 100%;
}
.full-width img {
    width: 100%;
    height: 100%;
    max-height: 808px;
    object-fit: cover;
}
.collection-releative {
    padding: 59px 0 20px;
}
.collecton-more-photo__main-wrap {
    height: 560px;
}
.main-photo__preview_picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.collecton-more-photo__wrap-text--title {
    max-width: 453px;
    font-family: 'Gilroy';
    font-size: 40px;
    font-weight: 300;
    line-height: 40px;
    display: block;
    width: 100%;
}
.collecton-more-photo__wrap-text--text {
    max-width: 453px;
    font-family: 'Onest';
    font-size: 12px;
    font-weight: 300;
    line-height: 16.8px;
    display: block;
    width: 100%;
}
.collecton-more-photo__wrap-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 79px 217px 71px 0;
    gap: 21px;
}
.collection-releative__title {
    font-family: 'Gilroy';
    font-size: 40px;
    font-weight: 300;
    line-height: 40px;
    text-align: left;
}
.collection-releative__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(173px, 1fr));
    gap: 40px 10px;
    padding: 33px 0 42px;
}
.collection-releative .new-product__item a img {
    max-width: 325px;
    height: 430px;
    max-height: 430px;
}
.new-product__item-discount {
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 7px 12px;
    color: #fff;
    background-color: var(--main-color) !important;
    font-family: 'Onest';
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    border-radius: 90px;
    position: absolute;
    left: 10px;
    top: 8px;
}
.collection-releative .new-product__item {
    position: relative;
}
.collection-releative .new-product__text-wrap {
    padding-left: 10px;
    gap: 13px;
    height: 100%;
}
.collection-releative .new-product__text-wrap a {
    white-space: pre-wrap;
    width: 100%;
}
.collection-releative .new-product__item-price {
    margin-top: auto;
}

@media (max-width: 1400px) {
    .collection-releative .new-product__item a img {
        height: auto;
    }
    .collecton-more-photo {
        gap: 20px;
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .collection-releative a .new-product__item-name {
        height: auto;
    }
    .collecton-more-photo__main-wrap {
        height: 700px;
    }
    .main-photo__preview_picture {
        border-radius: 10px;
    }
    .collecton-more-photo__wrap-text {
        align-items: flex-start;
        padding: 70px 0 72px;
        gap: 12px;
    }
    .collecton-more-photo__wrap-text--title {
        max-width: unset;
        font-size: 26px;
        line-height: 26px;
    }
    .collecton-more-photo__wrap-text--text {
        max-width: unset;
    }
    .collecton-more-photo__wrap-text--text br {
        display: none;
    }
    .half-width {
        max-height: 447px;
        height: 100%;
        overflow: hidden;
        border-radius: 10px;
    }
    .full-width {
        max-height: 300px;
        height: 100%;
    }
    .full-width img {
        height: 300px;
    }
    .collecton-more-photo img {
        width: 100%;
        margin-bottom: 20px;
        object-fit: cover;
        border-radius: 10px;
    }
    .collecton-more-photo {
        gap: 20px;
    }
    .collection-releative__title {
        font-size: 26px;
        line-height: 26px;
    }
    .collection-releative {
        padding: 30px 0 30px;
    }
    .collection-releative__list {
        grid-template-columns: repeat(3, minmax(173px, 1fr));
        gap: 36px 15px;
        padding: 19px 0 42px;
    }
    .collection-releative .new-product__item-link {
        width: unset;
        height: auto;
    }
    .collection-releative .new-product__item-link img {
        width: 100%;
        height: 100%;
    }
    .new-product__item-discount {
        font-size: 12px;
        line-height: 12px;
        top: 5px;
        left: 5px;
        padding: 4px 7px;
    }
    .collection-releative .new-product__text-wrap {
        padding-left: 0;
        gap: 10px;
    }
    .collection-releative .new-product__text-wrap a {
        font-family: 'Onest';
        font-size: 14px;
        font-weight: 500;
        line-height: 15.4px;
    }
}
@media (max-width: 690px) {
    .collection-releative__list {
        grid-template-columns: repeat(2, minmax(173px, 1fr));
    }
}
@media (max-width: 400px) {
    .collection-releative .new-product__item-link {
        width: 100%;
        height: 213px;
    }
    .half-width,
    .half-width img{
        max-height: 447px;
    }
    .full-width,
    .full-width img {
        max-height: 300px;
    }
}
@media (max-width: 370px) {
    .collection-releative__list {
        grid-template-columns: repeat(1, minmax(173px, 1fr));
    }
    .collection-releative .new-product__item-link {
        width: 100%;
        height: 100%;
    }
}



