/* Fivva floating cart + mini-cart sheet + checkout (fivva-cart.js). Dark button, lime count; a bottom sheet, never a page. */
.mf-fc {
	position: fixed; inset-inline-end: 16px; inset-block-end: 96px; z-index: 45;
	display: grid; place-items: center; inline-size: 50px; block-size: 50px; padding: 0;
	border: 0; border-radius: 50%; background: #1a2120; color: #fff; cursor: pointer;
	box-shadow: 0 8px 24px rgba(5, 8, 16, .28);
	-webkit-tap-highlight-color: transparent;
}
.mf-fc[hidden] { display: none; }
.mf-fc:focus-visible { outline: 3px solid #dcff35; outline-offset: 2px; }
.mf-fc-count {
	position: absolute; inset-block-start: -4px; inset-inline-end: -4px; min-inline-size: 20px; block-size: 20px; padding-inline: 5px; box-sizing: border-box;
	border-radius: 10px; background: #dcff35; color: #1a2120; font: 800 11px/20px "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-align: center;
	box-shadow: 0 0 0 2px #1a2120;
}

html.mf-fcs-lock { overflow: hidden; }
.mf-fcs { position: fixed; inset: 0; z-index: 99990; font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #202733; }
.mf-fcs[hidden] { display: none; }
.mf-fcs-backdrop { position: absolute; inset: 0; background: rgba(20, 26, 36, .5); opacity: 0; transition: opacity .18s ease; }
.mf-fcs.is-open .mf-fcs-backdrop { opacity: 1; }
.mf-fcs-sheet {
	position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; flex-direction: column; max-block-size: 92dvh;
	background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .18); transform: translateY(100%); transition: transform .22s ease; outline: none;
}
.mf-fcs.is-open .mf-fcs-sheet { transform: none; }
.mf-fcs-handle { flex: none; inline-size: 40px; block-size: 4px; margin: 10px auto 0; border-radius: 4px; background: #d6dbd3; }
.mf-fcs-panel { overflow-y: auto; padding: 8px 20px calc(18px + env(safe-area-inset-bottom, 0px)); -webkit-overflow-scrolling: touch; }
.mf-fcs-panel.is-busy { opacity: .65; pointer-events: none; }
@media (min-width: 720px) {
	.mf-fcs-sheet { inset-inline: auto; inset-inline-end: 24px; inset-block-end: 24px; inline-size: 420px; border-radius: 22px; }
	.mf-fcs-handle { display: none; }
	.mf-fc { inset-inline-end: 24px; }
}

.mf-fcs-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; }
.mf-fcs-title { flex: 1 1 auto; min-inline-size: 0; display: grid; gap: 2px; }
.mf-fcs-title strong { font-size: 20px; line-height: 1.2; }
.mf-fcs-title span { font-size: 14px; color: #5b655f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mf-fcs-x::after, .mf-fcs-back::after { content: ""; position: absolute; inset: -2px; } /* 44x44 touch target, the visible 40px circle is unchanged */
.mf-fcs-x, .mf-fcs-back { position: relative; flex: none; inline-size: 40px; block-size: 40px; border: 0; border-radius: 50%; background: #f2f4ef; color: #202733; font-size: 24px; line-height: 1; cursor: pointer; }

.mf-fcs-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.mf-fcs-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.mf-fcs-item img, .mf-fcs-noimg { inline-size: 56px; block-size: 56px; border-radius: 12px; object-fit: cover; background: #f1f4ec; }
.mf-fcs-item-main { display: grid; gap: 4px; min-inline-size: 0; }
.mf-fcs-item-main strong { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.mf-fcs-item-main > span { font-size: 13px; color: #5b655f; }
.mf-fcs-step { display: inline-flex; align-items: center; gap: 4px; margin-block-start: 2px; }
.mf-fcs-step button { inline-size: 44px; block-size: 44px; border: 1px solid #d9ded7; border-radius: 50%; background: #fff; color: #202733; font-size: 18px; cursor: pointer; }
.mf-fcs-step button[disabled] { opacity: .4; cursor: not-allowed; }
.mf-fcs-step b { min-inline-size: 28px; text-align: center; font-size: 15px; }
.mf-fcs-item-side { display: grid; justify-items: end; gap: 8px; }
.mf-fcs-item-side strong { font-size: 15px; white-space: nowrap; }
.mf-fcs-rm { border: 0; background: none; padding: 12px 0; min-block-size: 44px; font: inherit; font-size: 13px; color: #5b655f; text-decoration: underline; cursor: pointer; }

.mf-fcs-sum { display: flex; justify-content: space-between; align-items: baseline; margin-block-start: 18px; padding-block-start: 14px; border-block-start: 1px solid #eef0ea; font-size: 16px; }
.mf-fcs-sum strong { font-size: 20px; }
.mf-fcs-note { margin: 6px 0 14px; font-size: 13px; color: #5b655f; }
.mf-fcs-cta { display: flex; align-items: center; justify-content: center; inline-size: 100%; min-block-size: 52px; margin-block-start: 8px; padding: 0 20px; box-sizing: border-box; border: 0; border-radius: 999px; background: #1a2120; color: #fff; font: inherit; font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer; }
.mf-fcs-cta[disabled] { opacity: .45; cursor: not-allowed; }
.mf-fcs-link { display: block; margin: 8px auto 0; border: 0; background: none; padding: 10px; font: inherit; font-size: 15px; font-weight: 700; color: #44520b; cursor: pointer; }

.mf-fcs-form { display: grid; gap: 12px; }
.mf-fcs-field { display: grid; gap: 4px; }
.mf-fcs-field span { font-size: 13px; font-weight: 700; color: #3f4a45; }
.mf-fcs-field input { inline-size: 100%; min-block-size: 48px; padding: 0 14px; box-sizing: border-box; border: 1px solid #cfd6d2; border-radius: 12px; background: #fff; color: #202733; font: inherit; font-size: 16px; }
.mf-fcs-field input:focus-visible { outline: 2px solid #637d12; outline-offset: 1px; }
.mf-fcs-err { margin: 6px 0 0; font-size: 14px; color: #b42318; }
.mf-fcs-err[hidden] { display: none; }
.mf-fcs-summary { margin-block-start: 18px; padding: 14px; border-radius: 16px; background: #f6f8f3; }
.mf-fcs-summary h3 { margin: 0 0 8px; font-size: 15px; }
.mf-fcs-summary ul { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
.mf-fcs-summary li { display: flex; justify-content: space-between; gap: 10px; }
.mf-fcs-row { display: flex; justify-content: space-between; gap: 10px; padding-block: 6px; font-size: 14px; color: #3f4a45; }
.mf-fcs-row.is-total { padding-block: 10px 6px; border-block-start: 1px solid #e3e8df; font-size: 17px; color: #202733; }
.mf-fcs-row .is-err { color: #b42318; }
.mf-fcs-fine { margin: 10px 0 0; font-size: 12.5px; line-height: 1.4; text-align: center; color: #7a8782; }

.mf-fcs-done { display: grid; justify-items: center; gap: 6px; padding-block: 12px 8px; text-align: center; }
.mf-fcs-ok { display: grid; place-items: center; inline-size: 64px; block-size: 64px; border-radius: 50%; background: #eaf4c2; color: #44520b; font-size: 32px; font-weight: 800; }
.mf-fcs-done h2 { margin: 8px 0 0; font-size: 22px; }
.mf-fcs-done p { margin: 0; font-size: 15px; line-height: 1.45; color: #3f4a45; }
.mf-fcs-done .mf-fcs-muted { font-size: 13px; color: #7a8782; }

/* Order: loading state + compact success header (like the Promo success). */
.mf-fcs-cta .mf-fcs-spin { inline-size: 18px; block-size: 18px; margin-inline-end: 10px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: mf-fcs-rot .7s linear infinite; }
@keyframes mf-fcs-rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mf-fcs-cta .mf-fcs-spin { animation-duration: 1.6s; } }
.mf-fcs-cta[disabled] { opacity: .75; }
.mf-fcs-donehead { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; }
.mf-fcs-tick { display: inline-grid; place-items: center; flex: none; inline-size: 36px; block-size: 36px; border-radius: 50%; background: #2e9e4f; color: #fff; font-size: 20px; font-weight: 800; }
.mf-fcs-done { padding-block: 4px 8px; text-align: center; }
.mf-fcs-payments { margin: 12px 0 0; padding: 0; border: 0; display: grid; gap: 8px; }
.mf-fcs-payments legend { padding: 0; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: #192422; }
.mf-fcs-pay { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid #e1e5df; border-radius: 14px; background: #fff; cursor: pointer; }
.mf-fcs-pay.is-on { border-color: #192422; background: #f6f7f4; }
.mf-fcs-pay input { margin-top: 3px; accent-color: #192422; }
.mf-fcs-pay b { display: block; font-size: 14px; color: #192422; }
.mf-fcs-pay small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: #5b6660; }
.mf-fcs-transfer { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #f6f7f4; border: 1px solid #e1e5df; font-size: 13px; line-height: 1.4; color: #3b4540; }
