/* The loader positions the iframe inline. Keep its top clear of the sticky header as well. */
body[data-cookie-banner-space] iframe[data-wonderpack-site-chat-v2-frame="true"] {
    bottom: var(--cookie-banner-clearance) !important;
    max-height: calc(100vh - var(--wp-v27-chat-safe-top, 0px) - var(--cookie-banner-clearance)) !important;
    max-height: calc(100dvh - var(--wp-v27-chat-safe-top, 0px) - var(--cookie-banner-clearance)) !important;
}

/* Page-specific controls (e.g. the checkout submit button) can reserve more room. */
[data-cookie-banner-space] :where(.scrolltotop) {
    bottom: var(--cookie-banner-clearance);
    transition-property: opacity;
}
