/* KSC BOOKGATE HOME HEADER STYLE CONTEXT FIX V2 */
/* Scope: /tr/kitap/ header wrapper only. The HTML header is copied from homepage. */

html body.ksc-bookgate-home-header-style-context-fix-v2 .ksc-bookgate-home-header-style-context-fix-v2-wrap {
  width: 100% !important;
  display: block !important;
  position: relative !important;
  z-index: 50 !important;
}

html body.ksc-bookgate-home-header-style-context-fix-v2 .ksc-bookgate-home-header-style-context-fix-v2-wrap header,
html body.ksc-bookgate-home-header-style-context-fix-v2 .ksc-bookgate-home-header-style-context-fix-v2-wrap nav {
  box-sizing: border-box !important;
}

html body.ksc-bookgate-home-header-style-context-fix-v2 .ksc-bookgate-home-header-style-context-fix-v2-wrap header {
  width: 100% !important;
}

html body.ksc-bookgate-home-header-style-context-fix-v2 .ksc-bookgate-home-header-style-context-fix-v2-wrap a {
  text-decoration: none !important;
}

/* Safety only: prevent raw stacked text if homepage CSS context is missing */
html body.ksc-bookgate-home-header-style-context-fix-v2 .ksc-bookgate-home-header-style-context-fix-v2-wrap header > nav,
html body.ksc-bookgate-home-header-style-context-fix-v2 .ksc-bookgate-home-header-style-context-fix-v2-wrap header nav,
html body.ksc-bookgate-home-header-style-context-fix-v2 .ksc-bookgate-home-header-style-context-fix-v2-wrap > nav {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

html body.ksc-bookgate-home-header-style-context-fix-v2 .ksc-bookgate-home-header-style-context-fix-v2-wrap header a,
html body.ksc-bookgate-home-header-style-context-fix-v2 .ksc-bookgate-home-header-style-context-fix-v2-wrap nav a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  white-space: nowrap !important;
}