/* Gamer Store: floating notifications (bottom centre) and the matching coupon error box */
.woocommerce-message, .woocommerce-notices-wrapper .woocommerce-message { display: none !important; }
/* A refused coupon (cart and checkout blocks): the same look as the error toast, kept right under the coupon field. */
[class*="totals-coupon"] .wc-block-components-validation-error { margin: 10px 0 0; padding: 12px 14px; border-radius: 18px; background: var(--gsx-surface, #14171a); color: var(--gsx-text, #fff); border: 1px solid var(--gsx-border, rgba(255,255,255,.14)); border-left: 5px solid var(--gsx-coral, #ef4444); font-size: 14px; font-weight: 600; line-height: 1.35; }
[class*="totals-coupon"] .wc-block-components-validation-error p { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: inherit; }
[class*="totals-coupon"] .wc-block-components-validation-error svg { flex: 0 0 auto; margin-top: 1px; fill: var(--gsx-coral, #ef4444); }
#gsx-toasts { position: fixed; z-index: 99999; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.gsx-tst { pointer-events: auto; position: relative; overflow: hidden; width: 100%; max-width: 420px; display: flex; align-items: center; gap: 10px; padding: 12px 8px 12px 18px; border-radius: 18px; background: var(--gsx-surface, #14171a); color: var(--gsx-text, #fff); border: 1px solid var(--gsx-border, rgba(255,255,255,.14)); border-left: 5px solid var(--gsx-primary, #2ee66b); box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: 14px; font-weight: 600; line-height: 1.35; animation: gsx-tst-in .5s cubic-bezier(.2,.9,.3,1.25) both; }
.gsx-tst--error { border-left-color: var(--gsx-coral, #ef4444); }
.gsx-tst::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gsx-primary, #2ee66b); transform-origin: left; animation: gsx-tst-timer var(--gsx-tst-ms, 5000ms) linear both; }
.gsx-tst--error::after { background: var(--gsx-coral, #ef4444); }
.gsx-tst.is-leaving { animation: gsx-tst-out .3s ease-in both; }
.gsx-tst__body { flex: 1 1 auto; min-width: 0; }
.gsx-tst__body a { color: var(--gsx-primary, #2ee66b); font-weight: 800; text-decoration: none; white-space: nowrap; margin-left: 6px; }
.gsx-tst__body a:hover { text-decoration: underline; }
.gsx-tst__body .button, .gsx-tst__body .wc-forward { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; float: none !important; display: inline !important; color: var(--gsx-primary, #2ee66b) !important; }
.gsx-tst__close { flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--gsx-muted, #9aa); font-size: 24px; line-height: 1; cursor: pointer; }
.gsx-tst__close:hover { background: rgba(255,255,255,.08); }
@keyframes gsx-tst-in { 0% { opacity: 0; transform: translateY(50px) scale(.92); } 100% { opacity: 1; transform: none; } }
@keyframes gsx-tst-out { to { opacity: 0; transform: translateY(30px) scale(.95); } }
@keyframes gsx-tst-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .gsx-tst, .gsx-tst::after { animation: none; } }
