html body.theme-sggearbox.catalog-category-view {
    background: #f0f0f0;
    color: #303030;
}

/* Category Page foundation shared by landing and product-listing modes. */
.sg-category-page {
    box-sizing: border-box;
    display: grid;
    font-family: var(--dichen-theme-font-family, Arial, Helvetica, sans-serif);
    font-size: 16px;
    grid-template-columns: minmax(0, 100%);
    justify-content: center;
    justify-items: center;
    line-height: 1.4;
    margin-inline: auto;
    width: 100%;
}

.sg-category-page button,
.sg-category-page summary,
.sg-category-page select,
.sg-category-page input {
    font-family: inherit;
}

.sg-category-page .sg-category-page__description {
    color: #212529;
    font-family: inherit;
    font-size: clamp(14px, calc(13.2958px + .1878vw), 16px);
    line-height: 1.48;
    margin: 18px 0 0;
}

.sg-category-page .sg-category-page__product-title {
    font-family: inherit;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;
    margin: 0;
}

.sg-category-page .sg-category-page__product-price {
    font-family: inherit;
    line-height: 1.4;
    margin: 0;
}

.sg-category-page .toolbar-amount {
    margin: 0;
}

html body.theme-sggearbox.catalog-category-view .sidebar-main,
html body.theme-sggearbox.catalog-category-view .sidebar-additional,
html body.theme-sggearbox.catalog-category-view .block-compare,
html body.theme-sggearbox.catalog-category-view .block-wishlist {
    display: none !important;
}

html body.theme-sggearbox.catalog-category-view .page-main {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin-inline: 0;
    max-width: none;
    padding-inline: 0;
    position: relative;
    width: 100%;
}

html body.theme-sggearbox.catalog-category-view .page-main > .sg-cta {
    margin-block-start: auto;
}

.sg-category-page__filter-trigger,
.sg-category-page__filter-backdrop,
.sg-category-filter__header {
    display: none;
}

/* Specification facets. */
.sg-category-filter__header h2 {
    color: #1B1B1B;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px;
}

