/* page breadcrumb (partials/breadcrumb) — same look as the product page's .pdp-breadcrumb */

.site-breadcrumb {
    --bc-text: #1f2328;
    --bc-text-2: #5b616b;
    --bc-text-3: #8a9099;
    --bc-bg: #f5f6f8;
    --bc-brand: var(--primary-color, #f7858d);
    --bc-brand-soft: rgba(0, 0, 0, 0.04);

    display: flex;
    clear: both;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    margin: 4px 0 12px;
    padding: 6px;
    overflow-x: auto;
    border: 1px solid #e6e8ec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    font-size: 13px;
    white-space: nowrap;
    scrollbar-width: none;
}

@supports (background: color-mix(in srgb, red 10%, white)) {
    .site-breadcrumb {
        --bc-brand-soft: color-mix(in srgb, var(--bc-brand) 10%, #fff);
    }
}

.site-breadcrumb::-webkit-scrollbar {
    display: none;
}

.site-breadcrumb a,
.site-breadcrumb > span {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 4px;
    height: 30px;
    padding: 0 10px;
    border-radius: 9px;
}

.site-breadcrumb a {
    color: var(--bc-text-2);
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

/* separator after each link */
.site-breadcrumb a::after {
    content: '\F141'; /* mdi-chevron-left */
    margin-right: 2px;
    color: var(--bc-text-3);
    font-family: 'Material Design Icons';
    font-size: 16px;
    pointer-events: none;
}

.site-breadcrumb a:hover {
    background: var(--bc-bg);
    color: var(--bc-text);
}

.site-breadcrumb a:focus-visible {
    outline: 2px solid var(--bc-brand);
    outline-offset: -2px;
}

.site-breadcrumb__home .mdi {
    color: var(--bc-brand);
    font-size: 17px;
}

/* current page */
.site-breadcrumb > span {
    display: inline-block;
    max-width: 60vw;
    overflow: hidden;
    background: var(--bc-brand-soft);
    color: var(--bc-brand);
    font-weight: 600;
    line-height: 30px;
    text-overflow: ellipsis;
}

/* listing pages (category, category products, search) keep the theme's normal container width like
   the product page (Nakh's full-width layout is left out); only the side gutter is set here, so the
   rounded boxes never touch the screen edge on phones */
.listing-page .main-container {
    padding-right: 12px;
    padding-left: 12px;
}

@media (min-width: 576px) {
    .listing-page .main-container {
        padding-right: 15px;
        padding-left: 15px;
    }
}
