/* Storefront V2 — richer homepage product feeds. */
.sf-home-v2__product-section--offers,
.sf-home-v2__product-section--popular,
.sf-home-v2__product-section--featured {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.sf-home-v2__product-section--offers::before,
.sf-home-v2__product-section--popular::before,
.sf-home-v2__product-section--featured::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 18rem;
    height: 18rem;
    inset-inline-end: -7rem;
    top: -10rem;
    border-radius: 999px;
    pointer-events: none;
}

.sf-home-v2__product-section--offers {
    border-color: color-mix(in srgb, var(--brand-500) 24%, transparent) !important;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--brand-50) 76%, #fff), #fff 68%) !important;
}
.sf-home-v2__product-section--offers::before {
    background: color-mix(in srgb, var(--brand-500) 10%, transparent);
}
.sf-home-v2__product-section--offers .sf-home-v2__section-head small {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--brand-700);
}
.sf-home-v2__product-section--offers .sf-home-v2__section-head small::before {
    content: "";
    width: .48rem;
    height: .48rem;
    border-radius: 999px;
    background: var(--brand-500);
    box-shadow: 0 0 0 .28rem color-mix(in srgb, var(--brand-500) 10%, transparent);
}

.sf-home-v2__product-section--popular {
    background:
        linear-gradient(145deg, #fff, color-mix(in srgb, var(--brand-50) 35%, #fff)) !important;
}
.sf-home-v2__product-section--popular::before {
    background: color-mix(in srgb, var(--brand-700) 7%, transparent);
}
.sf-home-v2__product-section--popular .sf-home-v2__section-head h2::after {
    content: "↗";
    display: inline-block;
    margin-inline-start: .45rem;
    color: var(--brand-600);
    font-size: .72em;
    transform: translateY(-.08em);
}

.sf-home-v2__product-section--featured {
    border-style: dashed !important;
    border-color: color-mix(in srgb, var(--brand-500) 15%, transparent) !important;
}
.sf-home-v2__product-section--featured::before {
    background: color-mix(in srgb, var(--brand-100) 24%, transparent);
}

@media (max-width: 767px) {
    .sf-home-v2__product-section--offers,
    .sf-home-v2__product-section--popular,
    .sf-home-v2__product-section--featured {
        border-radius: 18px !important;
    }

    .sf-home-v2__product-section--offers::before,
    .sf-home-v2__product-section--popular::before,
    .sf-home-v2__product-section--featured::before {
        width: 12rem;
        height: 12rem;
        inset-inline-end: -6rem;
        top: -7rem;
    }
}

body[data-sf-personality="minimal"] .sf-home-v2__product-section--offers,
body[data-sf-personality="minimal"] .sf-home-v2__product-section--popular,
body[data-sf-personality="minimal"] .sf-home-v2__product-section--featured {
    background: #fff !important;
    border-style: solid !important;
    box-shadow: none !important;
}

body[data-sf-motion="off"] .sf-home-v2__product-section--offers .sf-home-v2__section-head small::before {
    box-shadow: none;
}
