/* Основные стили для хлебных крошек */
.pdo-crumbs {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 10px;
    margin: -20px 0 20px 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.pdo-crumb {
    display: flex;
    align-items: center;
}

.pdo-crumb:not(:last-child)::after {
    content: '›';
    margin: 0 12px;
    color: #999;
    font-size: 18px;
    font-weight: 300;
}

.pdo-crumb a {
    color: #666;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.pdo-crumb a:hover {
    color: #007bff;
    background-color: #f8f9fa;
    transform: translateY(-1px);
}

.pdo-crumb:last-child a {
    color: #333;
    font-weight: 600;
    background-color: #e9ecef;
    cursor: default;
}

.pdo-crumb:last-child a:hover {
    background-color: #e9ecef;
    transform: none;
}

/* Альтернативный стиль с разделителем-слэшем */
.pdo-crumbs.slash .pdo-crumb:not(:last-child)::after {
    content: '/';
    margin: 0 15px;
    color: #ddd;
    font-size: 16px;
    font-weight: 300;
}

/* Стиль для темной темы */
.pdo-crumbs.dark {
    background: #2c3e50;
    padding: 12px 20px;
    border-radius: 8px;
}

.pdo-crumbs.dark .pdo-crumb a {
    color: #bdc3c7;
}

.pdo-crumbs.dark .pdo-crumb a:hover {
    color: #3498db;
    background-color: #34495e;
}

.pdo-crumbs.dark .pdo-crumb:last-child a {
    color: #ecf0f1;
    background-color: #3498db;
}

/* Адаптивность */
@media (max-width: 768px) {
    .pdo-crumbs {
        font-size: 10px;
        margin: 15px 0;
    }
    
    .pdo-crumb:not(:last-child)::after {
        margin: 0 8px;
    }
    
    .pdo-crumb a {
        padding: 4px 8px;
    }
}

/* Анимация появления */
@keyframes crumbFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pdo-crumb {
    animation: crumbFadeIn 0.3s ease forwards;
}

.pdo-crumb:nth-child(2) { animation-delay: 0.1s; }
.pdo-crumb:nth-child(3) { animation-delay: 0.2s; }
.pdo-crumb:nth-child(4) { animation-delay: 0.3s; }
.pdo-crumb:nth-child(5) { animation-delay: 0.4s; }

/* Минималистичный стиль */
.pdo-crumbs.minimal .pdo-crumb:not(:last-child)::after {
    content: '→';
    margin: 0 10px;
}

/* Стиль с точками */
.pdo-crumbs.dots .pdo-crumb:not(:last-child)::after {
    content: '•';
    margin: 0 12px;
    color: #bbb;
}

/* Стиль для мобильных устройств */
@media (max-width: 480px) {
    .pdo-crumbs.mobile {
        font-size: 11px;
        justify-content: center;
    }
    
    .pdo-crumbs.mobile .pdo-crumb:nth-last-child(n+3) {
        display: none;
    }
    
    .pdo-crumbs.mobile .pdo-crumb:nth-last-child(2)::before {
        content: '...';
        margin-right: 8px;
    }
}