/* ============================================================
   БЕЛВИДЕО — шапка сайта (новий вариант, prototype-based)
   Все селекторы уникальны (bv-*), область — body .bv-head,
   чтобы не конфликтовать с common.css шаблона.
   ============================================================ */

body .bv-head{
  --bv-blue:#0b84e6;
  --bv-blue-600:#0a72c7;
  --bv-blue-700:#085fa6;
  --bv-blue-050:#eef6ff;
  --bv-blue-100:#d8ecff;
  --bv-ink:#0f1b2d;
  --bv-ink-2:#33404f;
  --bv-muted:#6b7787;
  --bv-line:#e7ebf0;
  --bv-soft:#f6f8fb;
  position:sticky;
  top:0;
  z-index:1000;
  width:100%;
  background:#fff;
  color:var(--bv-ink-2);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  font-size:15px;
  line-height:1.45;
  text-align:left;
  box-shadow:0 0 0 rgba(16,27,45,0);
  transition:box-shadow .2s ease;
}
body .bv-head.is-stuck{box-shadow:0 6px 24px rgba(16,27,45,.10)}
body .bv-head.is-stuck .bv-topline,
body .bv-head.is-stuck .bv-searchbar{display:none}

body .bv-head *{box-sizing:border-box}
body .bv-head ul{list-style:none;margin:0;padding:0}
body .bv-head li{margin:0;padding:0}
body .bv-head a{color:inherit;text-decoration:none}
body .bv-head img{display:block;max-width:100%}
body .bv-head button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
body .bv-head svg{display:block}

body .bv-head .bv-container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
body .bv-head .bv-container::before,
body .bv-head .bv-container::after{content:none;display:none}
/* В режиме правки админки включаемые области оборачиваются в <div id="bx_incl_area_*">.
   Обёртка не должна участвовать в раскладке. */
body .bv-head [id^="bx_incl_area_"]{display:contents}

/* ------------------------ Верхняя полоса ------------------------ */
body .bv-head .bv-topline{background:var(--bv-soft);border-bottom:1px solid var(--bv-line);font-size:13px;color:var(--bv-muted)}
body .bv-head .bv-topline__in{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:40px;padding-top:6px;padding-bottom:6px}
body .bv-head .bv-topline__left{display:flex;align-items:center;gap:22px;flex-wrap:wrap;min-width:0}
body .bv-head .bv-topline__item{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
body .bv-head .bv-topline__item svg{width:15px;height:15px;color:var(--bv-blue);flex:none}
body .bv-head .bv-topline__right{display:flex;align-items:center;gap:16px;flex:none}
body .bv-head .bv-topline__link{transition:color .18s;white-space:nowrap}
body .bv-head .bv-topline__link:hover{color:var(--bv-blue)}

body .bv-head .bv-topline__auth,
body .bv-head .bv-topline__fav,
body .bv-head .bv-topline__cart{display:inline-flex;align-items:center}
body .bv-head .bv-topline__right .b-topline-user__link,
body .bv-head .bv-topline__right .b-topline-favorite,
body .bv-head .bv-topline__right .b-topline-cart{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--bv-ink-2);line-height:1;white-space:nowrap;transition:color .18s}
body .bv-head .bv-topline__right .b-topline-user__link:hover,
body .bv-head .bv-topline__right .b-topline-favorite:hover,
body .bv-head .bv-topline__right .b-topline-cart:hover{color:var(--bv-blue)}
body .bv-head .bv-topline__right .icon-svg{width:15px;height:15px;fill:currentColor;color:var(--bv-muted)}
body .bv-head .bv-topline__right .b-topline-favorite__count,
body .bv-head .bv-topline__right .b-topline-cart__count{font-size:11px;font-weight:700;color:var(--bv-blue)}
body .bv-head .bv-topline__right .icon-svg svg{display:none}

