/*
 * Shared content baseline for the shop inner screens on the Inter/Zinc token
 * system. Breadcrumb, page header, subcategory chips and empty states - reused
 * across the catalog, account and checkout surfaces as each is migrated. Loaded
 * after shell.css, before the per-screen stylesheets.
 */

/* ============================================================ Breadcrumb */

.shop-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: var(--text-base);
    color: var(--color-text-muted);
}

.shop-crumbs a {
    color: var(--color-text-secondary);
    text-decoration: none;
}

.shop-crumbs a:hover {
    color: var(--color-text-brand);
}

.shop-crumbs a + a::before,
.shop-crumbs a + span::before,
.shop-crumbs span + span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-right: 1.5px solid var(--color-border-strong);
    border-bottom: 1.5px solid var(--color-border-strong);
    transform: rotate(-45deg);
    vertical-align: middle;
}

.shop-crumbs [aria-current='page'] {
    color: var(--color-text-primary);
}

/* ============================================================ Page header */

.shop-pagehead {
    margin-bottom: 22px;
}

.shop-pagehead__title {
    margin: 0;
    font-size: var(--text-3xl);
    font-weight: 700;
    letter-spacing: -0.6px;
    color: var(--color-text-primary);
}

.shop-pagehead__intro {
    margin: 10px 0 0;
    max-width: 64ch;
    font-size: var(--text-md);
    line-height: 22px;
    color: var(--color-text-secondary);
}

/* ============================================================ Subcategory chips */

.subcat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.subcat-chips a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border-default);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: border-color 150ms ease, color 150ms ease;
}

.subcat-chips a:hover {
    border-color: var(--color-bg-brand);
    color: var(--color-text-brand);
}

.subcat-chips .ui-icon {
    color: var(--color-text-muted);
}

/* ============================================================ Empty state */

.shop-empty {
    padding: 28px;
    background: var(--color-bg-surface);
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-lg);
    color: var(--color-text-secondary);
}
