/* OBAYZ | Daha Fazla mega kategoriler - tek satir, 22.11.2026 */
/* Sadece ALT kategori alanini etkiler. Ust navigasyona dokunmaz. */
#page-top .nav-categories.obayz-categories {
  position: relative;
  z-index: 110;
  overflow: visible !important;
}
#page-top .obayz-categories .obayz-menu-bar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  min-width: 0;
  overflow: visible !important;
}
#page-top .obayz-categories .obayz-menu-home {
  flex: 0 0 auto;
}
#page-top .obayz-categories .obayz-menu-greedy.obayz-cat-nav {
  display: flex !important;
  flex: 1 1 0%;
  align-items: center;
  flex-wrap: nowrap !important;
  min-width: 0;
  height: 100%;
  gap: 4px;
  overflow: visible !important;
}
#page-top .obayz-categories .obayz-cat-visible {
  display: flex !important;
  flex: 1 1 0%;
  flex-wrap: nowrap !important;
  align-items: center;
  min-width: 0;
  width: 0;
  max-width: 100%;
  overflow: hidden !important;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
#page-top .obayz-categories .obayz-cat-visible > li.obayz-cat-item {
  display: block !important;
  position: relative;
  flex: 0 0 auto;
  min-width: 79px;
  max-width: 150px;
  height: 62px;
  margin: 0;
  padding: 0;
  border-right: 1px solid rgba(189,117,9,.32);
  background: none;
  list-style: none;
}
#page-top .obayz-categories .obayz-cat-visible > li.obayz-cat-item::before {
  content: none !important;
  display: none !important;
}
#page-top .obayz-categories .obayz-cat-visible > li.obayz-cat-item > a {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 100%;
  padding: 4px 11px;
  box-sizing: border-box;
  border-radius: 11px;
  color: #271832 !important;
  background: transparent;
  text-align: center;
  text-decoration: none !important;
}
#page-top .obayz-categories .obayz-cat-visible > li.obayz-cat-item > a:hover,
#page-top .obayz-categories .obayz-cat-visible > li.obayz-cat-item > a:focus-visible {
  background: rgba(255,255,255,.28);
}
#page-top .obayz-categories .obayz-cat-visible .obayz-cat-icon {
  display: block;
  font: 24px/1 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  white-space: nowrap;
}
#page-top .obayz-categories .obayz-cat-visible .obayz-cat-name {
  display: -webkit-box;
  overflow: hidden;
  max-width: 140px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font: 800 11px/1.13 'Lato', Arial, sans-serif;
  white-space: normal;
  word-break: normal;
}
#page-top .obayz-categories .obayz-cat-more-wrap {
  position: relative;
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  z-index: 130;
  margin: 0;
}
/* Eski greedy-nav buton stilini burada kasitli olarak eziyoruz. */
#page-top .obayz-categories .obayz-cat-nav > .obayz-cat-more-wrap > button.obayz-cat-more-toggle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  min-height: 57px;
  min-width: 98px;
  margin: 0;
  padding: 5px 10px !important;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #261531;
  font: 800 11px/1.15 'Lato', Arial, sans-serif;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
}
#page-top .obayz-categories .obayz-cat-more-toggle:hover,
#page-top .obayz-categories .obayz-cat-more-wrap.is-open .obayz-cat-more-toggle {
  background: rgba(255,255,255,.25) !important;
}
#page-top .obayz-categories .obayz-cat-more-dots {
  display: block;
  font-size: 24px;
  font-weight: 900;
  line-height: 16px;
  letter-spacing: 1px;
}
#page-top .obayz-categories .obayz-cat-more-chevron {
  display: none;
}
#page-top .obayz-categories .obayz-cat-more-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: min(740px, calc(100vw - 26px));
  max-height: min(68vh, 680px, var(--obayz-more-available, 680px));
  padding: 17px;
  overflow: auto;
  box-sizing: border-box;
  border: 2px solid #ebaa3d;
  border-radius: 0 0 21px 21px;
  background: linear-gradient(160deg,#ffd373,#ffbd5c);
  box-shadow: 0 17px 28px rgba(33,17,45,.34), inset 0 2px rgba(255,255,255,.5);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: visibility .12s, opacity .12s, transform .12s;
  z-index: 999;
}
#page-top .obayz-categories .obayz-cat-more-wrap.is-open .obayz-cat-more-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#page-top .obayz-categories .obayz-cat-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  padding: 1px 4px;
  font: 900 16px/1.25 'Lato', Arial, sans-serif;
  color: #40251c;
}
#page-top .obayz-categories .obayz-cat-panel-heading small {
  font: 700 12px/1 Arial,sans-serif;
  color: #624323;
}
#page-top .obayz-categories .obayz-cat-overflow-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#page-top .obayz-categories .obayz-cat-overflow-list > li.obayz-cat-item {
  display: block !important;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: none;
}
#page-top .obayz-categories .obayz-cat-overflow-list > li.obayz-cat-item::before {
  display: none !important;
  content: none !important;
}
#page-top .obayz-categories .obayz-cat-overflow-list > li.obayz-cat-item > a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  min-height: 75px;
  padding: 10px 13px;
  box-sizing: border-box;
  border: 1px solid #f5dcae;
  border-radius: 16px;
  color: #211a30 !important;
  background: #fff0d7;
  text-decoration: none !important;
  box-shadow: 0 3px 5px rgba(117,75,13,.16);
  transition: background .15s, transform .15s;
}
#page-top .obayz-categories .obayz-cat-overflow-list > li > a:hover,
#page-top .obayz-categories .obayz-cat-overflow-list > li > a:focus-visible {
  background: #ffffff;
  transform: translateY(-1px);
}
#page-top .obayz-categories .obayz-cat-overflow-list .obayz-cat-icon {
  flex: 0 0 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 30px/1 'Segoe UI Emoji', 'Apple Color Emoji','Noto Color Emoji',sans-serif;
}
#page-top .obayz-categories .obayz-cat-overflow-list .obayz-cat-name {
  flex: 1 1 auto;
  font: 800 14px/1.25 'Lato',Arial,sans-serif;
  white-space: normal;
  overflow-wrap: anywhere;
}
#page-top .obayz-categories .obayz-cat-overflow-list .obayz-cat-name::after {
  display: block;
  content: 'Oyunlarını keşfet';
  margin-top: 4px;
  color: #65512b;
  font-size: 11px;
  font-weight: 600;
}
#page-top .obayz-categories .obayz-menu-search {
  flex: 0 0 clamp(155px, 17vw, 232px);
  min-width: 0;
  margin-left: auto;
  white-space: nowrap;
}
@media (max-width: 850px) {
  #page-top .obayz-categories .obayz-menu-search { flex-basis: 144px; }
  #page-top .obayz-categories .obayz-cat-visible > li.obayz-cat-item > a { padding: 4px 5px; }
  #page-top .obayz-categories .obayz-cat-more-wrap > button.obayz-cat-more-toggle { min-width: 82px; padding: 5px 5px !important; }
  #page-top .obayz-categories .obayz-cat-more-panel {
    position: fixed;
    top: var(--obayz-more-top, 100px);
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100vh - var(--obayz-more-top, 100px) - 10px);
  }
}
@media (max-width: 560px) {
  #page-top .obayz-categories .obayz-menu-home { max-width: 79px; }
  #page-top .obayz-categories .obayz-menu-search { flex-basis: 106px; }
  #page-top .obayz-categories .obayz-cat-more-wrap > button.obayz-cat-more-toggle { min-width: 82px; }
  #page-top .obayz-categories .obayz-cat-overflow-list { grid-template-columns: 1fr; }
  #page-top .obayz-categories .obayz-cat-more-panel { padding: 11px; }
  #page-top .obayz-categories .obayz-cat-overflow-list > li.obayz-cat-item > a { min-height: 59px; }
}
@media (prefers-reduced-motion: reduce) {
  #page-top .obayz-categories .obayz-cat-more-panel { transition: none; }
}
