/* Pokeball loading overlay */

.cart-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
}

.cart-loader--active {
    opacity: 1;
    pointer-events: auto;
}

.cart-loader__spin {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-loader__spin .pokeball {
    width: 44px;
    height: 44px;
    animation: pokeballSpin 0.7s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

@keyframes pokeballSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
