        body {
            padding-top: 76px;
            /* Navbar yüksekliği arttığı için padding arttırıldı */
            background-color: #f0f2f5;
            /* Bu arkaplan rengi temaya göre ayarlanabilir veya kaldırılabilir */
        }

        .price-original {
            font-size: 0.85rem;
            color: #bcbec0;
            text-decoration: line-through;
        }

        .price-badge {
            font-size: 0.75rem;
        }

        h1.page-title {
            margin-bottom: 20px;
        }

        /* Skeleton Yükleme Animasyonu */
        @keyframes skeleton-loading {
            0% {
                background-position: -200px 0;
            }

            100% {
                background-position: calc(200px + 100%) 0;
            }
        }

        .skeleton {
            background-color: #f2f2f2;
            background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
            background-size: 200px 100%;
            background-repeat: no-repeat;
            animation: skeleton-loading 1.2s infinite linear;
            border-radius: 4px;
        }

        /* Navbar'ın Yeti temasında daha belirgin olması için (isteğe bağlı) */
        /* Stok Adı sütunu için özel stil */
        .col-stok-adi {
            min-width: 180px;
            /* Mobil cihazlarda Stok Adı sütununun minimum genişliği */
            /* white-space: nowrap; */
            /* İçeriğin taşmasını ve alt satıra kaymamasını istiyorsanız bunu aktif edebilirsiniz */
        }


        /* Tablodaki resimler için stil */
        .product-image {
            max-height: 50px;
            max-width: 70px;
            height: auto;
            width: auto;
            object-fit: contain;
            display: block;
            margin: auto;
            cursor: pointer;
        }

        /* Ürün Kartı Badge Pozisyonlaması */
        .grid-product-card {
            position: relative;
        }

        .grid-product-badges {
            position: absolute;
            top: 8px;
            right: 8px;
            z-index: 5;
            display: flex;
            flex-direction: column;
            gap: 4px;
            align-items: flex-end;
        }

        .campaign-badge {
            background-color: #ff0000 !important;
            color: #ffffff !important;
            font-weight: 800;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
            text-transform: uppercase;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            animation: pulse-red 2s infinite;
        }

        @keyframes pulse-red {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .quota-info {
            font-size: 0.72rem;
            color: #d9534f;
            font-weight: 600;
            margin-top: 2px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
        }

        /* Lightgallery'nin z-index'ini Bootstrap modal'larından yüksek yapmak için (gerekirse) */
        .lg-outer {
            z-index: 1060;
            /* Bootstrap modal z-index'i 1050-1055 civarıdır */
        }

        /* Kenar çubuğu stilleri kaldırıldı */

        /* Aktif linkler için daha belirgin stil */
        .navbar-nav .nav-link.active-main-category,
        .navbar-nav .dropdown-item.active-sub-category {
            /* .active-sub-category dropdown item'lara uygulanacak */
            font-weight: bold;
            color: #8fb3eb !important;
            /* Bootstrap primary rengi, important gerekebilir */
            background-color: rgba(13, 110, 253, 0.1) !important;
            /* Hafif bir arka plan */
        }

        .navbar-nav .dropdown-toggle.active-main-category {
            /* Sadece dropdown toggle olan ana kategori için */
            color: #fff !important;
            /* Yeti temasında beyaz kalması için */
            /* background-color: rgba(255,255,255,0.1); /* İsteğe bağlı hafif vurgu */
        }

        /* Sepet ve ürün tablosu için ek stiller */
        .action-cell {
            /* min-width: 120px; */
            /* Önceki min-width değeri */
            width: 16px !important;
            /* Yeni dar genişlik, sadece ikon için */
            min-width: 16px !important;
            /* Yeni dar min-width, sadece ikon için */
            padding: 0 !important;
            /* Hücre iç boşluğunu sıfırla */
            text-align: center;
            vertical-align: middle;
        }

        .cart-icon-button {
            border: none !important;
            padding: 0 !important;
            margin: 0 !important;
            /* Dış boşlukları da sıfırla */
            background-color: transparent !important;
            width: 16px;
            height: 16px;
            display: inline-flex;
            /* veya flex */
            align-items: center;
            justify-content: center;
            color: #0d6efd;
            /* Bootstrap primary rengi, outline-primary'den gelen */
        }

        .cart-icon-button:hover {
            color: #0a58ca;
            /* Bootstrap primary hover rengi */
        }

        /* Lightgallery mobil kapatma butonu için CSS */
        .lg-toolbar .lg-close.lg-icon {
            display: inline-block !important;
            opacity: 1 !important;
            visibility: visible !important;
        }

        #cartSection th,
        #cartSection td {
            vertical-align: middle;
        }

        .quantity-input {
            width: 70px;
            text-align: center;
        }

        /* Sepet ve Siparişler ikonları için mobil stiller */
        .navbar-cart-icon,
        .navbar-orders-icon {
            position: relative;
            display: inline-flex;
            align-items: center;
            padding: 0.5rem;
            color: #fff;
            text-decoration: none;
        }

        .navbar-cart-icon:hover,
        .navbar-orders-icon:hover {
            color: rgba(255, 255, 255, 0.75);
        }

        .cart-badge-mobile {
            position: absolute;
            top: 0;
            right: 0;
            transform: translate(25%, -25%);
            font-size: 0.7rem;
            padding: 0.25em 0.5em;
        }

        @media (max-width: 767px) {

            /* Sadece mobil cihazlar (Bootstrap sm breakpoint'i baz alındı) */
            /* Sepet ve Siparişler ikonlarını mobilde görünür yap */
            .navbar-cart-mobile,
            .navbar-orders-mobile {
                display: flex !important;
                align-items: center;
            }

            .navbar-cart-mobile a,
            .navbar-orders-mobile a {
                padding: 0.5rem;
                color: #fff;
                text-decoration: none;
            }

            .navbar-cart-mobile a:hover,
            .navbar-orders-mobile a:hover {
                color: rgba(255, 255, 255, 0.75);
            }

            .lg-outer .lg-toolbar {
                /* Lightgallery dış sarmalayıcısı içindeki toolbar */
                display: flex !important;
                opacity: 1 !important;
                visibility: visible !important;
                background-color: rgba(0, 0, 0, 0.3) !important;
                /* Toolbar'ı daha görünür yapmak için (isteğe bağlı) */
                padding: 5px !important;
                /* Toolbar için iç boşluk */
                height: auto !important;
                /* Toolbar yüksekliğini otomatik ayarla */
            }

            .lg-outer .lg-toolbar .lg-close.lg-icon {
                display: inline-block !important;
                opacity: 1 !important;
                visibility: visible !important;
                color: #FFF !important;
                /* İkon rengini beyaz yapalım */
                font-size: 28px !important;
                /* İkon boyutunu biraz büyütelim */
                width: 35px !important;
                /* Dokunma alanını genişletelim */
                height: 35px !important;
                /* Dokunma alanını genişletelim */
                line-height: 35px !important;
                /* İkonu dikeyde ortala */
                text-align: center !important;
                /* İkonu yatayda ortala */
            }

            /* Eğer yukarıdaki işe yaramazsa, Lightgallery'nin kendi mobil stillerini ezmeye çalışalım */
            .lg-mobile-only .lg-close {
                display: block !important;
                opacity: 1 !important;
            }

            /* Mobil cihazlarda navbar dropdown menüleri için kaydırma */
            .navbar-nav .dropdown-menu.show {
                /* .show sınıfını ekledik */
                max-height: 45vh;
                overflow-y: auto !important;
                -webkit-overflow-scrolling: touch;
            }

            /* Nested Dropdown CSS */
            .dropdown-menu li {
                position: relative;
            }

        }

