.hobot-catalog__section h2 {
    margin-block: 0 20px;
}

.hobot-catalog__section + .hobot-catalog__section {
    margin-block-start: 36px;
}

.hobot-imported-product main section:is(.genio-feature, .genio-product-hero, .aboutm),
.hobot-imported-product main section:is(.genio-feature, .genio-product-hero, .aboutm) :is(h1, h2, h3, p, picture, img) {
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.genio-accessories-page .gac-orbs {
    display: none;
}

@media (max-width: 767px) {
    html body.hobot-imported-product.single-product.woocommerce main section:is(.genio-product-hero, .genio-feature) > picture:is(.genio-hero-mobile-art, .genio-feature__image, .genio-shared-art) {
        position: relative !important;
        inset: auto !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        aspect-ratio: 4 / 3 !important;
        overflow: hidden;
        margin: 0 !important;
        padding: 0 !important;
        background-color: inherit !important;
        background-image: var(--hobot-canvas-edges, none) !important;
        background-size: var(--hobot-canvas-edge-size, auto) !important;
        background-position: var(--hobot-canvas-edge-position, center) !important;
        background-repeat: no-repeat !important;
    }

    html body.hobot-imported-product.single-product.woocommerce main section:is(.genio-product-hero, .genio-feature) > picture:is(.genio-hero-mobile-art, .genio-feature__image, .genio-shared-art) > img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center !important;
        transform: none !important;
    }
}

@media (min-width: 768px) {
    .genio-standard-art__motion {
        position: absolute;
        z-index: 1;
        inset-block-start: 50%;
        inset-inline-end: 3.5%;
        display: block;
        width: 48%;
        height: auto;
        max-height: 87%;
        aspect-ratio: 16 / 9;
        object-fit: contain;
        border-radius: clamp(7px, 1vw, 18px);
        transform: translateY(-50%);
    }

    .genio-standard-art__motion[data-motion-style="left"] {
        inset-inline: 3.5% auto;
    }

}

/* Palette for imported products with explicitly light slide artwork. */
html body.hobot-imported-product.hobot-light-slides.single-product.woocommerce main
    section.bannerpage.genio-product-hero[data-genio-optimized-media] {
    background-color: #f8f9fa !important;
}

html body.hobot-imported-product.hobot-light-slides.single-product.woocommerce main
    section.bannerpage.genio-product-hero[data-genio-optimized-media] :is(
        .bannerpage__title p, .bannerpage__subtitle .genio-product-price,
        .bannerpage__subtitle .genio-product-price *, .bannerpage__buy > button.clickBuyButton
    ) {
    color: #182833 !important;
}

html body.hobot-imported-product.hobot-light-slides.single-product.woocommerce main
    section.bannerpage.genio-product-hero[data-genio-optimized-media] .bannerpage__subtitle > p.genio-hero-stock.is-in-stock,
html body.hobot-imported-product.hobot-light-slides.single-product.woocommerce main
    section.bannerpage.genio-product-hero[data-genio-optimized-media] .genio-hero-stock svg {
    color: #147d48 !important;
}

@media (max-width: 767px) {
    html body.hobot-imported-product.hobot-light-slides.single-product.woocommerce main
        section.bannerpage.genio-product-hero[data-genio-optimized-media] > .bannerpage__container {
        background: #f8f9fa !important;
    }
}

