/* Neetly Add to Cart Popup SAFE */
a.added_to_cart.wc-forward {
    display: none !important;
}

.neetly-cart-popup-anchor {
    position: relative !important;
}

.neetly-cart-popup-safe {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(6px);
    z-index: 99999;
    min-width: 220px;
    max-width: min(310px, 92vw);
    padding: 12px 13px;
    border-radius: 16px;
    background: #ffffff;
    color: #171717;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .18);
    border: 1px solid rgba(180, 0, 0, .14);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
    opacity: 0;
    pointer-events: auto;
    animation: neetlyCartPopupIn .18s ease-out forwards;
}

.neetly-cart-popup-safe::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-right: 1px solid rgba(180, 0, 0, .12);
    border-bottom: 1px solid rgba(180, 0, 0, .12);
}

.neetly-cart-popup-safe.is-hiding {
    animation: neetlyCartPopupOut .18s ease-in forwards;
}

.neetly-cart-popup-safe__message {
    font-weight: 700;
    margin: 0 0 9px 0;
}

.neetly-cart-popup-safe__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #b40000;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.neetly-cart-popup-safe__button:hover,
.neetly-cart-popup-safe__button:focus {
    color: #ffffff !important;
    text-decoration: none !important;
    filter: brightness(.96);
}

@keyframes neetlyCartPopupIn {
    from { opacity: 0; transform: translateX(-50%) translateY(7px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes neetlyCartPopupOut {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to { opacity: 0; transform: translateX(-50%) translateY(7px); }
}

@media (max-width: 600px) {
    .neetly-cart-popup-safe {
        min-width: 210px;
        padding: 11px 12px;
        font-size: 13px;
    }
}
