@charset "UTF-8";

/* 1. Подключаем шрифт (если используешь <link> в HTML, этот блок можно убрать) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --color-text-main: #353438;
    --color-text-light: #FFFFFF;
    --color-text-dark: #111111;
    --color-accent: #FF8C45;
    --color-accent-soft: rgba(255, 140, 69, 0.16);
    --color-surface-soft: #EAF2F5;
    --color-surface-muted: #D1D4D6;
    --color-surface-hover: #D8E6EC;
    --color-surface-control: #D0D0D0;
    --color-bg-page: #FFFFFF;
    --color-border: #D1D4D6;
    --color-overlay-dark: rgba(17, 17, 17, 0.48);
    --color-text-main-soft: rgba(53, 52, 56, 0.08);
    --color-white-20: rgba(255, 255, 255, 0.2);
    --color-white-80: rgba(255, 255, 255, 0.8);
    --color-error: #FFE0E0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition-fast: 0.3s ease;
    --shadow-dropdown: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 12px 28px rgba(17, 17, 17, 0.1);
}

/* 2. Базовый reset и коробочная модель */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    min-height: 100vh;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: var(--color-text-main);
    background-color: var(--color-bg-page);
    text-rendering: optimizeLegibility;
}

/* 4. Контейнер */
.container {
    max-width: 1792px;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: auto;
    margin-right: auto;
}

/* 5. Базовые правила для медиа и типографии */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    font-weight: inherit;
}

/* 6. Кнопки по умолчанию */
button {
    font: inherit;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.header-lvl1 {
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 12px;
}

.header-lvl1-element {
    width: calc(100% / 4 - (24px * 3 / 4));
    display: flex;
}

.header-lvl1-element>* {
    margin: auto;
}

.header-lvl1-element>a {
    display: flex;
}

.site-logo {
    height: 67px;
    width: auto;
}

.header-link {
    gap: 4px;
}

.header-link>* {
    margin-top: auto;
    margin-bottom: auto;
}

.header-link>img {
    height: 24px;
    width: auto;
}

.header-link>span {
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.header-link:hover>span {
    color: var(--color-accent);
}

.header-lvl2 {
    padding: 28px;
    background-color: var(--color-surface-soft);
    border-radius: var(--radius-xl);
    display: flex;
    margin-bottom: 12px;
}

.header-lvl2>nav {
    display: flex;
    margin: auto;
}

.header-lvl2>nav>ul {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.header-lvl2>nav>ul>li>a {
    font-size: 22px;
    line-height: 28px;
    transition: var(--transition-fast);
}

.header-lvl2>nav>ul>li>a:hover {
    color: var(--color-accent);
}

/* Уровень 1 */
.home-big-slider-lvl1 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 50px;
}

/* Левый блок: текст сверху, кнопка прижата к низу */
.home-big-slider-lvl1-left {
    width: calc(42% - (24px * 1 / 2));
    padding: 40px;
    background-color: var(--color-surface-soft);
    border-radius: var(--radius-xl);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* чтобы дети не растягивались по ширине */
}

/* Правый блок */
.home-big-slider-lvl1-right {
    width: calc(58% - (24px * 1 / 2));
    background-color: var(--color-accent);
    border-radius: var(--radius-xl);
    min-height: 724px;
}

/* Заголовок */
.home-big-slider-lvl1-left>h1 {
    font-size: 57px;
    font-weight: 700;
    line-height: 64px;
    text-transform: uppercase;
    letter-spacing: -0.25px;
    margin: 0 0 32px;
    width: 100%;
}

/* Подзаголовок */
.home-big-slider-lvl1-left>p {
    font-size: 32px;
    line-height: 40px;
    max-width: 552px;
    margin: 0;
}

/* Кнопка: прижимаем к низу блока и не даём растянуться */
.home-big-slider-lvl1-left .button-style1 {
    margin-top: auto;
    align-self: flex-start;
}

/* Базовый стиль кнопки */
.button-style1 {
    padding: 18px 80px;
    background-color: var(--color-accent);
    border-radius: var(--radius-md);
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    text-decoration: none;
}

.button-style1:hover {
    background-color: var(--color-text-main);
}

/* Уровень 2 */
.home-big-slider {
    position: relative;
}

.home-big-slider-lvl2 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;

    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;

    pointer-events: none;
}

.home-big-slider-lvl2-left {
    width: calc(44% - (24px * 1 / 2));
}

.home-big-slider-lvl2-right {
    width: calc(56% - (24px * 1 / 2));
    background-position: bottom right;
    background-repeat: no-repeat;
}

.home-podbor>h2 {
    margin-bottom: 24px;
    font-size: 45px;
    font-weight: 600;
    line-height: 52px;
}




/* === ОБЩЕЕ ДЛЯ СЕКЦИИ ФОРМЫ === */

.home-podbor-form-section {
    width: 100%;
}

.home-podbor-form-section-form {
    display: flex;
    align-items: center;
    margin-bottom: 90px;
}

.home-podbor-form-section-fields {
    display: flex;
    align-items: stretch;
    gap: 8px;
    /* отступы между полями */
    flex: 1 1 auto;
}

/* Общий стиль поля (селекты и инпут) */
.home-podbor-form-section-field {
    background-color: var(--color-surface-soft);
    border-radius: var(--radius-xl);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 0;
    /* все поля одинаковой ширины */
}

/* ===== КАСТОМНЫЙ СЕЛЕКТ ===== */

/* нативный select — только для формы, визуально скрываем */
.home-podbor-form-section-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 28px;
    font-family: inherit;
    color: var(--color-text-main);
    padding: 0;
    outline: none;
}

