/* Mobile-only dark theme for .order-popup, matching .cart-popup styles */
@media (max-width: 767px) {
    .order-popup {
        background: #23272f !important;
        color: #fff !important;
        border-radius: 16px !important;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) !important;
        border: 1px solid #222 !important;
        font-family: 'Tilda', 'Manrope', 'Montserrat', Arial, sans-serif !important;
        font-size: 16px !important;
        padding: 24px 20px !important;
        /* Add any other cart-popup base styles here */
    }

    .order-popup .close,
    .order-popup .close-btn {
        background: transparent !important;
        color: #fff !important;
        border: none !important;
        font-size: 24px !important;
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.2s;
    }
    .order-popup .close:hover,
    .order-popup .close-btn:hover {
        opacity: 1;
    }

    /* Any additional cart-popup-specific styles for inner elements */
    .order-popup .popup-title,
    .order-popup .popup-header {
        color: #fff !important;
        font-weight: 700 !important;
        font-size: 20px !important;
        margin-bottom: 16px !important;
    }

    .order-popup .popup-content {
        color: #fff !important;
        font-size: 16px !important;
    }

    /* Remove any light backgrounds or borders from children */
    .order-popup [style*="background:#fff"],
    .order-popup [style*="background: #fff"],
    .order-popup [style*="background-color:#fff"],
    .order-popup [style*="background-color: #fff"] {
        background: #23272f !important;
        color: #fff !important;
        border-color: #444 !important;
    }
}
/* --- Тёмная тема для partner-popup только на мобильных --- */
@media (max-width: 480px) {
    .partner-popup {
        background: #23242a !important; /* тёмный фон, как у блока 'Контакты' */
        color: #fff !important;
        border-radius: 18px;
        box-shadow: 0 4px 24px 0 rgba(0,0,0,0.45);
    }

    #map {
        display: none;
    }

    .partner-popup-content div {
        color: #e0e0e0 !important;
        border-bottom: 1px solid #35363c;
        padding: 4px 0;
        font-size: 0.85rem;
    }
    .partner-popup-content div:last-child {
        border-bottom: none;
    }
    .partner-popup-close {
        color: #4e8cff !important;
        background: none;
        border: none;
        font-size: 2em;
        position: absolute;
        top: 10px;
        right: 16px;
        cursor: pointer;
        transition: color 0.2s;
    }
    .partner-popup-close:hover {
        color: #fff !important;
    }
    .partner-popup {
        box-shadow: 0 8px 32px 0 rgba(0,0,0,0.65);
    }
}
.bg-mobile {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 1146px;
    background: url('Images/newbg.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
}
/* --- Горизонтальный скролл каталога на мобильных --- */
@media (max-width: 480px) {
    .catalog {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        margin-left: -10px;
        margin-right: -10px;
        padding-bottom: 10px;
        scrollbar-width: thin;
        scrollbar-color: #ccc #f9f9f9;
    }
    .catalog::-webkit-scrollbar {
        height: 8px;
        background: #f9f9f9;
    }
    .catalog::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }
    .catalog .card {
        min-width: 80vw !important;
        max-width: 90vw !important;
        flex: 0 0 auto !important;
        margin-bottom: 0 !important;
        margin-right: 0;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .bg {
        display: none !important;
    }
    .bg-mobile {
        display: block;
    }
}
/* Мобильные преимущества в интро */
.intro-mobile-features {
    display: none;
}
@media (max-width: 480px) {
    .intro-mobile-features {
        display: block;
        margin-top: 70px;
        margin-bottom: 24px;
        margin-left: 25px;
    }
    .intro-mobile-features .feature-row {
        display: flex;
        align-items: flex-start;
        margin-bottom: 18px;
    }
    .intro-mobile-features .feature-icon {
        width: 20px;
        height: 20px;
        margin-right: 12px;
        flex-shrink: 0;
        margin-top: 2px;
    }
    .intro-mobile-features .feature-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .intro-mobile-features .feature-title {
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        margin-bottom: 2px;
        line-height: 1.2;
    }
    .intro-mobile-features .feature-desc {
        font-size: 16px;
        color: #fff;
        line-height: 1.3;
        margin-bottom: 0;
        font-weight: 100;
    }
}
/* Кнопка обратной связи для мобильных */
.mobile-feedback-btn {
    display: none;
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    background-color: #0088e3;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.5px;
    padding: 12px 32px;
    transition: background 0.2s, box-shadow 0.2s;
}
.mobile-feedback-btn:hover {
    background-color: #0e9eff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

@media (max-width: 480px) {
    .mobile-feedback-btn {
        display: block;
    }
}

/* POP-UP обратной связи */
.feedback-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(24, 26, 32, 0.92);
    backdrop-filter: blur(2px);
    z-index: 1200;
    justify-content: center;
    align-items: center;
}
.feedback-popup-overlay.show {
    display: flex;
    animation: popupFadeIn 0.3s;
}
.feedback-popup {
    background: linear-gradient(135deg, #23272f 0%, #181a20 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.55), 0 1.5px 8px 0 rgba(60,60,80,0.18);
    padding: 36px 28px 28px 28px;
    max-width: 95vw;
    width: 370px;
    position: relative;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    color: #f3f6fa;
    border: 1.5px solid #2d313a;
    transition: box-shadow 0.2s;
}
.feedback-popup-title {
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    color: #f3f6fa;
    letter-spacing: 0.01em;
}
.feedback-popup-subtitle {
    font-size: 1em;
    color: #b0b8c9;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 400;
}
.feedback-form input {
    width: 100%;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1.5px solid #353a45;
    background: #23272f;
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
    color: #f3f6fa;
    padding: 0 14px;
    outline: none;
    box-sizing: border-box;
    transition: border 0.2s, box-shadow 0.2s;
}
.feedback-form input:focus {
    border-color: #4e8cff;
    background: #23272f;
    box-shadow: 0 0 0 2px #4e8cff33;
}
.feedback-submit-btn {
    width: 100%;
    height: 44px;
    background: linear-gradient(90deg, #4e8cff 0%, #2563eb 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    margin-top: 8px;
    box-shadow: 0 2px 8px 0 rgba(78,140,255,0.10);
    letter-spacing: 0.01em;
    transition: background 0.18s, box-shadow 0.18s;
}
.feedback-submit-btn:hover {
    background: linear-gradient(90deg, #2563eb 0%, #4e8cff 100%);
    box-shadow: 0 4px 16px 0 rgba(78,140,255,0.18);
}
.feedback-popup-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    color: #7a8599;
    cursor: pointer;
    transition: color 0.18s;
    z-index: 2;
}
.feedback-popup-close:hover {
    color: #4e8cff;
}

/* Placeholder color for dark theme */
.feedback-form input::placeholder {
    color: #7a8599;
    opacity: 1;
}
.intro-mobile-btn {
    display: none;
}

@media (max-width: 480px) {
    .intro-mobile-btn {
        display: block;
        width: 180px;
        height: 55px;
        margin-left: 30px;
        margin-top: 50px;
        border: 2px solid #fff;
        background: transparent;
        color: #fff;
        font-size: 15px;
        font-family: 'Manrope', sans-serif;
        font-weight: 600;
        border-radius: 10px;
        cursor: pointer;
        transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
        box-shadow: 0 0 0 rgba(255,255,255,0);
        position: relative;
        z-index: 10;
    }
    .intro-mobile-btn:active {
        box-shadow: 0 0 24px 4px rgba(255,255,255,0.5);
        transform: scale(0.97);
        background: rgba(255,255,255,0.08);
    }
}
/* Мобильное бургер-меню */
.catalog-popup-cart-btn {
    position: absolute;
    right: 40px;
    bottom: 32px;
    width: 200px;
    height: 45px;
    background-color: #0088e3;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.5px;
    transition: background 0.2s, box-shadow 0.2s;
    z-index: 10;
}
.catalog-popup-cart-btn:hover {
    background-color: #0e9eff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

@font-face {
    font-family: 'TildaSans';
    src: url('Fonts/TildaSans-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('Fonts/TildaSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('Fonts/TildaSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('Fonts/TildaSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('Fonts/TildaSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('Fonts/TildaSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'TildaSans';
    src: url('Fonts/TildaSans-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('Fonts/Manrope-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('Fonts/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('Fonts/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('Fonts/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('Fonts/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('Fonts/Manrope-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('Fonts/Manrope-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

body {
    font-family: 'TildaSans', sans-serif;
    margin: 0; /* Убираем отступы */
    background-color: #f2f2f2;
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    z-index: 1000; /* Добавлено для поверхностного слоя */
}

.header .container {
    width: 100%;
    max-width: 1200px; /* Максимальная ширина контейнера */
    margin: 0 auto; /* Центрирование контейнера */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative; /* Добавлено */
}

.header .logo img {
    width: 110px;
    height: auto;
}

.header .menu {
    display: flex;
    gap: 20px;
}

.header .menu a {
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: 700; /* Bold */
    text-transform: uppercase;
    font-family: 'TildaSans', sans-serif;
    margin-left: 20px;
}

.header .menu a.active {
    color: #bdbdbd; /* Серый цвет для активной кнопки */
}

.company-name {
    margin-top: 187px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.intro {
    text-align: left;
    width: 100%;
    max-width: 1200px; /* Максимальная ширина контейнера */
    margin: 0 auto; /* Центрирование содержимого */
    margin-top: 195px;
    color: white;
    height: 100vh;
    margin-bottom: 150px
}

.intro .text1 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
}

.intro .text2 {
    font-size: 43px;
    margin-top: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    transform: scaleY(1.01);
}

.text2_mobile {
    display: none;
}

.text3_mobile {
    display: none;
}


.intro .text3 {
    margin-top: 20px;
    font-size: 24px;
    line-height: 35px;
    font-weight: 200;
}

.second-section {
    position: relative;
    z-index: 1;
    text-align: left;
    width: 100%;
    max-width: 1200px; /* Максимальная ширина контейнера */
    margin: 0 auto; /* Центрирование содержимого */
    padding: 0 20px; /* Добавлено для отступов внутри контейнера */
    box-sizing: border-box; /* Учитываем отступы в ширине */
    margin-top: -195px;
}

.background {
    display: none; /* Скрыть старый фон */
}

.background-container {
    position: absolute; /* Изменено на absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Высота экрана */
    z-index: -1; /* Поместить за содержимым */
    background-color: black;
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 2.5s ease;
}

#bg1 {
    background-image: url('Images/back1.jpg');
    opacity: 1;
    animation: initialFadeIn 0.5s ease forwards;
}

#bg2 {
    background-image: url('Images/back2.jpg');
    animation: fadeCycle 24s infinite 6s;
}

#bg3 {
    background-image: url('Images/back3.jpg');
    animation: fadeCycle 24s infinite 12s;
}

#bg4 {
    background-image: url('Images/back4.jpg');
    animation: fadeCycle 24s infinite 18s;
}

@keyframes initialFadeIn {
    0% {
        opacity: 0;
        background-color: #1a1a1a;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeCycle {
    0% {
        opacity: 0;
    }
    10.42% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    35.42% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.white-box {
    width: 360px;
    height: 444px;
    background-color: white;
    position: relative;
    margin-left: auto;
    margin-right: 40px;
    transform: translateY(-67.5%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    color: black;
}

.white-box .text1 {
    font-size: 18px;
    font-weight: 600;
    margin: 14px 14px;
    letter-spacing: 0px;
    transform: scaleY(0.999);
}

.white-box .text2 {
    font-size: 14px;
    font-weight: 300;
    margin: 14px 14px;
    letter-spacing: 0px;
}

.white-box input {
    width: calc(100% - 30px);
    height: 50px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 10px;
    margin: 10px 13px;
    padding: 0 15px;
    box-sizing: border-box;
    font-family: 'TildaSans', sans-serif;
    font-size: 15px;
    outline: none; /* Убирает обводку при фокусе */
    caret-color: #474851;
}

.white-box button {
    width: calc(100% - 30px);
    height: 50px;
    border: none;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    color: rgb(38, 37, 37);
    font-weight: 600;
    margin: 10px 15px;
    cursor: pointer;
    font-family: 'TildaSans', sans-serif;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 -2px 4px rgba(0, 0, 0, 0.05); /* Добавлена тень сверху */
    transition: box-shadow 0.3s ease; /* Плавный переход тени */
}

.white-box button:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 -4px 8px rgba(0, 0, 0, 0.1); /* Усиление тени при наведении */
}

.second-section .white-box {
    width: 1200px; /* Установить ширину в 100% */
    max-width: 1157.5px; /* Максимальная ширина */
    height: 360px;
    background-color: white;
    border-radius: 20px;
    margin-left: -19px;
}

.second-section .white-box .column {
    display: inline-block;
    vertical-align: top;
    width: 22%; /* Ширина каждого столбца */
    margin-top: 55px;
}

.second-section .white-box .column:last-child {
    margin-right: 0; /* Убираем отступ у последнего столбца */
}

.second-section .white-box .text1,
.second-section .white-box .text2,
.second-section .white-box .text3,
.second-section .white-box .text4 {
    font-size: 32px;
    margin: 14px 14px;
    letter-spacing: 0px;
    transform: scaleY(0.999);
    color: #008ce9;
    font-weight: 400;
}

.second-section .white-box .text1_1,
.second-section .white-box .text2_2,
.second-section .white-box .text3_3,
.second-section .white-box .text4_4 {
    font-size: 16px;
    font-weight: 400;
    margin: 40px 14px;
    letter-spacing: 0px;
}

.second-section .white-box .text1,
.second-section .white-box .text2,
.second-section .white-box .text3,
.second-section .white-box .text4,
.second-section .white-box .text1_1,
.second-section .white-box .text2_2,
.second-section .white-box .text3_3,
.second-section .white-box .text4_4 {
    font-family: 'Manrope', sans-serif;
}

.column {
    margin-top: 45px;
    margin-left: 25px;
}

/* Схема работы — десктоп */
.scheme-title {
    text-align: center;
    font-size: 40px;
    font-family: 'TildaSans', sans-serif;
    font-weight: 600;
    color: rgb(44, 44, 44);
    margin-top: -185px;
}

/* Схема работы — мобильная версия */
@media (max-width: 480px) {
    .scheme-title {
        text-align: center;
        font-size: 28px;
        color: #fff;
        margin-bottom: 18px;
        font-family: 'TildaSans', sans-serif;
        font-weight: 700;
    }
    .scheme-step {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 30px;
        margin-left: 0;
        margin-right: 0;
        padding: 0 4vw;
        position: static;
        background: none;
        box-shadow: none;
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .scheme-step::before {
        display: none;
    }
    .scheme-step .step {
        margin-left: -15px;
        width: 97.1% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 20px;
        background: rgba(255,255,255,0.08);
        border-radius: 14px;
        padding: 18px 4vw 18px 4vw;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        box-sizing: border-box;
    }
    .scheme-step .circle {
        min-width: 34px;
        min-height: 34px;
        width: 34px;
        height: 34px;
        background-color: #008ce9;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 0;
        margin-right: 12px;
        box-shadow: 0 2px 8px rgba(0,140,233,0.10);
    }
    .scheme-step .text {
        font-size: 15px;
        color: #fff;
        text-align: left;
        font-family: 'Manrope', sans-serif;
        line-height: 1.5;
        font-weight: 400;
    }
    .scheme-step .text b {
        font-weight: 700;
        color: #4e8cff;
    }
}

.scheme-step {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Изменено для выравнивания по верхнему краю */
    margin-top: 50px;
    position: relative; /* Добавлено для позиционирования линии */
}

.scheme-step .step {
    text-align: left;
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по левому краю */
}

.scheme-step .circle {
    width: 34px;
    height: 34px;
    background-color: #008ce9;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px; /* Добавлено для отступа между кругом и текстом */
    color: white;
    font-size: 15px;
    font-weight: bold;
}

.scheme-step .text {
    font-size: 17px;
    color: #000;
    text-align: left;
    font-family: 'Manrope', sans-serif; /* Изменение шрифта на Manrope */
}

.scheme-step .text b {
    font-weight: bold; /* Выделение первых слов жирным */
}

.scheme-step::before {
    content: '';
    position: absolute;
    top: calc(50% - 75px); /* Поднимите линию на половину высоты линии */
    left: 20px; /* Смещение влево для начала из центра первого круга */
    width: calc(100% - 40px); /* Учитываем смещение слева и справа */
    height: 2px;
    background-color: #e8e8e8;
    z-index: -1; /* Поместить за кругами */
}

.scheme-step.second-row {
    margin-top: 50px; /* Отступ сверху для второго ряда */
}

.scheme-step.second-row::before {
    content: '';
    position: absolute;
    top: calc(50% - 63.5px); /* Поднимите линию на половину высоты линии */
    left: 20px; /* Смещение влево для начала из центра первого круга */
    width: calc(100% - 345px); /* Учитываем смещение слева и справа */
    height: 2px;
    background-color: #e8e8e8;
    z-index: -1; /* Поместить за кругами */
}

.catalog-title {
    text-align: center;
    font-size: 40px;
    font-family: 'TildaSans', sans-serif;
    font-weight: 600;
    color: rgb(44, 44, 44);
    margin-top: 50px;
}

.catalog-section .container {
    max-width: 1200px; /* Ограничение на ширину контейнера */
    margin: 0 auto; /* Центрирование контейнера */
    padding: 0 20px; /* Добавлено для отступов внутри контейнера */
    box-sizing: border-box; /* Учитываем отступы в ширине */
}

.catalog {
    display: flex;
    flex-wrap: wrap; /* Добавлено для переноса карточек */
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
}

.catalog .card {
    flex: 1 1 calc(33.333% - 20px); /* Изменено для равномерного распределения карточек */
    min-width: 300px; /* Минимальная ширина карточки */
    max-width: calc(33.333% - 20px); /* Максимальная ширина карточки */
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    padding-bottom: 30px;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 20px; /* Добавлено для отступа между карточками */
}

.catalog .card img {
    width: 320px;
    height: auto;
    border-radius: 10px;
    margin-left: -3px;
}

.catalog .card .product-name {
    font-size: 21px;
    font-weight: 700;
    margin-top: 15px;
    font-family: 'Manrope', sans-serif;
}

.catalog .card .product-name1 {
    font-size: 21px;
    font-weight: 700;
    margin-top: 27px;
    font-family: 'Manrope', sans-serif;
}

.catalog .card .product-description {
    font-size: 15px;
    font-weight: 400;
    margin-top: 10px;
    font-family: 'Manrope', sans-serif;
    line-height: 25px;
}

.product-description02 {
    display: none;
}

.catalog .card .product-description1 {
    font-size: 15px;
    font-weight: 400;
    margin-top: 27px;
    font-family: 'Manrope', sans-serif;
    line-height: 25px;
}

.catalog .card .add-to-cart {
    width: 200px;
    height: 45px;
    background-color: #0088e3;
    color: white;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    margin-top: 30px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Плавный переход тени */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Добавлена тень */
}

.catalog .card .add-to-cart:hover {
    background-color: #0e9eff; /* Изменение цвета при наведении */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Уменьшение усиления тени при наведении */
}

#map {
    width: 100%; /* Исправлено с 100vw на 100% */
    height: 750px;
    margin: 0; /* Убираем отступы */
    padding: 0; /* Убираем отступы */
}

.ymaps-2-1-79-map-copyrights-promo,
.ymaps-2-1-79-copyright__wrap,
.ymaps-2-1-79-copyright__link,
.ymaps-2-1-79-copyright__text,
.ymaps-2-1-79-copyright__agreement {
    display: none;
}

.map-overlay-table {
    position: absolute;
    height: 520px;
    width: 455px;
    background-color: white;
    z-index: 10;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: -355px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container {
    position: relative;
    width: 100%;
    margin-top: 5%;
}

#map {
    width: 100vw;
    height: 750px;
    margin: 0;
    padding: 0;
}

.map-table-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-table-title {
    font-size: 28px;
    font-weight: 600;
    font-family: 'Manrope';
    margin-bottom: 30px;
    text-align: center;
}

.map-table-text {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Manrope';
    text-align: center;
    line-height: 30px;
}

.distribution-title {
    font-size: 16px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #222;
    font-family: 'Manrope', sans-serif;
}

.distribution-list {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    color: black;
    margin-bottom: 18px;
    font-family: 'Manrope';
    transform: scaleY(0.99); /* уменьшает высоту до 70% */
    display: inline-block; /* чтобы трансформация применялась корректно */
}

.partner-map-btn {
    font-size: 18px;
    font-weight: 700;
    color: black;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 25px;
    margin-left: 0;
    font-family: 'Manrope', sans-serif;
    padding: 0;
    outline: none;
    transition: color 0.2s;
}

.partner-map-btn:hover {
    color: #0e9eff;
}

.site-footer {
    width: 100%;
    height: 240px;
    background: #1f1f1f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
}

.site-footer .footer-links a {
    color: #ff8562;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.site-footer .footer-company {
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    margin-top: 30px;
}

.site-footer .footer-copyright {
    color: #bdbdbd;
    text-align: center;
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
    margin-top: 30px;
}

.partner-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 30, 30, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    overflow: hidden; /* Запретить прокрутку фона */
}

.partner-popup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.partner-popup {
    width: 900px;
    height: 700px; /* Вернуть фиксированную высоту */
    background: #fbfbf9;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 48px 32px 48px;
    font-family: 'Manrope', sans-serif;
    color: #222;
    animation: popupFadeIn 0.3s;
    overflow: hidden; /* Скрыть лишнее */
}

@keyframes popupFadeIn {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.partner-popup-title {
    font-size: 32px;
    font-weight: 600;
    color: #222;
    margin-bottom: 36px;
    width: 100%;
    text-align: left;
}

.partner-popup-content {
    font-size: 18px;
    color: #222;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Меньше расстояние между пунктами */
    overflow-y: auto; /* Прокрутка только содержимого */
    padding-right: 8px; /* Для скроллбара */
    max-height: 540px; /* Высота минус заголовок и отступы */
}

.partner-popup-content b {
    font-weight: 700;
}

.partner-popup-close {
    position: absolute;
    top: 28px;
    right: 32px;
    background: none;
    border: none;
    font-size: 38px;
    color: #222;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.partner-popup-close:hover {
    color: #ff8562;
}

.catalog-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 30, 30, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    overflow: hidden;
}

.catalog-popup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.catalog-popup {
    width: 90vw;
    max-width: 1600px;
    min-height: 320px;
    background: #fbfbf9;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 32px 32px 24px 32px;
    font-family: 'Manrope', sans-serif;
    color: #222;
    animation: popupFadeIn 0.3s;
    overflow: visible;
}

.catalog-popup-inner {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: flex-start;
    gap: 40px;
}

.catalog-popup-image {
    flex: 0 0 320px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
}

.catalog-popup-image img {
    width: 320px;
    height: auto;
    object-fit: contain;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 12px;
    border-radius: 14px;
}

.catalog-popup-info {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    justify-content: flex-start;
}

.catalog-popup-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #222;
}

.catalog-popup-description {
    font-size: 16px;
    margin-bottom: 14px;
    color: #222;
}

.catalog-popup-details {
    font-size: 16px;
    color: #222;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.catalog-popup-details b {
    font-weight: 700;
}

.catalog-popup-features {
    font-size: 15px;
    color: #222;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.catalog-popup-close {
    position: absolute;
    top: 28px;
    right: 32px;
    background: none;
    border: none;
    font-size: 38px;
    color: #222;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.catalog-popup-close:hover {
    color: #ff8562;
}

/* POP-UP корзины */
.cart-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-popup {
    background-color: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cart-popup-overlay.show .cart-popup {
    transform: scale(1);
}

.cart-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    z-index: 10;
}

.cart-popup-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.cart-popup-header {
    padding: 30px 30px 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-popup-title {
    font-family: 'TildaSans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cart-item-count {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #666;
    background-color: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    margin-right: 30px;
}

.cart-popup-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
    min-height: 200px;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.cart-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.cart-empty-text {
    font-family: 'TildaSans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #666;
}

.cart-empty-subtext {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #999;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 16px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-family: 'TildaSans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item-price {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #008ce9;
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
}

.cart-quantity-btn {
    width: 28px;
    height: 28px;
    border: none;
    background-color: white;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: background-color 0.2s, color 0.2s;
}

.cart-quantity-btn:hover {
    background-color: #008ce9;
    color: white;
}

.cart-quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-quantity-btn:disabled:hover {
    background-color: white;
    color: #666;
}

.cart-quantity-value {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #999;
    transition: background-color 0.2s, color 0.2s;
}

.cart-item-remove:hover {
    background-color: #ff4757;
    color: white;
}

.cart-popup-footer {
    padding: 20px 30px 30px 30px;
    border-top: 1px solid #f0f0f0;
    background-color: #fafbfc;
    border-radius: 0 0 20px 20px;
}

.cart-total {
    margin-bottom: 20px;
    text-align: center;
}

.cart-total-text {
    font-family: 'TildaSans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    display: none;
}

.cart-total-text span {
    color: #008ce9;
}

.cart-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cart-clear-btn,
.cart-order-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.cart-clear-btn {
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
}

.cart-clear-btn:hover {
    background-color: #e9ecef;
    color: #333;
}

.cart-order-btn {
    background-color: #008ce9;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 140, 233, 0.3);
}

.cart-order-btn:hover {
    background-color: #0e9eff;
    box-shadow: 0 6px 20px rgba(0, 140, 233, 0.4);
    transform: translateY(-1px);
}


/* POP-UP оформления заказа */
.order-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.order-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.order-popup {
    background-color: white;
    border-radius: 20px;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.order-popup-overlay.show .order-popup {
    transform: scale(1);
}

.order-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    z-index: 10;
}

.order-popup-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.order-popup-header {
    padding: 30px 30px 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-popup-title {
    font-family: 'TildaSans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.order-back-btn {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #008ce9;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.2s;
    margin-right: 30px;
}

.order-back-btn:hover {
    background-color: #f0f8ff;
}

.order-popup-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.order-content-wrapper {
    display: flex;
    min-height: 100%;
}

.order-items-section {
    flex: 0 0 350px;
    background-color: #fafbfc;
    padding: 30px;
    border-right: 1px solid #f0f0f0;
    overflow-y: auto;
}

.order-form-section {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.order-section-title {
    font-family: 'TildaSans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    gap: 12px;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-info {
    flex: 1;
    min-width: 0;
}

.order-item-title {
    font-family: 'TildaSans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.order-item-quantity {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #666;
}

.order-total-text {
    font-family: 'TildaSans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-form-group label {
    font-family: 'TildaSans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.order-form-group input,
.order-form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.order-form-group input:focus,
.order-form-group textarea:focus {
    border-color: #008ce9;
    box-shadow: 0 0 0 3px rgba(0, 140, 233, 0.1);
}

.order-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.mobile-menu {
    display: none;
}

.order-submit-btn {
    padding: 16px 32px;
    background-color: #008ce9;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(0, 140, 233, 0.3);
    margin-top: 10px;
}

.order-submit-btn:hover {
    background-color: #0e9eff;
    box-shadow: 0 6px 20px rgba(0, 140, 233, 0.4);
    transform: translateY(-1px);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .order-popup {
        width: 95%;
        max-height: 95vh;
        margin: 10px;
    }

    .order-content-wrapper {
        flex-direction: column;
    }

    .order-items-section {
        flex: none;
        border-right: none;
        padding: 20px;
    }

    .order-form-section {
        padding: 20px;
    }

    .order-popup-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-popup-title {
        font-size: 24px;
    }

    .order-back-btn {
        margin-right: 0;
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .mobile-menu-close {
        position: absolute;
        top: 32px;
        right: 32px;
        background: none;
        border: none;
        font-size: 38px;
        color: #fff;
        cursor: pointer;
        z-index: 1300;
        padding: 0;
        line-height: 1;
        transition: color 0.2s;
    }
    .mobile-menu-close:hover {
        color: #ff8562;
    }
    .burger-menu {
    &.hide {
        display: none !important;
    }
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        position: relative;
        z-index: 1100;
    }

    .burger-menu span,
    .burger-menu span::before,
    .burger-menu span::after {
        display: block;
        position: absolute;
        width: 28px;
        height: 4px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s;
    }
    .burger-menu span {
        top: 18px;
        left: 6px;
    }
    .burger-menu span::before {
        content: '';
        top: -10px;
        left: 0;
    }
    .burger-menu span::after {
        content: '';
        top: 10px;
        left: 0;
    }
    .text2_mobile {
        display: block;
        margin-left: 30px;
        font-size: 18px;
        font-weight: 600;
        transform: scaleX(1.10);
        transform-origin: left;
    }
    .white-box {
        display: none;
    }
    .text2 {
        display: none;
    }
    .burger-menu.active span {
        background: transparent;
    }
    .burger-menu.active span::before {
        top: 0;
        transform: rotate(45deg);
    }
    .burger-menu.active span::after {
        top: 0;
        transform: rotate(-45deg);
    }


    .scheme-step.second-row {
        margin-top: 0px;
    }

    .header .logo img {
        width: 110px;
        margin-top: 5px;
    }
    .intro {
        margin-top: 100px;
        height: 70%;
    }
    .text3 {
        display: none;
    }
    .intro .text3_mobile {
        font-weight: 100;
        display: block;
        margin-top: 30px;
        margin-left: 30px;
        font-size: 18px;
        line-height: 27px;
    }

    .scheme-step .step {
        flex-direction: row;
    }

    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(34, 34, 34, 0.85); /* полупрозрачный фон */
        z-index: 1200;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 0;
        transition: opacity 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }
    .mobile-menu.show {
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-menu a {
        color: #fff;
        text-decoration: none;
        font-size: 22px;
        font-family: 'Manrope', sans-serif;
        font-weight: 700;
        margin-bottom: 32px;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-align: center;
        width: 100%;
        transition: color 0.2s;
    }
    .mobile-menu a:last-child {
        margin-bottom: 0;
    }
    .mobile-menu a.active {
        color: #bdbdbd;
    }

    body {
        background-color: #21262e;
    }
    .scheme-title {
    text-align: center;
    font-size: 40px;
    font-family: 'TildaSans', sans-serif;
    font-weight: 600;
    color: white;
    margin-top: 70%;
    }

    .scheme-step .text {
    font-size: 15px;
    color: white;
    text-align: left;
    font-family: 'Manrope', sans-serif;
}

    .header .menu {
        display: none !important;
    }
    .burger-menu {
        display: flex !important;
    }
}
    .order-popup {
        color: white;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }

    .order-items-section,
    .order-form-section {
        padding: 15px;
    }

    .order-popup-header {
        padding: 15px;
    }
    /* Mobile: dark theme for order-popup, reuse cart-popup mobile colors */
    @media (max-width: 480px) {
        .order-popup {
            background: linear-gradient(135deg, #23272f 0%, #181a20 100%) !important;
            color: #f3f6fa !important;
            border-radius: 16px !important;
            box-shadow: 0 8px 32px rgba(0,0,0,0.55) !important;
            padding: 0 !important;
            width: 97vw !important;
            max-width: 99vw !important;
            height: 82vh !important;
            max-height: 86vh !important;
            top: 1.5vh !important;
            left: 1.5vw !important;
            right: 1.5vw !important;
            margin: 0 auto !important;
            display: flex !important;
            flex-direction: column !important;
            z-index: 1003 !important;
            overflow: hidden !important;
            justify-content: stretch !important;
        }
        .order-popup-header,
        .order-popup-content,
        .order-popup-footer {
            background: none !important;
            color: #f3f6fa !important;
            border: none !important;
        }
        .order-popup-title {
            color: #f3f6fa !important;
        }
        .order-items-section {
            background: none !important;
            color: #f3f6fa !important;
        }
        .order-item {
            border-bottom: 1px solid #35363c !important;
        }
        .order-item-title {
            color: #f3f6fa !important;
        }
        .order-item-quantity,
        .order-total-text {
            color: #b0b8c9 !important;
        }
        .order-back-btn {
            color: #4e8cff !important;
        }
        .order-popup-close {
            color: #fff !important;
            background: rgba(30, 32, 40, 0.55) !important;
            border: none !important;
            z-index: 10 !important;
            position: absolute !important;
            top: 10px !important;
            right: 10px !important;
            font-size: 38px !important;
            line-height: 1 !important;
            padding: 12px !important;
            border-radius: 50% !important;
            transition: background 0.18s, color 0.18s !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
            cursor: pointer !important;
            width: 48px !important;
            height: 48px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            box-sizing: border-box !important;
        }
        .order-popup-close:hover {
            color: #4e8cff !important;
        }
        .order-form-group input,
        .order-form-group textarea {
            background-color: #23272f !important;
            border: 1px solid #35363c !important;
            color: #f3f6fa !important;
        }
        .order-form-group input:focus,
        .order-form-group textarea:focus {
            box-shadow: 0 0 0 2px #4e8cff33 !important;
            border-color: #4e8cff !important;
        }
        .order-submit-btn {
            background: linear-gradient(90deg, #4e8cff 0%, #2563eb 100%) !important;
            color: #fff !important;
            box-shadow: 0 4px 16px rgba(78,140,255,0.10) !important;
        }
        .order-submit-btn:hover {
            background: linear-gradient(90deg, #2563eb 0%, #4e8cff 100%) !important;
            box-shadow: 0 4px 16px 0 rgba(78,140,255,0.18) !important;
        }
    }
@media (max-width: 480px) {
    .catalog-title {
        color: #fff;
        font-size: 28px;
        margin-top: 32px;
        margin-bottom: 18px;
    }
    .catalog {
        flex-direction: column;
        align-items: center;
        background: none;
        margin-top: 24px;
        gap: 0;
    }
    .catalog .card {
        background: #191f25;
        color: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.18);
        width: 92vw;
        max-width: 98vw;
        min-width: 0;
        margin: 0 20px 22px 0;
        padding: 18px 14px 22px 14px;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .catalog .card img {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
        margin: 0 0 12px 0;
    }
    .catalog .card .product-name,
    .catalog .card .product-name1 {
        font-size: 18px;
        font-weight: 700;
        margin-top: 0;
        margin-bottom: 8px;
        color: #fff;
        font-family: 'Manrope', sans-serif;
    }

    .catalog .card .product-description,
    .catalog .card .product-description1 {
        font-size: 14px;
        font-weight: 400;
        margin-top: 0;
        margin-bottom: 18px;
        color: #b0b8c9;
        font-family: 'Manrope', sans-serif;
        line-height: 1.5;
    }

    .product-description, .product-description1 {
        display: none;
    }

    .product-description02 {
        display: block;
        font-size: 14px;
        font-weight: 400;
        margin-top: 0;
        margin-bottom: 18px;
        color: #b0b8c9;
        font-family: 'Manrope', sans-serif;
        line-height: 1.5;
    }

    .catalog .card .add-to-cart {
        width: 100%;
        height: 44px;
        background: linear-gradient(90deg, #4e8cff 0%, #2563eb 100%);
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        border: none;
        border-radius: 10px;
        margin-top: 0;
        cursor: pointer;
        font-family: 'Manrope', sans-serif;
        box-shadow: 0 2px 8px 0 rgba(78,140,255,0.10);
        letter-spacing: 0.01em;
        transition: background 0.18s, box-shadow 0.18s;
    }
    .catalog .card .add-to-cart:hover {
        background: linear-gradient(90deg, #2563eb 0%, #4e8cff 100%);
        box-shadow: 0 4px 16px 0 rgba(78,140,255,0.18);
    }
    /* Попап каталога — тёмная тема */
    .catalog-popup {
        background: linear-gradient(135deg, #23272f 0%, #181a20 100%) !important;
        color: #fff !important;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.55);
        padding: 0 !important;
        width: 97vw !important;
        max-width: 99vw !important;
        min-height: 0;
        height: 90%;
        max-height: 98vh;
        position: fixed;
        top: 1.5vh;
        left: 1.5vw;
        right: 1.5vw;
        margin-top: 5%;
        display: flex;
        flex-direction: column;
        z-index: 1002;
        overflow: hidden;
        justify-content: stretch;
    }
    .catalog-popup-inner {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        overflow-y: auto;
        height: 100%;
        max-height: none;
        padding: 1% 10px 20% 10px;
        box-sizing: border-box;
    }
    .catalog-popup-image {
        width: 100%;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
        margin-top: 20px;
    }
    .catalog-popup-image img {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.18);
        display: block;
    }
    .catalog-popup-info {
        color: #fff;
        padding: 0 2vw;
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    .catalog-popup-title {
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 8px;
    }
    .catalog-popup-description {
        color: #b0b8c9;
        font-size: 14px;
        margin-bottom: 8px;
    }
    .catalog-popup-details {
        color: #fff;
        font-size: 13px;
        margin-bottom: 8px;
        gap: 3px;
    }
    .catalog-popup-details span {
        display: block;
        margin-bottom: 2px;
    }
    .catalog-popup-features {
        color: #b0b8c9;
        font-size: 13px;
        gap: 2px;
    }
    .catalog-popup-close {
        color: #fff;
        top: 10px;
        right: 10px;
        font-size: 38px;
        background: rgba(30, 32, 40, 0.55);
        border: none;
        z-index: 10;
        position: absolute;
        line-height: 1;
        padding: 12px;
        border-radius: 50%;
        transition: background 0.18s, color 0.18s;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
        cursor: pointer;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    .catalog-popup-close:hover {
        color: #4e8cff;
    }
    .catalog-popup-cart-btn {
        bottom: 0;
        left: 0;
        width: 100%;
        margin: 0;
        height: 48px;
        background: linear-gradient(90deg, #4e8cff 0%, #2563eb 100%);
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        border: none;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 -2px 8px rgba(78,140,255,0.10);
        letter-spacing: 0.01em;
        transition: background 0.18s, box-shadow 0.18s;
        z-index: 11;
    }
    .catalog-popup-cart-btn:hover {
        background: linear-gradient(90deg, #2563eb 0%, #4e8cff 100%);
        box-shadow: 0 4px 16px 0 rgba(78,140,255,0.18);
    }
}

@media (max-width: 480px) {
    .cart-popup {
        background: linear-gradient(135deg, #23272f 0%, #181a20 100%) !important;
        color: #f3f6fa !important;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.55);
        padding: 0 !important;
        width: 97vw !important;
        max-width: 99vw !important;
        min-height: 0;
        height: 80%;
        max-height: 98vh;
        position: fixed;
        top: 1.5vh;
        left: 1.5vw;
        right: 1.5vw;
        margin-top: 20%;
        display: flex;
        flex-direction: column;
        z-index: 1002;
        overflow: hidden;
        justify-content: stretch;
    }
    .cart-popup-header,
    .cart-popup-content,
    .cart-popup-footer {
        background: none !important;
        color: #f3f6fa !important;
        border: none !important;
    }
    .cart-popup-title {
        color: #f3f6fa !important;
    }
    .cart-item-count {
        background: #23272f !important;
        color: #b0b8c9 !important;
    }
    .cart-item {
        border-bottom: 1px solid #353a45 !important;
    }
    .cart-item-title {
        color: #f3f6fa !important;
    }
    .cart-item-price {
        color: #4e8cff !important;
    }
    .cart-item-quantity {
        background: #23272f !important;
    }
    .cart-quantity-btn {
        background: #181a20 !important;
        color: #b0b8c9 !important;
    }
    .cart-quantity-btn:hover {
        background: #4e8cff !important;
        color: #fff !important;
    }
    .cart-quantity-value {
        color: #f3f6fa !important;
    }
    .cart-popup-close {
        color: #fff !important;
        background: rgba(30, 32, 40, 0.55) !important;
        border: none;
        z-index: 10;
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 38px;
        line-height: 1;
        padding: 12px;
        border-radius: 50%;
        transition: background 0.18s, color 0.18s;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
        cursor: pointer;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    .cart-popup-close:hover {
        color: #4e8cff !important;
    }
    .order-section-title {
        color: white;
    }
    .order-form-group label {
        color: white;
    }
    .cart-popup-footer {
        background: #23272f !important;
        border-radius: 0 0 16px 16px !important;
    }
    .cart-clear-btn {
        background: #353a45 !important;
        color: #b0b8c9 !important;
        border: 1.5px solid #353a45 !important;
    }
    .cart-clear-btn:hover {
        background: #23272f !important;
        color: #fff !important;
    }
    .cart-order-btn {
        background: linear-gradient(90deg, #4e8cff 0%, #2563eb 100%) !important;
        color: #fff !important;
        box-shadow: 0 4px 16px rgba(78,140,255,0.10) !important;
    }
    .cart-order-btn:hover {
        background: linear-gradient(90deg, #2563eb 0%, #4e8cff 100%) !important;
        color: #fff !important;
        box-shadow: 0 4px 16px 0 rgba(78,140,255,0.18) !important;
    }
    .cart-empty-text, .cart-empty-subtext {
        color: #b0b8c9 !important;
    }
    .cart-empty-icon {
        color: #4e8cff !important;
        opacity: 0.7 !important;
    }
}

/* Управление отображением &nbsp; только на мобильных устройствах */
.product-name1 .mobile-nbsp {
    display: none;
}
@media (max-width: 480px) {
    .product-name1 .mobile-nbsp {
        display: inline;
    }
}
@media (max-width: 480px) {
    .map-overlay-table {
        position: static;
        width: 94vw;
        max-width: 98vw;
        min-width: 0;
        height: auto;
        min-height: 0;
        margin: 0 auto 0 auto;
        top: 0;
        left: 0;
        transform: none;
        background: linear-gradient(135deg, #23272f 0%, #181a20 100%);
        border-radius: 16px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.18);
        z-index: 10;
        padding: 18px 10px 18px 10px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .map-table-content {
        color: #f3f6fa;
        font-family: 'Manrope', sans-serif;
        font-size: 15px;
        text-align: left;
        padding: 0;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
    }
    .map-table-title {
        color: #fff;
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 10px;
        text-align: left;
        letter-spacing: 0.01em;
    }
    .map-table-text {
        color: #b0b8c9;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.5;
        margin-bottom: 10px;
        text-align: left;
    }
    .distribution-title {
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        margin-top: 10px;
        margin-bottom: 4px;
    }
    .distribution-list {
        color: #b0b8c9;
        font-size: 15px;
        font-weight: 400;
        margin-bottom: 10px;
        text-align: left;
        line-height: 1.4;
        display: block;
    }
    .partner-map-btn {
        color: #4e8cff;
        background: #23272f;
        border: 1.5px solid #4e8cff;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
        padding: 10px 0;
        width: 100%;
        margin-top: 12px;
        margin-left: 0;
        text-align: center;
        box-shadow: 0 2px 8px rgba(78,140,255,0.10);
        transition: background 0.18s, color 0.18s, border 0.18s;
    }
    .partner-map-btn:hover {
        background: #4e8cff;
        color: #fff;
        border-color: #4e8cff;
    }
    #map {
        width: 100vw !important;
        min-width: 0;
        height: 220px !important;
        max-height: 220px !important;
        border-radius: 14px;
        margin: 12px 0 0 0;
        box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    }
}

/* Mobile: restyled footer to match contact/overlay colors and improve layout */
@media (max-width: 480px) {
    .site-footer {
        background: linear-gradient(135deg, #23272f 0%, #181a20 100%);
        padding: 20px 16px;
        height: auto;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        box-shadow: 0 -6px 24px rgba(0,0,0,0.40);
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
    }

    .site-footer .footer-links {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-left: 6px;
        margin-bottom: 12px;
    }

    .site-footer .footer-links a {
        color: #4e8cff; /* accent blue */
        font-size: 16px;
        text-decoration: none;
        font-weight: 700;
        display: inline-block;
        padding: 6px 0;
    }

    .site-footer .footer-company {
        color: #f3f6fa; /* light text */
        text-align: left;
        font-size: 15px;
        font-weight: 600;
        margin-top: 6px;
        line-height: 1.3;
        width: 100%;
        padding-left: 6px;
    }

    .site-footer .footer-copyright {
        color: #b0b8c9; /* muted light */
        text-align: left;
        font-size: 13px;
        margin-top: 10px;
        width: 100%;
        padding-left: 6px;
    }

    /* Slightly increase spacing for tap targets */
    .site-footer .footer-links a:active,
    .site-footer .footer-links a:focus {
        outline: none;
        opacity: 0.9;
    }
}

@media (min-width: 481px) and (max-width: 1219px) {
    body {
        display: none;
    }
}

/* Ensure map has breathing room before the footer */
@media (max-width: 480px) {
    #map {
        margin-bottom: 14px !important;
    }

    /* Make footer sit above content and add a small centered separator bar */
    .site-footer {
        margin-top: 6%;
        position: relative;
        z-index: 60; /* sit above map shadow */
        padding-top: 18px; /* extra top space to accommodate separator */
    }
}

    .partner-popup-title {
        color: #4e8cff !important; /* жёлтый из 'Схема работы' */
        font-weight: 700;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }