.menu--dropdown > li.has-mega-menu {
    position: relative;
}

.menu--dropdown > li.has-mega-menu .mega-menu {
    position: absolute;
    top: 0;
    left: 100%; /* Kategorinin SAĞINA açılır */

    min-width: 1100px;
    width: max(1100px, calc(100vw - 250px)); /* Sol menüyü çıkar, responsive davran */
    max-width: 1410px; /* En fazla 1410px olacak */

    background: white;
    z-index: 1000;
    overflow-x: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
   AKTIFDEGIL-max-height: 542px;
}



.mega-menu .mega-menu__list li a {
    background-color: transparent;
    color: var(--heading-color);
    display: block;
    font-size: 13px;
    line-height: 16px;
    padding: 4px 0;
}



html, body {
  overflow-x: hidden !important;
}

.mega-menu .mega-menu__column {
  width: calc(10% - 80px);
}

.menu--product-categories .menu--dropdown>.has-mega-menu {
  position: static; 
}

.menu--dropdown>li.has-mega-menu .mega-menu {
  top: 0;
}

.menu--dropdown>li {
    padding: 0 15px;
    transition: .5s;
}

.menu--product-categories {
    padding: 13px 35px 13px 36px;
}

.menu--product-categories .menu--dropdown li.has-mega-menu > a[href*="antika-urunler"] {
  display: none !important;
}

.menu--product-categories .menu--dropdown li.has-mega-menu > a[href*="firsat-urunler"] {
  display: none !important;
}

.menu--product-categories .menu--dropdown li.has-mega-menu > a[href*="hizmet-satin-al-IPTALETTIM"] {
  display: none !important;
}

.pt-5 {
    padding-top: 0rem !important;
}
.p-3 {
    padding: 1rem !important;
    padding-top: 1rem !important;
    padding-right: 1rem !important;
    padding-bottom: 0rem !important;
    padding-left: 1rem !important;
}

.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/** Sonradan ekledigim menu icin **/

.header .header-bottom {
    background: var(--bottom-header-background-color);
    border-bottom: 1px solid var(--header-deliver-color);
}

.header .header-middle .header-wrapper {
    align-items: center;
    display: flex
;
    padding: 10px 0;
}

.header .header-middle {
    background: var(--middle-header-background-color);
    border-bottom: 0px solid var(--header-deliver-color);
}

.header .header-bottom .header-wrapper {
    padding: 0px 0 0px;
    position: relative;
}

.menu--product-categories .menu__content {
    border-top: 0px solid transparent;
    left: 0;
    min-width: 100%;
    opacity: 0;
    padding-top: 0px;
    position: absolute;
    top: 100%;
    transform: scaleZ(0) translateY(30px);
    transition: all .3s ease;
    visibility: hidden;
    z-index: 1000;
}

.menu--dropdown>li>a {
    border-bottom: 1px solid #eee;
    color: #222;
    display: flex
;
    font-weight: 600;
    line-height: normal;
    padding: 13px 0;
    text-decoration: none;
    transition: .3s ease;
    white-space: nowrap;
}

/* Genel kategori kapsayıcısı */
.bb-product-filter {
background: #fff;
    margin-bottom: 30px;
    padding: 20px;
    border-bottom: 1px solid #ffc107;
    border-left: 1px solid #ffc107;
    border-top: 1px solid #ffc107;
    border-right: 1px solid #ffc107;
}

    .my-md-5 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
}

@media (min-width: 1200px) {
    .h2, h2 {
        font-size: 1rem;
    }
}

.my-4 {
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
}
.py-2 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}

.bb-product-filter-item {
    padding-right: 2px;
    position: relative;
}

.bb-product-filter-items li .bb-product-filter-items {
    display: none;
    margin-top: .25rem;
    padding-inline-start: 0rem;
}

.menu--product-categories .menu--dropdown {
    background-color: #f5f5f5;
    border: 1px solid #d3d3d3;
    min-width: 210px;
}

test

/* Menü öğesi normal hali */
.menu-item-has-children.has-mega-menu {
    width: 100%; /* Menü tam genişlik olacak */
    display: block;
    position: relative;
    background-color: #fff; /* Varsayılan arka plan rengi */
    transition: background-color 0.3s ease-in-out; /* Yumuşak geçiş efekti */
}

/* Hover olduğunda arka plan komple değişsin */
.menu-item-has-children.has-mega-menu:hover {
    background-color: #fff; /* Turuncu arka plan */
    color: #fff; /* Yazı rengi beyaz olacak */
}

.bb-product-filter-content:has(.bb-product-filter-items) {
    max-height: 300px;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;