/* прячем native select */
.home-podbor-form-section-select-native-hidden {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

/* обёртка селекта */
.home-podbor-form-section-field-select {
    position: relative;
    padding-right: 56px;
    /* место под стрелку справа */
}

/* видимое значение селекта */
.home-podbor-form-section-select-display {
    flex: 1 1 auto;
    font-size: 22px;
    line-height: 28px;
    font-family: inherit;
    color: var(--color-text-main);
    cursor: pointer;
}

/* стрелка (как в макете) */
.home-podbor-form-section-field-select::after {
    content: "";
    position: absolute;
    right: 32px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%) rotate(0deg);
    background-image: url('../img/angle-down.png');
    /* путь из css/ в img/ */
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: center;
    pointer-events: none;
    transition: transform 0.15s ease;
}

/* стрелка вверх, когда выпадающий список открыт */
.home-podbor-form-section-field-select.home-podbor-form-section-select-open::after {
    transform: translateY(-50%) rotate(180deg);
}

/* сам выпадающий список (кастомный) */
.home-podbor-form-section-select-dropdown {
    margin: 0;
    padding: 8px 0;
    list-style: none;
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    width: 100%;
    /* ширина = ширине блока */
    background-color: var(--color-surface-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dropdown);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.15s ease,
        transform 0.15s ease,
        visibility 0.15s ease;
    z-index: 30;
}

/* показываем дропдаун, когда открыто */
.home-podbor-form-section-field-select.home-podbor-form-section-select-open .home-podbor-form-section-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* отдельный пункт списка */
.home-podbor-form-section-select-option {
    padding: 10px 32px;
    font-size: 20px;
    line-height: 26px;
    cursor: pointer;
    white-space: nowrap;
}

.home-podbor-form-section-select-option:hover {
    background-color: var(--color-surface-hover);
}

.home-podbor-form-section-select-option.is-selected {
    font-weight: 500;
}

/* ===== ИНПУТ "СТОИМОСТЬ ДО" ===== */

.home-podbor-form-section-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 28px;
    font-family: inherit;
    color: var(--color-text-main);
    padding: 0;
    outline: none;
}

.home-podbor-form-section-input::placeholder {
    color: var(--color-text-main);
    opacity: 1;
}

/* ===== КНОПКА ===== */

.home-podbor-form-section-button {
    margin-left: 24px;
    /* отступ между последним полем и кнопкой */
    padding: 18px 48px;
    border-radius: var(--radius-md);
    border: none;
    background-color: var(--color-accent);
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 24px;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--transition-fast);
}

.home-podbor-form-section-button:hover {
    background-color: var(--color-text-main);
}









/* Внешний контейнер карусели — на всю ширину */
.home-slider-product-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 32px;
    margin-bottom: 140px;
}

/* Лента с товарами */
.home-slider-product-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    padding-bottom: 8px;

    cursor: grab;
    user-select: none;

    /* прячем скроллбар */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-slider-product-list::-webkit-scrollbar {
    display: none;
}

/* Во время драга — другой курсор (scroll-snap больше нет) */
.home-slider-product-list.home-slider-product-list--dragging {
    cursor: grabbing;
}

/* Карточка товара */
.home-slider-product-item {
    flex: 0 0 280px;
    /* фиксированная ширина */
    display: block;
    height: 266px;
    background-color: var(--color-surface-soft);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-size: 18px;
    line-height: 24px;
    transition: background-color var(--transition-fast);
}

/* Ховер: только цвет, без подпрыгивания */
.home-slider-product-item:hover {
    background-color: var(--color-accent);
}

.home-slider-product-item-content>h3 {
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: var(--transition-fast);
}


.home-slider-product-item-content>p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.home-slider-product-item-content:hover>h3,
.home-slider-product-item-content:hover>p {
    color: var(--color-text-light);
}

.home-slider-product-item-content {
    padding: 24px;
    height: 100%;
    border-radius: var(--radius-lg);
    background-color: var(--color-surface-soft);
    color: var(--color-text-dark);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    transition: var(--transition-fast);
}

.home-slider-product-item-content:hover {
    background-color: var(--color-accent);
}



.container2 {
    max-width: 1190px;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: auto;
    margin-right: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 равные колонки */
    gap: 24px;
    margin-bottom: 160px;
}

/* Картинки растягиваем на всю ячейку */
.container2 img {
    width: 100%;
    display: block;
}

/* 1-я картинка — занимает 2 колонки в первом ряду */
.container2 img:nth-child(1) {
    grid-column: 1 / span 2;
}

/* 2-я картинка — в третьей колонке первого ряда */
.container2 img:nth-child(2) {
    grid-column: 3 / span 1;
}

/* Остальные (3,4,5) сами встанут во второй ряд по 1 ячейке */






.home-db-slide {
    margin-bottom: 60px;
    background-color: var(--color-accent);
    border-radius: var(--radius-xl);
    display: flex;
}

