/* Шапка на компьютере по макету header-v6b (размеры и цвета — из копии /lk-dev/, они сняты с Figma). Только от 992px:
   ниже тема показывает свою мобильную шапку, а .header_wrap Aspro скрыт. */
.header-wrapper > .logo_and_menu-row{display:none!important} /* старая верхняя часть Aspro: в странице, но не видна */

.ssh{padding:18px 0 17px;background:#fff;color:#141414}
.ssh a{text-decoration:none}
.ssh-top{display:flex;align-items:flex-start;height:40px}
/* без подписи «Магазин Apple-техники в Москве», логотип чуть крупнее макета (187→214) — Роман, 13.10 */
.ssh-logo{display:block;flex:0 0 auto;align-self:center;width:214px}
.ssh-logo img{display:block;width:214px;height:24px}
.ssh-addr{display:flex;align-items:flex-start;gap:8px;margin-left:26px;margin-top:5px;width:250px;flex:0 0 auto;color:#141414} /* верх метки — вровень с верхом логотипа (Роман, 13.10) */
.ssh-addr:hover{color:#3669fd}
.ssh-addr img{width:9px;height:12px;margin-top:3px;flex:0 0 auto}
.ssh-addr span{font-size:13px;line-height:17px}
/* рейтинги — ближе к мессенджерам, чем к адресу, и по одной линии с ними (Роман, 13.10) */
.ssh-rates{display:flex;align-items:center;gap:22px;margin-left:auto;padding-top:17px;flex:0 0 auto}
.ssh-rate{display:flex;align-items:center;gap:6px;font-size:14px;line-height:18px;color:#000}
.ssh-rate img{display:block;height:19px;width:auto}
.ssh-rate b{font-weight:700}
.ssh-right{margin-left:40px;display:flex;align-items:center;gap:28px;padding-top:3px}
.ssh-msgrs{display:flex;align-items:center;gap:8px}
.ssh-msgrs img{display:block;width:36px;height:36px}
.ssh-phone{position:relative}
.ssh-phone__num{display:flex;align-items:center;gap:10px;font-size:20px;line-height:24px;font-weight:700;letter-spacing:-.2px;color:#141414!important;white-space:nowrap}
.ssh-phone__num svg{width:8px;height:5px}
.ssh-phone__time{margin-top:5px;font-size:13px;line-height:17px;color:#141414}
.ssh-phone__more{display:none;position:absolute;right:-12px;top:100%;z-index:1000;min-width:230px;margin-top:6px;padding:8px;
  background:#fff;border-radius:12px;box-shadow:0 8px 28px rgba(20,20,20,.14)}
.ssh-phone:hover .ssh-phone__more,.ssh-phone:focus-within .ssh-phone__more{display:block}
.ssh-phone__more::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px} /* мостик, чтобы курсор не терял меню */
.ssh-phone__more a{display:block;padding:8px 10px;border-radius:8px;color:#141414}
.ssh-phone__more a:hover{background:#f3f4f6}
.ssh-phone__more b{display:block;font-size:16px;line-height:20px}
.ssh-phone__more span{display:block;font-size:12px;line-height:16px;color:#737373}

.ssh-mid{display:flex;align-items:center;gap:10px;margin-top:17px}
.ssh-search{position:relative;flex:1 1 auto;min-width:0;height:45px;margin:0;background:#f5f5f5;border-radius:10px;display:flex;align-items:center;padding:0 6px 0 30px}
.ssh-search input{flex:1;min-width:0;height:100%;border:0!important;background:transparent!important;outline:none;box-shadow:none!important;padding:0!important;
  font-size:16px;color:#141414}
.ssh-search input::placeholder{color:#737373;opacity:1} /* серый, не чёрный — меньше бросается в глаза (Роман, 13.10) */
.ssh-search:focus-within{box-shadow:0 0 0 2px #3669fd}
.ssh-search input::-webkit-search-cancel-button,.ssh-search input::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.ssh-search button{height:33px;padding:0 16px;border:0;border-radius:8px;background:#3669fd;color:#fff;font-size:14px;line-height:17px;cursor:pointer}
.ssh-search button:hover{background:#2456ea}
.ssh-ic{position:relative;width:45px;height:45px;flex:0 0 auto;background:#f5f5f5;border-radius:10px;display:flex;align-items:center;justify-content:center}
.ssh-ic:hover{background:#eceef3}
.ssh-ic img{display:block;width:18px;height:18px}
.ssh-badge{position:absolute;top:-2px;right:-2px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#3669fd;color:#fff;
  font-size:10px;line-height:16px;text-align:center}
.ssh-bonus{height:45px;flex:0 0 auto;display:inline-flex;align-items:center;padding:0 14px;background:#f5f5f5;border-radius:10px;
  font-size:17px;line-height:20px;font-weight:700;color:#3669fd!important;white-space:nowrap}
.ssh-bonus:hover{background:#eceef3}

/* настоящая шапка лежит поверх полосы: при прокрутке вверх она наезжает на полосу сверху,
   и полоса уходит под синюю строку меню, а не исчезает рывком (Роман, 13.10) */
body .header_wrap{position:relative;z-index:1000!important;background:#fff} /* у темы тут z-index:4 */

/* узкая полоса при прокрутке (вариант Б): появляется, когда листают вверх, прячется, когда вниз */
.ssh-bar{position:fixed;left:0;right:0;top:0;z-index:999;background:#fff;box-shadow:0 1px 0 #e3e3e3,0 6px 18px rgba(20,20,20,.06);
  transform:translateY(-100%);visibility:hidden;
  /* уезжает вверх за 0,3 с и только потом становится невидимой — раньше пропадала сразу, анимации не было видно */
  transition:transform .3s ease,visibility 0s linear .3s}
.ssh-bar.is-on{transform:none;visibility:visible;transition:transform .3s ease,visibility 0s}
.ssh-bar__in{display:flex;align-items:center;gap:10px;height:64px}
.ssh-bar__logo{flex:0 0 auto;margin-right:10px}
.ssh-bar__logo img{display:block;width:150px;height:auto}
.ssh-bar__cat{height:45px;flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;padding:0 16px;border:0;border-radius:10px;
  background:#3669fd;color:#fff;font-size:14px;line-height:17px;font-weight:700;cursor:pointer}
.ssh-bar__cat svg{width:18px;height:18px}
.ssh-bar__cat:hover,.ssh-bar__cat[aria-expanded="true"]{background:#2456ea}
.ssh-bar .ssh-search{padding-left:20px}

/* меню каталога темы, открытое из полосы, — сразу под полосой */
html.ssh-cat-open .header_wrap .menu-row td.catalog > .wrap > .dropdown-menu{display:block!important;position:fixed!important;top:64px!important;
  opacity:1!important;visibility:visible!important;z-index:998}

@media (max-width:991px){.ssh,.ssh-bar{display:none!important}}
@media (max-width:1199px){
  .ssh-rates{gap:14px}
  .ssh-addr{margin-left:18px}
  .ssh-right{margin-left:24px;gap:16px}
}
@media (max-width:1100px){.ssh-rates{display:none}.ssh-right{margin-left:auto}}
@media (prefers-reduced-motion:reduce){.ssh-bar{transition:none}}
