/**
 * Instant Quote Calculator — front-end styles.
 * Premium, self-contained. Reads theme.json presets with local fallbacks.
 */

.mc-quote {
	--q-ink: var(--wp--preset--color--ink, #1a1a1a);
	--q-ink-soft: #44423e;
	--q-amber: var(--wp--preset--color--amber, #f59e0b);
	--q-amber-deep: var(--wp--preset--color--amber-deep, #d97706);
	--q-amber-soft: var(--wp--preset--color--amber-soft, #fffbeb);
	--q-paper: #fff;
	--q-line: #e6e3de;
	--q-line-soft: #efece6;
	--q-muted: #6b7280;
	--q-wa: #25d366;
	--q-wa-deep: #1ebe5a;
	--q-r: 14px;
	--q-r-lg: 26px;
	--q-ease: cubic-bezier(.4, 0, .2, 1);
	font-family: var(--wp--preset--font-family--body, inherit);
	color: var(--q-ink);
}

.mc-quote * { box-sizing: border-box; }
/* The hidden attribute must always win over component display rules. */
.mc-quote [hidden] { display: none !important; }

.mc-quote__inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	background: var(--q-paper);
	border-radius: var(--q-r-lg);
	box-shadow: inset 0 0 0 1px var(--q-line), 0 24px 60px -44px rgba(20, 18, 14, .4);
	/* No overflow:hidden — it would trap the sticky summary. Corners are
	   rounded on the columns directly instead. */
}
.mc-quote__form { border-radius: var(--q-r-lg) 0 0 var(--q-r-lg); }
.mc-summary { border-radius: 0 var(--q-r-lg) var(--q-r-lg) 0; }

/* ---------- Form side ---------- */
.mc-quote__form { padding: clamp(24px, 3vw, 44px); border: 0; margin: 0; min-width: 0; }
.mc-quote__head { margin-bottom: 30px; }
.mc-quote__title { font-family: var(--wp--preset--font-family--display, inherit); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; line-height: 1.08; }
.mc-quote__intro { color: var(--q-muted); margin: 0; font-size: 15px; }

.mc-step { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.mc-step__legend { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 15px; margin-bottom: 7px; padding: 0; color: var(--q-ink); letter-spacing: -.01em; }
.mc-step__help { margin: 0 0 15px; font-size: 13px; line-height: 1.45; color: var(--q-muted); }
.mc-step__num {
	display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; flex: none;
	background: var(--q-ink); color: var(--q-amber); font-size: 13px; font-weight: 800;
}
.mc-step__hint {
	margin: 12px 0 0; font-size: 13.5px; line-height: 1.45; color: #9a3412;
	background: #fff7ed; border: 1px solid #fed7aa; padding: 11px 14px; border-radius: 12px;
}

/* Material search */
.mc-search { position: relative; margin-bottom: 12px; }
.mc-search__ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--q-muted); pointer-events: none; }
.mc-search__input {
	width: 100%; font: inherit; font-size: 14.5px; padding: 12px 14px 12px 40px; border: 0; border-radius: var(--q-r);
	background: #fff; box-shadow: inset 0 0 0 1.5px var(--q-line); transition: box-shadow .16s var(--q-ease);
}
.mc-search__input::placeholder { color: #a8a39a; }
.mc-search__input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--q-amber), 0 0 0 4px rgba(245, 158, 11, .14); }
.mc-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.mc-chips__empty { margin: 10px 0 0; font-size: 13.5px; color: var(--q-muted); }
.mc-showall {
	display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 10px;
	background: #fff; border: 0; box-shadow: inset 0 0 0 1.5px var(--q-line); border-radius: var(--q-r);
	padding: 12px; color: var(--q-amber-deep); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
	transition: box-shadow .16s var(--q-ease), background .16s var(--q-ease);
}
.mc-showall::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.mc-showall:hover { box-shadow: inset 0 0 0 1.5px var(--q-amber); background: var(--q-amber-soft); }
.mc-showall[hidden] { display: none; }
.mc-link { background: none; border: 0; padding: 0; color: var(--q-amber-deep); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }

/* Material chips */
.mc-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.mc-chip[hidden] { display: none; }
.mc-chip { position: relative; display: block; cursor: pointer; }
.mc-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mc-chip__body {
	display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 13px 15px; height: 100%;
	border-radius: var(--q-r); background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--q-line);
	transition: transform .16s var(--q-ease), box-shadow .16s var(--q-ease), background .16s var(--q-ease);
}
.mc-chip__thumb {
	flex: none; width: 42px; height: 42px; border-radius: 10px; overflow: hidden;
	display: grid; place-items: center; background: linear-gradient(160deg, #f3efe7, #ece7dd);
}
.mc-chip__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-chip__ph { font-family: var(--wp--preset--font-family--display, sans-serif); font-weight: 800; font-size: 1.15rem; color: var(--q-amber-deep); opacity: .7; }
.mc-chip__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mc-chip__name { font-weight: 600; font-size: 14px; line-height: 1.2; letter-spacing: -.01em; }
.mc-chip__price { font-size: 12.5px; color: var(--q-muted); font-variant-numeric: tabular-nums; }
.mc-chip__price small { opacity: .7; }
.mc-chip__tag {
	position: absolute; top: -7px; right: 11px; z-index: 1; background: var(--q-amber); color: #1a1a1a;
	font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: var(--q-r);
	box-shadow: 0 4px 10px -3px rgba(245, 158, 11, .6);
}
.mc-chip:hover .mc-chip__body { box-shadow: inset 0 0 0 1.5px #cfcbc2; }
.mc-chip input:checked + .mc-chip__body {
	background: var(--q-amber-soft);
	box-shadow: inset 0 0 0 2px var(--q-amber);
}
/* Selected check badge */
.mc-chip input:checked + .mc-chip__body::after {
	content: ""; position: absolute; top: 10px; right: 10px; width: 17px; height: 17px; border-radius: 50%;
	background: var(--q-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.mc-chip__body { position: relative; }
.mc-chip input:focus-visible + .mc-chip__body { box-shadow: inset 0 0 0 2px var(--q-ink); }

/* Lorry cards — two per row */
.mc-lorries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 460px) { .mc-lorries { grid-template-columns: 1fr; } }
.mc-lorry { position: relative; cursor: pointer; }
.mc-lorry input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mc-lorry__body {
	display: flex; flex-direction: row; align-items: center; gap: 13px; padding: 14px 42px 14px 14px;
	border-radius: var(--q-r); background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--q-line);
	transition: transform .16s var(--q-ease), box-shadow .16s var(--q-ease), background .16s var(--q-ease);
}
.mc-lorry__thumb {
	flex: none; width: 52px; height: 52px; border-radius: 12px; overflow: hidden;
	display: grid; place-items: center; background: linear-gradient(160deg, #2b2b2b, #1a1a1a); color: var(--q-amber);
}
.mc-lorry__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-lorry__thumb svg { width: 58%; opacity: .92; }
.mc-lorry__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mc-lorry__name { font-family: var(--wp--preset--font-family--display, inherit); font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.mc-lorry__cap { font-size: 13px; color: var(--q-ink-soft); font-weight: 600; }
.mc-lorry__ton { font-size: 12px; color: var(--q-muted); }
.mc-lorry__check {
	position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%;
	box-shadow: inset 0 0 0 2px var(--q-line); transition: box-shadow .16s var(--q-ease), background .16s var(--q-ease); background: #fff;
}
.mc-lorry:hover .mc-lorry__body { box-shadow: inset 0 0 0 1.5px #cfcbc2; }
.mc-lorry input:checked + .mc-lorry__body { background: #fafafa; box-shadow: inset 0 0 0 2px var(--q-ink); }
.mc-lorry input:checked ~ .mc-lorry__check {
	background: var(--q-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
	box-shadow: inset 0 0 0 2px var(--q-amber);
}
.mc-lorry input:focus-visible + .mc-lorry__body { box-shadow: inset 0 0 0 2px var(--q-ink); }

/* Select */
.mc-select { position: relative; }
.mc-select::after {
	content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; pointer-events: none;
	border-right: 2px solid var(--q-ink); border-bottom: 2px solid var(--q-ink); transform: translateY(-70%) rotate(45deg);
}
.mc-select select {
	width: 100%; appearance: none; -webkit-appearance: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--q-ink);
	padding: 15px 46px 15px 17px; border: 0; border-radius: var(--q-r); background: #fff; cursor: pointer;
	box-shadow: inset 0 0 0 1.5px var(--q-line); transition: box-shadow .16s var(--q-ease);
}
.mc-select select:hover { box-shadow: inset 0 0 0 1.5px #d8d4cc; }
.mc-select select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--q-amber), 0 0 0 4px rgba(245, 158, 11, .16); }

/* Searchable combobox (enhanced area field) */
.mc-select.is-combo::after { display: none; }
.mc-select.is-combo { position: relative; }
.mc-combo__input {
	width: 100%; font: inherit; font-size: 15px; font-weight: 600; color: var(--q-ink);
	padding: 15px 46px 15px 17px; border: 0; border-radius: var(--q-r); background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--q-line); transition: box-shadow .16s var(--q-ease); cursor: text;
}
.mc-combo__input::placeholder { color: #a8a39a; font-weight: 500; }
.mc-combo__input:hover { box-shadow: inset 0 0 0 1.5px #d8d4cc; }
.mc-combo__input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--q-amber), 0 0 0 4px rgba(245, 158, 11, .16); }
.mc-combo__toggle {
	position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px;
	display: grid; place-items: center; border: 0; background: transparent; color: var(--q-muted); cursor: pointer; border-radius: 9px;
	transition: transform .18s var(--q-ease), color .14s var(--q-ease);
}
.mc-combo__toggle svg { width: 18px; height: 18px; }
.mc-select.is-combo.is-open .mc-combo__toggle { transform: translateY(-50%) rotate(180deg); color: var(--q-ink); }
.mc-combo__list {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; margin: 0; padding: 6px; list-style: none;
	background: #fff; border-radius: var(--q-r); box-shadow: inset 0 0 0 1px var(--q-line), 0 18px 44px -22px rgba(20, 18, 14, .5);
	max-height: 264px; overflow-y: auto;
}
.mc-combo__opt {
	padding: 11px 13px; border-radius: 10px; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--q-ink);
	display: flex; align-items: center; justify-content: space-between;
}
.mc-combo__opt.is-active { background: var(--q-amber-soft); }
.mc-combo__opt[aria-selected="true"] { font-weight: 700; }
.mc-combo__opt[aria-selected="true"]::after { content: ""; width: 16px; height: 16px; background: var(--q-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; border-radius: 50%; }
.mc-combo__empty { padding: 12px 13px; font-size: 14px; color: var(--q-muted); }

/* Location picker (GPS + address + presets) */
.mc-gps {
	display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
	font: inherit; font-size: 14.5px; font-weight: 700; color: var(--q-ink); cursor: pointer;
	padding: 13px 16px; border: 0; border-radius: var(--q-r); background: var(--q-amber-soft);
	box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--q-amber) 45%, transparent);
	transition: background .16s var(--q-ease), box-shadow .16s var(--q-ease); margin-bottom: 10px;
}
.mc-gps:hover { background: #fdecc8; box-shadow: inset 0 0 0 1.5px var(--q-amber); }
.mc-gps svg { width: 19px; height: 19px; color: var(--q-amber-deep); }
.mc-gps.is-loading { opacity: .7; pointer-events: none; }
.mc-gps.is-loading svg { animation: mcSpin 1s linear infinite; }
@keyframes mcSpin { to { transform: rotate(360deg); } }

.mc-loc-search { position: relative; }
.mc-loc-search__input {
	width: 100%; font: inherit; font-size: 14.5px; padding: 13px 14px 13px 40px; border: 0; border-radius: var(--q-r);
	background: #fff; box-shadow: inset 0 0 0 1.5px var(--q-line); transition: box-shadow .16s var(--q-ease);
}
.mc-loc-search__input::placeholder { color: #a8a39a; }
.mc-loc-search__input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--q-amber), 0 0 0 4px rgba(245, 158, 11, .14); }
.mc-loc-search__input.is-loading { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6.2-8.5'/%3E%3C/svg%3E") right 14px center/18px no-repeat; }
.mc-loc-list {
	list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40;
	background: #fff; border-radius: var(--q-r); box-shadow: inset 0 0 0 1px var(--q-line), 0 18px 44px -22px rgba(20, 18, 14, .5);
	max-height: 280px; overflow-y: auto;
}
.mc-loc-opt { padding: 11px 13px; border-radius: 10px; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--q-ink); display: flex; align-items: center; gap: 8px; }
.mc-loc-opt:hover { background: var(--q-amber-soft); }
.mc-loc-opt--geo { color: var(--q-amber-deep); font-weight: 600; border-top: 1px solid var(--q-line-soft); margin-top: 2px; padding-top: 12px; }
.mc-loc-opt--geo svg { flex: none; }

.mc-loc-chip {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 9px 9px 13px;
	background: var(--q-amber-soft); border-radius: var(--q-r); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--q-amber) 40%, transparent);
	font-size: 13.5px; font-weight: 600; color: var(--q-ink); max-width: 100%;
}
.mc-loc-chip > svg { width: 17px; height: 17px; color: var(--q-amber-deep); flex: none; }
.mc-loc-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-loc-chip button { flex: none; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(26,24,20,.08); color: var(--q-ink); font-size: 16px; line-height: 1; cursor: pointer; }
.mc-loc-chip button:hover { background: rgba(26,24,20,.16); }

