@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
.ebh,.ebh *{box-sizing:border-box}
.ebh{position:relative;z-index:1003;background:#fff;color:#151a2e;font-family:Manrope,Arial,sans-serif!important;border-bottom:1px solid #e9edf6}
.ebh a,.ebh button,.ebh input{font-family:inherit!important}
.ebh a{text-decoration:none;color:inherit}.ebh button{cursor:pointer}.ebh [hidden]{display:none!important}
.ebh-shell{width:min(1240px,calc(100% - 40px));margin:0 auto}
.ebh-top{background:#f5f7fc;border-bottom:1px solid #e9edf6}
.ebh-top-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:38px;font-size:12px;color:#68758c;font-weight:600}
.ebh-top-links{display:flex;gap:22px;white-space:nowrap}.ebh-top-links a:hover,.ebh-nav a:hover{color:#2450d9}
.ebh-primary{display:flex;align-items:center;gap:16px;min-height:90px}
.ebh-brand{flex:0 0 auto;white-space:nowrap;letter-spacing:-1.35px;font-size:30px;line-height:1.1;font-weight:800;color:#e12535!important}
.ebh-brand-red{color:#e12535}.ebh-brand-blue{color:#2450d9}
.ebh-svg{flex-shrink:0}
.ebh-catalog,.ebh-contacts-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:49px;padding:0 17px;border:1px solid #dce5f9;border-radius:12px;background:#edf3ff;color:#2450d9;font-size:15px;font-weight:750;white-space:nowrap}
.ebh-catalog .ebh-svg:last-child,.ebh-contacts-button .ebh-svg:last-child{width:15px;height:15px}
.ebh-catalog[aria-expanded=true],.ebh-catalog:hover{background:#2450d9;color:#fff;border-color:#2450d9}
.ebh-contacts-button{background:#fff;color:#17233f;border-color:transparent;padding:0 7px}
.ebh-contacts-button:hover,.ebh-contacts-button[aria-expanded=true]{color:#2450d9;background:#f4f7ff}
.ebh-contacts-text{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.ebh-contacts-text strong{font-size:15px;font-weight:800}.ebh-contacts-text small{font-size:11px;color:#8190a8;font-weight:500}
.ebh-search{display:flex;align-items:center;flex:1;min-width:100px;border:1px solid #e0e6f2;border-radius:12px;overflow:hidden;height:49px;background:#f9fbff}
.ebh-search:focus-within{border-color:#2450d9;box-shadow:0 0 0 3px #2450d915}
.ebh-search input{outline:0!important;box-shadow:none!important;min-width:0;width:100%;height:100%;border:0!important;background:transparent!important;padding:0 16px!important;color:#151a2e;font-size:15px;font-weight:500}
.ebh-search input::placeholder{color:#9aa5ba}.ebh-search button{height:100%;display:flex;align-items:center;justify-content:center;border:0;background:#2450d9;color:#fff;padding:0 17px}
.ebh-cart{display:flex;align-items:center;gap:9px;white-space:nowrap;position:relative;font-size:15px;font-weight:700;color:#151a2e}
.ebh-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;background:#2450d9;color:#fff;border-radius:99px;font-size:11px;line-height:1;font-weight:800}
.ebh-nav{border-top:1px solid #eef1f7;display:flex;align-items:center;gap:32px;min-height:54px}.ebh-nav a{font-size:15px;font-weight:650;white-space:nowrap}
.ebh-mobile-menu{display:none;border:1px solid #dce5f9;background:#f4f7ff;border-radius:11px;align-items:center;justify-content:center;width:47px;height:47px;color:#2450d9;flex-shrink:0}
.ebh-popover{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid #eef1f7;border-bottom:1px solid #e0e7f4;box-shadow:0 18px 35px rgba(20,34,68,.12);z-index:5}
.ebh-panel-body{padding-top:22px;padding-bottom:24px}.ebh-panel-title{display:flex;gap:10px;align-items:center;font-size:20px;margin-bottom:18px;color:#151a2e}.ebh-panel-title .ebh-svg{color:#2450d9}.ebh-panel-title a{margin-left:auto;font-size:13px;font-weight:700;color:#2450d9}
.ebh-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:55vh;overflow:auto}
.ebh-section{display:flex;align-items:center;min-height:49px;padding:13px 16px;border:1px solid #edf1f9;border-radius:12px;background:#f8faff;color:#202b42!important;font-size:14px;font-weight:700;line-height:1.3}
.ebh-section:hover{background:#edf3ff;color:#2450d9!important;border-color:#c9d6fc}.ebh-section-level-2{padding-left:24px;font-weight:600}.ebh-section-level-3{padding-left:32px;font-weight:500}
.ebh-contacts-panel{left:auto;right:max(20px,calc((100vw - 1240px)/2 + 44px));width:min(365px,calc(100vw - 30px));border-radius:0 0 18px 18px;overflow:hidden}
.ebh-contacts-list{padding:10px}.ebh-contacts-list a{display:flex;align-items:center;gap:14px;padding:12px;border-radius:12px}.ebh-contacts-list a:hover{background:#edf3ff}.ebh-contact-icon{width:43px;height:43px;display:flex;align-items:center;justify-content:center;background:#f0f4ff;color:#2450d9;border-radius:12px}.ebh-contacts-list a>span:last-child{display:flex;flex-direction:column;gap:2px}.ebh-contacts-list strong{font-size:15px;font-weight:750}.ebh-contacts-list small{font-size:12px;color:#79879e}
.ebh-mobile-panel{display:none}
@media(max-width:1100px){.ebh-shell{width:calc(100% - 32px)}.ebh-primary{gap:10px}.ebh-brand{font-size:25px}.ebh-top-inner{font-size:11px}.ebh-nav{gap:22px}.ebh-contacts-text small{display:none}}
@media(max-width:900px){.ebh-contacts-text{display:none}.ebh-contacts-button{padding:0 10px}.ebh-contacts-button .ebh-svg:last-child{display:none}.ebh-top-copy{display:none}}
@media(max-width:767px){.ebh-top{display:none}.ebh-primary{min-height:74px;gap:10px}.ebh-brand{font-size:25px;margin-right:auto}.ebh-search:not(.ebh-search-mobile),.ebh-catalog,.ebh-nav,.ebh-cart-caption{display:none}.ebh-cart{padding:8px}.ebh-mobile-menu{display:inline-flex}.ebh-count{position:absolute;top:0;right:0}.ebh-mobile-panel:not([hidden]){display:block;position:absolute;top:100%;left:0;right:0;padding:16px;background:#fff;box-shadow:0 20px 30px rgba(20,34,68,.12);border-top:1px solid #eef1f7}.ebh-mobile-panel nav{display:flex;flex-direction:column;gap:0}.ebh-mobile-panel nav a,.ebh-mobile-disclosure{padding:14px 2px;border:0;border-bottom:1px solid #eef1f7;font-size:15px;font-weight:700;background:transparent;color:#151a2e;text-align:left}.ebh-mobile-disclosure{width:100%;display:flex;justify-content:space-between;align-items:center}.ebh-mobile-disclosure svg{width:17px}.ebh-search-mobile{display:flex!important;width:100%;margin-bottom:12px}.ebh-categories{grid-template-columns:1fr 1fr;max-height:52vh}.ebh-contacts-panel{right:12px}.ebh-contacts-button{border:0}}
@media(max-width:480px){.ebh-shell{width:calc(100% - 24px)}.ebh-brand{font-size:23px;letter-spacing:-1px}.ebh-primary{gap:5px}.ebh-categories{grid-template-columns:1fr}.ebh-panel-title{font-size:17px}}

/* =====================================
   EnergyBike Header v3
   Enhanced navigation + Sticky Header
   ===================================== */

/* Фиксация шапки */
#ebh-header.ebh {
    position: sticky !important;
    top: 0;
    z-index: 1050;
    background: #ffffff;
    border-bottom: 1px solid #dce5f3;
    box-shadow: 0 5px 24px rgba(24, 43, 84, 0.10);
}

/* Выразительная основная часть */
.ebh .ebh-primary {
    min-height: 96px;
}

/* Более яркий логотип */
.ebh .ebh-brand {
    font-weight: 800;
    letter-spacing: -1.2px;
}

.ebh .ebh-brand-red {
    color: #e12535;
}

.ebh .ebh-brand-blue {
    color: #2450d9;
}

/* Кнопка каталога */
.ebh .ebh-catalog {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 12px;
    background: #2450d9;
    color: #ffffff;
    border-color: #2450d9;
    font-size: 16px;
    font-weight: 700;
    transition: background .2s, box-shadow .2s;
}

.ebh .ebh-catalog:hover,
.ebh .ebh-catalog[aria-expanded="true"] {
    background: #173eb7;
    box-shadow: 0 5px 14px rgba(36, 80, 217, .20);
}

/* Кнопка контактов */
.ebh .ebh-contacts-button {
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #e1e7f2;
    border-radius: 12px;
    background: #f8faff;
}

.ebh .ebh-contacts-button:hover,
.ebh .ebh-contacts-button[aria-expanded="true"] {
    background: #edf3ff;
    border-color: #c9d6fc;
}

/* Поиск */
.ebh .ebh-search {
    height: 52px;
    border-radius: 12px;
}

/* Нижняя навигация */
.ebh .ebh-nav {
    min-height: 66px;
    gap: 26px;
    border-top: 1px solid #e9edf5;
}

.ebh .ebh-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 700;
    color: #26334b;
    transition: background .2s, color .2s;
}

.ebh .ebh-nav a:hover {
    background: #edf3ff;
    color: #2450d9;
}

/* Выпадающие панели поверх контента */
.ebh .ebh-popover {
    z-index: 1060;
    box-shadow: 0 18px 36px rgba(20, 34, 68, .15);
}

/* Планшеты */
@media (max-width: 1100px) {
    .ebh .ebh-nav {
        gap: 8px;
    }

    .ebh .ebh-nav a {
        font-size: 14px;
        padding: 0 8px;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .ebh .ebh-primary {
        min-height: 72px;
    }

    .ebh .ebh-nav {
        display: none;
    }

    .ebh .ebh-mobile-menu {
        width: 48px;
        height: 48px;
    }

    .ebh .ebh-mobile-panel {
        max-height: calc(100dvh - 75px);
        overflow-y: auto;
    }
}


/* ENERGYBIKE COMPACT HEADER V3 START */

/* Убираем верхнюю серую полосу */
.ebh .ebh-top {
    display: none !important;
}

/* Компактная основная строка */
.ebh .ebh-primary {
    min-height: 72px !important;
    gap: 14px;
}

/* Логотип */
.ebh .ebh-brand {
    font-size: 27px;
}

/* Поиск */
.ebh .ebh-search {
    height: 43px;
}

/* Кнопки каталога и контактов */
.ebh .ebh-catalog,
.ebh .ebh-contacts-button {
    min-height: 43px;
}

/* Нижнее меню */
.ebh .ebh-nav {
    min-height: 44px !important;
    gap: 28px;
}

.ebh .ebh-nav a {
    font-size: 14px;
}

/* Планшеты */
@media (max-width: 1100px) {
    .ebh .ebh-primary {
        min-height: 66px !important;
        gap: 10px;
    }

    .ebh .ebh-nav {
        min-height: 42px !important;
        gap: 18px;
    }
}

/* Телефоны */
@media (max-width: 767px) {
    .ebh .ebh-primary {
        min-height: 62px !important;
    }

    .ebh .ebh-brand {
        font-size: 23px;
    }

    .ebh .ebh-mobile-menu {
        width: 42px;
        height: 42px;
    }
}

/* ENERGYBIKE COMPACT HEADER V3 END */

/* ENERGYBIKE HEADER TREE V4 */
.ebh .ebh-category-tree{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-height:min(65vh,560px);overflow:auto;align-items:start;padding:2px 2px 10px}
.ebh .ebh-tree-group{min-width:0;background:#f7f9fd;border:1px solid #e1e9f6;border-radius:14px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.ebh .ebh-tree-group[open]{background:#fff;border-color:#c1d1fa;box-shadow:0 8px 20px rgba(29,57,115,.07)}
.ebh .ebh-tree-group>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:63px;padding:15px;font-size:14px;line-height:1.35;font-weight:800;color:#16233d;cursor:pointer}
.ebh .ebh-tree-group>summary::-webkit-details-marker,.ebh .ebh-tree-subgroup>summary::-webkit-details-marker{display:none}
.ebh .ebh-tree-group>summary:hover{color:#2450d9;background:#edf3ff}
.ebh .ebh-tree-group>summary>svg{flex:none;color:#2450d9;transition:transform .2s}
.ebh .ebh-tree-group[open]>summary>svg{transform:rotate(180deg)}
.ebh .ebh-tree-group-body{padding:0 11px 12px;border-top:1px solid #edf1f8}
.ebh .ebh-tree-all-link{display:block;padding:11px 9px;color:#2450d9!important;font-size:12px;font-weight:800}
.ebh .ebh-tree-children{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.ebh .ebh-tree-child{min-width:0;margin:0;padding:0}
.ebh .ebh-tree-child>a,.ebh .ebh-tree-subgroup>summary{display:block;padding:10px 9px;border-radius:9px;color:#41506d;font-size:13px;font-weight:650;line-height:1.35;text-decoration:none}
.ebh .ebh-tree-child>a:hover,.ebh .ebh-tree-subgroup>summary:hover{background:#edf3ff;color:#2450d9}
.ebh .ebh-tree-subgroup>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:6px}
.ebh .ebh-tree-subgroup>summary:after{content:'+';color:#2450d9;font-size:17px;font-weight:600}
.ebh .ebh-tree-subgroup[open]>summary:after{content:'−'}
.ebh .ebh-tree-subgroup .ebh-tree-all-link{padding-left:18px}
.ebh .ebh-tree-subgroup .ebh-tree-children{padding-left:13px;border-left:1px solid #e1e9f6;margin-left:9px}
.ebh .ebh-tree-group summary:focus-visible,.ebh .ebh-tree-group a:focus-visible{outline:2px solid #2450d9;outline-offset:2px}
@media(max-width:1080px){.ebh .ebh-category-tree{grid-template-columns:repeat(2,minmax(0,1fr));max-height:65vh}}
@media(max-width:600px){.ebh .ebh-category-tree{grid-template-columns:1fr;max-height:55vh}.ebh .ebh-tree-group>summary{min-height:53px;padding:13px}}


/* ENERGYBIKE TREE INNER SCROLL V5 START */

/* Убираем прокрутку всего списка категорий */
.ebh .ebh-category-tree {
    max-height: none !important;
    overflow: visible !important;
    align-items: start !important;
}

/* Основная категория */
.ebh .ebh-tree-group {
    min-width: 0;
    overflow: hidden;
}

/* Прокрутка только внутри открытого подраздела */
.ebh .ebh-tree-group-body {
    max-height: min(45vh, 360px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c7d6f3 transparent;
}

/* Аккуратный скролл в Chrome / Safari */
.ebh .ebh-tree-group-body::-webkit-scrollbar {
    width: 5px;
}

.ebh .ebh-tree-group-body::-webkit-scrollbar-thumb {
    background: #c7d6f3;
    border-radius: 10px;
}

.ebh .ebh-tree-group-body::-webkit-scrollbar-track {
    background: transparent;
}

/* На телефоне */
@media (max-width: 600px) {
    .ebh .ebh-tree-group-body {
        max-height: 40vh;
    }
}

/* ENERGYBIKE TREE INNER SCROLL V5 END */


/* EB CATEGORY WORD WRAP START */
.ebuc-card__copy h2,
.ebuc-card__copy h3 {
    -webkit-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
}
/* EB CATEGORY WORD WRAP END */

/* EB COMPACT HEADER 2026 */
#ebh-header.ebh { position:sticky !important; top:-33px; z-index:1050; box-shadow:0 4px 20px rgba(25,45,90,.07); }
.ebh .ebh-top-inner { min-height:33px; font-size:12px; }
.ebh .ebh-shell { width:min(1380px,calc(100% - 40px)); }
.ebh .ebh-primary { min-height:70px; gap:15px; }
.ebh .ebh-brand { display:flex; flex-wrap:wrap; align-items:baseline; width:192px; font-size:27px; line-height:1; }
.ebh .ebh-brand-tagline { display:block; width:100%; margin-top:5px; color:#6c7e9b; font-size:8px; letter-spacing:.035em; font-weight:800; }
.ebh .ebh-catalog { min-height:44px; padding:0 15px; background:#2850dc; color:#fff; border-color:#2850dc; font-size:14px; }
.ebh .ebh-catalog:hover,.ebh .ebh-catalog[aria-expanded=true] { background:#173eae; }
.ebh .ebh-search { height:44px; }
.ebh .ebh-search input { font-size:14px; }
.ebh .ebh-phone-block { display:flex; flex-direction:column; align-items:flex-end; gap:4px; white-space:nowrap; }
.ebh .ebh-phone-block a { color:#2850dc; font-size:14px; font-weight:800; }
.ebh .ebh-phone-block a:last-child { font-size:12px; }
.ebh .ebh-contacts-button,.ebh .ebh-cart { min-height:44px; color:#263957; }
.ebh .ebh-contacts-button .ebh-contacts-text strong,.ebh .ebh-cart-caption { font-size:12px; }
.ebh .ebh-contacts-text small,.ebh .ebh-contacts-button .ebh-svg:last-child { display:none; }
.ebh .ebh-contacts-button > .ebh-svg,.ebh .ebh-cart > .ebh-svg { width:24px; height:24px; stroke-width:1.8; }
.ebh .ebh-nav { min-height:44px; gap:clamp(14px,2.2vw,32px); }
.ebh .ebh-nav a { font-size:13px; font-weight:800; }
.ebh .ebh-nav .ebh-install-link { margin-left:auto; color:#2850dc; }
.ebh a:focus-visible,.ebh button:focus-visible { outline:2px solid #2850dc; outline-offset:3px; }
@media(max-width:1150px) { .ebh .ebh-brand { width:155px; font-size:23px; } .ebh .ebh-phone-block { display:none; } .ebh .ebh-nav { gap:14px; } .ebh .ebh-nav a { font-size:12px; } }
@media(max-width:767px) { #ebh-header.ebh { top:0; } .ebh .ebh-primary { min-height:62px; } .ebh .ebh-brand { width:auto; font-size:23px; } .ebh .ebh-brand-tagline { font-size:7px; } .ebh .ebh-contacts-text { display:none; } }

/* EB HEADER SCROLL TOPBAR FIX */
#ebh-header.ebh {
  top: 0 !important;
}

@media (min-width: 768px) {
  #ebh-header .ebh-top {
    display: block !important;
    max-height: 60px;
    overflow: hidden;
    opacity: 1;
    transition: max-height .25s ease, opacity .2s ease;
  }

  #ebh-header .ebh-top .ebh-top-inner {
    display: flex;
    min-height: 33px;
  }

  #ebh-header.ebh-top-collapsed .ebh-top {
    max-height: 0;
    opacity: 0;
    border-bottom: 0;
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  #ebh-header .ebh-top {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ebh-header .ebh-top {
    transition: none;
  }
}

/* EB MOBILE CATALOG AND CART */
@media (max-width: 767px) {
  #ebh-header .ebh-primary {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  #ebh-header .ebh-brand {
    min-width: 0;
    margin-right: auto;
    font-size: 21px;
  }

  #ebh-header .ebh-catalog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 10px;
    gap: 6px;
    border-radius: 10px;
    font-size: 12px;
  }

  #ebh-header .ebh-catalog .ebh-svg:first-child {
    width: 19px;
    height: 19px;
  }

  #ebh-header .ebh-catalog .ebh-svg:last-child {
    display: none;
  }

  #ebh-header .ebh-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 42px;
    min-height: 42px;
    padding: 8px;
  }

  #ebh-header .ebh-mobile-menu {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
  }

  #ebh-header .ebh-contacts-button {
    display: none;
  }
}

@media (max-width: 380px) {
  #ebh-header .ebh-primary {
    gap: 4px;
  }

  #ebh-header .ebh-brand {
    font-size: 18px;
  }

  #ebh-header .ebh-brand-tagline {
    display: none;
  }

  #ebh-header .ebh-catalog {
    padding: 0 8px;
  }
}

/* EB MOBILE HEADER WIDTH FIX */
@media (max-width: 767px) {
  #ebh-header.ebh {
    width: 100%;
    max-width: 100%;
  }

  #ebh-header .ebh-shell {
    width: calc(100% - 24px);
    max-width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
  }

  #ebh-header .ebh-primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 40px 40px;
    align-items: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
  }

  #ebh-header .ebh-brand {
    display: flex;
    width: auto;
    min-width: 0;
    margin: 0;
    font-size: clamp(16px, 5vw, 21px);
    letter-spacing: -.8px;
    white-space: nowrap;
  }

  #ebh-header .ebh-brand-tagline,
  #ebh-header .ebh-phone-block,
  #ebh-header .ebh-contacts-button {
    display: none;
  }

  #ebh-header .ebh-catalog {
    display: inline-flex;
    min-width: 0;
    min-height: 40px;
    padding: 0 8px;
    gap: 5px;
    font-size: 12px;
  }

  #ebh-header .ebh-cart,
  #ebh-header .ebh-mobile-menu {
    display: inline-flex;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    justify-content: center;
    align-items: center;
  }
}
