/* Единый хедер ЛЕПЮ (partials/header.html подставляется сборкой на каждую страницу). */
.site-header{position:relative;z-index:40;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:88px;padding:0 20px;border-radius:30px;background:#fff;color:#111;font-family:Inter,Arial,sans-serif}
.site-header__menu-btn{justify-self:start;display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 20px 0 16px;border:1px solid #d7d7db;border-radius:999px;background:#fff;color:#111;font:650 15px/1 Inter,Arial,sans-serif;cursor:pointer}
@media (hover:hover) and (pointer:fine){.site-header__menu-btn:hover,.site-header__cart:hover{border-color:#111}}
.site-header__burger{display:grid;gap:4px;width:18px}
.site-header__burger i{display:block;height:1.5px;background:currentColor;transition:transform .25s,opacity .2s}
.site-header__menu-btn[aria-expanded="true"] .site-header__burger i:nth-child(1){transform:translateY(5.5px) rotate(45deg)}
.site-header__menu-btn[aria-expanded="true"] .site-header__burger i:nth-child(2){opacity:0}
.site-header__menu-btn[aria-expanded="true"] .site-header__burger i:nth-child(3){transform:translateY(-5.5px) rotate(-45deg)}
.site-header__logo{justify-self:center;display:block;width:28px}
.site-header__logo img{display:block;width:28px;height:37px}
.site-header__cart{justify-self:end;position:relative;display:grid;place-items:center;width:52px;height:52px;border:1px solid #d7d7db;border-radius:50%;color:#111;text-decoration:none}
.site-header__cart-count{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#f04a24;color:#fff;font:800 11px/20px Inter,Arial,sans-serif;text-align:center}
.site-header__cart-count[hidden]{display:none}
.site-header__menu{position:absolute;top:calc(100% + 8px);left:0;min-width:280px;padding:14px;border-radius:26px;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);box-shadow:0 24px 60px rgba(0,0,0,.12);display:grid;gap:2px;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s,transform .25s,visibility .2s}
.site-header__menu.is-open{opacity:1;visibility:visible;transform:none}
.site-header__menu a{padding:13px 16px;border-radius:14px;color:#111;text-decoration:none;font-size:18px;font-weight:600}
.site-header__menu a[aria-current="page"]{background:#f2f2f5}@media (hover:hover) and (pointer:fine){.site-header__menu a:hover{background:#f2f2f5}}

/* Отступ до первого блока страницы */
.site-header{margin-bottom:8px}
/* Страницы без общей обёртки (Для бизнеса, Процесс, Политика) */
body>.site-header{width:min(1780px,calc(100% - 32px));margin:16px auto 8px}
/* Страницы «на заказ»: кнопка заказа вынесена из хедера и закреплена внизу только на телефоне */
.product-page>.nav-cta{display:none}

@media(max-width:620px){
  .site-header{min-height:68px;padding:0 10px;border-radius:22px}
  .site-header__menu-btn{width:48px;height:48px;padding:0;justify-content:center}
  .site-header__menu-label{display:none}
  .site-header__cart{width:48px;height:48px}
  .site-header__menu{right:0;min-width:0}
  body>.site-header{width:calc(100% - 16px);margin-top:8px}
  .product-page>.nav-cta{display:inline-flex}
}

/* Нижнее меню на телефоне: закреплено внизу экрана, как в приложении */
.tabbar{display:none}
@media(max-width:800px){
  .tabbar{position:fixed;z-index:60;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);padding:6px 6px max(6px,env(safe-area-inset-bottom));border-top:1px solid #ececf0;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  .tabbar a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px;color:#8e8e93;font:600 11px/1.1 Inter,Arial,sans-serif;text-decoration:none}
  .tabbar svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
  .tabbar a[aria-current="page"]{color:#111}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  /* Кнопка «Сделать заказ» на страницах «на заказ» стоит над нижним меню */
  .product-page>.nav-cta{bottom:calc(76px + env(safe-area-inset-bottom))!important}
}
