html:has(> body.storefront-app.is-3d-tools-home) {
    scrollbar-gutter: auto;
}

body.storefront-app.is-3d-tools-home {
    --market-home-gutter: clamp(12px, 4.5vw, 88px);
}

body.storefront-app.is-3d-tools-home .td-home-page {
    width: 100% !important;
    padding-top: 0 !important;
}

body.storefront-app.is-3d-tools-home .td-home-page > section {
    margin-inline: var(--market-home-gutter);
}

@layer storefront-header {
    @media (min-width: 992px) {
        body.storefront-app.is-3d-tools-home .store-main-header-inner {
            width: calc(100% - 2 * var(--market-home-gutter)) !important;
            max-width: none !important;
            margin-inline: auto !important;
        }
    }
}

body.storefront-app .td-home-page .market-home-products {
    margin-inline: var(--market-home-gutter);
    padding-top: 0;
}

@media (max-width: 600px) {
    body.storefront-app.is-3d-tools-home {
        --market-home-gutter: 12px;
    }
}
