.ecowheels-catalog-brand {
    color: var(--eco-muted);
    display: flex;
    flex: 0 1 220px;
    flex-direction: column;
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    margin: 0;
}
.ecowheels-catalog-brand[hidden] { display: none; }
.ecowheels-catalog-brand select {
    appearance: none;
    background: var(--eco-surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235C6963' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 10px center;
    background-repeat: no-repeat;
    border: 1px solid var(--eco-border);
    border-radius: 10px;
    color: var(--eco-ink);
    font: inherit;
    font-size: 16px;
    height: 46px;
    min-height: 46px;
    padding: 9px 30px 9px 12px;
    width: 100%;
}
.ecowheels-catalog-brand select:focus-visible {
    outline: 3px solid var(--eco-focus);
    outline-offset: 2px;
}
.ecowheels-card-options { display: none; }
.ecowheels-finder .ecowheels-catalog-discovery__heading h1 { color: var(--eco-ink); font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.2; margin: 0; }
.ecowheels-finder .ecowheels-catalog-brand { align-self: end; }
.ecowheels-finder .ecowheels-catalog-wheel-group { order: -1; }

@media (max-width: 991.98px) {
    /* The logo stays at the page top and leaves the viewport during scrolling. */
    body.ecowheels-catalog-mode .header-area,
    body.ecowheels-catalog-mode .header-navigation,
    body.ecowheels-catalog-mode .header-navigation.sticky {
        animation: none !important;
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }
    body.ecowheels-catalog-mode .footer-fix-nav { display: none !important; }
    body.ecowheels-catalog-mode .header-navigation { padding: 0 !important; }
    body.ecowheels-catalog-mode .header-navigation .nav-container { min-height: 76px; padding: 10px 0 !important; }
    body.ecowheels-catalog-mode .header-navigation .brand-logo {
        align-items: center;
        display: flex;
        flex: 0 1 190px;
        height: 54px;
        max-width: 190px;
        overflow: hidden;
    }
    body.ecowheels-catalog-mode .header-navigation .brand-logo > a { align-items: center; display: flex; height: 54px; }
    body.ecowheels-catalog-mode .header-navigation .brand-logo img { height: auto; max-height: none; max-width: 190px; width: 190px; }
    body.ecowheels-catalog-mode .back-to-top { background: var(--eco-primary); }
}

@media (max-width: 767.98px) {
    body.ecowheels-catalog-listing .klb-shop-breadcrumb { padding: 20px 0; }
    body.ecowheels-catalog-listing .klb-shop-breadcrumb .breadcrumbs-content h1 { font-size: 24px; line-height: 1.3; margin: 0; }
    body.ecowheels-catalog-mode .shop-area,
    body.ecowheels-catalog-mode .shop-grid-sidebar { padding-top: 24px; }
    body.ecowheels-catalog-mode :is(.products.row, .row[class*="columns-"]) { margin-left: 0; margin-right: 0; }
    body.ecowheels-catalog-mode .ecowheels-vehicle-family ul.products { grid-template-columns: minmax(0, 1fr); }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product {
        background: var(--eco-surface);
        border: 1px solid var(--eco-border);
        border-radius: 14px;
        display: grid;
        flex: 0 0 100%;
        grid-template-columns: minmax(0, 40%) minmax(0, 60%);
        grid-template-rows: auto 1fr;
        margin: 0 0 14px;
        max-width: 100%;
        overflow: hidden;
        padding: 0;
        width: 100%;
    }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product > .shop-item {
        display: contents;
    }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .shop-img {
        align-self: stretch;
        background: var(--eco-paper);
        border: 0;
        border-radius: 0;
        grid-column: 1;
        grid-row: 1 / 3;
        margin: 0;
        min-width: 0;
        overflow: hidden;
    }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .shop-img > img {
        height: 100%;
        min-height: 210px;
        object-fit: contain;
        padding: 8px;
        width: 100%;
    }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .shop-img .overlay-content { display: none; }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .shop-img .shop-overlay {
        background: transparent;
        opacity: 1;
        visibility: visible;
    }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .shop-content {
        border: 0;
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        padding: 14px 12px 0;
        text-align: left;
    }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .shop-content .title {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.45;
        margin: 0;
        overflow: hidden;
        overflow-wrap: anywhere;
    }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .ecowheels-catalog-actions--loop {
        align-self: start;
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        min-width: 0;
        padding: 10px 12px 14px;
    }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .ecowheels-wheel-set-price {
        font-size: 18px;
        margin-bottom: 9px;
    }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .ecowheels-wheel-set-price-unit { display: block; }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .ecowheels-catalog-stock {
        font-size: 12px;
        padding: 6px 8px;
    }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .ecowheels-whatsapp-actions {
        display: grid;
        gap: 6px;
        grid-template-columns: minmax(0, 1fr);
    }
    body.ecowheels-catalog-mode :is(.products, .row[class*="columns-"]) > .product .ecowheels-whatsapp-button {
        border-radius: 999px;
        font-size: 13px;
        min-height: 44px;
        padding: 8px;
        width: 100%;
    }
    .ecowheels-card-options { display: block; margin: 0 0 12px; }
    .ecowheels-card-options__label { color: var(--eco-muted); display: block; font-size: 12px; margin-bottom: 5px; }
    .ecowheels-card-options > div { display: flex; flex-wrap: wrap; gap: 5px; }
    .ecowheels-card-option {
        align-items: center;
        background: var(--eco-paper);
        border: 1px solid var(--eco-border);
        border-radius: 8px;
        color: var(--eco-ink);
        display: inline-flex;
        font-size: 13px;
        line-height: 1.4;
        min-height: 44px;
        overflow-wrap: anywhere;
        padding: 6px 8px;
    }
    .ecowheels-card-option.is-unavailable { color: var(--eco-muted); }
    .ecowheels-card-options__more { align-items: center; color: var(--eco-primary); display: inline-flex; font-size: 13px; min-height: 44px; }
    .ecowheels-card-option:focus-visible,
    .ecowheels-card-options__more:focus-visible { outline: 3px solid var(--eco-focus); outline-offset: 2px; }
    .ecowheels-card-option:active { background: var(--eco-selected); }
    .ecowheels-catalog-discovery { border-radius: 14px; padding: 18px 14px; }
    .ecowheels-catalog-discovery__eyebrow { display: none; }
    .ecowheels-finder.ecowheels-catalog-discovery { margin-bottom: 16px; }
    .ecowheels-finder .ecowheels-catalog-discovery__heading { gap: 12px; margin-bottom: 12px; }
    .ecowheels-finder .ecowheels-catalog-discovery__heading h1,
    .ecowheels-finder .ecowheels-catalog-discovery__heading h2 { font-size: 23px; line-height: 1.2; }
    body.term-wheels-and-rims .ecowheels-catalog-scope { display: none; }
    .ecowheels-finder-keyword { margin-bottom: 12px; }
    .ecowheels-finder .ecowheels-finder-keyword input[type=search],
    .ecowheels-finder-keyword .ecowheels-catalog-apply { height: 46px; min-height: 46px; }
    .ecowheels-finder-toolbar { flex-wrap: nowrap; gap: 8px; padding-bottom: 12px; }
    .ecowheels-finder-toolbar > .ecowheels-catalog-types { flex: 1 1 auto; flex-basis: auto; }
    .ecowheels-finder-toolbar > .ecowheels-finder-panel { flex: 0 0 auto; margin-left: 0; }
    .ecowheels-finder .ecowheels-catalog-filter-status {
        clip: rect(0, 0, 0, 0);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }
    .ecowheels-catalog-filter-actions { align-items: flex-end; margin-top: 0; }
    .ecowheels-catalog-filter-actions a { align-items: center; display: inline-flex; font-size: 12px; min-height: 44px; }
    .ecowheels-catalog-active { gap: 5px; margin: 0 0 12px; }
    .ecowheels-catalog-active > span { font-size: 11px; padding: 5px 8px; }
    body.ecowheels-catalog-listing .woocommerce-ordering { display: none; }
    .ecowheels-catalog-types { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .ecowheels-catalog-type { flex-shrink: 0; }
    .ecowheels-finder .ecowheels-catalog-facets { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ecowheels-catalog-brand { min-width: 0; }
    .ecowheels-finder .ecowheels-catalog-wheel-group { display: block; order: 0; }
    .ecowheels-finder .ecowheels-catalog-wheel-group legend { float: none; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
    .ecowheels-finder .ecowheels-catalog-wheel-group > div { display: flex; }
    .ecowheels-catalog-wheel-group label { flex: 1; }
    .ecowheels-finder .ecowheels-catalog-wheel-group span { min-height: 44px; min-width: 0; padding: 11px 6px; white-space: nowrap; }
    .ecowheels-finder .ecowheels-finder-keyword input[type=search],
    .ecowheels-catalog-discovery input,
    .ecowheels-catalog-discovery select { font-size: 16px; }
    .ecowheels-catalog-discovery button,
    .ecowheels-catalog-discovery a,
    .ecowheels-card-option,
    .ecowheels-whatsapp-button { touch-action: manipulation; }
}
