/**
 * [auction_breadcrumbs] — chevron trail.
 *
 * One line, always. On narrow screens it scrolls sideways instead of wrapping,
 * because wrapping to two or three rows pushes the H1 further down the page and
 * the LCP on this template is already the thing we are trying to fix.
 *
 * Link colours are scoped tightly and use the Elementor globals so the trail
 * follows the theme rather than pinning brand colours a redesign would miss.
 */

.alps-crumbs {
    margin: 0 0 14px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.alps-crumbs::-webkit-scrollbar {
    display: none;
}

.alps-crumbs-list {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.4em;
}

.alps-crumbs-list > li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.alps-crumbs-list > li::before,
.alps-crumbs-list > li::marker {
    content: none;
}

.alps-crumbs-list a {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 5px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.alps-crumbs-list a:hover,
.alps-crumbs-list a:focus-visible {
    color: var(--e-global-color-primary, #c8102e);
    background: rgba(200, 16, 46, 0.07);
    text-decoration: none;
}

.alps-crumbs-list .here {
    padding: 3px 6px;
    color: var(--e-global-color-secondary, #14171a);
    font-weight: 500;
}

.alps-crumbs-list .sep {
    padding: 0 2px;
    color: #c9ced4;
    font-size: 12px;
}

/* The slot stays in the layout so the filter UI always has a target, but an
   empty one must not leave a gap where the trail would have been. */
.alps-crumbs-slot:empty {
    display: none;
}

@media (max-width: 767px) {
    .alps-crumbs {
        margin: 0 0 10px;
    }

    .alps-crumbs-list {
        font-size: 13px;
    }

    .alps-crumbs-list a,
    .alps-crumbs-list .here {
        padding: 2px 4px;
    }
}
