/* Toast Notification Container */
.gaming-toast-container-f118ba50 {
    position: fixed;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Position Configurations */
@media (min-width: 1025px) {
    .gaming-toast-container-f118ba50 {
        top: 24px;
        right: 24px;
        width: 380px;
        max-width: 380px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .gaming-toast-container-f118ba50 {
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 500px;
    }
}

@media (max-width: 767px) {
    .gaming-toast-container-f118ba50 {
        bottom: 12px;
        left: 12px;
        right: 12px;
        width: calc(100vw - 24px);
    }
}

/* Hide WooCommerce native notices cleanly without shifting layouts */
.woocommerce-notices-wrapper,
.e-woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    /* Kept registered in DOM but visually hidden to let custom system capture them */
}

body .woocommerce-notices-wrapper > .woocommerce-message,
body .woocommerce-notices-wrapper > .woocommerce-error,
body .woocommerce-notices-wrapper > .woocommerce-info,
body .e-woocommerce-notices-wrapper > .woocommerce-message,
body .e-woocommerce-notices-wrapper > .woocommerce-error,
body .e-woocommerce-notices-wrapper > .woocommerce-info,
body > .woocommerce-message,
body > .woocommerce-error,
body > .woocommerce-info {
    display: none !important;
}

/* Toast Cards */
.gaming-toast-f118ba50 {
    pointer-events: auto;
    position: relative;
    background: rgba(8, 18, 40, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.95);
    opacity: 0;
    will-change: transform, opacity;
    animation: toast-entrance-f118ba50 350ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-sizing: border-box;
    font-family: inherit;
}

@keyframes toast-entrance-f118ba50 {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Exit Animation class */
.gaming-toast-f118ba50.toast-exit-f118ba50 {
    animation: toast-exit-anim-f118ba50 300ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toast-exit-anim-f118ba50 {
    to {
        transform: scale(0.9) translateY(-10px);
        opacity: 0;
    }
}

/* Respect user preferences */
@media (prefers-reduced-motion: reduce) {
    .gaming-toast-f118ba50 {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .gaming-toast-f118ba50.toast-exit-f118ba50 {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* Icon Section */
.toast-icon-f118ba50 {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Content Area */
.toast-content-f118ba50 {
    flex-grow: 1;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.toast-content-f118ba50 a {
    color: #22AFEB;
    text-decoration: none;
    font-weight: 700;
}

.toast-content-f118ba50 a:hover {
    text-decoration: underline;
}

/* Action View Cart Button */
.toast-action-f118ba50 .button {
    background: #22AFEB !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 30px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(34, 175, 235, 0.3) !important;
    text-decoration: none !important;
    display: inline-block;
    white-space: nowrap;
}

.toast-action-f118ba50 .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 175, 235, 0.5) !important;
}

/* Close Button */
.toast-close-f118ba50 {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
    outline: none;
}

.toast-close-f118ba50:hover,
.toast-close-f118ba50:focus {
    color: #ffffff;
    transform: scale(1.15);
}

/* Types Style Configurations */

/* Success */
.toast-success-f118ba50 {
    border: 1px solid rgba(34, 175, 235, 0.35);
    box-shadow: 0 12px 32px rgba(8, 18, 40, 0.5), 0 0 15px rgba(34, 175, 235, 0.15);
}
.toast-success-f118ba50 .toast-icon-f118ba50 {
    color: #22AFEB;
    background: rgba(34, 175, 235, 0.1);
}

/* Error */
.toast-error-f118ba50 {
    border: 1px solid rgba(255, 91, 110, 0.35);
    background: rgba(43, 17, 22, 0.95);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 91, 110, 0.15);
}
.toast-error-f118ba50 .toast-icon-f118ba50 {
    color: #ff5b6e;
    background: rgba(255, 91, 110, 0.1);
}

/* Warning */
.toast-warning-f118ba50 {
    border: 1px solid rgba(255, 179, 71, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 179, 71, 0.15);
}
.toast-warning-f118ba50 .toast-icon-f118ba50 {
    color: #ffb347;
    background: rgba(255, 179, 71, 0.1);
}

/* Info */
.toast-info-f118ba50 {
    border: 1px solid rgba(90, 200, 250, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(90, 200, 250, 0.15);
}
.toast-info-f118ba50 .toast-icon-f118ba50 {
    color: #5ac8fa;
    background: rgba(90, 200, 250, 0.1);
}

/* Progress Bar */
.toast-progress-f118ba50 {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
    transform: scaleX(1);
}

.toast-success-f118ba50 .toast-progress-f118ba50 { background: #22AFEB; }
.toast-error-f118ba50 .toast-progress-f118ba50 { background: #ff5b6e; }
.toast-warning-f118ba50 .toast-progress-f118ba50 { background: #ffb347; }
.toast-info-f118ba50 .toast-progress-f118ba50 { background: #5ac8fa; }
