#cookie_note {
    display: none;
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 680px;
    padding: 16px 20px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.1);
    z-index: 999999999999;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
    flex-wrap: wrap;
    font-size: 12px;
}

#cookie_note.show {
    display: flex;
}

#cookie_note p {
    margin: 0;
    line-height: 1.5;
    color: #000;
    flex: 1;
}

#cookie_note p a{
    color: #454238;
    text-decoration: underline;
}

.cookie_accept {
    background-color: #454238;
    border: none;
    color: white;
    padding: 10px 24px;
    font-size: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
}


.cookie_accept:active {
    background-color: color-mix(in srgb, #454238, white 35%);
    transform: translateY(1px);
}

@media (max-width: 780px) {
    #cookie_note {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
        max-width: calc(100% - 24px);
    }

    .cookie_accept {
        width: 100%;
    }
}

label.ts-helper input#soglas_check + i{
    opacity: 0;
}
label.ts-helper input#soglas_check:checked + i{
    opacity: 1;
}


/* ОСНОВНОЕ МЕНЮ */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #ff6411, #ff772e);
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu.menu-active {
    transform: translateX(0);
}

/* Кнопка закрытия */
.m-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.m-close::before,
.m-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
}

.m-close::after {
    transform: rotate(-45deg);
}

/* Навигация */
.menu nav {
    padding: 80px 40px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}


/* Социальные сети */
.social-side {
    margin-top: auto;
    padding-top: 40px;
    margin: 0 auto;
}

.social-side ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-side li {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 0.2);
    display: flex; */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-side li:hover {
    /* background: rgba(255, 255, 255, 0.3); */
    transform: scale(1.1);
}

.social-side li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .menu nav {
        padding: 25px 0;
    }

    /* .m-phone:before{
        left: 20px;
        top: 20%;
    } */

    .m-email:before{
        left: 20px;
        top: 20%;
    }

   
}

@media (max-width: 480px) {
    .menu nav {
        padding: 25px 0;
    }
}

.floating-menu .ex-menu-icon{
    width: 100%;
    text-align: center;
    align-self: center;
}



.menu ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.menu ::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu ::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.menu ::-webkit-scrollbar-thumb:hover {
    background: #f5f5f5;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.menu ::-webkit-scrollbar-thumb:active {
    background: #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Убираем кнопки прокрутки (галочки) */
.menu ::-webkit-scrollbar-button,
.menu *::-webkit-scrollbar-button,
.menu nav::-webkit-scrollbar-button,
.menu .ex-menu::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    border: none !important;
}

