.polrad-cart-feedback {
    position: fixed;
    z-index: 100000;
    right: 18px;
    bottom: 18px;
    width: min(420px, calc(100vw - 36px));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
}

.polrad-cart-feedback.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.polrad-cart-feedback__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .16);
    color: #1f2937;
}

.polrad-cart-feedback__message {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.polrad-cart-feedback__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.polrad-cart-feedback__cart-link {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.polrad-cart-feedback__close {
    appearance: none;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 23px;
    line-height: 28px;
    cursor: pointer;
}

.polrad-cart-feedback__close:hover,
.polrad-cart-feedback__close:focus-visible {
    background: #f1f5f9;
    color: #111827;
}

@media (max-width: 560px) {
    .polrad-cart-feedback {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }

    .polrad-cart-feedback__content {
        align-items: flex-start;
    }

    .polrad-cart-feedback__actions {
        gap: 6px;
    }
}

/* PDP AJAX feedback: keep Woo's injected "View cart" link out of our
 * quantity + CTA grid and make the success visible where the click happened. */
.polrad-variant-card__cart > .added_to_cart.wc-forward {
    display: none !important;
}

.polrad-variant-card__button.button.is-adding {
    opacity: .78 !important;
    cursor: wait !important;
}

.polrad-variant-card__button.button.is-confirmed,
.polrad-variant-card__button.button.is-confirmed:hover,
.polrad-variant-card__button.button.is-confirmed:focus-visible {
    background: #137a42 !important;
    border-color: #137a42 !important;
    color: #fff !important;
}
