.tt-six-brand-section {
    /* Flatsome gives the finder and product sections separate stacking contexts. */
    position: relative;
    z-index: 2;
}

.tt-six-brands {
    margin: 0 auto;
    padding: 8px 0 12px;
    color: #17191d;
}

.tt-six-brands > h2 {
    margin: 0 0 12px;
    text-align: center;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.15;
}

.tt-three-three-brand-section .tt-six-brands {
    padding: clamp(16px, 3vw, 28px);
    border-radius: 14px;
    background: #fff;
}

.tt-six-brands__picker {
    max-width: 900px;
    margin: 0 auto;
}

.tt-six-brands__lead,
.tt-six-brands__totals {
    margin: 0;
    text-align: center;
}

.tt-six-brands__lead {
    font-size: 1.125rem;
    font-weight: 600;
}

.tt-six-brands__totals {
    margin-bottom: 20px;
    color: #51565f;
}

.tt-six-brands__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tt-six-brands button {
    margin: 0;
    font: inherit;
    text-transform: none;
    letter-spacing: normal;
}

.tt-six-brands .tt-six-brands__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 58px;
    padding: 10px 14px;
    border: 1px solid #d8dadd;
    border-radius: 12px;
    background: #fff;
    color: #17191d;
    text-align: start;
    line-height: 1.3;
    overflow-wrap: anywhere;
    scroll-margin-top: 100px;
}

.tt-six-brands .tt-six-brands__card:hover {
    border-color: #a11223;
    background: #fff7f8;
}

.tt-six-brands__count {
    flex: none;
    color: #51565f;
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
}

.tt-six-brands :is(summary, button, a, input):focus-visible {
    outline: 2px solid #a11223;
    outline-offset: 2px;
}

.tt-six-brands__more {
    margin: 14px 0 0;
    text-align: center;
}

.tt-six-brands__more > summary {
    display: inline list-item;
    padding: 10px 14px;
    color: #a11223;
    font-weight: 700;
    cursor: pointer;
}

.tt-six-brands__more > .tt-six-brands__grid {
    margin-top: 12px;
}

.tt-six-brands__panel {
    margin: 22px auto 0;
    padding: clamp(16px, 3vw, 26px);
    border: 1px solid #cdd0d6;
    border-radius: 16px;
    background: #fff;
    scroll-margin-top: 100px;
}

.tt-six-brands__panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.tt-six-brands__panel-header h3 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.tt-six-brands__panel-header h3:focus {
    outline: none;
}

.tt-six-brands [data-tt-six-reset] {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid #aeb2b8;
    border-radius: 50%;
    background: #fff;
    color: #17191d;
    font-size: 1.625rem;
    line-height: 1;
}

.tt-six-brands [data-tt-six-reset]:hover {
    border-color: #a11223;
    color: #a11223;
}

.tt-six-brands label {
    display: block;
    margin-bottom: 6px;
    color: #444952;
    font-size: .9375rem;
}

.tt-six-brands__autocomplete {
    position: relative;
}

.tt-six-brands__autocomplete::before {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 15px;
    width: 18px;
    background: center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444952' stroke-width='2.3' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E");
    content: "";
    pointer-events: none;
}

#tt-six-model {
    height: 48px;
    margin: 0;
    padding: 0 12px 0 42px;
    border: 1px solid #aeb2b8;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    color: #17191d;
    font-size: 1rem;
}

.tt-six-brands__autocomplete ul {
    position: absolute;
    z-index: 15;
    inset: calc(100% + 3px) 0 auto;
    max-height: 15rem;
    overflow: auto;
    margin: 0;
    padding: 3px;
    scroll-padding-top: 2.375rem;
    border: 1px solid #cdd0d6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px #17191d26;
    list-style: none;
}

.tt-six-brands__autocomplete ul[data-tt-six-match-count]::before {
    position: sticky;
    z-index: 1;
    top: -3px;
    display: block;
    padding: 7px 12px;
    border-bottom: 1px solid #e6e7ea;
    background: #fff;
    color: #444952;
    font-size: .875rem;
    font-weight: 600;
    content: attr(data-tt-six-match-count);
}

.tt-six-brands__autocomplete li {
    margin: 0;
    padding: 9px 12px;
    border-radius: 4px;
    color: #17191d;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.tt-six-brands__autocomplete li:hover,
.tt-six-brands__autocomplete li[aria-selected="true"] {
    background: #fff0f2;
    color: #81111e;
}

.tt-six-brands__notice {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff2d1;
    color: #3f3118;
    overflow-wrap: anywhere;
}

.tt-six-brands__notice a {
    display: inline-block;
    margin-inline-start: 8px;
    color: #951025;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tt-six-brands [hidden],
.tt-six-catalog [hidden] {
    display: none !important;
}

.tt-six-catalog__title {
    margin: 0 0 14px;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    overflow-wrap: anywhere;
}

#tt-six-measure {
    scroll-margin-top: 100px;
}

@media (max-width: 640px) {
    .tt-six-brands__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .tt-six-brands .tt-six-brands__card {
        min-height: 52px;
        padding: 8px 10px;
        font-size: .9rem;
    }

    .tt-six-brands__notice a {
        margin-inline-start: 0;
    }
}
