/* Living Nutritionals – site-wide cart badge, toast and add-to-cart states (loaded on every page). */
:root {
	--ln-radius: 18px;
	--ln-shadow: 0 1px 2px rgba(15, 45, 61, .06), 0 6px 20px rgba(15, 45, 61, .06);
	--ln-shadow-lg: 0 2px 6px rgba(15, 45, 61, .08), 0 18px 40px rgba(15, 45, 61, .12);
	--ln-ease: cubic-bezier(.2, .7, .2, 1);
}
/* Toast */
.ln-toast { position: fixed; left: 50%; bottom: 24px; z-index: 9999; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; max-width: calc(100vw - 32px); padding: 14px 18px; border-radius: 16px; background: var(--ln-c-ink); color: #fff; box-shadow: var(--ln-shadow-lg); transform: translate(-50%, 20px); opacity: 0; transition: transform .3s var(--ln-ease), opacity .3s; font-size: .95rem; }
.ln-toast { pointer-events: none; }
.ln-toast[hidden] { display: none; }
.ln-toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.ln-toast.is-error { background: #a3322a; }
.ln-toast-actions { display: flex; gap: 14px; }
.ln-toast a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ln-toast a.ln-toast-go { color: var(--ln-c-green); }

/* Cart count in menu */
.ln-cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 5px; padding: 0 6px; border-radius: 999px; background: var(--ln-c-green); color: var(--ln-c-ink); font-size: .72rem; font-weight: 800; line-height: 1; vertical-align: 1px; }
.ln-cart-count.is-empty { display: none; }
.ln-cart-count.is-bump { animation: ln-bump .45s var(--ln-ease); }
@keyframes ln-bump { 40% { transform: scale(1.35); } }


.ln-add.is-loading, [data-add].is-loading { opacity: .75; pointer-events: none; }
.ln-add.is-loading .ln-add-label::after { content: ""; display: inline-block; width: .9em; height: .9em; margin-left: .5em; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ln-spin .7s linear infinite; }
@keyframes ln-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .ln-toast { bottom: 84px; } }
