.unified-filter-controls,
.cleaner-design-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.unified-filter-controls .search,
.cleaner-design-controls .search {
    margin: 0;
}

.category-filter-toggle {
    display: inline-grid !important;
    grid-template-columns: 24px minmax(0, 1fr) 18px;
    align-items: center;
    column-gap: 11px;
    width: auto;
    min-width: 235px;
    min-height: 58px;
    padding: 8px 13px;
    border: 1px solid #e8e2d6;
    border-radius: 15px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(17, 17, 17, .045);
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.category-filter-toggle:hover,
.category-filter-toggle[aria-expanded="true"] {
    border-color: rgba(229, 169, 62, .72);
    background: #fff8e9;
    box-shadow: 0 8px 20px rgba(95, 69, 16, .08);
}

.filter-toggle-symbol {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #a86f00;
    stroke-width: 2;
    stroke-linecap: round;
}

.filter-toggle-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.category-filter-toggle .filter-toggle-title {
    overflow: hidden;
    color: #111;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-filter-toggle .filter-toggle-state {
    overflow: hidden;
    color: #7a5200;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-toggle-chevron {
    color: #111;
    font-size: 20px;
    line-height: 1;
    transition: transform .16s ease;
}

.category-filter-toggle[aria-expanded="true"] .filter-toggle-chevron {
    transform: rotate(180deg);
}

.unified-filter-controls .filter-panel,
.cleaner-design-controls .filter-panel {
    display: none;
    grid-column: 1 / -1;
    padding-top: 5px;
}

.unified-filter-controls .filter-panel.is-open,
.cleaner-design-controls .filter-panel.is-open {
    display: block;
}

.category-filter-panel,
.category-filter-panel .category-panel {
    margin-top: 0;
}

.category-filter-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
    padding-top: 12px;
    border-top: 1px solid #e8e2d6;
}

.category-filter-panel-header strong {
    color: #6b7280;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.category-filter-panel-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.panel-clear-categories,
.clear-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #e8e2d6;
    border-radius: 999px;
    background: #fff;
    color: #7a5200;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.panel-clear-categories:hover,
.clear-filters:hover {
    border-color: rgba(229, 169, 62, .72);
    background: #fff8e9;
    color: #5f450e;
}

.aslanlab-catalog-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 18px auto 0;
    padding: 0 20px;
}

.aslanlab-catalog-result-row .catalog-info {
    margin: 0;
    padding: 0;
}

.unified-filter-result-row {
    justify-content: flex-start;
}

.aslanlab-hero {
    position: relative;
    z-index: 1;
    max-width: 870px;
    margin: 54px auto 0;
    text-align: center;
}

.aslanlab-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #a86f00;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.aslanlab-hero .eyebrow::before,
.aslanlab-hero .eyebrow::after {
    width: 28px;
    height: 1px;
    background: rgba(168, 111, 0, .65);
    content: "";
}

@media (max-width: 750px) {
    .aslanlab-hero {
        margin-top: 38px;
    }

    .unified-filter-controls,
    .cleaner-design-controls {
        grid-template-columns: 1fr;
    }

    .category-filter-toggle {
        width: 100%;
        min-width: 0;
    }

    .compact-categories {
        max-height: 220px;
        overflow: auto;
        align-content: flex-start;
        padding: 2px;
    }

    .catalog-result-row {
        align-items: flex-start;
    }

    .category-filter-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-filter-panel-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-filter-toggle,
    .filter-toggle-chevron {
        transition: none;
    }
}
