/* A temporary copy of the photo; the real gallery/card image stays untouched. */
.cpx-cart-flight {
    --cpx-flight-size: 76px;
    --cpx-flight-image-size: 84%;
    --cpx-flight-background: var(--cpx-shop-white, #fff);
    --cpx-flight-shadow: 0 8px 22px rgb(30 38 34 / 28%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: var(--cpx-flight-size);
    height: var(--cpx-flight-size);
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: var(--cpx-flight-background);
    box-shadow: var(--cpx-flight-shadow);
    pointer-events: none;
    transform-origin: center;
    will-change: transform, opacity;
}
.cpx-cart-flight::backdrop {
    background: transparent;
    pointer-events: none;
}
.cpx-cart-flight .cpx-cart-flight__image {
    display: block;
    width: var(--cpx-flight-image-size);
    height: var(--cpx-flight-image-size);
    margin: 0;
    object-fit: contain;
}
.cpx-product-cart__notices:empty {
    display: none;
}
.woocommerce-notices-wrapper.cpx-product-cart__notice-host,
.cpx-product-cart__notices:not(:empty),
.cpx-product-cart__notices .woocommerce-error,
.cpx-product-cart__notices .woocommerce-info,
.cpx-product-cart__notices .woocommerce-message {
    display: block !important;
}
.cpx-product-cart__notices {
    --cpx-notice-scroll-offset: 8rem;
    scroll-margin-block-start: var(--cpx-notice-scroll-offset);
}
.cpx-product-cart__notices:focus-visible {
    outline: 2px solid var(--cpx-shop-accent, #4d665e);
    outline-offset: 3px;
}
@media (max-width: 600px) {
    .cpx-cart-flight {
        --cpx-flight-size: 64px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cpx-cart-flight {
        display: none;
    }
}
