/* Breadcrumb Navigation Styles */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 16px 0;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    font-weight: 500;
}

.back-button:hover {
    color: var(--accent-color);
    background: white;
    border-color: var(--accent-color);
    transform: translateX(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.back-button:hover .back-icon {
    transform: translateX(-2px);
}

.breadcrumb-divider {
    color: var(--border-medium);
    font-weight: 400;
    user-select: none;
}

.breadcrumb-link {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.breadcrumb-link:hover {
    color: var(--accent-color);
    background: var(--bg-light);
}

.current-page {
    color: var(--text-primary);
    font-weight: 600;
    padding: 4px 8px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumb-nav {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.85rem;
    }
    
    .back-button {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .back-icon {
        width: 14px;
        height: 14px;
    }
    
    .current-page {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .back-button {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
    }
    
    .back-button:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--accent-color);
        color: var(--accent-color);
    }
    
    .breadcrumb-link:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}

/* Animation for breadcrumb appearance */
.breadcrumb-nav {
    animation: slideInFromTop 0.6s ease-out;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced hover effects */
.back-button {
    position: relative;
    overflow: hidden;
}

.back-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.back-button:hover::before {
    left: 100%;
}

/* Focus states for accessibility */
.back-button:focus,
.breadcrumb-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Additional utility styles */
.breadcrumb-nav .separator {
    width: 1px;
    height: 16px;
    background: var(--border-light);
    margin: 0 4px;
}

/* Breadcrumb with icons */
.breadcrumb-nav .home-icon,
.breadcrumb-nav .category-icon {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}