

/* Start:/bitrix/templates/profpolimer/css/prices.css?17431643585792*/
.container {
    width: 100%;
    min-height: calc(100vh - 190px); /* Учитываем высоту футера */
    flex: 1; /* Контейнер занимает оставшееся пространство */
    flex-direction: column;
    top: 0; /* Сбрасываем top */
    left: 0; /* Сбрасываем left */
    z-index: 5; /* Убедитесь, что z-index ниже, чем у header */
    display: flex;
    overflow: hidden;
}

.full-width-block {
    width: 100%; /* Блок занимает всю ширину страницы */
    padding-left: 10%; /* Отступ слева */
    padding-right: 10%; /* Отступ справа */
    font-size: 77px; /* Размер текста */
	font-family: Montserrat;
	font-optical-sizing: auto;
	font-weight: 800;
	font-style: normal;
    text-align: center; /* Выравнивание текста по центру */
    box-sizing: border-box; /* Учитываем отступы в ширине блока */
	text-transform: uppercase;
}

.custom-line {
    width: 80%; /* Ширина линии */
    height: 4px; /* Высота линии */
    margin: 20px auto; /* Отступы и центрирование */
    border: none; /* Убираем стандартную границу */
    background: linear-gradient(to right, #666666, #000000 50%, #666666); /* Градиент от серого к черному и обратно к серому */
}

.title {
    font-family: Montserrat;
	font-optical-sizing: auto;
	font-weight: 800;
	font-style: normal;
    font-size: 77px;
    margin-top: 20px;
    margin-left: 10%;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #000000;
}

.description {
    font-family: Montserrat;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
    font-size: 30px;
    margin-left: 10%;
	margin-right: 10%;
    margin-bottom: 20px;
    color: #000000;
}

.table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
    font-family: Montserrat;
	font-optical-sizing: auto;
	font-style: normal;
}

.row {
	grid-template-columns: repeat(3, 1fr); /* Три столбца одинаковой ширины */
	display: grid;
}

.two-columns {
    grid-template-columns: repeat(2, 1fr); /* Два столбца одинаковой ширины */
}

.three-columns {
    grid-template-columns: repeat(3, 1fr); /* Три столбца одинаковой ширины */
}

.five-columns {
    grid-template-columns: 1fr 2fr 2fr; /* Три основных столбца */
    grid-template-areas:
        "col1 col2 col3"
        "subcol1 subcol2 subcol4"
        "subcol1 subcol3 subcol5";
}

.cell {
    padding: 10px;
    border: 1px solid black; /* Убедитесь, что стиль границы одинаков */
    text-align: center;
	box-sizing: border-box; /* Убедитесь, что box-sizing установлен */
	word-wrap: break-word; /* Переносит слова на новую строку */
   	align-items: center; /* Центрируем по вертикали */
    justify-content: center; /* Центрируем по горизонтали */
    text-align: center; /* Центрируем текст по горизонтали */
}

.row.header .cell {
    background: rgba(10, 34, 75, 1);
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
    border: 1px solid white;
}

.row .cell {
    font-size: 30px;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
    border: 1px solid black;
}

.row .cell.merged-cell {
    font-size: 30px;
    font-weight: 600;
    background: rgba(10, 34, 75, 1);
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
    grid-column: span 3; /* Объединяет ячейку на три столбца */
    border: 1px solid white;
}

.square-meters {
    vertical-align: top;
    font-size: 30px;
    font-weight: 800;
    color: #000000;
}

/* Общие стили остаются без изменений */

@media (max-width: 768px) {
    .container {
        min-height: calc(100vh - 150px); /* Уменьшаем высоту для мобильных устройств */
    }

    .full-width-block {
        font-size: 30px; /* Уменьшаем размер текста */
        padding-left: 5%;
        padding-right: 5%;
        word-wrap: break-word; /* Переносим слова на новую строку */
    }

    .title {
        font-size: 35px; /* Уменьшаем размер заголовка */
        margin-left: 5%;
        margin-right: 5%;
        word-wrap: break-word; /* Переносим слова на новую строку */
    }

    .description {
        font-size: 20px; /* Уменьшаем размер описания */
        margin-left: 5%;
        margin-right: 5%;
    }

    .table {
        width: 100%; /* Таблица занимает всю ширину */
    }

    .row {
        grid-template-columns: 1fr; /* Одна колонка для мобильных устройств */
    }

    .cell {
        font-size: 20px; /* Уменьшаем размер текста в ячейках */
        padding: 5px;
    }

    .row.header .cell {
        font-size: 25px; /* Уменьшаем размер текста в заголовках таблицы */
    }

    .row .cell.merged-cell {
        grid-column: span 1; /* Убираем объединение ячеек */
    }

    .square-meters {
        font-size: 20px; /* Уменьшаем размер текста */
    }
}
/* End */
/* /bitrix/templates/profpolimer/css/prices.css?17431643585792 */
