

@media screen and (max-width: 1274px) {
    
    /* === HEADER LAYOUT === */
    .elementor-element-74fc7b1 > .e-con-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
    }
    
    /* Desktop elementleri gizle */
    .elementor-element-6e5efc3,
    .elementor-element-4ca8e29,
    .elementor-element-fb994d7 {
        display: none !important;
    }
    
    /* === HAMBURGER BUTTON === */
    .e-n-menu-toggle {
        position: relative;
        z-index: 99999;
        background: none !important;
        border: none !important;
        padding: 8px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .e-n-menu-toggle svg {
        width: 26px;
        height: 26px;
        fill: #333;
        pointer-events: none;
        display: block;
    }
    
    /* === MENU WRAPPER - TAM EKRAN === */
    .e-n-menu-wrapper {
        position: fixed !important;
        top: 80px !important; /* Header yüksekliği - logonun altından başla */
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: calc(100% - 80px) !important;
        max-width: 100% !important;
        max-height: none !important;
        background: #fff !important;
        z-index: 999990 !important;
        overflow: hidden !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Sticky header aktifken */
    .elementor-sticky--active .e-n-menu-wrapper {
        top: 80px !important;
        height: calc(100% - 80px) !important;
    }
    
    /* === MAIN MENU LIST === */
    .e-n-menu-heading {
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 10px 0 100px 0 !important;
        height: 100% !important;
        background: #fff !important;
        margin: 0 !important;
        list-style: none !important;
    }
    
    /* === MENU ITEM STYLING === */
    .e-n-menu-item {
        display: block !important;
        border-bottom: 1px solid #f0f0f0 !important;
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .e-n-menu-item:first-child {
        border-top: 1px solid #f0f0f0 !important;
    }
    
    .e-n-menu-title {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 15px 20px !important;
        cursor: pointer !important;
        background: #fff !important;
        width: 100% !important;
        border: none !important;
        -webkit-tap-highlight-color: transparent;
    }
    
    .e-n-menu-title:active {
        background: #f5f5f5 !important;
    }
    
    .e-n-menu-title-text {
        font-size: 16px !important;
        font-weight: 500 !important;
        color: #1a1a1a !important;
        pointer-events: none;
    }
    
    .e-n-menu-title-container,
    .e-n-menu-title a {
        pointer-events: none !important;
        color: inherit !important;
        text-decoration: none !important;
    }
    
    .e-n-menu-dropdown-icon {
        width: 30px !important;
        height: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent;
    }
    
    .e-n-menu-dropdown-icon svg {
        width: 12px !important;
        height: 12px !important;
        fill: #999 !important;
        transform: rotate(-90deg) !important;
        pointer-events: none !important;
    }
    
    .e-n-menu-dropdown-icon-opened {
        display: none !important;
    }
    
    /* === SUBMENU PANEL === */
    .e-n-menu-content {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: calc(100% - 80px) !important;
        background: #fff !important;
        z-index: 999992 !important;
        overflow: hidden !important;
        /* Varsayılan: KAPALI */
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease !important;
        pointer-events: none !important;
    }
    
    /* JS ile açıldığında */
    .e-n-menu-content.custom-submenu-visible {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
        pointer-events: auto !important;
    }
    
    .e-n-menu-content.custom-submenu-visible * {
        visibility: visible !important;
    }
    
    .e-n-menu-content > div,
    .e-n-menu-content > [data-tab-index],
    .e-n-menu-content > .e-con {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 60px 0 30px 0 !important;
        background: #fff !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    
    /* === SUBMENU CONTENT === */
    .e-n-menu-content .e-grid {
        display: flex !important;
        flex-direction: column !important;
        padding: 10px 16px 30px !important;
        background: #fff !important;
        gap: 0 !important;
    }
    
    .e-n-menu-content .e-con {
        background: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        position: relative !important;
        transform: none !important;
        border: none !important;
    }
    
    .e-n-menu-content .e-grid > .e-con > .elementor-widget-text-editor:first-child p {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #999 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        margin: 20px 0 8px 0 !important;
        padding: 0 4px !important;
    }
    
    .e-n-menu-content .e-grid > .e-con:first-child > .elementor-widget-text-editor:first-child p {
        margin-top: 5px !important;
    }
    
    .e-n-menu-content .e-grid > .e-con > .e-con {
        background: #fff !important;
        border: 1px solid #eee !important;
        border-radius: 8px !important;
        padding: 14px 16px !important;
        margin: 0 0 10px 0 !important;
    }
    
    .e-n-menu-content .e-grid > .e-con > .e-con:active {
        background: #fafafa !important;
    }
    
    .e-n-menu-content .elementor-icon-list-item a {
        display: flex !important;
        align-items: center !important;
        color: #1a1a1a !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
    }
    
    .e-n-menu-content .elementor-icon-list-icon {
        margin-right: 10px !important;
    }
    
    .e-n-menu-content .elementor-icon-list-icon svg {
        width: 14px !important;
        height: 14px !important;
        fill: #223558 !important;
    }
    
    .e-n-menu-content .e-grid > .e-con > .e-con > .elementor-widget-text-editor p {
        font-size: 13px !important;
        color: #666 !important;
        margin: 6px 0 0 0 !important;
        line-height: 1.5 !important;
    }
    
    .e-n-menu-content .elementor-widget-divider {
        display: none !important;
    }
    
    /* ==========================================
       SUBMENU HEADER (JS ile kontrol ediliyor)
       ========================================== */
    .custom-submenu-header {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        height: 56px !important;
        background: #fff !important;
        border-bottom: 1px solid #eee !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 16px !important;
        z-index: 999996 !important;
        box-sizing: border-box !important;
        /* KAPALI STATE */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-56px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
        pointer-events: none;
    }
    
    .custom-submenu-header.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    /* === BACK BUTTON === */
    .custom-submenu-back {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        background: #f0f0f0 !important;
        border: none !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #333 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .custom-submenu-back:active {
        background: #e0e0e0 !important;
    }
    
    .custom-submenu-back svg {
        width: 20px !important;
        height: 20px !important;
        fill: currentColor !important;
        pointer-events: none !important;
    }
    
    .custom-submenu-title {
        flex: 1;
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        color: #1a1a1a;
        padding-right: 42px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* === SMALL SCREENS === */
@media screen and (max-width: 480px) {
    .e-n-menu-wrapper {
        top: 80px !important;
        height: calc(100% - 80px) !important;
    }
    
    .elementor-sticky--active .e-n-menu-wrapper {
        top: 80px !important;
        height: calc(100% - 80px) !important;
    }
    
    .e-n-menu-content {
        top: 80px !important;
        height: calc(100% - 80px) !important;
    }
    
    .custom-submenu-header {
        top: 80px !important;
        height: 52px !important;
        padding: 0 14px !important;
    }
    
    .e-n-menu-title {
        padding: 14px 16px !important;
    }
    
    .e-n-menu-title-text {
        font-size: 15px !important;
    }
    
    .custom-submenu-back {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }
    
    .custom-submenu-title {
        font-size: 15px;
        padding-right: 38px;
    }
    
    .e-n-menu-heading {
        padding-top: 8px !important;
        padding-bottom: 80px !important;
    }
    
    .e-n-menu-content > div,
    .e-n-menu-content > [data-tab-index],
    .e-n-menu-content > .e-con {
        padding-top: 52px !important;
    }
    
    .e-n-menu-content .e-grid {
        padding: 8px 14px 24px !important;
    }
    
    .e-n-menu-content .e-grid > .e-con > .e-con {
        padding: 12px 14px !important;
        margin: 0 0 8px 0 !important;
        border-radius: 6px !important;
    }
    
    .e-n-menu-content .elementor-icon-list-item a {
        font-size: 14px !important;
    }
    
    .e-n-menu-content .e-grid > .e-con > .e-con > .elementor-widget-text-editor p {
        font-size: 12px !important;
    }
}

/* === iPHONE SAFE AREA === */
@supports (padding-top: env(safe-area-inset-top)) {
    @media screen and (max-width: 1274px) {
        .e-n-menu-heading {
            padding-bottom: calc(100px + env(safe-area-inset-bottom)) !important;
        }
        
        .custom-submenu-header.visible {
            /* Safe area zaten header'da hesaplanmış */
        }
        
        .e-n-menu-content > div,
        .e-n-menu-content > [data-tab-index],
        .e-n-menu-content > .e-con {
            padding-bottom: calc(30px + env(safe-area-inset-bottom)) !important;
        }
    }
}

.mobile-menu-cta {
    position: fixed;
    bottom: 30px;
    width: 90%;
    left: 5%;
    text-align: center;
	z-index: 9999;
}

@media screen and (max-width: 760px) {
    .e-n-menu-content .e-grid {
        padding: 8px 14px 24px !important;
    }
}