.sm-toast-region {
    align-items: stretch;
    bottom: var(--sm-toast-region-bottom, calc(env(safe-area-inset-bottom, 0px) + 24px));
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    left: 50%;
    max-width: 420px;
    pointer-events: none;
    position: fixed;
    transform: translateX(-50%);
    width: calc(100vw - 32px);
    z-index: 2147483647;
}

.sm-toast {
    --sm-toast-duration: 4800ms;
    align-items: flex-start;
    animation: sm-toast-enter 160ms ease-out both;
    background: var(--sm-toast-success-bg, #262426);
    border: 1px solid color-mix(in srgb, var(--sm-toast-success-bg, #262426) 82%, #000);
    border-radius: var(--sm-toast-radius, 10px);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.24);
    box-sizing: border-box;
    color: var(--sm-toast-success-fg, #fff);
    display: flex;
    font: inherit;
    min-height: 52px;
    overflow: hidden;
    padding: 12px 16px;
    pointer-events: auto;
    position: relative;
    width: 100%;
}

.sm-toast--error {
    background: #4c0519;
    border-color: #4c0519;
    color: #fff;
}

.sm-toast--info {
    background: #262426;
    border-color: #262426;
    color: #fff;
}

.sm-toast__content {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    min-width: 0;
    width: 100%;
}

.sm-toast__icon {
    flex: 0 0 20px;
    height: 20px;
    margin-top: 1px;
    width: 20px;
}

.sm-toast__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.sm-toast__title,
.sm-toast__message {
    color: inherit;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
}

.sm-toast__title {
    font-weight: 650;
    padding-right: 32px;
}

.sm-toast__title + .sm-toast__message {
    margin-top: 2px;
}

.sm-toast__message {
    font-weight: 500;
}

.sm-toast__action {
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: inline;
    font: inherit;
    font-weight: 650;
    margin: 0 0 0 6px;
    padding: 0;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.sm-toast__action--embedded {
    margin-left: 0;
}

.sm-toast__close {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: currentColor;
    cursor: pointer;
    display: flex;
    height: 30px;
    justify-content: center;
    opacity: 0.72;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 9px;
    transition: background-color 120ms ease, opacity 120ms ease;
    width: 30px;
}

.sm-toast__close:hover,
.sm-toast__close:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.sm-toast__close:focus-visible,
.sm-toast__action:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.sm-toast__close svg {
    height: 16px;
    width: 16px;
}

.sm-toast__progress {
    animation: sm-toast-countdown var(--sm-toast-duration) linear forwards;
    background: rgba(255, 255, 255, 0.45);
    bottom: 0;
    height: 2px;
    left: 0;
    position: absolute;
    transform-origin: left;
    width: 100%;
}

.sm-toast--leaving {
    animation: sm-toast-leave 140ms ease-in both;
}

@keyframes sm-toast-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sm-toast-leave {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes sm-toast-countdown {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 480px) {
    .sm-toast-region {
        bottom: var(--sm-toast-region-bottom, calc(env(safe-area-inset-bottom, 0px) + 16px));
    }

    .sm-toast {
        padding-left: 14px;
    }
}

@media (max-width: 782px) {
    html.codex-mobile-cart-gate body.single-product.codex-mobile-cart-visible .sm-toast-region {
        bottom: var(--sm-toast-region-bottom, calc(env(safe-area-inset-bottom, 0px) + 78px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .sm-toast,
    .sm-toast--leaving,
    .sm-toast__progress {
        animation: none;
    }
}
