/* ttf-brand-layer 1.0.1: mu-plugins/ttf-nav/assets/filters.css */
/*
 * TTF Nav: the product filters (ttf-nav/filters.php; designs docs/design/filters.md, docs/design/filter-bar.md).
 *
 * The bar above the products, where the theme's toolbar was (owner, 20 Oct: the filters "on top ... because we would
 * use more the space for products"): every filter as a button in one row that scrolls sideways (owner, on the first
 * build: "show all the filters on the bar with ability to scroll sideways"), arrows and a fade at its ends on a desktop
 * while there is more to see; then the count and "Sort by"; under it the applied filters. The theme's filter column
 * goes and the products take the full width. A filter button opens its values under it (.ttf-fbar__pop, filters.js
 * lends it the group's body from the panel), on phones too; a ticked filter carries its ×. On tablets the count and
 * "Sort by" sit on the line under the buttons; on phones (no buttons) they make a quiet line of their own, the applied
 * filters grey under it. The panel (.ttf-f, every filter) slides in from
 * the left when the phone bottom bar's "Filter" opens it (owner: "its two filters option"). Loaded where the bar
 * replaces Filter Everything's widget (body class ttf-f-on), and on the listings without filters (car, car × category,
 * make and model pages; owner, 26 Oct), where the bar (.ttf-fbar--plain) holds the search, the count and "Sort by" in
 * the same row and look.
 * Class prefixes ttf-fbar (the bar), ttf-f (the panel, a filter's values), ttf-fc (the applied filters).
 */

