:root {
    --sticky-expanded: 240px;
    --sticky-collapsed: 55px;
}

/* ===== SIDEBAR ===== */

.sticky-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sticky-expanded);
    background: #f4f2f0;
    transition: width .35s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.sticky-menu.collapsed {
    width: var(--sticky-collapsed);
}

.sticky-menu.editor-force-expanded:not(.collapsed) {
    width: var(--sticky-expanded);
}

/* ===== TEXT ===== */

.sticky-menu .text {
    max-width: 220px;
    overflow: hidden;
    white-space: nowrap;
    opacity: 1;
    transition: max-width .35s ease, opacity .14s ease .14s;
}

.sticky-menu.collapsed .text {
    opacity: 0;
    max-width: 0;
    transition: max-width .35s ease, opacity .1s ease;
}

.sticky-menu.editor-force-expanded:not(.collapsed) .text {
    opacity: 1;
    max-width: 220px;
}

/* ===== TOGGLE ===== */

.sticky-toggle {
    position: absolute;
    top: 20px;
    right: -14px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(122, 122, 122, 0.22);
    background: #f4f2f0;
    color: #655b50;
    box-shadow: 0 10px 24px rgba(32, 28, 24, 0.08);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sticky-toggle .arrow {
    display: inline-block;
    transition: transform .35s ease;
}

.sticky-menu .chev {
    opacity: 1;
    transition: transform .25s ease, opacity .14s ease .14s;
}

.sticky-menu.collapsed .chev {
    opacity: 0;
    transition: transform .25s ease, opacity .1s ease;
}

.sticky-menu .sticky-social-title {
    opacity: 1;
    max-height: 32px;
    overflow: hidden;
    transition: max-height .35s ease, opacity .14s ease .14s, margin .35s ease;
}

.sticky-menu.collapsed .sticky-social-title {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    transition: max-height .35s ease, opacity .1s ease, margin .35s ease;
}

.sticky-toggle:hover {
    background: #ffffff;
    color: #201c18;
    border-color: rgba(163, 143, 114, 0.55);
    box-shadow: 0 14px 30px rgba(32, 28, 24, 0.12);
    transform: translateX(-1px);
}

.sticky-toggle:focus-visible {
    outline: none;
    background: #ffffff;
    color: #201c18;
    border-color: rgba(163, 143, 114, 0.8);
    box-shadow: 0 0 0 3px rgba(163, 143, 114, 0.18);
}

.sticky-menu.collapsed .arrow {
    transform: rotate(180deg);
}

@media (max-width: 768px) {

    .sticky-menu {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;

        width: 100% !important;
        height: 72px !important;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sticky-menu ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;

        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
    }

    .sticky-menu li {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .sticky-toggle {
        display: none !important;
    }
}
.elementor-element:has(.sticky-menu) {
     height: 0 !important;
     min-height: 0 !important;
     padding: 0 !important;
     margin: 0 !important;
     overflow: visible !important;
 }
/* компактнее, меньше визуального мусора */
.sticky-menu .sticky-menu-list {
    margin: 0;
    padding: 35px 10px 12px;
    list-style: none;
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.12) transparent;
}
.sticky-menu .sticky-menu-list::-webkit-scrollbar {
    width: 4px;
}
.sticky-menu .sticky-menu-list::-webkit-scrollbar-track {
    background: transparent;
}
.sticky-menu .sticky-menu-list::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.12);
    border-radius: 4px;
}
.sticky-menu .sticky-menu-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,.22);
}
.sticky-menu .sticky-brand { margin: 0 0 8px; }
.sticky-menu .sticky-brand .item-inner {
    padding: 6px 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.sticky-menu .sticky-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.sticky-menu .sticky-brand .text.tagline {
    font-weight: 500;
    font-size: 0.9em;
    opacity: 0.8;
}
.sticky-menu li > a,
.sticky-menu li > button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

.sticky-menu .item-inner { display: inline-flex; align-items: center; width: 100%; min-width: 0; }
.sticky-menu .item-inner .text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.sticky-menu .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
}
.sticky-menu .icon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 5px;
}
.sticky-menu .icon svg {
    width: 20px;
    height: 20px;
}

/* category dropdown */
.sticky-menu .sticky-cat .chev {
    margin-left: auto;
    transition: transform .25s ease;
}
.sticky-menu .sticky-cat.open .chev { transform: rotate(180deg); }

.sticky-menu .submenu {
    list-style: none;
    margin: 2px 0 0;
    padding: 2px 0 2px 6px;
    border-left: 2px solid rgba(0,0,0,.06);
    font-size: 11px;
    line-height: 1.5;
}
.sticky-menu .submenu .submenu-item a,
.sticky-menu .submenu .submenu-item button,
.sticky-menu .submenu .submenu-item .nested-link {
    border-radius: 0;
    min-height: auto;
    height: auto;
    line-height: 1.5;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #4a4a4a;
}
/* Equalise padding — Elementor sets padding on li>a via widget settings,
   nested-link is not li>a so needs explicit match */
.sticky-menu .submenu .has-nested .nested-link {
    padding-left: 9px;
}
.sticky-menu .submenu .submenu-item {
    margin: 0;
    padding: 0;
}

