/* =========================================================================
   Toasty sklepu FabrykaCmyka — pływające komunikaty (np. „dodano do koszyka").
   1:1 z projektem „toast-powiadomienie". Wjeżdżają z góry, same znikają.
   Warianty: domyślny (zielony sukces), .is-cyan (marka), .is-error (błąd).
   ========================================================================= */
.fc-toast-region{position:fixed;top:16px;left:0;right:0;z-index:9999;display:flex;flex-direction:column;align-items:center;gap:10px;padding:0 12px;pointer-events:none}
/* Offset pod paskiem admina WP (tylko zalogowani) — inaczej toast chowa się pod toolbarem. */
body.admin-bar .fc-toast-region{top:calc(16px + 32px)}
@media screen and (max-width:782px){body.admin-bar .fc-toast-region{top:calc(16px + 46px)}}

.fc-toast{pointer-events:auto;width:100%;max-width:440px;position:relative;display:flex;align-items:flex-start;gap:11px;background:#fff;border:1px solid #DDECE6;border-left:4px solid #1E9E6A;border-radius:7px;box-shadow:0 12px 30px rgba(20,60,45,.18);padding:14px 40px 14px 15px;font-size:14.5px;line-height:1.5;color:#2f4a41;font-family:'Lato',sans-serif;animation:fc-toast-in .35s ease}
.fc-toast.is-cyan{border-color:#D6ECF4;border-left-color:#2a93bf;box-shadow:0 12px 30px rgba(20,50,60,.18);color:#26424e}
.fc-toast.is-error{border-color:#f6cfcb;border-left-color:#b3261e;box-shadow:0 12px 30px rgba(60,20,20,.18);color:#7a1c14}

.fc-toast__ico{flex:none;width:19px;height:19px;margin-top:1px;color:#1E9E6A}
.fc-toast.is-cyan .fc-toast__ico{color:#2a93bf}
.fc-toast.is-error .fc-toast__ico{color:#b3261e}

.fc-toast__msg{flex:1;min-width:0}
.fc-toast__msg b{font-weight:700}
.fc-toast__msg a,.fc-toast__link{color:#1E9E6A;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.fc-toast.is-cyan .fc-toast__msg a,.fc-toast.is-cyan .fc-toast__link{color:var(--fc-magenta,#C800A7)}
.fc-toast.is-error .fc-toast__msg a{color:#b3261e}
/* WC czasem dokleja przycisk „Zobacz koszyk" — w toaście chcemy tylko link tekstowy. */
.fc-toast__msg .button,.fc-toast__msg .wc-forward{display:none}

.fc-toast__close{position:absolute;top:9px;right:9px;width:26px;height:26px;border:0;background:none;border-radius:6px;color:#7f9b90;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .13s}
.fc-toast.is-cyan .fc-toast__close{color:#7a95a0}
.fc-toast__close:hover{background:rgba(0,0,0,.05)}

@keyframes fc-toast-in{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:translateY(0)}}
.fc-toast.is-leaving{animation:fc-toast-out .25s ease forwards}
@keyframes fc-toast-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-14px)}}
