/* ===== NAVIGATOR ===== */
.navigator {
    background: white;
    padding: 10px;
    display: flex;
    align-items: center;

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===== BURGER - ПРИХОВАНО НА ДЕСКТОПІ ===== */
.burger-icon {
    display: none;
}

/* ===== NAVIGATION BUTTONS ===== */
.nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #667eea;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: #667eea;
}

.nav-btn:active {
    transform: translateY(-1px);
}

/* SVG іконки - БІЛІ */
.nav-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

/* ===== SEARCH ===== */
.nav-search {
    flex: 1; /* РЕЗИНОВИЙ - займає простір */
    min-width: 100px; /* Мінімальна ширина */
    position: relative;
}

.nav-search input {
    width: 100%;
    padding: 13px 22px 13px 50px;
    border: 2px solid #e5e5e5;
    border-radius: 30px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background: #fafafa;
    font-weight: 500;
}

.nav-search input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.08);
}

.nav-search input::placeholder {
    color: #999;
}

.nav-search::before {
    content: '🔍';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.6;
    pointer-events: none;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px 0;
}

.breadcrumbs::-webkit-scrollbar {
    height: 6px;
}

.breadcrumbs::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.breadcrumbs::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 3px;
}

.breadcrumb-item {
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    position: relative;
    font-size: 12px;
}

.breadcrumb-item:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
}

/* Активна крихта (остання) */
.breadcrumb-item:last-child {
    color: #667eea;
    background: rgba(102, 126, 234, 0.12);
    cursor: default;
    font-weight: 800;
    padding: 3px;
}

.breadcrumb-item:last-child:hover {
    background: rgba(102, 126, 234, 0.12);
}

.breadcrumb-separator {
    color: #999;
    user-select: none;
    font-size: 14px;
    font-weight: 700;
}

/* ================================================= */
/* MOBILE BURGER MODE (ДОДАНО, БЕЗ ЛАМАННЯ DESKTOP) */
/* ================================================= */

.breadcrumbs.mobile-open {
    flex-direction: column;        /* вертикально */
    align-items: stretch;
    white-space: normal;
    overflow-x: hidden;
}

.breadcrumbs.mobile-open .breadcrumb-item {
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 0;
}

.breadcrumbs.mobile-open .breadcrumb-item:last-child {
    background: rgba(102, 126, 234, 0.12);
}

.breadcrumbs.mobile-open .breadcrumb-separator {
    display: none;
}
