/* FittingExpress · aviso al agregar al carro */
.cart-toast {
  position: fixed; z-index: 9999; left: 50%; bottom: 24px;
  display: flex; align-items: center; gap: 12px; max-width: min(560px, calc(100vw - 32px));
  padding: 10px 10px 10px 14px; border-radius: var(--r-lg, 24px);
  background: var(--ink, #012237); color: #fff; box-shadow: 0 18px 40px rgba(1, 34, 55, .35), 0 0 0 1px rgba(5, 181, 205, .25);
  font-size: 15px; font-weight: 600; line-height: 1.35;
  opacity: 0; visibility: hidden; transform: translate(-50%, 16px);
  transition: opacity .2s var(--ease, ease), transform .3s var(--ease-emph, ease), visibility 0s linear .3s;
}
.cart-toast.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.cart-toast-ico { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--accent, #05b5cd); color: var(--accent, #05b5cd); }
.cart-toast-ico .ms { font-size: 18px; font-weight: 700; }
.cart-toast-txt { flex: 1; min-width: 0; }
.cart-toast-btn { flex-shrink: 0; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: var(--r-full, 999px); background: var(--accent, #05b5cd); color: var(--ink, #012237); font-weight: 700; white-space: nowrap; transition: box-shadow .2s; }
.cart-toast-btn:hover { box-shadow: 0 0 0 4px rgba(5, 181, 205, .3); }
.cart-toast-close { flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: #9fbccb; cursor: pointer; display: grid; place-items: center; }
.cart-toast-close:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cart-toast-close .ms { font-size: 18px; }

/* En celular, sobre la barra inferior de navegación */
@media (max-width: 760px) {
  .cart-toast { left: 12px; right: 12px; max-width: none; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); transform: translateY(16px); font-size: 14px; }
  .cart-toast.is-open { transform: translateY(0); }
  .cart-toast-btn { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-toast { transition: opacity .2s, visibility 0s linear .2s; }
}

/* Animación "vuela al carro" (assets/js/cart-fly.js) */
.fx-fly { position: fixed; z-index: 10000; width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(1,34,55,.28); border: 2px solid var(--cyan, #05b5cd); display: grid; place-items: center; overflow: hidden; pointer-events: none; will-change: transform, opacity; }
.fx-fly img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.fx-fly .ms { color: var(--cyan, #05b5cd); font-size: 28px; }
@keyframes fx-cart-bump { 0% { transform: scale(1); } 30% { transform: scale(1.25) rotate(-8deg); } 55% { transform: scale(.92) rotate(4deg); } 80% { transform: scale(1.06); } 100% { transform: scale(1); } }
.fx-cart-bump { animation: fx-cart-bump .6s ease-out; }
.fx-cart-bump .wc-block-mini-cart__badge { animation: fx-cart-bump .6s ease-out; }
@media (prefers-reduced-motion: reduce) { .fx-cart-bump, .fx-cart-bump .wc-block-mini-cart__badge { animation: none; } }

