/* Target Zemin – V4 top bar inset correction; replaces V3 file. */
@media (max-width:1023px){
  /* Maintain a shared shell width for logo, search and topbar. */
  #tz2026-header .tz2026-shell{width:calc(100% - 28px);max-width:760px;margin-inline:auto;box-sizing:border-box}
  /* Give telephone / icons equal inner breathing room without moving the bar background. */
  #tz2026-header .tz2026-top-inner{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:50px;padding-inline:11px;box-sizing:border-box}
  #tz2026-header .tz2026-contact{flex:1 1 auto;min-width:0;gap:7px}
  #tz2026-header .tz2026-contact a{gap:7px;line-height:1.2;margin:0;min-width:0}
  #tz2026-header .tz2026-top-actions{flex:0 0 auto;gap:0;margin-left:0}
  #tz2026-header .tz2026-social{display:flex;align-items:center;justify-content:flex-end;gap:6px}
  #tz2026-header .tz2026-social a{width:32px;height:32px;flex:0 0 32px;margin:0;padding:0;display:grid;place-items:center}
  #tz2026-header .tz2026-mobile-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;height:76px;padding:0}
  #tz2026-header .tz2026-mobile-nav .tz2026-logo{justify-content:flex-start;flex:1 1 auto;min-width:0;margin:0;padding:0}
  #tz2026-header .tz2026-mobile-nav .tz2026-logo img{display:block;width:auto;height:auto;max-width:min(210px,100%);max-height:65px;margin:0;object-fit:contain}
  #tz2026-header .tz2026-mobile-nav .tz2026-menu-button{flex:0 0 48px;width:48px;height:48px;margin:0;display:grid;place-items:center}
  #tz2026-header .tz2026-mobile-search{display:flex;align-items:center;width:100%;height:48px;margin:0 0 12px}
}
@media (max-width:420px){
  #tz2026-header .tz2026-top-inner{gap:5px;padding-inline:10px}
  #tz2026-header .tz2026-contact a{font-size:11px;gap:5px;letter-spacing:-.15px}
  #tz2026-header .tz2026-social{gap:5px}
  #tz2026-header .tz2026-social a{width:30px;height:30px;flex-basis:30px}
  #tz2026-header .tz2026-mobile-nav{height:72px}
  #tz2026-header .tz2026-mobile-nav .tz2026-logo img{max-width:min(190px,100%);max-height:61px}
}
@media (max-width:350px){
  #tz2026-header .tz2026-shell{width:calc(100% - 20px)}
  #tz2026-header .tz2026-top-inner{padding-inline:6px}
  #tz2026-header .tz2026-contact a{font-size:10px}
  #tz2026-header .tz2026-social a{width:28px;height:28px;flex-basis:28px}
}

/* V5: precise mobile navigation button alignment. Overrides old theme offsets. */
@media (max-width:1023px){
  #tz2026-header .tz2026-mobile-nav .tz2026-menu-button{
    position:relative;top:auto;right:auto;bottom:auto;left:auto;
    transform:none;float:none;vertical-align:middle;
    display:flex;align-items:center;justify-content:center;
    flex:0 0 48px;width:48px;min-width:48px;max-width:48px;
    height:48px;min-height:48px;max-height:48px;
    box-sizing:border-box;padding:0;margin:0;
    border:1px solid #d5e4ec;border-radius:15px;
    background:#f8fbfd;box-shadow:0 3px 12px rgba(11,44,73,.035);
    appearance:none;-webkit-appearance:none;line-height:1;cursor:pointer;
  }
  #tz2026-header .tz2026-mobile-nav .tz2026-menu-button svg{
    display:block;position:static;transform:none;flex:none;
    width:23px;height:23px;margin:0;padding:0;
    fill:none;stroke:#092e50;stroke-width:2.1;
    stroke-linecap:round;stroke-linejoin:round;
  }
  #tz2026-header .tz2026-mobile-nav .tz2026-menu-button:focus-visible{
    outline:2px solid #147da5;outline-offset:3px;
  }
}