.home-db-slide-bg {
    padding: 68px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.home-db-slide-sod {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.home-db-slide-sod>p {
    margin-bottom: 40px;
    color: var(--color-text-light);
    font-size: 36px;
    line-height: 44px;
    text-align: center;
}

.home-db-slide-sod>h2 {
    text-align: center;
    color: var(--color-text-light);
    font-size: 45px;
    line-height: 52px;
    font-weight: 600;
    margin-bottom: 72px;
}

.home-db-slide-sod-time>p {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
    text-align: center;
}

.home-db-slide-sod-time-sect {
    display: flex;
}

.home-db-slide-sod-time-sect-time {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    gap: 44px;
}

.home-db-slide-sod-time-sect-time>.home-db-slide-sod-time-sect-time-block:first-of-type {
    margin-left: auto;
}

.home-db-slide-sod-time-sect-time>.home-db-slide-sod-time-sect-time-block:last-of-type {
    margin-right: auto;
}

.home-db-slide-sod-time-sect-time>.home-db-slide-sod-time-sect-time-block>p:first-of-type {
    color: var(--color-text-light);
    font-size: 45px;
    line-height: 52px;
    text-align: center;
}

.home-db-slide-sod-time-sect-time>.home-db-slide-sod-time-sect-time-block>p:last-of-type {
    color: var(--color-text-light);
    text-align: center;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.25px;
}

.home-db-slide-sod-time {
    margin-bottom: 72px;
}

.home-db-slide-sod-button {
    width: 100%;
    display: flex;
}

.home-db-slide-sod-button>a {
    margin-left: auto;
    margin-right: auto;
}

.button-style2 {
    color: var(--color-text-main);
    padding: 21px 44px;
    background-color: var(--color-text-light);
    border-radius: var(--radius-md);
    display: inline-flex;
    transition: var(--transition-fast);
}

.button-style2:hover {
    background-color: var(--color-text-main);
    color: var(--color-text-light);
}

.home-etape-sect {
    background-color: var(--color-surface-muted);
    padding-top: 100px;
    padding-bottom: 100px;
    margin-bottom: 100px;
}

.container3 {
    max-width: 1186px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.home-etape-sect>div>h2 {
    max-width: 960px;
    font-size: 45px;
    line-height: 52px;
    font-weight: 600;
    margin-bottom: 24px;
}

.home-etape-sect>div>p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
}

.home-etape-sect-img {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.home-etape-sect-img>div {
    width: calc(100% / 2 - (24px * 1 / 2));
}

.home-etape-sect-img-left {
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
}

.home-etape-sect-img-left>img {
    width: calc(100% / 2 - (23px * 1 / 2));
}





.home-cotact-form {
    background-color: var(--color-accent);
    border-radius: var(--radius-xl);
    margin-bottom: 100px;
}

.home-cotact-form-sod {
    padding: 32px;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: calc(100% - 398px);
}

.home-cotact-form-sod>h2 {
    max-width: 670px;
    font-size: 45px;
    line-height: 52px;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.home-cotact-form-sod-form-sect {
    max-width: 398px;
}




/* Обёртка формы */
.home-cotact-form-sod-form-sect-form {
    width: 100%;
}

/* Группа поля */
.home-cotact-form-sod-form-sect-field {
    margin-bottom: 16px;
}

/* Последнее поле — отступ до кнопки 40px */
.home-cotact-form-sod-form-sect-field--last {
    margin-bottom: 40px;
}

/* Подпись над полем */
.home-cotact-form-sod-form-sect-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    line-height: 16px;
    color: var(--color-text-light);
}

/* Поле ввода */
.home-cotact-form-sod-form-sect-input {
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    border: none;
    outline: none;
    background-color: var(--color-white-20);
    /* белый на 20% */
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    box-sizing: border-box;
}

.home-cotact-form-sod-form-sect-input::placeholder {
    color: var(--color-white-80);
}

/* Ошибка под полем */
.home-cotact-form-sod-form-sect-error {
    margin-top: 4px;
    font-size: 11px;
    line-height: 16px;
    color: var(--color-error);
    min-height: 16px;
}

/* Состояние ошибки */
.home-cotact-form-sod-form-sect-input.home-cotact-form-sod-form-sect-input--error {
    box-shadow: 0 0 0 1px var(--color-error);
}

.home-otzivi {
    background-color: var(--color-surface-muted);
    padding-top: 100px;
    padding-bottom: 100px;
    margin-bottom: 100px;
}

.home-otzivi h2 {
    margin-bottom: 24px;
    font-size: 45px;
    line-height: 52px;
    font-weight: 600;
}




/* ===== Слайдер отзывов ===== */

.home-otzivi-sami-otizivi-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 32px;
}

.home-otzivi-sami-otizivi-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;

    cursor: grab;
    user-select: none;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-otzivi-sami-otizivi-list::-webkit-scrollbar {
    display: none;
}

.home-otzivi-sami-otizivi-list.home-otzivi-sami-otizivi-list--dragging {
    cursor: grabbing;
}

.home-otzivi-sami-otizivi-otz {
    flex: 0 0 453px;
    /* ширина карточки отзыва */
    background-color: var(--color-text-light);
    border-radius: 24px;
    padding: 24px;
    box-sizing: border-box;
}

.home-otzivi-sami-otizivi-otz-lvl1 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.home-otzivi-sami-otizivi-otz-lvl1-left {
    display: flex;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 40px;
    gap: 8px;
}

.home-otzivi-sami-otizivi-otz-lvl1-left>img {
    height: 48px;
    width: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.home-otzivi-sami-otizivi-otz-lvl1-left>p {
    font-size: 24px;
    line-height: 32px;
    margin-top: auto;
    margin-bottom: auto;
}

.home-otzivi-sami-otizivi-otz-lvl1-right {
    margin-left: auto;
    display: grid;
}

.home-otzivi-sami-otizivi-otz-lvl1-right-lv {
    display: flex;
    gap: 2px;
    margin-bottom: auto;
}

.home-otzivi-sami-otizivi-otz-lvl1-right>p {
    text-align: right;
    color: #000000;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.home-otzivi-sami-otizivi-otz>p {
    color: #000000;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.5px;
}

.home-last-sect {
    margin-bottom: 100px;
    position: relative;
}

.home-last-sect-lvl1-content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.home-last-sect-lvl1-content-left {
    width: calc(60% - (24px * 1 / 2));
    min-height: 724px;
    background-color: var(--color-accent);
    border-radius: var(--radius-xl);
    display: flex;
    padding: 32px;
}

.home-last-sect-lvl1-content-left>p {
    max-width: 430px;
    text-align: right;
    margin-left: auto;
    color: var(--color-text-light);
    font-size: 45px;
    line-height: 52px;
    font-weight: 600;
}

.home-last-sect-lvl1-content-right-lvl1 {
    min-height: 426px;
    margin-bottom: 24px;
    background-color: var(--color-accent);
    border-radius: var(--radius-xl);
}

.home-last-sect-lvl1-content-right-lvl2 {
    background-color: var(--color-accent);
    border-radius: var(--radius-xl);
    min-height: 274px;
    display: flex;
    padding: 32px;
}

.home-last-sect-lvl1-content-right-lvl2>a {
    margin: auto;
}

.home-last-sect-lvl1-content-right {
    width: calc(40% - (24px * 1 / 2));
}

.home-last-sect-lvl2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    pointer-events: none;
}

.home-last-sect-lvl-left {
    width: calc(60% - (24px * 1 / 2));
    height: 100%;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.home-last-sect-lvl-right {
    width: calc(40% - (24px * 1 / 2));
    height: 100%;
    background-position: top right;
    background-repeat: no-repeat;
}

.header-lvl2>nav>ul>li>a.header-link-active,
.mobile-menu-nav a.header-link-active {
    color: var(--color-accent);
}

.contacts-page-main {
    padding-top: 12px;
}

.contacts-intro {
    background-color: var(--color-surface-soft);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    margin-bottom: 40px;
}

.contacts-intro>h1 {
    font-size: 45px;
    line-height: 52px;
    font-weight: 600;
    margin-bottom: 16px;
}

.contacts-intro>p {
    max-width: 900px;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 24px;
}

.contacts-intro-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contacts-intro-item {
    width: calc(100% / 3 - (16px * 2 / 3));
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--color-bg-page);
    border-radius: var(--radius-md);
    padding: 20px;
}

.contacts-intro-item>img {
    width: 24px;
    height: 24px;
}

.contacts-intro-item>span {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.contacts-intro-item:hover>span {
    color: var(--color-accent);
}

.contacts-map {
    margin-bottom: 40px;
}

.contacts-map>iframe {
    border-radius: var(--radius-xl);
    width: 100%;
}

.contacts-form-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.4;
}

.contacts-form-notice--success {
    background: #eaf8ef;
    color: #17643a;
}

.contacts-form-notice--error {
    background: #fdecec;
    color: #8a2121;
}

.footer-block {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-block-left {
    width: calc(76% - (32px * 2 / 3));
}

.footer-block-left>iframe {
    border-radius: var(--radius-sm);
}

.footer-block-center {
    width: calc(3% - (32px * 2 / 3));
}

.footer-block-center>a {
    display: flex;
}

.footer-block-center>a>img {
    width: 24px;
    height: auto;
    margin-left: auto;
}

.footer-block-right {
    width: calc(21% - (32px * 2 / 3));
}

.footer-block-center>a:not(:last-of-type) {
    margin-bottom: 40px;
}

.footer-block-right>a {
    display: flex;
    gap: 4px;
}

.footer-block-right>a:not(:last-of-type) {
    margin-bottom: 40px;
}

.footer-block-right>a>img {
    width: 24px;
    height: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.footer-block-right>a>p {
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-block-right>a:hover>p {
    color: var(--color-accent);
}







footer {
    background-color: var(--color-text-main);
    padding-top: 100px;
    padding-bottom: 100px;
}


@media (max-width: 2200px) {
    .home-last-sect-lvl-left {
        background-position: left bottom;
    }
}


@media (max-width: 1920px) {
    .home-big-slider-lvl2-right {
        background-position: left bottom;
    }

    .home-last-sect-lvl-left {
        background-position: right bottom;
    }

    .home-last-sect-lvl-right {
        background-position: top left;
    }
}

@media (max-width: 1700px) {
    .home-big-slider-lvl1-left>h1 {
        font-size: 45px;
        line-height: 52px;
    }
}

@media (max-width: 1400px) {
    .contacts-intro>h1 {
        font-size: 34px;
        line-height: 46px;
    }

    .contacts-intro>p {
        font-size: 16px;
        line-height: 24px;
    }

    .footer-block-left {
        width: calc(65% - (32px * 2 / 3));
    }

    .footer-block-right {
        width: calc(30% - (32px * 2 / 3));
    }

    .footer-block-center {
        width: calc(5% - (32px * 2 / 3));
    }

    .home-big-slider-lvl1-left>h1 {
        font-size: 34px;
        line-height: 46px;
    }

    .home-big-slider-lvl1-left>p {
        font-size: 27px;
        line-height: 36px;
    }

    .header-lvl2>nav>ul>li>a {
        font-size: 18px;
        line-height: 24px;
    }

    .header-lvl2>nav>ul {
        gap: 30px;
    }
}

@media (max-width: 1100px) {
    .contacts-intro-item {
        width: calc(100% / 2 - 8px);
    }

    .home-big-slider-lvl1-left {
        width: 100%;
    }

    .home-big-slider-lvl1-right {
        display: none;
    }

    .home-big-slider-lvl2 {
        display: none;
    }

    .home-big-slider-lvl1-left>p {
        margin-bottom: 60px;
    }

    /* форма в колонку */
    .home-podbor-form-section-form {
        flex-direction: column;
        align-items: stretch;
    }

    /* поля — в две колонки по 50% */
    .home-podbor-form-section-fields {
        flex-wrap: wrap;
    }

    .home-podbor-form-section-field {
        flex: 0 0 calc(50% - 4px);
        /* по 50%, минус половина gap (8px) */
    }

    /* кнопка под полями, на всю ширину */
    .home-podbor-form-section-button {
        margin-left: 0;
        margin-top: 24px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .home-etape-sect-img>div {
        width: 100%;
    }

    .home-etape-sect-img-right>img {
        width: 100%;
    }

    .footer-block-left {
        width: 100%;
    }

    .footer-block-center {
        width: auto;
    }

    .footer-block-right {
        width: auto;
    }

    .header-lvl2>nav>ul>li>a {
        font-size: 16px;
        line-height: 20px;
    }
}

@media (min-width: 900px) {
    .mobil-menu-element {
        display: none;
    }

    #mobile-menu {
        display: none;
    }
}

@media (max-width: 900px) {
    .header-lvl2 {
        display: none;
    }

    .header-lvl1-element {
        width: calc(100% / 2 - (24px * 1 / 2));
    }

    .header-lvl1-element:not(:first-of-type)>a {
        display: none;
    }

    .header-lvl1-element:first-of-type>a {
        margin-left: 0px;
    }

    .home-last-sect-lvl1-content-left {
        width: 100%;
    }

    .home-last-sect-lvl1-content-right-lvl1 {
        display: none;
    }

    .home-last-sect-lvl1-content-right {
        width: 100%;
    }

    .home-last-sect-lvl-right {
        display: none;
    }

    .home-last-sect-lvl-left {
        width: 100%;
        background-position: right top;
    }

    .home-last-sect-lvl1-content-left {
        min-height: 600px;
    }

    .home-last-sect-lvl1-content-right-lvl2 {
        min-height: 150px;
    }

    .header-lvl1 .header-lvl1-element:nth-child(3),
    .header-lvl1 .header-lvl1-element:nth-child(4) {
        display: none;
    }

    .mobil-menu-element {
        display: flex;
        margin-right: 0px;
        cursor: pointer;
    }

    .mobil-menu-element>img {
        height: 40px;
        width: auto;
        transition: var(--transition-fast);
    }

    .mobil-menu-element:hover>img {
        filter: invert(67%) sepia(51%) saturate(1719%) hue-rotate(327deg) brightness(101%) contrast(103%);
    }


    /* === Оверлей мобильного меню === */
    .mobile-menu {
        position: fixed;
        inset: 0;
        background-color: var(--color-surface-soft);
        z-index: 9999;

        display: none;
        /* скрыто по умолчанию */
        justify-content: center;
        align-items: flex-start;
        padding: 24px;
        box-sizing: border-box;
    }

    .mobile-menu.mobile-menu--open {
        display: flex;
    }

    /* Внутренний контейнер */
    .mobile-menu-inner {
        width: 100%;
        max-width: 1190px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    /* Кнопка закрытия */
    .mobile-menu-close {
        align-self: flex-end;
        border: none;
        background: none;
        padding: 0;
        cursor: pointer;
    }

    .mobile-menu-close img {
        width: 32px;
        height: 32px;
        display: block;
    }

    /* Навигация в мобильном меню (похожа на header-lvl2) */
    .mobile-menu-nav {
        margin-top: 32px;
    }

    .mobile-menu-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;

        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .mobile-menu-nav a {
        font-size: 22px;
        line-height: 28px;
        color: var(--color-text-main);
        text-decoration: none;
        transition: color var(--transition-fast);
    }

    .mobile-menu-nav a:hover {
        color: var(--color-accent);
    }

    /* Блокировка скролла страницы при открытом меню */
    body.mobile-menu-open {
        overflow: hidden;
    }



}

@media (max-width: 700px) {
    .contacts-intro {
        padding: 30px 24px;
        margin-bottom: 24px;
    }

    .contacts-intro>h1 {
        font-size: 28px;
        line-height: 34px;
    }

    .contacts-intro-item {
        width: 100%;
        min-height: auto;
        padding: 16px;
    }

    .contacts-map {
        margin-bottom: 24px;
    }

    .home-big-slider-lvl1-left>h1 {
        font-size: 23px;
        line-height: 35px;
    }

    .home-big-slider-lvl1-left>p {
        font-size: 18px;
        line-height: 28px;
    }

    .home-big-slider-lvl1-left {
        padding: 30px;
    }

    .button-style1 {
        padding: 18px 20px;
    }

    .home-podbor>h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .home-podbor-form-section-field {
        flex: 0 0 100%;
        width: 100%;
    }


    .container2 {
        /* полностью отключаем grid и включаем flex */
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
    }

    /* базово — все картинки по 50% */
    .container2 img {
        width: calc(50% - 12px);
        /* половина ширины минус половина gap */
        display: block;
    }

    /* первая — на всю ширину */
    .container2 img:first-child {
        width: 100%;
    }

    .home-db-slide-bg {
        padding: 40px;
    }

    .home-db-slide-sod>p {
        font-size: 24px;
        line-height: 32px;
    }

    .home-db-slide-sod>h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .button-style2 {
        padding: 14px;
    }

    .home-db-slide-sod-time-sect-time>.home-db-slide-sod-time-sect-time-block>p:first-of-type {
        font-size: 38px;
        line-height: 46px;
    }

    .home-etape-sect>div>h2 {
        font-size: 28px;
        line-height: 32px;
    }

    .home-cotact-form-sod>h2 {
        font-size: 28px;
        line-height: 32px;
    }

    .home-otzivi h2 {
        font-size: 28px;
        line-height: 32px;
    }

    .home-otzivi-sami-otizivi-otz {
        flex: 0 0 330px;
    }

    .home-otzivi-sami-otizivi-otz-lvl1-left {
        width: 100%;
    }

    .home-otzivi-sami-otizivi-otz-lvl1-right {
        margin-left: 0px;
    }

    .home-otzivi-sami-otizivi-otz-lvl1-right>p {
        text-align: left;
        margin-top: 10px;
    }

    .home-last-sect-lvl1-content-left>p {
        font-size: 32px;
        line-height: 38px;
    }

    .footer-block-center {
        width: 100%;
        display: flex;
        gap: 24px;
    }

    .footer-block-center>a {
        display: block;
    }

    .footer-block-center>a:not(:last-of-type) {
        margin-bottom: 0px;
    }

    .footer-block-right>a:not(:last-of-type) {
        margin-bottom: 20px;
    }

    .home-slider-product-wrapper,
    .container2,
    .home-cotact-form,
    .home-etape-sect,
    .home-otzivi,
    .home-last-sect,
    .home-podbor-form-section-form {
        margin-bottom: 50px;
    }

    .home-etape-sect,
    .home-otzivi,
    footer {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .home-db-slide-sod>h2,
    .home-db-slide-sod>p,
    .home-db-slide-sod-time {
        margin-bottom: 30px;
    }

    .home-podbor-form-section-field {
        padding: 20px;
    }

    .home-podbor-form-section-select-display,
    .home-podbor-form-section-select-option,
    .home-podbor-form-section-input {
        font-size: 18px;
        line-height: 22px;
    }
}

/* 404 page */
.body-404 {
    display: flex;
    flex-direction: column;
}

.body-404 .main-404 {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
}

.page-404 {
    background-color: var(--color-surface-soft);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    margin-top: 24px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.page-404::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background-color: var(--color-accent-soft);
}

.page-404::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    left: -60px;
    bottom: -60px;
    border-radius: 50%;
    background-color: var(--color-text-main-soft);
}

.page-404__content {
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.page-404__code {
    font-size: 140px;
    line-height: 1;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.page-404__title {
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
    margin-bottom: 24px;
}

.page-404__text {
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 40px;
    max-width: 680px;
}

.product-page-main {
    padding: 100px 0;
}

.product-page-main-conent {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.product-page-main-conent > div:first-child {
    width: calc(60% - (24px * 0.65));
}

.product-page-main-conent > div:last-child {
    width: calc(40% - (24px * 0.35));
}

.container-product {
    max-width: 1194px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
  padding-right: 24px;
}

.product-gallery {
    display: flex;
    gap: 12px;
    height: 500px;
}

.product-gallery-main {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-surface-soft);
}

.product-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-gallery-thumbs {
    width: 119px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-gallery-thumb {
    width: 119px;
    height: 119px;
    border: 0;
    padding: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-surface-soft);
    cursor: pointer;
    transition: var(--transition-fast);
}

.product-gallery-thumb:hover,
.product-gallery-thumb.is-active {
    box-shadow: inset 0 0 0 2px var(--color-accent);
}

.product-gallery-thumb > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-page-main-conent-right > h1 {
    margin-bottom: 16px;
    font-size: 45px;
    line-height: 52px;
    font-weight: 600;
    color: var(--color-accent);
}

.product-price {
    margin-bottom: 4px;
    color: var(--color-text-main);
    font-size: 36px;
    line-height: 44px;
    font-weight: 400;
}

.product-info {
    color: var(--color-surface-muted);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-opis {
    color: var(--color-text-main);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    margin-bottom: 16px;
}

.product-kropis {
    color: var(--color-text-main);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.product-specs {
    max-width: 620px;
}

.product-specs-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.product-specs-key {
    margin-bottom: 0;
}

.product-specs-value {
    margin-bottom: 0;
    text-align: right;
    white-space: nowrap;
}

.product-cta-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 98px;
}

body.product-order-modal-open {
    overflow: hidden;
}

.product-order-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-overlay-dark);
    overflow-y: auto;
}

.product-order-modal[aria-hidden="true"] {
    display: none;
}

.product-order-modal-dialog {
    width: 100%;
    max-width: 1186px;
    min-height: 620px;
    max-height: calc(100vh - 48px);
    background-color: var(--color-surface-muted);
    border-radius: var(--radius-xl);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    column-gap: 36px;
    row-gap: 24px;
    padding: 36px 36px 28px;
    position: relative;
    overflow-y: auto;
}

.product-order-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-page);
    color: var(--color-text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    transition: var(--transition-fast);
}

.product-order-modal-close:hover {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

.product-order-modal-left {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.product-order-modal-title {
    grid-column: 1 / -1;
    width: 100%;
    font-size: 52px;
    line-height: 58px;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--color-text-dark);
}

.product-order-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-order-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-order-field > span {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-main);
}

.product-order-field > input,
.product-order-field > select {
    height: 56px;
    border: 1px solid var(--color-text-main);
    border-radius: var(--radius-sm);
    background-color: transparent;
    padding: 0 16px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--color-text-main);
    font-family: inherit;
}

.product-order-field > select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 56px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23353438' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 24px center;
    background-size: 14px 8px;
}

.product-order-field > input[readonly] {
    cursor: default;
}

.product-order-services {
    margin: 2px 0 22px;
    border: 0;
    padding: 0;
    display: grid;
    row-gap: 10px;
}

.product-order-services > legend {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-main);
}

.product-order-services-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.product-order-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-main);
}

.product-order-service > input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin: 0;
    border: 1px solid var(--color-text-main);
    border-radius: 8px;
    background-color: var(--color-surface-control);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 12px;
    transition: var(--transition-fast);
}

