.bew-cat-tree {
    list-style: none;
    padding-left: 0;
    font-family: "Segoe UI", sans-serif;
    max-width: 600px;
    margin: 5px auto 30px auto;
}

/* Sadece ana kategorilere */
.bew-cat-tree > li {
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 12px;
    position: relative;
}

/* Alt kategoriler için */
.bew-cat-tree li ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

/* Alt kategorilerdeki <li>'ler */
.bew-cat-tree li ul li {
    padding: 6px 0;
    margin: 0;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
}



.bew-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.bew-cat-header a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.bew-toggle-sub {
    background-color: #7bc243;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bew-sub-cat {
    margin-top: 12px;
    margin-left: 20px;
}
.bew-search-results {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    display: none;
    padding: 20px;
    text-align: left;
    max-height: 400px;
    overflow-y: auto;
}

.bew-search-loading {
    width: 30px;
    height: 30px;
    border: 4px solid #ccc;
    border-top-color: #7bc243;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

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

.bew-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #7bc243;
    font-weight: 500;
    transition: background 0.2s;
}

.bew-search-result-item:hover {
    background-color: #f9f9f9;
}

.bew-search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
}
