/* Salon booking flow. Brand values arrive as custom properties from the site config. */
.mfx-panel {
  --mfx-primary: var(--c-accent, #1f1f1f); --mfx-on-primary: var(--c-accent-ink, #fff);
  --mfx-surface: var(--c-surface, #fff); --mfx-text: var(--c-ink, #1a1a1a); --mfx-radius: var(--radius, 14px);
  --mfx-font: var(--f-body, system-ui, -apple-system, "Segoe UI", sans-serif); --mfx-font-display: var(--f-display, var(--mfx-font));
  --mfx-muted: var(--c-muted, color-mix(in srgb, var(--mfx-text) 62%, var(--mfx-surface)));
  --mfx-line: var(--c-line, color-mix(in srgb, var(--mfx-text) 11%, var(--mfx-surface)));
  --mfx-soft: color-mix(in srgb, var(--mfx-text) 5%, var(--mfx-surface));
  --mfx-tint: color-mix(in srgb, var(--mfx-primary) 12%, var(--mfx-surface));
  --mfx-focus: var(--c-focus, var(--mfx-primary));
  --mfx-danger: light-dark(#b3261e, #ff8a80); color-scheme: inherit;
  --mfx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mfx-r-sm: calc(var(--mfx-radius) * 0.7);
  box-sizing: border-box; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%; min-height: 0; background: var(--mfx-surface); color: var(--mfx-text);
  font: 400 16px/1.45 var(--mfx-font); -webkit-font-smoothing: antialiased; text-align: left;
}
.mfx-panel *, .mfx-panel *::before, .mfx-panel *::after { box-sizing: border-box; }
.mfx-panel :where(h1, h2, h3, p, ul) { margin: 0; padding: 0; }
.mfx-panel ul { list-style: none; }
/* :where keeps this reset at one class of specificity; component classes declared later must win (.mfx-primary text colour). */
.mfx-panel :where(button, input, select, textarea) { font: inherit; color: inherit; }
.mfx-panel svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mfx-panel :focus-visible { outline: 2px solid var(--mfx-focus); outline-offset: 2px; }
.mfx-panel .mfx-title:focus { outline: none; }
.mfx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.mfx-head { padding: 10px 12px 0; border-bottom: 1px solid var(--mfx-line); background: var(--mfx-surface); }
.mfx-head-row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: 44px; }
.mfx-brand { text-align: center; min-width: 0; }
.mfx-brand-name { font: 600 15px/1.2 var(--mfx-font-display); letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mfx-icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .2s var(--mfx-ease); }
.mfx-icon-btn:hover { background: var(--mfx-soft); }
.mfx-icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.mfx-icon-btn.sm { width: 44px; height: 44px; }
.mfx-icon-spacer { width: 44px; }
.mfx-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 8px 4px 10px; }
.mfx-progress[data-hidden] { visibility: hidden; }
.mfx-progress span { height: 3px; border-radius: 3px; background: var(--mfx-line); transition: background-color .4s var(--mfx-ease); }
.mfx-progress span.on { background: var(--mfx-primary); }
.mfx-preview { margin: 0 -12px; padding: 8px 16px; border-top: 1px solid var(--mfx-line); background: var(--mfx-soft); color: var(--mfx-text); font-size: 13px; line-height: 1.4; text-align: center; text-wrap: pretty; }

/* Body */
.mfx-body { overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; -webkit-overflow-scrolling: touch; }
.mfx-step-in { padding: 20px 20px 28px; animation: mfx-in .36s var(--mfx-ease) both; }
@keyframes mfx-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mfx-kicker { font-size: 13px; color: var(--mfx-muted); margin-bottom: 4px; }
.mfx-title { font: 600 24px/1.2 var(--mfx-font-display); letter-spacing: -0.01em; margin-bottom: 16px; }
.mfx-lead { font-size: 15px; color: var(--mfx-text); margin: 4px 0 12px; }
.mfx-muted { color: var(--mfx-muted); font-size: 14px; }
.mfx-note { margin-top: 14px; }
.mfx-group { margin-top: 8px; }
.mfx-group + .mfx-group { margin-top: 20px; }
.mfx-group-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--mfx-muted); padding: 8px 0 4px; }

