/* AC Mini Split System Builder. Namespaced under .acsb; uses the site's fonts. */
.acsb {
	--acsb-red: #C8102E;
	--acsb-ink: #212529;
	--acsb-body: #586069;
	--acsb-line: #dfe2e5;
	--acsb-soft: #f4f5f6;
	max-width: 1000px;
	color: var(--acsb-body);
	font-family: Barlow, system-ui, sans-serif;
	box-sizing: border-box;
}
.acsb *, .acsb *::before, .acsb *::after { box-sizing: inherit; }
.acsb h3 {
	margin: 0 0 12px;
	color: var(--acsb-ink);
	font-family: "Barlow Semi Condensed", Barlow, sans-serif;
	text-transform: uppercase;
	letter-spacing: .02em;
	font-size: 1.15rem;
	display: flex;
	align-items: center;
	gap: 10px;
}
.acsb h3 span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--acsb-red);
	color: #fff;
	font-size: .9rem;
	flex: 0 0 auto;
}
.acsb-step { margin: 0 0 24px; padding: 18px; background: var(--acsb-soft); border-radius: 6px; }
.acsb-step[hidden] { display: none; }
.acsb-note { margin: 0 0 12px; }
.acsb-zonebtns { display: flex; flex-wrap: wrap; gap: 8px; }
.acsb-zbtn {
	padding: 10px 18px;
	border: 2px solid var(--acsb-line);
	background: #fff;
	color: var(--acsb-ink);
	font: inherit;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
}
.acsb-zbtn[aria-pressed="true"] { border-color: var(--acsb-red); background: var(--acsb-red); color: #fff; }
.acsb-zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.acsb-zone { background: #fff; padding: 14px; border: 1px solid var(--acsb-line); border-radius: 4px; }
.acsb-zone label { display: block; font-weight: 600; color: var(--acsb-ink); margin-bottom: 6px; }
.acsb-zone label.acsb-sub { margin-top: 12px; font-weight: 500; font-size: .92rem; }
.acsb select {
	width: 100%;
	padding: 10px;
	border: 1px solid #c9ced3;
	border-radius: 4px;
	font: inherit;
	color: var(--acsb-ink);
	background: #fff;
}
.acsb select:focus-visible, .acsb button:focus-visible, .acsb-card:focus-within { outline: 3px solid rgba(200, 16, 46, .35); outline-offset: 2px; }
.acsb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.acsb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px;
	background: #fff;
	border: 2px solid var(--acsb-line);
	border-radius: 4px;
	cursor: pointer;
}
.acsb-card.is-on { border-color: var(--acsb-red); }
.acsb-card input { position: absolute; opacity: 0; pointer-events: none; }
.acsb-card img { width: 100%; height: 120px; object-fit: contain; margin-bottom: 6px; }
.acsb-cname { font-weight: 600; color: var(--acsb-ink); }
.acsb-csku { font-size: .85rem; }
.acsb-cprice { color: var(--acsb-ink); font-weight: 700; }
.acsb-tag {
	position: absolute;
	top: 8px;
	right: 8px;
	background: var(--acsb-ink);
	color: #fff;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 3px 8px;
	border-radius: 3px;
}
.acsb-summary { padding: 18px; border: 2px solid var(--acsb-ink); border-radius: 6px; background: #fff; }
.acsb-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.acsb-table th, .acsb-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--acsb-line); vertical-align: top; }
.acsb-table th:last-child, .acsb-table td:last-child { text-align: right; white-space: nowrap; }
.acsb-table td:nth-child(2), .acsb-table th:nth-child(2) { width: 56px; }
.acsb-table small { display: block; font-size: .82rem; color: var(--acsb-body); }
.acsb-table tfoot th { color: var(--acsb-ink); font-size: 1.1rem; border-bottom: 0; }
.acsb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.acsb-add, .acsb-reset {
	padding: 12px 22px;
	border: 2px solid var(--acsb-red);
	background: var(--acsb-red);
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	border-radius: 4px;
	cursor: pointer;
}
.acsb-add[disabled] { opacity: .45; cursor: not-allowed; }
.acsb-ghost { background: #fff; color: var(--acsb-ink); border-color: #c9ced3; }
.acsb-fine { font-size: .88rem; margin: 12px 0 0; }
.acsb-msg { margin-top: 10px; font-weight: 600; }
.acsb-msg.is-ok { color: #1a7f37; }
.acsb-msg.is-err { color: var(--acsb-red); }
@media (max-width: 520px) {
	.acsb-step, .acsb-summary { padding: 14px; }
	.acsb-table { font-size: .92rem; }
}

/* Estimate hand-off */
.acsb-banner {
	margin: 0 0 18px;
	padding: 12px 16px;
	background: #fff;
	border-left: 4px solid var(--acsb-red);
	color: var(--acsb-ink);
	border-radius: 0 4px 4px 0;
}
.acsb-banner[hidden] { display: none; }
.acsb-hint { margin: 8px 0 0; font-size: .88rem; }
.acsb-showall {
	padding: 0;
	border: 0;
	background: none;
	color: var(--acsb-red);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.acsb [hidden] { display: none !important; }
.acsb-showall, .acsb-linkbtn {
	padding: 0;
	border: 0;
	background: none;
	color: var(--acsb-red);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}
.acsb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Planner: tabs, rooms, fields */
.acsb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.acsb-tab {
	padding: 10px 18px;
	border: 2px solid var(--acsb-line);
	background: #fff;
	color: var(--acsb-ink);
	font: inherit;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
}
.acsb-tab[aria-pressed="true"] { border-color: var(--acsb-red); background: var(--acsb-red); color: #fff; }
.acsb-pane { margin: 0 0 24px; }
.acsb-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.acsb-fields label, .acsb-pick label { display: block; font-weight: 600; color: var(--acsb-ink); }
.acsb-fields input[type="number"], .acsb-fields input[type="text"], .acsb-rn {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: 10px;
	border: 1px solid #c9ced3;
	border-radius: 4px;
	font: inherit;
	color: var(--acsb-ink);
	background: #fff;
}
.acsb-fields select, .acsb-pick select { margin-top: 4px; }
.acsb-fields label.acsb-check { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; }
.acsb-fields label.acsb-check input { width: 18px; height: 18px; margin: 0; }
.acsb-global { margin: 0 0 16px; max-width: 560px; }
.acsb-rooms { display: grid; gap: 14px; margin: 0 0 14px; }
.acsb-room { background: var(--acsb-soft); border-radius: 6px; padding: 14px; }
.acsb-room-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.acsb-num {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--acsb-red);
	color: #fff;
	font-weight: 700;
	font-size: .9rem;
}
.acsb-rn { margin: 0; font-weight: 600; }
.acsb-est { margin: 12px 0; }
.acsb-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; align-items: start; }
.acsb-pick .acsb-hint { grid-column: 1 / -1; margin: 0; }
.acsb-pick .acsb-hint:empty { display: none; }
.acsb-pick label.acsb-sub { margin: 0; font-weight: 600; font-size: 1rem; }
.acsb-linkbtn.acsb-rx { flex: 0 0 auto; }
.acsb-addroom { padding: 10px 18px; border: 2px solid #c9ced3; background: #fff; color: var(--acsb-ink); font: inherit; font-weight: 700; border-radius: 4px; cursor: pointer; }
.acsb-addroom[disabled] { opacity: .45; cursor: not-allowed; }
.acsb-sysrooms { margin: 0 0 12px; color: var(--acsb-ink); font-weight: 600; }
.acsb-sysrow td { background: var(--acsb-soft); font-weight: 700; color: var(--acsb-ink); text-align: left !important; }
.acsb-band { text-align: center; background: var(--acsb-ink); color: #fff; padding: 20px; border-radius: 6px; margin: 16px 0 12px; }
.acsb-eyebrow { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #ff8a9b; }
.acsb-big { font-family: "Barlow Semi Condensed", Barlow, sans-serif; font-size: 1.8rem; font-weight: 700; text-transform: uppercase; margin: 6px 0; }
.acsb-band p { margin: 0; color: #e6e8ea; }
.acsb-plain td:last-child, .acsb-plain th:last-child { text-align: left; white-space: normal; }
.acsb-add, .acsb-reset { background-color: var(--acsb-red); }
.acsb-reset.acsb-ghost, .acsb-ghost { background: #fff; }

/* Keep the site theme from clipping form controls */
.acsb select,
.acsb input[type="text"],
.acsb input[type="number"] {
	height: auto !important;
	min-height: 46px;
	line-height: 1.35 !important;
	padding: 10px 12px !important;
	box-sizing: border-box !important;
	display: block;
	width: 100%;
	overflow: visible;
}
.acsb select { padding-right: 32px !important; text-overflow: ellipsis; }
.acsb .acsb-rn { min-height: 44px; }
.acsb input[type="checkbox"], .acsb input[type="radio"] { min-height: 0 !important; width: 18px; height: 18px !important; padding: 0 !important; }
.acsb label { line-height: 1.3; }
.acsb-pick .acsb-conflict { grid-column: 1 / -1; margin: 0; padding: 10px 12px; background: #fff; border-left: 4px solid var(--acsb-red); color: var(--acsb-ink); }

/* Indoor unit dropdown with thumbnails */
.acsb-pickcol { position: relative; }
.acsb-lab { display: block; margin: 0 0 4px; font-weight: 600; color: var(--acsb-ink); }
.acsb-dd { position: relative; }
.acsb .acsb-dd-btn {
	display: flex; align-items: center; gap: 10px; width: 100%; min-height: 58px; padding: 6px 12px; margin: 0;
	background: #fff; color: var(--acsb-ink); border: 1px solid #c9ced3; border-radius: 4px;
	font: inherit; font-weight: 600; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; line-height: 1.3;
}
.acsb .acsb-dd-btn::after { content: ""; margin-left: auto; flex: 0 0 auto; border: 5px solid transparent; border-top-color: var(--acsb-ink); border-bottom: 0; }
.acsb .acsb-dd-btn[aria-expanded="true"] { border-color: var(--acsb-red); }
.acsb .acsb-dd-list {
	position: absolute; z-index: 50; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none;
	max-height: 360px; overflow-y: auto; background: #fff; border: 1px solid #c9ced3; border-radius: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.acsb .acsb-dd-grp { margin: 6px 0 2px; padding: 4px 8px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--acsb-red); list-style: none; }
.acsb .acsb-dd-opt { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 8px; list-style: none; border-radius: 4px; cursor: pointer; color: var(--acsb-ink); }
.acsb .acsb-dd-opt:hover, .acsb .acsb-dd-opt:focus { background: var(--acsb-soft); outline: 0; }
.acsb .acsb-dd-opt:focus-visible { outline: 3px solid rgba(200, 16, 46, .35); }
.acsb .acsb-dd-opt[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--acsb-red); background: #fdf1f3; }
.acsb .acsb-dd-opt.is-off { opacity: .5; cursor: not-allowed; }
.acsb .acsb-dd-opt.is-off:hover { background: none; }
.acsb-dd-txt { display: flex; flex-direction: column; min-width: 0; }
.acsb-dd-name { font-weight: 600; }
.acsb-dd-price { font-weight: 700; color: var(--acsb-body); font-size: .92rem; }
.acsb-dd-txt small { font-size: .78rem; color: var(--acsb-body); }
.acsb .acsb-thumb { flex: 0 0 50px; width: 50px; height: 50px; object-fit: contain; background: #fff; border: 1px solid var(--acsb-line); border-radius: 4px; padding: 2px; margin: 0; }
.acsb .acsb-nothumb { display: inline-block; background: var(--acsb-soft); }
.acsb-rowprod { display: flex; align-items: center; gap: 10px; }
.acsb-rowprod .acsb-thumb { width: 50px; height: 50px; }

/* Wider indoor unit picker so names and prices stay on one line */
.acsb-pick { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.acsb .acsb-dd-list { right: auto; width: max(100%, 460px); max-width: calc(100vw - 40px); }
.acsb .acsb-dd-name, .acsb .acsb-dd-price { white-space: nowrap; }
.acsb .acsb-dd-btn .acsb-dd-name { overflow: hidden; text-overflow: ellipsis; }
.acsb .acsb-dd-txt { flex: 1 1 auto; }
.acsb .acsb-dd-grp { white-space: nowrap; letter-spacing: .04em; }
.acsb .acsb-dd-opt { align-items: center; }
.acsb .acsb-dd-opt .acsb-dd-txt { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.acsb .acsb-dd-opt .acsb-dd-txt small { flex-basis: 100%; }
@media (max-width: 640px) {
	.acsb-pick { grid-template-columns: minmax(0, 1fr); }
	.acsb .acsb-dd-list { width: 100%; }
	.acsb .acsb-dd-name, .acsb .acsb-dd-price { white-space: normal; }
}

/* Custom line set (per room) */
.acsb-ls { grid-column: 1 / -1; margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--acsb-line, #dfe3e6); }
.acsb-ls label.acsb-lscheck { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.acsb-ls label.acsb-lscheck input { width: 18px; height: 18px; margin: 0; }
.acsb-lsbody { margin-top: 8px; }
.acsb-lsbody label.acsb-sub { display: block; margin: 0; font-weight: 600; font-size: 1rem; }
.acsb-lsbody input.acsb-ft { width: 120px; margin-top: 4px; }
.acsb-lsnote { margin: 8px 0 0; font-size: .88rem; }
.acsb-lserr { margin: 6px 0 0; font-size: .9rem; font-weight: 600; color: #C8102E; }

/* Line set toggle: full-width red button, same style as "Add to cart" */
.acsb-ls button.acsb-lstoggle {
	display: block; width: 100%; box-sizing: border-box;
	padding: 18px 22px; font-size: 1.1rem; line-height: 1.3; text-align: center; white-space: normal;
}
.acsb-lstoggle .acsb-lssub { display: block; margin-top: 2px; font-size: .88rem; font-weight: 600; text-transform: none; letter-spacing: 0; opacity: .95; }
.acsb-ls button.acsb-lstoggle.is-on { background: #212529; border-color: #212529; }
.acsb-ls button.acsb-lstoggle:focus-visible { outline: 3px solid #212529; outline-offset: 2px; }

/* ---------- Buttons: keep text and background visible in every state ----------
   Themes often restyle button:hover / :focus (white text on a white background). These
   rules set every state explicitly so labels never disappear. */
.acsb button { font-family: inherit; text-shadow: none; box-shadow: none; }
.acsb button.acsb-tab:not([aria-pressed="true"]) { background: #fff !important; color: #212529 !important; border-color: #c9ced3 !important; }
.acsb button.acsb-tab:not([aria-pressed="true"]):hover,
.acsb button.acsb-tab:not([aria-pressed="true"]):focus { background: #fff !important; color: #C8102E !important; border-color: #C8102E !important; }
.acsb button.acsb-tab[aria-pressed="true"],
.acsb button.acsb-tab[aria-pressed="true"]:hover,
.acsb button.acsb-tab[aria-pressed="true"]:focus { background: #C8102E !important; color: #fff !important; border-color: #C8102E !important; }

.acsb button.acsb-add { background: #C8102E !important; color: #fff !important; border-color: #C8102E !important; }
.acsb button.acsb-add:hover:not([disabled]),
.acsb button.acsb-add:focus:not([disabled]) { background: #a30d25 !important; color: #fff !important; border-color: #a30d25 !important; }
.acsb button.acsb-add[disabled] { background: #C8102E !important; color: #fff !important; opacity: .45; }

.acsb button.acsb-ghost, .acsb button.acsb-reset.acsb-ghost { background: #fff !important; color: #212529 !important; border-color: #c9ced3 !important; }
.acsb button.acsb-ghost:hover, .acsb button.acsb-ghost:focus { background: #f4f5f6 !important; color: #212529 !important; border-color: #212529 !important; }

.acsb button.acsb-addroom, .acsb button.acsb-zbtn { background: #fff !important; color: #212529 !important; border-color: #c9ced3 !important; }
.acsb button.acsb-addroom:hover:not([disabled]), .acsb button.acsb-addroom:focus:not([disabled]),
.acsb button.acsb-zbtn:hover, .acsb button.acsb-zbtn:focus { background: #f4f5f6 !important; color: #C8102E !important; border-color: #C8102E !important; }

.acsb button.acsb-lstoggle.is-on { background: #212529 !important; border-color: #212529 !important; color: #fff !important; }
.acsb button.acsb-lstoggle.is-on:hover, .acsb button.acsb-lstoggle.is-on:focus { background: #3a4046 !important; border-color: #3a4046 !important; color: #fff !important; }

.acsb button.acsb-linkbtn, .acsb button.acsb-showall { background: transparent !important; color: #C8102E !important; border: 0 !important; padding: 0; text-decoration: underline; cursor: pointer; }
.acsb button.acsb-linkbtn:hover, .acsb button.acsb-linkbtn:focus, .acsb button.acsb-showall:hover, .acsb button.acsb-showall:focus { background: transparent !important; color: #a30d25 !important; }

.acsb button.acsb-dd-btn { background: #fff !important; color: #212529 !important; }
.acsb button.acsb-dd-btn:hover, .acsb button.acsb-dd-btn:focus { background: #fff !important; color: #212529 !important; border-color: #C8102E !important; }
.acsb .acsb-dd-opt:hover, .acsb .acsb-dd-opt:focus { background: #f4f5f6 !important; color: #212529 !important; }
.acsb button:focus-visible { outline: 3px solid #212529; outline-offset: 2px; }

/* Send Us Your Build */
.acsb-sendwrap { margin-top: 14px; }
.acsb-sendnote { margin-top: 8px; }
.acsb-sendform { margin-top: 12px; padding: 16px; background: #fff; border: 1px solid var(--acsb-line); border-radius: 6px; display: grid; gap: 12px; }
.acsb-sendform label { display: block; font-weight: 600; color: var(--acsb-ink); }
.acsb-sendform input[type="text"], .acsb-sendform input[type="email"], .acsb-sendform input[type="tel"] { display: block; width: 100%; margin-top: 4px; height: 44px; padding: 8px 12px; line-height: 1.3; }
.acsb-sendform .acsb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acsb-sendform button.acsb-sendgo { width: 100%; padding: 14px 22px; }
.acsb-sendmsg { font-weight: 600; }
.acsb-sendmsg:empty { display: none; }
.acsb-sendmsg.is-ok { color: #1a7f37; }
.acsb-sendmsg.is-err { color: #C8102E; }
.acsb button.acsb-print[disabled], .acsb button.acsb-sendtoggle[disabled] { opacity: .45; cursor: not-allowed; }

/* Print Worksheet and Send Us Your Build: same size and look as the other action buttons (Start over) */
.acsb button.acsb-print, .acsb button.acsb-sendtoggle {
	padding: 12px 22px;
	border: 2px solid #212529 !important;
	background: #fff !important;
	color: #212529 !important;
	font: inherit;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	border-radius: 4px;
	cursor: pointer;
}
.acsb button.acsb-print:hover:not([disabled]), .acsb button.acsb-print:focus:not([disabled]),
.acsb button.acsb-sendtoggle:hover:not([disabled]), .acsb button.acsb-sendtoggle:focus:not([disabled]), .acsb button.acsb-sendtoggle[aria-expanded="true"] { background: #212529 !important; color: #fff !important; border-color: #212529 !important; }
.acsb button.acsb-reset.acsb-ghost { border-color: #212529 !important; }
.acsb button.acsb-reset.acsb-ghost:hover, .acsb button.acsb-reset.acsb-ghost:focus { background: #212529 !important; color: #fff !important; border-color: #212529 !important; }

/* Build overview on the page: outdoor unit and rooms */
.acsb-subh { margin: 16px 0 6px; color: var(--acsb-ink); font-family: "Barlow Semi Condensed", Barlow, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 1rem; }
.acsb-ovwout { margin: 0 0 8px; }
.acsb-ovwrap { overflow-x: auto; margin: 0 0 10px; }
.acsb-ovw { width: 100%; border-collapse: collapse; min-width: 640px; }
.acsb-ovw th, .acsb-ovw td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--acsb-line); vertical-align: top; font-size: .92rem; }
.acsb-ovw thead th { background: var(--acsb-ink); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; border: 0; }
.acsb-ovw small { display: block; color: var(--acsb-body); font-size: .82rem; }
.acsb-ovw small.bad, .acsb-ovw .bad { color: var(--acsb-red); font-weight: 600; }
.acsb-ovwout small { display: inline; }