/* Product headings use the HOBOT brand color on light and dark slides. */
@layer genio-desktop-common {
    html body.single-product.woocommerce.wp-theme-genio.theme-genio main
    :is(h1, h2, h3, h4, h5, h6):not(:where(.parameterspage *, #genio-equipment-title)) {
        color: #00BFFF !important;
    }

    html body.single-product.woocommerce.wp-theme-genio.theme-genio main
    #genio-equipment-title {
        color: #182833 !important;
    }

    @media (min-width: 768px) {
        body.hobot-imported-product.single-product main section:is(.genio-feature, .genio-product-hero)[data-genio-slide-layout] {
            height: calc(var(--gs-width, 100vw) * 5 / 12) !important;
            min-height: 0 !important;
            display: flex !important;
            overflow: hidden !important;
        }

        body.hobot-imported-product.single-product main section.genio-product-hero[data-genio-slide-layout] {
            align-items: center !important;
        }

        body.hobot-imported-product.single-product main section.genio-feature[data-genio-slide-layout] {
            align-items: flex-start !important;
        }

        body.hobot-imported-product.single-product main section.genio-feature[data-genio-slide-layout] > .content__container {
            padding-block: clamp(24px, 5vw, 96px) 20px !important;
        }

        body.hobot-imported-product.single-product main section.genio-feature[data-genio-slide-layout]
        :is(.content__block, .content--right__block) h2 {
            font-size: calc(clamp(26px, 2.083333vw, 40px) * var(--gs-fit, 1)) !important;
        }

        body.hobot-imported-product.single-product main section.genio-feature[data-genio-slide-layout]
        :is(.content__block, .content--right__block) :is(p, li) {
            font-size: calc(clamp(18px, 1.388889vw, 26px) * var(--gs-fit, 1)) !important;
        }

        body.hobot-imported-product.single-product main section.genio-feature[data-genio-slide-full-frame][data-genio-slide-ready]
        > picture.genio-fast-desktop-art {
            display: none !important;
        }
    }
}

.hobot-imported-product main section.genio-product-hero > .genio-hero-shade {
    display: none !important;
}

@layer genio-desktop-common {
    @media (768px <= width < 1024px) {
        body.hobot-imported-product.single-product main .genio-product-hero .bannerpage__container {
            padding-block: 18px !important;
        }

        body.hobot-imported-product.single-product main .genio-product-hero .bannerpage__title {
            margin-block-end: 16px !important;
        }

        body.hobot-imported-product.single-product main .genio-product-hero .bannerpage__title h1 {
            margin-block-end: 12px !important;
        }
    }
}


/* Align the mobile purchase column with the title on every HOBOT device page. */
@media (max-width: 767px) {
    html body.hobot-imported-product.single-product.woocommerce.wp-theme-genio.theme-genio main
        section.bannerpage.genio-product-hero .bannerpage__title {
        margin-block-end: 24px !important;
    }

    html body.hobot-imported-product.single-product.woocommerce.wp-theme-genio.theme-genio main
        section.bannerpage.genio-product-hero .bannerpage__subtitle:has(.btn--page_buy):has(.clickBuyButton) {
        justify-content: start !important;
    }

    html body.hobot-imported-product.single-product.woocommerce.wp-theme-genio.theme-genio main
        section.bannerpage.genio-product-hero .bannerpage__subtitle:has(.btn--page_buy):has(.clickBuyButton) > .genio-product-price {
        justify-self: start !important;
        justify-content: flex-start !important;
        text-align: start;
    }

    html body.hobot-imported-product.single-product.woocommerce.wp-theme-genio.theme-genio main
        section.bannerpage.genio-product-hero .bannerpage__subtitle:has(.btn--page_buy):has(.clickBuyButton) > .genio-product-price > .woocommerce-Price-amount {
        inset-inline-start: auto !important;
    }
}

@media (min-width: 768px) {
    html body.hobot-imported-product.postid-4263 main section.genio-feature[data-genio-optimized-media] {
        --genio-feature-copy-color: #182833;
    }
}

@layer genio-desktop-common {
    @media (min-width: 768px) {
        html body.single-product.postid-4263 main
        section.genio-feature {
            --hobot-sp10-heading-top: clamp(36px, 6vw, 112px);
        }

        html body.single-product.postid-4263 main section.genio-feature > .content__container {
            align-self: flex-start !important;
            padding-block-start: var(--hobot-sp10-heading-top) !important;
        }

        html body.single-product.postid-4263 main section.genio-feature > .content__container
        > :is(.content__block, .content--right__block) {
            padding-block-start: 0 !important;
        }

    }

    @media (max-width: 767px) {
        html body.single-product.postid-4263 main section.genio-feature > .content__container {
            padding-block-start: 24px !important;
        }

        html body.single-product.postid-4263 main section.genio-feature > .content__container
        > :is(.content__block, .content--right__block) {
            padding-block-start: 0 !important;
        }

        html body.single-product.postid-4263 main section.genio-feature > .content__container h2 {
            margin-block-start: 0 !important;
        }
    }
}

