/* --- 📐 SLIDER YANI KATEGORİ MENÜSÜ --- */
.side-menu-wrapper {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
    z-index: 50; 
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.side-menu-header {
    background-color: var(--sym-baslik-bg, #f8fafc); 
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 1.05rem;
}

.header-left-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-left-title i {
    font-size: 1.2rem;
}

/* 🎯 YENİ: Dinamik Scroll Sınırı */
.side-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: var(--sym-max-height, 350px); 
    overflow-y: auto; 
}

.side-menu-list::-webkit-scrollbar {
    width: 6px;
}
.side-menu-list::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 0 0 10px 0;
}
.side-menu-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.side-menu-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.side-menu-item {
    border-bottom: 1px solid #f1f5f9;
}

.side-menu-item:last-child {
    border-bottom: none;
}

.side-menu-link {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.side-menu-link i:first-child {
    width: 24px;
    font-size: 1.1rem;
    color: var(--sym-baslik-ikon, #f97316); 
    transition: color 0.2s ease;
}

.side-menu-link span {
    flex: 1;
}

.arrow-icon {
    font-size: 0.8rem;
    color: #cbd5e1;
    transition: transform 0.2s ease;
}

.side-menu-item:hover .side-menu-link {
    background-color: #f8fafc;
    color: var(--sym-hover-renk); 
    padding-left: 25px; 
}

.side-menu-item:hover .side-menu-link i:first-child {
    color: var(--sym-hover-renk);
}

.side-menu-item:hover .arrow-icon {
    color: var(--sym-hover-renk);
    transform: translateX(3px);
}

/* SAĞA AÇILAN ALT KATEGORİ MENÜSÜ */
.side-menu-dropdown {
    position: absolute;
    top: 0; 
    left: 100%; 
    width: 650px; 
    min-height: 100%;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: none;
    border-radius: 0 12px 12px 0;
    box-shadow: 10px 4px 20px rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.side-menu-item:hover .side-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.side-menu-dropdown-inner {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    align-content: start;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    text-decoration: none;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
}

.dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--sym-hover-renk);
}

@media (max-width: 1024px) {
    .side-menu-wrapper {
        display: none;
    }
}