/* ------------------------ Основная строка ------------------------ */
body .bv-head .bv-head__main{background:#fff;border-bottom:1px solid var(--bv-line)}
body .bv-head .bv-head__in{display:flex;align-items:center;gap:14px;height:78px}

body .bv-head .bv-logo{display:flex;align-items:center;gap:13px;flex:none}
body .bv-head .bv-logo__img{width:60px;height:60px;object-fit:contain;flex:0 0 60px}
body .bv-head .bv-logo__txt{display:flex;flex-direction:column;line-height:1.15}
body .bv-head .bv-logo__txt b{display:block;max-width:186px;font-size:14.5px;font-weight:800;color:var(--bv-ink);letter-spacing:-.01em;line-height:1.2}
body .bv-head .bv-logo__txt span{font-size:11.5px;color:var(--bv-muted);letter-spacing:.01em}

body .bv-head .bv-nav{min-width:0;margin-left:0;flex:0 1 auto;overflow:hidden}
body .bv-head .bv-nav__list{display:flex;align-items:center;gap:0}
body .bv-head .bv-nav__item{position:relative}
body .bv-head .bv-nav__link{display:inline-flex;align-items:center;padding:9px 6px;border-radius:9px;font-size:13.5px;font-weight:500;color:var(--bv-ink-2);white-space:nowrap;transition:background .18s,color .18s}
body .bv-head .bv-nav__link:hover,
body .bv-head .bv-nav__link.is-active{background:var(--bv-blue-050);color:var(--bv-blue)}

body .bv-head .bv-head__actions{display:flex;align-items:center;gap:14px;margin-left:auto;flex:none}
body .bv-head .bv-head__phone{display:flex;flex-direction:column;line-height:1.2;text-align:right;flex:none}
body .bv-head .bv-head__phone b{font-size:16px;font-weight:700;color:var(--bv-ink);white-space:nowrap}
body .bv-head .bv-head__phone span{font-size:11.5px;color:var(--bv-muted);white-space:nowrap}
body .bv-head .bv-head__phone:hover b{color:var(--bv-blue)}

body .bv-head .bv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;font-weight:600;white-space:nowrap;transition:background .18s,box-shadow .18s,transform .18s}
body .bv-head .bv-btn--primary{background:var(--bv-blue);color:#fff;padding:11px 18px;font-size:14.5px;box-shadow:0 6px 16px rgba(11,132,230,.28)}
body .bv-head .bv-btn--primary:hover{background:var(--bv-blue-600);box-shadow:0 8px 20px rgba(11,132,230,.34)}
body .bv-head .bv-btn svg{width:18px;height:18px;flex:none}

body .bv-head .bv-burger{display:none;width:44px;height:44px;border-radius:11px;border:1px solid var(--bv-line);background:#fff;place-items:center;color:var(--bv-ink);flex:none}
body .bv-head .bv-burger:hover{border-color:var(--bv-blue);color:var(--bv-blue)}
body .bv-head .bv-burger svg{width:22px;height:22px}

/* ------------------------ Поиск ------------------------ */
body .bv-head .bv-searchbar{background:#fff;border-bottom:1px solid var(--bv-line)}
body .bv-head .bv-searchbar__in{display:flex;align-items:center;gap:14px;padding-top:11px;padding-bottom:11px}
body .bv-head .bv-search{flex:1;display:flex;align-items:center;gap:10px;min-width:0;background:var(--bv-soft);border:1px solid var(--bv-line);border-radius:12px;padding:3px 3px 3px 14px;transition:border-color .18s,background .18s}
body .bv-head .bv-search:focus-within{border-color:var(--bv-blue);background:#fff}
body .bv-head .bv-search svg{width:18px;height:18px;color:var(--bv-muted);flex:none}
body .bv-head .bv-search input{flex:1;min-width:0;border:0;background:none;outline:none;font:inherit;font-size:15px;color:var(--bv-ink);padding:7px 0}
body .bv-head .bv-search input::placeholder{color:var(--bv-muted)}
body .bv-head .bv-search__btn{flex:none;border-radius:9px;background:var(--bv-blue);color:#fff;padding:7px 16px;font-size:14px;font-weight:600;transition:background .18s}
body .bv-head .bv-search__btn:hover{background:var(--bv-blue-600)}
body .bv-head .bv-chips{display:flex;gap:8px;flex:none}
body .bv-head .bv-chip{padding:8px 14px;border-radius:9px;background:var(--bv-soft);border:1px solid var(--bv-line);color:var(--bv-ink-2);font-size:13.5px;font-weight:500;white-space:nowrap;transition:.18s}
body .bv-head .bv-chip:hover{background:var(--bv-blue-050);border-color:var(--bv-blue-100);color:var(--bv-blue)}

/* ------------------------ Мобильное меню ------------------------ */
body .bv-head .bv-mobile{display:none;background:#fff;border-top:1px solid var(--bv-line);max-height:calc(100vh - 76px);overflow:auto;-webkit-overflow-scrolling:touch}
body .bv-head.is-open .bv-mobile{display:block}
body .bv-head .bv-mobile .bv-nav__list{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:14px 0 4px}
body .bv-head .bv-mobile .bv-nav__link{display:block;padding:12px 14px;background:var(--bv-soft);font-size:15px}
body .bv-head .bv-mobile__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 20px;margin-top:10px;border-top:1px solid var(--bv-line)}
body .bv-head .bv-mobile__foot .bv-head__phone{text-align:left}
body .bv-head .bv-mobile__foot .bv-btn{flex:none}

/* ------------------------ Адаптив ------------------------ */
@media (max-width:1280px){
  body .bv-head .bv-head__phone{display:none}
}
@media (max-width:1180px){
  body .bv-head .bv-head__in{gap:14px}
  body .bv-head .bv-nav{margin-left:0}
  body .bv-head .bv-nav__link{padding:9px 7px;font-size:13.5px}
  body .bv-head .bv-head__actions{gap:10px}
  body .bv-head .bv-topline__link{display:none}
  body .bv-head .bv-logo__img{width:54px;height:54px;flex-basis:54px}
  body .bv-head .bv-logo__txt b{max-width:170px;font-size:13.5px}
}
@media (max-width:1080px){
  body .bv-head .bv-nav{display:none}
  body .bv-head .bv-burger{display:grid}
}
@media (max-width:920px){
  body .bv-head .bv-topline{display:none}
  body .bv-head .bv-head__cta{padding:10px 15px;font-size:14px}
}
@media (max-width:700px){
  body .bv-head .bv-chips{display:none}
}
@media (max-width:560px){
  body .bv-head .bv-container{padding:0 16px}
  body .bv-head .bv-head__in{height:68px;gap:10px}
  body .bv-head .bv-logo{gap:10px}
  body .bv-head .bv-logo__img{width:46px;height:46px;flex-basis:46px}
  body .bv-head .bv-logo__txt b{font-size:13.5px;max-width:160px}
  body .bv-head .bv-head__cta{display:none}
  body .bv-head .bv-burger{width:42px;height:42px}
  body .bv-head .bv-mobile{max-height:calc(100vh - 68px)}
  body .bv-head .bv-mobile .bv-nav__list{grid-template-columns:1fr}
}
@media (max-width:380px){
  body .bv-head .bv-logo__img{width:40px;height:40px;flex-basis:40px}
  body .bv-head .bv-logo__txt b{font-size:12.5px;max-width:140px}
}
