.hp-grid-area > .hp-block-header-navigation {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hp-header-navigation-shell {
  position: relative;
}
.hp-primary-nav {
  overflow: visible;
  border: 0;
  background: var(--hp-surface);
  color: var(--hp-text);
  box-shadow: none;
  font-family: var(--hp-font-navigation);
}
.hp-primary-menu,
.hp-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hp-primary-nav .hp-primary-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  overflow: visible;
}
.hp-primary-menu > li {
  position: relative;
  display: flex;
  align-items: center;
}
.hp-category-link {
  --hp-category-color: var(--hp-accent);
  position: relative;
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.7rem;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 700;
}
.hp-category-link i {
  color: var(--hp-category-color);
  font-size: 1rem;
}
.hp-category-link:after {
  content: "";
  position: absolute;
  inset-inline: 0.7rem;
  inset-block-end: 0;
  height: 2px;
  background: var(--hp-category-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}
.hp-category-link:hover,
.hp-category-link:focus-visible,
.hp-category-link[aria-current="page"],
.is-current > .hp-category-link {
  color: var(--hp-category-color);
}
.hp-category-link:hover:after,
.hp-category-link:focus-visible:after,
.hp-category-link[aria-current="page"]:after,
.is-current > .hp-category-link:after {
  transform: scaleX(1);
}
.hp-submenu-toggle,
.hp-other-toggle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 36px;
  border: 0;
  background: transparent;
  color: inherit;
}
.hp-submenu-toggle {
  margin-inline-start: -0.55rem;
}
.hp-primary-menu > .hp-other-menu {
  position: absolute;
  inset-inline-end: 0;
  margin-inline-start: 0;
}
.hp-other-toggle {
  width: 42px;
  color: var(--hp-accent);
  font-size: 1.3rem;
}
.hp-primary-nav .hp-submenu {
  position: absolute;
  z-index: 1100;
  inset-block-start: 100%;
  inset-inline-start: 0;
  display: none;
  overflow: visible;
  min-width: 220px;
  padding: 0.35rem;
  border: 1px solid var(--hp-border);
  border-radius: 0 0 var(--hp-card-radius) var(--hp-card-radius);
  background: var(--hp-surface);
  box-shadow: var(--hp-shadow);
}
.hp-submenu .hp-category-link {
  width: 100%;
  min-height: 38px;
}
.has-submenu:hover > .hp-submenu,
.has-submenu:focus-within > .hp-submenu,
.has-submenu.is-open > .hp-submenu {
  display: block;
}
.hp-primary-nav .hp-other-list {
  inset-inline: auto 0;
  text-align: start;
}
.hp-nav-toggle {
  display: none;
  margin: 0.4rem 1rem;
}
.hp-nav-toggle i {
  font-size: 1.2rem;
}
@media (max-width: 767.98px) {
  .hp-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
  .hp-primary-nav {
    display: none;
  }
  .hp-primary-nav.is-open {
    display: block;
  }
  .hp-primary-nav .hp-primary-menu {
    display: block;
    max-height: 70vh;
    overflow: auto;
    padding: 0.35rem;
  }
  .hp-primary-menu > li {
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .hp-primary-menu > li > .hp-category-link {
    min-width: 0;
  }
  .hp-submenu-toggle,
  .hp-other-toggle {
    margin: 0;
    width: 42px;
    height: 42px;
  }
  .hp-primary-nav .hp-submenu {
    position: static;
    grid-column: 1/-1;
    min-width: 0;
    border: 0;
    border-inline-start: 2px solid var(--hp-border);
    border-radius: 0;
    box-shadow: none;
    margin-inline-start: 1rem;
  }
  .hp-primary-menu > .hp-other-menu {
    position: static;
    margin-inline-start: 0;
  }
  .hp-other-menu > .hp-other-toggle {
    grid-column: 1/-1;
    justify-self: end;
  }
  .has-submenu:hover > .hp-submenu {
    display: none;
  }
  .has-submenu.is-open > .hp-submenu {
    display: block;
  }
}
@media (min-width: 768px) {
  .hp-primary-nav .hp-primary-menu {
    padding-inline: 0 42px;
    justify-content: flex-start;
  }
  .hp-grid-area[data-align="right"]
    .hp-block-header-navigation
    .hp-primary-menu {
    justify-content: flex-end;
  }
}
.hp-grid-area > .hp-block-header-navigation,
.hp-primary-nav {
  background: transparent;
  color: inherit;
}
.hp-primary-nav .hp-submenu {
  color: var(--hp-text);
}
@media (min-width: 768px) {
  .hp-primary-menu > li:not(.hp-other-menu) {
    flex: 0 0 auto;
  }
  .hp-primary-menu > .hp-overflow-menu[hidden] {
    display: none;
  }
  .hp-overflow-menu > .hp-other-toggle {
    color: inherit;
  }
}
.hp-primary-nav .hp-primary-menu > .hp-menu-device-scoped > .hp-category-link,
.hp-primary-nav .hp-primary-menu > li:not(.hp-other-menu) > .hp-category-link {
  color: inherit;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}
.hp-primary-nav
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:is(:hover, :focus-visible, [aria-current="page"]),
.hp-primary-nav
  .hp-primary-menu
  > li.is-current:not(.hp-other-menu)
  > .hp-category-link {
  background: color-mix(in srgb, currentColor 11%, transparent);
  color: inherit;
}
.hp-primary-nav
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:after {
  background: currentColor;
}
.hp-primary-nav .hp-other-toggle:is(:hover, :focus-visible),
.hp-primary-nav .hp-other-menu.is-open > .hp-other-toggle {
  background: color-mix(in srgb, currentColor 11%, transparent);
  color: inherit;
  outline: 0;
}
.hp-primary-nav .hp-submenu .hp-category-link {
  color: var(--hp-text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 650;
}
.hp-primary-nav
  .hp-submenu
  .hp-category-link:is(:hover, :focus-visible, [aria-current="page"]),
.hp-primary-nav .hp-submenu .is-current > .hp-category-link {
  background: color-mix(in srgb, var(--hp-accent) 9%, var(--hp-surface));
  color: var(--hp-accent);
}
.hp-primary-nav .hp-submenu .hp-category-link:after {
  background: var(--hp-accent);
}
.hp-primary-nav
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link
  > i {
  color: inherit;
}
.hp-primary-nav .hp-submenu .hp-category-link > i {
  color: var(--hp-accent);
}
.hp-primary-nav .hp-primary-menu > li:not(.hp-other-menu) {
  font-family: var(--hp-font-navigation);
  font-size: 0.84rem;
  font-weight: 700;
}
.hp-primary-nav .hp-primary-menu > li:not(.hp-other-menu) > .hp-category-link {
  font: inherit;
}
.hp-primary-nav
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link.has-menu-color,
.hp-primary-nav
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link.has-menu-color:is(
    :hover,
    :focus-visible,
    [aria-current="page"]
  ),
.hp-primary-nav
  .hp-primary-menu
  > li.is-current:not(.hp-other-menu)
  > .hp-category-link.has-menu-color {
  color: var(--hp-category-color);
}
.hp-primary-nav .hp-submenu > li {
  font-family: var(--hp-font-navigation);
  font-size: 0.82rem;
  font-weight: 650;
}
.hp-primary-nav .hp-submenu > li > .hp-category-link {
  font: inherit;
}
.hp-primary-nav .hp-submenu .hp-category-link.has-menu-color,
.hp-primary-nav
  .hp-submenu
  .hp-category-link.has-menu-color:is(
    :hover,
    :focus-visible,
    [aria-current="page"]
  ),
.hp-primary-nav .hp-submenu .is-current > .hp-category-link.has-menu-color {
  color: var(--hp-category-color);
}
.hp-primary-nav .hp-submenu .hp-category-link.has-menu-color > i {
  color: inherit;
}
.hp-primary-nav .hp-category-link {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  line-height: 1.2;
}
.hp-primary-nav .hp-category-link > i {
  display: inline-grid;
  flex: 0 0 1.05em;
  width: 1.05em;
  place-items: center;
  font-size: 1em;
  line-height: 1;
}
.hp-primary-nav .hp-category-link > span {
  display: block;
  min-width: 0;
  line-height: 1.2;
}
.hp-primary-nav .hp-submenu > li > .hp-category-link {
  min-height: 38px;
  padding: 0.45rem 0.55rem;
  border-radius: 0.35rem;
}
.hp-primary-nav .hp-submenu > li > .hp-submenu-toggle {
  align-self: center;
  width: 30px;
  height: 34px;
  border-radius: 0.35rem;
  color: var(--hp-muted);
}
.hp-primary-nav
  .hp-submenu
  > li
  > .hp-submenu-toggle:is(:hover, :focus-visible),
.hp-primary-nav .hp-submenu > li.is-open > .hp-submenu-toggle {
  background: color-mix(in srgb, var(--hp-accent) 9%, transparent);
  color: var(--hp-accent);
  outline: 0;
}
.hp-primary-nav .hp-submenu > li > .hp-submenu-toggle i {
  transform: rotate(-90deg);
}
.hp-primary-nav .hp-other-list .hp-submenu {
  inset-inline: auto 100%;
}
.hp-primary-nav .hp-other-list > li > .hp-submenu-toggle i {
  transform: rotate(90deg);
}
@media (max-width: 767.98px) {
  .hp-primary-nav .hp-submenu > li > .hp-submenu-toggle i,
  .hp-primary-nav .hp-other-list > li > .hp-submenu-toggle i {
    transform: none;
  }
  .hp-primary-nav .hp-other-list .hp-submenu {
    inset: auto;
  }
}
.hp-primary-nav .hp-submenu > li > .hp-submenu-toggle i,
.hp-primary-nav .hp-other-list > li > .hp-submenu-toggle i {
  transform: none;
}
.hp-primary-nav .hp-primary-menu {
  min-height: 42px;
}
.hp-primary-nav .hp-primary-menu[data-hp-overflow-pending] {
  visibility: hidden;
}

/* Ana Navigasyon görünüm şablonları. İşlevsel hamburger ve alt menü yapısını değiştirmez. */
.hp-header-navigation-shell:is(
    .navigasyon,
    .navigasyon1,
    .navigasyon2,
    .navigasyon3,
    .navigasyon4
  )
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link {
  isolation: isolate;
  overflow: hidden;
}

/* navigasyon: merkezden açılan klasik alt çizgi */
.hp-header-navigation-shell.navigasyon
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link {
  background: transparent;
}
.hp-header-navigation-shell.navigasyon
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:after {
  height: 2px;
  inset-inline: 0.7rem;
  inset-block: auto 0;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 2px;
  background: currentColor;
}
.hp-header-navigation-shell.navigasyon
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:is(:hover, :focus-visible, [aria-current="page"]):after,
.hp-header-navigation-shell.navigasyon
  .hp-primary-menu
  > li.is-current:not(.hp-other-menu)
  > .hp-category-link:after {
  transform: scaleX(1);
}

/* navigasyon1: soldan sağa ilerleyen kalın çizgi */
.hp-header-navigation-shell.navigasyon1
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link {
  background: transparent;
}
.hp-header-navigation-shell.navigasyon1
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:after {
  height: 3px;
  inset-inline: 0.7rem;
  inset-block: auto 4px;
  transform: scaleX(0);
  transform-origin: inline-start;
  border-radius: 3px;
  background: currentColor;
}
.hp-header-navigation-shell.navigasyon1
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:is(:hover, :focus-visible, [aria-current="page"]):after,
.hp-header-navigation-shell.navigasyon1
  .hp-primary-menu
  > li.is-current:not(.hp-other-menu)
  > .hp-category-link:after {
  transform: scaleX(1);
}

/* navigasyon2: yuvarlak pill yüzeyi */
.hp-header-navigation-shell.navigasyon2 .hp-primary-menu {
  gap: 0.3rem;
}
.hp-header-navigation-shell.navigasyon2
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link {
  min-height: 34px;
  margin-block: 4px;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: transparent;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}
.hp-header-navigation-shell.navigasyon2
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:after {
  display: none;
}
.hp-header-navigation-shell.navigasyon2
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:is(:hover, :focus-visible, [aria-current="page"]),
.hp-header-navigation-shell.navigasyon2
  .hp-primary-menu
  > li.is-current:not(.hp-other-menu)
  > .hp-category-link {
  background: color-mix(in srgb, currentColor 14%, transparent);
  transform: translateY(-1px);
}

/* navigasyon3: üst çizgi ve hafif aşağı geçiş */
.hp-header-navigation-shell.navigasyon3
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link {
  background: transparent;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}
.hp-header-navigation-shell.navigasyon3
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:after {
  height: 3px;
  inset-inline: 0;
  inset-block: 0 auto;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 0 0 3px 3px;
  background: currentColor;
}
.hp-header-navigation-shell.navigasyon3
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:is(:hover, :focus-visible, [aria-current="page"]),
.hp-header-navigation-shell.navigasyon3
  .hp-primary-menu
  > li.is-current:not(.hp-other-menu)
  > .hp-category-link {
  transform: translateY(2px);
}
.hp-header-navigation-shell.navigasyon3
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:is(:hover, :focus-visible, [aria-current="page"]):after,
.hp-header-navigation-shell.navigasyon3
  .hp-primary-menu
  > li.is-current:not(.hp-other-menu)
  > .hp-category-link:after {
  transform: scaleX(1);
}

/* navigasyon4: ince çerçeve ve dolgu */
.hp-header-navigation-shell.navigasyon4 .hp-primary-menu {
  gap: 0.22rem;
}
.hp-header-navigation-shell.navigasyon4
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link {
  min-height: 34px;
  margin-block: 4px;
  padding: 0.34rem 0.68rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  background: transparent;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}
.hp-header-navigation-shell.navigasyon4
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:after {
  display: none;
}
.hp-header-navigation-shell.navigasyon4
  .hp-primary-menu
  > li:not(.hp-other-menu)
  > .hp-category-link:is(:hover, :focus-visible, [aria-current="page"]),
.hp-header-navigation-shell.navigasyon4
  .hp-primary-menu
  > li.is-current:not(.hp-other-menu)
  > .hp-category-link {
  border-color: color-mix(in srgb, currentColor 58%, transparent);
  background: color-mix(in srgb, currentColor 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 10%, transparent);
}

/* Paneldeki canlı navigasyon önizlemeleri. */
.hp-navigation-live-preview {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 8px;
  background: var(--bs-body-bg);
  filter: grayscale(1);
  pointer-events: none;
}
.hp-navigation-live-preview .hp-primary-nav {
  display: block !important;
  width: 100%;
  background: transparent;
}
.hp-navigation-live-preview .hp-primary-menu {
  display: flex;
  min-height: 38px;
  padding: 0 !important;
  gap: 2px;
}
.hp-navigation-live-preview .hp-primary-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.hp-navigation-live-preview .hp-category-link {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 3px;
  padding: 5px 7px;
  font-size: 7px;
  white-space: nowrap;
}
.hp-navigation-live-preview .hp-category-link i {
  font-size: 8px;
}
.hp-layout-selected-preview--navigation > .hp-navigation-live-preview {
  padding: 2px;
  background: transparent;
}

@media (max-width: 767.98px) {
  .hp-header-navigation-shell:is(
      .navigasyon,
      .navigasyon1,
      .navigasyon2,
      .navigasyon3,
      .navigasyon4
    )
    .hp-primary-menu
    > li:not(.hp-other-menu)
    > .hp-category-link {
    min-height: 42px;
    margin-block: 0;
    transform: none;
  }
}
:where(.hp-layout-row, .hp-grid-area):is(
    .fs-1,
    .fs-2,
    .fs-3,
    .fs-4,
    .fs-5,
    .fs-6
  )
  .hp-header-navigation-shell
  .hp-category-link,
.hp-header-navigation-shell:is(.fs-1, .fs-2, .fs-3, .fs-4, .fs-5, .fs-6)
  .hp-category-link {
  font-size: inherit !important;
}
:where(.hp-layout-row, .hp-grid-area):is(
    .fw-light,
    .fw-lighter,
    .fw-normal,
    .fw-medium,
    .fw-semibold,
    .fw-bold,
    .fw-bolder
  )
  .hp-header-navigation-shell
  .hp-category-link,
.hp-header-navigation-shell:is(
    .fw-light,
    .fw-lighter,
    .fw-normal,
    .fw-medium,
    .fw-semibold,
    .fw-bold,
    .fw-bolder
  )
  .hp-category-link {
  font-weight: inherit !important;
}
:where(.hp-layout-row, .hp-grid-area).font-monospace
  .hp-header-navigation-shell:not(.font-monospace)
  .hp-primary-nav,
.hp-header-navigation-shell.font-monospace .hp-primary-nav {
  font-family: inherit !important;
}
:where(.hp-layout-row, .hp-grid-area).font-monospace
  .hp-header-navigation-shell
  .hp-category-link,
.hp-header-navigation-shell.font-monospace .hp-category-link {
  font-family: inherit !important;
}
:where(.hp-layout-row, .hp-grid-area):is(
    .text-uppercase,
    .text-lowercase,
    .text-capitalize
  )
  .hp-header-navigation-shell
  .hp-category-link,
.hp-header-navigation-shell:is(
    .text-uppercase,
    .text-lowercase,
    .text-capitalize
  )
  .hp-category-link {
  text-transform: inherit !important;
}
:where(.hp-layout-row, .hp-grid-area):is(.fst-italic, .fst-normal)
  .hp-header-navigation-shell
  .hp-category-link,
.hp-header-navigation-shell:is(.fst-italic, .fst-normal) .hp-category-link {
  font-style: inherit !important;
}
:where(.hp-layout-row, .hp-grid-area):is(.lh-1, .lh-sm, .lh-base, .lh-lg)
  .hp-header-navigation-shell
  .hp-category-link,
.hp-header-navigation-shell:is(.lh-1, .lh-sm, .lh-base, .lh-lg)
  .hp-category-link {
  line-height: inherit !important;
}

/* Mobilde hamburger yerine her zaman görünür, dokunarak kaydırılan kategori şeridi. */
@media (max-width: 767.98px) {
  .hp-header-navigation-shell .hp-nav-toggle {
    display: none !important;
  }
  .hp-header-navigation-shell .hp-primary-nav,
  .hp-header-navigation-shell .hp-primary-nav.is-open {
    display: block;
  }
  .hp-header-navigation-shell .hp-primary-nav > .hp-container {
    max-width: none;
    padding-inline: 0;
  }
  .hp-header-navigation-shell .hp-primary-nav .hp-primary-menu {
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-inline: 0.75rem;
    scroll-padding-inline: 0.75rem;
    scrollbar-width: none;
    scroll-snap-type: inline proximity;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .hp-header-navigation-shell .hp-primary-nav .hp-primary-menu::after {
    content: "";
    flex: 0 0 0.65rem;
  }
  .hp-header-navigation-shell
    .hp-primary-nav
    .hp-primary-menu::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .hp-header-navigation-shell .hp-primary-menu > li {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: auto auto;
    align-items: start;
    scroll-snap-align: start;
  }
  .hp-header-navigation-shell .hp-primary-menu > li > .hp-category-link {
    min-width: 0;
    padding-inline: 0.55rem;
    font-size: 16px !important;
  }
  .hp-header-navigation-shell .hp-primary-menu > li > .hp-submenu-toggle {
    width: 30px;
    height: 42px;
    margin-inline-start: -0.5rem;
  }
  .hp-header-navigation-shell .hp-primary-nav .hp-submenu {
    position: static;
    grid-column: 1/-1;
    width: min(280px, calc(100vw - 2rem));
    min-width: 0;
    margin: 0 0 0.35rem 0.62rem;
    padding: 0.25rem;
    border: 0;
    border-inline-start: 2px solid var(--hp-border);
    border-radius: 0;
    box-shadow: none;
  }
  .hp-header-navigation-shell .hp-primary-menu > li > .hp-submenu {
    position: fixed;
    z-index: 1200;
    inset-block-start: var(--hp-mobile-submenu-top, 42px);
    inset-inline: auto auto;
    inset-inline-start: var(--hp-mobile-submenu-left, 8px);
    width: var(--hp-mobile-submenu-width, max-content);
    max-width: min(240px, calc(100vw - 1rem));
    max-height: calc(100dvh - var(--hp-mobile-submenu-top, 42px) - 8px);
    overflow-y: auto;
    margin: 0;
  }
  .hp-header-navigation-shell .hp-primary-nav .hp-submenu .hp-category-link {
    font-size: 11px !important;
  }
  .hp-header-navigation-shell .hp-primary-menu > .hp-other-menu {
    position: static;
    margin-inline-start: 0;
  }
  .hp-header-navigation-shell .hp-other-menu > .hp-other-toggle {
    grid-column: 1/-1;
    align-self: start;
    width: 38px;
    height: 42px;
  }
  .hp-header-navigation-shell .has-submenu:hover > .hp-submenu {
    display: none;
  }
  .hp-header-navigation-shell .has-submenu.is-open > .hp-submenu {
    display: block;
  }
}

/* Bootstrap dropdown kalıbını kullanan kompakt alt menü şablonları. */
.hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent) {
  --hp-submenu-bg: #fff;
  --hp-submenu-text: #212529;
  --hp-submenu-border: rgba(0, 0, 0, 0.15);
  --hp-submenu-hover-bg: color-mix(in srgb, var(--hp-accent) 10%, #fff);
  --hp-submenu-hover-text: var(--hp-accent);
}
.hp-header-navigation-shell.submenu-dark {
  --hp-submenu-bg: var(--hp-secondary, #17191c);
  --hp-submenu-text: #fff;
  --hp-submenu-border: color-mix(in srgb, #fff 14%, transparent);
  --hp-submenu-hover-bg: color-mix(
    in srgb,
    var(--hp-accent) 72%,
    var(--hp-secondary, #17191c)
  );
  --hp-submenu-hover-text: #fff;
}
.hp-header-navigation-shell.submenu-accent {
  --hp-submenu-bg: var(--hp-accent);
  --hp-submenu-text: #fff;
  --hp-submenu-border: color-mix(in srgb, #000 12%, var(--hp-accent));
  --hp-submenu-hover-bg: color-mix(in srgb, #fff 18%, var(--hp-accent));
  --hp-submenu-hover-text: #fff;
}
.hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent)
  .hp-primary-nav
  .hp-submenu {
  min-width: 10rem;
  width: max-content;
  max-width: 240px;
  padding: 0.5rem 0;
  border: 1px solid var(--hp-submenu-border);
  border-block-start: 0;
  border-radius: 0 0 var(--bs-border-radius, 0.375rem)
    var(--bs-border-radius, 0.375rem);
  background: var(--hp-submenu-bg);
  color: var(--hp-submenu-text);
  box-shadow: none;
}
.hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent)
  .hp-primary-nav
  .hp-submenu
  > li {
  color: var(--hp-submenu-text);
}
.hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent)
  .hp-primary-nav
  .hp-submenu
  .hp-category-link {
  min-height: 32px;
  padding: 0.25rem 1rem;
  border-radius: 0;
  background: transparent !important;
  color: var(--hp-submenu-text) !important;
  white-space: nowrap;
  transition:
    color 0.16s ease,
    opacity 0.16s ease,
    transform 0.16s ease,
    text-decoration-color 0.16s ease;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent)
  .hp-primary-nav
  .hp-submenu
  .hp-category-link:after {
  display: none;
}
.hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent)
  .hp-primary-nav
  .hp-submenu
  .hp-category-link:is(:hover, :focus-visible, [aria-current="page"]),
.hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent)
  .hp-primary-nav
  .hp-submenu
  .is-current
  > .hp-category-link {
  background: transparent !important;
  color: var(--hp-submenu-hover-text) !important;
  text-decoration-color: currentColor;
}
.hp-header-navigation-shell.submenu-dark
  .hp-primary-nav
  .hp-submenu
  .hp-category-link:is(:hover, :focus-visible),
.hp-header-navigation-shell.submenu-accent
  .hp-primary-nav
  .hp-submenu
  .hp-category-link:is(:hover, :focus-visible) {
  transform: translateX(2px);
}
.hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent)
  .hp-primary-nav
  .hp-submenu
  .hp-submenu-toggle {
  color: color-mix(in srgb, var(--hp-submenu-text) 72%, transparent);
}
.hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent)
  .hp-primary-nav
  .hp-submenu
  .hp-submenu-toggle:is(:hover, :focus-visible),
.hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent)
  .hp-primary-nav
  .hp-submenu
  .has-submenu.is-open
  > .hp-submenu-toggle {
  background: var(--hp-submenu-hover-bg);
  color: var(--hp-submenu-hover-text);
}
@media (max-width: 767.98px) {
  .hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent)
    .hp-primary-menu
    > li
    > .hp-submenu {
    width: var(--hp-mobile-submenu-width, max-content);
    max-width: min(240px, calc(100vw - 1rem));
    border-radius: 0 0 var(--bs-border-radius, 0.375rem)
      var(--bs-border-radius, 0.375rem);
  }
  .hp-header-navigation-shell:is(.submenu-light, .submenu-dark, .submenu-accent)
    .hp-primary-nav
    .hp-submenu
    .hp-submenu {
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 0.2rem 0;
    border-color: color-mix(in srgb, var(--hp-submenu-text) 16%, transparent);
    border-radius: 0;
    box-shadow: none;
  }
}

/* Genişliği satır motoru belirler; blok kendi container'ını veya viewport taşmasını üretmez. */
.hp-grid-area > .hp-block-header-navigation {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}
@media (min-width: 768px) {
  .hp-primary-nav
    .hp-primary-menu
    > li:not(.hp-other-menu)
    > .hp-category-link {
    font-size: 16px;
  }
  .hp-grid-area[data-align="left"]
    .hp-block-header-navigation
    .hp-primary-menu {
    justify-content: flex-start;
  }
  .hp-grid-area[data-align="center"]
    .hp-block-header-navigation
    .hp-primary-menu {
    justify-content: center;
  }
  .hp-grid-area[data-align="right"]
    .hp-block-header-navigation
    .hp-primary-menu {
    justify-content: flex-end;
  }
}
