﻿/* ============================================
   BREADCRUMBS
   ============================================ */

.bcg-breadcrumbs-wrapper {
    border-bottom: none;
    margin-top: 1.2rem;
}

.bcg-breadcrumbs {
    font-size: 0.875rem;
    gap: 0.75rem;
    font-weight: 500;
}

.bcg-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.bcg-breadcrumb-link,
.bcg-breadcrumb-current {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    border: 1px solid #000;
}

.bcg-breadcrumb-link {
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.bcg-breadcrumb-link:hover {
    color: #ffffff;
    background: black;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.bcg-breadcrumb-link i {
    font-size: 1rem;
}

.bcg-breadcrumb-current {
    color: #424242;
    font-weight: 600;
    background: #eeeeee;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.bcg-breadcrumb-separator {
    color: #f7a736;
    margin: 0 0.5rem;
    font-weight: 400;
}

/* ============================================
   BREADCRUMB DROPDOWN
   ============================================ */

.bcg-breadcrumb-dropdown {
    position: relative;
    display: inline-block;
}

.bcg-breadcrumb-toggle {
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    color: #f7a736;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.bcg-breadcrumb-toggle:hover {
    color: #424242;
    transform: translateY(1px);
}

.bcg-breadcrumb-toggle[aria-expanded="true"] {
    color: #424242;
}

.bcg-breadcrumb-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.bcg-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

.bcg-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bcg-dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #000000;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.bcg-dropdown-link:hover {
    background-color: #eeeeee;
    color: #000000;
    text-decoration: none;
}

.bcg-dropdown-link:last-child {
    border-bottom: none;
}

.bcg-dropdown-current {
    display: block;
    padding: 0.75rem 1rem;
    color: #424242;
    background-color: var(--sand-100);
    font-weight: 600;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .bcg-breadcrumbs {
        font-size: 0.8125rem;
    }

    .bcg-breadcrumb-toggle {
        font-size: 0.65rem;
        padding: 0.2rem 0.375rem;
    }

    .bcg-dropdown-menu {
        min-width: 160px;
        max-height: 250px;
    }

    .bcg-dropdown-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
}

