/* ==========================================================================
   BİM KURUMSAL TEMA (FERAH ARAYÜZ MİMARİSİ - TAM & TEK PARÇA SÜRÜM)
   ========================================================================== */
:root {
    --bg-main: #F7F8FA;
    --bg-card: #FFFFFF;
    --bg-subtle: #F1F5F9;
    --text-main: #111827;
    --text-muted: #64748B;
    --border-color: #E2E8F0;

    /* BİM Kurumsal Kırmızı Paleti */
    --bim-red: #E30613;
    --bim-red-hover: #C40510;
    --bim-red-light: #FEF2F2;
    --bim-navy: #E30613;
    --bim-navy-hover: #C40510;
    --bim-navy-light: #FEF2F2;
    --bim-yellow: #FFD100;

    /* Eski JS Değişkenleri ile Uyum */
    --primary: #E30613;
    --primary-hover: #C40510;
    --primary-light: #FEF2F2;
    --warning: #F59E0B;
    --success: #16A34A;
    --success-bg: #DCFCE7;
    --danger: #DC2626;
    --danger-bg: #FEE2E2;

    --rad-sm: 8px;
    --rad-md: 12px;
    --rad-lg: 16px;
    --rad-xl: 20px;
    --rad-pill: 9999px;

    /* Hafif, GPU Dostu Gölgeler */
    --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.05);
    --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 6px 16px rgba(17, 24, 39, 0.08);

    --z-header: 200;
    --z-sticky: 400;
    --z-overlay: 900;
    --z-drawer: 1000;
    --z-modal: 1100;
    --z-toast: 1200;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; width: 100%; padding-bottom: 56px; }
footer { flex-shrink: 0; margin-top: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; border: none; outline: none; background: none; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 14px;
}

/* ==========================================================================
   BUTONLAR
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: var(--rad-pill);
    font-weight: 700;
    font-size: 14px;
    transition: background-color 0.15s ease, transform 0.1s ease;
    user-select: none;
    text-align: center;
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary,
.btn-navy,
.btn-secondary {
    background-color: var(--bim-red);
    color: #FFFFFF;
}
.btn-primary:hover:not(:disabled),
.btn-navy:hover:not(:disabled),
.btn-secondary:hover:not(:disabled) {
    background-color: var(--bim-red-hover);
}

.btn-outline {
    border: 1.5px solid var(--border-color);
    background-color: #FFFFFF;
    color: var(--bim-red);
}
.btn-outline:hover:not(:disabled) {
    border-color: var(--bim-red);
    background-color: var(--bim-red-light);
}

/* ==========================================================================
   HEADER, KANAL ŞERİDİ & YUVARLAK ARAMA ÇUBUĞU
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 10px;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--text-main);
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    position: relative;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover {
    border-color: var(--bim-red);
    color: var(--bim-red);
}

.badge-counter {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: var(--bim-red);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--rad-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}
.badge-counter.hidden { display: none !important; }

.channel-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    overflow-x: auto;
    scrollbar-width: none;
    border-top: 1px solid #F1F5F9;
}
.channel-strip::-webkit-scrollbar { display: none; }

.channel-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--rad-pill);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    background-color: var(--bg-subtle);
    color: var(--text-main);
    transition: background-color 0.15s ease, color 0.15s ease;
}
.channel-pill.active, .channel-pill:hover {
    background-color: var(--bim-red);
    color: #FFFFFF;
}
.channel-pill.aktuel {
    background-color: var(--bim-red-light);
    color: var(--bim-red);
}

.header-search-row {
    padding: 4px 0 10px;
}
.search-wrap {
    position: relative;
    width: 100%;
}
.search-input-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 42px;
    background-color: #FFFFFF;
    border: 1.5px solid var(--border-color);
    border-radius: var(--rad-pill);
    padding: 0 15px;
    gap: 10px;
}
.search-input-box:focus-within {
    border-color: var(--bim-red);
}
.search-input-box i {
    color: var(--text-muted);
    font-size: 15px;
}
.search-input-box input {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}
.search-input-box input::placeholder {
    color: #94A3B8;
}

/* ==========================================================================
   ANA SAYFA HERO SLIDER (YATAY KAYDIRMALI TEK KUTU)
   ========================================================================== */
.bim-hero-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--rad-xl);
    margin: 12px 0 16px;
    border: 1px solid var(--border-color);
    background: #FFFFFF;
}

.bim-hero-track {
    display: flex;
    width: 100%;
    transition: transform 0.35s ease;
}