.sg-category-filter__list {
    display: grid;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-category-filter__list li {
    margin: 0;
}

.sg-category-filter__options.is-filter-list-collapsed
    .sg-category-filter__group--overflow:not(.has-selection) {
    display: none;
}

body.theme-sggearbox.catalog-category-view .sg-category-filter__groups-toggle {
    appearance: none;
    background: #f5f5f5;
    border: 0;
    border-radius: 5px;
    box-sizing: border-box;
    color: #1B1B1B;
    cursor: pointer;
    display: block;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 16px 0 0;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms ease;
    width: 100%;
}

body.theme-sggearbox.catalog-category-view .sg-category-filter__groups-toggle:hover,
body.theme-sggearbox.catalog-category-view .sg-category-filter__groups-toggle:focus-visible {
    background: #eeeeee;
    color: #1B1B1B;
}

.sg-category-filter__group {
    background: transparent;
    border-bottom: 1px solid #d6d6d6;
    padding-block: 2px;
}

.sg-category-filter__group > summary {
    align-items: center;
    color: #212529;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: 700;
    justify-content: space-between;
    list-style: none;
    min-height: 48px;
    padding-inline: 0;
}

.sg-category-filter__group:has(.sg-category-filter__option.is-selected) > summary {
    color: #d50032;
}

.sg-category-filter__group > summary::-webkit-details-marker {
    display: none;
}

.sg-category-filter__group-icon {
    height: 12px;
    position: relative;
    width: 12px;
}

.sg-category-filter__group-icon::before,
.sg-category-filter__group-icon::after {
    background: #212529;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sg-category-filter__group-icon::before {
    height: 2px;
    width: 12px;
}

.sg-category-filter__group-icon::after {
    height: 12px;
    transition: transform 160ms ease;
    width: 2px;
}

.sg-category-filter__group:has(.sg-category-filter__option.is-selected) .sg-category-filter__group-icon::before,
.sg-category-filter__group:has(.sg-category-filter__option.is-selected) .sg-category-filter__group-icon::after {
    background: #d50032;
}

.sg-category-filter__group.is-open .sg-category-filter__group-icon::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.sg-category-filter__values {
    padding: 0;
}

.sg-category-filter__values > .sg-category-filter__list {
    box-sizing: border-box;
    max-height: 292px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block: 0 29px;
    padding-inline-end: 6px;
    scrollbar-gutter: stable;
    scrollbar-color: #d50032 transparent;
    scrollbar-width: thin;
}

.sg-category-filter__values > .sg-category-filter__list::-webkit-scrollbar {
    width: 6px;
}

.sg-category-filter__values > .sg-category-filter__list::-webkit-scrollbar-track {
    background: transparent;
}

.sg-category-filter__values > .sg-category-filter__list::-webkit-scrollbar-thumb {
    background: #d50032;
    border-radius: 999px;
}

.sg-category-filter__values > .sg-category-filter__list::-webkit-scrollbar-thumb:hover {
    background: #ad0029;
}

.sg-category-filter__values.collapse:not(.show) {
    display: none;
}

.sg-category-filter__values.collapsing {
    height: 0;
    overflow: hidden;
    transition: height .35s ease;
}

.sg-category-filter__option,
.sg-category-filter__option:visited {
    align-items: center;
    color: #212529;
    display: flex;
    font-size: 16px;
    gap: 8px;
    line-height: 1.35;
    padding-block: 5px;
    position: relative;
    text-decoration: none;
}

.sg-category-filter__option:not(.is-disabled) {
    cursor: pointer;
}

.sg-category-filter__option:hover,
.sg-category-filter__option:focus-visible,
.sg-category-filter__option.is-selected {
    color: #D50032;
}

.sg-category-filter__option.is-disabled {
    color: #999;
}

.sg-category-filter__option::before {
    background: transparent;
    border: 1.5px solid #757575;
    border-radius: 2px;
    box-sizing: border-box;
    content: "";
    flex: 0 0 16px;
    height: 16px;
    transition: background-color 160ms ease, border-color 160ms ease;
    width: 16px;
}

.sg-category-filter__option::after {
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    height: 10px;
    inset-inline-start: 5px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-62%) rotate(45deg) scale(.75);
    transform-origin: center;
    transition: opacity 140ms ease, transform 160ms ease;
    width: 6px;
}

.sg-category-filter__option:hover::before,
.sg-category-filter__option:focus-visible::before {
    border-color: #d50032;
}

.sg-category-filter__option.is-selected::before {
    background: #d50032;
    border-color: #d50032;
}

.sg-category-filter__option.is-selected::after {
    opacity: 1;
    transform: translateY(-62%) rotate(45deg) scale(1);
}

.sg-category-filter__option.is-disabled::before {
    border-color: #b7b7b7;
}

.sg-category-filter__count {
    color: #212529;
    font-size: 16px;
}

html body.theme-sggearbox.catalog-category-view .filter-current {
    border-bottom: 1px solid #e5e5e5;
    margin-block-end: 16px;
    padding-block-end: 16px;
}

html body.theme-sggearbox.catalog-category-view .filter-current .filter-label {
    color: #858585;
    font-size: 12px;
}

html body.theme-sggearbox.catalog-category-view .filter-current .filter-value {
    color: #1B1B1B;
    font-size: 14px;
    font-weight: 600;
}

.sg-category-page__applied-filters {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-block-end: 30px;
}

.sg-category-page__applied-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-category-page__applied-list li {
    margin: 0;
}

.sg-category-page__applied-chip,
.sg-category-page__applied-chip:visited {
    align-items: center;
    background: #f7f7f7;
    border-radius: 5px;
    color: #212529;
    display: inline-flex;
    font-size: 14px;
    gap: 4px;
    line-height: 1;
    padding: 6px 8px;
    text-decoration: none;
    box-shadow: 0 3px 12px rgb(0 0 0 / 6%);
}

.sg-category-page__applied-chip:hover,
.sg-category-page__applied-chip:focus-visible {
    color: #1B1B1B;
}

