/**
 * Product category archives.
 * Depends on product-system.css and, for child categories, noUiSlider.css.
 *
 * @package Kadence_Child
 */

/* Archive-only aliases also reach the drawers mounted under body. */
body.tax-product_cat {
    --df-canvas: var(--df-paper);
    --df-navy-900: var(--df-ink);
    --df-text: var(--df-body);
    --df-text-muted: var(--df-muted);
    --df-text-subtle: var(--df-muted);
    --df-surface-subtle: var(--df-paper-deep);
    --df-border: var(--df-line);
    --df-border-strong: var(--df-line-strong);
    --df-lavender-100: var(--df-paper-deep);
    --df-lavender-200: #e9e5db;
    --df-radius-card: 8px;
    --df-duration-fast: 180ms;
    --df-duration-base: 280ms;
    background: var(--df-paper);
}

.category-archive-container {
    display: grid;
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    width: min(calc(100% - (2 * var(--df-page-gutter))), 1280px);
    margin: var(--df-space-12) auto var(--df-space-20);
    align-items: start;
}

.category-main-content {
    min-width: 0;
}

.parent-category-header {
    padding: var(--df-space-4) 0 var(--df-space-8);
}

.category-title {
    max-width: 20ch;
    margin: 0;
    color: var(--df-navy-900);
    font-family: var(--df-serif);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 520;
    letter-spacing: -0.035em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.category-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    color: var(--df-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.category-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}
.category-breadcrumbs a:hover {
    color: var(--df-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.category-breadcrumbs [aria-current] {
    color: var(--df-ink);
}
.category-breadcrumbs > [aria-hidden] {
    opacity: 0.5;
}

.category-navigation-home {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 16px;
    padding: 8px 12px;
    color: var(--df-muted);
    font-size: 0.8125rem;
    text-decoration: none;
}
