.wqv-messages:empty {
    display: none;
}

.wqv-message {
    margin: 0;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
}

.wqv-message--success {
    background: #ecf7ed;
    color: #1e6b2d;
}

.wqv-message--error {
    background: #fdecea;
    color: #9b1c1c;
}

.wqv-loading,
.wqv-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 180px;
    text-align: center;
}

.wqv-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #ddd;
    border-top-color: #111;
    border-radius: 50%;
    animation: wqv-spin 0.7s linear infinite;
}

.wqv-retry {
    border: 1px solid #111;
    background: #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
}


.wqv-add-to-cart.loading {
    position: relative;
    color: transparent;
}

.wqv-add-to-cart.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wqv-spin 0.7s linear infinite;
}

@keyframes wqv-spin {
    to {
        transform: rotate(360deg);
    }
}