/* nested category: link + arrow in one row */
.sticky-menu .nested-row {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}
.sticky-menu .nested-link {
    flex: 1;
    min-width: 0;
    border-radius: 0;
    overflow: hidden;
    padding: 3px 6px;
    min-height: auto;
    height: auto;
    line-height: 1.35;
    font-size: inherit;
    font-weight: inherit;
}
.sticky-menu .nested-arrow {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    color: inherit;
    opacity: .4;
    transition: all .15s ease;
    margin-left: 2px;
}
.sticky-menu .nested-arrow:hover {
    opacity: 1;
}
.sticky-menu .nested-chev {
    font-size: 14px;
    transition: transform .25s ease;
    line-height: 1;
}
.sticky-menu .has-nested.nested-open > .nested-row .nested-chev {
    transform: rotate(90deg);
}
.sticky-menu .submenu--nested {
    margin-top: 0;
    padding-left: 6px;
    font-size: 11px;
}
/* ALWAYS hide nested until parent has .nested-open — nuclear override */
.sticky-menu .submenu--nested {
    display: none !important;
}
.sticky-menu .has-nested.nested-open > .submenu--nested {
    display: block !important;
}

.sticky-social {
    padding: 0 10px 16px;
    flex-shrink: 0;
}

.sticky-social-title {
    margin: 6px 12px 8px;
    font-size: 0.8em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a7a7a;
}

.sticky-social-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* MOBILE: bottom horizontal */
@media (max-width: 768px) {
    .sticky-menu .sticky-menu-list {
        padding: 0 8px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .sticky-menu .sticky-brand {
        display: none;
    }

    .sticky-menu .sticky-social {
        display: none;
    }

    .sticky-menu .sticky-item {
        margin: 0 !important;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .sticky-menu li > a,
    .sticky-menu li > button {
        justify-content: center;
        width: auto;
    }

    /* на мобиле подкатегории обычно не раскрывают в bottom nav */
    .sticky-menu .submenu { display: none !important; }
    .sticky-menu .chev { display: none; }
}
.sticky-menu .cat-toggle,
.sticky-menu .cat-toggle .text,
.sticky-menu .cat-toggle .chev {
    color: inherit;
}
.sticky-menu .cat-toggle {
    cursor: pointer;
}

/* если где-то есть opacity на hover — принудительно вернём */
/* base colors */
.sticky-menu li > a,
.sticky-menu li > button {
    background: transparent;
    color: #7a7a7a;
    transition: color 0.2s ease;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
}
.sticky-menu .submenu a,
.sticky-menu .submenu button,
.sticky-menu .nested-link {
    background: transparent;
    color: #4a4a4a;
    transition: color 0.2s ease;
}

/* hover: just color, no background */
.sticky-menu li > a:hover,
.sticky-menu li > button:hover,
.sticky-menu .submenu a:hover,
.sticky-menu .nested-link:hover {
    background: transparent;
    color: #000000;
}

.sticky-menu li > a.is-active,
.sticky-menu .nested-link.is-active {
    background: transparent;
    color: #000000;
    font-weight: 600;
}

.sticky-menu .cat-toggle:hover .text,
.sticky-menu .cat-toggle:hover .chev {
    opacity: 1;
}

/* если иконки svg используются (Elementor icons) */
.sticky-menu svg {
    fill: currentColor;
}

/* collapsed: подменю не показываем вообще */
.sticky-menu.collapsed .submenu {
    display: none !important;
}

/* чтобы SVG-иконки не исчезали при hover/цветах */
.sticky-menu .icon svg { fill: currentColor; }
/* sidebar width already animates */
.sticky-menu {
    transition: width .35s ease;
    background-color: rgb(237, 234, 231);
}

/* target контента для ресайза (JS повесит класс) */
.sticky-resize-target{
    box-sizing: border-box;
    transition: margin-left .35s ease, width .35s ease;
}

/* на мобиле: sidebar снизу, контент не сжимаем */
@media (max-width: 768px){
    .sticky-resize-target{
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* collapsed: submenu не показываем */
.sticky-menu.collapsed .submenu{ display:none !important; }
.sticky-menu.editor-force-expanded .submenu[hidden]{ display:none !important; }

:root{
    --sticky-expanded: 240px;
    --sticky-collapsed: 72px;
    --sticky-offset: var(--sticky-expanded);
}

/* ЕДИНСТВЕННОЕ место ресайза */
body.has-sticky-menu{
    padding-left: var(--sticky-offset);
    transition: padding-left .35s ease;
}

/* collapsed */
body.has-sticky-menu.sticky-collapsed{
    --sticky-offset: var(--sticky-collapsed);
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    display:flex;
    flex-direction:column;
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal span {
    margin: var(--swiper-pagination-bullet-horizontal-gap); !important;
    transition: all 0.5s ease-in-out;

}.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal span:hover {
     transition: all 0.3s ease ;
 }
/* mobile reset */
@media (max-width: 768px){
    body.has-sticky-menu{
        padding-left: 0 !important;
    }
}
.sticky-menu-company-texts-parent{
    display: flex;
    flex-direction: column;
}
.button-hide-sticky-menu{
    font-family: sans-serif;
    font-size: 12px;
    box-sizing: border-box;
    -webkit-font-smoothing: inherit;
    aspect-ratio: 1;
    cursor: pointer;
    height: 28px;
    z-index: 10;
    flex-flow: row;
    flex: none;
    place-content: center;
    align-items: center;
    gap: 10px;
    width: 28px;
    padding: 0;
    display: flex;
    position: absolute;
    top: 45px;
    right: -20px;
    overflow: visible;
    transform: none;
    transform-origin: 50% 50% 0px;
    color: black;
    border-color: black;
}
.button-hide-sticky-menu:hover{
    background-color: black;
}
.button-hide-sticky-menu:focus{
    background-color: black;
}
.sticky-menu-list,
.sticky-social-list{
    font-size: 15px;
}
.sticky-social-title{
    font-size: 10px;
}
