/* Seleção de várias fotos sem sair da galeria. */
.mg-cart-button {
    border: 0;
    cursor: pointer;
    transition: .2s;
}
.mg-cart-button:hover { background: var(--mg-purple-dark); }
.mg-cart-button.is-loading { opacity: .65; cursor: wait; }
.mg-cart-button.is-added { background: #3f8b67; cursor: default; }
.mg-package-cart {
    width: auto;
    height: auto;
    display: inline-flex;
    font-size: inherit;
    padding: 12px 18px;
}
.mg-cart-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 100000;
    max-width: min(430px, calc(100vw - 30px));
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #2d2434;
    color: #fff;
    box-shadow: 0 18px 50px #1e142b4a;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: .25s;
}
.mg-cart-toast.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.mg-cart-toast.is-error { background: #8b3043; }
.mg-cart-toast span { font-size: 13px; line-height: 1.4; }
.mg-cart-toast a {
    margin-left: auto;
    white-space: nowrap;
    color: #fff !important;
    font-weight: 800;
    text-decoration: underline !important;
}
.woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a { font-weight: 800; text-decoration: underline !important; }
.mg-empty-cart {
    text-align: center;
    padding: 50px 20px;
    border: 1px dashed #d9cce3;
    border-radius: 18px;
    background: #fff;
}
.mg-empty-cart > span {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mg-lilac);
    color: var(--mg-purple);
    font-size: 29px;
}
.mg-empty-cart h2 { font-family: Georgia, serif; margin: 0 0 8px; }
.mg-empty-cart p { color: var(--mg-muted); margin: 0 auto 20px; max-width: 520px; }
@media (max-width: 600px) {
    .mg-cart-toast { right: 15px; bottom: 80px; }
    .mg-package-cart { width: 100%; }
}
