/* Mega menü — yalnızca dropdown tam genişlik; header container aynı kalır */

.menu-main > ul > li > .mega-menu {
    position: fixed;
    top: var(--ws-mega-top, 74px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    z-index: 102;
    background-color: var(--white, #fff);
}

.menu-main > ul > li > .mega-menu > .container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Mega sütundaki ürün kartları (tema product-item) */
.menu-main > ul > li > .mega-menu .ws-mega-products {
    width: 100%;
}

.menu-main > ul > li > .mega-menu .ws-mega-products .product-item {
    width: 100%;
}

.menu-main > ul > li > .mega-menu .ws-mega-products .product-sold {
    display: none;
}

/*
 * Ürünlü sütun biraz daha geniş: diğer sütunlardan az pay alır.
 * Ürün yoksa (veya hepsi ürünlüyse) eşit kalır.
 */
.menu-main > ul > li > .mega-menu .ws-mega-storefront-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    width: 100%;
}

.menu-main > ul > li > .mega-menu .ws-mega-storefront-row > .nav-item {
    flex: 1 1 0;
    min-width: 0;
}

.menu-main > ul > li > .mega-menu .ws-mega-storefront-row:has(> .nav-item.is-product-col):has(> .nav-item:not(.is-product-col)) > .nav-item:not(.is-product-col) {
    flex: 0.82 1 0;
}

.menu-main > ul > li > .mega-menu .ws-mega-storefront-row:has(> .nav-item.is-product-col):has(> .nav-item:not(.is-product-col)) > .nav-item.is-product-col {
    flex: 1.4 1 0;
}

@media (max-width: 1023.98px) {
    .menu-main > ul > li > .mega-menu .ws-mega-storefront-row {
        flex-wrap: wrap;
    }

    .menu-main > ul > li > .mega-menu .ws-mega-storefront-row > .nav-item {
        flex: 1 1 calc(50% - 0.75rem);
    }

    .menu-main > ul > li > .mega-menu .ws-mega-storefront-row:has(> .nav-item.is-product-col):has(> .nav-item:not(.is-product-col)) > .nav-item.is-product-col {
        flex: 1 1 100%;
    }
}
