/**
 * AC Installation Quote Calculator - front-end (v2.8.0)
 * Design matches the Al Bader theme "AB - AC Quote Calculator" widget.
 * Uses theme tokens (--ab-*) when present, with fallbacks so it works on any theme.
 */
.acq {
	--acq-red: var(--ab-primary, #d10d14);
	--acq-dark: #0e0f13;
	--acq-card: #ffffff;
	--acq-text: var(--ab-dark, #111319);
	--acq-muted: #6b6e76;
	--acq-line: #e6e7ea;
	--acq-soft: #fff1f1;
	--acq-radius: 10px;
	font-family:var(--ab-font, 'Inter', Arial, sans-serif);
	color: var(--acq-text);
	max-width: 1440px;
	margin: 0 auto;
	padding: 22px;
	border-radius: calc(var(--acq-radius) + 6px);
	background:
		radial-gradient(120% 60% at 100% 100%, rgba(209, 13, 20, .35), transparent 60%),
		radial-gradient(80% 50% at 0% 0%, rgba(209, 13, 20, .12), transparent 60%),
		var(--acq-dark);
	position: relative;
}
.acq *, .acq *::before, .acq *::after { box-sizing: border-box; }
.acq button { font-family: inherit; cursor: pointer; }
.acq [hidden] { display: none !important; }
.acq-hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }

/* ---------- Stepper ---------- */
.acq-stepper { display: flex; justify-content: center; gap: 14px; margin: 0 0 22px; flex-wrap: wrap; }
.acq-tab {
	display: flex; align-items: center; gap: 12px; min-width: 150px;
	padding: 7px 26px 7px 7px; border-radius: 40px; border: 1px solid rgba(255,255,255,.08);
	background: rgba(255,255,255,.05); color: #d7d8dc; font-size: 13px; font-weight: 600; transition: .25s;
}
.acq-tab:hover { background: rgba(255,255,255,.1); }
.acq-tab-num {
	width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
	border: 2px solid rgba(255,255,255,.75); font-size: 12px;
}
.acq-tab-num i { display: none; }
.acq-tab.is-active { background: var(--acq-red); border-color: var(--acq-red); color: #fff; box-shadow: 0 8px 24px rgba(209,13,20,.35); }
.acq-tab.is-active .acq-tab-num { background: #fff; color: var(--acq-red); border-color: #fff; }
.acq-tab.is-done:not(.is-active) .acq-tab-num b { display: none; }
.acq-tab.is-done:not(.is-active) .acq-tab-num i { display: block; }

/* ---------- Step layout ---------- */
.acq-step { display: none; grid-template-columns: 290px minmax(0, 1fr) 300px; border-radius: var(--acq-radius); overflow: hidden; animation: acqIn .35s ease; }
.acq-step.is-active { display: grid; }
.acq-step[data-step="4"] { grid-template-columns: 260px minmax(0, 1.35fr) minmax(300px, .9fr); }
@keyframes acqIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Hero panel */
.acq-hero {
	position: relative; color: #fff; background: #15161b center/cover no-repeat;
	min-height: 100%; border-radius: var(--acq-radius) 0 0 var(--acq-radius);
}
.acq-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,14,.92) 0%, rgba(10,10,14,.6) 45%, rgba(10,10,14,.35) 70%, rgba(10,10,14,.85) 100%); }
.acq-hero-in { position: relative; padding: 30px 24px; height: 100%; display: flex; flex-direction: column; }
.acq-hero-label { color: var(--acq-red); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.acq-hero-title { color: #fff; font-size: 30px; line-height: 1.12; font-weight: 800; margin: 8px 0 12px; }
.acq-hero-title span { color: var(--acq-red); }
.acq-hero-desc { color: #d5d6da; font-size: 13.5px; line-height: 1.6; margin: 0 0 18px; }
.acq-hero-feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.acq-hero-feat li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; }
.acq-hero-feat i { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: grid; place-items: center; background: var(--acq-red); color: #fff; font-size: 14px; }
.acq-hero-badge { margin-top: auto; display: flex; align-items: center; gap: 12px; background: var(--acq-red); border-radius: var(--acq-radius); padding: 14px 16px; font-weight: 700; font-size: 14px; }
.acq-hero-badge i { font-size: 26px; }

/* Main card */
.acq-main { background: var(--acq-card); padding: 26px 26px 24px; min-width: 0; }
.acq-side { background: #f7f7f9; padding: 18px; border-left: 1px solid var(--acq-line); display: flex; flex-direction: column; gap: 14px; border-radius: 0 var(--acq-radius) var(--acq-radius) 0; }
.acq-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.acq-card-head h3, .acq-main h3 { font-size: 18px; font-weight: 800; margin: 0; color: var(--acq-text); }
.acq-req { color: var(--acq-red); font-size: 11.5px; font-weight: 600; }
.acq-h { display: block; font-size: 15px !important; font-weight: 800; margin: 20px 0 10px; color: var(--acq-text); }
.acq-field { margin-bottom: 18px; }
.acq-field > label, .acq-field > .acq-h { display: block; font-size: 13.5px; font-weight: 700; margin: 0 0 8px; color: var(--acq-text); }
.acq-field em { color: var(--acq-red); font-style: normal; }
.acq-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acq-row4 { display: grid; grid-template-columns: repeat(3, 1fr) 120px; gap: 12px; }
.acq-row4 .acq-field { margin: 0; }

/* Option cards */
.acq-opts { display: grid; gap: 10px; }
.acq-opts-2 { grid-template-columns: repeat(2, 1fr); }
.acq-opts-3 { grid-template-columns: repeat(3, 1fr); }
.acq-opts-4 { grid-template-columns: repeat(4, 1fr); }
.acq-opts-5 { grid-template-columns: repeat(5, 1fr); }
.acq-opt {
	position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--acq-line); border-radius: 8px;
	background: #fff; font-size: 13px; font-weight: 600; color: var(--acq-text); cursor: pointer;
	transition: border-color .2s, background .2s, box-shadow .2s; text-align: center; margin: 0;
}
.acq-opt:hover { border-color: #f3a3a6; }
.acq-opt input { position: absolute; opacity: 0; pointer-events: none; }
.acq-opt i { color: #5b5e66; font-size: 16px; }
.acq-opt img { max-height: 22px; max-width: 70px; object-fit: contain; }
.acq-opt small { display: block; font-size: 10.5px; font-weight: 500; color: var(--acq-muted); }
.acq-opts-col .acq-opt { flex-direction: column; gap: 6px; min-height: 66px; font-size: 12px; }
.acq-opts-col .acq-opt i { font-size: 20px; }
.acq-opts-sm .acq-opt { min-height: 40px; font-size: 12.5px; }
.acq-opt-row { justify-content: flex-start; text-align: left; padding: 12px 14px; min-height: 50px; }
.acq-opt-row i { font-size: 18px; width: 22px; text-align: center; }
.acq-opt.is-checked, .acq-opt:has(input:checked) { border-color: var(--acq-red); background: var(--acq-soft); color: var(--acq-red); box-shadow: 0 0 0 1px var(--acq-red) inset; }
.acq-opt.is-checked i, .acq-opt:has(input:checked) i { color: var(--acq-red); }
.acq-opt:has(input:focus-visible) { outline: 2px solid var(--acq-red); outline-offset: 2px; }

/* Inputs */
.acq-select, .acq-input { position: relative; display: flex; align-items: center; }
.acq-select > i, .acq-input > i { position: absolute; left: 14px; color: #7a7d85; font-size: 14px; pointer-events: none; z-index: 1; }
.acq select, .acq input[type=text], .acq input[type=email], .acq input[type=tel], .acq input[type=date], .acq textarea {
	width: 100%; height: 46px; padding: 0 14px 0 40px; border: 1.5px solid var(--acq-line); border-radius: 8px;
	background: #fff; color: var(--acq-text); font: 500 14px var(--ab-font-body, 'Inter', Arial, sans-serif); outline: none; box-shadow: none; margin: 0;
	transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.acq select { padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111319' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; }
.acq select:disabled { background-color: #f4f4f6; color: #9a9ba1; cursor: not-allowed; }
.acq-select-sm select { padding-left: 12px; height: 42px; font-size: 13px; }
.acq textarea { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; }
.acq select:focus, .acq input:focus, .acq textarea:focus { border-color: var(--acq-red); box-shadow: 0 0 0 3px rgba(209,13,20,.12); }
.acq-phone input { padding-left: 98px; }
.acq-cc { position: absolute; left: 1px; top: 1px; bottom: 1px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-right: 1.5px solid var(--acq-line); font-size: 14px; font-weight: 600; background: #fafafa; border-radius: 8px 0 0 8px; z-index: 1; }
.acq-flag { width: 20px; height: 14px; border-radius: 2px; background: linear-gradient(90deg, #ef3340 0 28%, transparent 28%), linear-gradient(180deg, #009739 0 33.3%, #fff 33.3% 66.6%, #000 66.6%); }
.acq-note { display: block; margin-top: 6px; font-size: 11px; color: #2c6ecb; }

/* Errors */
.acq-err { display: block; color: var(--acq-red); font-size: 12px; font-weight: 500; margin-top: 6px; min-height: 0; }
.acq-err:empty { display: none; }
.acq-field.has-err .acq-opt, .acq-field.has-err select, .acq-field.has-err input, .acq-field.has-err .acq-cb { border-color: var(--acq-red) !important; }
.acq-field.has-err input, .acq-field.has-err select { background-color: #fffafa; }

/* Units */
.acq-unit { padding-bottom: 4px; }
.acq-unit-sm { border-top: 1px solid var(--acq-line); padding-top: 18px; margin-top: 6px; }
.acq-unit-sm h3 { font-size: 16px !important; }
.acq-remove { background: none; border: 0; color: var(--acq-red); font-size: 13px; font-weight: 600; padding: 4px; }
.acq-remove:hover { text-decoration: underline; }
.acq-err-row { margin-top: 8px; }
.acq-add {
	width: 100%; margin-top: 16px; padding: 12px; border: 1.5px dashed var(--acq-red); border-radius: 8px;
	background: var(--acq-soft); color: var(--acq-red); font-weight: 700; font-size: 14px; transition: .2s;
}
.acq-add:hover { background: #ffe1e1; }
.acq-hint { font-size: 11.5px; color: var(--acq-muted); margin: 8px 0 0; }

/* Quantity stepper */
.acq-qty-wrap { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--acq-muted); }
.acq-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--acq-line); border-radius: 8px; overflow: hidden; height: 42px; background: #fff; }
.acq-qty button { width: 38px; height: 100%; border: 0; background: #fff; color: var(--acq-text); font-size: 18px; font-weight: 600; padding: 0; line-height: 1; }
.acq-qty button:hover { background: var(--acq-soft); color: var(--acq-red); }
.acq .acq-qty input { width: 52px; height: 100%; border: 0 !important; border-left: 1.5px solid var(--acq-line) !important; border-right: 1.5px solid var(--acq-line) !important; border-radius: 0; text-align: center; padding: 0; font-weight: 700; -moz-appearance: textfield; box-shadow: none !important; }
.acq-qty input::-webkit-inner-spin-button, .acq-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Materials */
.acq-mats { border: 1px solid var(--acq-line); border-radius: 8px; }
.acq-mat { display: grid; grid-template-columns: 34px 1fr auto 56px; align-items: center; gap: 12px; padding: 14px 16px; }
.acq-mat + .acq-mat { border-top: 1px solid var(--acq-line); }
.acq-mat-ic { color: var(--acq-red); font-size: 20px; text-align: center; }
.acq-mat-txt b { display: block; font-size: 13.5px; }
.acq-mat-txt small { display: block; font-size: 11.5px; color: var(--acq-muted); margin: 2px 0; }
.acq-mat-txt em { font-style: normal; font-weight: 700; color: var(--acq-red); font-size: 12.5px; }
.acq-mat-unit { font-size: 12.5px; color: var(--acq-muted); }

/* Add-ons + checkboxes */
.acq-addons { display: grid; gap: 10px; }
.acq-addon, .acq-consent { display: flex; align-items: center; gap: 12px; cursor: pointer; margin: 0; }
.acq-addon { border: 1.5px solid var(--acq-line); border-radius: 8px; padding: 12px 14px; transition: .2s; }
.acq-addon:hover { border-color: #f3a3a6; }
.acq-addon.is-checked, .acq-addon:has(input:checked) { border-color: var(--acq-red); background: var(--acq-soft); }
.acq-addon input, .acq-consent input { position: absolute; opacity: 0; pointer-events: none; }
.acq-cb { flex: 0 0 20px; width: 20px; height: 20px; border: 1.5px solid #c6c7cc; border-radius: 4px; background: #fff; display: grid; place-items: center; transition: .2s; }
.acq-cb::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
input:checked + .acq-cb { background: var(--acq-red); border-color: var(--acq-red); }
input:checked + .acq-cb::after { opacity: 1; }
input:focus-visible + .acq-cb { outline: 2px solid var(--acq-red); outline-offset: 2px; }
.acq-addon-txt { flex: 1; }
.acq-addon-txt b { display: block; font-size: 13.5px; }
.acq-addon-txt small { font-size: 11.5px; color: var(--acq-muted); }
.acq-addon em { font-style: normal; font-weight: 700; color: var(--acq-red); font-size: 13.5px; white-space: nowrap; }
.acq .acq-field > label.acq-consent { display: flex; font-weight: 500; }
.acq-consent { font-size: 12.5px; color: var(--acq-muted); line-height: 1.5; }

/* Alerts */
.acq-alert { display: flex; gap: 12px; align-items: center; background: var(--acq-soft); border: 1px solid #ffd0d2; color: var(--acq-red); border-radius: 8px; padding: 14px 16px; font-size: 13px; margin: 6px 0 18px; }
.acq-alert i { font-size: 22px; }
.acq-alert-sm { padding: 10px 14px; font-size: 12.5px; }
.acq-alert-sm i { font-size: 16px; }

/* Buttons */
.acq-nav { display: flex; gap: 14px; margin-top: 22px; }
.acq-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px;
	border: 0; border-radius:var(--ab-btn-radius, 50px); background: var(--acq-red); color: #fff !important; font-size: 15px; font-weight: 700;
	transition: transform .15s, box-shadow .2s, filter .2s; box-shadow: 0 8px 20px rgba(209,13,20,.28);
}
.acq-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.acq-nav .acq-btn:not(.acq-btn-ghost) { flex: 1; }
.acq-btn-ghost { background: #f1f1f3; color: var(--acq-text) !important; box-shadow: none; }
.acq-btn-block { width: 100%; }
.acq-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.acq-btn.is-loading i { animation: acqSpin 1s linear infinite; }
.acq-btn.is-loading i::before { content: '\f110'; }
@keyframes acqSpin { to { transform: rotate(360deg); } }

/* Sidebar */
.acq-side-card { background: #fff; border-radius: 8px; padding: 16px; box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.acq-side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.acq-side-head h4 { margin: 0; font-size: 16px; font-weight: 800; color: var(--acq-text); }
.acq-editall { white-space: nowrap; flex: 0 0 auto; background: var(--acq-soft); color: var(--acq-red); border: 0; border-radius: 6px; padding: 5px 10px; font-size: 12px; font-weight: 700; }
.acq-editall-dark { background: transparent; border: 1px solid var(--acq-red); }
.acq-si { display: grid; grid-template-columns: 22px 1fr 24px; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f0f2; align-items: start; }
.acq-si > i { color: var(--acq-red); font-size: 16px; margin-top: 2px; }
.acq-si b { font-size: 13px; display: block; }
.acq-si small { font-size: 11.5px; color: var(--acq-muted); line-height: 1.5; }
.acq-pen { background: none; border: 0; color: var(--acq-red); padding: 2px; font-size: 13px; }
.acq-si-unit { border-top: 1px solid #f0f0f2; padding: 10px 0 4px; }
.acq-si-unit-h b { font-size: 13px; }
.acq-si-row { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.acq-si-row i { color: var(--acq-red); width: 18px; text-align: center; margin-top: 3px; font-size: 13px; }
.acq-si-row span { font-size: 11.5px; color: var(--acq-muted); }
.acq-si-row b { display: block; color: var(--acq-text); font-size: 12.5px; font-weight: 600; }
.acq-si-svc { padding-top: 10px; }
.acq-si-svc-h { display: flex; justify-content: space-between; margin-bottom: 6px; }
.acq-si-svc-h b { font-size: 13px; }
.acq-si-svc-h i { color: var(--acq-red); }
.acq-si-li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; font-size: 11.5px; padding: 4px 0; }
.acq-si-li em { font-style: normal; color: var(--acq-red); font-weight: 700; }
.acq-si-li small { color: var(--acq-muted); }
.acq-si-tot { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-top: 1px solid #f0f0f2; }
.acq-est { display: flex; justify-content: space-between; align-items: center; background: var(--acq-red); color: #fff; border-radius: 8px; padding: 14px 16px; font-weight: 700; }
.acq-est span { font-size: 14px; }
.acq-est b { font-size: 20px; white-space: nowrap; }

/* Quote (step 4) */
.acq-quote { background: #121318; color: #e9e9ec; padding: 24px; min-width: 0; border-left: 1px solid rgba(255,255,255,.06); }
.acq-q-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.acq-q-head h3 { color: #fff; font-size: 18px; margin: 0 0 4px; font-weight: 800; }
.acq-q-head p { color: #9a9ba1; font-size: 12px; margin: 0; }
.acq-q-sec { border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.acq-q-sh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.acq-q-sh b { color: #fff; font-size: 13.5px; }
.acq-q-sh b i { color: var(--acq-red); margin-right: 6px; }
.acq-q-edit { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; font-size: 11.5px; padding: 4px 9px; }
.acq-q-edit:hover { border-color: var(--acq-red); }
.acq-q-loc { margin: 0; font-size: 13px; color: #d7d8dc; }
.acq-tbl-wrap { overflow-x: auto; }
.acq-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 0; border: 0; }
.acq-tbl th { text-align: left; color: #9a9ba1; font-weight: 600; padding: 7px 8px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); background: transparent; white-space: nowrap; }
.acq-tbl td { padding: 8px; border: 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #e9e9ec; background: transparent; }
.acq-tbl th:last-child, .acq-tbl td:last-child { text-align: right; }
.acq-q-tot > div { display: flex; justify-content: space-between; padding: 8px 4px; font-size: 14px; }
.acq-q-tot b { color: #fff; }
.acq-q-grand { display: flex; justify-content: space-between; align-items: center; background: var(--acq-red); color: #fff; border-radius: 8px; padding: 16px 18px; margin-top: 6px; font-weight: 700; }
.acq-q-grand b { font-size: 24px; }
.acq-q-disc { font-size: 11.5px; color: #9a9ba1; margin: 12px 0 0; display: flex; gap: 8px; }
.acq-contact { border-radius: 0 var(--acq-radius) var(--acq-radius) 0; }
.acq-contact .acq-card-head { margin-bottom: 2px; }
.acq-contact .acq-req { display: block; margin-bottom: 14px; }
.acq-contact .acq-field { margin-bottom: 14px; }
.acq-contact .acq-nav .acq-btn { padding: 0 18px; }

.acq-msg { font-size: 13px; }
.acq-msg.is-err { background: var(--acq-soft); color: var(--acq-red); border-radius: 8px; padding: 10px 14px; }

/* Success */
.acq-done { background: #fff; border-radius: var(--acq-radius); padding: 60px 24px; text-align: center; }
.acq-done-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--acq-red); color: #fff; display: grid; place-items: center; font-size: 34px; margin: 0 auto 18px; box-shadow: 0 10px 30px rgba(209,13,20,.35); }
.acq-done h3 { font-size: 26px; margin: 0 0 10px; color: var(--acq-text); }
.acq-done p { color: var(--acq-muted); max-width: 520px; margin: 0 auto 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.acq-step, .acq-step[data-step="4"] { grid-template-columns: 240px minmax(0, 1fr); }
	.acq-side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--acq-line); border-radius: 0 0 var(--acq-radius) var(--acq-radius); }
	.acq-hero { border-radius: var(--acq-radius) 0 0 0; }
	.acq-step[data-step="4"] .acq-contact { grid-column: 1 / -1; border-radius: 0 0 var(--acq-radius) var(--acq-radius); }
	.acq-hero-title { font-size: 25px; }
}
@media (max-width: 860px) {
	.acq { padding: 12px; }
	.acq-stepper { gap: 6px; flex-wrap: nowrap; }
	.acq-tab { min-width: 0; flex: 1; padding: 5px; justify-content: center; gap: 0; }
	.acq-tab-txt { display: none; }
	.acq-tab.is-active .acq-tab-txt { display: inline; margin: 0 8px; }
	.acq-tab.is-active { flex: 2.4; }
	.acq-step, .acq-step[data-step="4"] { grid-template-columns: 1fr; }
	.acq-hero { border-radius: var(--acq-radius) var(--acq-radius) 0 0; min-height: 0; }
	.acq-hero-in { padding: 20px 18px; }
	.acq-hero-title { font-size: 22px; margin-bottom: 6px; }
	.acq-hero-desc { margin-bottom: 0; font-size: 13px; }
	.acq-hero-feat, .acq-hero-badge { display: none; }
	.acq-main, .acq-quote { padding: 20px 16px; }
	.acq-side { padding: 14px; }
	.acq-opts-4, .acq-opts-5 { grid-template-columns: repeat(3, 1fr); }
	.acq-opts-3 { grid-template-columns: 1fr; }
	.acq-row4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.acq-opts-2, .acq-opts-4, .acq-row2 { grid-template-columns: 1fr 1fr; }
	.acq-opts-5 { grid-template-columns: repeat(2, 1fr); }
	.acq-step[data-step="2"] .acq-opts-2 { grid-template-columns: 1fr; }
	.acq-step[data-step="2"] .acq-row2, .acq-step[data-step="4"] .acq-row2 { grid-template-columns: 1fr; }
	.acq-mat { grid-template-columns: 28px 1fr; }
	.acq-mat .acq-qty { grid-column: 2; justify-self: start; }
	.acq-mat-unit { display: none; }
	.acq-nav { flex-direction: column-reverse; }
	.acq-q-grand b { font-size: 20px; }
	.acq-tbl { font-size: 11.5px; }
}

/* ---------- Elementor Pro Form inside step 4 (contact_mode = elementor) ---------- */
.acq-ext .elementor-form .elementor-form-fields-wrapper { margin: 0 -8px; }
.acq-ext .elementor-field-group { padding: 0 8px !important; margin-bottom: 14px !important; position: relative; }
.acq-ext .elementor-field-label { display: block; font-size: 13.5px !important; font-weight: 700 !important; color: var(--acq-text) !important; margin-bottom: 8px !important; padding: 0 !important; }
.acq-ext .elementor-mark-required .elementor-field-label::after { content: ' *'; color: var(--acq-red); }
.acq-ext .elementor-field-group .elementor-field:not(.elementor-select-wrapper),
.acq-ext .elementor-field-group select,
.acq-ext .elementor-field-group textarea {
	width: 100%; min-height: 46px; padding: 0 14px 0 40px !important; border: 1.5px solid var(--acq-line) !important; border-radius: 8px !important;
	background-color: #fff !important; color: var(--acq-text) !important; font: 500 14px var(--ab-font-body, 'Inter', Arial, sans-serif) !important; box-shadow: none !important;
	background-repeat: no-repeat !important; background-position: 14px center !important; background-size: 15px !important;
}
.acq-ext .elementor-field-group textarea { padding: 12px 14px !important; min-height: 92px; }
.acq-ext .elementor-field-group .elementor-field:focus { border-color: var(--acq-red) !important; box-shadow: 0 0 0 3px rgba(209,13,20,.12) !important; }
.acq-ext .elementor-field-group-name input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7d85' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); }
.acq-ext .elementor-field-group-email input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7d85' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.acq-ext .elementor-field-group-preferred_date input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7d85' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.acq-ext .elementor-field-group-preferred_time select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7d85' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.acq-ext .elementor-field-group-phone input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7d85' stroke-width='2'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a2 2 0 01-2 2A16 16 0 013 6a2 2 0 012-2z'/%3E%3C/svg%3E"); }
.acq-ext .elementor-field-type-acceptance .elementor-field-subgroup label { font-size: 12.5px; color: var(--acq-muted); line-height: 1.5; }
.acq-ext .elementor-field-type-acceptance input { width: 18px; height: 18px; accent-color: var(--acq-red); vertical-align: middle; margin-right: 8px; }
.acq-ext .elementor-field-group.has-err .elementor-field, .acq-ext .elementor-field-group.has-err select { border-color: var(--acq-red) !important; background-color: #fffafa !important; }
.acq-ext .elementor-field-group .acq-err { width: 100%; }
.acq-ext .elementor-message { font-size: 13px; margin-top: 10px; }
.acq-ext .e-form__buttons, .acq-ext .elementor-field-type-submit { margin-top: 8px; }
.acq-ext .elementor-button[type=submit] {
	width: 100%; min-height: 48px; border-radius: 8px !important; background: var(--acq-red) !important; color: #fff !important;
	font: 700 15px var(--ab-font-body, 'Inter', Arial, sans-serif) !important; box-shadow: 0 8px 20px rgba(209,13,20,.28); border: 0 !important;
}
.acq-ext .elementor-button[type=submit]:hover { filter: brightness(1.08); }
.acq-ext .elementor-field-type-hidden { display: none !important; }
.acq-ext-back { margin-top: 12px; width: 100%; }

/* ---------- Theme (Astra) button reset: no default colors, focus or hover from theme ---------- */
.acq button, .acq button:hover, .acq button:focus, .acq button:active, .acq button:focus-visible,
.acq [type=submit], .acq [type=submit]:hover, .acq [type=submit]:focus {
	text-transform: none; letter-spacing: normal; line-height: 1.2; outline: none; text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.acq .acq-tab, .acq .acq-tab:hover, .acq .acq-tab:focus, .acq .acq-tab:active { background: rgba(255,255,255,.05) !important; color: #d7d8dc !important; border: 1px solid rgba(255,255,255,.08) !important; box-shadow: none !important; }
.acq .acq-tab:hover { background: rgba(255,255,255,.1) !important; }
.acq .acq-tab.is-active, .acq .acq-tab.is-active:hover, .acq .acq-tab.is-active:focus, .acq .acq-tab.is-active:active { background: var(--acq-red) !important; border-color: var(--acq-red) !important; color: #fff !important; box-shadow: 0 8px 24px rgba(209,13,20,.35) !important; }
.acq .acq-btn, .acq .acq-btn:hover, .acq .acq-btn:focus, .acq .acq-btn:active { background: var(--acq-red) !important; color: #fff !important; border: 0 !important; }
.acq .acq-btn-ghost, .acq .acq-btn-ghost:hover, .acq .acq-btn-ghost:focus, .acq .acq-btn-ghost:active { background: #f1f1f3 !important; color: var(--acq-text) !important; box-shadow: none !important; }
.acq .acq-btn-ghost:hover { background: #e6e6ea !important; }
.acq .acq-add, .acq .acq-add:focus, .acq .acq-add:active { background: var(--acq-soft) !important; color: var(--acq-red) !important; border: 1.5px dashed var(--acq-red) !important; box-shadow: none !important; }
.acq .acq-add:hover { background: #ffe1e1 !important; }
.acq .acq-qty button, .acq .acq-qty button:focus, .acq .acq-qty button:active { background: #fff !important; color: var(--acq-text) !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.acq .acq-qty button:hover { background: var(--acq-soft) !important; color: var(--acq-red) !important; }
.acq .acq-remove, .acq .acq-remove:hover, .acq .acq-remove:focus, .acq .acq-pen, .acq .acq-pen:hover, .acq .acq-pen:focus { background: transparent !important; color: var(--acq-red) !important; border: 0 !important; box-shadow: none !important; }
.acq .acq-editall, .acq .acq-editall:hover, .acq .acq-editall:focus { background: var(--acq-soft) !important; color: var(--acq-red) !important; border: 0 !important; box-shadow: none !important; }
.acq .acq-editall-dark, .acq .acq-editall-dark:hover, .acq .acq-editall-dark:focus { background: transparent !important; border: 1px solid var(--acq-red) !important; }
.acq .acq-q-edit, .acq .acq-q-edit:focus { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important; box-shadow: none !important; }
.acq .acq-q-edit:hover { border-color: var(--acq-red) !important; background: transparent !important; color: #fff !important; }
/* keyboard users still get a visible focus ring in brand red */
.acq button:focus-visible { outline: 2px solid var(--acq-red) !important; outline-offset: 2px; }
.acq .acq-tab:focus:not(:focus-visible), .acq .acq-btn:focus:not(:focus-visible) { outline: none !important; }
/* inputs: no theme focus color */
.acq input:focus, .acq select:focus, .acq textarea:focus { outline: none !important; border-color: var(--acq-red) !important; box-shadow: 0 0 0 3px rgba(209,13,20,.12) !important; }
.acq a, .acq a:hover, .acq a:focus { text-decoration: none !important; box-shadow: none !important; }

/* ---------- Final-design alignment fixes ---------- */
.acq .acq-row4 { grid-template-columns: repeat(3, minmax(0, 1fr)) 128px; }
.acq .acq-row4 .acq-qty { display: flex; width: 100%; }
.acq .acq-row4 .acq-qty button { width: 36px; flex: 0 0 36px; }
.acq .acq-row4 .acq-qty input { flex: 1 1 auto; width: auto; min-width: 0; }
.acq .acq-unit-sm .acq-field > label { font-size: 12.5px; margin-bottom: 6px; }
.acq .acq-si-unit-h { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 860px) { .acq .acq-row4 { grid-template-columns: 1fr 1fr; } }

/* ---------- User requested + Elementor form polish ---------- */
.acq-main { border-radius: 10px 0px 0px 10px; }
.acq .acq-ext .elementor-field-group textarea.elementor-field { padding: 12px 14px !important; background-image: none !important; min-height: 92px; }
/* consent checkbox: normal small box, brand red when checked */
.acq .acq-ext .elementor-field-type-acceptance .elementor-field-subgroup { display: flex; }
.acq .acq-ext .elementor-field-type-acceptance .elementor-field-option { display: flex; align-items: flex-start; gap: 10px; }
.acq .acq-ext .elementor-field-type-acceptance input[type=checkbox] {
	-webkit-appearance: none !important; appearance: none !important; flex: 0 0 20px; width: 20px !important; height: 20px !important; min-height: 0 !important;
	margin: 1px 0 0 !important; padding: 0 !important; border: 1.5px solid #c6c7cc !important; border-radius: 4px !important; background: #fff !important;
	box-shadow: none !important; cursor: pointer; position: relative; transform: none !important;
}
.acq .acq-ext .elementor-field-type-acceptance input[type=checkbox]:checked { background: var(--acq-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") no-repeat center / 13px !important; border-color: var(--acq-red) !important; }
.acq .acq-ext .elementor-field-type-acceptance input[type=checkbox]::before, .acq .acq-ext .elementor-field-type-acceptance input[type=checkbox]::after { display: none !important; }
.acq .acq-ext .elementor-field-type-acceptance label { font-size: 12.5px !important; font-weight: 500 !important; color: var(--acq-muted) !important; line-height: 1.5; margin: 0 !important; cursor: pointer; }
.acq .acq-ext .elementor-field-group.has-err input[type=checkbox] { border-color: var(--acq-red) !important; }

/* ===== AB Quote Preloader ===== */
.acq{position:relative}
.acq:not(.acq-ready)::before{content:"";position:absolute;inset:0;z-index:49;background:rgba(15,15,15,.55);border-radius:inherit;animation:acqFallback 0s linear 6s forwards}
@keyframes acqFallback{to{opacity:0;visibility:hidden}}
.acq-loader{position:absolute;inset:0;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:rgba(15,15,15,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);border-radius:inherit;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}
.acq-loader.is-on{opacity:1;visibility:visible}
.acq-loader-box{position:relative;width:70px;height:70px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:50%;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.acq-loader-ring{position:absolute;inset:-6px;border-radius:50%;border:4px solid rgba(227,30,36,.2);border-top-color:#E31E24;animation:acqSpin .8s linear infinite}
.acq-loader-box i{font-size:28px;color:#E31E24;animation:acqSpin 2.4s linear infinite}
.acq-loader-text{margin:0;color:#fff;font-weight:600;font-size:15px;letter-spacing:.3px}
@keyframes acqSpin{to{transform:rotate(360deg)}}

/* ===== AB Quote Mobile Fixes ===== */
@media (max-width:767px){
.acq .acq-tab{min-width:0!important;flex:0 0 auto!important;gap:8px!important;padding:5px 16px 5px 5px!important}
.acq .acq-tab:not(.is-active){padding:5px!important}
.acq .acq-tab-num{flex:0 0 32px!important;width:32px!important;min-width:32px!important;height:32px!important;margin:0!important}
.acq .acq-editall{flex:0 0 auto!important;align-self:flex-start!important;width:auto!important;height:auto!important;min-height:0!important;padding:6px 12px!important;font-size:12px!important;line-height:1.2!important;border-radius:6px!important}
}

/* ===== AB Quote Mobile Radius Fix ===== */
@media (max-width:1200px){
.acq .acq-main{border-radius:var(--acq-radius) var(--acq-radius) 0 0!important}
.acq .acq-side{border-radius:0 0 var(--acq-radius) var(--acq-radius)!important}
}


/* ---------- Plugin-specific additions ---------- */
.aciqc .aciqc-note { margin: 0 0 18px; }
.aciqc .acq-field + .acq-field { margin-top: 4px; }
.aciqc .acq-done-total { display: block; margin-top: 8px; font-weight: 700; color: var(--acq-red); }

/* ---------- v3.2.0: step header on top (no left panel) ---------- */
.acq-step { grid-template-columns: minmax(0, 1fr) 300px; }
.acq-step[data-step="4"] { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr); }
.acq-hero.acq-stephead {
	grid-column: 1 / -1;
	min-height: 0;
	display: block;
	padding: 24px 28px 20px;
	background: linear-gradient(135deg, #15151b 0%, #22070a 100%);
	background-image: linear-gradient(135deg, #15151b 0%, #22070a 100%);
	border-radius: var(--acq-radius) var(--acq-radius) 0 0;
}
.acq-hero.acq-stephead::before { display: none; }
.acq-stephead .acq-hero-label { display: block; }
.acq-stephead .acq-hero-title { font-size: 28px; margin: 6px 0 8px; }
.acq-stephead .acq-hero-desc { margin: 0; max-width: 720px; }
.acq-empty-opts { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fff6e5; color: #9a5b00; font-size: 13px; }
.acq-err.is-info { color: #9a5b00; }
@media (max-width: 1200px) {
	.acq-step, .acq-step[data-step="4"] { grid-template-columns: minmax(0, 1fr); }
	.acq-hero.acq-stephead { border-radius: var(--acq-radius) var(--acq-radius) 0 0; }
	.acq-step[data-step="4"] .acq-contact { grid-column: auto; }
}
@media (max-width: 860px) {
	.acq-hero.acq-stephead { padding: 18px 16px 16px; }
	.acq-stephead .acq-hero-title { font-size: 21px; }
	.acq-stephead .acq-hero-desc { font-size: 13px; }
}

/* v3.2.1: centred step header with background image, joined to the stepper */
.acq-stepper { margin-bottom: 14px; }
.acq-hero.acq-stephead {
	text-align: center;
	padding: 30px 28px 26px;
	background:
		linear-gradient(180deg, rgba(10, 10, 14, .78) 0%, rgba(10, 10, 14, .62) 55%, rgba(34, 7, 10, .88) 100%),
		var(--acq-head-img, linear-gradient(135deg, #15151b 0%, #22070a 100%)) center / cover no-repeat;
}
.acq-stephead .acq-hero-desc { margin: 0 auto; }
@media (max-width: 860px) {
	.acq-hero.acq-stephead { padding: 22px 16px 18px; }
}

/* v3.2.2: step header above the stepper */
.acq-tophead { margin: 0 0 16px; }
.acq-tophead .acq-hero.acq-stephead { border-radius: var(--acq-radius); }
.acq-tophead .acq-stephead[hidden] { display: none; }
.acq-stepper { margin-bottom: 18px; }
