/* MK Cleaning Booking – front-end styles. Everything is scoped under .mkcb */

.mkcb {
	--mkcb-accent: #f26a21;
	--mkcb-accent-ink: #ffffff;
	--mkcb-tint: color-mix(in srgb, var(--mkcb-accent) 9%, #ffffff);
	--mkcb-tint-strong: color-mix(in srgb, var(--mkcb-accent) 18%, #ffffff);
	--mkcb-ink: #16224b;
	--mkcb-text: #475467;
	--mkcb-muted: #8a93a6;
	--mkcb-line: #e4e7ec;
	--mkcb-surface: #ffffff;
	--mkcb-danger: #c8321e;
	--mkcb-radius: 14px;
	color: var(--mkcb-text);
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}
.mkcb *, .mkcb *::before, .mkcb *::after { box-sizing: inherit; }
.mkcb svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mkcb img { max-width: 100%; height: auto; display: block; }
.mkcb h2, .mkcb h3 { margin: 0; color: var(--mkcb-ink); line-height: 1.2; }
.mkcb p { margin: 0; }
.mkcb .mkcb-muted { color: var(--mkcb-muted); }
.mkcb .mkcb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mkcb .mkcb-notice { padding: 14px 16px; border: 1px solid var(--mkcb-line); border-radius: 10px; }

/* ---------- Progress ---------- */
.mkcb .mkcb-wrap { max-width: 1120px; margin: 0 auto; }
.mkcb .mkcb-progress { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 4px; counter-reset: none; }
.mkcb .mkcb-prog-item { flex: 1 1 0; min-width: 0; position: relative; margin: 0; padding: 0; }
.mkcb .mkcb-prog-item::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 2px; background: var(--mkcb-line); z-index: 0; }
.mkcb .mkcb-prog-item:first-child::before { display: none; }
.mkcb .mkcb-prog-item.is-done::before, .mkcb .mkcb-prog-item.is-current::before { background: var(--mkcb-accent); }
.mkcb .mkcb-prog-btn { all: unset; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; font-size: 12px; color: var(--mkcb-muted); text-align: center; }
.mkcb button.mkcb-prog-btn { cursor: pointer; }
.mkcb button.mkcb-prog-btn:focus-visible { outline: 2px solid var(--mkcb-accent); outline-offset: 2px; border-radius: 6px; }
.mkcb .mkcb-prog-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mkcb-surface); border: 2px solid var(--mkcb-line); color: var(--mkcb-muted); font-weight: 700; font-size: 13px; }
.mkcb .is-done .mkcb-prog-dot { background: var(--mkcb-accent); border-color: var(--mkcb-accent); color: var(--mkcb-accent-ink); }
.mkcb .is-current .mkcb-prog-dot { border-color: var(--mkcb-accent); color: var(--mkcb-accent); box-shadow: 0 0 0 4px var(--mkcb-tint-strong); }
.mkcb .is-current .mkcb-prog-btn, .mkcb .is-done .mkcb-prog-btn { color: var(--mkcb-ink); }
.mkcb .mkcb-prog-label { line-height: 1.2; overflow-wrap: anywhere; }