.bim-hero-slide {
    min-width: 100%;
    width: 100%;
    flex: 0 0 100%;
    padding: 22px 20px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

.bim-hero-slide.theme-navy,
.bim-hero-slide.theme-red {
    background: linear-gradient(135deg, #E30613 0%, #B8040E 100%);
    color: #FFFFFF;
}
.bim-hero-slide.theme-light {
    background: linear-gradient(135deg, #FFFFFF 0%, #FEF2F2 100%);
    color: var(--text-main);
}

.bim-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--rad-pill);
    background: var(--bim-yellow);
    color: #111827;
    text-transform: uppercase;
}

.bim-hero-title {
    font-size: clamp(20px, 4vw, 30px);
    font-weight: 800;
    line-height: 1.22;
    max-width: 560px;
}

.bim-hero-desc {
    font-size: 13px;
    opacity: 0.9;
    max-width: 500px;
    line-height: 1.45;
}

.bim-hero-dots {
    position: absolute;
    bottom: 12px;
    left: 20px;
    display: flex;
    gap: 6px;
    z-index: 5;
}
.bim-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--rad-pill);
    background: rgba(148, 163, 184, 0.5);
    transition: width 0.2s ease, background-color 0.2s ease;
}
.bim-hero-dot.active {
    width: 22px;
    background: var(--bim-yellow);
}

.bim-hero-arrow {
    display: none;
}
@media (min-width: 768px) {
    .bim-hero-slide { padding: 34px 44px 44px; }
    .bim-hero-dots { left: 44px; }
    .bim-hero-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.92);
        color: var(--bim-red);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-sm);
        z-index: 5;
    }
    .bim-hero-arrow.prev { left: 12px; }
    .bim-hero-arrow.next { right: 12px; }
}

/* ==========================================================================
   ALT ÇİZGİLİ KATEGORİ SEKMELERİ
   ========================================================================== */
.tab-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 14px;
    background-color: #FFFFFF;
    padding: 0 12px;
    border-radius: var(--rad-md) var(--rad-md) 0 0;
}
.tab-strip::-webkit-scrollbar { display: none; }

.tab-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 2px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 2.5px solid transparent;
    white-space: nowrap;
}
.tab-item .tab-count {
    background-color: #475569;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: var(--rad-pill);
}
.tab-item.active {
    color: var(--bim-red);
    border-bottom-color: var(--bim-red);
}
.tab-item.active .tab-count {
    background-color: var(--bim-red);
}

/* ==========================================================================
   ÜRÜN KARTLARI & GRID
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.product-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--rad-lg);
    padding: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}
.product-card:hover {
    border-color: var(--bim-red);
    box-shadow: var(--shadow-sm);
}

.bim-aktuel-ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background-color: var(--bim-red);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    font-style: italic;
    padding: 3px 8px;
    border-radius: 4px;
}

.card-fav-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.card-fav-btn.active {
    color: var(--bim-red);
    background-color: var(--bim-red-light);
    border-color: var(--bim-red-light);
}

.card-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-installment-strip {
    background-color: var(--bim-red-light);
    color: var(--bim-red);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
    text-align: center;
}

.card-brand {
    font-size: 11px;
    font-weight: 800;
    color: var(--bim-red);
    text-transform: uppercase;
}
.card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.35;
    margin: 2px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.card-price-block {
    margin-top: auto;
    padding-top: 4px;
}
.card-old-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.card-current-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--bim-red);
}

.card-add-btn {
    width: 100%;
    min-height: 38px;
    padding: 6px 12px;
    font-size: 13px;
    margin-top: 10px;
    border-radius: var(--rad-pill);
}

/* ==========================================================================
   ÜRÜN DETAY SAYFASI (PDP.JS SINIFLARIYLA BİREBİR UYUMLU)
   ========================================================================== */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 12px 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.breadcrumb-nav::-webkit-scrollbar { display: none; }
.crumb-link { color: var(--text-main); font-weight: 600; }
.crumb-link:hover { color: var(--bim-red); }
.crumb-current { color: var(--bim-red); font-weight: 700; }

.pdp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--rad-xl);
    padding: 16px;
}
@media (min-width: 900px) {
    .pdp-grid {
        grid-template-columns: 1fr 1.1fr;
        padding: 24px;
        gap: 28px;
        align-items: start;
    }
}

.pdp-gallery-card {
    position: relative;
    width: 100%;
    min-width: 0;
}