.sg-category-page__applied-remove {
    border-radius: 50%;
    flex: 0 0 16px;
    height: 16px;
    position: relative;
    transition: background-color 160ms ease, transform 180ms ease;
    width: 16px;
}

.sg-category-page__applied-remove::before,
.sg-category-page__applied-remove::after {
    background: #606060;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    top: 50%;
    transition: background-color 160ms ease;
    width: 8px;
}

.sg-category-page__applied-remove::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.sg-category-page__applied-remove::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.sg-category-page__applied-chip:hover .sg-category-page__applied-remove,
.sg-category-page__applied-chip:focus-visible .sg-category-page__applied-remove {
    background: #d50032;
    transform: rotate(90deg);
}

.sg-category-page__applied-chip:hover .sg-category-page__applied-remove::before,
.sg-category-page__applied-chip:hover .sg-category-page__applied-remove::after,
.sg-category-page__applied-chip:focus-visible .sg-category-page__applied-remove::before,
.sg-category-page__applied-chip:focus-visible .sg-category-page__applied-remove::after {
    background: #fff;
}

.sg-category-page__clear-all,
.sg-category-page__clear-all:visited {
    color: #1B1B1B;
    flex: 0 0 auto;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sg-category-page__clear-all:hover,
.sg-category-page__clear-all:focus-visible {
    color: #D50032;
}

/* Sorting and result controls. */
.sg-category-page.sg-category-page--listing .sg-category-page__results > .toolbar-products {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    gap: 20px;
    grid-column: 2;
    grid-row: 1;
    justify-content: space-between;
    justify-self: end;
    margin: 0 0 22px auto;
    padding: 0;
}

html body.theme-sggearbox.catalog-category-view .modes {
    display: none;
}

.sg-category-page.sg-category-page--listing .sg-category-page__results > .toolbar-products .toolbar-sorter {
    align-items: center;
    display: flex;
    margin-left: auto;
}

.sg-sorter {
    position: relative;
}

.sg-sorter > summary {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 10px;
    box-sizing: border-box;
    color: #1B1B1B;
    cursor: pointer;
    display: flex;
    font-size: clamp(14px, 1.25vw, 16px);
    gap: 4px;
    list-style: none;
    min-height: 44px;
    padding: 10px 16px;
    white-space: nowrap;
}

.sg-sorter > summary::-webkit-details-marker {
    display: none;
}

.sg-sorter > summary:focus {
    outline: 0;
}

.sg-sorter > summary:focus-visible {
    box-shadow: 0 0 0 2px #D50032;
    outline: 2px solid transparent;
}

.sg-sorter > summary strong {
    font-weight: 400;
}

.sg-sorter__icon {
    border-bottom: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    height: 9px;
    margin: 0 2px 5px 14px;
    transform: rotate(45deg);
    transition: transform 160ms ease, margin 160ms ease;
    width: 9px;
}

.sg-sorter[open] .sg-sorter__icon {
    margin-block: 4px 0;
    transform: rotate(225deg);
}

.sg-sorter__menu {
    background: #fff;
    border: 2px solid #bdbdbd;
    border-radius: 14px;
    box-sizing: border-box;
    display: grid;
    left: 0;
    list-style: none;
    margin: 12px 0 0;
    min-width: 260px;
    overflow: hidden;
    padding: 16px 0;
    position: absolute;
    top: 100%;
    z-index: 20;
}

.sg-sorter__menu li {
    margin: 0;
}

.sg-sorter__option,
.sg-sorter__option:visited {
    color: #1B1B1B;
    display: block;
    font-size: clamp(15px, 1.25vw, 17px);
    line-height: 1.25;
    padding: 12px 24px;
    text-decoration: none;
    white-space: nowrap;
}

.sg-sorter__option:hover,
.sg-sorter__option:focus-visible {
    background: #f5f5f5;
    color: #1B1B1B;
}

.sg-sorter__option.is-current,
.sg-sorter__option.is-current:visited,
.sg-sorter__option.is-current:hover,
.sg-sorter__option.is-current:focus-visible {
    background: #f5f5f5;
    color: #1B1B1B;
}

.sg-category-page__products {
    display: grid;
    gap: 16px;
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: 1fr;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Product and child-category cards. */
.sg-category-page__products > .sg-category-page__product {
    margin: 0;
    min-width: 0;
}

.sg-category-page__product {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 10px;
    box-sizing: border-box;
    display: grid;
    gap: clamp(24px, 3vw, 40px);
    grid-template-columns: minmax(190px, 2fr) minmax(0, 3fr);
    min-height: 224px;
    padding: 26px 30px;
    transition: box-shadow 260ms ease-out;
}

.sg-category-page__product-media .product-image-container,
.sg-category-page__product-media .product-image-wrapper {
    aspect-ratio: auto !important;
    display: block;
    height: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

.sg-category-page__product-media .product-image-photo {
    display: block;
    height: 100%;
    margin: 0;
    max-height: none;
    max-width: none;
    object-fit: contain;
    position: static;
    width: 100%;
}

.sg-category-page__product-title a,
.sg-category-page__product-title a:visited {
    color: #1B1B1B;
    text-decoration: none;
}

.sg-category-page__product-title a:hover,
.sg-category-page__product-title a:focus-visible {
    color: #D50032;
}

.sg-category-page__category-list {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-category-page__category-list > li {
    margin: 0;
    min-width: 0;
}

.sg-category-page__category:hover .sg-category-page__category-image,
.sg-category-page__category:focus-visible .sg-category-page__category-image {
    transform: scale(1.075);
    transition-delay: 110ms;
}

/* Compact result controls. */
@media (max-width: 767px) {
    .sg-category-page__applied-filters {
        align-items: stretch;
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-block: 0 30px;
        min-height: 0;
    }

    .sg-category-page__applied-list {
        gap: 10px;
        width: 100%;
    }

    .sg-category-page__applied-chip,
    .sg-category-page__applied-chip:visited {
        font-size: 13px;
        gap: 14px;
        padding: 8px 14px;
    }

    .sg-category-page__clear-all {
        align-self: flex-end;
    }

    .sg-category-page.sg-category-page--listing .toolbar-sorter {
        margin-left: auto;
    }

    .sg-sorter__menu {
        left: auto;
        right: 0;
    }

}

@media (prefers-reduced-motion: reduce) {
    .sg-category-page__sidebar,
    .sg-category-filter__group-icon::after,
    .sg-category-filter__values.collapsing,
    .sg-sorter__icon,
    .sg-category-page__product-media,
    .sg-category-page__product-title,
    .sg-category-page__product-price,
    .sg-category-page__product-details,
    .sg-category-page__category,
    .sg-category-page__category-image,
    .sg-category-page__category-description,
    .sg-category-page__product {
        transition: none;
    }
}

/* Landing-page layout. */
.sg-category-page--landing {
    --sg-category-header-margin-block-start: clamp(24px, calc(21.1831px + .7512vw), 32px);
    --sg-category-header-max-width: 1100px;
    --sg-category-header-padding-inline-end: 24px;
    --sg-category-header-padding-inline-start: 24px;
    --sg-category-list-margin-block-end: clamp(32px, calc(9.4648px + 6.0094vw), 96px);
    --sg-category-list-margin-block-start: clamp(24px, calc(21.1831px + .7512vw), 32px);
    --sg-category-list-max-width: 980px;
    --sg-category-list-padding-inline-end: 24px;
    --sg-category-list-padding-inline-start: 24px;
}

.sg-category-page__header {
    margin-block-end: var(--sg-category-header-margin-block-end, 0);
    margin-block-start: var(--sg-category-header-margin-block-start, 0);
    margin-inline-end: var(--sg-category-header-margin-inline-end, auto);
    margin-inline-start: var(--sg-category-header-margin-inline-start, auto);
    max-width: var(--sg-category-header-max-width, none);
    padding-inline-end: var(--sg-category-header-padding-inline-end, 0);
    padding-inline-start: var(--sg-category-header-padding-inline-start, 0);
    width: 100%;
}

.sg-category-page--landing .sg-category-page__header {
    align-items: center;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
    padding-block-end: var(--sg-category-header-padding-block-end, 0);
    padding-block-start: var(--sg-category-header-padding-block-start, 0);
}

.sg-category-page--listing .sg-category-page__header {
    padding-block-end: var(--sg-category-header-padding-block-end, 0);
    padding-block-start: var(--sg-category-header-padding-block-start, 0);
}

.sg-category-page--listing .sg-category-page__description {
    max-width: 720px;
}

.sg-category-page__intro {
    min-width: 0;
}

.sg-category-page__header h1 {
    color: #212529;
    font-size: clamp(28px, calc(25.1831px + .7512vw), 36px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin: 0;
}

.sg-category-page--landing .sg-category-page__header h1 {
    font-size: clamp(32px, calc(26.3662px + 1.5023vw), 48px);
}

.sg-category-page__hero {
    aspect-ratio: 16 / 9;
    display: block;
    height: auto;
    margin: 0;
    max-height: 340px;
    mix-blend-mode: multiply;
    object-fit: contain;
    width: 100%;
}

.sg-category-page__categories {
    margin-block-end: var(--sg-category-list-margin-block-end, 0);
    margin-block-start: var(--sg-category-list-margin-block-start, 0);
    margin-inline-end: var(--sg-category-list-margin-inline-end, auto);
    margin-inline-start: var(--sg-category-list-margin-inline-start, auto);
    max-width: var(--sg-category-list-max-width, none);
    padding-block-end: var(--sg-category-list-padding-block-end, 0);
    padding-block-start: var(--sg-category-list-padding-block-start, 0);
    padding-inline-end: var(--sg-category-list-padding-inline-end, 0);
    padding-inline-start: var(--sg-category-list-padding-inline-start, 0);
    width: 100%;
}

.sg-category-page__bottom-toolbar {
    grid-column: 1 / -1;
    grid-row: 4;
}

.sg-category-page__category,
.sg-category-page__category:visited {
    align-items: center;
    background: #fff;
    border-top: 3px solid transparent;
    border-radius: 8px;
    box-sizing: border-box;
    color: #212529;
    display: grid;
    gap: clamp(28px, 5vw, 72px);
    grid-template-columns: minmax(240px, 38%) minmax(0, 1fr);
    min-height: 300px;
    padding: 28px clamp(34px, 5vw, 68px);
    text-decoration: none;
    transition: border-top-color 160ms ease-out, box-shadow 260ms ease-out;
}

.sg-category-page__category-image {
    aspect-ratio: 16 / 9;
    background: transparent;
    display: block;
    height: auto;
    object-fit: contain;
    transition: transform 360ms cubic-bezier(.2, .8, .2, 1);
    width: 100%;
    will-change: transform;
}

.sg-category-page__category-details {
    align-self: stretch;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-block-start: clamp(36px, 4vw, 56px);
}

.sg-category-page__category-title {
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.06;
    margin: 0;
}

.sg-category-page__category-description {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #212529;
    display: -webkit-box;
    font-size: 14px;
    line-clamp: 3;
    line-height: 1.45;
    margin-block-start: 18px;
    max-height: 4.35em;
    overflow: hidden;
    transition-behavior: normal, allow-discrete;
    transition-delay: 0ms, 520ms;
    transition-duration: 520ms, 0ms;
    transition-property: max-height, -webkit-line-clamp;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1), linear;
    will-change: max-height;
}

.sg-category-page__category-link {
    color: #d50032;
    font-size: clamp(14px, calc(13.2958px + .1878vw), 16px);
    font-weight: 600;
}

.sg-category-page__category-link::after {
    content: " ›";
}

.sg-category-page__category:hover,
.sg-category-page__category:focus-visible {
    border-top-color: #d50032;
    box-shadow: 0 7px 35px rgb(0 0 0 / 10%);
}

.sg-category-page__category:hover .sg-category-page__category-description,
.sg-category-page__category:focus-visible .sg-category-page__category-description {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: var(--sg-category-description-expanded-height, 20em);
    transition-delay: 30ms, 30ms;
}

/* Leaf-category catalog layout. */
.sg-category-page--listing .sg-category-page__catalog {
    align-items: start;
    box-sizing: border-box;
    display: grid;
    gap: 48px;
    grid-template-columns: 220px minmax(0, 1fr);
    margin-block-end: var(--sg-category-catalog-margin-block-end, 0);
    margin-block-start: var(--sg-category-catalog-margin-block-start, 0);
    margin-inline-end: var(--sg-category-catalog-margin-inline-end, auto);
    margin-inline-start: var(--sg-category-catalog-margin-inline-start, auto);
    max-width: var(--sg-category-catalog-max-width, 100%);
    padding-block-end: var(--sg-category-catalog-padding-block-end, 0);
    padding-block-start: var(--sg-category-catalog-padding-block-start, 0);
    padding-inline-end: var(--sg-category-catalog-padding-inline-end, 0);
    padding-inline-start: var(--sg-category-catalog-padding-inline-start, 0);
    width: 100%;
}

.sg-category-page--listing .sg-category-page__sidebar,
.sg-category-page--listing .sg-category-page__results {
    grid-column: auto;
}

.sg-category-page--listing.sg-category-page--without-sidebar .sg-category-page__catalog {
    grid-template-columns: minmax(0, 1fr);
}

.sg-category-page--listing.sg-category-page--without-sidebar .sg-category-page__results {
    grid-column: 1;
}

@media (min-width: 768px) {
    .sg-category-page--listing .sg-category-page__sidebar {
        align-self: start;
        position: sticky;
        top: 88px;
    }
}

.sg-category-page__sidebar::before {
    color: #212529;
    content: 'Filters';
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-block-end: 14px;
}

.sg-category-filter__panel {
    height: auto;
}

.sg-category-filter__body {
    height: auto;
    padding: 0;
}

.sg-category-filter__options {
    border: 0;
}

.sg-category-filter__group > summary > span:first-child {
    font-size: 16px;
    font-weight: 500;
}

.sg-category-filter__group-heading {
    align-items: center;
    display: inline-flex;
    gap: 2px;
}

.sg-category-filter__selection-count {
    align-items: center;
    background: #d50032;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 14px;
    font-size: 8px;
    font-weight: 500;
    height: 14px;
    justify-content: center;
    line-height: 1;
    transform: translateY(-4px);
    width: 14px;
}

.sg-category-filter__selection-count[hidden] {
    display: none;
}

.sg-category-page__results {
    display: grid;
    grid-template-columns: 1fr auto;
    min-width: 0;
}

.sg-category-page--listing .sg-category-page__results > .sg-category-page__empty {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
}

.sg-category-page__product:hover,
.sg-category-page__product:focus-within {
    border-color: transparent;
    box-shadow: 0 7px 35px rgb(0 0 0 / 10%);
}

.sg-category-page__product-media {
    align-items: center;
    aspect-ratio: 16 / 10;
    background: transparent;
    box-sizing: border-box;
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 170px;
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.sg-category-page__product-media .product-image-container {
    max-width: 100%;
    min-width: 0;
}

.sg-category-page__product-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sg-category-page__product-body {
    align-items: start;
    display: grid;
    flex: 1;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) 150px;
    padding-block-start: 18px;
}

.sg-category-page__product-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
}

.sg-category-page__product-heading {
    align-items: center;
    border-bottom: 1px solid #dedede;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 38px;
    padding-block-end: 11px;
}

.sg-category-page__product-price {
    align-items: baseline;
    display: flex;
    flex: 0 0 auto;
    font-size: 14px;
    gap: 8px;
    margin: 0;
}

.sg-category-page__product-price > span:first-child {
    color: #8b8b8b;
    font-size: 13px;
    text-transform: uppercase;
}

.sg-category-page__product-price .price,
.sg-category-page__product-price strong {
    color: #1c1e20;
    font-size: 15px;
    font-weight: 700;
}

.sg-category-page__filter-trigger {
    display: none;
}

/* Tablet and mobile listing layout. */
@media (max-width: 1023px) {
    html body.theme-sggearbox.catalog-category-view .page-main {
        width: 100%;
    }

    .sg-category-page--landing .sg-category-page__header {
        display: block;
        min-height: 0;
        padding-block-end: var(--sg-category-header-padding-block-end, 0);
        padding-block-start: var(--sg-category-header-padding-block-start, 0);
    }

    .sg-category-page__hero {
        margin-block-start: 20px;
        max-height: 300px;
    }

    .sg-category-page__category,
    .sg-category-page__category:visited {
        gap: 30px;
        grid-template-columns: 42% minmax(0, 1fr);
        min-height: 250px;
        padding: 24px 30px;
    }

    .sg-category-page--listing .sg-category-page__header {
        padding-block-end: var(--sg-category-header-padding-block-end, 0);
        padding-block-start: var(--sg-category-header-padding-block-start, 0);
    }

    .sg-category-page--listing .sg-category-page__catalog {
        display: block;
    }

    body.theme-sggearbox.catalog-category-view .sg-category-page__filter-trigger {
        align-items: center;
        background: #fff;
        border: 1px solid #d9d9d9;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgb(0 0 0 / 4%);
        color: #212529;
        cursor: pointer;
        display: flex;
        font-size: 14px;
        font-weight: 600;
        gap: 8px;
        grid-column: 1;
        grid-row: 1;
        justify-content: center;
        justify-self: start;
        margin: 0 0 20px;
        min-height: 44px;
        padding-inline: 16px;
        transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
        width: auto;
    }

    body.theme-sggearbox.catalog-category-view .sg-category-page__filter-trigger:hover,
    body.theme-sggearbox.catalog-category-view .sg-category-page__filter-trigger:focus-visible {
        background: #fff;
        border-color: #d50032;
        box-shadow: 0 4px 14px rgb(0 0 0 / 8%);
        color: #d50032;
    }

    .sg-category-page.sg-category-page--listing .sg-category-page__results > .toolbar-products {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        margin: 0 0 20px auto;
    }

    .sg-category-page__filter-icon {
        color: #d50032;
        display: block;
        flex: 0 0 14px;
        height: 14px;
        position: relative;
        width: 14px;
    }

    .sg-category-page__filter-icon::before {
        background: currentColor;
        clip-path: polygon(0 0, 100% 0, 62% 45%, 62% 100%, 38% 100%, 38% 45%);
        content: "";
        height: 12px;
        inset: 1px 0 auto;
        position: absolute;
        width: 14px;
    }

    .sg-category-page--listing .sg-category-page__sidebar {
        background: #fff;
        box-shadow: -12px 0 35px rgb(0 0 0 / 18%);
        box-sizing: border-box;
        display: block;
        height: 100dvh;
        inset: 0 0 0 auto;
        max-width: 420px;
        overflow: hidden;
        padding: 0;
        position: fixed;
        transform: translateX(105%);
        transition: transform 240ms ease;
        width: min(100%, 420px);
        z-index: 1002;
    }

    .sg-category-page__sidebar::before {
        display: none;
    }

    .sg-category-page__sidebar.is-open {
        transform: translateX(0);
    }

    .sg-category-filter__panel {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        height: 100%;
    }

    .sg-category-filter__header {
        align-items: center;
        display: flex;
        justify-content: space-between;
        min-height: 72px;
        padding-inline: 20px;
    }

    .sg-category-filter__header h2 {
        font-size: 20px;
        margin: 0;
    }

    .sg-category-filter__close {
        background: transparent;
        border: 0;
        cursor: pointer;
        flex: 0 0 40px;
        height: 40px;
        padding: 0;
        position: relative;
        width: 40px;
    }

    .sg-category-filter__close::before,
    .sg-category-filter__close::after {
        background: #1B1B1B;
        content: "";
        height: 2px;
        left: 10px;
        position: absolute;
        top: 19px;
        width: 20px;
    }

    .sg-category-filter__close::before {
        transform: rotate(45deg);
    }

    .sg-category-filter__close::after {
        transform: rotate(-45deg);
    }

    .sg-category-filter__body {
        overflow-y: auto;
        padding: 20px;
    }

    .sg-category-page__filter-backdrop {
        background: rgb(0 0 0 / 48%);
        border: 0;
        display: block;
        inset: 0;
        padding: 0;
        position: fixed;
        z-index: 1001;
    }

    .sg-category-page__filter-backdrop[hidden] {
        display: none;
    }

    body.sg-filter-drawer-open {
        overflow: hidden;
    }

    .sg-category-page__product {
        gap: 18px;
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        min-height: 0;
    }

    .sg-category-page__product-body {
        display: block;
        padding-block-start: 14px;
    }

    .sg-category-page__product-actions {
        grid-template-columns: 1fr;
        margin-block-start: 14px;
    }

}

@media (max-width: 767px) {
    html body.theme-sggearbox.catalog-category-view .page-main {
        width: 100%;
    }

    .sg-category-page--landing .sg-category-page__header,
    .sg-category-page--listing .sg-category-page__header {
        padding-block-end: var(--sg-category-header-padding-block-end, 0);
        padding-block-start: var(--sg-category-header-padding-block-start, 0);
    }

    .sg-category-page--landing .sg-category-page__header {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .sg-category-page--landing .sg-category-page__hero {
        order: -1;
        width: 100%;
    }

    .sg-category-page__header h1 {
        font-size: 28px;
    }

    .sg-category-page .sg-category-page__description {
        margin-block-start: 15px;
    }

    .sg-category-page__hero {
        margin-block-start: 16px;
        max-height: 210px;
    }

    .sg-category-page__category-list {
        gap: 14px;
    }

    .sg-category-page__category,
    .sg-category-page__category:visited {
        display: block;
        padding: 20px;
    }

    .sg-category-page__category-image {
        aspect-ratio: 16 / 10;
        margin-block-end: 18px;
    }

    .sg-category-page__category-title {
        font-size: 22px;
    }

    .sg-category-page__category-details {
        padding-block-start: 0;
    }

    body.theme-sggearbox.catalog-category-view .sg-category-page__filter-trigger {
        margin-block-end: 14px;
    }

    .sg-category-page__results {
        grid-template-columns: 1fr auto;
    }

    .sg-category-page.sg-category-page--listing .sg-category-page__results > .toolbar-products {
        margin-block-end: 14px;
    }

    .sg-category-page__product {
        display: block;
        padding: 18px 14px;
    }

    .sg-category-page__product-media {
        aspect-ratio: 16 / 9;
        height: auto;
        margin-block-end: 16px;
        min-height: 0;
    }

    .sg-category-page__product-heading {
        display: block;
    }

    .sg-category-page .sg-category-page__product-title {
        font-size: 14px;
    }

    .sg-category-page .sg-category-page__product-price {
        margin-block-start: 4px;
    }

    .sg-category-page__product-actions {
        display: grid;
        gap: 8px;
        grid-template-columns: 1fr;
    }

    .sg-category-page__bottom-toolbar {
        grid-row: 5;
        margin-block-start: 12px;
    }

}

@media (max-width: 380px) {
    .sg-category-page__results {
        grid-template-columns: minmax(0, 1fr);
    }

    body.theme-sggearbox.catalog-category-view .sg-category-page__filter-trigger {
        grid-column: 1;
        grid-row: 1;
        justify-self: stretch;
        margin-block-end: 10px;
        width: 100%;
    }

    .sg-category-page.sg-category-page--listing .sg-category-page__results > .toolbar-products {
        grid-column: 1;
        grid-row: 2;
        justify-self: stretch;
        margin: 0 0 14px;
        width: 100%;
    }

    .sg-category-page.sg-category-page--listing .toolbar-sorter,
    .sg-sorter,
    .sg-sorter > summary {
        width: 100%;
    }

    .sg-sorter > summary {
        justify-content: space-between;
    }

    .sg-category-page--listing .sg-category-page__results > .sg-category-page__applied-filters {
        grid-column: 1 / -1;
        grid-row: 3;
        min-width: 0;
        width: 100%;
    }

    .sg-category-page--listing .sg-category-page__results > .sg-category-page__products {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    .sg-category-page--listing .sg-category-page__results > .sg-category-page__empty {
        grid-row: 4;
    }
}