/* Category chips */
.mfx-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px 8px; padding: 2px 20px 10px; scrollbar-width: none; }
.mfx-chips::-webkit-scrollbar { display: none; }
.mfx-chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--mfx-line); background: var(--mfx-surface); cursor: pointer; font-size: 14px; font-weight: 500; transition: background-color .2s var(--mfx-ease), color .2s var(--mfx-ease), border-color .2s var(--mfx-ease); }
.mfx-chip:hover { border-color: color-mix(in srgb, var(--mfx-text) 30%, var(--mfx-surface)); }
.mfx-chip[aria-pressed="true"] { background: var(--mfx-text); color: var(--mfx-surface); border-color: var(--mfx-text); }

/* Rows */
.mfx-list > li + li { border-top: 1px solid var(--mfx-line); }
.mfx-row { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 0; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 0; }
.mfx-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mfx-row-title { font-weight: 500; font-size: 16px; }
.mfx-row-desc { font-size: 14px; color: var(--mfx-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mfx-row-meta { font-size: 13px; color: var(--mfx-muted); }
.mfx-row-side { display: flex; align-items: center; gap: 12px; flex: none; }
.mfx-price { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mfx-add { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--mfx-soft); transition: background-color .2s var(--mfx-ease), transform .2s var(--mfx-ease); }
.mfx-add svg { width: 18px; height: 18px; }
.mfx-add.is-on { background: var(--mfx-primary); color: var(--mfx-on-primary); }
.mfx-service:hover .mfx-add:not(.is-on) { background: var(--mfx-line); }
.mfx-service:active .mfx-add { transform: scale(.92); }
.mfx-addon-side { flex-direction: column; align-items: flex-end; gap: 0; }
.mfx-check-row { cursor: pointer; }
.mfx-checkbox { appearance: none; -webkit-appearance: none; display: inline-grid; place-content: center; width: 22px; height: 22px; flex: none; margin: 0; padding: 0; min-height: 0; border: 1.5px solid color-mix(in srgb, var(--mfx-text) 38%, var(--mfx-surface)); border-radius: 6px; background: var(--mfx-surface); cursor: pointer; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.mfx-checkbox::before { content: ''; width: 16px; height: 16px; background: var(--mfx-on-primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.4 3.4L13 4.6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.4 3.4L13 4.6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; clip-path: inset(0 100% 0 0); transition: clip-path .24s cubic-bezier(.2,.7,.2,1) .03s; }
.mfx-checkbox:checked { background: var(--mfx-primary); border-color: var(--mfx-primary); }
.mfx-checkbox:checked::before { clip-path: inset(0 0 0 0); }
.mfx-checkbox:active { transform: scale(.94); }
.mfx-checkbox:focus-visible { outline: 2px solid var(--mfx-primary); outline-offset: 2px; }
.mfx-picked { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--mfx-r-sm); background: var(--mfx-soft); margin-bottom: 16px; }
.mfx-picked-name { font-weight: 600; }

/* Cart */
.mfx-cart-item { display: flex; gap: 12px; padding: 16px 0; align-items: flex-start; }
.mfx-inline-actions { display: flex; gap: 18px; margin-top: 2px; }
.mfx-link { border: 0; background: none; padding: 0; min-height: 44px; display: inline-flex; align-items: center; color: var(--mfx-text); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--mfx-text) 35%, transparent); cursor: pointer; }
.mfx-link:hover { text-decoration-color: currentColor; }
.mfx-danger-link { color: var(--mfx-danger); }
.mfx-add-more { margin-top: 8px; width: 100%; }

/* Staff */
.mfx-avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; display: grid; place-items: center; background: var(--mfx-tint); color: var(--mfx-primary); font-weight: 600; font-size: 17px; }
.mfx-any { background: var(--mfx-soft); color: var(--mfx-text); }
.mfx-chev { color: var(--mfx-muted); display: grid; }
.mfx-staff[aria-pressed="true"] .mfx-chev { color: var(--mfx-primary); }
.mfx-staff[aria-pressed="true"] .mfx-row-title { font-weight: 600; }

