@media (max-width: 991px) {
    .toolbox-layout {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .toolbox-right {
        display: flex !important;
    }
}
        .custom-stock-filter {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 4px 0;
    }

    .custom-stock-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 4px;
        cursor: pointer;
        background: transparent;
        border: none;
    }

    .custom-stock-item:hover .custom-checkbox {
        border-color: #336699;
    }

    .custom-stock-item span {
        font-size: 13px;
        font-weight: 400;
        color: #444;
        user-select: none;
    }

    .custom-checkbox {
        width: 16px;
        height: 16px;
        min-width: 16px;
        border: 2px solid #888 !important;
        border-radius: 3px;
        background: #fff !important;
        display: block !important;
        visibility: visible !important;
        position: relative;
        margin-left: 8px;
        flex-shrink: 0;
    }

    .custom-checkbox.active {
        background: #336699 !important;
        border-color: #336699 !important;
    }

    .custom-checkbox.active::after {
        content: '';
        position: absolute;
        top: 1px;
        left: 4px;
        width: 4px;
        height: 8px;
        border: 2px solid #fff;
        border-top: none;
        border-left: none;
        transform: rotate(45deg);
    }
            /* =================================================================
            PRODUCT LIST — TAMAMEN BAĞIMSIZ CSS
            ================================================================= */
            .shop-content { align-items: flex-start !important; }
            .main-content { min-height: 500px !important; }

            /* Wishlist kırmızı kalp */
            .btn-wishlist.added-to-wishlist { color: #ff4545 !important; }
            .btn-wishlist.added-to-wishlist i { color: #ff4545 !important; font-weight: 900 !important; }
            .btn-wishlist.added-to-wishlist i.w-icon-heart:before {
                content: "\f004" !important;
                font-family: "Font Awesome 5 Free" !important;
                font-weight: 900 !important;
            }

            #products-container,
            #products-container.product-wrapper,
            #products-container.row,
            #products-container.cols-1 {
                all: unset !important;
                box-sizing: border-box !important;
                display: flex !important;
                flex-direction: column !important;
                gap: 0 !important;
                width: 100% !important;
                border: 1px solid #e2e2e2 !important;
                border-radius: 6px !important;
                overflow: hidden !important;
                background: #fff !important;
                font-family: 'Poppins', 'Segoe UI', Arial, sans-serif !important;
            }

            #products-container .product-list-row {
                all: unset !important;
                box-sizing: border-box !important;
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                gap: 10px !important;
                padding: 5px 10px !important;
                border-bottom: 1px solid #efefef !important;
                background: #fff !important;
                transition: background 0.12s ease !important;
                width: 100% !important;
                cursor: default !important;
            }

            #products-container .product-list-row:last-child { border-bottom: none !important; }
            #products-container .product-list-row:hover { background: #f7f9fc !important; }

            #products-container .product-list-row .row-thumb {
                all: unset !important;
                box-sizing: border-box !important;
                flex: 0 0 46px !important;
                width: 46px !important;
                height: 46px !important;
                border-radius: 4px !important;
                overflow: hidden !important;
                border: 1px solid #e5e5e5 !important;
                background: #f4f4f4 !important;
                display: block !important;
                cursor: pointer !important;
            }

            #products-container .product-list-row .row-thumb img {
                all: unset !important;
                display: block !important;
                width: 100% !important;
                height: 100% !important;
                object-fit: contain !important;
                background: #f8f8f8 !important;
            }

            #products-container .product-list-row .row-info {
                all: unset !important;
                box-sizing: border-box !important;
                flex: 1 1 auto !important;
                min-width: 0 !important;
                display: flex !important;
                flex-direction: column !important;
                gap: 2px !important;
            }

            #products-container .product-list-row .row-name {
                all: unset !important;
                display: block !important;
                font-size: 12px !important;
                font-weight: 600 !important;
                color: #1a1a1a !important;
                line-height: 1.35 !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                cursor: pointer !important;
            }

            #products-container .product-list-row .row-name:hover { color: #2962a8 !important; }

            #products-container .product-list-row .row-price {
                all: unset !important;
                display: block !important;
                font-size: 12px !important;
                font-weight: 700 !important;
                color: #c0392b !important;
                line-height: 1.2 !important;
            }

            #products-container .product-list-row .row-desc {
                all: unset !important;
                display: block !important;
                font-size: 11px !important;
                color: #999 !important;
                line-height: 1.3 !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }

            #products-container .product-list-row .row-cart {
                all: unset !important;
                box-sizing: border-box !important;
                flex: 0 0 auto !important;
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                gap: 6px !important;
            }

            #products-container .product-list-row .row-qty {
                all: unset !important;
                box-sizing: border-box !important;
                width: 50px !important;
                height: 32px !important;
                border: 1.5px solid #d0d0d0 !important;
                border-radius: 4px !important;
                text-align: center !important;
                font-size: 13px !important;
                font-weight: 600 !important;
                color: #222 !important;
                background: #fff !important;
                padding: 0 4px !important;
                -moz-appearance: textfield !important;
                appearance: textfield !important;
                display: block !important;
            }

            #products-container .product-list-row .row-qty::-webkit-inner-spin-button,
            #products-container .product-list-row .row-qty::-webkit-outer-spin-button {
                -webkit-appearance: none !important;
                margin: 0 !important;
            }

            #products-container .product-list-row .row-qty:focus {
                border-color: #2962a8 !important;
                outline: none !important;
            }

            #products-container .product-list-row .row-add-btn {
                all: unset !important;
                box-sizing: border-box !important;
                display: inline-flex !important;
                align-items: center !important;
                gap: 5px !important;
                height: 32px !important;
                padding: 0 13px !important;
                background: #2962a8 !important;
                color: #fff !important;
                border-radius: 4px !important;
                font-size: 12px !important;
                font-weight: 600 !important;
                white-space: nowrap !important;
                cursor: pointer !important;
                transition: background 0.18s ease !important;
                letter-spacing: 0.02em !important;
            }

            #products-container .product-list-row .row-add-btn:hover { background: #1a4480 !important; }
            #products-container .product-list-row .row-add-btn i { font-size: 11px !important; line-height: 1 !important; }

            #products-container .product-list-row .row-oos {
                all: unset !important;
                display: inline-block !important;
                font-size: 11px !important;
                color: #bbb !important;
                font-style: italic !important;
                padding: 0 8px !important;
            }

            #products-container .product-list-row .row-actions {
                all: unset !important;
                box-sizing: border-box !important;
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                gap: 10px !important;
                margin-top: 3px !important;
            }

            #products-container .product-list-row .row-action-btn {
                all: unset !important;
                display: inline-flex !important;
                align-items: center !important;
                gap: 3px !important;
                font-size: 11px !important;
                color: #aaa !important;
                cursor: pointer !important;
                text-decoration: none !important;
                transition: color 0.15s ease !important;
                line-height: 1 !important;
            }

            #products-container .product-list-row .row-action-btn:hover { color: #2962a8 !important; }
            #products-container .product-list-row .row-action-btn i { font-size: 12px !important; line-height: 1 !important; }

            #products-container .product-list-row .row-action-btn.btn-wishlist.added-to-wishlist,
            #products-container .product-list-row .row-action-btn.btn-wishlist.added-to-wishlist i {
                color: #ff4545 !important;
            }

            #products-container .product-list-row .row-action-btn.btn-compare.added-to-compare,
            #products-container .product-list-row .row-action-btn.btn-compare.added-to-compare i {
                color: #2e7d32 !important;
            }

            .header .dropdown-box,
            .header .cart-dropdown,
            .header .wishlist-dropdown,
            .header .category-dropdown,
            .header .login-dropdown { z-index: 9999 !important; }

            .sticky-toolbox { z-index: 800 !important; }

            #loading-overlay { padding: 48px !important; text-align: center !important; width: 100% !important; }

            /* =================================================================
            MODERN INLINE SEARCH BAR
            ================================================================= */
            .toolbox-inline-search {
                display: flex;
                align-items: center;
                margin-left: 14px;
                position: relative;
                margin-top: -10px;
            }

            .search-field-wrapper {
                display: flex;
                align-items: center;
                position: relative;
                background: #f5f7fb;
                border: 1.5px solid #dde3ee;
                border-radius: 10px;
                overflow: hidden;
                transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: 0 1px 4px rgba(41, 98, 168, 0.06);
                width: 240px;
            }

            .toolbox-inline-search:focus-within .search-field-wrapper {
                border-color: #2962a8;
                background: #fff;
                box-shadow: 0 0 0 3px rgba(41, 98, 168, 0.12), 0 2px 8px rgba(41, 98, 168, 0.1);
                width: 290px;
            }

            .search-icon-left {
                display: flex; align-items: center; justify-content: center;
                width: 38px; height: 36px; flex-shrink: 0;
                color: #9aaac4; font-size: 13px; transition: color 0.18s ease; pointer-events: none;
            }
            .toolbox-inline-search:focus-within .search-icon-left { color: #2962a8; }

            .inline-search-input {
                flex: 1;
                border: none !important; outline: none !important; background: transparent !important;
                font-size: 13px !important; font-family: 'Poppins', sans-serif !important;
                color: #1a2540 !important; padding: 0 8px 0 0 !important;
                height: 36px !important; line-height: 36px !important; width: 100% !important;
                caret-color: #2962a8;
            }
            .inline-search-input::placeholder { color: #b0bcd0 !important; font-size: 12.5px !important; font-weight: 400 !important; }

            .inline-search-clear {
                display: none; align-items: center; justify-content: center;
                width: 20px; height: 20px; margin-right: 8px; flex-shrink: 0;
                background: #c8d0e0; border: none; border-radius: 50%;
                color: #fff; font-size: 11px; font-weight: 700; cursor: pointer;
                line-height: 1; padding: 0; transition: background 0.15s ease, transform 0.15s ease;
            }
            .inline-search-clear:hover { background: #8a9ab8; transform: scale(1.1); }
            .toolbox-inline-search.has-value .inline-search-clear { display: inline-flex; }

            .search-spinner {
                display: none; width: 16px; height: 16px; margin-right: 10px;
                border: 2px solid #dde3ee; border-top-color: #2962a8; border-radius: 50%;
                animation: spin-search 0.6s linear infinite; flex-shrink: 0;
            }
            .toolbox-inline-search.is-searching .search-spinner { display: block; }
            .toolbox-inline-search.is-searching .inline-search-clear { display: none !important; }

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

            #search-result-info {
                display: none; padding: 8px 16px; font-size: 12px; color: #4a6080;
                background: linear-gradient(to right, #eef3ff, #f5f7fb);
                border-bottom: 1px solid #d8e4f5; align-items: center; gap: 8px;
                font-family: 'Poppins', sans-serif; border-radius: 0;
            }
            #search-result-info.visible { display: flex; }
            #search-result-info .result-icon { font-size: 13px; color: #2962a8; flex-shrink: 0; }
            #search-result-info strong { color: #2962a8; font-weight: 600; }
            #search-result-info .result-badge {
                display: inline-flex; align-items: center; justify-content: center;
                background: #2962a8; color: #fff; font-size: 11px; font-weight: 700;
                padding: 1px 7px; border-radius: 20px; margin-left: 2px;
            }
            #search-result-info .clear-search-link {
                margin-left: auto; font-size: 11.5px; color: #c0392b; cursor: pointer;
                text-decoration: none; background: rgba(192,57,43,0.08);
                border: 1px solid rgba(192,57,43,0.18); border-radius: 4px; padding: 2px 8px;
                font-family: inherit; transition: all 0.15s ease;
                display: inline-flex; align-items: center; gap: 4px;
            }
            #search-result-info .clear-search-link:hover { background: rgba(192,57,43,0.15); color: #922b21; }

            @media (max-width: 768px) {
                .toolbox-inline-search { margin-left: 8px; }
                .search-field-wrapper { width: 160px; }
                .toolbox-inline-search:focus-within .search-field-wrapper { width: 190px; }
            }
            @media (max-width: 600px) {
                #products-container .product-list-row .row-desc { display: none !important; }
                #products-container .product-list-row .row-qty { width: 38px !important; }
                #products-container .product-list-row .row-add-btn span { display: none !important; }
                #products-container .product-list-row .row-add-btn { padding: 0 10px !important; }
                .search-field-wrapper { width: 120px; }
                .toolbox-inline-search:focus-within .search-field-wrapper { width: 150px; }
            }

            /* =================================================================
            PRODUCT QUICK VIEW MODAL
            ================================================================= */
            #product-modal-overlay {
                display: none;
                position: fixed;
                inset: 0;
                background: rgba(10, 15, 30, 0.72);
                backdrop-filter: blur(5px);
                -webkit-backdrop-filter: blur(5px);
                z-index: 99999;
                align-items: center;
                justify-content: center;
                padding: 20px;
            }
            #product-modal-overlay.active { display: flex !important; }

            #product-modal-box {
                background: #fff;
                border-radius: 18px;
                max-width: 880px;
                width: 100%;
                max-height: 90vh;
                overflow-y: auto;
                position: relative;
                box-shadow: 0 40px 100px rgba(0,0,0,0.38);
                animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            }

            @keyframes modalSlideIn {
                from { opacity: 0; transform: translateY(36px) scale(0.95); }
                to   { opacity: 1; transform: translateY(0) scale(1); }
            }

            #product-modal-box::-webkit-scrollbar { width: 5px; }
            #product-modal-box::-webkit-scrollbar-track { background: #f0f2f7; }
            #product-modal-box::-webkit-scrollbar-thumb { background: #c8d0e0; border-radius: 3px; }

            .modal-close-btn {
                position: sticky;
                top: 0;
                float: right;
                margin: 14px 14px 0 0;
                z-index: 10;
                width: 36px;
                height: 36px;
                background: #f0f2f7;
                border: none;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                font-size: 19px;
                color: #555;
                transition: all 0.18s ease;
                line-height: 1;
                padding: 0;
                flex-shrink: 0;
            }
            .modal-close-btn:hover { background: #dde3ee; color: #1a1a2e; transform: rotate(90deg); }

            .modal-body {
                padding: 10px 32px 36px;
                display: flex;
                gap: 32px;
                flex-wrap: wrap;
                clear: both;
            }

            .modal-img-col { flex: 0 0 300px; max-width: 300px; }
            .modal-img-col img {
                width: 100%;
                border-radius: 14px;
                border: 1px solid #eaeef5;
                object-fit: contain;
                aspect-ratio: 1 / 1;
                background: #fafbfd;
            }

            .modal-info-col { flex: 1; min-width: 240px; }

            .modal-category-label {
                font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
                color: #2962a8; font-weight: 700; margin-bottom: 8px; display: block;
            }

            .modal-product-name {
                font-size: 20px; font-weight: 700; color: #1a1a2e;
                margin: 0 0 12px; line-height: 1.3;
            }

            .modal-price { font-size: 24px; font-weight: 700; color: #c0392b; margin-bottom: 14px; }
            .modal-price del { font-size: 16px; color: #bbb; font-weight: 400; margin-left: 6px; }

            .modal-stock-badge {
                display: inline-flex; align-items: center; gap: 7px;
                padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 16px;
            }
            .modal-stock-badge.in-stock { background: #e8f5e9; color: #2e7d32; }
            .modal-stock-badge.out-stock { background: #fff5f5; color: #c0392b; }
            .modal-stock-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

            .modal-desc {
                font-size: 13px; color: #666; line-height: 1.7; margin-bottom: 22px;
                border-top: 1px solid #f0f2f7; padding-top: 14px;
            }

            .modal-cart-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }

            .modal-qty-box {
                display: flex; align-items: center; background: #f8f9fc;
                border: 1.5px solid #e8ecf4; border-radius: 9px; overflow: hidden;
                height: 42px; transition: border-color 0.2s;
            }
            .modal-qty-box:hover { border-color: #2962a8; }

            .modal-qty-btn {
                all: unset; width: 36px; height: 42px; display: flex; align-items: center;
                justify-content: center; cursor: pointer; font-size: 20px; font-weight: 300;
                color: #2962a8; transition: background 0.15s; flex-shrink: 0;
            }
            .modal-qty-btn:hover { background: #e8f0fb; }

            .modal-qty-input {
                all: unset; width: 42px; height: 42px; text-align: center;
                font-size: 14px; font-weight: 700; color: #1a2540; background: transparent; display: block;
            }

            .modal-add-btn {
                all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px;
                height: 42px; padding: 0 22px;
                background: linear-gradient(135deg, #2962a8, #1a4480);
                color: #fff; border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer;
                box-shadow: 0 3px 12px rgba(41,98,168,0.3); transition: all 0.2s; letter-spacing: 0.03em;
            }
            .modal-add-btn:hover {
                background: linear-gradient(135deg, #1a4480, #0d2d5e);
                box-shadow: 0 6px 18px rgba(41,98,168,0.42);
                transform: translateY(-1px);
            }

            .modal-actions-row { display: flex; gap: 10px; flex-wrap: wrap; }

            .modal-action-btn {
                all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px;
                padding: 8px 16px; border: 1.5px solid #e8ecf4; border-radius: 8px;
                font-size: 12px; color: #666; cursor: pointer; transition: all 0.15s;
                font-family: 'Poppins', sans-serif;
            }
            .modal-action-btn:hover { border-color: #2962a8; color: #2962a8; }
            .modal-action-btn.wish:hover { border-color: #ff4545; color: #ff4545; }
            .modal-detail-btn {
                background: linear-gradient(135deg,#2962a8,#1a4480) !important;
                color: #fff !important;
                border-color: transparent !important;
                text-decoration: none !important;
            }
            .modal-detail-btn:hover {
                background: linear-gradient(135deg,#1a4480,#0d2d5e) !important;
                color: #fff !important;
                border-color: transparent !important;
                transform: translateY(-1px);
                box-shadow: 0 4px 12px rgba(41,98,168,0.35);
            }

            #modal-loading-placeholder {
                display: flex; align-items: center; justify-content: center;
                min-height: 280px; gap: 10px; color: #aaa; font-size: 13px;
            }

            .modal-spinner {
                width: 22px; height: 22px; border: 3px solid #dde3ee;
                border-top-color: #2962a8; border-radius: 50%;
                animation: spin-search 0.7s linear infinite;
            }

            /* Variant selector */
            .modal-variant-group { margin-bottom: 14px; }
            .modal-variant-label {
                font-size: 12px; font-weight: 600; color: #444;
                display: block; margin-bottom: 8px;
            }
            .modal-variant-label span { font-weight: 400; color: #2962a8; }

            .modal-design-btn {
                padding: 5px 14px;
                border: 2px solid #ddd;
                border-radius: 5px;
                background: #fff;
                color: #333;
                font-size: 12px;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.15s;
                font-family: 'Poppins', sans-serif;
            }
            .modal-design-btn:hover:not(:disabled) { border-color: #2962a8; color: #2962a8; }
            .modal-design-btn.active { background: #2962a8; color: #fff; border-color: #2962a8; }
            .modal-design-btn:disabled { opacity: 0.45; cursor: not-allowed; }

            .modal-color-btn {
                width: 30px; height: 30px;
                border-radius: 50%;
                border: 3px solid #ddd;
                cursor: pointer;
                transition: all 0.15s;
                position: relative;
                flex-shrink: 0;
            }
            .modal-color-btn:hover:not(:disabled) { border-color: #2962a8; }
            .modal-color-btn.active { border-color: #2962a8; box-shadow: 0 0 0 2px #2962a8; }
            .modal-color-btn:disabled { opacity: 0.4; cursor: not-allowed; }
            .modal-color-btn .color-strike {
                position: absolute; top: 50%; left: 50%;
                transform: translate(-50%,-50%) rotate(45deg);
                width: 2px; height: 24px;
                background: rgba(255,0,0,0.5);
                display: block;
            }

            .modal-variant-divider {
                border: none; border-top: 1px solid #f0f2f7; margin: 14px 0;
            }

            @media (max-width: 640px) {
                .modal-body { padding: 8px 16px 28px; gap: 20px; }
                .modal-img-col { flex: 0 0 100%; max-width: 100%; }
                .modal-img-col img { max-height: 240px; }
            }
            /* Category dropdown'ı tamamen kilitle — mm-ozon-wrapper yönetiyor */
                .header .category-dropdown .dropdown-box {
                    display: none !important;
                    visibility: hidden !important;
                    opacity: 0 !important;
                    pointer-events: none !important;
                    height: 0 !important;
                    overflow: hidden !important;
                }

                .header .category-dropdown.opened .dropdown-box,
                .header .category-dropdown:hover .dropdown-box {
                    display: none !important;
                    visibility: hidden !important;
                    opacity: 0 !important;
                    pointer-events: none !important;
                    height: 0 !important;
                }
                /* Sepet açıldığında tüm sayfa overlay ile kaplansın */
                body.cart-opened::before {
                    content: '';
                    position: fixed;
                    inset: 0;
                    background: rgba(0, 0, 0, 0.5);
                    z-index: 9998;
                    pointer-events: all;
                }

                /* Cart dropdown z-index'i overlay'in üstünde olsun */
                body.cart-opened .cart-dropdown {
                    z-index: 9999 !important;
                }
                /* Wolmart cart overlay'i category dropdown'ın üstüne gelsin */
                .cart-overlay {
                    z-index: 9998 !important;
                }

                .header .category-dropdown,
                .header .category-dropdown .dropdown-box,
                #mm-ozon-wrapper {
                    z-index: 900 !important;
                }