html, body {
    height: 100%; /* Устанавливаем 100% высоты для html и body */
    margin: 0;    /* Убираем отступы по умолчанию */
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Минимальная высота 100% от высоты окна */
}

.container {
    flex-grow: 1; /* Позволяет контейнеру занимать все доступное пространство */
}

.footer {
    /* Ваши стили для footer */
    background-color: #f8f9fa; /* Пример фона футера */
    padding: 20px; /* Пример отступа */
    text-align: center; /* Центрируем текст */
}
.detail-container {
    /*border: 1px solid orange;*/
    border-radius: 10px;
    overflow: hidden;
    /*padding: 30px;*/
    position: relative;
    margin: 30px auto;
    height: auto; /* Высота слайдера */
    /*max-height: 600px;*/
    cursor: pointer; /* Изменение курсора при наведении на слайд */
    display: flex;
    justify-content: center;
    max-width: 1452px;
    margin-top: 70px;
}
.detail-title, .installation_description_title {
    padding: 20px 0;
    text-transform: uppercase;
}
.content_section > p, .installation_description_container > p {
    text-align: justify;
}
.img_section_wrapper {
    width: 100%;
    max-width: 660px;
    /*height: 360px;*/
    margin: 30px 0;
    padding: 30px;
    object-fit: cover;
}

.img_section {
    width: 100%;
    max-width: 700px;
    height: 400px;
    cursor: pointer;
    margin: 1.5%;
    overflow: hidden;
    border-radius: 8px;
}

.img_section > img {
    width: 100%; /* Изображение занимает 100% ширины карточки */
    height: 100%; /* Изображение занимает 100% высоты карточки */
    object-fit: cover; /* Заполнение карточки изображением */
    /*height: auto;*/
    /*width: auto;*/
    /*min-width:  100%;*/
    /*overflow: hidden;*/
    border-radius: 10px;
}
.content_section {
    align-items: start;
    width: 70%;
    padding: 30px;
}

.installation_description_container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1452px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    border-radius: 10px;
}

.want-to-buy-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.want-to-buy-row {
    margin: 40px 0;
    display: flex;
    justify-content: flex-end;
}
.want-to-buy-row > button {
    width: 250px;
}
.want-to-buy-price-p {
    font-size: 26px;
}
.installation_description_container > h2 {
    width: 100%;
}
@media (max-width: 1350px) {
    .img_section_wrapper {
        padding: 0;
    }
    .content_section {
        padding-bottom: 0;
    }
    .detail-container {
        flex-wrap: wrap;
    }
    .want-to-buy-row {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .img_section  {
        margin: 0;
    }
    .img_section_wrapper, .content_section {
        width: 100%;
        height: auto;
        padding: 0;
    }
    .img_section > img {
        width: 100%;
    }

    .want-to-buy-row > button {
        width: 100%;
    }
}