/* Date strip and slots */
.mfx-strip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mfx-month { font-weight: 600; }
.mfx-strip-nav { display: flex; gap: 2px; margin-right: -10px; }
.mfx-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mfx-day { min-height: 68px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1px solid var(--mfx-line); border-radius: var(--mfx-r-sm); background: var(--mfx-surface); cursor: pointer; padding: 6px 0; transition: background-color .2s var(--mfx-ease), border-color .2s var(--mfx-ease), color .2s var(--mfx-ease); }
.mfx-day:hover { border-color: color-mix(in srgb, var(--mfx-text) 35%, var(--mfx-surface)); }
.mfx-dow { font-size: 12px; color: var(--mfx-muted); text-transform: uppercase; letter-spacing: .04em; }
.mfx-dnum { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mfx-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mfx-primary); }
.mfx-day.is-none .mfx-dnum, .mfx-day.is-none .mfx-dow { color: color-mix(in srgb, var(--mfx-text) 32%, var(--mfx-surface)); }
.mfx-day.is-none .mfx-dot { background: transparent; }
.mfx-day:disabled { cursor: default; opacity: .5; }
.mfx-day[aria-pressed="true"] { background: var(--mfx-primary); border-color: var(--mfx-primary); }
.mfx-day[aria-pressed="true"] :is(.mfx-dow, .mfx-dnum) { color: var(--mfx-on-primary); }
.mfx-day[aria-pressed="true"] .mfx-dot { background: var(--mfx-on-primary); }
.mfx-tz { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mfx-muted); margin: 14px 0 4px; }
.mfx-tz svg { width: 16px; height: 16px; }
.mfx-slots { min-height: 300px; }
.mfx-slot-h { font-size: 13px; font-weight: 600; color: var(--mfx-muted); margin: 16px 0 8px; }
.mfx-slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mfx-slot { min-height: 48px; border: 1px solid var(--mfx-line); border-radius: var(--mfx-r-sm); background: var(--mfx-surface); cursor: pointer; font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color .2s var(--mfx-ease), border-color .2s var(--mfx-ease), transform .15s var(--mfx-ease); }
.mfx-slot:hover { border-color: var(--mfx-primary); }
.mfx-slot:active { transform: scale(.97); }
.mfx-slot[aria-pressed="true"] { background: var(--mfx-primary); color: var(--mfx-on-primary); border-color: var(--mfx-primary); }

/* Skeletons */
.mfx-skel { display: grid; gap: 8px; }
.mfx-skel-h, .mfx-skel-slot, .mfx-skel-card { display: block; border-radius: var(--mfx-r-sm); background: linear-gradient(90deg, var(--mfx-soft) 0%, var(--mfx-line) 50%, var(--mfx-soft) 100%); background-size: 200% 100%; animation: mfx-shimmer 1.3s linear infinite; }
.mfx-skel-h { width: 84px; height: 14px; margin: 18px 0 2px; }
.mfx-skel-slot { height: 48px; }
.mfx-skel-card { height: 120px; }
@keyframes mfx-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* States */
.mfx-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 40px 12px; }
.mfx-state-page { min-height: 60vh; justify-content: center; }
.mfx-state-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--mfx-soft); margin-bottom: 4px; }
.mfx-state-title { font-weight: 600; font-size: 17px; }
.mfx-state .mfx-secondary { margin-top: 8px; }
.mfx-alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--mfx-r-sm); background: color-mix(in srgb, var(--mfx-danger) 8%, var(--mfx-surface)); color: var(--mfx-text); margin-top: 16px; font-size: 14px; }
.mfx-alert svg { color: var(--mfx-danger); margin-top: 1px; }
.mfx-alert-title { font-weight: 600; }

