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

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

.sf-home-category .category__content-sidebar {
    padding-top: 0;
}

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

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

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

.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__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: baseline;
    display: flex;
    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__purpose-list,
.sf-home-category__type-list {
    display: grid;
    gap: 1.2rem;
}

.sf-home-category__purpose-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sf-home-category__purpose,
.sf-home-category__type {
    background: #fff;
    border: 1px solid #e9e5eb;
    border-radius: 8px;
    color: #302733;
    display: block;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.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 7px 18px rgba(76, 11, 99, .08);
    color: #4c0b63;
    transform: translateY(-2px);
}

.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 {
    grid-template-columns: repeat(8, minmax(10rem, 1fr));
}

.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__products .products__toolbar {
    margin-top: 2.8rem;
}

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

@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: 1200px) and (min-width: 992px) {
    .sf-home-category__purpose-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sf-home-category__purpose {
        display: grid;
        grid-template-columns: 9rem minmax(0, 1fr);
    }

    .sf-home-category__purpose img {
        height: 7rem;
    }
}

@media screen and (max-width: 991px) {
    .sf-home-category__hero,
    .sf-home-category__hero-content {
        min-height: 390px;
    }

    .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%;
    }
}

@media screen and (max-width: 768px) {
    .sf-home-category__purpose-list,
    .sf-home-category__type-list {
        grid-auto-columns: 15rem;
        grid-auto-flow: column;
        grid-template-columns: none;
        overflow-x: auto;
        padding: 0 0 1rem;
        scroll-snap-type: x proximity;
    }

    .sf-home-category__purpose,
    .sf-home-category__type {
        display: block;
        scroll-snap-align: start;
    }

    .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;
    }
}

@media screen and (max-width: 576px) {
    .sf-home-category__hero,
    .sf-home-category__hero-content {
        min-height: 430px;
    }

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

    .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;
    }
}

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