/* Efebey Güvenlik | Premium mega menü v4.1 — son katman, yalnızca header.
   Panel tasarımı onaylanan makete göre düzenlenmiştir. */
@media (min-width: 1021px) {
  header #productsDropdown > .products-dropdown-panel {
    position: fixed !important;
    z-index: 110 !important;
    top: calc(100% + 2px) !important;
    left: max(24px, calc((100vw - 1260px) / 2)) !important;
    right: max(24px, calc((100vw - 1260px) / 2)) !important;
    border: 1px solid #dce8f7 !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 24px 70px rgba(13, 40, 73, .20), 0 7px 20px rgba(13, 40, 73, .07) !important;
    overflow: hidden !important;
    max-height: calc(100dvh - 158px) !important;
    padding: 0 !important;
  }
  header #productsDropdown .products-menu-top {
    background: linear-gradient(105deg, #f2f7ff 0%, #f9fbff 80%) !important;
    padding: 21px 30px !important;
    border-bottom: 1px solid #e8eef7 !important;
    min-height: 67px;
  }
  header #productsDropdown .ef-category-menu {
    grid-template-columns: 315px minmax(0, 1fr) !important;
    background: #fff !important;
    min-height: 355px !important;
    max-height: min(61vh, 560px) !important;
  }
  header #productsDropdown .ef-category-menu-nav {
    background: linear-gradient(145deg, #f5f8fd, #fafcff) !important;
    border-right: 1px solid #e6edf7 !important;
    padding: 19px 19px 21px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
  }
  header #productsDropdown .ef-category-menu-tab {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 47px !important;
    padding: 11px 15px !important;
    background: rgba(255,255,255,.74) !important;
    border: 1px solid rgba(221,232,247,.62) !important;
    border-radius: 16px !important;
    color: #263c56 !important;
    font-size: 13px !important;
    font-weight: 560 !important;
    box-shadow: 0 2px 8px rgba(28,67,106,.025) !important;
    transition: background .17s ease, border-color .17s ease, color .17s ease !important;
  }
  header #productsDropdown .ef-category-menu-tab:hover,
  header #productsDropdown .ef-category-menu-tab:focus-visible {
    background: #ebf4ff !important;
    border-color: #d6e8fa !important;
    color: #155f9f !important;
  }
  header #productsDropdown .ef-category-menu-tab.is-active {
    background: #e3f0ff !important;
    border-color: #e0eeff !important;
    color: #0c5b9c !important;
    font-weight: 620 !important;
  }
  header #productsDropdown .ef-category-menu-chevron {
    margin-left: auto;
    font-size: 22px !important;
    font-weight: 350 !important;
  }
  header #productsDropdown .ef-category-menu-content {
    padding: 30px 34px 32px !important;
    background: #fff !important;
  }
  header #productsDropdown .ef-category-panel-heading {
    margin-bottom: 21px !important;
    padding-bottom: 17px !important;
    border-bottom: 1px solid #dce7f5 !important;
  }
  header #productsDropdown .ef-category-panel-heading strong {
    font-size: 20px !important;
    font-weight: 660 !important;
    letter-spacing: -.025em !important;
    color: #132f50 !important;
  }
  header #productsDropdown .ef-category-panel-heading a {
    font-size: 12.5px !important;
    font-weight: 520 !important;
    color: #176eac !important;
  }
  header #productsDropdown .ef-category-menu-empty {
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #71829a !important;
  }
  header #productsDropdown .ef-category-branch-title {
    font-size: 13px !important;
    font-weight: 620 !important;
  }
  header #productsDropdown .ef-menu-descendants a {
    font-size: 12.5px !important;
    font-weight: 460 !important;
    padding: 8px 9px !important;
    border-radius: 10px !important;
  }
}
/* Top utility links, explicitly override legacy catalog.css high font weights. */
header #productsDropdown .products-menu-top > a.ef-menu-all,
header #productsDropdown .products-menu-top > a.ef-menu-all:link,
header #productsDropdown .products-menu-top > a.ef-menu-all:visited {
  display: inline-flex !important;
  gap: 12px !important;
  align-items: center !important;
  font-size: 13px !important;
  font-weight: 480 !important;
  letter-spacing: -.012em !important;
  color: #1a578b !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  padding: 3px 0 !important;
}
header #productsDropdown .products-menu-top > a.ef-menu-all > span {font-size:inherit!important;font-weight:inherit!important;color:inherit!important;}
header #productsDropdown .ef-menu-grid-icon {width: 19px;height:19px;flex:0 0 19px;}
header #productsDropdown .ef-menu-link-arrow {font-size: 23px !important;font-weight:350 !important;line-height:1!important;}
header #productsDropdown .products-menu-top > span.ef-menu-top-hint {font-size: 12px !important;font-weight: 430 !important;color: #7d8da1 !important;}
header #productsDropdown .ef-menu-category-icon {width:19px;height:19px;flex:0 0 19px;opacity:.8;}
header #productsDropdown .ef-menu-category-name {flex:1;min-width:0;}
@media (min-width:1021px) and (max-width:1160px) {
  header #productsDropdown .ef-category-menu {grid-template-columns:270px minmax(0, 1fr)!important;}
  header #productsDropdown .ef-category-menu-nav {padding:15px!important;}
  header #productsDropdown .ef-category-menu-content {padding:23px!important;}
}
@media (min-width:1021px) and (max-height:710px) {
  header #productsDropdown > .products-dropdown-panel {top: calc(100% + 2px) !important; max-height:calc(100dvh - 143px)!important;}
  header #productsDropdown .ef-category-menu {min-height: 295px !important;}
}
@media (max-width: 1020px) {
  header #productsDropdown > .products-dropdown-panel {border-radius: 16px!important;}
  header #productsDropdown .ef-category-menu-tab {gap:10px;border-radius:12px!important;}
  header #productsDropdown .ef-menu-category-icon {width:17px;height:17px;flex:0 0 17px;}
  header #productsDropdown .products-menu-top > a.ef-menu-all {font-weight: 500!important;}
}
@media (prefers-reduced-motion:reduce) {
  header #productsDropdown .ef-category-menu-tab {transition:none!important;}
}
