/* ── Breadcrumb ─────────────────────────────────────────────
   Home › Shop › Category › Product: small, muted, the page
   itself last and not a link.
   ─────────────────────────────────────────────────────────── */

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    list-style: none;
    font-size: 14px;
    line-height: 20.8px;
    color: var(--color-text-muted);
}

/* One line: the links keep their size, the page itself (last) ends in
   "…" when there isn't room */
.breadcrumb__item {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}

.breadcrumb__item:last-child {
    flex: 0 1 auto;
}

.breadcrumb__item a {
    color: inherit;
    text-decoration: none;
}

.breadcrumb__item a:hover,
.breadcrumb__item a:focus-visible {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.breadcrumb__item [aria-current] {
    overflow: hidden;
    color: var(--color-text);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.breadcrumb__sep {
    flex: none;
    width: 12px;
    height: 12px;
}