/* Desktop motion uses the original footage over the light slide canvas. */
@media (min-width: 768px) {
    body.single-product.postid-4263 main section.genio-feature .genio-standard-art__motion {
        inset: 0 0 0 auto;
        width: 60%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        object-position: right center;
        border: 0;
        border-radius: 0;
        transform: none;
        mask-image: linear-gradient(to right, transparent, #000 24%);
    }

    body.single-product.postid-4263 main section.genio-feature
    .genio-standard-art__motion:is([data-motion-style="left"], [data-motion-style="left-wide"]) {
        inset-inline: 0 auto;
        object-position: left center;
        mask-image: linear-gradient(to left, transparent, #000 25%);
    }

    body.single-product.postid-4263 main section.genio-feature .genio-standard-art__motion[data-motion-style="left-wide"] {
        width: 59%;
        object-fit: contain;
        mask-image: linear-gradient(to left, transparent, #000 14%),
            linear-gradient(to bottom, transparent, #000 19%, #000 81%, transparent);
        mask-composite: intersect;
    }

    body.single-product.postid-4263 main section.genio-feature[data-genio-slide-full-frame][data-genio-slide-ready]
    > picture.genio-fast-desktop-art {
        display: none !important;
    }
}

/* Let the artwork settle into view while the slide text stays still. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        body.single-product.postid-4263 main section.genio-feature
        > :is(.genio-standard-art, .genio-fast-desktop-art, .genio-feature__image) {
            animation: hobot-sp10-scene-in linear both;
            animation-timeline: view(block);
            animation-range: entry 0% entry 80%;
        }
    }

    @keyframes hobot-sp10-scene-in {
        from { opacity: .72; scale: 1.018; }
        to { opacity: 1; scale: 1; }
    }
}

@media (min-width: 768px) {
    html body.hobot-imported-product.postid-4263 main section.genio-feature[data-genio-slide-id="gs-5d068bb1317d55f81d0a3763"] {
        --genio-feature-copy-color: #fff;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    html body.hobot-imported-product.postid-4263 main section.genio-feature[data-genio-slide-id="gs-5d068bb1317d55f81d0a3763"] > .genio-fast-desktop-art {
        background-color: #050617;
    }

    html body.hobot-imported-product.postid-4263 main section.genio-feature[data-genio-slide-id="gs-5d068bb1317d55f81d0a3763"] > .genio-fast-desktop-art > img {
        width: 57%;
    }
}

/* HOBOT SP10 uses white copy on the dark quiet-operation artwork. */
@layer genio-desktop-common {
    html body.hobot-imported-product.postid-4263 main section.genio-feature[data-genio-slide-id="gs-cc9ae8442ee36c301f64dcdc"] {
        --genio-feature-copy-color: #fff;
        background-color: #0c1828 !important;
    }

    html body.hobot-imported-product.postid-4263 main section.genio-feature[data-genio-slide-id="gs-cc9ae8442ee36c301f64dcdc"] > .content__container p {
        color: #fff !important;
    }

    @media (max-width: 767px) {
        html body.hobot-imported-product.postid-4263 main section.genio-feature[data-genio-slide-id="gs-cc9ae8442ee36c301f64dcdc"] > .content__container {
            background-color: #0c1828 !important;
        }
    }
}

/* The original SP10 spray animation is composited onto a black slide. */
@layer genio-desktop-common {
    html body.hobot-imported-product.hobot-light-slides.single-product.woocommerce.postid-4263 main section.genio-feature[data-genio-optimized-media][data-genio-slide-id="gs-e3b8e71d4f65d5d96a993abb"] {
        --genio-feature-copy-color: #fff;
        background-color: #000 !important;
    }

    html body.hobot-imported-product.hobot-light-slides.single-product.woocommerce.postid-4263 main section.genio-feature[data-genio-optimized-media][data-genio-slide-id="gs-e3b8e71d4f65d5d96a993abb"] > .content__container p {
        color: #fff !important;
    }

    @media (max-width: 767px) {
        html body.hobot-imported-product.hobot-light-slides.single-product.woocommerce.postid-4263 main section.genio-feature[data-genio-optimized-media][data-genio-slide-id="gs-e3b8e71d4f65d5d96a993abb"] > .content__container {
            background-color: #000 !important;
        }
    }
}

@media (min-width: 768px) {
    body.single-product.postid-4263 main section.genio-feature[data-genio-slide-id="gs-e3b8e71d4f65d5d96a993abb"] .genio-standard-art__motion {
        mask-image: none;
    }
}