/* Stepper — three clean rounded controls */
.mc-stepper { display: inline-flex; align-items: center; gap: 8px; }
.mc-stepper__btn {
	width: 48px; height: 48px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--q-line);
	font-size: 22px; line-height: 1; font-weight: 500; color: var(--q-ink); cursor: pointer; display: grid; place-items: center;
	transition: box-shadow .14s var(--q-ease), background .14s var(--q-ease), color .14s var(--q-ease);
}
.mc-stepper__btn:hover { box-shadow: inset 0 0 0 1.5px var(--q-amber); background: var(--q-amber-soft); color: var(--q-amber-deep); }
.mc-stepper__btn:active { background: #fdecc8; }
.mc-stepper__input {
	width: 68px; height: 48px; text-align: center; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--q-line);
	font: inherit; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; -moz-appearance: textfield; background: #fff; color: var(--q-ink);
}
.mc-stepper__input::-webkit-outer-spin-button, .mc-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mc-stepper__input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--q-amber), 0 0 0 4px rgba(245, 158, 11, .16); }

/* Optional details */
.mc-details { margin-top: 10px; border-top: 1px solid var(--q-line); padding-top: 18px; }
.mc-details > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 9px; }
.mc-details > summary::-webkit-details-marker { display: none; }
.mc-details > summary::before {
	content: "+"; flex: none; width: 22px; height: 22px; display: grid; place-items: center;
	border-radius: 7px; background: var(--q-amber-soft); color: var(--q-amber-deep); font-size: 15px; font-weight: 700; line-height: 1;
}
.mc-details[open] > summary::before { content: "\2212"; }
.mc-details__label { font-weight: 700; font-size: 14.5px; color: var(--q-ink); }
.mc-details__note { color: var(--q-muted); font-size: 13px; font-weight: 500; }
.mc-details__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.mc-input { position: relative; display: block; }
.mc-input--full { grid-column: 1 / -1; }
.mc-input__ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--q-muted); pointer-events: none; transition: color .16s var(--q-ease); }
.mc-input input {
	width: 100%; font: inherit; font-size: 14px; padding: 12px 14px 12px 42px; border: 0; border-radius: 12px; background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--q-line); transition: box-shadow .16s var(--q-ease);
}
.mc-input input::placeholder { color: #a8a39a; }
.mc-input input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--q-amber), 0 0 0 4px rgba(245, 158, 11, .16); }
.mc-input:focus-within .mc-input__ico { color: var(--q-amber-deep); }
.mc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* ---------- Summary side ---------- */
.mc-summary {
	background: var(--q-ink); color: #fff; padding: clamp(24px, 3vw, 38px);
}
.mc-summary__card { position: sticky; top: 88px; }
.mc-summary__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; color: var(--q-amber); margin: 0 0 12px; }
.mc-summary__total { display: flex; align-items: baseline; gap: 9px; line-height: 1; }
.mc-summary__cur { font-size: 18px; font-weight: 700; color: #cbb89a; }
.mc-summary__amount {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: clamp(40px, 6vw, 60px); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
.mc-summary__per { margin: 10px 0 0; color: #b9b9b9; font-size: 13.5px; font-variant-numeric: tabular-nums; }

.mc-summary__lines { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 13px; }
.mc-summary__lines li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.mc-summary__lines span { color: #b1b1b1; }
.mc-summary__lines b { font-weight: 700; font-variant-numeric: tabular-nums; }
.mc-summary__empty { margin: 22px 0 0; color: #9a9a9a; font-size: 14px; line-height: 1.55; }
.mc-summary__empty.is-hint { margin-top: 16px; font-size: 13px; color: var(--q-amber); font-weight: 600; }

/* Live picks — selections reflected as you choose */
.mc-summary__picks { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 13px; }
.mc-summary__picks li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.mc-summary__picks span { color: #9a9a9a; display: inline-flex; align-items: center; gap: 9px; flex: none; }
.mc-summary__picks span::before { content: ""; width: 17px; height: 17px; border-radius: 50%; border: 1.6px solid rgba(255, 255, 255, .22); flex: none; transition: background .2s var(--q-ease), border-color .2s var(--q-ease); }
.mc-summary__picks li.is-done span { color: #d4d4d4; }
.mc-summary__picks li.is-done span::before {
	border-color: var(--q-amber);
	background: var(--q-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.mc-summary__picks b { color: #fff; font-weight: 600; min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-summary__picks li:not(.is-done) b { color: #6f6f6f; font-weight: 500; }

.mc-cta-whatsapp {
	display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 26px;
	background: var(--q-wa); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none;
	padding: 16px 22px; border-radius: var(--q-r);
	transition: transform .16s var(--q-ease), box-shadow .16s var(--q-ease), opacity .16s var(--q-ease), background .16s var(--q-ease);
	box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .7);
}
.mc-cta-whatsapp:hover { background: var(--q-wa-deep); transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(37, 211, 102, .8); }
.mc-cta-whatsapp:active { transform: translateY(0); }
.mc-cta-whatsapp[aria-disabled="true"] { background: #2a2a2a; color: #6f6f6f; pointer-events: none; box-shadow: none; }
.mc-cta-whatsapp[aria-disabled="true"] svg { opacity: .5; }
.mc-summary__estimate {
	display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 16px;
	padding: 10px 13px; border-radius: 12px; background: rgba(245, 158, 11, .12);
	color: #f0c47a; font-size: 12.5px; line-height: 1.45;
}
.mc-summary__estimate svg { flex: none; margin-top: 1px; opacity: .9; }
.mc-summary__note { margin: 15px 0 0; text-align: center; font-size: 12px; color: #8f8f8f; }

.mc-quote__noscript { margin-top: 16px; color: var(--q-muted); }

/* Total reveal */
.mc-quote.is-priced .mc-summary__amount { animation: mcCount .5s var(--q-ease); }
@keyframes mcCount { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Sticky mobile action bar ---------- */
.mc-mobilebar {
	display: none;
	/* The bar is moved to <body> by view.js, so it must carry its own tokens —
	   it can no longer inherit them from .mc-quote. */
	--q-ink: var(--wp--preset--color--ink, #1a1a1a);
	--q-amber: var(--wp--preset--color--amber, #f59e0b);
	--q-wa: #25d366;
	--q-ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Responsive (mobile-first refinements) ---------- */
@media (max-width: 880px) {
	.mc-quote__inner { grid-template-columns: 1fr; }
	.mc-quote__form { border-radius: var(--q-r-lg) var(--q-r-lg) 0 0; padding: clamp(20px, 5.5vw, 28px); }
	.mc-summary { border-radius: 0 0 var(--q-r-lg) var(--q-r-lg); padding: clamp(22px, 6vw, 30px); }
	.mc-summary__card { position: static; }
	.mc-details__grid { grid-template-columns: 1fr; }

	/* Bigger touch targets on phones */
	.mc-chips { grid-template-columns: 1fr 1fr; gap: 8px; }
	.mc-chip__body { padding: 9px 10px; gap: 9px; }
	.mc-chip__thumb { width: 38px; height: 38px; }
	.mc-chip__body { padding: 14px 15px; }
	.mc-combo__opt { padding: 13px 14px; }
	.mc-combo__list { max-height: 300px; }
	.mc-stepper__btn, .mc-stepper__input { width: 52px; height: 52px; }
	.mc-stepper__input { width: 72px; }
	.mc-cta-whatsapp { padding: 17px 22px; }

	/* The sticky bar */
	.mc-mobilebar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
		display: flex; align-items: center; justify-content: space-between; gap: 14px;
		background: var(--q-ink); color: #fff;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		box-shadow: 0 -10px 34px -14px rgba(0, 0, 0, .55);
		transform: translateY(115%); transition: transform .3s var(--q-ease);
	}
	.mc-mobilebar.is-on { transform: translateY(0); }
	.mc-mobilebar__info { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
	.mc-mobilebar__label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--q-amber); font-weight: 600; }
	.mc-mobilebar__total { font-family: var(--wp--preset--font-family--display, inherit); font-weight: 800; font-size: 23px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 2px; }
	.mc-mobilebar__cur { font-size: 13px; font-weight: 700; color: #cbb89a; }
	.mc-mobilebar__cta {
		flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--q-wa); color: #fff;
		font-weight: 800; font-size: 15px; text-decoration: none; padding: 14px 20px; border-radius: 999px;
	}
	.mc-mobilebar__cta[aria-disabled="true"] { opacity: .5; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) { .mc-mobilebar { transition: none; } }

@media (prefers-reduced-motion: reduce) {
	.mc-chip__body, .mc-lorry__body, .mc-cta-whatsapp, .mc-summary__amount, .mc-stepper__btn { transition: none; animation: none; }
}

/* ---------- Editor placeholder ---------- */
.mc-quote-editor { border: 1.5px dashed #d4d2cd; border-radius: 22px; padding: 34px; background: linear-gradient(160deg, #fffbeb, #fff 70%); text-align: center; }
.mc-quote-editor__badge { display: inline-block; background: #1a1a1a; color: #f59e0b; font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 8px; }
.mc-quote-editor__title { font-size: 26px; font-weight: 800; margin-top: 16px; color: #1a1a1a; letter-spacing: -.02em; }
.mc-quote-editor__intro { color: #6b7280; margin-top: 6px; }
.mc-quote-editor__steps { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.mc-quote-editor__pill { background: #fff; border: 1px solid #e7e5e1; border-radius: 20px; padding: 7px 15px; font-size: 13px; font-weight: 600; color: #1a1a1a; }
.mc-quote-editor__hint { color: #9ca3af; font-size: 13px; margin-top: 18px; }