/* Buttons */
.mfx-primary, .mfx-secondary, .mfx-danger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; transition: background-color .2s var(--mfx-ease), opacity .2s var(--mfx-ease), transform .15s var(--mfx-ease); white-space: nowrap; }
.mfx-primary { border: 0; background: var(--mfx-primary); color: var(--mfx-on-primary); }
.mfx-primary:hover:not(:disabled) { background: color-mix(in srgb, var(--mfx-primary) 86%, var(--mfx-text)); }
.mfx-primary:active:not(:disabled), .mfx-secondary:active { transform: scale(.98); }
.mfx-primary:disabled { background: var(--mfx-line); color: var(--mfx-muted); cursor: not-allowed; }
.mfx-primary[aria-busy="true"] { opacity: .85; cursor: progress; }
.mfx-secondary { border: 1px solid var(--mfx-line); background: var(--mfx-surface); color: var(--mfx-text); font-weight: 500; }
.mfx-secondary:hover { border-color: color-mix(in srgb, var(--mfx-text) 35%, var(--mfx-surface)); }
.mfx-secondary svg { width: 18px; height: 18px; }
.mfx-danger { border: 0; background: var(--mfx-danger); color: #fff; }
.mfx-danger-outline { color: var(--mfx-danger); width: 100%; margin-top: 16px; }
.mfx-wide { width: 100%; }
.mfx-primary svg { width: 18px; height: 18px; }
.mfx-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: mfx-rot .8s linear infinite; }
@keyframes mfx-rot { to { transform: rotate(360deg); } }

/* Footer */
.mfx-foot { display: flex; align-items: center; gap: 16px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--mfx-line); background: var(--mfx-surface); min-height: 73px; }
.mfx-foot-sum { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.mfx-foot-strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.mfx-foot-muted { font-size: 13px; color: var(--mfx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Form */
.mfx-form { display: grid; gap: 4px; }
.mfx-two { display: grid; gap: 4px; }
.mfx-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.mfx-optional { font-weight: 400; color: var(--mfx-muted); margin-left: 6px; }
.mfx-field input, .mfx-field select, .mfx-field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid color-mix(in srgb, var(--mfx-text) 22%, var(--mfx-surface)); border-radius: var(--mfx-r-sm); background: var(--mfx-surface); font-size: 16px; transition: border-color .2s var(--mfx-ease), box-shadow .2s var(--mfx-ease); }
.mfx-field textarea { resize: vertical; min-height: 84px; }
.mfx-field :is(input, select, textarea):focus { outline: none; border-color: var(--mfx-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mfx-primary) 18%, transparent); }
.mfx-field.has-error :is(input, textarea) { border-color: var(--mfx-danger); }
.mfx-phone { display: grid; grid-template-columns: 124px 1fr; gap: 8px; }
.mfx-phone select { appearance: none; -webkit-appearance: none; padding: 11px 34px 11px 14px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 19px center, right 14px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.mfx-hint { font-size: 13px; color: var(--mfx-muted); margin-top: 6px; }
.mfx-err { min-height: 22px; font-size: 13px; color: var(--mfx-danger); padding-top: 4px; }

/* Review, confirmation, manage */
.mfx-card { border: 1px solid var(--mfx-line); border-radius: var(--mfx-radius); padding: 18px; }
.mfx-card + .mfx-card { margin-top: 12px; }
.mfx-when { font: 600 19px/1.25 var(--mfx-font-display); }
.mfx-when-time { margin-top: 2px; font-weight: 500; }
.mfx-when-time .mfx-muted { font-weight: 400; margin-left: 4px; }
.mfx-card-list { margin-top: 14px; border-top: 1px solid var(--mfx-line); }
.mfx-card-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--mfx-line); }
.mfx-total { display: flex; justify-content: space-between; font-weight: 600; padding-top: 12px; }
.mfx-paynote { margin-top: 2px; }
.mfx-where { margin-top: 12px; font-size: 14px; color: var(--mfx-muted); }
.mfx-contact { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mfx-contact .mfx-link { min-height: 24px; }
.mfx-notes { margin-top: 6px; font-style: italic; }
.mfx-policy { margin-top: 20px; font-size: 14px; display: grid; gap: 8px; }
.mfx-policy > p { color: var(--mfx-muted); }
.mfx-deposit strong { color: var(--mfx-text); }
.mfx-agree { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 10px 14px; border-radius: var(--mfx-r-sm); background: var(--mfx-soft); cursor: pointer; font-size: 15px; margin-top: 4px; }
.mfx-agree.has-error { box-shadow: inset 0 0 0 1px var(--mfx-danger); }
.mfx-success { display: flex; align-items: center; gap: 14px; margin: -4px 0 16px; }
.mfx-success-mark { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--mfx-primary); color: var(--mfx-on-primary); animation: mfx-pop .5s var(--mfx-ease) both; }
.mfx-success-mark svg { stroke-width: 2.4; stroke-dasharray: 24; stroke-dashoffset: 24; animation: mfx-draw .45s .15s var(--mfx-ease) forwards; }
.mfx-success .mfx-lead { margin: 0; }
@keyframes mfx-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mfx-draw { to { stroke-dashoffset: 0; } }
.mfx-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.mfx-actions .mfx-secondary { padding: 0 12px; font-size: 15px; }
.mfx-manage-links { display: flex; gap: 24px; justify-content: center; margin-top: 8px; }
.mfx-status { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--mfx-tint); color: var(--mfx-primary); margin-bottom: 12px; }
.mfx-status.is-cancelled { background: color-mix(in srgb, var(--mfx-danger) 10%, var(--mfx-surface)); color: var(--mfx-danger); }
.mfx-confirm { margin-top: 16px; padding: 16px; border-radius: var(--mfx-r-sm); background: var(--mfx-soft); display: grid; gap: 8px; }
.mfx-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.mfx-handoff { display: grid; gap: 8px; }

