.ah-header-menu-panel{display:contents}
.ah-header .ah-menu-toggle{display:none}
@media(max-width:900px){
  .ah-header.ah-container{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;align-items:center;gap:12px 8px;min-height:0;padding-top:14px;margin-bottom:24px}
  .ah-header .ah-logo{grid-column:1;grid-row:1;width:180px;max-width:100%;height:50px;padding:0;display:flex;align-items:center}
  .ah-header .ah-logo img{width:100%;max-width:180px;height:auto}
  .ah-header .ah-header-right,.ah-header .ah-header-bottom{display:contents}
  .ah-header .ah-cart{grid-column:2;grid-row:1;position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;margin:0;padding:8px;border:0;border-radius:10px;background:transparent;box-shadow:none;color:#202020}
  .ah-header .ah-cart>img{width:27px;height:27px}
  .ah-header .ah-cart>span:not(.armada-cart-count){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .ah-header .ah-cart .armada-cart-count{position:absolute;top:0;right:-1px;display:flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 4px;border:2px solid #fafafa;border-radius:20px;font-size:10px;line-height:15px;background:#ab0014;color:#fff}
  .ah-header .ah-menu-toggle{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;padding:10px;border:1px solid #e4e4e4;border-radius:10px;background:#fff;color:#202020;cursor:pointer;box-shadow:none}
  .ah-header .ah-menu-toggle span{display:block;width:21px;height:2px;flex:none;border-radius:2px;background:currentColor;transition:transform .18s ease,opacity .18s ease}
  .ah-header.ah-menu-open .ah-menu-toggle span:first-child{transform:translateY(7px) rotate(45deg)}
  .ah-header.ah-menu-open .ah-menu-toggle span:nth-child(2){opacity:0}
  .ah-header.ah-menu-open .ah-menu-toggle span:last-child{transform:translateY(-7px) rotate(-45deg)}
  .ah-header .ah-menu-toggle:focus-visible,.ah-header .ah-cart:focus-visible{outline:2px solid #ab0014;outline-offset:3px}
  .ah-header .ah-header-bottom>.ah-search{grid-row:2;grid-column:1/-1;order:initial;width:100%;max-width:none;margin:0}
  .ah-header .ah-header-menu-panel{display:none;grid-row:3;grid-column:1/-1;min-width:0;padding:16px;border:1px solid #e9e9e9;border-radius:14px;background:#fff;box-shadow:0 8px 24px #00000008}
  .ah-header.ah-menu-open .ah-header-menu-panel{display:flex;flex-direction:column;gap:18px;animation:ah-menu-appear .18s ease both}
  .ah-header .ah-contacts{order:2;display:flex;align-items:flex-start;gap:6px;margin:0;padding-top:14px;border-top:1px solid #eee;height:auto;font-size:15px;line-height:24px}
  .ah-header .ah-contacts>div{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px 18px}
  .ah-header .ah-contacts>a{font-size:14px}
  .ah-header .ah-nav{order:1;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;width:100%;min-width:0;margin:0;font-size:15px;line-height:22px;white-space:normal}
  .ah-header .ah-nav>a,.ah-header .ah-nav-info>summary{display:block;min-height:44px;padding:11px 8px}
  .ah-header .ah-nav-info>summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .ah-header .ah-nav-info>summary::after{content:'';flex:none;width:7px;height:7px;margin-right:4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .18s ease}
  .ah-header .ah-nav-info[open]>summary::after{transform:rotate(225deg)}
  .ah-header .ah-nav-info>.ah-nav-submenu{position:static;min-width:0;max-width:none;margin:0 0 6px 8px;padding:0 0 0 12px;border-left:2px solid #f0dce0;border-radius:0;background:transparent;box-shadow:none;font-size:14px;font-weight:400}
  .ah-header .ah-nav-submenu a{padding:10px 8px}
  .ah-header .ah-nav .ah-photo-link{display:inline-flex;align-self:flex-start;align-items:center;justify-content:center;gap:8px;min-height:42px;margin-top:12px;padding:10px 18px;font-size:14px}
}
@keyframes ah-menu-appear{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.ah-header .ah-menu-toggle span,.ah-header .ah-nav-info>summary::after{transition:none}.ah-header.ah-menu-open .ah-header-menu-panel{animation:none}}
