/* Mobile cart toast — extracted from inc/cart-toast-mobile.php */

.gg-mobile-cart-toast {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 14px;
    z-index: 99999;
    display: none;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}

.gg-mobile-cart-toast.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gg-mobile-cart-toast__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(17,17,17,.96);
    color: #FFF7E6;
    border: 2px solid #1b1b1b;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    padding: 12px 14px;
}

.gg-mobile-cart-toast__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #FFF7E6;
    flex: 1 1 auto;
    min-width: 0;
}

.gg-mobile-cart-toast__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.gg-mobile-cart-toast__cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    background: #298C37;
    border: 2px solid #1b1b1b;
    color: #FFF7E6 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.gg-mobile-cart-toast__close {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: #FFF7E6;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: .85;
}

.gg-mobile-cart-toast__close:hover,
.gg-mobile-cart-toast__close:focus {
    opacity: 1;
}

@media (max-width: 420px) {
    .gg-mobile-cart-toast__inner {
        padding: 11px 12px;
        gap: 10px;
    }

    .gg-mobile-cart-toast__text {
        font-size: 13px;
    }

    .gg-mobile-cart-toast__cart-link {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }
}

@media (min-width: 769px) {
    .gg-mobile-cart-toast {
        display: none !important;
    }
}
