.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--clr-text-muted, #8a8a94);
}

.breadcrumb a {
    color: var(--clr-text-muted, #8a8a94);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--clr-primary);
}

.breadcrumb .sep {
    opacity: 0.5;
}

.breadcrumb .current {
    color: var(--clr-text);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.category-hero {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin: 20px 0 28px;
    background: linear-gradient(135deg, var(--clr-surface-2, #1f1f22), var(--clr-surface-3, #26262a));
    min-height: 180px;
    display: flex;
    align-items: flex-end;
}

.category-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 28px 24px;
}

.category-hero:not(.category-hero-noimage) .category-hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, .72) 10%, rgba(0, 0, 0, .15) 70%, transparent 100%);
}

.category-hero-title {
    margin: 0 0 6px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.category-hero-noimage .category-hero-title {
    color: var(--clr-text, #f0f0f2);
}

.category-hero-desc {
    margin: 0;
    max-width: 720px;
    font-size: .92rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, .88);
}

.category-hero-noimage .category-hero-desc {
    color: var(--clr-text-muted, #8a8a94);
}

.category-shop-main {
    width: 100%;
}

@media (max-width: 640px) {
    .category-hero {
        min-height: 140px;
        border-radius: 12px;
    }

    .category-hero-overlay {
        padding: 18px 16px;
    }

    .category-hero-title {
        font-size: 1.25rem;
    }

    .category-hero-desc {
        font-size: .85rem;
    }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
    margin: 22px 0 40px;
}

.category-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg, 14px);
    overflow: hidden;
    background: var(--clr-surface);
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: var(--clr-primary);
}

.category-card-img-wrap {
    width: 100%;
    height: 140px;
    background: var(--clr-surface-2);
    overflow: hidden;
}

.category-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-card-noimage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted, #8a8a94);
}

.category-card-noimage svg {
    width: 34px;
    height: 34px;
}

.category-card-body {
    padding: 14px 16px;
}

.category-card-title {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-text);
}

.category-card-count {
    font-size: .8rem;
    color: var(--clr-text-muted, #8a8a94);
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .category-card-img-wrap {
        height: 110px;
    }
}