.sf-home-category {
    background: #fff;
}

.sf-home-category .category__content {
    align-items: flex-start;
}

.sf-home-category .sf-home-category__layout {
    margin-top: 1.2rem;
}

.sf-home-category .category__content-sidebar {
    flex: 0 0 28rem;
    margin-right: 2.4rem;
    max-width: 28rem;
    padding-top: 0;
    width: 28rem;
}

.sf-home-category .category__content-main {
    min-width: 0;
}

@media screen and (min-width: 992px) {
    .sf-home-category .sf-home-category__layout {
        align-items: start;
        column-gap: 2.4rem;
        display: grid;
        grid-template-columns: 28rem minmax(0, 1fr);
    }

    .sf-home-category .sf-home-category__sidebar {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin-right: 0;
    }

    .sf-home-category .sf-home-category__main {
        grid-column: 2;
        grid-row: 1;
        max-width: none;
        width: auto;
    }

    .sf-home-category .category__description {
        grid-column: 2;
        grid-row: 2;
        margin-left: 0 !important;
        max-width: none;
        width: 100% !important;
    }

    .sf-home-category.sf-home-category--no-sidebar .sf-home-category__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-home-category.sf-home-category--no-sidebar .sf-home-category__main,
    .sf-home-category.sf-home-category--no-sidebar .category__description {
        grid-column: 1;
    }
}

.sf-home-category__hero {
    background: #f6f5f6;
    border-radius: 8px;
    min-height: 360px;
    overflow: hidden;
    position: relative;
}

.sf-home-category__hero::before {
    background: rgba(255, 255, 255, .9);
    content: '';
    inset: 0 auto 0 0;
    position: absolute;
    width: 56%;
    z-index: 1;
}

.sf-home-category__hero-image {
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    width: 100%;
}

.sf-home-category__hero--image .sf-home-category__hero-image,
.sf-home-category__hero--parent-image .sf-home-category__hero-image {
    object-position: 70% center;
}

.sf-home-category__hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
    padding: 3.2rem 3.6rem;
    position: relative;
    width: 52%;
    z-index: 1;
}

.sf-home-category__eyebrow {
    color: #72117f;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.sf-home-category__hero h1 {
    color: #28152f;
    font-size: 4.6rem;
    font-weight: 600;
    line-height: 1.08;
    margin: 0 0 1.4rem;
}

.sf-home-category__lead {
    color: #514854;
    font-size: 1.6rem;
    line-height: 1.55;
    margin: 0;
    max-width: 58rem;
}

.sf-home-category__facts {
    display: flex;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.sf-home-category__facts li {
    border-left: 1px solid rgba(81, 72, 84, .22);
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0 1.4rem;
}

.sf-home-category__facts li:first-child {
    border-left: 0;
    padding-left: 0;
}

.sf-home-category__facts strong {
    color: #28152f;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.sf-home-category__facts span {
    color: #6d6570;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-top: .3rem;
}

.sf-home-category__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.4rem;
}

.sf-home-category__actions:empty {
    display: none;
}

