/* ============================================================
   Cart Toast Notification
   ============================================================ */

#fit-cart-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--wp--preset--color--elevated, #1e1e1e);
    color: var(--wp--preset--color--elevated-text, #f0f0f0);
    border-left: 4px solid var(--wp--preset--color--action, #EAC81F);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    font-size: 14px;
    max-width: 340px;
    width: calc(100vw - 48px);

    /* Start hidden — slide up on .fit-cart-toast-visible */
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

#fit-cart-toast.fit-cart-toast-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fit-cart-toast-message {
    flex: 1;
    line-height: 1.4;
}

.fit-cart-toast-message strong {
    color: var(--wp--preset--color--elevated-header, #ffffff);
}

.fit-cart-toast-link {
    white-space: nowrap;
    background: var(--wp--preset--color--action, #EAC81F);
    color: var(--wp--preset--color--action-text, #111111) !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s;
}

.fit-cart-toast-link:hover {
    background: var(--wp--preset--color--action-hover, #d4b31a);
}

.fit-cart-toast-close {
    background: none;
    border: none;
    color: var(--wp--preset--color--elevated-text-muted, #aaaaaa);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.fit-cart-toast-close:hover {
    color: var(--wp--preset--color--elevated-text, #f0f0f0);
}

@media (max-width: 480px) {
    #fit-cart-toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
    }
}