/* === [block 2] === */
    /* SOL SIDEBAR STİLLERİ */
    #left-sidebar {
        position: sticky;
        top: 70px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        scrollbar-width: thin;
    }
    .sidebar-card {
        border: 1px solid #e9ecef;
        border-radius: 8px;
        overflow: hidden;
        background: #fff;
    }
    .sidebar-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 12px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #333;
        cursor: pointer;
        background: #f8f9fa;
        user-select: none;
    }
    .sidebar-card-header:hover { background: #eef0f2; }
    .sidebar-card-body { padding: 8px 0; }
    .sidebar-cat-item {
        display: block;
        padding: 5px 14px;
        font-size: 0.82rem;
        color: #555;
        cursor: pointer;
        text-decoration: none;
        transition: background 0.15s;
        border-left: 3px solid transparent;
    }
    .sidebar-cat-item:hover { background: #fff3e8; color: #f27a1a; }
    .sidebar-cat-item.active { background: #fff3e8; color: #f27a1a; border-left-color: #f27a1a; font-weight: 600; }
    .sidebar-subcat-item {
        display: block;
        padding: 4px 14px 4px 26px;
        font-size: 0.78rem;
        color: #777;
        cursor: pointer;
        text-decoration: none;
        transition: background 0.15s;
        border-left: 3px solid transparent;
    }
    .sidebar-subcat-item:hover { background: #fff3e8; color: #f27a1a; }
    .sidebar-subcat-item.active { color: #f27a1a; font-weight: 600; border-left-color: #f27a1a; background:#fff3e8; }
    .sidebar-brand-item {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 5px 12px;
        font-size: 0.8rem;
        color: #555;
        cursor: pointer;
        transition: background 0.15s;
    }
    .sidebar-brand-item:hover { background: #fff3e8; color: #f27a1a; }
    .sidebar-brand-item.active { background: #fff3e8; color: #f27a1a; font-weight: 600; }
    .sidebar-brand-item input[type=checkbox] { accent-color: #f27a1a; cursor:pointer; }
    .filter-tag {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: #fff3e8;
        color: #f27a1a;
        border: 1px solid #f27a1a;
        border-radius: 20px;
        padding: 2px 10px;
        font-size: 0.78rem;
        font-weight: 600;
        cursor: pointer;
    }
    .filter-tag:hover { background: #f27a1a; color: #fff; }
    /* Mobil sidebar */
    @media (max-width: 991px) {
        #left-sidebar {
            position: fixed;
            top: 0;
            left: -260px;
            width: 250px !important;
            min-width: 250px !important;
            height: 100vh;
            max-height: 100vh;
            z-index: 1050;
            background: #fff;
            box-shadow: 4px 0 15px rgba(0,0,0,0.15);
            transition: left 0.3s ease;
            padding: 60px 10px 20px;
            display: block !important;
        }
        #left-sidebar.open { left: 0; }
    }
    @media (min-width: 992px) {
        #left-sidebar { display: block !important; }
        #mobileSidebarToggle { display: none !important; }
    }

/* === [block 3] === */
    /* ============== SEPETE EKLE MODAL — site dilinde ============== */
    #quantityModal .modal-dialog { max-width: 460px; }
    #quantityModal .modal-content {
        border: none;
        border-radius: 22px;
        background: #f6f4ee;
        box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
        overflow: hidden;
        font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    }
    #quantityModal .modal-header {
        position: relative;
        padding: 20px 26px 18px;
        color: #fff;
        background:
            radial-gradient(500px 250px at 80% 20%, rgba(242, 122, 26, 0.25) 0%, transparent 60%),
            linear-gradient(135deg, #0a1124 0%, #111a36 100%);
        border: none;
    }
    #quantityModal .modal-header::after {
        content: '';
        position: absolute; left: 0; right: 0; bottom: -1px;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, #f27a1a 50%, transparent 100%);
    }
    #quantityModal .modal-title {
        font-family: 'Bricolage Grotesque', serif;
        font-weight: 800;
        font-size: 1.1rem;
        letter-spacing: -0.01em;
        display: inline-flex; align-items: center; gap: 8px;
    }
    #quantityModal .modal-title::before {
        content: '\F26B'; /* bi-cart-plus */
        font-family: 'bootstrap-icons' !important;
        color: #ff9447;
        font-weight: normal;
        font-size: 1.2rem;
    }
    #quantityModal .btn-close {
        background-color: rgba(230, 126, 34, 0.15);
        border: 1px solid rgba(230, 126, 34, 0.4);
        border-radius: 50%;
        width: 30px; height: 30px;
        opacity: 1;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e67e22'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
        background-position: center;
        background-repeat: no-repeat;
        background-size: 10px;
        filter: none;
        padding: 0;
    }
    #quantityModal .btn-close:hover { 
        background-color: rgba(230, 126, 34, 0.3); 
        opacity: 1;
    }
    #quantityModal .modal-body { padding: 22px 26px 14px; }
    #quantityModal .modal-helper {
        font-size: 0.72rem;
        color: #6b6757;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 1.4px;
        font-weight: 600;
        margin-bottom: 6px;
    }
    #quantityModal .modal-product-name {
        font-family: 'Bricolage Grotesque', serif;
        font-weight: 800;
        color: #0f172a;
        font-size: 1.05rem;
        letter-spacing: -0.015em;
        text-align: center;
        line-height: 1.25;
        margin-bottom: 22px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Unit selection cards */
    .unit-selection-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 12px;
        justify-content: center;
        margin-bottom: 8px;
        width: 100%;
    }
    .unit-selection-container > .unit-card { display: block !important; }
    .unit-card {
        flex: 1;
        border: 1.5px solid #e7e2d6;
        border-radius: 14px;
        padding: 16px 12px;
        text-align: center;
        cursor: pointer;
        transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
        background-color: #ffffff;
        position: relative;
        user-select: none;
    }
    .unit-card:hover {
        border-color: #f3c97a;
        transform: translateY(-2px);
    }
    .unit-card.selected {
        border-color: #f27a1a;
        background: linear-gradient(135deg, #fff8ee 0%, #ffeacb 100%);
        box-shadow: 0 14px 28px -14px rgba(242, 122, 26, 0.5);
    }
    .unit-card-check {
        position: absolute;
        top: -10px; left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, #f27a1a 0%, #d86815 100%);
        color: #fff;
        border-radius: 50%;
        width: 24px; height: 24px;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.85rem;
        box-shadow: 0 4px 10px rgba(242, 122, 26, 0.45);
        opacity: 0;
        transform: translateX(-50%) scale(0.6);
        transition: opacity .2s ease, transform .2s ease;
    }
    .unit-card.selected .unit-card-check {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    .unit-title {
        font-family: 'Bricolage Grotesque', serif;
        font-size: 0.92rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 2px;
        letter-spacing: -0.01em;
    }
    .unit-card.selected .unit-title { color: #92400e; }
    .unit-subtitle {
        font-size: 0.72rem;
        color: #6b6757;
        margin-bottom: 14px;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        font-weight: 600;
    }
    .unit-card.selected .unit-subtitle { color: #b45309; }
    .unit-price-old {
        font-size: 0.78rem;
        color: #9aa0a6;
        text-decoration: line-through;
        text-decoration-thickness: 1.5px;
        margin-bottom: 2px;
    }
    .unit-price-new {
        font-family: 'Bricolage Grotesque', serif;
        font-size: 1.25rem;
        font-weight: 800;
        color: #d61c1c;
        margin-bottom: 4px;
        letter-spacing: -0.025em;
        line-height: 1;
    }
    .unit-card.selected .unit-price-new { color: #d61c1c; }
    .unit-price-per {
        font-size: 0.7rem;
        color: #6b6757;
        margin-bottom: 14px;
        font-weight: 500;
    }
    .unit-qty-control {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #e7e2d6;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        margin: 0 auto;
        width: fit-content;
        transition: border-color .15s ease, box-shadow .15s ease;
    }
    .unit-qty-control:focus-within {
        border-color: #f27a1a;
        box-shadow: 0 0 0 4px rgba(242, 122, 26, 0.12);
    }
    .unit-qty-btn {
        width: 32px; height: 36px;
        display: flex; align-items: center; justify-content: center;
        background: transparent;
        border: none;
        color: #0f172a;
        font-weight: 800;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background .12s ease, color .12s ease;
    }
    .unit-qty-btn:hover { background: #f27a1a; color: #fff; }
    .unit-qty-input {
        width: 46px; height: 36px;
        border: none;
        border-left: 1px solid #e7e2d6;
        border-right: 1px solid #e7e2d6;
        background: #fff;
        text-align: center;
        font-family: 'Bricolage Grotesque', serif;
        font-weight: 700;
        font-size: 0.95rem;
        color: #0f172a;
        outline: none;
    }
    .unit-qty-input::-webkit-outer-spin-button, .unit-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    .unit-qty-input[type=number] { -moz-appearance: textfield; }

    @media (max-width: 480px) {
        .unit-selection-container { flex-direction: column; }
        #quantityModal .modal-body { padding: 22px 18px 8px; }
    }

    #quantityModal .modal-footer {
        padding: 14px 26px 22px !important;
        border: none !important;
        background: #f6f4ee;
    }
    #quantityModal #confirmQuantity {
        background: linear-gradient(135deg, #f27a1a 0%, #d86815 100%) !important;
        border: none !important;
        color: #fff !important;
        font-family: 'Manrope', sans-serif !important;
        font-weight: 800 !important;
        font-size: 0.98rem !important;
        letter-spacing: 0.3px !important;
        padding: 14px 20px !important;
        border-radius: 12px !important;
        box-shadow: 0 16px 32px -12px rgba(242, 122, 26, 0.6) !important;
        transition: transform .18s ease, box-shadow .18s ease !important;
        text-transform: uppercase;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    #quantityModal #confirmQuantity::before {
        content: '\F23E'; /* bi-bag-plus-fill */
        font-family: 'bootstrap-icons' !important;
        font-weight: normal;
        font-size: 1.05rem;
    }
    #quantityModal #confirmQuantity:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 20px 38px -12px rgba(242, 122, 26, 0.75) !important;
        color: #fff !important;
    }
    #quantityModal #confirmQuantity:disabled {
        background: linear-gradient(135deg, #cbc5b0 0%, #b8b09a 100%) !important;
        box-shadow: none !important;
        opacity: 0.7;
        cursor: not-allowed;
    }

/* === [block 4 - bounce animation] === */
                @keyframes bounce {
                    0%, 100% { transform: translateY(0); }
                    50% { transform: translateY(5px); }
                }
