/* Soft moving colour fields inspired by Gogh's CSS Animated Gradient Background:
 * https://codepen.io/Gogh/pen/XWBZpwb — scoped here, never to html/body. */
.child-page-banner {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 300px;
    margin: 0 0 2.5rem;
    overflow: hidden;
    background: var(--child-color-banner-glow-base, hsl(243deg 41% 51%));
    color: var(--child-color-inverse-text, #fff);
}
.child-page-banner-art {
    position: absolute;
    z-index: -2;
    inset: -40%;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 90%, var(--child-color-banner-glow-base, #30336b) 0, transparent 60%);
}
.child-page-banner-art::before,
.child-page-banner-art::after,
.child-page-banner-art > span {
    content: '';
    position: absolute;
    inset: -15%;
    border-radius: 50%;
    animation-duration: 14s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-play-state: running;
}
.child-page-banner-art::before {
    background: radial-gradient(ellipse at 40% 25%, rgb(var(--child-color-banner-glow-pink-rgb, 243 86 146) / 95%) 0, transparent 55%);
    animation-name: child-banner-pink;
}
.child-page-banner-art::after {
    background: radial-gradient(ellipse at 10% 60%, rgb(var(--child-color-banner-glow-purple-rgb, 142 68 173) / 95%) 0, transparent 60%);
    animation-name: child-banner-purple;
    animation-duration: 18s;
}
.child-page-banner-art > span {
    display: block;
    background: radial-gradient(ellipse at 90% 75%, rgb(var(--child-color-banner-glow-aqua-rgb, 93 248 240) / 90%) 0, transparent 55%);
    animation-name: child-banner-turquoise;
    animation-duration: 16s;
}

/* Keep white titles legible throughout the pink/turquoise colour cycle. */
.child-page-banner::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgb(var(--child-color-banner-overlay-rgb, 12 18 45) / 45%);
    pointer-events: none;
}
.child-page-banner .child-page-banner-content {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 1.5rem;
    text-align: center !important;
}
.child-page-banner .child-page-banner-title {
    margin: 0;
    color: var(--child-color-inverse-text, #fff);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    text-align: center !important;
    text-shadow: 0 2px 16px rgb(var(--child-color-shadow-rgb, 0 0 0) / 20%);
}

.child-page-banner--shop-filters {
    z-index: 900;
    height: 300px;
    margin-bottom: 1rem;
    overflow: visible;
}
.child-page-banner--shop-filters .child-page-banner-art {
    inset: 0;
    overflow: hidden;
}
.child-page-banner--shop-filters .child-page-banner-content {
    position: relative;
    display: block;
    height: 100%;
    padding: 0;
}
.child-page-banner--shop-filters .child-page-banner-title {
    position: absolute;
    top: calc((100% - var(--child-banner-filter-height, 70px) - 1rem) / 2);
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}
.child-page-banner--shop-filters .child-shop-filter-banner-width {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
}
.child-page-banner--shop-filters [data-child-shop-filter-slot] {
    width: 100%;
    color: var(--child-color-text, #111);
}
.child-page-banner--shop-filters:has(.child-shop-filters.is-select-active) {
    z-index: 1101;
}
.child-page-banner--shop-filters:has(.child-shop-filters.is-select-active)::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgb(0 0 0 / 35%);
    pointer-events: none;
}
@media (max-width: 767px) {
    .child-page-banner--shop-filters { --child-banner-filter-height: 112px; }
    .child-page-banner--shop-filters .child-shop-filters form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: .375rem;
        border-radius: calc(23px + .375rem);
    }
}

body.child-has-page-banner #content { padding-top: 0; }
body.child-has-page-banner.woocommerce-shop .woocommerce-products-header { margin: 0; padding: 0; }
@keyframes child-banner-pink {
    from { transform: translate(-8%, -8%) scale(1); opacity: .8; }
    to { transform: translate(18%, 15%) scale(1.15); opacity: 1; }
}
@keyframes child-banner-purple {
    from { transform: translate(-10%, 12%) rotate(-10deg); opacity: .75; }
    to { transform: translate(22%, -15%) rotate(15deg); opacity: 1; }
}
@keyframes child-banner-turquoise {
    from { transform: translate(12%, -12%) scale(1.1); opacity: .8; }
    to { transform: translate(-20%, 18%) scale(.9); opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
    .child-page-banner-art::before,
    .child-page-banner-art::after,
    .child-page-banner-art > span { animation: none; }

}