/* Standalone page */
body.mfx-book-page { margin: 0; background: var(--c-bg, #f4f3f1); min-height: 100vh; min-height: 100dvh; }
.mfx-page { min-height: 100vh; min-height: 100dvh; height: 100dvh; }
@media (min-width: 640px) {
  body.mfx-book-page { padding: 40px 16px; }
  .mfx-page { max-width: 560px; margin: 0 auto; height: min(860px, calc(100dvh - 80px)); min-height: 0; border-radius: 20px; box-shadow: 0 12px 48px rgb(0 0 0 / 0.08); overflow: hidden; }
  .mfx-page .mfx-step-in { padding: 24px 28px 32px; }
  .mfx-page .mfx-foot { padding: 14px 28px; }
  .mfx-page .mfx-two { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mfx-page .mfx-slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

html.mfx-embedded body.mfx-book-page { padding: 0; background: var(--c-surface, #fff); }
html.mfx-embedded .mfx-page { max-width: none; margin: 0; height: 100vh; height: 100dvh; border-radius: 0; box-shadow: none; }
@media (min-width: 640px) {
  .mfx-page .mfx-chips { margin: 0 -28px 8px; padding: 2px 28px 10px; }
  .mfx-page .mfx-title { font-size: 26px; }
}

.mfx-example-note { margin: 12px 0 16px; padding: 12px 14px; border-radius: var(--mfx-r-sm); background: var(--mfx-soft); color: var(--mfx-text); font-size: 15px; line-height: 1.45; }

/* Design pass. Each site's fonts, radius and motion character come through the theme. */
.mfx-panel { --mfx-step-ease: var(--m-ease, var(--mfx-ease)); --mfx-step-dur: calc(var(--m-dur, .8s) * .62); --mfx-press: var(--m-press, .97); --mfx-lift: var(--m-hover, -2px); --mfx-cta-r: var(--radius-pill, 999px); --mfx-card-line: color-mix(in srgb, var(--mfx-text) 13%, var(--mfx-surface)); }
.mfx-brand-name { font-size: 17px; }
.mfx-progress span { position: relative; overflow: hidden; height: 4px; background: var(--mfx-line); }
.mfx-progress span.on { background: var(--mfx-line); }
.mfx-progress span::after { content: ''; position: absolute; inset: 0; background: var(--mfx-primary); transform: scaleX(0); transform-origin: left; }
.mfx-progress span.on::after { transform: none; }
.mfx-progress span.grow::after { animation: mfx-grow .7s var(--mfx-ease) both; }
@keyframes mfx-grow { from { transform: scaleX(0); } to { transform: none; } }
.mfx-step-in { padding: 24px 22px 32px; animation: none; }
.mfx-step-in.is-fresh { animation: mfx-fwd var(--mfx-step-dur) var(--mfx-step-ease) both; }
.mfx-step-in.is-fresh[data-dir="back"] { animation-name: mfx-bwd; }
@keyframes mfx-fwd { from { opacity: 0; transform: translate3d(44px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes mfx-bwd { from { opacity: 0; transform: translate3d(-44px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes mfx-rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes mfx-pop { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
.is-fresh .mfx-list > li, .is-fresh .mfx-card { animation: mfx-rise var(--mfx-step-dur) var(--mfx-step-ease) backwards; }
.is-fresh .mfx-list > li:nth-child(2) { animation-delay: 50ms; } .is-fresh .mfx-list > li:nth-child(3) { animation-delay: 100ms; } .is-fresh .mfx-list > li:nth-child(4) { animation-delay: 150ms; }
.is-fresh .mfx-list > li:nth-child(5) { animation-delay: 200ms; } .is-fresh .mfx-list > li:nth-child(n+6) { animation-delay: 250ms; }
.mfx-kicker { font-size: 13px; letter-spacing: .02em; margin-bottom: 6px; }
.mfx-title { font-size: clamp(28px, 6vw, 34px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 20px; }
.mfx-panel .mfx-list { display: grid; gap: 10px; }
.mfx-panel .mfx-list > li { border: 0; }
.mfx-panel .mfx-group + .mfx-group { margin-top: 26px; }
.mfx-group-title { padding: 8px 0 10px; }
.mfx-row { padding: 16px; border: 1px solid var(--mfx-card-line); border-radius: var(--mfx-r-sm); background: var(--mfx-surface); transition: transform .3s var(--mfx-step-ease), border-color .2s, background-color .2s; }
.mfx-row-title { font-weight: 600; }
.mfx-service[aria-current="true"], .mfx-staff[aria-pressed="true"] { border-color: var(--mfx-primary); background: var(--mfx-tint); }
.mfx-row:active { transform: scale(var(--mfx-press)); transition-duration: .08s; }
.mfx-add { width: 36px; height: 36px; transition: transform .3s var(--mfx-step-ease), background-color .2s, color .2s; }
.mfx-avatar { width: 52px; height: 52px; }
.mfx-panel .mfx-cart { display: block; }
.mfx-cart-item { padding: 16px; margin-bottom: 10px; border: 1px solid var(--mfx-card-line); border-radius: var(--mfx-r-sm); }
.mfx-day { min-height: 76px; transition: transform .3s var(--mfx-step-ease), border-color .2s, background-color .2s; }
.mfx-dnum { font-size: 20px; font-weight: 600; }
.mfx-day:active:not(:disabled) { transform: scale(var(--mfx-press)); }
.mfx-slot { min-height: 52px; font-weight: 600; border-color: var(--mfx-card-line); transition: transform .28s var(--mfx-step-ease), background-color .18s, border-color .18s, color .18s; animation: mfx-pop .42s var(--mfx-step-ease) backwards; }
.mfx-slot:nth-child(2) { animation-delay: 30ms; } .mfx-slot:nth-child(3) { animation-delay: 60ms; } .mfx-slot:nth-child(4) { animation-delay: 90ms; } .mfx-slot:nth-child(5) { animation-delay: 120ms; } .mfx-slot:nth-child(n+6) { animation-delay: 150ms; }
.mfx-slot:active { transform: scale(var(--mfx-press)); }
.mfx-foot { padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); }
.mfx-primary, .mfx-secondary, .mfx-danger { min-height: 54px; border-radius: var(--mfx-cta-r); transition: transform .28s var(--mfx-step-ease), filter .2s, background-color .2s; }
.mfx-primary:active:not(:disabled), .mfx-secondary:active:not(:disabled), .mfx-danger:active:not(:disabled) { transform: scale(var(--mfx-press)); transition-duration: .08s; }
.mfx-field input, .mfx-field textarea { min-height: 52px; transition: border-color .18s, box-shadow .18s; }
.mfx-phone { grid-template-columns: 112px 1fr; }
.mfx-cc { position: relative; display: flex; align-items: center; min-height: 52px; padding: 0 30px 0 14px; border: 1px solid color-mix(in srgb, var(--mfx-text) 22%, var(--mfx-surface)); border-radius: var(--mfx-r-sm); background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 17px center, right 12px center; background-size: 5px 5px; background-repeat: no-repeat; white-space: nowrap; transition: border-color .18s, box-shadow .18s; }
.mfx-cc:focus-within { border-color: var(--mfx-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mfx-primary) 18%, transparent); }
.mfx-phone .mfx-cc select { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; background: none; box-shadow: none; }
.mfx-card { padding: 22px; border: 0; background: var(--mfx-soft); border-radius: var(--mfx-radius); }
.mfx-when-time { font-size: 18px; font-weight: 600; }
.mfx-success { display: grid; justify-items: center; text-align: center; gap: 18px; padding: 18px 0 18px; }
.mfx-success-mark { position: relative; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--mfx-primary); color: var(--mfx-on-primary); animation: mfx-pop .7s var(--mfx-step-ease) both; }
.mfx-success-mark::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--mfx-primary); animation: mfx-ring 1s ease-out .15s both; }
.mfx-success-mark svg { width: 36px; height: 36px; stroke-width: 2.4; }
@keyframes mfx-ring { from { opacity: .7; transform: none; } to { opacity: 0; transform: scale(1.8); } }
@media (hover: hover) {
  .mfx-row:hover { transform: translate3d(0, var(--mfx-lift), 0); border-color: color-mix(in srgb, var(--mfx-text) 34%, var(--mfx-surface)); }
  .mfx-slot:hover, .mfx-day:hover:not(:disabled), .mfx-primary:hover:not(:disabled) { transform: translate3d(0, var(--mfx-lift), 0); }
}

.mfx-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.2; }
.mfx-slot-tag { font-size: 11px; font-weight: 600; letter-spacing: .01em; color: var(--mfx-primary); }
.mfx-slot[aria-pressed="true"] .mfx-slot-tag { color: var(--mfx-on-primary); }
.mfx-slot.is-next { border-color: color-mix(in srgb, var(--mfx-primary) 45%, var(--mfx-surface)); }
.mfx-sameday { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 4px 0 6px; border-radius: var(--mfx-r-sm); background: var(--mfx-soft); font-size: 14px; line-height: 1.45; }
.mfx-sameday svg { width: 18px; height: 18px; margin-top: 1px; color: var(--mfx-muted); }
.mfx-cart-when { font-size: 14px; color: var(--mfx-text); margin-top: 4px; }
.mfx-cart-when.is-missing { color: var(--mfx-muted); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  .mfx-panel :is(.mfx-row, .mfx-slot, .mfx-day, .mfx-primary, .mfx-secondary, .mfx-danger, .mfx-checkbox) { transform: none !important; }
  .mfx-panel *, .mfx-panel { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .mfx-skel-h, .mfx-skel-slot, .mfx-skel-card { animation: none; }
}

/* The status live region sits after main at body level: pin it to the top so it never adds a 1px document scroll under the full-height sheet. */
body.mfx-book-page > .mfx-sr { top: 0; left: 0; }
