/* /domains/gromadan.com/public_html/css/includes/breadcrumbs_scroll.css
   Стилі для includes/breadcrumbs_scroll.php — блок крихт зі скролом
   і hub-меню на сторінці одного оголошення нерухомості. */
.rbs-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rbs-row {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-width: 0;
}
.rbs-row::-webkit-scrollbar { display: none; }
.rbs-item { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.rbs-link { color: var(--text-secondary, #8A8AA3); text-decoration: none; font-size: 0.9rem; }
.rbs-link:hover { color: var(--primary, #C2185B); }
.rbs-current { color: var(--text-secondary, #8A8AA3); font-size: 0.9rem; white-space: nowrap; }
.rbs-sep { color: var(--text-secondary, #8A8AA3); font-size: 0.9rem; opacity: 0.5; }

.rbs-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface, #fff);
    box-shadow: var(--shadow, 0 4px 12px rgba(0,0,0,0.1));
    cursor: pointer;
    border: none;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.rbs-btn svg {
    width: 12px;
    height: 12px;
    stroke: var(--text-secondary, #8A8AA3);
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.rbs-btn.rbs-lang svg {
    width: 14px;
    height: 14px;
}
.rbs-btn.rbs-open {
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}

.rbs-menu {
    display: none;
    position: fixed;
    z-index: 9999;
    min-width: 190px;
    max-height: 300px;
    overflow-y: auto;
    background: var(--surface, #fff);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    padding: 6px;
}
.rbs-menu.rbs-visible { display: block; }
.rbs-menu a {
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--text-primary, #1A1A2E);
    text-decoration: none;
    font-size: 14px;
}
.rbs-menu a:hover { background: var(--bg, #F5F5F8); }
.rbs-menu-title { font-weight: 700; }
.rbs-menu-sub { font-size: 12px; color: var(--text-secondary, #8A8AA3); margin-top: 2px; }
.rbs-menu a.rbs-current-lang { color: var(--primary, #C2185B); font-weight: 700; }

.rbs-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: transparent;
}
.rbs-overlay.rbs-visible { display: block; }