.ttf-fbar {
    --ttf-f-ink: var(--color-text-primary, #212529);
    --ttf-f-muted: var(--color-text-description, #868E96);
    --ttf-f-line: var(--color-info-dark, #DEE2E6);
    --ttf-f-soft: var(--color-info-light, #F1F3F5);
    --ttf-f-red: var(--color-primary, #FF2A00);
    --ttf-f-font: var(--theme-primary-font, "Manrope", sans-serif);
    position: relative;
    margin: 0 0 1.25rem;
    color: var(--ttf-f-ink);
    /* The bottom bar's "Filter" scrolls the bar into view, clear of the sticky header. */
    scroll-margin-top: 6rem;
}

/* ---- The page: no filter column, the products the full width ---------------------------------------------------- */

.ttf-f-on .content-wrapper > .secondary-column { display: none !important; }
@media (min-width: 992px) {
    .ttf-f-on .content-wrapper > .primary-column { flex: 0 0 100%; width: 100%; max-width: 100%; padding-left: 15px; }
}
/* Three a row on tablets, four from 992 px (the theme's), five from 1,200 px. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .ttf-f-on .primary-column > .products:not(.large-list) > * { flex: 0 0 33.3333%; max-width: 33.3333%; }
}
@media (min-width: 1200px) {
    .ttf-f-on .primary-column > .products:not(.large-list) > * { flex: 0 0 20%; max-width: 20%; }
}

/* ---- The bar: the filter buttons, the count, "Sort by" ----------------------------------------------------------- */

.ttf-fbar__row {
    display: flex;
    align-items: center;
    gap: .5rem 1rem;
    padding: 0 0 .85rem;
    border-bottom: 1px solid var(--ttf-f-line);
}

/* The row of buttons scrolls sideways; its ends fade while there is more that way. */
.ttf-fbar__scroll { position: relative; flex: 1 1 0; min-width: 0; }
.ttf-fbar__pills {
    display: flex;
    gap: .5rem;
    padding: 2px 1px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-padding-inline: 2.75rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ttf-fbar__pills::-webkit-scrollbar { display: none; }
.ttf-fbar__scroll::before,
.ttf-fbar__scroll::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    width: 3.5rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
}
.ttf-fbar__scroll::before { left: 0; background: linear-gradient(90deg, #fff 35%, rgba(255, 255, 255, 0)); }
.ttf-fbar__scroll::after { right: 0; background: linear-gradient(270deg, #fff 35%, rgba(255, 255, 255, 0)); }
.ttf-fbar__scroll.has-prev::before,
.ttf-fbar__scroll.has-next::after { opacity: 1; }

/* A filter: a pill holding its button (name, chevron) and, while ticked, its × (owner, 20 Oct: "the option to clear the
   filter on the filter itself with an X"). A desktop: white with a thin line, the ink; open, a grey fill; ticked, an ink
   line and the number ticked, the × in place of the chevron. Phones: the category bubbles' grey (below). */
.ttf-fbar__chip,
.ttf-fbar .ttf-fbar__sort select {
    display: inline-flex;
    align-items: center;
    flex: none;
    height: 2.5rem;
    border: 1px solid var(--ttf-f-line);
    border-radius: 999px;
    background-color: #fff;
    color: var(--ttf-f-ink);
    transition: border-color .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.ttf-fbar__chip:hover,
.ttf-fbar .ttf-fbar__sort select:hover { border-color: var(--ttf-f-ink); background-color: #fff; color: var(--ttf-f-ink); }
.ttf-fbar__chip.is-open { border-color: var(--ttf-f-ink); background-color: var(--ttf-f-soft); }
.ttf-fbar__chip.is-on { border-color: var(--ttf-f-ink); box-shadow: inset 0 0 0 .5px var(--ttf-f-ink); }
.ttf-fbar button.ttf-fbar__pill,
.ttf-fbar .ttf-fbar__sort select {
    gap: .45rem;
    margin: 0;
    padding: 0 .85rem 0 1rem;
    font: 600 .875rem/1 var(--ttf-f-font);
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
}
.ttf-fbar button.ttf-fbar__pill {
    display: inline-flex;
    align-items: center;
    height: 100%;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
}
.ttf-fbar button.ttf-fbar__pill:hover { background: transparent; color: inherit; }
/* The ring 1 px outside the line: the button sits inside its pill's line, the select carries its own. */
.ttf-fbar button.ttf-fbar__pill:focus-visible,
.ttf-fbar button.ttf-fbar__clear:focus-visible { outline: 2px solid var(--ttf-f-red); outline-offset: 2px; }
.ttf-fbar .ttf-fbar__sort select:focus-visible { outline: 2px solid var(--ttf-f-red); outline-offset: 1px; }
.ttf-fbar button.ttf-fbar__clear {
    display: grid;
    place-items: center;
    flex: none;
    width: 1.65rem;
    height: 1.65rem;
    margin: 0 .45rem 0 -.15rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.ttf-fbar button.ttf-fbar__clear:hover { background: var(--ttf-f-soft); color: var(--ttf-f-red); }
.ttf-fbar button.ttf-fbar__pill::after {
    content: "";
    flex: none;
    width: .4rem;
    height: .4rem;
    margin: 0 .1rem 0 .15rem;
    border-right: 1.75px solid currentColor;
    border-bottom: 1.75px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .15s ease;
}
.ttf-fbar button.ttf-fbar__pill[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
/* Ticked: the × follows the number, in place of the chevron. */
.ttf-fbar button.ttf-fbar__pill.is-on { padding-right: .4rem; }
.ttf-fbar button.ttf-fbar__pill.is-on::after { display: none; }
/* A filter the other ticks leave empty keeps its place, greyed. */
.ttf-fbar__chip.is-off { color: #9AA1A8; }
.ttf-fbar__pc {
    display: inline-grid;
    place-items: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: var(--ttf-f-red);
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* The arrows at the row's ends while there is more that way (on a touch screen the row also scrolls under a finger). */
.ttf-fbar button.ttf-fbar__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    padding: 0;
    border: 1px solid var(--ttf-f-line);
    border-radius: 50%;
    background: #fff;
    color: var(--ttf-f-ink);
    box-shadow: 0 2px 8px rgba(33, 37, 41, .14);
    transform: translateY(-50%);
    cursor: pointer;
}
.ttf-fbar button.ttf-fbar__arrow:hover { border-color: var(--ttf-f-ink); background: #fff; color: var(--ttf-f-ink); }
.ttf-fbar button.ttf-fbar__arrow[hidden] { display: none; }
.ttf-fbar button.ttf-fbar__arrow.is-prev { left: 0; }
.ttf-fbar button.ttf-fbar__arrow.is-next { right: 0; }

/* The count and "Sort by", on the right. */
.ttf-fbar__n {
    flex: none;
    margin: 0 0 0 auto;
    color: var(--ttf-f-muted);
    font-size: .875rem;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ttf-fbar__sort { flex: none; margin: 0; }
.ttf-fbar__sort-l { display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: 400; cursor: pointer; }
.ttf-fbar__sort-i { display: none; }
.ttf-fbar__sort-k { color: var(--ttf-f-muted); font-size: .875rem; white-space: nowrap; }
.ttf-fbar .ttf-fbar__sort select {
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    min-width: 0;
    padding: 0 2.1rem 0 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='none' stroke='%23212529' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
}

/* ---- The panel the phone bottom bar's "Filter" opens: every filter, from the left, full height -------------------- */

.ttf-fbar .ttf-f[hidden] { display: none !important; }
.ttf-f {
    position: fixed;
    z-index: 100001;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: min(26.25rem, 100%);
    background: #fff;
    box-shadow: 12px 0 40px -12px rgba(33, 37, 41, .35);
    color: var(--ttf-f-ink);
    font-size: .9375rem;
    line-height: 1.35;
    transform: translateX(-102%);
    transition: transform .26s cubic-bezier(.2, .7, .2, 1);
}
.ttf-f.is-open { transform: none; }
.ttf-f__head {
    display: flex;
    flex: none;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1rem .8rem 1.25rem;
    border-bottom: 1px solid var(--ttf-f-line);
}
.ttf-f .ttf-f__title {
    --ttf-h2: 1.125rem; /* ttf-page-zoom.php sizes every h2 through this property */
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ttf-f-ink);
}
.ttf-f__count {
    display: inline-grid;
    place-items: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: var(--ttf-f-red);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.ttf-f__clear { margin-left: auto; color: var(--ttf-f-red); font-size: .8125rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ttf-f__clear:hover { text-decoration: underline; }
.ttf-f button.ttf-f__x {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: -.35rem -.25rem -.35rem 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ttf-f-soft);
    color: var(--ttf-f-ink);
    cursor: pointer;
}
.ttf-f button.ttf-f__x:hover { background: var(--ttf-f-line); color: var(--ttf-f-ink); }
.ttf-f__title + .ttf-f__x { margin-left: auto !important; }
.ttf-f__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 1.25rem; }
.ttf-f__none { margin: 1rem 0 0; color: var(--ttf-f-muted); }
.ttf-f__foot {
    display: flex;
    flex: none;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--ttf-f-line);
    background: #fff;
    box-shadow: 0 -6px 16px rgba(33, 37, 41, .06);
}
.ttf-f__foot-clear { color: var(--ttf-f-ink); font-weight: 600; text-decoration: underline; white-space: nowrap; }
.ttf-f button.ttf-f__show {
    flex: 1;
    height: 3rem;
    margin: 0;
    padding: 0 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--ttf-f-ink);
    color: #fff;
    font: 700 1rem/1 var(--ttf-f-font);
    cursor: pointer;
}
.ttf-f button.ttf-f__show:hover { background: #000; color: #fff; }
.ttf-f button.ttf-f__show.is-dirty { background: var(--ttf-f-red); }
.ttf-f button.ttf-f__show.is-dirty:hover { background: #d90429; }

/* A group in the panel: the header row (name, the ticked values while closed, the chevron), then its values. */
.ttf-f__g { border-bottom: 1px solid var(--ttf-f-line); }
.ttf-f__gh {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 3.25rem;
    padding: .55rem 0;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.ttf-f__gh::-webkit-details-marker { display: none; }
.ttf-f__gh::after {
    content: "";
    flex: none;
    width: .5rem;
    height: .5rem;
    margin: 0 .2rem 0 auto;
    border-right: 2px solid var(--ttf-f-muted);
    border-bottom: 2px solid var(--ttf-f-muted);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .15s ease;
}
.ttf-f__g[open] > .ttf-f__gh::after { transform: translateY(1px) rotate(-135deg); }
.ttf-f__gt { font-size: .9375rem; font-weight: 700; }
.ttf-f__g.is-on .ttf-f__gt::after {
    content: "";
    display: inline-block;
    width: .4rem;
    height: .4rem;
    margin-left: .4rem;
    border-radius: 50%;
    background: var(--ttf-f-red);
    vertical-align: middle;
}
.ttf-f__gs { min-width: 0; overflow: hidden; color: var(--ttf-f-muted); font-size: .8125rem; text-overflow: ellipsis; white-space: nowrap; }
.ttf-f__g[open] .ttf-f__gs { display: none; }
.ttf-f__gh:hover .ttf-f__gt { color: var(--ttf-f-red); }
.ttf-f__gh:focus-visible { outline: 2px solid var(--ttf-f-red); outline-offset: 2px; border-radius: 4px; }
.ttf-f .ttf-f__gb { padding: 0 0 .85rem; }
/* "Show all N" / "Show fewer" in the panel; under a filter button every value shows. */
.ttf-f__opts > li.x { display: none; }
.ttf-f__opts.is-all > li.x,
.ttf-f__opts.is-q > li.x,
.ttf-fbar__pop .ttf-f__opts > li.x { display: block; }
.ttf-fbar button.ttf-f__all {
    display: inline-flex;
    height: auto;
    margin: .35rem 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--ttf-f-red);
    font: 600 .8125rem/1.4 var(--ttf-f-font);
    cursor: pointer;
}
.ttf-fbar button.ttf-f__all:hover { background: none; text-decoration: underline; }
.ttf-f__opts.is-q + .ttf-f__all,
.ttf-fbar__pop .ttf-f__all { display: none !important; }
/* A category's subcategories in the panel (owner, 24 Oct: "a button to expand/contract the category right where the
   "number of products" ... is"): an arrow at the end of its row, the groups' own; the counts stand in one column beside
   the arrows, the rows without one keeping its room. The subcategories of a closed category hide; a search shows its
   matches all the same. Under a filter button (tablets, desktops) every value shows, as before, and no arrow. */
.ttf-fbar button.ttf-f__sub { display: none; }
.ttf-f .ttf-f__opts.is-tree > li { position: relative; }
.ttf-f .ttf-f__opts.is-tree label { padding-right: 3rem; }
.ttf-f .ttf-f__opts > li.is-shut { display: none; }
.ttf-f .ttf-f__opts.is-q > li.is-shut { display: block; }
.ttf-fbar .ttf-f button.ttf-f__sub {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 3rem;
    height: auto;
    margin: 0;
    padding: 0 .2rem 0 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    cursor: pointer;
}
.ttf-fbar .ttf-f button.ttf-f__sub::before {
    content: "";
    flex: none;
    width: .5rem;
    height: .5rem;
    border-right: 2px solid var(--ttf-f-muted);
    border-bottom: 2px solid var(--ttf-f-muted);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .15s ease;
}
.ttf-f .ttf-f__opts > li.is-open > button.ttf-f__sub::before { transform: translateY(1px) rotate(-135deg); }
.ttf-fbar .ttf-f button.ttf-f__sub:hover { background: none; }
@media (hover: hover) {
    .ttf-fbar .ttf-f button.ttf-f__sub:hover::before { border-color: var(--ttf-f-red); }
}
.ttf-fbar .ttf-f button.ttf-f__sub:focus-visible { outline: 2px solid var(--ttf-f-red); outline-offset: -2px; border-radius: 4px; }
.ttf-f .ttf-f__opts.is-q button.ttf-f__sub { visibility: hidden; }

/* ---- A filter's values, under its button ------------------------------------------------------------------------ */

.ttf-fbar__pop {
    position: absolute;
    z-index: 60;
    top: 3.25rem;
    left: 0;
    display: flex;
    flex-direction: column;
    width: min(21.5rem, calc(100vw - 2rem));
    max-height: min(32rem, calc(100vh - 8rem));
    border: 1px solid var(--ttf-f-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 44px -14px rgba(33, 37, 41, .3), 0 2px 6px rgba(33, 37, 41, .06);
    color: var(--ttf-f-ink);
    font-size: .875rem;
    line-height: 1.35;
}
.ttf-fbar__pop[hidden] { display: none; }
.ttf-fbar__pop-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .9rem 1rem .35rem; }
.ttf-fbar__pop-foot {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .7rem 1rem .8rem;
    border-top: 1px solid var(--ttf-f-line);
}
.ttf-fbar__pop button.ttf-fbar__pop-clear {
    height: auto;
    margin: 0;
    padding: .35rem 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--ttf-f-ink);
    font: 600 .875rem/1.2 var(--ttf-f-font);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.ttf-fbar__pop button.ttf-fbar__pop-clear:hover { background: none; color: var(--ttf-f-red); }
.ttf-fbar__pop button.ttf-fbar__pop-clear[disabled] { opacity: .4; cursor: default; text-decoration: none; }
.ttf-fbar__pop button.ttf-fbar__pop-go {
    height: 2.5rem;
    margin: 0;
    padding: 0 1.15rem;
    border: 0;
    border-radius: 999px;
    background: var(--ttf-f-ink);
    color: #fff;
    font: 700 .875rem/1 var(--ttf-f-font);
    cursor: pointer;
}
.ttf-fbar__pop button.ttf-fbar__pop-go:hover { background: #000; color: #fff; }
.ttf-fbar__pop button.ttf-fbar__pop-go.is-dirty { background: var(--ttf-f-red); }
.ttf-fbar__pop button.ttf-fbar__pop-go.is-dirty:hover { background: #d90429; }

/* The values: a tick box, the name, the count. */
.ttf-f__gb { padding: 0; }
.ttf-f__opts { margin: 0; padding: 0; list-style: none; }
.ttf-f__opts > li { margin: 0; padding: 0; }
.ttf-f__opts > li[hidden] { display: none !important; }
.ttf-f__opts > li[data-d="1"] { padding-left: 1.6rem; }
.ttf-f__opts > li[data-d="2"] { padding-left: 3.2rem; }
.ttf-f__opts label {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 2.25rem;
    margin: 0;
    padding: .2rem 0;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--ttf-f-ink);
    cursor: pointer;
}
.ttf-f__opts input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    flex: none;
    display: grid;
    place-content: center;
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    border: 1.5px solid #ADB5BD;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: background-color .12s ease, border-color .12s ease;
}
.ttf-f__opts input[type="checkbox"]::before {
    content: "";
    width: .65rem;
    height: .65rem;
    background: #fff;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transition: transform .12s ease;
}
.ttf-f__opts input[type="checkbox"]:checked { border-color: var(--ttf-f-red); background: var(--ttf-f-red); }
.ttf-f__opts input[type="checkbox"]:checked::before { transform: scale(1); }
.ttf-f__opts input[type="checkbox"]:focus-visible { outline: 2px solid var(--ttf-f-red); outline-offset: 2px; }
.ttf-f__opts label:hover input[type="checkbox"]:not(:checked) { border-color: var(--ttf-f-ink); }
.ttf-f__on { flex: 1; min-width: 0; overflow-wrap: anywhere; }
/* A value the other filters leave empty: greyed, at 0, not to be ticked; a line says why when none is left. */
.ttf-f__opts > li.is-off label { color: #9AA1A8; cursor: default; }
.ttf-f__opts > li.is-off input[type="checkbox"] { border-color: #DEE2E6; background: #F8F9FA; cursor: default; }
.ttf-f__opts > li.is-off .ttf-f__n { color: #ADB5BD; }
.ttf-f__offnote { margin: 0 0 .5rem; color: var(--ttf-f-muted); font-size: .8125rem; line-height: 1.35; }
.ttf-f__opts input:checked ~ .ttf-f__on { font-weight: 600; }
.ttf-f__n {
    flex: none;
    color: var(--ttf-f-muted);
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
}

/* The search box above long lists. */
.ttf-f__q { margin: 0 0 .5rem; }
.ttf-fbar .ttf-f__q input {
    width: 100%;
    height: 2.5rem;
    margin: 0;
    padding: 0 .75rem 0 2rem;
    border: 1px solid var(--ttf-f-line);
    border-radius: var(--theme-theme-radius-small, 8px);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%23868E96' d='M10 4a6 6 0 1 0 3.7 10.7l4.3 4.3 1.4-1.4-4.3-4.3A6 6 0 0 0 10 4zm0 2a4 4 0 1 1 0 8 4 4 0 0 1 0-8z'/%3E%3C/svg%3E") no-repeat .6rem 50%;
    font-size: .875rem;
    box-shadow: none;
}
.ttf-fbar .ttf-f__q input:focus { border-color: var(--ttf-f-ink); outline: 0; }

/* The price: the slider over two boxes, which stay for an exact amount (owner, 23 Oct on phones: "use a bar with sliding
   points for MIN and MAX price which filters those values after "show N results" click instead of the "go" button";
   24 Oct on desktops: "we should use the same style as the mobile with the bar and two dots"). No "Go": the range waits
   for "Show results" as the ticks do (filters.js). */
.ttf-f__price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .45rem; margin: 0; }
.ttf-f__price label { display: flex; flex: 1; flex-direction: column; gap: .2rem; min-width: 0; margin: 0; }
.ttf-f__price label > span { color: var(--ttf-f-muted); font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ttf-fbar .ttf-f__price input {
    width: 100%;
    height: 2.5rem;
    margin: 0;
    padding: 0 .6rem;
    border: 1px solid var(--ttf-f-line);
    border-radius: var(--theme-theme-radius-small, 8px);
    background: #fff;
    font-size: .875rem;
    font-variant-numeric: tabular-nums;
    box-shadow: none;
    -moz-appearance: textfield;
}
.ttf-f__price input::-webkit-outer-spin-button,
.ttf-f__price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ttf-fbar .ttf-f__price input:focus { border-color: var(--ttf-f-ink); outline: 0; }
.ttf-f__dash { padding-bottom: .55rem; color: var(--ttf-f-muted); }
/* Pages cached before 24 Oct still print a "Go" button; hidden until they expire. */
.ttf-fbar .ttf-f__price button.ttf-f__go { display: none; }

/* The price slider: a handle for the minimum and one for the maximum, two native range inputs laid over one bar; the
   track between the handles red, as a ticked box is. Handle centres run from end to end of the bar. */
.ttf-f__range { --ttf-f-thumb: 2rem; position: relative; display: block; flex: 0 0 100%; height: 3rem; margin: 0 0 .2rem; }
.ttf-f__track {
    position: absolute;
    top: 50%;
    left: calc(var(--ttf-f-thumb) / 2);
    right: calc(var(--ttf-f-thumb) / 2);
    height: 4px;
    margin-top: -2px;
    border-radius: 2px;
    background: var(--ttf-f-line);
}
.ttf-f__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--a, 0%);
    right: calc(100% - var(--b, 100%));
    border-radius: 2px;
    background: var(--ttf-f-red);
}
/* Beats the boxes' rules (.ttf-fbar .ttf-f__price input, and the taller one below 1024 px). */
.ttf-fbar .ttf-f__price input.ttf-f__r {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: var(--ttf-f-thumb);
    margin: calc(var(--ttf-f-thumb) / -2) 0 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    pointer-events: none;
}
.ttf-f__r::-webkit-slider-runnable-track { height: var(--ttf-f-thumb); border: 0; background: none; }
.ttf-f__r::-moz-range-track { height: var(--ttf-f-thumb); border: 0; background: none; }
.ttf-f__r::-webkit-slider-thumb {
    width: var(--ttf-f-thumb);
    height: var(--ttf-f-thumb);
    border: 2px solid var(--ttf-f-red);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
    cursor: pointer;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
}
.ttf-f__r::-moz-range-thumb {
    box-sizing: border-box;
    width: var(--ttf-f-thumb);
    height: var(--ttf-f-thumb);
    border: 2px solid var(--ttf-f-red);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
    cursor: pointer;
    pointer-events: auto;
}
.ttf-f__r:focus { outline: 0; }
.ttf-f__r:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--ttf-f-red); outline-offset: 2px; }
.ttf-f__r:focus-visible::-moz-range-thumb { outline: 2px solid var(--ttf-f-red); outline-offset: 2px; }

.ttf-f__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The backdrop behind the panel (the phone bottom bar's "Filter"), the page held still. */
.ttf-f-mask {
    position: fixed;
    z-index: 100000;
    inset: 0;
    background: rgba(17, 20, 24, .45);
}
.ttf-f-mask[hidden] { display: none; }
html.ttf-fbar-sheet,
html.ttf-fbar-sheet body { overflow: hidden; }

/* ---- The applied filters under the bar -------------------------------------------------------------------------- */

.ttf-fc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin: .85rem 0 0;
}
.ttf-fc button.ttf-fc__chip {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: .35rem;
    height: 2rem;
    margin: 0;
    padding: 0 .65rem 0 .8rem;
    border: 1px solid var(--color-info-dark, #DEE2E6);
    border-radius: 999px;
    background: #fff;
    color: var(--color-text-primary, #212529);
    font: 500 .8125rem/1 var(--theme-primary-font, "Manrope", sans-serif);
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .12s ease, color .12s ease;
}
.ttf-fc button.ttf-fc__chip:hover,
.ttf-fc button.ttf-fc__chip:focus-visible { border-color: var(--color-primary, #FF2A00); color: var(--color-primary, #FF2A00); background: #fff; }
.ttf-fc__k { color: var(--color-text-description, #868E96); }
.ttf-fc__v { font-weight: 700; }
.ttf-fc__chip svg { flex: none; margin-left: .1rem; opacity: .7; }
.ttf-fc__clear {
    margin-left: .25rem;
    color: var(--color-primary, #FF2A00);
    font-size: .8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.ttf-fc__clear:hover { text-decoration: underline; }

/* The phone bottom bar's "Filter" carries the number applied, on its icon. */
.mobile-bottom-menu .filter-button { position: relative; }
.ttf-f-badge {
    position: absolute;
    top: .1rem;
    left: calc(50% + .45rem);
    display: inline-grid;
    place-items: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 .3rem;
    border-radius: 999px;
    background: var(--color-primary, #FF2A00);
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* ---- Phones and tablets: the buttons on their own line, the count and "Sort by" under them --------------------------- */

@media (max-width: 1023.98px) {
    /* The owner, 20 Oct, after trying both: the filters above the number of results and "Sort by". */
    .ttf-fbar__row { flex-wrap: wrap; gap: .6rem .75rem; padding-bottom: .7rem; }
    /* The row runs 16 px past the content on both sides, the first button in line with the content. */
    .ttf-fbar__scroll { flex: 0 0 calc(100% + 32px); max-width: none; margin: 0 -16px; }
    .ttf-fbar__pills { padding: 2px 16px; scroll-padding-inline: 16px; }
    .ttf-fbar__scroll::before { width: 3.5rem; }
    .ttf-fbar__scroll::after { width: 4rem; }
    /* The arrows on phones too (owner, 20 Oct: "we need to have some arrows indicating it can scroll sideways"): they
       say the row runs on, and scroll it on a tap. */
    .ttf-fbar button.ttf-fbar__arrow { width: 2.75rem; height: 2.75rem; }
    .ttf-fbar button.ttf-fbar__arrow.is-prev { left: 10px; }
    .ttf-fbar button.ttf-fbar__arrow.is-next { right: 10px; }
    /* The pills in the category bubbles' type and fill (ttf-category-bar.php's .tcb-chip: Manrope 13 px semibold on grey;
       owner, 20 Oct), 48 px high for a finger (44 and more under the page's zoom); ticked, dark with its ×. */
    .ttf-fbar__chip,
    .ttf-fbar .ttf-fbar__sort select { height: 3rem; border: 0; background-color: var(--ttf-f-soft); }
    .ttf-fbar__chip:hover,
    .ttf-fbar .ttf-fbar__sort select:hover { border: 0; background-color: #E6E9EC; }
    .ttf-fbar__chip.is-open { background-color: #E6E9EC; }
    .ttf-fbar__chip.is-on { background-color: var(--ttf-f-ink); box-shadow: none; color: #fff; }
    .ttf-fbar__chip.is-on button.ttf-fbar__clear:hover { background: rgba(255, 255, 255, .16); color: #fff; }
    .ttf-fbar button.ttf-fbar__pill,
    .ttf-fbar .ttf-fbar__sort select { font-size: .8125rem; letter-spacing: -.03px; }
    .ttf-fbar button.ttf-fbar__pill { padding: 0 1rem 0 1.1rem; }
    .ttf-fbar button.ttf-fbar__pill.is-on { padding-right: .45rem; }
    .ttf-fbar button.ttf-fbar__clear { width: 2rem; height: 2rem; margin-right: .5rem; }
    .ttf-fbar__n { margin: 0; font-size: .8125rem; }
    .ttf-fbar__sort { margin-left: auto; }
    .ttf-fbar__sort-k { display: none; }
    .ttf-fbar__sort-l { position: relative; display: block; }
    .ttf-fbar__sort-i { position: absolute; top: 50%; left: .85rem; display: block; transform: translateY(-50%); pointer-events: none; }
    .ttf-fbar .ttf-fbar__sort select { padding: 0 2rem 0 2.4rem; }
    /* The values open under the row as on a desktop (owner, 20 Oct: "do the mobile selection similar to the desktop"),
       the bar's full width. */
    .ttf-fbar__pop { left: 0 !important; right: 0; width: auto; max-height: min(62vh, 30rem); }
    .ttf-f__opts label { min-height: 2.9rem; font-size: .9375rem; }
    .ttf-f__opts input[type="checkbox"] { width: 1.3rem; height: 1.3rem; }
    .ttf-fbar .ttf-f__q input,
    .ttf-fbar .ttf-f__price input { height: 2.9rem; font-size: 1rem; }
    .ttf-fbar__pop button.ttf-fbar__pop-go { height: 2.75rem; padding: 0 1.25rem; font-size: .9375rem; }
    .ttf-fc {
        flex-wrap: nowrap;
        margin: .5rem -16px 0;
        padding: 0 16px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
        mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    }
    .ttf-fc::-webkit-scrollbar { display: none; }
    .ttf-fc__clear { padding-right: 28px; }
}

/* ---- Phones (the theme's bottom bar, below 768 px): the filters from its "Filter" alone ---------------------------- */

@media (max-width: 767.98px) {
    /* Owner, 20 Oct: "on mobile, lets keep only the filters on the bottom button.. lets remove the one we just added".
       Only where that "Filter" is there to open the panel (ttf-mobile-bar-early-bind.php hides it on a page without the
       theme's sidebar); the count and "Sort by" then share one line. Tablets keep the row: the bar ends at 768 px. */
    body:has(.filtered-sidebar):has(.mobile-bottom-menu .filter-button) .ttf-fbar__scroll { display: none; }
    /* The strip under the breadcrumb (owner, 24 Oct: "this section is a bit too busy ... I like the idea to put the
       filter right in front of the user where he can simply remove each that is selected but at same time I want ot
       make this more fluent"): the count and "Sort by" one quiet line with no rule under it, the total alone ("38
       results"), "Sort by" as text, its icon and chevron hugging the choice (field-sizing: older browsers keep the
       select as wide as its longest choice). */
    .ttf-fbar__row { padding-bottom: 0; border-bottom: 0; }
    .ttf-fbar__n { font-size: .875rem; }
    .ttf-fbar__n-range { display: none; }
    .ttf-fbar__sort-i { left: 0; }
    .ttf-fbar .ttf-fbar__sort select {
        field-sizing: content;
        height: 2.75rem;
        padding: 0 1.45rem 0 1.75rem;
        background-color: transparent;
        background-position: right 0 center;
        font-size: .875rem;
    }
    .ttf-fbar .ttf-fbar__sort select:hover { background-color: transparent; }
    /* The applied filters right under it, in the category bubbles' grey with no line, the filter's name small above its
       value (Baymard: on a shop of specifications the filter type, secondary, above the option), the × at the end;
       "Clear all" from two on (with one, its × does the same). */
    .ttf-fc { margin-top: .35rem; }
    .ttf-fc button.ttf-fc__chip {
        display: inline-grid;
        grid-template-columns: auto auto;
        grid-template-areas: "k x" "v x";
        align-content: center;
        gap: 1px .5rem;
        height: 2.75rem;
        padding: 0 .6rem 0 .95rem;
        border: 0;
        background: var(--color-info-light, #F1F3F5);
        text-align: left;
    }
    .ttf-fc button.ttf-fc__chip:hover { background: #E6E9EC; color: var(--color-text-primary, #212529); }
    .ttf-fc button.ttf-fc__chip:focus-visible {
        outline: 2px solid var(--color-primary, #FF2A00);
        outline-offset: -2px;
        background: var(--color-info-light, #F1F3F5);
        color: var(--color-text-primary, #212529);
    }
    /* The name a darker grey than the muted one, which reads 3.0:1 on the chip's grey (this: 4.8:1). */
    .ttf-fc__k { grid-area: k; color: #646B72; font-size: .75rem; font-weight: 400; line-height: 1; }
    .ttf-fc__c { display: none; }
    .ttf-fc__v { grid-area: v; font-size: .875rem; line-height: 1.15; }
    .ttf-fc__chip svg { grid-area: x; align-self: center; margin: 0; opacity: 1; }
    .ttf-fc:not(:has(.ttf-fc__chip ~ .ttf-fc__chip)) .ttf-fc__clear { display: none; }
}

/* ---- Loading ------------------------------------------------------------------------------------------------------ */

/* A tick is taken: the grid dims and a thin bar runs along the top until the new list arrives. */
.ttf-f-busy .products { opacity: .45; pointer-events: none; transition: opacity .15s ease; }
.ttf-f-busy body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100002;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary, #FF2A00), transparent);
    background-size: 40% 100%;
    background-repeat: no-repeat;
    animation: ttf-f-bar 1s linear infinite;
}
@keyframes ttf-f-bar {
    from { background-position: -40% 0; }
    to { background-position: 140% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .ttf-f-busy body::before { animation: none; background: var(--color-primary, #FF2A00); }
    .ttf-fbar__pills { scroll-behavior: auto; }
    .ttf-fbar__scroll::before, .ttf-fbar__scroll::after, .ttf-fbar button.ttf-fbar__pill::after, .ttf-f, .ttf-f__gh::after,
    .ttf-f__opts input[type="checkbox"], .ttf-f__opts input[type="checkbox"]::before,
    .ttf-fbar .ttf-f button.ttf-f__sub::before { transition: none; }
}