.pdp-main-slider {
    display: flex;
    width: 100%;
    height: 300px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: var(--rad-lg);
}
.pdp-main-slider::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
    .pdp-main-slider { height: 410px; }
}

.pdp-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    cursor: zoom-in;
}
.pdp-slide img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.pdp-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0 2px;
    scrollbar-width: none;
}
.pdp-thumbs::-webkit-scrollbar { display: none; }

.pdp-thumb {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    background: #FFFFFF;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
}
.pdp-thumb.active {
    border-color: var(--bim-red);
    box-shadow: 0 0 0 2px var(--bim-red-light);
}
.pdp-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.pdp-info-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.pdp-top-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.pdp-brand-pill {
    background: var(--bim-red-light);
    color: var(--bim-red);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--rad-pill);
    text-transform: uppercase;
}
.pdp-sku {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}
.pdp-title {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
}

.pdp-price-panel {
    background: var(--bg-subtle);
    border-radius: var(--rad-lg);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.pdp-price-big {
    font-size: 28px;
    font-weight: 800;
    color: var(--bim-red);
}
.badge-disc {
    background: var(--bim-red);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--rad-pill);
}

.color-swatch-list,
.storage-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.color-swatch,
.storage-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: var(--rad-pill);
    border: 1.5px solid var(--border-color);
    background: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
}
.color-swatch.active,
.storage-chip.active {
    border-color: var(--bim-red);
    background: var(--bim-red-light);
    color: var(--bim-red);
}
.color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #CBD5E1;
}

.warranty-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--rad-md);
    background: #FFFFFF;
    margin-bottom: 8px;
    cursor: pointer;
}
.warranty-card.active {
    border-color: var(--bim-red);
    background: var(--bim-red-light);
}

.pdp-tabs-bar {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: var(--rad-xl) var(--rad-xl) 0 0;
    padding: 0 16px;
    margin-top: 20px;
}
.pdp-tabs-bar::-webkit-scrollbar { display: none; }
.pdp-tab-btn {
    padding: 13px 2px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 2.5px solid transparent;
    white-space: nowrap;
}
.pdp-tab-btn.active {
    color: var(--bim-red);
    border-bottom-color: var(--bim-red);
}
.pdp-tab-pane {
    display: none;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--rad-xl) var(--rad-xl);
    padding: 18px;
}
.pdp-tab-pane.active {
    display: block;
}

.zebra-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.zebra-table th,
.zebra-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.zebra-table tr:nth-child(even) {
    background: var(--bg-subtle);
}

.section-bar {
    margin: 24px 0 14px;
}
.section-title-group h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--bim-red);
}

/* ==========================================================================
   OFF-CANVAS KATEGORİ MENÜSÜ (SAĞ ÜST 3 ÇİZGİ - SADE & ŞIK LİSTE TASARIMI)
   ========================================================================== */
.backdrop-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.45);
    z-index: var(--z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}
.backdrop-overlay.show {
    opacity: 1;
    visibility: visible;
}

.off-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 390px;
    height: 100dvh;
    background-color: #FFFFFF;
    z-index: var(--z-drawer);
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
}
.off-canvas.open { transform: translateX(0); }

.off-canvas.right-side {
    left: auto;
    right: 0;
    transform: translateX(100%);
    border-right: none;
    border-left: 1px solid var(--border-color);
}
.off-canvas.right-side.open { transform: translateX(0); }

/* Üst Başlık ("Kategoriler" ve Sağda Sade Çarpı Butonu) */
.off-canvas-header,
.drawer-header,
#categoryDrawer > div:first-child,
#menuDrawer > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 14px;
    background-color: #FFFFFF;
    flex-shrink: 0;
}

.off-canvas-header h2,
.off-canvas-header h3,
.drawer-header h2,
.drawer-header h3,
.drawer-title,
#categoryDrawer > div:first-child h2,
#categoryDrawer > div:first-child h3,
#menuDrawer > div:first-child h2,
#menuDrawer > div:first-child h3 {
    font-size: 21px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.off-canvas-header button,
.off-canvas-header .icon-btn,
.drawer-header button,
.drawer-header .icon-btn,
.drawer-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #111827;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.off-canvas-header button:hover,
.drawer-header button:hover,
.drawer-close-btn:hover {
    background-color: var(--bim-red-light);
    color: var(--bim-red);
}

