/* ALYA Store Category Bar V1
   İzole masaüstü üst kategori çubuğu düzeltmesi.
   Demo / Teknik Servis / üye sayfalarını etkilemez. */

@media (min-width: 1101px) {
  .theme-2 .theme2-category-nav {
    height: 50px !important;
    min-height: 50px !important;
    background: #fff !important;
    border-top: 1px solid #e6e9ee !important;
    border-bottom: 1px solid #dde2e8 !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.025) !important;
  }

  .theme-2 .theme2-category-nav > .wrap {
    width: calc(100% - 32px) !important;
    max-width: 1720px !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  .theme-2 .theme2-category-nav .theme2-native-category-dropdown {
    flex: 0 0 205px !important;
    width: 205px !important;
    min-width: 205px !important;
    height: 50px !important;
    margin: 0 !important;
  }

  .theme-2 .theme2-category-nav .theme2-native-category-dropdown > summary.all-categories {
    width: 100% !important;
    min-width: 0 !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #171b22 !important;
    color: #fff !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .005em !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: none !important;
    transform: none !important;
  }

  .theme-2 .theme2-category-nav .theme2-native-category-dropdown > summary.all-categories:hover,
  .theme-2 .theme2-category-nav .theme2-native-category-dropdown[open] > summary.all-categories {
    background: #20252d !important;
    color: #fff !important;
    transform: none !important;
  }

  .theme-2 .theme2-category-nav .all-categories .site-icon {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
  }

  .theme-2 .theme2-category-nav .store-category-caret {
    margin-left: auto !important;
    font-size: 12px !important;
    line-height: 1 !important;
    color: #fff !important;
    transform: none !important;
    transition: none !important;
  }

  .theme-2 .theme2-top-category-strip {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 50px !important;
    display: grid !important;
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 40 !important;
  }

  .theme-2 .theme2-top-category,
  .theme-2 .theme2-top-category-link {
    position: relative !important;
    min-width: 0 !important;
    width: auto !important;
    height: 50px !important;
    margin: 0 !important;
    border: 0 !important;
    border-right: 1px solid #e8ebef !important;
    background: #fff !important;
  }

  .theme-2 details.theme2-top-category > summary.theme2-top-category-toggle,
  .theme-2 .theme2-top-category-link {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #303948 !important;
    font-size: 11px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: none !important;
    transform: none !important;
  }

  .theme-2 details.theme2-top-category > summary.theme2-top-category-toggle > span {
    min-width: 0 !important;
    max-height: 2.36em !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transform: none !important;
    transition: none !important;
  }

  .theme-2 .theme2-top-category-link {
    text-overflow: ellipsis !important;
  }

  .theme-2 details.theme2-top-category > summary.theme2-top-category-toggle > i {
    flex: 0 0 auto !important;
    margin: 0 !important;
    color: #8b95a3 !important;
    font-size: 10px !important;
    font-style: normal !important;
    line-height: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .theme-2 details.theme2-top-category > summary.theme2-top-category-toggle:hover,
  .theme-2 details.theme2-top-category[open] > summary.theme2-top-category-toggle,
  .theme-2 .theme2-top-category-link:hover {
    background: #f8f9fb !important;
    color: #d71920 !important;
    transform: none !important;
  }

  .theme-2 details.theme2-top-category[open] > summary.theme2-top-category-toggle {
    box-shadow: inset 0 -2px 0 #d71920 !important;
  }

  .theme-2 details.theme2-top-category[open] > summary.theme2-top-category-toggle > i,
  .theme-2 details.theme2-top-category > summary.theme2-top-category-toggle:hover > i {
    color: #d71920 !important;
    transform: none !important;
  }

  .theme-2 .theme2-category-nav .store-deals {
    flex: 0 0 102px !important;
    min-width: 102px !important;
    width: 102px !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    border-left: 1px solid #efd9d8 !important;
    border-right: 1px solid #efd9d8 !important;
    background: #fff8f7 !important;
    color: #d71920 !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    transition: none !important;
    transform: none !important;
  }

  .theme-2 .theme2-category-nav .store-deals:hover {
    background: #fff1f0 !important;
    color: #b9161c !important;
    transform: none !important;
  }

  .theme-2 .theme2-category-nav .store-deals .site-icon {
    width: 13px !important;
    height: 13px !important;
  }

  /* Açılır menü başlık hizası sabit kalsın. */
  .theme-2 details.theme2-top-category > .theme2-top-category-panel,
  .theme-2 .theme2-category-nav .store-category-dropdown-panel {
    top: 50px !important;
  }
}

/* Orta masaüstü: okunaklılığı korumak için ilk 7 ana kategori. */
@media (min-width: 1101px) and (max-width: 1399px) {
  .theme-2 .theme2-category-nav > .wrap {
    width: calc(100% - 24px) !important;
  }
  .theme-2 .theme2-category-nav .theme2-native-category-dropdown {
    flex-basis: 190px !important;
    width: 190px !important;
    min-width: 190px !important;
  }
  .theme-2 .theme2-top-category-strip {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  }
  .theme-2 .theme2-top-category-strip > :nth-child(n+8) {
    display: none !important;
  }
  .theme-2 details.theme2-top-category > summary.theme2-top-category-toggle,
  .theme-2 .theme2-top-category-link {
    font-size: 10.5px !important;
    padding-inline: 8px !important;
  }
  .theme-2 .theme2-category-nav .store-deals {
    flex-basis: 92px !important;
    width: 92px !important;
    min-width: 92px !important;
    padding-inline: 8px !important;
    font-size: 10px !important;
  }
}