.menu ::-webkit-scrollbar-button:start,
.menu *::-webkit-scrollbar-button:start,
.menu nav::-webkit-scrollbar-button:start,
.menu .ex-menu::-webkit-scrollbar-button:start {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.menu ::-webkit-scrollbar-button:end,
.menu *::-webkit-scrollbar-button:end,
.menu nav::-webkit-scrollbar-button:end,
.menu .ex-menu::-webkit-scrollbar-button:end {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.menu ::-moz-scrollbar-button, .menu ::-webkit-scrollbar-button {
    width: 0px !important;
}

/* Дополнительно скрываем кнопки для всех элементов внутри меню */
.menu * {
    scrollbar-width: thin;
}

.menu ::-webkit-scrollbar-corner {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.menu {
    scrollbar-width: thin;
    scrollbar-color: #ffffff #ff7e00;
}

/* Ультратонкое плавающее меню */
.floating-menu {
    display: none !important;
    position: fixed;
    padding: 8px 8px;
    transform: none;
    height: auto;
    top: 15%;
    right: 8px;
    z-index: 1000;
    overflow: visible;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 70px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.95;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transform-origin: top center;
}

.floating-toggle {
    position: fixed;
    top: 9%;
    right: 24px;
    z-index: 1001;
    border: 2px solid rgb(255 140 28);
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 8px;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    padding: 8px 12px;
    color: #ffffff;
    cursor: pointer;
    writing-mode: horizontal-tb;
    transform: rotate(0deg) scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.floating-toggle:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.floating-menu nav {
    padding: 4px 6px 6px 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.1s;
    transform-origin: top center;
}



@media (max-width: 768px) {
    .floating-menu {
        right: 8px;
        width: 60px;
        padding: 6px 6px;
    }

    .m-phone:before{
        left: 20px;
        bottom: 8px;
    }
    
    .floating-toggle {
        font-size: 15px;
        border-radius: 6px;
        right: 21px;
        top: 9.5%;
        writing-mode: horizontal-tb;
        padding: 6px 10px;
    }

    .floating-menu li a{
        font-size: 0;
        line-height: 9px;
        padding: 0;
    }

    .floating-menu.collapsed{
        right: 8px !important;
        width: 60px;
        height: auto;
        background: none;
        padding: 6px 6px;
        transform: scaleY(0.1);
        background: none;
    }
    
    .floating-menu.collapsed .ex-menu li {
        transform: translateY(-15px);
        opacity: 0;
    }
    
    .floating-menu.collapsed .ex-menu li a {
        transform: translateY(-10px);
        opacity: 0;
    }
}

h2.ex-h1 {
    font-size: 32px;
    letter-spacing: 0px;
    line-height: 45px;
    color: #FFFFFF;
    text-transform: none;
    font-family: roboto, sans-serif;
    font-weight: 500;
    max-width: 656px;
    position: relative;
    padding-left: 7%;
    margin-bottom: 30px;
}
h2.ex-h1::before {
    width: 12px;
    height: 81px;
    background-color: #FF5A00;
    position: absolute;
    content: " ";
    top: 7px;
    left: 0px;
    z-index: 10;
}

.sales-container {
    display: flex;
    flex-direction: column;
    gap:32px;
    padding:25px 0px;

}
.sales-container .sale-button {
    border-radius: 16px;
    overflow: hidden;
    box-shadow:0px 4px 16px rgba(0,0,0,0.4);
    border:2px solid #aaaaaa;
    transition: 0.2s border;
}
.sales-container .sale-button:hover {
    border:2px solid #FF5A00;
}

.sales-container .sale-button img {
    width:100%;
    pointer-events: none;
}
@media (min-width:640px) {
    .sales-container .sale-button img.desktop-button {
        display: block;
    }

    .sales-container .sale-button img.mobile-button {
        display: none;
    }
}
@media (max-width:640px) {
    .sales-container .sale-button img.desktop-button {
        display: none;
    }

    .sales-container .sale-button img.mobile-button {
        display: block;
    }
}
    .copyright{
        line-height: 14px;
        color: #D0D9DE;
        font-size: 12px;
        font-family: roboto, sans-serif;
        font-weight: 300;
        display: block;
        margin-right: 34px;
    }

/* ============================================
   СТИЛИ ДЛЯ МЕНЮ - как на скриншоте
   ============================================ */

/* Навигация */
.menu nav {
    padding: 4rem 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Основной список меню */
.menu .ex-menu,
.menu nav .ex-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Пункты меню */
.menu .ex-menu > li,
.menu nav .ex-menu > li {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

/* Ссылки в меню */
.menu .ex-menu > li > a,
.menu nav .ex-menu > li > a {
    display: block;
    padding: 16px 20px !important;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    font-family: 'Roboto', 'Arial', sans-serif;
    transition: background-color 0.3s ease;
    position: relative;
    min-height: 48px; /* Фиксированная минимальная высота для позиционирования стрелки */
    box-sizing: border-box;
}

/* Стрелки меню - справа от текста, на уровне ссылки (верхняя часть) */
.menu .ex-menu > li > .arrow-menu,
.menu nav .ex-menu > li > .arrow-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 55px; /* Высота равна высоте ссылки */
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: 0; /* Верхняя часть li, где находится ссылка */
    z-index: 5;
    pointer-events: auto;
}

.menu .ex-menu > li > .arrow-menu svg,
.menu nav .ex-menu > li > .arrow-menu svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
    stroke: #ffffff;
}

.menu .ex-menu > li > .arrow-menu svg path,
.menu nav .ex-menu > li > .arrow-menu svg path {
    fill: #ffffff;
    stroke: #ffffff;
}

/* Кнопка "РАСЧЕТ СТОИМОСТИ" - белая, по центру */
.menu .menu-calc-button,
.menu nav .menu-calc-button {
    margin: 1rem 2rem !important;
    width: calc(100% - 4rem) !important;
    text-align: center;
}

.menu .menu-calc-button > a,
.menu nav .menu-calc-button > a {
    display: inline-block;
    padding: 14px 30px;
    background-color: #ffffff;
    color: #ff7023 !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Roboto', 'Arial', sans-serif;
}

/* Контакты - телефон и email */
.menu .ex-menu > li > .m-phone,
.menu .ex-menu > li > .m-email,
.menu nav .ex-menu > li > .m-phone,
.menu nav .ex-menu > li > .m-email,
.menu .m-phone,
.menu .m-email {
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    padding-left: 64px !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    font-family: 'Roboto', 'Arial', sans-serif !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
    position: relative !important;
    justify-content: flex-start;
}

/* Иконки для контактов - позиционирование */
.menu .m-phone:before,
.menu .m-email:before {
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    margin-right: 0 !important;
}

/* ============================================
   ВЛОЖЕННОЕ МЕНЮ (ex-menu-childrens)
   ============================================ */

/* Вложенное меню - скрыто по умолчанию */
.menu .ex-menu-childrens,
.menu nav .ex-menu-childrens,
.ex-menu-childrens {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease-in-out,
                padding 0.3s ease-in-out;
}

/* Раскрытое состояние вложенного меню */
.menu .ex-m-active > .ex-menu-childrens,
.menu nav .ex-m-active > .ex-menu-childrens,
.ex-m-active > .ex-menu-childrens {
    max-height: 2000px;
    opacity: 1;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease-in-out,
                padding 0.4s ease-in-out;
}

/* Пункты вложенного меню */
.menu .ex-menu-childrens > li,
.menu nav .ex-menu-childrens > li,
.ex-menu-childrens > li {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

/* Ссылки во вложенном меню - первый уровень (толстые, 16px) */
.menu .ex-menu-childrens > li > a,
.menu nav .ex-menu-childrens > li > a,
.ex-menu-childrens > li > a {
    display: block;
    padding: 16px 20px;
    padding-right: 50px; /* Место для стрелки */
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    font-family: 'Roboto', 'Arial', sans-serif;
    transition: background-color 0.3s ease;
    position: relative;
    min-height: 48px; /* Фиксированная минимальная высота для позиционирования стрелки */
    box-sizing: border-box;
}

/* Вложенные пункты второго уровня - тонкие, меньший размер */
.menu .ex-menu-childrens .ex-menu-childrens > li > a,
.menu nav .ex-menu-childrens .ex-menu-childrens > li > a,
.ex-menu-childrens .ex-menu-childrens > li > a {
    font-size: 0.875rem;
    font-weight: 400;
    padding: 12px 20px 12px 40px; /* Больший отступ слева для вложенности */
    padding-right: 50px; /* Место для стрелки */
    min-height: 44px;
}

/* Стрелки во вложенном меню - на уровне ссылки (верхняя часть) */
.menu .ex-menu-childrens > li > .arrow-menu,
.menu nav .ex-menu-childrens > li > .arrow-menu,
.ex-menu-childrens > li > .arrow-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 55px; /* Высота равна высоте ссылки */
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: 0; /* Верхняя часть li, где находится ссылка */
    z-index: 5;
    pointer-events: auto;
}

.menu .ex-menu-childrens > li > .arrow-menu svg,
.menu nav .ex-menu-childrens > li > .arrow-menu svg,
.ex-menu-childrens > li > .arrow-menu svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
    stroke: #ffffff;
}

.menu .ex-menu-childrens > li > .arrow-menu svg path,
.menu nav .ex-menu-childrens > li > .arrow-menu svg path,
.ex-menu-childrens > li > .arrow-menu svg path {
    fill: #ffffff;
    stroke: #ffffff;
}

/* Поворот стрелки при раскрытии */
.menu .ex-m-active > .arrow-menu svg,
.menu nav .ex-m-active > .arrow-menu svg,
.ex-m-active > .arrow-menu svg {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Поворот стрелок во вложенном раскрытом меню */
.menu .ex-m-active .ex-menu-childrens > li.ex-m-active > .arrow-menu svg,
.menu nav .ex-m-active .ex-menu-childrens > li.ex-m-active > .arrow-menu svg,
.ex-m-active .ex-menu-childrens > li.ex-m-active > .arrow-menu svg {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Многоуровневая вложенность */
.menu .ex-menu-childrens .ex-menu-childrens,
.menu nav .ex-menu-childrens .ex-menu-childrens,
.ex-menu-childrens .ex-menu-childrens {
    margin-left: 0;
}

/* Белый фон для раскрытого пункта и его вложенности */
.menu .ex-m-active,
.menu nav .ex-m-active,
.ex-m-active {
    background-color: #ffffff;
}

.menu .ex-m-active > a,
.menu nav .ex-m-active > a,
.ex-m-active > a {
    background-color: #ffffff;
    color: #333333 !important;
    font-weight: 900 !important;
    font-size: 16px !important;
}

.menu .ex-m-active > .ex-menu-childrens,
.menu nav .ex-m-active > .ex-menu-childrens,
.ex-m-active > .ex-menu-childrens {
    background-color: #ffffff;
}

.menu .ex-m-active > .ex-menu-childrens li,
.menu nav .ex-m-active > .ex-menu-childrens li,
.ex-m-active > .ex-menu-childrens li {
    background-color: #ffffff;
}

/* Пункты первого уровня в раскрытом меню - толстые, 16px */
.menu .ex-m-active > .ex-menu-childrens > li > a,
.menu nav .ex-m-active > .ex-menu-childrens > li > a,
.ex-m-active > .ex-menu-childrens > li > a {
    background-color: #ffffff;
    color: #333333;
    font-weight: 900 !important;
    font-size: 16px !important;
}

/* Вложенные пункты второго уровня - тонкие, меньший размер */
.menu .ex-m-active > .ex-menu-childrens .ex-menu-childrens > li > a,
.menu nav .ex-m-active > .ex-menu-childrens .ex-menu-childrens > li > a,
.ex-m-active > .ex-menu-childrens .ex-menu-childrens > li > a {
    background-color: #ffffff;
    color: #333333;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
}

/* Стрелка в раскрытом пункте - черный цвет как текст */
.menu .ex-m-active > .arrow-menu svg path,
.menu nav .ex-m-active > .arrow-menu svg path,
.ex-m-active > .arrow-menu svg path,
.menu .ex-m-active > .arrow-menu svg,
.menu nav .ex-m-active > .arrow-menu svg,
.ex-m-active > .arrow-menu svg {
    fill: #333333 !important;
    stroke: #333333 !important;
}

/* Стрелки во вложенном раскрытом меню тоже черные */
.menu .ex-m-active .ex-menu-childrens > li > .arrow-menu svg path,
.menu nav .ex-m-active .ex-menu-childrens > li > .arrow-menu svg path,
.ex-m-active .ex-menu-childrens > li > .arrow-menu svg path,
.menu .ex-m-active .ex-menu-childrens > li > .arrow-menu svg,
.menu nav .ex-m-active .ex-menu-childrens > li > .arrow-menu svg,
.ex-m-active .ex-menu-childrens > li > .arrow-menu svg {
    fill: #333333 !important;
    stroke: #333333 !important;
}

/* SVG иконки в ссылках - белый цвет по умолчанию */
.menu .ex-menu svg path,
.menu nav .ex-menu svg path,
.ex-menu svg path {
    stroke: #ffffff;
    fill: #ffffff;
}

/* SVG иконки в раскрытом меню - темный цвет */
.menu .ex-m-active svg path,
.menu nav .ex-m-active svg path,
.ex-m-active svg path,
.menu .ex-m-active .ex-menu-childrens svg path,
.menu nav .ex-m-active .ex-menu-childrens svg path,
.ex-m-active .ex-menu-childrens svg path {
    stroke: #333333;
    fill: #333333;
}

/* Иконки серий (series) - видимость и размеры */
.menu .ex-menu-childrens .series svg,
.menu nav .ex-menu-childrens .series svg,
.ex-menu-childrens .series svg {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 15px !important;
    height: auto !important;
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

.menu .ex-menu-childrens .series a,
.menu nav .ex-menu-childrens .series a,
.ex-menu-childrens .series a {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap;
}

/* SVG иконки серий - белый цвет по умолчанию */
.menu .ex-menu-childrens .series svg path,
.menu nav .ex-menu-childrens .series svg path,
.ex-menu-childrens .series svg path {
    stroke: #ffffff !important;
    fill: none !important;
}

/* SVG иконки серий в раскрытом меню - темный цвет */
.menu .ex-m-active .ex-menu-childrens .series svg path,
.menu nav .ex-m-active .ex-menu-childrens .series svg path,
.ex-m-active .ex-menu-childrens .series svg path,
.menu .ex-m-active .ex-menu-childrens .series svg,
.menu nav .ex-m-active .ex-menu-childrens .series svg,
.ex-m-active .ex-menu-childrens .series svg {
    stroke: #333333 !important;
    fill: none !important;
}

/* Все иконки серий внутри раскрытого блока должны быть темными */
.menu .ex-m-active .series svg path,
.menu nav .ex-m-active .series svg path,
.ex-m-active .series svg path {
    stroke: #333333 !important;
    fill: none !important;
}