.sf-home-category__button {
    align-items: center;
    border: 1px solid #4c0b63;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 600;
    justify-content: center;
    min-height: 4.6rem;
    padding: 0 2.2rem;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.sf-home-category__button--primary {
    background: #4c0b63;
    color: #fff;
}

.sf-home-category__button--primary:hover,
.sf-home-category__button--primary:focus-visible {
    background: #72117f;
    border-color: #72117f;
    color: #fff;
}

.sf-home-category__button--secondary {
    background: #fff;
    color: #4c0b63;
}

.sf-home-category__button--secondary:hover,
.sf-home-category__button--secondary:focus-visible {
    background: #f7eff9;
    color: #4c0b63;
}

.sf-home-category__section {
    margin-top: 2.6rem;
}

.sf-home-category__section-heading {
    align-items: center;
    display: flex;
    gap: 1.2rem;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.sf-home-category__section-heading h2 {
    color: #28152f;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.sf-home-category__section-heading a {
    color: #8d169c;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
}

.sf-home-category__section-heading a:hover,
.sf-home-category__section-heading a:focus-visible {
    color: #4c0b63;
    text-decoration: underline;
}

.sf-home-category__section-tools,
.sf-home-carousel-controls {
    align-items: center;
    display: flex;
    gap: .6rem;
    position: relative;
    z-index: 2;
}

.sf-home-category__section-tools {
    margin-left: auto;
}

.sf-home-carousel-controls[hidden] {
    display: none;
}

.sf-home-carousel-controls button {
    align-items: center;
    background: #fff;
    border: 1px solid #ded6e1;
    border-radius: 50%;
    color: #741281;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 3.6rem;
    font-size: 1.8rem;
    height: 3.6rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
    width: 3.6rem;
}

.sf-home-carousel-controls button:hover,
.sf-home-carousel-controls button:focus-visible {
    background: #741281;
    border-color: #741281;
    color: #fff;
}

.sf-home-carousel-controls button:disabled {
    background: #f5f2f6;
    border-color: #ebe6ed;
    color: #aaa2ad;
    cursor: default;
}

.sf-home-category__subcategory-list,
.sf-home-category__purpose-list,
.sf-home-category__type-list {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 0 .8rem;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sf-home-category__subcategory-list::-webkit-scrollbar,
.sf-home-category__purpose-list::-webkit-scrollbar,
.sf-home-category__type-list::-webkit-scrollbar {
    display: none;
}

.sf-home-category__subcategory,
.sf-home-category__purpose,
.sf-home-category__type {
    background: #fff;
    border: 1px solid #e9e5eb;
    border-radius: 8px;
    color: #302733;
    display: block;
    outline: 2px solid transparent;
    outline-offset: -2px;
    overflow: hidden;
    scroll-snap-align: start;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.sf-home-category__subcategory {
    flex: 0 0 calc((100% - 4.8rem) / 5);
    min-width: 17rem;
}

.sf-home-category__purpose {
    flex: 0 0 calc((100% - 6rem) / 6);
    min-width: 15rem;
}

.sf-home-category__subcategory:hover,
.sf-home-category__subcategory:focus-visible,
.sf-home-category__purpose:hover,
.sf-home-category__purpose:focus-visible,
.sf-home-category__type:hover,
.sf-home-category__type:focus-visible {
    border-color: #b34abb;
    box-shadow: 0 0 0 1px #b34abb inset, 0 7px 18px rgba(76, 11, 99, .08);
    color: #4c0b63;
    outline-color: #b34abb;
}

.sf-home-category__subcategory img {
    display: block;
    height: 11rem;
    object-fit: cover;
    width: 100%;
}

.sf-home-category__subcategory-copy {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-height: 6.2rem;
    padding: 1rem 1.1rem;
}

.sf-home-category__subcategory-copy strong {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
}

.sf-home-category__subcategory-copy small {
    color: #7c7380;
    font-size: 1.1rem;
    line-height: 1.25;
}

.sf-home-category__purpose img,
.sf-home-category__type img {
    display: block;
    height: 8.8rem;
    object-fit: cover;
    width: 100%;
}

.sf-home-category__purpose span,
.sf-home-category__type span {
    align-items: center;
    display: flex;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
    min-height: 5.2rem;
    padding: .9rem 1rem;
}

.sf-home-category__type-list {
    min-width: 0;
}

.sf-home-category__type {
    flex: 0 0 calc((100% - 8.4rem) / 8);
    min-width: 12rem;
}

.sf-home-category__type img {
    height: 8rem;
}

.sf-home-category__type span {
    min-height: 4.4rem;
}

.sf-home-category__products {
    scroll-margin-top: 2rem;
}

.sf-home-category.sf-infinite-scroll-enabled .block__pagination-more {
    display: none !important;
}

.sf-home-infinite-scroll {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 1px;
    width: 100%;
}

.sf-home-infinite-scroll span {
    color: #766d79;
    display: none;
    font-size: 1.25rem;
    padding: 1.6rem 1rem;
}

.sf-home-category.sf-infinite-scroll-loading .sf-home-infinite-scroll span {
    align-items: center;
    display: inline-flex;
    gap: .8rem;
}

.sf-home-category.sf-infinite-scroll-loading .sf-home-infinite-scroll span::before {
    animation: sf-home-infinite-spin .8s linear infinite;
    border: 2px solid #e2d9e5;
    border-radius: 50%;
    border-top-color: #8d169c;
    content: '';
    height: 1.8rem;
    width: 1.8rem;
}

.sf-home-category.sf-infinite-scroll-failed .block__pagination-more {
    display: block !important;
}

@keyframes sf-home-infinite-spin {
    to {
        transform: rotate(360deg);
    }
}

.sf-home-category__products .products__toolbar {
    margin-top: 2.8rem;
}

.sf-home-category__products .products__toolbar-inner {
    gap: 1.2rem;
}

.sf-home-category__products .products__toolbar-sorting {
    min-width: 0;
}

.sf-home-category__products .sort__view {
    max-width: 100%;
    overflow: hidden;
}

.sf-home-category__products .sort__view-list {
    background: #f5f2f6;
    border: 1px solid #e6e0e8;
    border-radius: 6px;
    gap: .2rem;
    max-width: 100%;
    overflow-x: auto;
    padding: .3rem;
    scrollbar-width: none;
}

.sf-home-category__products .sort__view-list::-webkit-scrollbar {
    display: none;
}

.sf-home-category__products .sort__view-item,
.sf-home-category__products .sort__view-item:last-of-type {
    flex: 0 0 auto;
    margin: 0;
}

.sf-home-category__products .sort__view-item a {
    border-radius: 4px;
    color: #6d6570;
    font-size: 1.2rem;
    font-weight: 600;
    height: 3.4rem;
    padding: 0 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.sf-home-category__products .sort__view-item.selected a {
    background: #fff;
    box-shadow: 0 1px 5px rgba(54, 31, 61, .12);
    color: #72117f;
}

.sf-home-category__products .sort__view-item a:hover,
.sf-home-category__products .sort__view-item a:focus-visible {
    color: #4c0b63;
}

.sf-home-view-switch {
    align-items: center;
    background: #f5f2f6;
    border: 1px solid #e6e0e8;
    border-radius: 6px;
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
    padding: .3rem;
}

.sf-home-view-switch__button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: #6d6570;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 600;
    gap: .6rem;
    height: 3.4rem;
    justify-content: center;
    padding: 0 1rem;
    white-space: nowrap;
}

.sf-home-view-switch__button svg {
    fill: none;
    height: 1.7rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1.7rem;
}

.sf-home-view-switch__button.is-active {
    background: #fff;
    box-shadow: 0 1px 5px rgba(54, 31, 61, .12);
    color: #72117f;
}

.sf-home-view-switch__button:hover,
.sf-home-view-switch__button:focus-visible {
    color: #4c0b63;
}

.sf-home-category.sf-home-view-list .products__list {
    display: block;
    margin: 0;
}

.sf-home-category.sf-home-view-list .products__list-item {
    margin: 0 0 1.2rem;
    padding: 0;
    width: 100%;
}

.sf-home-category.sf-home-view-list .products__item {
    height: auto;
    margin: 0;
}

.sf-home-category.sf-home-view-list .products__item-overlay {
    display: grid;
    gap: .7rem 1.8rem;
    grid-template-areas:
        "image name offers"
        "image specs offers"
        "image stock offers";
    grid-template-columns: 21rem minmax(0, 1fr) 19rem;
    grid-template-rows: auto auto 1fr;
    left: 0;
    min-height: 22rem;
    padding: 1.5rem;
    top: 0;
    width: 100%;
}

.sf-home-category.sf-home-view-list .products__item:hover .products__item-overlay {
    box-shadow: inset 0 0 0 1px #eee;
    left: 0;
    padding: 1.5rem;
    top: 0;
    width: 100%;
}

.sf-home-category.sf-home-view-list .products__item-images {
    grid-area: image;
    min-width: 0;
}

.sf-home-category.sf-home-view-list .products__item-gallery {
    margin: 0;
    padding: 0;
}

.sf-home-category.sf-home-view-list .products__item-image {
    height: 19rem;
    padding: 0;
}

.sf-home-category.sf-home-view-list .products__item-features {
    display: none;
}

.sf-home-product-specs {
    display: none;
}

.sf-home-category.sf-home-view-list .sf-home-product-specs {
    align-content: start;
    display: grid;
    gap: .8rem 1.6rem;
    grid-area: specs;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: .4rem 0 0;
    min-width: 0;
}

.sf-home-category.sf-home-view-list .sf-home-product-spec {
    border-bottom: 1px solid #eee9ef;
    min-width: 0;
    padding-bottom: .7rem;
}

.sf-home-category.sf-home-view-list .sf-home-product-spec dt {
    color: #857d88;
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0 0 .2rem;
}

.sf-home-category.sf-home-view-list .sf-home-product-spec dd {
    color: #302733;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    overflow-wrap: anywhere;
}

.sf-home-category.sf-home-view-list .products__item-name {
    grid-area: name;
    margin: 0;
}

.sf-home-category.sf-home-view-list .products__item-name a {
    font-size: 1.6rem;
    height: auto;
    line-height: 1.35;
}

.sf-home-category.sf-home-view-list .products__item-stock,
.sf-home-category.sf-home-view-list .products__item-cutstats {
    align-self: end;
    grid-area: stock;
    margin: 0;
}

.sf-home-category.sf-home-view-list .products__item-offers {
    align-self: stretch;
    border-left: 1px solid #eee;
    display: flex;
    flex-direction: column;
    grid-area: offers;
    justify-content: center;
    padding-left: 1.8rem;
}

.sf-home-category.sf-home-view-list .products__item-buy,
.sf-home-category.sf-home-view-list .products__item-cutting,
.sf-home-category.sf-home-view-list .products__item-fullprice {
    display: block;
}

.sf-home-category .category__description {
    margin-left: auto;
    width: calc(100% - 30.4rem);
}

.sf-home-category.sf-home-category--no-sidebar .category__description {
    width: 100%;
}

@media screen and (max-width: 1320px) {
    .sf-home-category__hero-content {
        padding: 2.8rem;
        width: 58%;
    }

    .sf-home-category__hero h1 {
        font-size: 4rem;
    }

}

@media screen and (max-width: 991px) {
    .sf-home-category .category__content-sidebar {
        flex-basis: auto;
        margin-right: 0;
        max-width: none;
        width: auto;
    }

    .sf-home-category__hero,
    .sf-home-category__hero-content {
        min-height: 390px;
    }

    .sf-home-category__hero::before {
        width: 72%;
    }

    .sf-home-category__hero-image {
        object-position: 66% center;
        opacity: .33;
    }

    .sf-home-category__hero-content {
        padding: 3rem;
        width: 70%;
    }

    .sf-home-category__hero h1 {
        font-size: 4.2rem;
    }

    .sf-home-category .category__description {
        width: 100%;
    }

    .sf-home-category.sf-home-view-list .products__item-overlay {
        grid-template-columns: 18rem minmax(0, 1fr);
        grid-template-areas:
            "image name"
            "image specs"
            "image stock"
            "image offers";
    }

    .sf-home-category.sf-home-view-list .products__item-offers {
        border-left: 0;
        border-top: 1px solid #eee;
        padding: 1rem 0 0;
    }
}

@media screen and (max-width: 768px) {
    .sf-home-category__products .products__toolbar-inner {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .sf-home-view-switch {
        margin-left: 0;
    }

    .sf-home-category__subcategory,
    .sf-home-category__purpose,
    .sf-home-category__type {
        flex-basis: 15rem;
    }

    .sf-home-category__purpose img,
    .sf-home-category__type img {
        height: 9rem;
    }

    .sf-home-category__purpose span,
    .sf-home-category__type span {
        min-height: 5rem;
    }

    .sf-home-carousel-controls button {
        flex-basis: 3.4rem;
        height: 3.4rem;
        width: 3.4rem;
    }
}

@media screen and (max-width: 576px) {
    .sf-home-category .sf-home-category__layout {
        margin-top: 1rem;
    }

    .sf-home-category__section-heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .sf-home-category__section-tools {
        margin-left: 0;
        width: 100%;
    }

    .sf-home-category__section-tools .sf-home-carousel-controls {
        margin-left: auto;
    }

    .sf-home-view-switch {
        width: 100%;
    }

    .sf-home-view-switch__button {
        flex: 1 1 50%;
    }

    .sf-home-category.sf-home-view-list .products__item-overlay {
        display: grid;
        gap: .8rem;
        grid-template-areas:
            "image"
            "name"
            "specs"
            "stock"
            "offers";
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .sf-home-category.sf-home-view-list .products__item-image {
        height: 22rem;
    }

    .sf-home-category.sf-home-view-list .sf-home-product-specs {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-home-category__hero,
    .sf-home-category__hero-content {
        min-height: 430px;
    }

    .sf-home-category__hero-image {
        object-position: 68% center;
        opacity: 1;
    }

    .sf-home-category__hero::before {
        background: rgba(255, 255, 255, .86);
        width: 100%;
    }

    .sf-home-category__hero-content {
        justify-content: flex-end;
        padding: 2.2rem 1.8rem;
        width: 100%;
    }

    .sf-home-category__eyebrow {
        font-size: 1.1rem;
    }

    .sf-home-category__hero h1 {
        font-size: 3.4rem;
    }

    .sf-home-category__lead {
        font-size: 1.45rem;
    }

    .sf-home-category__facts {
        display: grid;
        gap: 1rem 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .sf-home-category__facts li {
        padding: 0 .8rem;
    }

    .sf-home-category__facts strong {
        font-size: 1.3rem;
    }

    .sf-home-category__facts span {
        font-size: 1rem;
    }

    .sf-home-category__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .sf-home-category__button {
        font-size: 1.25rem;
        min-height: 4.4rem;
        padding: 0 1rem;
        text-align: center;
    }

    .sf-home-category__section {
        margin-top: 2.2rem;
    }

    .sf-home-category__section-heading h2 {
        font-size: 1.9rem;
    }

    .sf-home-category__section-heading a {
        font-size: 1.15rem;
    }

    .sf-home-category__subcategory {
        flex-basis: 17rem;
    }

    .sf-home-category__subcategory img {
        height: 10rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-home-category__button,
    .sf-home-category__subcategory,
    .sf-home-category__purpose,
    .sf-home-category__type {
        scroll-behavior: auto;
        transition: none;
    }
}