.product-order-service > input:checked {
    background-color: var(--color-text-main);
    border-color: var(--color-text-main);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12' fill='none'%3E%3Cpath d='M1 6L6 11L15 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.product-order-service > input:hover {
    border-color: var(--color-accent);
}

.product-order-service > input:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 1px;
}

.product-order-modal-submit {
    margin-top: auto;
    width: 222px;
    min-height: 60px;
    border-radius: var(--radius-md);
    background-color: var(--color-text-light);
    color: var(--color-text-main);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    transition: var(--transition-fast);
}

.product-order-modal-submit:hover {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

.product-order-modal-right {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.product-order-modal-right > img {
    width: 100%;
    max-width: 640px;
    max-height: 520px;
    object-fit: contain;
    object-position: right bottom;
}

@media (max-width: 1400px) {
    .product-page-main-conent-right > h1 {
        font-size: 38px;
        line-height: 46px;
    }

    .product-price {
        font-size: 32px;
        line-height: 40px;
    }

    .product-order-modal-title {
        font-size: 42px;
        line-height: 48px;
    }

    .product-order-field > input,
    .product-order-field > select {
        font-size: 16px;
    }

    .product-order-service {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 1100px) {
    .product-page-main {
        padding: 70px 0;
    }

    .product-page-main-conent > div:first-child,
    .product-page-main-conent > div:last-child {
        width: 100%;
    }

    .product-gallery {
        height: auto;
        flex-direction: column;
    }

    .product-gallery-main {
        min-height: 420px;
    }

    .product-gallery-thumbs {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .product-gallery-thumb {
        width: 96px;
        height: 96px;
        flex: 0 0 96px;
    }

    .product-specs {
        max-width: none;
    }

    .product-cta-wrap {
        justify-content: flex-start;
        margin-top: 40px;
    }

    .product-order-modal {
        padding: 14px;
    }

    .product-order-modal-dialog {
        max-width: none;
        min-height: 0;
        max-height: calc(100vh - 28px);
        border-radius: var(--radius-lg);
        padding: 22px;
        column-gap: 18px;
        row-gap: 18px;
    }

    .product-order-modal-left {
        width: 100%;
    }

    .product-order-modal-title {
        font-size: 34px;
        line-height: 40px;
    }

    .product-order-field > input,
    .product-order-field > select {
        font-size: 16px;
        height: 52px;
    }

    .product-order-service {
        font-size: 15px;
        line-height: 22px;
    }

    .product-order-services-row {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .product-order-modal-submit {
        width: 100%;
        min-height: 54px;
        font-size: 16px;
        line-height: 24px;
    }

    .product-order-modal-right > img {
        max-height: 300px;
        max-width: 100%;
        object-position: right bottom;
    }
}

@media (max-width: 700px) {
    .product-page-main {
        padding: 40px 0;
    }

    .container-product {
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-page-main-conent {
        gap: 20px;
    }

    .product-gallery-main {
        min-height: 300px;
    }

    .product-page-main-conent-right > h1 {
        font-size: 30px;
        line-height: 36px;
    }

    .product-price {
        font-size: 28px;
        line-height: 34px;
    }

    .product-opis,
    .product-kropis {
        font-size: 15px;
        line-height: 22px;
    }

    .product-specs-row {
        flex-wrap: wrap;
        gap: 4px 12px;
        margin-bottom: 14px;
    }

    .product-specs-value {
        white-space: normal;
        text-align: left;
    }

    .product-cta-wrap {
        margin-top: 28px;
    }

    .product-cta-wrap .button-style1 {
        width: 100%;
        justify-content: center;
    }

    .product-order-modal {
        padding: 10px;
    }

    .product-order-modal-dialog {
        display: flex;
        padding: 16px;
        gap: 14px;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .product-order-modal-close {
        width: 34px;
        height: 34px;
        top: 12px;
        right: 12px;
        font-size: 24px;
    }

    .product-order-modal-title {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 14px;
        padding-right: 28px;
    }

    .product-order-field > span,
    .product-order-services > legend {
        font-size: 13px;
        line-height: 18px;
    }

    .product-order-field > input,
    .product-order-field > select {
        font-size: 15px;
        height: 48px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .product-order-field > select {
        padding-right: 42px;
        background-position: right 16px center;
    }

    .product-order-services {
        gap: 8px 12px;
        margin-bottom: 14px;
    }

    .product-order-service {
        font-size: 14px;
        line-height: 20px;
    }

    .product-order-service > input {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .product-order-modal-submit {
        min-height: 48px;
        font-size: 16px;
        line-height: 24px;
    }

    .product-order-modal-right {
        flex: 1 1 auto;
        justify-content: center;
    }

    .product-order-modal-right > img {
        max-height: 220px;
        object-position: center bottom;
    }
}

@media (max-width: 480px) {
    .product-gallery-main {
        min-height: 240px;
    }

    .product-gallery-thumb {
        width: 80px;
        height: 80px;
        flex-basis: 80px;
    }

    .product-page-main-conent-right > h1 {
        font-size: 26px;
        line-height: 32px;
    }
}

@media (max-width: 1100px) {
    .page-404 {
        padding: 64px 40px;
        margin-bottom: 64px;
    }

    .page-404__code {
        font-size: 116px;
    }

    .page-404__title {
        font-size: 40px;
        line-height: 46px;
    }

    .page-404__text {
        font-size: 22px;
        line-height: 30px;
    }
}

@media (max-width: 900px) {
    .body-404 .main-404 {
        align-items: stretch;
    }

    .page-404 {
        margin-bottom: 50px;
    }
}

@media (max-width: 700px) {
    .page-404 {
        border-radius: var(--radius-lg);
        padding: 40px 24px;
        margin-bottom: 40px;
    }

    .page-404__code {
        font-size: 80px;
        margin-bottom: 12px;
    }

    .page-404__title {
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 16px;
    }

    .page-404__text {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 28px;
    }

    .page-404 .button-style1 {
        width: 100%;
        justify-content: center;
        padding-left: 24px;
        padding-right: 24px;
    }
}

.catalog-page-main {
    padding-top: 12px;
    padding-bottom: 100px;
}

.catalog-hero {
    background-color: var(--color-surface-soft);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    margin-bottom: 24px;
}

.catalog-hero > h1 {
    font-size: 45px;
    line-height: 52px;
    font-weight: 600;
    margin-bottom: 16px;
}

.catalog-hero > p {
    max-width: 1000px;
    font-size: 18px;
    line-height: 28px;
}

.catalog-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.catalog-filters-wrap {
    width: calc(28% - (24px * 0.5));
}

.catalog-content {
    width: calc(72% - (24px * 0.5));
}

.catalog-filters {
    border-radius: var(--radius-xl);
    background-color: var(--color-surface-soft);
    padding: 28px 24px;
    position: sticky;
    top: 16px;
}

.catalog-filters > h2 {
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.catalog-field {
    display: block;
    margin-bottom: 14px;
}

.catalog-field > span {
    display: block;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.catalog-field input,
.catalog-field select {
    width: 100%;
    min-height: 56px;
    border: none;
    border-radius: var(--radius-md);
    background-color: var(--color-bg-page);
    color: var(--color-text-main);
    padding: 16px;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    outline: none;
}

.catalog-field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('../img/angle-down.png');
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: calc(100% - 16px) center;
    padding-right: 52px;
}

.catalog-field input:focus,
.catalog-field select:focus {
    box-shadow: inset 0 0 0 2px var(--color-accent);
}

.catalog-range {
    display: flex;
    gap: 8px;
}

.catalog-filters #catalog-apply {
    width: 100%;
    margin-bottom: 12px;
    padding: 16px 20px;
}

.catalog-reset {
    width: 100%;
    padding: 16px 20px;
}

.catalog-filters-toggle {
    display: none;
    width: 100%;
    margin-bottom: 12px;
    min-height: 52px;
    border: none;
    border-radius: var(--radius-md);
    background-color: var(--color-surface-soft);
    color: var(--color-text-main);
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    justify-content: center;
    align-items: center;
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.catalog-toolbar > p {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}

.catalog-toolbar > label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 24px;
}

.catalog-toolbar > label > select {
    min-height: 48px;
    border: none;
    border-radius: var(--radius-md);
    background-color: var(--color-surface-soft);
    padding: 12px 42px 12px 16px;
    font-size: 14px;
    line-height: 20px;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('../img/angle-down.png');
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: calc(100% - 16px) center;
}

.catalog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.catalog-card {
    width: calc(100% / 2 - 8px);
    border-radius: var(--radius-lg);
    background-color: var(--color-surface-soft);
    transition: var(--transition-fast);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.catalog-card-media {
    aspect-ratio: 16 / 9;
    background-color: var(--color-bg-page);
}

.catalog-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-card-body {
    padding: 18px;
}

.catalog-card-body > h3 {
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
    margin-bottom: 8px;
}

.catalog-card-body > p {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 12px;
    min-height: 44px;
}

.catalog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.catalog-card-tags > span {
    border-radius: 999px;
    background-color: var(--color-bg-page);
    padding: 6px 12px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
}

.catalog-card-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    justify-content: space-between;
}

.catalog-card-bottom > strong {
    font-size: 24px;
    line-height: 30px;
    color: var(--color-accent);
    font-weight: 700;
}

.catalog-empty {
    margin-top: 12px;
    border-radius: var(--radius-md);
    background-color: var(--color-surface-soft);
    padding: 18px;
    font-size: 16px;
    line-height: 24px;
}

.catalog-pagination {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.catalog-pagination-btn {
    min-width: 46px;
    height: 46px;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    background-color: var(--color-text-light);
    color: var(--color-accent);
    font-family: inherit;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    transition: var(--transition-fast);
    opacity: 1;
    cursor: pointer;
}

.catalog-pagination-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

.catalog-pagination-btn.is-active {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    opacity: 1;
    border-color: var(--color-accent);
    box-shadow: none;
}

.catalog-pagination-btn.is-active:hover {
    background-color: var(--color-text-main);
    border-color: var(--color-text-main);
}

.catalog-pagination-btn.is-disabled {
    border-color: var(--color-border);
    background-color: var(--color-surface-soft);
    color: var(--color-text-main);
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
}

.catalog-pagination-btn.is-disabled:hover {
    background-color: var(--color-surface-soft);
    border-color: var(--color-border);
    color: var(--color-text-main);
}

@media (max-width: 1400px) {
    .catalog-hero > h1 {
        font-size: 34px;
        line-height: 46px;
    }

    .catalog-card-body > h3 {
        font-size: 24px;
        line-height: 30px;
    }
}

@media (max-width: 1200px) {
    .catalog-filters-wrap,
    .catalog-content {
        width: 100%;
    }

    .catalog-filters {
        position: static;
    }

    .catalog-card {
        width: calc(100% / 3 - (16px * 2 / 3));
    }
}

@media (max-width: 1100px) {
    .catalog-card {
        width: calc(100% / 2 - 8px);
    }
}

@media (max-width: 700px) {
    .catalog-page-main {
        padding-bottom: 40px;
    }

    .catalog-hero {
        border-radius: var(--radius-lg);
        padding: 30px 24px;
    }

    .catalog-hero > h1 {
        font-size: 28px;
        line-height: 34px;
    }

    .catalog-hero > p {
        font-size: 16px;
        line-height: 24px;
    }

    .catalog-toolbar > label {
        width: 100%;
    }

    .catalog-toolbar > label > select {
        width: 100%;
    }

    .catalog-pagination-btn {
        min-width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .catalog-card {
        width: 100%;
    }

    .catalog-card-body > h3 {
        font-size: 22px;
        line-height: 28px;
    }

    .catalog-card-bottom > strong {
        font-size: 22px;
        line-height: 28px;
    }
}

@media (max-width: 900px) {
    .catalog-filters-toggle {
        display: flex;
    }

    .catalog-filters-wrap .catalog-filters {
        display: none;
    }

    .catalog-filters-wrap.catalog-filters-wrap--open .catalog-filters {
        display: block;
    }
}