/* Kategori Satır Listesi */
.off-canvas-body,
.drawer-body,
#categoryDrawerList,
#mobileCategoryList {
    flex: 1;
    overflow-y: auto;
    padding: 4px 18px 28px;
    background-color: #FFFFFF;
}

.drawer-cat-item,
.cat-drawer-item,
.cat-row-item,
.off-canvas:not(.right-side) .off-canvas-body a:not(.btn),
.off-canvas:not(.right-side) .off-canvas-body button:not(.btn),
.off-canvas:not(.right-side) .drawer-body a:not(.btn),
.off-canvas:not(.right-side) .drawer-body button:not(.btn),
#categoryDrawer a:not(.btn),
#categoryDrawer button:not(.btn),
#menuDrawer a:not(.btn),
#menuDrawer button:not(.btn),
.off-canvas ul li a:not(.btn),
.off-canvas ul li button:not(.btn) {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 4px;
    background-color: #FFFFFF;
    border: none;
    border-bottom: 1px solid #EBECEF;
    border-radius: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.drawer-cat-item:last-child,
.cat-drawer-item:last-child,
.cat-row-item:last-child,
.off-canvas ul li:last-child a:not(.btn),
.off-canvas ul li:last-child button:not(.btn) {
    border-bottom: none;
}

/* Kategori Görseli veya İkonu */
.drawer-cat-item img,
.cat-drawer-item img,
.cat-row-item img,
#categoryDrawer a img,
#categoryDrawer button img,
#menuDrawer a img,
#menuDrawer button img,
.off-canvas ul li a img,
.off-canvas ul li button img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
}

.drawer-cat-icon,
.cat-row-icon,
#categoryDrawer a > i:first-child,
#categoryDrawer button > i:first-child,
#menuDrawer a > i:first-child,
#menuDrawer button > i:first-child,
.off-canvas ul li a > i:first-child,
.off-canvas ul li button > i:first-child {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bim-red);
    flex-shrink: 0;
}

/* Kategori Adı */
.drawer-cat-name,
.cat-row-label,
#categoryDrawer a span,
#categoryDrawer button span,
#menuDrawer a span,
#menuDrawer button span,
.off-canvas ul li a span,
.off-canvas ul li button span {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sağdaki > Ok İşareti */
.drawer-chevron,
.cat-row-chevron,
#categoryDrawer a > i:last-child,
#categoryDrawer button > i:last-child,
#menuDrawer a > i:last-child,
#menuDrawer button > i:last-child,
.off-canvas ul li a > i:last-child,
.off-canvas ul li button > i:last-child {
    color: #6B7280;
    font-size: 13px;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}

/* Hover & Aktif Kategori (BİM Kırmızısı) */
.drawer-cat-item:hover,
.cat-drawer-item:hover,
.cat-row-item:hover,
#categoryDrawer a:not(.btn):hover,
#categoryDrawer button:not(.btn):hover,
#menuDrawer a:not(.btn):hover,
#menuDrawer button:not(.btn):hover,
.off-canvas ul li a:not(.btn):hover,
.off-canvas ul li button:not(.btn):hover {
    color: var(--bim-red);
}

.drawer-cat-item:hover > i:last-child,
.cat-drawer-item:hover > i:last-child,
.cat-row-item:hover .cat-row-chevron,
#categoryDrawer a:not(.btn):hover > i:last-child,
#categoryDrawer button:not(.btn):hover > i:last-child,
#menuDrawer a:not(.btn):hover > i:last-child,
#menuDrawer button:not(.btn):hover > i:last-child,
.off-canvas ul li a:not(.btn):hover > i:last-child,
.off-canvas ul li button:not(.btn):hover > i:last-child {
    color: var(--bim-red);
    transform: translateX(2px);
}

.drawer-cat-item.active,
.cat-drawer-item.active,
.cat-row-item.active,
#categoryDrawer a.active,
#categoryDrawer button.active,
#menuDrawer a.active,
#menuDrawer button.active,
.off-canvas ul li a.active,
.off-canvas ul li button.active {
    color: var(--bim-red);
    font-weight: 700;
}

/* ==========================================================================
   TOAST BİLDİRİMLERİ
   ========================================================================== */
.toast-stack {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    z-index: var(--z-toast);
    width: calc(100% - 32px);
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast-box {
    pointer-events: auto;
    background-color: var(--bim-red);
    color: #FFFFFF;
    padding: 12px 16px;
    border-radius: var(--rad-pill);
    box-shadow: var(--shadow-md);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.toast-box.error {
    background-color: #111827;
}