: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;
}

.sticky-menu.collapsed {
    width: var(--sticky-collapsed);
}

/* ===== TEXT ===== */

.sticky-menu .text {
    transition: opacity .2s ease, width .2s ease;
}

.sticky-menu.collapsed .text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* ===== TOGGLE ===== */

.sticky-toggle {
    position: absolute;
    top: 20px;
    right: -14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
}

.sticky-toggle .arrow {
    display: inline-block;
    transition: transform .35s ease;
}

.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;
}
.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%; }
.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: 6px 0 0;
    padding: 6px 6px 6px 12px;
    border-left: 2px solid rgba(0,0,0,.08);
}
.sticky-menu .submenu .submenu-item a { border-radius: 10px; }
.sticky-menu .submenu .submenu-item.all a { opacity: .9; }

.sticky-social {
    padding: 0 10px 16px;
}

.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-cat.open .cat-toggle { cursor: pointer; }
.sticky-menu .cat-toggle,
.sticky-menu .cat-toggle .text,
.sticky-menu .cat-toggle .chev {
    color: inherit;
}

/* если где-то есть opacity на hover — принудительно вернём */
/* base colors: match panel gray */
.sticky-menu li > a,
.sticky-menu li > button {
    background: rgb(237, 234, 231);
    color: #7a7a7a;
    transition: all 0.25s ease-in-out;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
}
.sticky-menu .submenu a {
    background: rgb(237, 234, 231);
    color: #7a7a7a;
    transition: all 0.25s ease-in-out;
}

/* hover: white background, black text */
.sticky-menu li > a:hover,
.sticky-menu li > button:hover {
    background: #ffffff;
    color: #000000;
    transition: all 0.5s ease-in-out;
}
.sticky-menu .submenu a:hover {
    background: #ffffff;
    color: #000000;
    transition: all 0.5s ease-in-out;
}

.sticky-menu li > a.is-active {
    background: #ffffff;
    color: #000000;
}

.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 .text {
    display: none !important;
}

/* collapsed: скрываем стрелки dropdown */
.sticky-menu.collapsed .chev {
    display: none !important;
}

/* collapsed: подменю не показываем вообще */
.sticky-menu.collapsed .submenu {
    display: none !important;
}

/* collapsed: hide social title */
.sticky-menu.collapsed .sticky-social-title {
    display: none;
}

/* чтобы 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: текст/chev/submenu не показываем */
.sticky-menu.collapsed .text{ display:none !important; }
.sticky-menu.collapsed .chev{ display:none !important; }
.sticky-menu.collapsed .submenu{ 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;
}
