/* Homepage surfaces only: catalogue cards, prices and commerce retain their styling. */
.onpc-home-modules {
    --home-surface-line: #dfe7f0;
    --home-surface-blue: #0f5bd7;
    background: #fff;
}
.onpc-home-modules > :is(.sf-home-section,.sf-product-showcase,.sf-promotion-strip,.site-mosaic-section,.site-banner-section,.homepage-custom-module,.home-business-packs,.bg-light) {
    position: relative;
    isolation: isolate;
    margin-block: 0;
    padding-block: clamp(32px, 4vw, 58px);
    border: 0;
    border-top: 1px solid var(--home-surface-line);
}
.onpc-home-modules > .sf-product-showcase {
    background: radial-gradient(ellipse at 100% 0, #eaf3fe80, transparent 55%), #fff;
}
.onpc-home-modules > .sf-product-showcase[data-showcase-source="new_products"] {
    background:
        linear-gradient(90deg, #0f5bd7, #79c8ef, transparent) top left / 200px 2px no-repeat,
        radial-gradient(ellipse at 100% 0, #dcecff99, transparent 60%),
        linear-gradient(120deg, #f7faff, #fff 70%);
}
.onpc-home-modules > .sf-product-showcase[data-showcase-source="recently_viewed"] {
    background: radial-gradient(ellipse at 0 100%, #e8eefa99, transparent 60%), #f7f9fc;
}
.onpc-home-modules > .sf-product-showcase[data-showcase-source="random_rotation"] {
    background: radial-gradient(ellipse at 100% 100%, #e1f2ed80, transparent 60%), #fbfdfc;
}
.onpc-home-modules > .sf-product-showcase.onpc-category-shelf {
    background:
        linear-gradient(90deg, transparent, #d8e6f5, transparent) top / 100% 1px no-repeat,
        radial-gradient(ellipse at 0 0, #e2effb99, transparent 62%), #f8fbfe;
}
.onpc-home-modules > .onpc-category-shelf:nth-of-type(even) {
    background: radial-gradient(ellipse at 100% 0, #def0e980, transparent 58%), #f8fcfb;
}
.onpc-home-modules > .sf-home-categories {
    background:
        radial-gradient(circle at 90% 0, #d7e9ff80, transparent 38%),
        linear-gradient(135deg, #f0f6fd, #fafcfe 65%);
}
.onpc-home-modules > .sf-home-categories::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle, #8ca8c030 .8px, transparent 1px) 0 0 / 18px 18px;
    mask-image: linear-gradient(90deg, transparent 55%, #000);
}
.onpc-home-modules > .sf-popular-premium.bg-light {
    padding-block: clamp(36px, 5vw, 64px) !important;
    background:
        linear-gradient(90deg, #c7aa71, #eadfc6, transparent) top left / 200px 2px no-repeat,
        radial-gradient(ellipse at 90% 0, #eddfc866, transparent 60%),
        linear-gradient(135deg, #fcf9f3, #f5f3ee) !important;
}
.onpc-home-modules > .bg-light:not(.sf-popular-premium) {
    background: radial-gradient(ellipse at 0 0, #e0ebf780, transparent 60%), #f6f8fb !important;
}
.onpc-home-modules > .sf-promotion-strip {
    padding-block: 24px;
    background: linear-gradient(115deg, #edf4fe, #f7faff 60%, #edf7fa);
}
.onpc-home-modules .sf-promotion-strip__content {
    border: 1px solid #d8e4f3;
    background: #ffffffd9;
    box-shadow: 0 10px 28px -24px #18395488;
}
.onpc-home-modules > :is(.site-mosaic-section,.site-banner-section) {
    background: radial-gradient(ellipse at 50% 0, #edf3fa, transparent 65%), #fff;
}
.onpc-home-modules > .home-business-packs {
    background: radial-gradient(ellipse at 0 50%, #e6effb, transparent 55%), #f4f7fc;
}
.onpc-home-modules .home-business-packs .business-visual-hero {
    border: 1px solid #dbe5f0;
    border-radius: 22px;
    box-shadow: 0 20px 48px -30px #0c284b66;
}
.onpc-home-modules > .homepage-custom-module {
    background: radial-gradient(ellipse at 100% 0, #edf4fc, transparent 60%), #fafcfe;
}
.onpc-home-modules > .onpc-studio {
    padding-block: 12px;
    background: radial-gradient(ellipse at 50% 50%, #e8f2fd66, transparent 70%);
}
.onpc-home-modules > :is(.sf-product-showcase,.sf-home-section,.sf-popular-premium) :is(.sf-section-heading,.sf-top-products-heading,.heading) {
    border-color: #dce5f0;
}
@media (max-width: 575px) {
    .onpc-home-modules > :is(.sf-home-section,.sf-product-showcase,.sf-popular-premium.bg-light,.home-business-packs,.homepage-custom-module) {
        padding-block: 30px !important;
    }
    .onpc-home-modules .home-business-packs .business-visual-hero { border-radius: 16px; }
}
@media (forced-colors: active) {
    .onpc-home-modules > section { border-top: 1px solid CanvasText; }
    .onpc-home-modules > .sf-home-categories::before { display: none; }
}
