/* ToptanTR header styles - plan item W4: moved out of _NewHeader.cshtml so the browser caches them instead of
   receiving ~73 KB inline on every page. Served inline again when ToptanTrSettings.LinkHeaderAssets is off. */
    /* TTR-3644: /login ve /register banner alanı — bilerek .new-header-wrapper'ın DIŞINDA, statik
       konumda. Header (.new-header) sticky olduğu için scroll'da üstte sabit kalır; bu banner ise
       normal doküman akışında olduğundan scroll ile birlikte yukarı kayıp header'ın arkasında kaybolur
       (sticky DEĞİLDİR) — sayfa ilk açıldığında/en üstteyken her zaman header'ın hemen altında,
       tam genişlikte görünür. */
    .auth-header-banner {
        width: 100%;
    }
    
    .auth-header-banner .banner-slick-slider {
        margin: 0;
        padding: 0;
    }
    /* TTR-3644: banner ile auth-card arasında, banner'ın gerçek render yüksekliğinden bağımsız
       sabit 20px boşluk. margin-bottom normal akışta banner'ın asıl yüksekliğinden SONRA eklenir,
       bu yüzden admin panelden yüklenen görselin boyutu ne olursa olsun boşluk her zaman 20px kalır. */
    @media (max-width: 480px) {
        .auth-header-banner {
            margin-bottom: 20px;
        }
    }
    .auth-header-banner .banner-image,
    .auth-header-banner .banner-wrapper img,
    .auth-header-banner .slider-wrapper img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Mobil-özel banner (login_top_mobile/register_top_mobile) admin'de yüklenmişse: masaüstünde
       masaüstü banner'ı, <768px'te mobil banner'ı göster. Mobil-özel banner hiç yüklenmemişse
       (.auth-header-banner--fallback), masaüstü banner'ı her genişlikte göstermeye devam eder —
       banner alanı hiçbir zaman boş kalmaz. */
    .auth-header-banner--mobile {
        display: none;
    }
    @media (max-width: 767px) {
        .auth-header-banner--desktop:not(.auth-header-banner--fallback) {
            display: none;
        }
        .auth-header-banner--mobile {
            display: block;
        }
    }

    .new-header {
        width: 100%;
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    /* Width Management System - Old Header Pattern */
    .new-header-wrapper {
        width: 100%;
        /* max-width: 1000px; - Removed to allow full width until 768px */
    }

    /* 769px ve üzeri için width limitleri */
    @media (min-width: 769px) {
        .new-header-wrapper {
            max-width: 1025px;
        }
    }

    /* 1024px için full width */
    @media (max-width: 1024px) {
        .new-header-wrapper {
            width: 100% !important;
        }
    }

    @media (min-width: 1201px) {
        .new-header-wrapper {
            max-width: 1110px;
        }
    }

    @media (min-width: 1280px) {
        .new-header-wrapper {
            max-width: 1200px;
        }
    }

    .new-header-wrapper {
        max-width: 100%;
    }

    /* Area1 container system - sadece büyük ekranlar için */
    .area1-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 100%;
    }

    @media (min-width: 1440px) {
        .area1-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 20px;
        }
    }

    /* Area2 container system - sadece büyük ekranlar için */
    .area2-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 100%;
        flex-direction: column; /* Mobile için alt alta */
    }

    @media (min-width: 1025px) {
        .area2-container {
            flex-direction: row; /* Desktop için yan yana */
        }
    }

    @media (min-width: 1440px) {
        .area2-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 20px;
        }
    }


    /* Typography & Spacing Scales - Old Header Pattern */

    .mobile-links-wrapper {
        gap: 8px !important;
        padding: 0 !important;
    }

    .mobile-link {
        font-size: 11px !important;
        padding: 0 !important;
    }

    }

    @media (max-width: 480px) {
        .mobile-links-wrapper {
            gap: 8px !important;
            padding: 0 !important;
        }

        .mobile-link {
            font-size: 11px !important;
            padding: 0 !important;
        }
    }

    @media (max-width: 1024px) {
        .area1-right .top-link {
            font-size: 10px !important;
        }

        .area-2 {
            font-size: 14px !important;
        }
    }

    @media (max-width: 1024px) {
        .area1-right .top-link {
            font-size: 11px !important;
        }

        .area-2 {
            font-size: 15px !important;
        }

        .new-header-area {
            padding: 8px 12px !important;
        }
    }

    @media (min-width: 1201px) {
        .area1-right .top-link {
            font-size: 13px !important;
        }

        .area-2 {
            font-size: 16px !important;
        }

        .new-header-area {
            padding: 12px 18px !important;
        }
    }

    .new-header-area {
        width: 100%;
        padding: 10px 15px;
        border-bottom: 0.5px solid #E9EAEB;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        font-size: 16px;
        font-weight: bold;
        color: #333;
    }

    /* Alan 1 özel stilleri */
    .area-1 {
        display: flex !important;
        height: 36px !important;
        padding: 0 40px 0 60px !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 23px !important;
        align-self: stretch !important;
        border-bottom: 0.5px solid #E9EAEB !important;
        background: #2E323C !important;
        min-height: 36px !important;
    }

    /* Area-1 Responsive Rules */

    @media (max-width: 1024px) {
        .area-1 {
            padding: 0 10px !important;
        }

        .area1-left, .area1-right {
            gap: 10px !important;
        }

            .area1-right .top-link {
                font-size: 10px !important;
            }
    }

    /* Large screen responsive - Area 1 */
    .area-1 {
        padding: 0 60px !important;
    }

    .area-1 {
    }

    .area1-left {
        display: flex;
        align-items: center;
        margin-right: auto;
    }

        .area1-left .administration,
        .area1-left .new-admin-header-links a {
            color: #fff;
            text-decoration: none;
            font-size: 14px;
            font-weight: normal;
        }

            .area1-left .administration:hover,
            .area1-left .new-admin-header-links a:hover {
                color: #ccc;
                text-decoration: underline;
            }

    .area1-right {
        display: flex;
        gap: 23px;
        align-items: center;
    }

        .area1-right .top-link {
            color: #fff;
            text-decoration: none;
            font-size: 12px;
            font-weight: normal;
            white-space: nowrap;
        }

        .area1-right .administration,
        .area1-right .admin-header-links a {
            color: #FE9C4C;
            text-decoration: underline;
            font-size: 12px;
            font-weight: normal;
            white-space: nowrap;
        }

        .area1-right .top-link.toptantr-sell {
            font-size: 14px;
            font-weight: 800;
            color: #FE9C4C;
        }

        .area1-right .top-link:hover,
        .area1-right .administration:hover,
        .area1-right .admin-header-links a:hover {
            color: #ccc;
            text-decoration: underline;
        }

        .area1-right .mobile-app-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

    /* Mobile slider - basit yan yana */
    .area1-mobile-slider {
        display: none;
        width: 100%;
    }

    .mobile-links-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .mobile-link {
        color: #fff;
        text-decoration: none;
        font-size: 11px;
        font-weight: 500;
        white-space: nowrap;
        padding: 0;
        margin: 0;
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .mobile-link:hover {
            color: #ccc;
            opacity: 1;
        }

    /* Mobile Side Menu - 1024px üstünde gizle */
    @media (min-width: 1024px) {
        .mobile-side-menu,
        .mobile-side-menu-overlay {
            display: none !important;
        }
    }

    /* Mobile responsive - 575px breakpoint */
    @media (max-width: 575px) {
        .area-2 {
            padding-top: 20px !important;
        }

            .area-2 .logo-wrapper img {
                max-height: 37px !important;
            }
    }

    /* Desktop/Mobile transition - 1024px breakpoint */
    @media (max-width: 1024px) {
        .area-2 .logo-wrapper img {
            max-height: 70px !important;
        }

        .area-1 {
            display: flex !important;
            justify-content: space-between !important;
            padding: 0 5px !important;
        }

        .area1-left {
            align-self: center !important;
            margin: 0 !important;
        }

        .area1-right {
            align-self: center !important;
            margin: 0 !important;
        }
    }

    /* Desktop optimization - 980px+ */
    @media (min-width: 980px) {
        .new-header-wrapper {
            min-width: 100%;
        }

        .area-2 {
            padding: 15px 40px !important;
        }

        .area-3 {
            padding: 0 40px !important;
        }
    }

    /* Categories hide on mobile - 1024px breakpoint */
    @media (max-width: 1024px) {
        .area-3,
        .new-header-area.area-3,
        #area-3-categories {
            display: none !important;
        }
        /* Show hamburger menu when categories are hidden */
        .hamburger-btn {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .area2-left {
            display: flex !important;
            gap: 12px !important;
            align-items: center !important;
        }
        /* Hide mobile-top-row, use area2-left instead */
        /* Mobile layout - search goes below hamburger + logo + icons */
        .area-2 {
            flex-direction: column !important;
            padding: 12px 16px !important;
            align-items: stretch !important;
            gap: 12px !important;
        }

        .mobile-top-row {
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            width: 100% !important;
            height: 40px !important;
            position: relative !important;
        }
        /* Hide area2-left when mobile-top-row is active */
        .area2-left {
            display: none !important;
        }

        .area2-center {
            width: 100% !important;
            margin: 0 !important;
            margin-top: 10px !important;
        }
    }

    /* Mobile responsive - copy 768px styles to 1024px */
    @media (max-width: 1024px) {

        .area-1 {
            padding: 0 !important;
            position: relative;
            height: auto !important;
            min-height: 24px !important;
        }

        .area1-container {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-start !important;
            width: 100% !important;
            padding-left: 8px !important;
        }

        /* Desktop linklerini gizle ama impersonate dropdown'ı göster */
        .area1-right {
            display: flex !important;
            align-items: center !important;
            justify-content: flex-end !important;
        }
        
        .area1-right .top-link:not(.new-admin-header-links *) {
            display: none !important;
        }
        
        /* İmpersonate dropdown'ı her zaman görünsün */
        .area1-right .new-admin-header-links {
            display: flex !important;
            align-items: center !important;
        }
        /* Admin ve diğer linkler yan yana sola yaslanmış */
        .area1-left {
            display: flex !important;
            align-items: center !important;
            justify-content: flex-start !important;
        }
            /* Admin linkleri için özel düzen */
            .area1-left .new-admin-header-links {
                display: flex !important;
                align-items: center !important;
            }

                .area1-left .new-admin-header-links a {
                    display: inline-block !important;
                    color: #FE9C4C !important;
                    text-decoration: underline !important;
                    font-size: 11px !important;
                    font-weight: 500 !important;
                }
            /* 769px üstündeki gizleme kuralını override et */
            .area1-left .administration,
            .area1-left .new-admin-header-links {
                display: block !important;
            }
            /* Gereksiz içerikleri gizle */
            .area1-left .area-4-content,
            .area1-left .area-4-announcements {
                display: none !important;
            }
        /* Mobile slider'ı alt satırda göster */
        .area1-mobile-slider {
            display: block !important;
            padding-right: 8px !important;
        }

        .area1-left:empty {
            display: none;
        }
    }

    .new-header-area:last-child {
        border-bottom: none;
    }

    .area-1 {
        background: #2E323C;
    }

    .area-2 {
        background: #fff;
    }

    .area-3 {
        display: flex !important;
        width: 100% !important;
        height: 64px !important;
        padding: 0 40px !important;
        justify-content: flex-start !important;
        align-items: center !important;
        background: #FFF !important;
        margin: 0 !important;
        position: relative !important;
    }

    /* Large screen responsive - Area 3 */
    .area-3 {
    }

        /* Alan 3 kategoriler */
        .area-3 .categories-container {
            display: flex;
            max-width: 1025px;
            margin: 0 auto;
            align-items: center;
            justify-content: center;
            padding: 0 20px;
            width: 100%;
            height: 100%;
        }

    /* Container Centering System Breakpoints */
    @media (min-width: 1201px) {
        .area-3 .categories-container {
            max-width: 1110px;
        }
    }

    @media (min-width: 1280px) {
        .area-3 .categories-container {
            max-width: 1200px;
        }
    }

    .area-3 .categories-container {
        max-width: 90%;
    }

    .area-3 .mega-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 30px;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
    }

        .area-3 .mega-menu li {
            margin: 0;
            padding: 0;
            position: relative;
        }

            .area-3 .mega-menu li a {
                display: flex;
                align-items: center;
                gap: 8px;
                color: #333;
                text-decoration: none;
                font-size: 14px;
                font-weight: 500;
                padding: 8px 0;
                white-space: nowrap;
            }

                .area-3 .mega-menu li a:hover {
                    color: #F86F00;
                }

                .area-3 .mega-menu li a::after {
                    display: none;
                }

                .area-3 .mega-menu li a.with-subcategories::after {
                    display: inline-block;
                    content: '';
                    width: 16px;
                    height: 16px;
                    background-image: url('/Themes/ToptanTR/Content/images/chevron-down.svg');
                    background-repeat: no-repeat;
                    background-position: center;
                    background-size: contain;
                }

    /* Mega menu responsive menü başlığını gizle */
    .area-3 .menu-title {
        display: none !important;
    }

    .area-3 .mega-menu-responsive {
        display: none !important;
    }

    /* Mobile Side Menu */
    .mobile-side-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

        .mobile-side-menu-overlay.open {
            opacity: 1;
            visibility: visible;
        }

    .mobile-side-menu {
        position: fixed;
        top: 0;
        left: -320px;
        width: 320px;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        background: #fff;
        z-index: 9999;
        overflow-x: hidden;
        overflow-y: auto;
        box-shadow: 1px 0 5px rgba(0,0,0,.5);
        -webkit-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }

    /* Transform support for old header consistency */
    .notAndroid23 .mobile-side-menu {
        -webkit-transform: translate(-320px);
        -ms-transform: translate(-320px);
        transform: translate(-320px);
        left: 0;
    }

    .android23 .mobile-side-menu {
        left: -320px;
    }

    .mobile-side-menu.open {
        left: 0;
        box-shadow: 1px 0 5px rgba(0,0,0,.5);
    }

    .notAndroid23 .mobile-side-menu.open {
        -webkit-transform: translate(0);
        -ms-transform: translate(0);
        transform: translate(0);
    }

    .android23 .mobile-side-menu.open {
        left: 0;
    }

    .mobile-side-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #e9ecef;
    }

    .mobile-side-menu-logo {
        max-height: 32px;
        display: flex;
        align-items: center;
    }

        .mobile-side-menu-logo img,
        .mobile-side-menu-logo svg {
            max-height: 32px;
            max-width: 120px;
            object-fit: contain;
        }

    .mobile-side-menu-close {
        background: transparent;
        border: none;
        font-size: 24px;
        color: #666;
        cursor: pointer;
        padding: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-side-menu-content {
        padding: 0;
        position: relative;
        height: calc(100% - 65px);
        display: flex;
        flex-direction: column;
    }

    .mobile-side-menu .mega-menu {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        width: 100% !important;
        display: flex !important;
    }

        .mobile-side-menu .mega-menu li {
            border-bottom: 1px solid #f0f0f0 !important;
            width: 100% !important;
            display: block !important;
        }

            .mobile-side-menu .mega-menu li:last-child {
                border-bottom: none !important;
            }

            .mobile-side-menu .mega-menu li a {
                display: flex !important;
                align-items: center !important;
                justify-content: space-between !important;
                padding: 16px 20px !important;
                color: #333 !important;
                text-decoration: none !important;
                font-size: 16px !important;
                font-weight: 500 !important;
                gap: 8px !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

                .mobile-side-menu .mega-menu li a:hover {
                    background: #f8f9fa !important;
                    color: #F86F00 !important;
                }

                .mobile-side-menu .mega-menu li a::after {
                    content: '' !important;
                    width: 16px !important;
                    height: 16px !important;
                    flex-shrink: 0 !important;
                    background-image: url('/Themes/ToptanTR/Content/images/chevron-right.svg') !important;
                    background-repeat: no-repeat !important;
                    background-position: center !important;
                    background-size: contain !important;
                }

                /* Altkategorisi olmayan kategoriler için chevron gizle */
                .mobile-side-menu .mega-menu li a.no-subcategory::after,
                .mobile-side-menu .mega-menu li a[data-has-subcategory="false"]::after {
                    display: none !important;
                }

    /* Mobile Side Menu Nested Categories */
    .mobile-side-menu-level {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

        .mobile-side-menu-level.show {
            transform: translateX(0);
        }

    #mobile-menu-level-0 {
        position: static !important;
        transform: none !important;
        overflow-y: auto;
        height: 100%;
        background: transparent;
    }

    .mobile-side-menu-level-header {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #e9ecef;
        gap: 12px;
    }

    .mobile-side-menu-back {
        background: transparent;
        border: none;
        padding: 8px;
        cursor: pointer;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        transition: background 0.2s ease;
    }

        .mobile-side-menu-back:hover {
            background: #f0f0f0;
        }

        .mobile-side-menu-back::before {
            content: '';
            width: 16px;
            height: 16px;
            background-image: url('/Themes/ToptanTR/Content/images/chevron-left.svg');
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
        }

    .mobile-side-menu-level-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        flex: 1;
    }

    .mobile-side-menu-level-content {
        padding: 0;
        overflow-y: auto;
        flex: 1;
    }

    .mobile-side-menu-footer {
        display: flex;
        padding: 0 var(--spacing-md, 8px);
        flex-direction: column;
        align-items: flex-start;
        align-self: stretch;
        gap: 10px;
        border-top: 1px solid #E9EAEB;
        background: #fff;
        padding-top: 16px;
        padding-bottom: 16px;
        margin-bottom: 40px;
    }

        .mobile-side-menu-footer a {
            display: flex;
            padding: var(--spacing-md, 8px) var(--spacing-lg, 12px);
            align-items: center;
            gap: var(--spacing-lg, 12px);
            flex: 1 0 0;
            border-radius: var(--radius-sm, 6px);
            background: var(--Colors-Background-bg-primary, #FFF);
            font-size: var(--Font-size-text-md, 16px);
            font-style: normal;
            font-weight: 600;
            color: #414651;
            text-decoration: none;
        }

    .mobile-side-menu-sub-item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 20px !important;
        color: #333 !important;
        text-decoration: none !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        border-bottom: 1px solid #f0f0f0 !important;
        transition: background 0.2s ease;
    }

        .mobile-side-menu-sub-item:hover {
            background: #f8f9fa !important;
            color: #F86F00 !important;
        }

        .mobile-side-menu-sub-item:last-child {
            border-bottom: none !important;
        }

        .mobile-side-menu-sub-item::after {
            content: '' !important;
            width: 14px !important;
            height: 14px !important;
            background-image: url('/Themes/ToptanTR/Content/images/chevron-right.svg') !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
            background-size: contain !important;
            opacity: 0.6;
        }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .mobile-side-menu .menu-title {
        display: none !important;
    }

    .mobile-side-menu .mega-menu-responsive {
        display: none !important;
    }

    .mobile-side-menu .notification-overlay {
        display: none !important;
    }

    /* Alan 3'te dropdown'ları gizle ama DOM'da kalsın */
    .area-3 .dropdown {
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        height: 0 !important;
        overflow: hidden !important;
    }


    /* Active category link styling */
    .mega-menu li a.active-category {
        color: #F86F00 !important;
        font-weight: 600;
    }

    /* Category Mega Dropdown Overlay */
    .category-mega-dropdown-overlay {
        position: fixed;
        top: 180px; /* Header yüksekliği: 36px + 80px + 64px */
        left: 0;
        width: 100%;
        height: calc(100vh - 180px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

        .category-mega-dropdown-overlay.show {
            opacity: 1;
            visibility: visible;
        }

    /* Mobil responsive overlay */
    @media (max-width: 1024px) {
        .category-mega-dropdown-overlay {
            top: calc(36px + 80px); /* Area-1 (36px) + Area-2 mobile height değişken */
        }
    }

    /* Section Header for Search Results */
    .section-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #edeef0;
        padding-bottom: 4px;
        margin-bottom: 12px;
    }

    /* Search Section Title */
    .search-section-title {
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        color: #414651;
        white-space: nowrap;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        border: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Category Mega Dropdown */
    .category-mega-dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 1200px;
        max-width: calc(100vw - 40px);
        background: #fff;
        border: 1px solid #E9EAEB;
        border-radius: 8px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
        z-index: 1000;
        display: none;
        padding: 24px;
        margin-top: 0;
    }

        .category-mega-dropdown.show {
            display: block;
        }

    .category-mega-dropdown-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 16px;
        border-bottom: 1px solid #E9EAEB;
    }

    .category-mega-dropdown-title {
        font-size: 18px;
        font-weight: 600;
        color: #333;
    }

    .category-mega-dropdown-close {
        background: transparent;
        border: none;
        font-size: 20px;
        color: #666;
        cursor: pointer;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .category-mega-dropdown-content {
        display: flex;
        gap: 0;
        height: 400px;
        max-height: 400px;
    }

        .category-mega-dropdown-content.hidden {
            display: none;
        }

    .category-mega-dropdown-left {
        width: 300px;
        border-right: 1px solid #E9EAEB;
        overflow-y: auto;
        flex-shrink: 0;
    }

    .category-mega-dropdown-middle {
        flex: 1;
        padding-left: 24px;
        padding-right: 24px;
        overflow-y: auto;
        border-right: 1px solid #E9EAEB;
    }

    .category-mega-dropdown-right {
        width: 200px;
        padding-left: 24px;
        overflow: hidden;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .category-main-image {
        width: 150px;
        height: 150px;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

        .category-main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .category-main-info {
        text-align: center;
    }

        .category-main-info h3 {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin: 0 0 8px 0;
        }

        .category-main-info p {
            font-size: 12px;
            color: #666;
            margin: 0;
        }

    .category-mega-dropdown-main-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
        color: #333;
        transition: all 0.2s ease;
        cursor: pointer;
    }

        .category-mega-dropdown-main-item:hover,
        .category-mega-dropdown-main-item.active {
            background: #f8f9fa;
            color: #F86F00;
        }

        .category-mega-dropdown-main-item:last-child {
            border-bottom: none;
        }

    .category-mega-dropdown-main-item-name {
        font-size: 14px;
        font-weight: 500;
        flex: 1;
    }

    .category-mega-dropdown-main-item-arrow {
        width: 16px;
        height: 16px;
        background-image: url('/Themes/ToptanTR/Content/images/chevron-right.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        flex-shrink: 0;
    }

    .category-mega-dropdown-sub-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-bottom: 16px;
        padding-bottom: 8px;
        border-bottom: 1px solid #E9EAEB;
    }

    .category-mega-dropdown-sub-title-link {
        display: none;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        font-weight: 500;
        color: #F86F00;
        text-decoration: none;
        white-space: nowrap;
    }

        .category-mega-dropdown-sub-title-link svg {
            width: 12px;
            height: 12px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
        }

    .category-mega-dropdown-sub-content {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 8px;
        min-height: 240px;
        align-content: start;
    }

        .category-mega-dropdown-sub-content.empty-note {
            display: flex;
            align-items: center;
            justify-content: center;
        }

    .category-mega-dropdown-sub-empty-note {
        width: 100%;
        max-width: 360px;
        padding: 32px 24px;
        border-radius: 16px;
        border: 1px dashed #E2E8F0;
        background: #F9FAFB;
        color: #667085;
        text-align: center;
        font-size: 14px;
        line-height: 1.5;
    }

    .category-mega-dropdown-empty {
        display: none;
        padding: 40px 0 10px;
        justify-content: center;
        align-items: center;
    }

        .category-mega-dropdown-empty.show {
            display: flex;
        }

        .category-mega-dropdown-empty .category-mega-dropdown-empty-wrapper {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .category-mega-dropdown-empty .category-mega-dropdown-sub-empty {
            width: 100%;
            max-width: 420px;
            border-radius: 24px;
            padding: 40px 32px;
            background: #FFFFFF;
            border: 1px dashed #E1E6F2;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
        }

        .category-mega-dropdown-empty .category-mega-dropdown-sub-empty-icon {
            width: 96px;
            height: 96px;
            border-radius: 28px;
            background: radial-gradient(circle at 30% 30%, #fff 0%, #E1E9FC 100%);
            border: 1px dashed #D5DCEE;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2563EB;
            font-size: 0;
            box-shadow: inset 0 2px 6px rgba(15, 18, 27, 0.06);
        }

            .category-mega-dropdown-empty .category-mega-dropdown-sub-empty-icon svg {
                width: 48px;
                height: 48px;
                fill: none;
                stroke: #2563EB;
                stroke-width: 1.8;
            }

        .category-mega-dropdown-empty .category-mega-dropdown-sub-empty-title {
            font-size: 20px;
            font-weight: 600;
            color: #1F2933;
        }

        .category-mega-dropdown-empty .category-mega-dropdown-sub-empty-text {
            font-size: 15px;
            color: #4B5563;
            line-height: 1.5;
        }


    .category-mega-dropdown-sub-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2px 10px;
        border-radius: 6px;
        text-decoration: none;
        color: #333;
        transition: all 0.2s ease;
        border: 1px solid transparent;
        min-height: 32px;
    }

        .category-mega-dropdown-sub-item:hover {
            background: #f8f9fa;
            color: #F86F00;
        }


    .category-mega-dropdown-sub-item-title {
        font-size: 14px;
        font-weight: 500;
        margin: 0 0 1px 0;
        line-height: 1.2;
    }


    .category-mega-dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border-radius: 8px;
        text-decoration: none;
        color: #333;
        transition: all 0.2s ease;
    }

        .category-mega-dropdown-item:hover {
            background: #f8f9fa;
            color: #F86F00;
        }

    .category-mega-dropdown-item-image {
        width: 48px;
        height: 48px;
        border-radius: 6px;
        overflow: hidden;
        flex-shrink: 0;
    }

        .category-mega-dropdown-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .category-mega-dropdown-item-content {
        flex: 1;
        min-width: 0;
    }

    .category-mega-dropdown-item-title {
        font-size: 14px;
        font-weight: 500;
        color: #333;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .category-mega-dropdown-item-count {
        font-size: 12px;
        color: #666;
    }

    @media (min-width: 769px) {
        .new-header-area.area-4 {
            display: none !important;
        }

        /* Admin linklerini sadece area1-left'ta gizle, area1-right'ta görünsün */
        .area1-left .administration,
        .area1-left .new-admin-header-links {
            display: none !important;
        }
        
        /* area1-right'taki admin linkleri her zaman görünsün kimliğe bürünme durumunda */
        .area1-right .new-admin-header-links {
            display: flex !important;
            align-items: center !important;
        }
    }

    .area-4 {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 20px !important;
        background: #fff !important;
        border-bottom: 0.5px solid #E9EAEB !important;
        height: 50px !important;
        min-height: 50px !important;
    }

    /* Large screen responsive - Area 4 */
    .area-4 {
    }

    .area-4-content {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        height: 50px;
    }

    .area-4-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .area-4-text {
        color: #fff;
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
    }

    .area-4-announcements {
        height: 50px;
        overflow: visible;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .announcements-slider {
        height: 50px;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        min-width: 400px;
    }

    #announcements-container,
    #announcements-container-desktop {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .announcement-item {
        position: absolute;
        width: 100%;
        height: 50px;
        display: flex;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        align-items: center;
        justify-content: flex-start;
        transform: translateY(50px);
        opacity: 0;
        transition: all 0.5s ease-in-out;
        gap: 8px;
        padding-right: 0;
    }

        .announcement-item.active {
            transform: translateY(0);
            opacity: 1;
        }

        .announcement-item.exiting {
            transform: translateY(-50px);
            opacity: 0;
        }

    .announcement-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .announcement-text-content {
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 350px;
    }

    /* Alan 2 özel stilleri */
    .area-2 {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        align-self: stretch !important;
        border-bottom: 0.5px solid #E9EAEB !important;
        padding: 15px 40px !important;
        gap: 20px !important;
        height: 80px !important;
        min-height: 80px !important;
        background: #fff !important;
    }

    /* Area-2 Responsive Rules */
    @media (max-width: 575px) {
        .area-2 {
            padding: 8px 10px !important;
            min-height: 60px !important;
        }

        .search-wrapper {
            height: 40px !important;
        }
    }

    @media (max-width: 1024px) {
        .area-2 {
            padding: 10px 15px !important;
        }

        .area2-left, .area2-center, .area2-right {
            flex-shrink: 1 !important;
        }
    }

    @media (min-width: 980px) {
        .area-2 {
            padding: 15px 40px !important;
        }
    }

    /* Large screen responsive - Area 2 */
    .area-2 {
        padding: 15px 60px !important;
    }

    .area-2 {
    }

    .area2-left {
        flex-shrink: 0;
        display: flex; /* Always show area2-left */
        align-items: center;
        gap: 12px;
        margin-right: 12px !important;
    }

    .logo-wrapper {
        font-size: 24px;
        font-weight: bold;
        color: #333;
    }

    .area2-center {
        flex-grow: 1;
        max-width: none;
    }

    .search-wrapper {
        display: flex;
        width: 100%;
        height: 48px;
        align-items: center;
        flex-shrink: 0;
        border-radius: 6px;
        border: 1px solid #E9EAEB;
        background: #F8FAFB;
        padding: 0 16px;
        gap: 16px;
        cursor: pointer;
        transition: border-color 0.2s;
        position: relative;
    }

        .search-wrapper:hover {
            border-color: #ccc;
        }
    .search-icon {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
    }

    .search-input {
        flex: 1;
        border: none !important;
        outline: none;
        background: transparent !important;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        color: #333;
        height: 46px !important;
        padding: 0 !important;
    }

        .search-input::placeholder {
            color: #A4A7AE;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
        }


    .area2-right {
        display: flex;
        gap: 15px;
        align-items: center;
        flex-shrink: 0;
    }

    .area2-right-desktop {
        display: flex;
        gap: 15px;
        align-items: center;
        flex-shrink: 0;
    }

    .header-btn {
        display: flex;
        padding: 0 8px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border: none;
        background: transparent;
        font-size: 13px;
        font-weight: 500;
        color: #333;
        cursor: pointer;
        white-space: nowrap;
        min-height: 40px;
        transition: color 0.2s ease;
    }

        .header-btn.active,
        .account-dropdown-wrapper.show .header-btn,
        .address-dropdown-wrapper.show .header-btn,
        .cart-dropdown-wrapper.show .header-btn {
            color: #F86F00 !important;
        }

            .header-btn.active svg,
            .account-dropdown-wrapper.show .header-btn svg,
            .address-dropdown-wrapper.show .header-btn svg,
            .cart-dropdown-wrapper.show .header-btn svg {
                fill: #F86F00 !important;
            }

            .header-btn.active,
            .header-btn.active span,
            .header-btn.active img,
            .header-btn.active svg,
            .header-btn.active path,
            .account-dropdown-wrapper.show .header-btn,
            .account-dropdown-wrapper.show .header-btn span,
            .account-dropdown-wrapper.show .header-btn img,
            .account-dropdown-wrapper.show .header-btn svg,
            .account-dropdown-wrapper.show .header-btn path,
            .address-dropdown-wrapper.show .header-btn,
            .address-dropdown-wrapper.show .header-btn span,
            .address-dropdown-wrapper.show .header-btn img,
            .address-dropdown-wrapper.show .header-btn svg,
            .address-dropdown-wrapper.show .header-btn path,
            .cart-dropdown-wrapper.show .header-btn,
            .cart-dropdown-wrapper.show .header-btn span,
            .cart-dropdown-wrapper.show .header-btn img,
            .cart-dropdown-wrapper.show .header-btn svg,
            .cart-dropdown-wrapper.show .header-btn path {
                color: #F86F00 !important;
                fill: #F86F00 !important;
            }

                /* Özel olarak chevron-down.svg için */
                .header-btn.active img[src*="chevron-down"],
                .header-btn.active svg[src*="chevron-down"],
                .account-dropdown-wrapper.show .header-btn img[src*="chevron-down"],
                .account-dropdown-wrapper.show .header-btn svg[src*="chevron-down"],
                .address-dropdown-wrapper.show .header-btn img[src*="chevron-down"],
                .address-dropdown-wrapper.show .header-btn svg[src*="chevron-down"],
                .cart-dropdown-wrapper.show .header-btn img[src*="chevron-down"],
                .cart-dropdown-wrapper.show .header-btn svg[src*="chevron-down"],
                .header-btn.active img[src$="chevron-down.svg"],
                .header-btn.active svg[src$="chevron-down.svg"],
                .account-dropdown-wrapper.show .header-btn img[src$="chevron-down.svg"],
                .account-dropdown-wrapper.show .header-btn svg[src$="chevron-down.svg"],
                .address-dropdown-wrapper.show .header-btn img[src$="chevron-down.svg"],
                .address-dropdown-wrapper.show .header-btn svg[src$="chevron-down.svg"],
                .cart-dropdown-wrapper.show .header-btn img[src$="chevron-down.svg"],
                .cart-dropdown-wrapper.show .header-btn svg[src$="chevron-down.svg"] {
                    fill: #F86F00 !important;
                }

                /* Chevron down SVG path elementleri için */
                .header-btn.active svg path,
                .account-dropdown-wrapper.show .header-btn svg path,
                .address-dropdown-wrapper.show .header-btn svg path,
                .cart-dropdown-wrapper.show .header-btn svg path {
                    fill: #f86f00 !important;
                }

                /* User ve Cart ikonlarının path elementleri için - Adres dropdown gibi */
                .account-dropdown-wrapper.show .header-btn img[src*="user-icon"],
                .account-dropdown-wrapper.show .header-btn img[src*="chevron-down"],
                .cart-dropdown-wrapper.show .header-btn img[src*="cart-icon"],
                .cart-dropdown-wrapper.show .header-btn img[src*="chevron-down"] {
                    filter: invert(56%) sepia(88%) saturate(2466%) hue-rotate(7deg) brightness(104%) contrast(97%) !important;
                }

    /* Cart count badge */
    .cart-count-badge {
        position: relative;
        display: inline-block;
    }

    .cart-count {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #F86F00;
        color: white;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        min-width: 18px;
        padding: 0 4px;
        box-sizing: border-box;
    }

    /* Cart badge dropdown açıkken beyaz kalması için */
    .cart-dropdown-wrapper.show .cart-count {
        background: #F86F00 !important;
        color: white !important;
    }

    .cart-count.hidden {
        display: none;
    }

    #mobile-cart-count {
        display: flex !important;
    }

    /* Address dropdown wrapper CSS */
    .address-dropdown-wrapper {
        position: relative;
    }

    .address-dropdown-wrapper--mobile {
        display: flex;
        align-items: center;
    }

    .address-dropdown-wrapper.show .header-btn span {
        color: #F86F00 !important;
    }

    .header-btn.active-orange,
    .header-btn.active-orange span {
        color: #F86F00 !important;
    }

    .account-dropdown-wrapper {
        position: relative;
    }

    .account-dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: 260px;
        display: none;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        flex-shrink: 0;
        padding: 6px 12px;
        border-radius: 0 0 6px 6px;
        background: #FFF;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
        border: 1px solid #E9EAEB;
        z-index: 5000;
    }

        .account-dropdown-menu.show {
            display: flex;
        }

    .account-dropdown-links {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .account-dropdown-wrapper--mobile .account-dropdown-links {
        flex: 1;
    }

    .account-dropdown-links li a {
        display: flex;
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid transparent;
        color: #414651;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
    }

        .account-dropdown-links li a:hover {
            border-color: #F86F00;
            background: rgba(248, 111, 0, 0.08);
            color: #F86F00;
        }

    .account-dropdown-guest {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex: 1;
        justify-content: center;
        align-items: stretch;
    }

        .account-dropdown-guest .account-action {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            padding: 12px;
            font-size: 14px;
            font-weight: 600;
            border: 1px solid transparent;
            cursor: pointer;
            text-decoration: none;
        }

            .account-dropdown-guest .account-action.primary {
                background: #F86F00;
                color: #fff;
                border-color: rgba(248, 111, 0, 0.8);
            }

            .account-dropdown-guest .account-action.secondary {
                background: #FFF;
                color: #414651;
                border-color: #E9EAEB;
            }

                .account-dropdown-guest .account-action.secondary:hover {
                    background: #F8FAFB;
                }

    .account-logout-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        color: #111 !important;
        text-decoration: none;
    }

        .account-logout-link img {
            display: block;
        }

    .account-dropdown-wrapper--mobile .account-dropdown-links .account-logout-item {
        margin-top: auto;
        padding-top: 12px;
        border-top: 1px solid #E9EAEB;
    }

    .account-dropdown-wrapper--mobile .account-logout-link span {
        font-weight: 700;
    }


    body.mobile-account-menu-open {
        overflow: hidden;
        touch-action: none;
    }

    .cart-dropdown-wrapper {
        position: relative;
    }

    .cart-dropdown-menu {
        position: absolute;
        top: calc(100% + 0px);
        right: 0;
        width: 360px;
        max-height: 490px;
        overflow-y: auto;
        display: none;
        padding: 12px;
        padding-top: 8px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 16px;
        border-radius: 0 0 8px 8px;
        background: #FFF;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
        z-index: 5000;
    }

        .cart-dropdown-menu.show {
            display: flex;
        }

    /* Lazy-load sırasında gösterilen spinner */
    .cart-dropdown-loading {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 120px;
        width: 100%;
    }

    .cart-dropdown-spinner {
        width: 28px;
        height: 28px;
        border: 3px solid #E5E7EB;
        border-top-color: #F86F00;
        border-radius: 50%;
        animation: cart-dropdown-spin 0.7s linear infinite;
    }

    @keyframes cart-dropdown-spin {
        to { transform: rotate(360deg); }
    }

    .cart-dropdown-menu--empty {
        height: auto;
        min-height: 320px;
        border-radius: 16px;
        padding: 24px;
        gap: 20px;
        border: 1px solid #EFF2F8;
        box-shadow: 0 18px 40px rgba(20, 23, 34, 0.14);
        background: linear-gradient(180deg, #FFFFFF 0%, #F7F8FB 100%);
    }

        .cart-dropdown-menu--empty .cart-dropdown-header {
            font-size: 16px;
            font-weight: 600;
            color: #2C2F3A;
        }

    .cart-dropdown-header {
        width: 100%;
        font-size: 16px;
        font-weight: 600;
        color: #414651;
        text-align: left;
    }

    .cart-dropdown-items {
        width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
        overflow-y: auto;
    }

    .cart-dropdown-item {
        display: flex;
        height: 87px;
        padding: 4px;
        align-items: center;
        gap: 9px;
        flex-shrink: 0;
        border-radius: 6px;
        border: 0.5px solid #E9EAEB;
        background: #FFF;
        transition: all 0.2s ease;
    }

    .cart-dropdown-item:hover {
        border: 0.5px solid #F86F00;
        background-color: rgba(248, 111, 0, 0.05);
    }

    .cart-dropdown-product-image {
        width: 72px;
        height: 72px;
        border-radius: 6px;
        overflow: hidden;
        flex-shrink: 0;
    }

        .cart-dropdown-product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .cart-dropdown-product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

    .cart-dropdown-product-name {
        font-size: 14px;
        font-weight: 400;
        color: #414651;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

        .cart-dropdown-product-name a {
            color: inherit;
            text-decoration: none;
        }

            .cart-dropdown-product-name a:hover {
                color: #F86F00;
                text-decoration: underline;
            }

    .cart-dropdown-product-attributes {
        font-size: 12px;
        color: #414651;
        line-height: 1.3;
        font-weight: 300;
    }

    .cart-dropdown-product-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 13px;
        color: #414651;
        flex-direction: row-reverse;
        gap: 8px;
    }

    .cart-dropdown-product-quantity {
        display: flex;
        padding: 4px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 6px;
        background: #F9F9F9;
        font-size: 10px;
        font-style: normal;
        font-weight: 300;
        color: #717680;
    }

    .cart-dropdown-product-price {
        font-weight: 600;
        color: #414651;
    }

    .cart-dropdown-footer {
        display: flex;
        padding: 6px 12px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        align-self: stretch;
        width: 100%;
        flex-shrink: 0;
        border-radius: 6px;
        border: 0.5px solid #E9EAEB;
        background: #FFF;
        box-shadow: 0 4px 4px rgba(110, 110, 110, 0.05);
    }

    .cart-summary {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .cart-summary-row {
        display: flex;
        width: 100%;
        justify-content: space-between;
        font-size: 14px;
        color: #414651;
        font-weight: 400;
    }

        .cart-summary-row.cart-summary-total {
            font-weight: 600;
            color: #414651;
        }

    .cart-dropdown-go-cart {
        display: flex;
        width: 100%;
        height: 44px;
        padding: 10px 24px;
        justify-content: center;
        align-items: center;
        gap: 16px;
        border-radius: 6px;
        background: #FF892A;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }

        .cart-dropdown-go-cart:hover {
            color: #fff !important;
        }

    .cart-dropdown-empty {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        width: 100%;
        padding: 36px 20px;
        border-radius: 14px;
        border: 1px dashed #D6DAE5;
        background: #F4F6FB;
        text-align: center;
    }

    .cart-dropdown-empty-icon {
        width: 110px;
        height: 110px;
        border-radius: 30px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, #EFF3FB 100%);
        border: 1px dashed #D7DDEA;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 24px rgba(16, 24, 40, 0.12);
    }

        .cart-dropdown-empty-icon img {
            width: 36px;
            height: 36px;
            filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08));
        }

    .cart-dropdown-empty-text {
        font-size: 16px;
        font-weight: 500;
        color: #4C5567;
        line-height: 1.5;
        max-width: 240px;
        margin: 0;
    }

    .cart-dropdown-wrapper--mobile {
        display: flex;
        align-items: center;
        position: static;
        width: 100%;
    }

        .cart-dropdown-wrapper--mobile .cart-dropdown-menu {
            left: 0;
            right: 0;
            width: 100%;
        }

    .mobile-cart-modal {
        position: fixed;
        inset: 0;
        z-index: 10000;
        display: none;
        align-items: flex-end;
        justify-content: center;
        pointer-events: none;
    }

        .mobile-cart-modal.open {
            display: flex;
            pointer-events: auto;
        }

    .mobile-cart-modal-overlay {
        position: absolute;
        inset: 0;
        background: rgba(14, 19, 33, 0.55);
        opacity: 0;
        transition: opacity 0.25s ease-in-out;
    }

    .mobile-cart-modal.open .mobile-cart-modal-overlay {
        opacity: 1;
    }

    .mobile-cart-modal-sheet {
        position: relative;
        width: 100%;
        background: #FFF;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -12px 32px rgba(10, 13, 18, 0.25);
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        max-height: 85vh;
        overflow: hidden;
        padding-bottom: env(safe-area-inset-bottom, 20px);
    }

    .mobile-cart-modal.open .mobile-cart-modal-sheet {
        transform: translateY(0);
    }

    .mobile-cart-modal-handle {
        width: 48px;
        height: 4px;
        border-radius: 999px;
        background: #D4D6DD;
        margin: 6px auto 0;
    }

    .mobile-cart-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px 8px 16px;
        gap: 8px;
    }

    .mobile-cart-modal-header-content {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-cart-modal-header h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #0E1321;
    }

    .mobile-cart-modal-header-count {
        font-size: 14px;
        color: #6B7280;
    }

    .mobile-cart-modal-close {
        display: none;
    }

        .mobile-cart-modal-close:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        .mobile-cart-modal-close span {
            font-size: 16px;
            font-weight: 600;
            color: #0E1321;
            line-height: 1;
        }

    .mobile-cart-modal-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding: 0 12px 16px;
        width: 100%;
        box-sizing: border-box;
        max-height: calc(85vh - 70px);
    }

        .mobile-cart-modal-body .cart-dropdown-menu {
            position: static;
            width: 100%;
            max-width: 100%;
            height: auto;
            min-height: 200px;
            border-radius: 16px 16px 12px 12px;
            border: none;
            box-shadow: none;
            padding: 8px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
        }

        .mobile-cart-modal-body .cart-dropdown-items {
            flex: 1;
            overflow-y: auto;
            max-height: 300px;
            width: 100%;
            padding-right: 8px;
            -webkit-overflow-scrolling: touch;
        }

        .mobile-cart-modal-body .cart-dropdown-footer {
            flex-shrink: 0;
            width: 100%;
        }

    .mobile-cart-modal .cart-dropdown-header {
        display: none;
    }

    body.mobile-cart-modal-open {
        overflow: hidden;
        touch-action: none;
    }

    .mobile-account-modal {
        position: fixed;
        inset: 0;
        z-index: 10000;
        display: none;
        align-items: flex-end;
        justify-content: center;
        pointer-events: none;
    }

        .mobile-account-modal.open {
            display: flex;
            pointer-events: auto;
        }

    .mobile-account-modal-overlay {
        position: absolute;
        inset: 0;
        background: rgba(14, 19, 33, 0.55);
        opacity: 0;
        transition: opacity 0.25s ease-in-out;
    }

    .mobile-account-modal.open .mobile-account-modal-overlay {
        opacity: 1;
    }

    .mobile-account-modal-sheet {
        position: relative;
        width: 100%;
        background: #fff;
        border-radius: 16px 16px 0 0;
        padding: 0 20px 20px;
        margin: 0;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
        max-height: 80vh;
        overflow: hidden;
    }

    .mobile-account-modal.open .mobile-account-modal-sheet {
        transform: translateY(0);
    }

    .mobile-account-modal-handle {
        width: 48px;
        height: 4px;
        border-radius: 999px;
        background: #E5E7EB;
        margin: 10px auto 0;
    }

    .mobile-account-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 0 0;
        gap: 8px;
    }

    .mobile-account-modal-header-content {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-account-modal-header h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #0E1321;
    }

    .mobile-account-modal-close {
        border: none;
        background: transparent;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s ease-in-out;
    }

        .mobile-account-modal-close:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        .mobile-account-modal-close span {
            font-size: 16px;
            font-weight: 600;
            color: #0E1321;
            line-height: 1;
        }

    .mobile-account-modal-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
        overflow-y: auto;
        max-height: calc(80vh - 70px);
    }

    .mobile-account-modal-guest {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .mobile-account-action {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 20px;
        border-radius: 8px;
        border: 1px solid;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease-in-out;
    }

        .mobile-account-action.primary {
            background: #F86F00;
            color: #fff;
            border-color: rgba(248, 111, 0, 0.8);
        }

            .mobile-account-action.primary:hover {
                background: #e55a00;
            }

        .mobile-account-action.secondary {
            background: #FFF;
            color: #414651;
            border-color: #E9EAEB;
        }

            .mobile-account-action.secondary:hover {
                background: #F8FAFB;
            }

    body.mobile-account-modal-open {
        overflow: hidden;
        touch-action: none;
    }

    .account-dropdown-wrapper--mobile {
        display: flex;
        align-items: center;
        position: static;
        width: 100%;
    }

        .account-dropdown-wrapper--mobile .account-dropdown-menu {
            left: 0;
            right: 0;
            width: 100%;
            margin: 0;
            max-width: none;
            border-radius: 0 0 16px 16px;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
        }

    .mobile-top-row {
        display: none;
        position: relative;
    }

    /* Hamburger button - hidden on desktop, visible on mobile */
    .hamburger-btn {
        display: none;
        padding: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }

    /* Show hamburger on mobile (1024px and below) */
    @media (max-width: 1024px) {
        .hamburger-btn {
            display: flex !important;
        }
    }

    .mobile-top-row {
        display: none;
    }

    /* Alan 2 responsive */
    @media (max-width: 1024px) {
        .area-2 {
            display: flex !important;
            flex-direction: column !important;
            padding: 12px 16px !important;
            align-items: stretch !important;
            gap: 12px !important;
            height: auto !important;
        }

        .mobile-top-row {
            display: flex !important;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            height: 40px;
            position: relative;
        }

        .area1-left .area-4-content,
        .area1-left .area-4-announcements {
            display: none !important;
        }

        .area1-left {
            display: flex !important;
            justify-content: center !important;
        }

        .area-1 {
            justify-content: center !important;
        }

        .mobile-left {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .hamburger-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 40px;
            width: 40px;
        }
        /* area2-left always visible - keep hamburger + logo */

        .area2-right-desktop {
            display: none; /* Desktop sağ taraf mobilde gizle */
        }

        .logo-wrapper {
            font-size: 10px;
            max-width: 160px;
            height: 40px;
            display: flex;
            align-items: center;
            overflow: hidden;
        }

            .logo-wrapper img,
            .logo-wrapper svg {
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
            }

        .area2-right {
            display: flex;
            gap: 6px;
            flex-shrink: 0;
            align-items: center;
            height: 40px;
        }

        .account-dropdown-wrapper--mobile .account-dropdown-menu {
            top: calc(100% + 16px);
        }

        .header-btn {
            padding: 6px;
            min-height: 32px;
            width: 32px;
            height: 32px;
            justify-content: center;
            align-items: center;
        }

            .header-btn span {
                display: none; /* Yazıları gizle */
            }

            .header-btn img:last-child {
                display: none; /* Chevron downları gizle */
            }


        .area2-center {
            width: 100%;
            margin: 0;
        }

        .search-wrapper {
            height: 36px;
            padding: 8px 12px;
        }
        .search-icon {
            width: 20px;
            height: 20px;
        }

        .search-input {
            font-size: 14px;
        }
        /* Area 4 mobil ayarları */
        .area-4 {
            height: 40px !important;
            min-height: 40px !important;
            padding: 0 16px !important;
            max-width: none !important;
            margin: 0 !important;
            justify-content: space-between !important;
        }

        .area-4-content {
            display: none !important;
        }

        .area-4-announcements {
            justify-content: flex-start !important;
            margin-left: 0 !important;
            padding-left: 0 !important;
            width: 100% !important;
            display: flex !important;
        }

        .area-4 .area-4-text {
            color: #079455 !important;
        }

        .area-4 .announcement-text-content {
            color: #079455 !important;
        }

        .announcements-slider {
            justify-content: flex-start !important;
            min-width: auto !important;
        }

        .announcement-item {
            justify-content: flex-start !important;
            padding-left: 0 !important;
        }

        .cart-dropdown-wrapper--desktop .cart-dropdown-menu {
            margin-top: 0;
            padding-top: 8px;
            top: calc(100% + 0px);
        }
            .cart-dropdown-wrapper--desktop .cart-dropdown-menu::before {
                content: '';
                position: absolute;
                top: -8px;
                left: 0;
                right: 0;
                height: 8px;
                background: transparent;
            }
    }

    @media (max-width: 480px) {
        .new-header-wrapper,
        div.new-header-wrapper,
        body .new-header-wrapper,
        html body .new-header-wrapper {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            z-index: 1000 !important;
            width: 100% !important;
            background: #fff !important;
            -webkit-transform: none !important;
            -ms-transform: none !important;
            transform: none !important;
            -webkit-transition: none !important;
            transition: none !important;
            margin: 0 !important;
            padding: 0 !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        }

        .admin-header-links ~ .new-header-wrapper,
        .admin-header-links ~ div.new-header-wrapper,
        body .admin-header-links ~ .new-header-wrapper,
        html body .admin-header-links ~ .new-header-wrapper {
            position: fixed !important;
            top: 40px !important;
            left: 0 !important;
            right: 0 !important;
            z-index: 1000 !important;
            width: 100% !important;
            background: #fff !important;
            -webkit-transform: none !important;
            -ms-transform: none !important;
            transform: none !important;
            -webkit-transition: none !important;
            transition: none !important;
            margin: 0 !important;
            padding: 0 !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        }

        .new-header {
            position: relative !important;
            width: 100% !important;
            background: #fff !important;
            -webkit-transform: none !important;
            -ms-transform: none !important;
            transform: none !important;
        }
    }

    /* Ürün detay sayfasında mobilde area2-center'daki arama kutusu yerine ürün breadcrumb'ı gösteriliyor */
    .area2-breadcrumb-slot {
        display: none;
    }
    @media (max-width: 991px) {
        .html-product-details-page .area2-center:not(.area2-breadcrumb-slot) {
            display: none !important;
        }
        .html-product-details-page .area2-breadcrumb-slot {
            display: flex !important;
            align-items: center;
            width: 100%;
            min-width: 0;
            height: 48px;
            margin-top: 10px;
            padding: 0;
            box-sizing: border-box;
        }
    }