/* ---------- Layout ---------- */
.mkcb .mkcb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.mkcb .mkcb-main { background: var(--mkcb-surface); border: 1px solid var(--mkcb-line); border-radius: 18px; padding: 26px; min-width: 0; }
.mkcb .mkcb-step-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.mkcb .mkcb-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--mkcb-accent); color: var(--mkcb-accent-ink); display: grid; place-items: center; font-size: 22px; font-weight: 800; flex: none; }
.mkcb .mkcb-step-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; letter-spacing: -0.01em; }
.mkcb .mkcb-step-sub { color: var(--mkcb-text); font-size: 15px; margin-top: 2px; }
.mkcb .mkcb-banner { background: #fdf0ed; border: 1px solid #f4c7bd; color: var(--mkcb-danger); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; }

/* ---------- Cards ---------- */
.mkcb .mkcb-grid { display: grid; gap: 16px; }
.mkcb .mkcb-cols-1 { grid-template-columns: minmax(0, 1fr); }
.mkcb .mkcb-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mkcb .mkcb-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mkcb .mkcb-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mkcb .mkcb-card { display: flex; flex-direction: column; background: var(--mkcb-surface); border: 1.5px solid var(--mkcb-line); border-radius: var(--mkcb-radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.mkcb .mkcb-card.is-selected { border-color: var(--mkcb-accent); box-shadow: 0 0 0 3px var(--mkcb-tint-strong); }
.mkcb .mkcb-card-media { aspect-ratio: 16 / 10; background: var(--mkcb-tint); overflow: hidden; }
.mkcb .mkcb-card-media.is-empty { display: none; }
.mkcb .mkcb-card-media img { width: 100%; height: 100%; object-fit: cover; }
.mkcb .mkcb-card-body { padding: 16px 16px 12px; flex: 1; text-align: center; }
.mkcb .mkcb-card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mkcb-tint); color: var(--mkcb-accent); font-size: 22px; margin-bottom: 8px; }
.mkcb .mkcb-card-title { font-size: 17px; font-weight: 700; }
.mkcb .mkcb-card-text { font-size: 14px; margin-top: 6px; }
.mkcb .mkcb-card-simple .mkcb-card-body { padding-top: 22px; }
.mkcb .mkcb-big { font-size: 28px; font-weight: 800; color: var(--mkcb-accent); }
.mkcb .mkcb-price { font-size: 26px; font-weight: 800; color: var(--mkcb-accent); margin-top: 10px; }
.mkcb .mkcb-price-note { font-size: 13px; color: var(--mkcb-muted); }

.mkcb .mkcb-feats { list-style: none; margin: 12px 0 0; padding: 0; text-align: left; font-size: 14px; }
.mkcb .mkcb-feats li { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; margin: 0; }
.mkcb .mkcb-feats .is-on { color: var(--mkcb-ink); }
.mkcb .mkcb-feats .is-off { color: var(--mkcb-muted); }
.mkcb .mkcb-feat-ico { margin-top: 3px; }
.mkcb .mkcb-feats .is-on .mkcb-feat-ico { color: var(--mkcb-accent); }

.mkcb .mkcb-note { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding: 12px 14px; background: var(--mkcb-tint); border-radius: 10px; color: var(--mkcb-ink); font-size: 14px; }
.mkcb .mkcb-note svg { color: var(--mkcb-accent); font-size: 20px; }

/* ---------- Buttons ---------- */
.mkcb .mkcb-btn { appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border: 2px solid var(--mkcb-accent); border-radius: 999px; background: var(--mkcb-accent); color: var(--mkcb-accent-ink); font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, opacity .15s; }
.mkcb .mkcb-btn:hover { background: color-mix(in srgb, var(--mkcb-accent) 88%, #000); border-color: color-mix(in srgb, var(--mkcb-accent) 88%, #000); color: var(--mkcb-accent-ink); }
.mkcb .mkcb-btn:focus-visible, .mkcb .mkcb-slot:focus-visible, .mkcb .mkcb-cal-day:focus-visible, .mkcb .mkcb-nopref:focus-visible { outline: 3px solid var(--mkcb-ink); outline-offset: 2px; }
.mkcb .mkcb-btn[disabled] { opacity: .45; cursor: not-allowed; }
.mkcb .mkcb-btn-block { display: flex; width: calc(100% - 28px); margin: 0 14px 14px; }
.mkcb .mkcb-btn-ghost { background: transparent; color: var(--mkcb-accent); }
.mkcb .mkcb-btn-ghost:hover { background: var(--mkcb-tint); color: var(--mkcb-accent); }
.mkcb .mkcb-btn.is-on { background: var(--mkcb-ink); border-color: var(--mkcb-ink); }
.mkcb .mkcb-btn-lg { min-height: 52px; padding: 12px 30px; font-size: 17px; }
.mkcb .mkcb-link { all: unset; color: var(--mkcb-accent); font-weight: 700; cursor: pointer; text-decoration: underline; }
.mkcb .mkcb-link:focus-visible { outline: 2px solid var(--mkcb-accent); outline-offset: 2px; }

.mkcb .mkcb-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--mkcb-line); flex-wrap: wrap; }
.mkcb .mkcb-nav.is-center { justify-content: center; border: 0; }

/* ---------- Pricing step ---------- */
.mkcb .mkcb-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 24px; margin-bottom: 26px; border-radius: 18px; background: linear-gradient(135deg, var(--mkcb-accent), color-mix(in srgb, var(--mkcb-accent) 78%, #7a2a00)); color: #fff; box-shadow: 0 10px 26px color-mix(in srgb, var(--mkcb-accent) 32%, transparent); }
.mkcb .mkcb-hero-main { display: flex; flex-direction: column; gap: 2px; }
.mkcb .mkcb-hero-label { display: block; font-size: 14px; font-weight: 600; opacity: .9; }
.mkcb .mkcb-hero-price { display: block; font-size: clamp(34px, 7vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: #fff; }
.mkcb .mkcb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mkcb .mkcb-chips li { margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.mkcb .mkcb-sub-h { font-size: 18px; font-weight: 800; }
.mkcb .mkcb-pg-sub { margin: 2px 0 14px; font-size: 14px; }

/* div-based grid on purpose: themes restyle <table>, but not this */
.mkcb .mkcb-pgrid { display: flex; flex-direction: column; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.mkcb .mkcb-pg-row { display: grid; grid-template-columns: minmax(130px, 1.5fr) repeat(var(--cols, 2), minmax(96px, 1fr)); gap: 8px; align-items: stretch; min-width: 0; }
.mkcb .mkcb-pg-head { align-items: end; }
.mkcb .mkcb-pg-corner { font-size: 12px; color: var(--mkcb-muted); font-weight: 600; padding: 0 12px 4px; }
.mkcb .mkcb-pg-col { text-align: center; font-size: 13px; font-weight: 700; color: var(--mkcb-text); padding: 0 8px 8px; border-bottom: 3px solid transparent; }
.mkcb .mkcb-pg-col.is-sel { color: var(--mkcb-accent); border-bottom-color: var(--mkcb-accent); }
.mkcb .mkcb-pg-name { display: flex; align-items: center; padding: 14px 14px; border-radius: 12px; background: #f3f4f6; color: var(--mkcb-ink); font-weight: 700; font-size: 15px; line-height: 1.25; }
.mkcb .is-sel-row .mkcb-pg-name { background: var(--mkcb-tint-strong); color: var(--mkcb-accent); box-shadow: inset 4px 0 0 var(--mkcb-accent); }
.mkcb .mkcb-pg-cell { appearance: none; -webkit-appearance: none; display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 8px; border: 1.5px solid var(--mkcb-line); border-radius: 12px; background: #fff; color: var(--mkcb-ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .12s, border-color .12s, background-color .12s; }
.mkcb .mkcb-pg-cell:hover { border-color: var(--mkcb-accent); transform: translateY(-1px); }
.mkcb .mkcb-pg-cell:focus-visible { outline: 3px solid var(--mkcb-ink); outline-offset: 2px; }
.mkcb .mkcb-pg-cell.in-row { background: #eceef2; border-color: #e0e3e9; color: var(--mkcb-text); }
.mkcb .mkcb-pg-cell.in-col { background: #f6f7f9; border-color: #eceef2; }
.mkcb .mkcb-pg-cell.is-sel { background: var(--mkcb-accent); border-color: var(--mkcb-accent); color: #fff; font-size: 18px; box-shadow: 0 8px 18px color-mix(in srgb, var(--mkcb-accent) 38%, transparent); transform: scale(1.03); }
.mkcb .mkcb-pg-cell.is-na { background: transparent; border-style: dashed; color: var(--mkcb-muted); font-weight: 400; cursor: default; }
.mkcb .mkcb-pg-cell.is-na:hover { transform: none; border-color: var(--mkcb-line); }
.mkcb .mkcb-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--mkcb-text); }
.mkcb .mkcb-legend span { display: inline-flex; align-items: center; gap: 7px; }
.mkcb .mkcb-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; background: #eceef2; }
.mkcb .mkcb-legend i.is-sel { background: var(--mkcb-accent); }
.mkcb .mkcb-price-foot { margin-top: 10px; font-size: 14px; }

/* ---------- Short-notice popup ---------- */
.mkcb .mkcb-modal { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 16px; }
.mkcb .mkcb-modal-backdrop { position: absolute; inset: 0; background: rgba(22, 34, 75, .55); }
.mkcb .mkcb-modal-card { position: relative; width: min(440px, 100%); background: #fff; border-radius: 16px; padding: 26px 26px 24px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.mkcb .mkcb-modal-card h2 { color: var(--mkcb-accent); font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.mkcb .mkcb-modal-card p { color: var(--mkcb-ink); font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
.mkcb .mkcb-tel { color: var(--mkcb-accent); font-weight: 700; white-space: nowrap; }
.mkcb .mkcb-cal-day.is-soon { color: var(--mkcb-muted); font-weight: 500; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(0,0,0,.04) 4px 8px); }
.mkcb .mkcb-slot.is-soon { background: #f7f8fa; color: var(--mkcb-text); border-style: dashed; }
.mkcb .mkcb-slot.is-soon em { color: var(--mkcb-accent); font-weight: 700; }

/* ---------- Calendar & slots ---------- */
.mkcb .mkcb-datetime { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
.mkcb .mkcb-cal { border: 1.5px solid var(--mkcb-line); border-radius: var(--mkcb-radius); padding: 14px; }
.mkcb .mkcb-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--mkcb-ink); text-transform: capitalize; }
.mkcb .mkcb-cal-nav { appearance: none; border: 0; background: var(--mkcb-tint); color: var(--mkcb-accent); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.mkcb .mkcb-cal-nav[disabled] { opacity: .3; cursor: not-allowed; }
.mkcb .mkcb-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mkcb .mkcb-cal-dow { text-align: center; font-size: 12px; color: var(--mkcb-muted); padding: 4px 0; text-transform: capitalize; }
.mkcb .mkcb-cal-day { appearance: none; border: 0; background: transparent; color: var(--mkcb-ink); aspect-ratio: 1; min-height: 38px; border-radius: 50%; font: inherit; font-weight: 600; cursor: pointer; }
.mkcb .mkcb-cal-day:hover:not([disabled]) { background: var(--mkcb-tint-strong); }
.mkcb .mkcb-cal-day[disabled] { color: #c7ccd6; cursor: not-allowed; font-weight: 400; text-decoration: line-through; text-decoration-color: transparent; }
.mkcb .mkcb-cal-day.is-today { box-shadow: inset 0 0 0 2px var(--mkcb-line); }
.mkcb .mkcb-cal-day.is-selected { background: var(--mkcb-accent); color: var(--mkcb-accent-ink); }

.mkcb .mkcb-slots-title { font-size: 16px; font-weight: 700; }
.mkcb .mkcb-slots-date { color: var(--mkcb-ink); font-weight: 600; margin: 4px 0 12px; }
.mkcb .mkcb-slot, .mkcb .mkcb-nopref { appearance: none; display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 10px; padding: 13px 16px; border: 1.5px solid var(--mkcb-line); border-radius: 12px; background: var(--mkcb-surface); color: var(--mkcb-ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.mkcb .mkcb-slot em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 13px; color: var(--mkcb-muted); }
.mkcb .mkcb-slot[disabled] { opacity: .55; cursor: not-allowed; background: #f7f8fa; }
.mkcb .mkcb-slot:hover:not([disabled]), .mkcb .mkcb-nopref:hover { border-color: var(--mkcb-accent); }
.mkcb .mkcb-slot.is-selected, .mkcb .mkcb-nopref.is-selected { background: var(--mkcb-accent); border-color: var(--mkcb-accent); color: var(--mkcb-accent-ink); }
.mkcb .mkcb-slot-ico { display: inline-grid; font-size: 18px; }
.mkcb .mkcb-nopref { margin-top: 16px; border-style: dashed; }

/* ---------- Workers ---------- */
.mkcb .mkcb-counter { font-weight: 700; color: var(--mkcb-ink); margin-bottom: 12px; }
.mkcb .mkcb-worker-photo { aspect-ratio: 1; background: var(--mkcb-tint); display: grid; place-items: center; overflow: hidden; }
.mkcb .mkcb-worker-photo img { width: 100%; height: 100%; object-fit: cover; }
.mkcb .mkcb-worker-photo span { font-size: 44px; font-weight: 800; color: var(--mkcb-accent); }
.mkcb .mkcb-rating { font-size: 14px; margin-top: 4px; }
.mkcb .mkcb-star { color: #d0d5dd; }
.mkcb .mkcb-star.is-on { color: #f5a524; }

/* ---------- Forms ---------- */
.mkcb .mkcb-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.mkcb .mkcb-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mkcb .mkcb-field.is-wide { grid-column: 1 / -1; }
.mkcb .mkcb-field label { font-weight: 600; color: var(--mkcb-ink); font-size: 14px; }
.mkcb .mkcb-req { color: var(--mkcb-danger); }
.mkcb .mkcb-field input, .mkcb .mkcb-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--mkcb-line); border-radius: 10px; background: #fff; color: var(--mkcb-ink); font: inherit; }
.mkcb .mkcb-field input:focus, .mkcb .mkcb-field textarea:focus { outline: none; border-color: var(--mkcb-accent); box-shadow: 0 0 0 3px var(--mkcb-tint-strong); }
.mkcb .mkcb-field.has-error input, .mkcb .mkcb-field.has-error textarea { border-color: var(--mkcb-danger); }
.mkcb .mkcb-err { color: var(--mkcb-danger); font-size: 13px; min-height: 0; }
.mkcb .mkcb-err:empty { display: none; }

/* ---------- Summary ---------- */
.mkcb .mkcb-summary { background: var(--mkcb-surface); border: 1px solid var(--mkcb-line); border-radius: 18px; padding: 20px; position: sticky; top: 20px; }
.mkcb .mkcb-sum-title { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.mkcb .mkcb-sum-list { list-style: none; margin: 0 0 14px; padding: 0; }
.mkcb .mkcb-sum-list li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; padding: 8px 0; margin: 0; border-bottom: 1px dashed var(--mkcb-line); }
.mkcb .mkcb-sum-ico { grid-row: span 2; color: var(--mkcb-accent); font-size: 18px; margin-top: 2px; }
.mkcb .mkcb-sum-k { font-size: 12px; color: var(--mkcb-muted); }
.mkcb .mkcb-sum-v { color: var(--mkcb-ink); font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.mkcb .mkcb-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; background: var(--mkcb-tint); border-radius: 12px; color: var(--mkcb-ink); font-weight: 700; }
.mkcb .mkcb-sum-total strong { font-size: 24px; color: var(--mkcb-accent); font-weight: 800; }

/* ---------- Review & pay ---------- */
.mkcb .mkcb-review { display: grid; gap: 16px; }
.mkcb .mkcb-review-box { border: 1.5px solid var(--mkcb-line); border-radius: var(--mkcb-radius); padding: 16px 18px; position: relative; }
.mkcb .mkcb-review-box.has-error { border-color: var(--mkcb-danger); }
.mkcb .mkcb-review-box h3 { font-size: 15px; margin-bottom: 8px; }
.mkcb .mkcb-review-box .mkcb-link { position: absolute; top: 16px; right: 18px; font-size: 14px; }
.mkcb .mkcb-pay { display: grid; gap: 10px; }
.mkcb .mkcb-pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--mkcb-line); border-radius: 12px; cursor: pointer; }
.mkcb .mkcb-pay-opt.is-selected { border-color: var(--mkcb-accent); background: var(--mkcb-tint); }
.mkcb .mkcb-pay-opt input { margin-top: 4px; accent-color: var(--mkcb-accent); }
.mkcb .mkcb-pay-opt small { display: block; color: var(--mkcb-text); font-size: 13px; }
.mkcb .mkcb-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.mkcb .mkcb-terms input { margin-top: 4px; accent-color: var(--mkcb-accent); }
.mkcb .mkcb-terms.has-error { color: var(--mkcb-danger); }

/* ---------- Done ---------- */
.mkcb .mkcb-done { max-width: 640px; text-align: center; padding: 20px 0; }
.mkcb .mkcb-done-badge { width: 72px; height: 72px; border-radius: 50%; background: var(--mkcb-accent); color: var(--mkcb-accent-ink); display: grid; place-items: center; margin: 0 auto 16px; font-size: 38px; }
.mkcb .mkcb-done-ref { margin: 18px 0; padding: 10px 16px; display: inline-block; background: var(--mkcb-tint); border-radius: 999px; color: var(--mkcb-ink); }
.mkcb .mkcb-done-table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; text-align: left; font-size: 15px; }
.mkcb .mkcb-done-table th, .mkcb .mkcb-done-table td { padding: 9px 10px; border-bottom: 1px solid var(--mkcb-line); vertical-align: top; background: none; }
.mkcb .mkcb-done-table th { width: 38%; color: var(--mkcb-muted); font-weight: 500; }
.mkcb .mkcb-done-table td { color: var(--mkcb-ink); font-weight: 600; }

/* ---------- Reviews (display) ---------- */
.mkcb-reviews .mkcb-reviews-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.mkcb-reviews .mkcb-reviews-avg { font-size: 40px; font-weight: 800; color: var(--mkcb-ink); line-height: 1; }
.mkcb-reviews-grid { display: grid; gap: 16px; }
.mkcb-reviews-grid.mkcb-cols-1 { grid-template-columns: minmax(0, 1fr); }
.mkcb-reviews-grid.mkcb-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mkcb-reviews-grid.mkcb-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mkcb-reviews-grid.mkcb-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mkcb-review-card { border: 1.5px solid var(--mkcb-line); border-radius: var(--mkcb-radius); padding: 18px; background: var(--mkcb-surface); }
.mkcb-review-card .mkcb-review-text { margin: 8px 0 12px; color: var(--mkcb-ink); }
.mkcb-review-card .mkcb-review-by { font-size: 14px; }
.mkcb-review-card .mkcb-review-reply { margin-top: 12px; padding: 10px 12px; background: var(--mkcb-tint); border-radius: 10px; font-size: 14px; }
.mkcb .mkcb-stars { color: #d0d5dd; letter-spacing: 2px; font-size: 18px; white-space: nowrap; }
.mkcb .mkcb-stars .mkcb-star.is-on { color: #f5a524; }
.mkcb-badge { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Review form ---------- */
.mkcb-review-page { max-width: 560px; margin: 0 auto; }
.mkcb-review-form { display: grid; gap: 16px; margin-top: 18px; }
.mkcb-review-form .mkcb-rate { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.mkcb-review-form .mkcb-rate legend { float: left; width: 100%; font-weight: 600; color: var(--mkcb-ink); margin-bottom: 6px; padding: 0; }
.mkcb-review-form .mkcb-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mkcb-review-form .mkcb-rate label { font-size: 40px; line-height: 1; color: #d0d5dd; cursor: pointer; transition: color .12s; }
.mkcb-review-form .mkcb-rate input:checked ~ label,
.mkcb-review-form .mkcb-rate label:hover,
.mkcb-review-form .mkcb-rate label:hover ~ label { color: #f5a524; }
.mkcb-review-form .mkcb-rate input:focus-visible + label { outline: 3px solid var(--mkcb-ink); outline-offset: 2px; border-radius: 6px; }
.mkcb-review-msg { color: var(--mkcb-danger); font-weight: 600; min-height: 0; }
.mkcb-review-msg:empty { display: none; }
.mkcb-review-thanks { text-align: center; padding: 16px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.mkcb .mkcb-layout { grid-template-columns: minmax(0, 1fr); }
	.mkcb .mkcb-summary { position: static; }
	.mkcb .mkcb-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.mkcb .mkcb-pg-row { grid-template-columns: minmax(110px, 1.3fr) repeat(var(--cols, 2), minmax(84px, 1fr)); }
	.mkcb .mkcb-hero { padding: 18px; }
	.mkcb .mkcb-main { padding: 18px; border-radius: 14px; }
	.mkcb .mkcb-cols-3, .mkcb .mkcb-cols-2 { grid-template-columns: minmax(0, 1fr); }
	.mkcb .mkcb-datetime { grid-template-columns: minmax(0, 1fr); }
	.mkcb .mkcb-form { grid-template-columns: minmax(0, 1fr); }
	.mkcb .mkcb-prog-label { display: none; }
	.mkcb .is-current .mkcb-prog-label { display: block; position: absolute; top: 36px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
	.mkcb .mkcb-progress { margin-bottom: 40px; }
	.mkcb .mkcb-nav .mkcb-btn { flex: 1 1 auto; }
	.mkcb .mkcb-nav .mkcb-btn-lg { width: 100%; order: 2; }
	.mkcb-reviews-grid.mkcb-cols-2, .mkcb-reviews-grid.mkcb-cols-3, .mkcb-reviews-grid.mkcb-cols-4 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.mkcb *, .mkcb *::before, .mkcb *::after { transition: none !important; animation: none !important; }
}

/* ---------------- 1.2.0: client workflow additions ---------------- */
.mkcb .mkcb-quote { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--mkcb-tint); border: 1px dashed var(--mkcb-tint-strong); font-size: 13px; line-height: 1.5; }
.mkcb .mkcb-quote p { margin: 0 0 6px; color: var(--mkcb-ink); }
.mkcb .mkcb-quote .mkcb-link { font-weight: 600; color: var(--mkcb-accent); text-decoration: none; }
.mkcb .mkcb-quote .mkcb-link:hover, .mkcb .mkcb-quote .mkcb-link:focus-visible { text-decoration: underline; }
.mkcb .mkcb-price-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.mkcb .mkcb-price-list li { display: flex; align-items: baseline; justify-content: center; gap: 6px; font-size: 14px; }
.mkcb .mkcb-price-list strong { color: var(--mkcb-accent); font-size: 18px; }
.mkcb .mkcb-price-list span { color: var(--mkcb-muted); }
.mkcb .mkcb-card-more .mkcb-card-text { font-size: 13px; }
.mkcb .mkcb-review-table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 15px; }
.mkcb .mkcb-review-table th, .mkcb .mkcb-review-table td { padding: 10px 8px; border-bottom: 1px solid var(--mkcb-line); vertical-align: top; text-align: left; }
.mkcb .mkcb-review-table th { width: 38%; color: var(--mkcb-muted); font-weight: 500; }
.mkcb .mkcb-review-table td { color: var(--mkcb-ink); font-weight: 600; overflow-wrap: anywhere; }
.mkcb .mkcb-review-table .mkcb-rv-edit { width: 1%; white-space: nowrap; text-align: right; font-weight: 400; }
@media (max-width: 560px) {
	.mkcb .mkcb-review-table th { width: auto; display: block; padding-bottom: 0; border-bottom: 0; }
	.mkcb .mkcb-review-table td { display: inline-block; }
	.mkcb .mkcb-review-table tr { display: block; border-bottom: 1px solid var(--mkcb-line); }
	.mkcb .mkcb-review-table td:not(.mkcb-rv-edit) { width: calc(100% - 60px); border-bottom: 0; }
	.mkcb .mkcb-review-table .mkcb-rv-edit { width: 50px; border-bottom: 0; }
}

/* ---------------- 1.3.0: custom quote (short line on card, full message below the cards) ---------------- */
.mkcb .mkcb-quote-short { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--mkcb-accent); }
.mkcb .mkcb-main > .mkcb-quote { margin: 18px 0 0; padding: 16px 18px; border-style: solid; font-size: 14px; }
.mkcb .mkcb-main > .mkcb-quote p { margin: 0 0 12px; }
.mkcb .mkcb-quote-actions .mkcb-btn { display: inline-flex; }

/* ---------------- 1.3.4: calendar never overflows (long weekday/month names, e.g. Armenian) ---------------- */
.mkcb .mkcb-main { container-type: inline-size; container-name: mkcbmain; }
.mkcb .mkcb-datetime > * { min-width: 0; }
.mkcb .mkcb-cal { min-width: 0; overflow: hidden; }
.mkcb .mkcb-cal-head { gap: 8px; }
.mkcb .mkcb-cal-head > :not(.mkcb-cal-nav) { flex: 1 1 auto; min-width: 0; text-align: center; overflow-wrap: anywhere; line-height: 1.3; }
.mkcb .mkcb-cal-nav { flex: 0 0 auto; }
.mkcb .mkcb-cal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.mkcb .mkcb-cal-dow { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: clip; font-size: 11px; padding: 4px 1px; }
.mkcb .mkcb-cal-day { width: 100%; max-width: 44px; min-width: 0; min-height: 0; padding: 0; justify-self: center; }
.mkcb .mkcb-slots-title, .mkcb .mkcb-slots-date { overflow-wrap: anywhere; }
/* Stack calendar and time slots when the form column is narrow (sidebar layouts, translated text). */
@container mkcbmain (max-width: 520px) {
	.mkcb .mkcb-datetime { grid-template-columns: minmax(0, 1fr); }
}
