/* NAVIGATION — хлебные крошки под главным меню */
.speedbar {
    background: #000000;
    color: white;
    padding: 0.75rem 0;
    font-size: 0.85rem;
}

/* Новая обёртка — чтобы "Вы здесь:" было слева, а крошки прокручивались */
.speedbar-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* "Вы здесь:" — всегда на месте */
.speedbar-label {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    flex-shrink: 0;
}

/* Контейнер с крошками — только он скроллится */
.speedbar-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    display: flex;
    align-items: center;
}


.speedbar-container::-webkit-scrollbar-track {
    background: transparent;
}

.speedbar-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.speedbar-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Крошки */
.speedbar-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.speedbar-link a{
 color: white;
}

.speedbar-link:hover {
    color: white;
}

.speedbar-link.premium {
    color: var(--premium);
}

/* Текущая страница */
.speedbar-link:last-child,
.speedbar span {
    color: white;
    font-weight: 600;
    cursor: default;
}

.speedbar-link:last-child:hover {
    color: white;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .speedbar {
        padding: 0.6rem 0;
    }

    .speedbar-wrapper {
        padding: 0 1rem;
        gap: 0.8rem;
    }

    .speedbar-label {
        font-size: 0.8rem;
    }

    .speedbar-link {
        font-size: 0.8rem;
        gap: 0.6rem;
    }

    .speedbar-container::-webkit-scrollbar {
        height: 3px;
    }
}

@media (max-width: 480px) {
    .speedbar-wrapper {
        gap: 0.6rem;
    }

    .speedbar-label {
        font-size: 0.75rem;
    }

    .speedbar-link {
        font-size: 0.75rem;
    }
}