/* Aluglobus Quote Builder. Every rule is scoped to .agqb so the theme and Elementor are untouched. */
.agqb {
	--agqb-ink: #161616;
	--agqb-charcoal: #222222;
	--agqb-muted: #5a5a5a;
	--agqb-line: #dcdcda;
	--agqb-soft: #f5f5f4;
	--agqb-bg: #ffffff;
	--agqb-orange: #e8501a;
	--agqb-orange-dark: #c2410c;
	--agqb-orange-text: #b23c0a;
	--agqb-review-bg: #fff4ee;
	--agqb-review-text: #9a3b0c;
	--agqb-ok-bg: #eef8f1;
	--agqb-ok-text: #1f6f43;
	--agqb-warn-bg: #fff8e6;
	--agqb-warn-text: #8a5a00;
	--agqb-radius: 10px;
	--agqb-focus: 0 0 0 3px #ffffff, 0 0 0 5px var(--agqb-orange);
	position: relative;
	color: var(--agqb-ink);
	background: var(--agqb-bg);
	font-size: 16px;
	line-height: 1.5;
	max-width: 1280px;
	margin: 0 auto;
	padding: 16px;
	-webkit-text-size-adjust: 100%;
}
.agqb *, .agqb *::before, .agqb *::after { box-sizing: border-box; }
.agqb img { max-width: 100%; height: auto; display: block; }
.agqb h2, .agqb h3, .agqb h4 { color: var(--agqb-ink); font-weight: 700; line-height: 1.2; margin: 0 0 8px; letter-spacing: 0; text-transform: none; }
.agqb h3 { font-size: clamp(22px, 3vw, 28px); }
.agqb h3:focus, .agqb h3:focus-visible { outline: none; box-shadow: none; }
.agqb p { margin: 0 0 12px; }
.agqb ul { margin: 0; padding: 0; }
.agqb a { color: var(--agqb-orange-text); }
.agqb a.agqb-btn--primary, .agqb a.agqb-btn--dark { color: #fff; }
.agqb a.agqb-btn--ghost { color: var(--agqb-ink); }
.agqb :focus-visible { outline: none; box-shadow: var(--agqb-focus); border-radius: 4px; }
.agqb-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.agqb-muted { color: var(--agqb-muted); }
.agqb-lead { font-size: 17px; color: var(--agqb-muted); max-width: 70ch; }
.agqb-note, .agqb-help { font-size: 14px; color: var(--agqb-muted); margin: 6px 0 12px; }
.agqb-fineprint { font-size: 13px; color: var(--agqb-muted); margin-top: 16px; }
.agqb-boot { padding: 48px 16px; text-align: center; color: var(--agqb-muted); }
.agqb-boot__title { font-size: 22px; font-weight: 700; color: var(--agqb-ink); }

/* Header and progress */
.agqb-head { background: var(--agqb-charcoal); color: #fff; border-radius: var(--agqb-radius); padding: 20px; border-bottom: 4px solid var(--agqb-orange); margin-bottom: 20px; }
.agqb-head__eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: #f3b89f; margin: 0 0 4px; }
.agqb .agqb-head__title { color: #fff; font-size: clamp(22px, 3.2vw, 32px); margin-bottom: 16px; }
.agqb-progress { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0; padding: 0; counter-reset: none; }
.agqb-progress li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13px; color: #bdbdbd; border-top: 4px solid #4a4a4a; padding-top: 8px; }
.agqb-progress li.is-done { border-top-color: #f3b89f; color: #e8e8e8; }
.agqb-progress li.is-current { border-top-color: var(--agqb-orange); color: #fff; font-weight: 700; }
.agqb-progress__n { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: #3a3a3a; font-size: 12px; font-weight: 700; }
.agqb-progress li.is-current .agqb-progress__n { background: var(--agqb-orange-dark); }
@media (max-width: 599px) {
	.agqb-progress__l { display: none; }
	.agqb-progress li.is-current .agqb-progress__l { display: inline; position: absolute; left: 20px; right: 20px; bottom: 12px; text-align: left; }
	.agqb-head { position: relative; padding-bottom: 40px; }
}

/* Layout */
.agqb-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .agqb-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.agqb-main { min-width: 0; outline: none; }
.agqb-step { display: block; }
.agqb-subhead { font-size: 18px; margin: 24px 0 8px !important; }

/* Buttons */
.agqb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 10px 18px; border-radius: 8px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.agqb-btn:disabled { opacity: .55; cursor: not-allowed; }
.agqb-btn--primary { background: var(--agqb-orange-dark); color: #fff; }
.agqb-btn--primary:hover:not(:disabled) { background: #a3370a; color: #fff; }
.agqb-btn--dark { background: var(--agqb-charcoal); color: #fff; }
.agqb-btn--dark:hover { background: #000; color: #fff; }
.agqb-btn--ghost { background: #fff; color: var(--agqb-ink); border-color: var(--agqb-line); }
.agqb-btn--ghost:hover:not(:disabled) { border-color: var(--agqb-ink); }
.agqb-btn--sm { min-height: 44px; padding: 6px 12px; font-size: 14px; }
.agqb-btn--block { width: 100%; margin-top: 12px; }
.agqb-link, .agqb-helplink { background: none; border: 0; padding: 4px 0; min-height: 32px; font: inherit; font-size: 14px; color: var(--agqb-orange-text); text-decoration: underline; cursor: pointer; text-align: left; }
.agqb-helplink { font-weight: 600; margin-left: 6px; }
.agqb-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--agqb-line); }
.agqb-nav__right { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.agqb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }

/* Cards */
.agqb-grid { list-style: none; display: grid; gap: 16px; margin: 16px 0; padding: 0; }
.agqb-grid--types { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.agqb-grid--systems { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.agqb-grid--cats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.agqb-grid--products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.agqb-grid > li { min-width: 0; }
.agqb-card { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; background: #fff; border: 2px solid var(--agqb-line); border-radius: var(--agqb-radius); padding: 0; overflow: hidden; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, transform .15s; }
.agqb-card:hover { border-color: var(--agqb-ink); }
.agqb-card__media { display: block; background: var(--agqb-soft); aspect-ratio: 4 / 3; overflow: hidden; }
.agqb-card__img { width: 100%; height: 100%; object-fit: contain; }
.agqb-card__title { display: block; font-weight: 700; font-size: 18px; padding: 12px 14px 4px; }
.agqb-card__text { display: block; font-size: 14px; color: var(--agqb-muted); padding: 0 14px 14px; }

.agqb-syscard { position: relative; display: flex; flex-direction: column; border: 2px solid var(--agqb-line); border-radius: var(--agqb-radius); overflow: hidden; cursor: pointer; background: #fff; height: 100%; }
.agqb-syscard input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agqb-syscard:hover { border-color: var(--agqb-ink); }
.agqb-syscard:has(input:checked) { border-color: var(--agqb-orange); box-shadow: 0 0 0 2px var(--agqb-orange); }
.agqb-syscard:has(input:focus-visible) { box-shadow: var(--agqb-focus); }
.agqb-syscard__media { display: block; aspect-ratio: 4 / 3; background: var(--agqb-soft); }
.agqb-syscard__media img { width: 100%; height: 100%; object-fit: contain; }
.agqb-syscard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.agqb-syscard__title { font-weight: 700; font-size: 18px; }
.agqb-syscard ul { list-style: disc; padding-left: 18px; font-size: 14px; color: var(--agqb-muted); }
.agqb-syscard__detail { font-size: 13px; color: var(--agqb-muted); }
.agqb-syscard__select { margin-top: auto; align-self: flex-start; padding: 8px 14px; border-radius: 6px; border: 2px solid var(--agqb-line); font-weight: 700; font-size: 14px; }
.agqb-syscard:has(input:checked) .agqb-syscard__select { background: var(--agqb-orange-dark); border-color: var(--agqb-orange-dark); color: #fff; }
.agqb-syscard:has(input:checked) .agqb-syscard__select::before { content: "Selected"; }
.agqb-syscard:has(input:checked) .agqb-syscard__select { font-size: 0; }
.agqb-syscard:has(input:checked) .agqb-syscard__select::before { font-size: 14px; }
.agqb-price { font-size: 20px; font-weight: 800; color: var(--agqb-ink); }
.agqb-price__note { font-size: 13px; color: var(--agqb-muted); font-weight: 400; }
.agqb-price__example { display: block; font-size: 12px; line-height: 1.4; color: var(--agqb-muted); font-weight: 400; margin-top: 2px; }

/* Badges and alerts */
.agqb-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.agqb-badge { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.3; padding: 3px 8px; border-radius: 999px; background: var(--agqb-soft); color: var(--agqb-ink); border: 1px solid var(--agqb-line); white-space: normal; }
.agqb-badge--ok { background: var(--agqb-ok-bg); color: var(--agqb-ok-text); border-color: #bfe3cc; }
.agqb-badge--soon { background: var(--agqb-warn-bg); color: var(--agqb-warn-text); border-color: #f1d99a; }
.agqb-badge--review { background: var(--agqb-review-bg); color: var(--agqb-review-text); border-color: #f3c8b3; }
.agqb-badge--req { background: var(--agqb-charcoal); color: #fff; border-color: var(--agqb-charcoal); }
.agqb-badge--rec { background: #fff; color: var(--agqb-orange-text); border-color: var(--agqb-orange); }
.agqb-badge--opt { background: #fff; color: var(--agqb-muted); }
.agqb-badge--inc { background: var(--agqb-ok-bg); color: var(--agqb-ok-text); border-color: #bfe3cc; }
.agqb-alert { border-radius: 8px; padding: 12px 14px; margin: 12px 0; border-left: 5px solid var(--agqb-line); background: var(--agqb-soft); font-size: 15px; }
.agqb-alert p:last-child, .agqb-alert ul:last-child { margin-bottom: 0; }
.agqb-alert ul { padding-left: 18px; list-style: disc; }
.agqb-alert--error { background: #fdecec; border-color: #b42318; color: #7a1b12; }
.agqb-alert--review { background: var(--agqb-review-bg); border-color: var(--agqb-orange); color: #5b2408; }
.agqb-alert--warn { background: var(--agqb-warn-bg); border-color: #d99a00; color: #5c3d00; }
.agqb-alert--tip { background: #f1f1f0; border-color: var(--agqb-charcoal); }
.agqb-alert--ok { background: var(--agqb-ok-bg); border-color: #2f8a57; color: #174b2e; }
.agqb-alert--info { background: #f3f6f9; border-color: #6b7c8f; }
.agqb-loading { padding: 16px; color: var(--agqb-muted); }
.agqb.is-busy .agqb-main { opacity: .7; pointer-events: none; }

/* Forms */
.agqb-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px 16px; margin: 12px 0; }
.agqb-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.agqb-field--wide { grid-column: 1 / -1; }
.agqb label, .agqb legend { font-weight: 600; font-size: 15px; color: var(--agqb-ink); }
.agqb input[type="text"], .agqb input[type="email"], .agqb input[type="tel"], .agqb input[type="number"], .agqb input[type="search"], .agqb select, .agqb textarea {
	width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--agqb-ink); background: #fff; border: 2px solid #9b9b99; border-radius: 8px; box-shadow: none; margin: 0;
}
.agqb textarea { min-height: 110px; resize: vertical; }
.agqb input:focus, .agqb select:focus, .agqb textarea:focus { outline: none; border-color: var(--agqb-ink); box-shadow: var(--agqb-focus); }
.agqb [aria-invalid="true"] { border-color: #b42318 !important; }
.agqb-error { color: #b42318; font-size: 14px; font-weight: 600; margin: 2px 0 0; }
.agqb-req { color: #b42318; }
.agqb fieldset { border: 0; padding: 0; margin: 16px 0; min-width: 0; }
.agqb legend { padding: 0; margin-bottom: 8px; }
.agqb-choice__list { display: flex; flex-wrap: wrap; gap: 10px; }
.agqb-radio { position: relative; display: flex; cursor: pointer; font-weight: 400; }
.agqb-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agqb-radio__box { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: 10px 14px; border: 2px solid var(--agqb-line); border-radius: 8px; background: #fff; }
.agqb-radio input:checked + .agqb-radio__box { border-color: var(--agqb-orange); box-shadow: 0 0 0 1px var(--agqb-orange); background: #fffaf7; }
.agqb-radio input:focus-visible + .agqb-radio__box { box-shadow: var(--agqb-focus); }
.agqb-radio:hover .agqb-radio__box { border-color: var(--agqb-ink); }
.agqb-radio.is-disabled { cursor: not-allowed; }
.agqb-radio.is-disabled .agqb-radio__box { background: var(--agqb-soft); color: var(--agqb-muted); border-style: dashed; }
.agqb-radio__label { font-weight: 700; font-size: 15px; }
.agqb-radio__sub { font-size: 13px; color: var(--agqb-muted); font-weight: 400; }
.agqb-radio__media { color: var(--agqb-charcoal); }
.agqb-radio__media svg { width: 110px; height: auto; display: block; }
.agqb-choice--cards .agqb-choice__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.agqb-choice--cards .agqb-radio__box { height: 100%; width: 100%; }
.agqb-radio__img { width: 72px; height: 72px; object-fit: contain; background: var(--agqb-soft); border-radius: 6px; }
.agqb-choice--swatch .agqb-radio__box { flex-direction: row; align-items: center; gap: 10px; }
.agqb-swatch { display: inline-block; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .25); }
.agqb-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; margin: 10px 0; cursor: pointer; }
.agqb-check input { width: 22px; height: 22px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--agqb-orange-dark); }
.agqb-check label { font-weight: 600; }
.agqb-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.agqb-stepper { display: inline-flex; align-items: stretch; border: 2px solid #9b9b99; border-radius: 8px; overflow: hidden; background: #fff; }
.agqb-stepper__btn { width: 44px; min-height: 44px; border: 0; background: var(--agqb-soft); font-size: 22px; font-weight: 700; cursor: pointer; color: var(--agqb-ink); }
.agqb-stepper__btn:hover { background: #e7e7e5; }
.agqb .agqb-stepper input { width: 72px; min-height: 44px; border: 0; border-radius: 0; text-align: center; -moz-appearance: textfield; }
.agqb .agqb-stepper input::-webkit-inner-spin-button, .agqb .agqb-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.agqb-run { margin-bottom: 10px; }
.agqb-run__row { display: flex; gap: 8px; align-items: center; }
.agqb-run__row input { flex: 1; min-width: 0; }
.agqb-split { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media (min-width: 760px) { .agqb-split { grid-template-columns: minmax(0, 1fr) 280px; } }
.agqb-diagram { margin: 0; padding: 16px; background: var(--agqb-soft); border-radius: var(--agqb-radius); color: var(--agqb-charcoal); }
.agqb-diagram svg { width: 100%; height: auto; }
.agqb-diagram figcaption { font-size: 13px; color: var(--agqb-muted); margin-top: 8px; }
.agqb-title-field { max-width: 420px; }

/* Compare */
.agqb-compare, .agqb-explain { margin: 16px 0; border: 1px solid var(--agqb-line); border-radius: 8px; padding: 0 14px; background: #fff; }
.agqb-compare summary, .agqb-explain summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.agqb-explain ul { list-style: disc; padding: 0 0 12px 20px; font-size: 14px; color: var(--agqb-muted); }
.agqb-tablewrap { overflow-x: auto; margin: 0 0 12px; }
.agqb-tablewrap table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.agqb-tablewrap th, .agqb-tablewrap td { text-align: left; padding: 8px; border-bottom: 1px solid var(--agqb-line); vertical-align: top; }
.agqb-tablewrap thead th { background: var(--agqb-soft); }

/* Lines */
.agqb-lines { border: 1px solid var(--agqb-line); border-radius: 8px; overflow: hidden; margin: 8px 0; }
.agqb-lines__head { display: none; }
.agqb-line { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 12px; padding: 12px; border-top: 1px solid var(--agqb-line); background: #fff; }
.agqb-line:first-of-type { border-top: 0; }
.agqb-line__item { grid-column: 1 / -1; display: flex; gap: 12px; min-width: 0; }
.agqb-line__img { flex: 0 0 64px; }
.agqb-thumb { width: 64px; height: 64px; object-fit: contain; background: var(--agqb-soft); border-radius: 6px; }
.agqb-line__name { display: block; font-weight: 700; }
.agqb-line__name .agqb-link { font-size: 15px; color: var(--agqb-ink); font-weight: 700; display: inline-block; padding: 11px 0; margin: -11px 0; min-height: 44px; }
.agqb-line__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--agqb-muted); margin-top: 4px; }
.agqb-line__note { display: block; font-size: 13px; color: var(--agqb-muted); margin-top: 4px; }
.agqb-line__note--warn { color: var(--agqb-review-text); }
.agqb-line__qty, .agqb-line__unit, .agqb-line__total { font-size: 15px; }
.agqb-line__total { text-align: right; }
.agqb-mlabel { color: var(--agqb-muted); font-size: 12px; display: block; }
@media (min-width: 700px) {
	.agqb-lines__head { display: grid; grid-template-columns: minmax(0, 1fr) 80px 110px 120px; gap: 12px; padding: 8px 12px; background: var(--agqb-soft); font-size: 13px; font-weight: 700; color: var(--agqb-muted); }
	.agqb-lines__head span:nth-child(n+2) { text-align: right; }
	.agqb-line { grid-template-columns: minmax(0, 1fr) 80px 110px 120px; align-items: start; }
	.agqb-line__item { grid-column: auto; }
	.agqb-line__qty, .agqb-line__unit { text-align: right; }
	.agqb-mlabel { display: none; }
	.agqb-line:first-of-type { border-top: 1px solid var(--agqb-line); }
}
.agqb-subtotal { text-align: right; font-size: 16px; margin: 8px 0 0; }

/* Add-ons */
.agqb-addons { list-style: none; display: grid; gap: 10px; }
.agqb-addon { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px 12px; padding: 12px; border: 1px solid var(--agqb-line); border-radius: 8px; background: #fff; }
.agqb-addon.is-included { background: var(--agqb-ok-bg); }
.agqb-addon__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.agqb-addon__main .agqb-check { margin: 0; }
.agqb-addon__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.agqb-addon__note { font-size: 13px; color: var(--agqb-muted); }
.agqb-addon__links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.agqb-addon__links .agqb-link, .agqb-pcard .agqb-link { min-height: 44px; display: inline-flex; align-items: center; }
.agqb-addon__qty { grid-column: 2; }
@media (min-width: 700px) {
	.agqb-addon { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; }
	.agqb-addon__qty { grid-column: 3; }
}
.agqb-included ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.agqb-included li { background: var(--agqb-ok-bg); color: var(--agqb-ok-text); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.agqb-included li::before { content: "\2713  "; }

/* Parts */
.agqb-parts-toolbar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; margin: 12px 0; }
.agqb-pcard { display: flex; flex-direction: column; border: 1px solid var(--agqb-line); border-radius: var(--agqb-radius); overflow: hidden; background: #fff; height: 100%; }
.agqb-pcard__media { display: block; border: 0; padding: 0; background: var(--agqb-soft); aspect-ratio: 1 / 1; cursor: zoom-in; width: 100%; }
.agqb-pcard__media img { width: 100%; height: 100%; object-fit: contain; }
.agqb-pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 12px; flex: 1; }
.agqb-pcard__title { font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.agqb-pcard__usage { font-size: 13px; color: var(--agqb-muted); margin: 0; }
.agqb-pcard__add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; padding-top: 8px; }
.agqb-pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 16px 0; }

/* Review */
.agqb-sys { border: 1px solid var(--agqb-line); border-radius: var(--agqb-radius); padding: 16px; margin: 16px 0; background: #fff; }
.agqb-sys__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; border-left: 4px solid var(--agqb-orange); padding-left: 12px; }
.agqb-sys__head h4 { font-size: 20px; margin: 0; }
.agqb-sys__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.agqb-review-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
@media (min-width: 760px) { .agqb-review-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.agqb-totals { margin: 0; border: 2px solid var(--agqb-charcoal); border-radius: var(--agqb-radius); overflow: hidden; }
.agqb-totals__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--agqb-line); }
.agqb-totals dt { color: var(--agqb-muted); font-size: 15px; }
.agqb-totals dd { margin: 0; text-align: right; font-weight: 600; white-space: nowrap; }
.agqb-totals__row.is-discount dd { color: var(--agqb-ok-text); }
.agqb-totals__row.is-review dt, .agqb-totals__row.is-review dd { color: var(--agqb-review-text); }
.agqb-totals__row.is-total { background: var(--agqb-charcoal); border-bottom: 0; }
.agqb-totals__row.is-total dt, .agqb-totals__row.is-total dd { color: #fff; font-size: 18px; }
.agqb-disclaimer { font-size: 13px; color: var(--agqb-muted); border-top: 1px solid var(--agqb-line); padding-top: 12px; margin-top: 20px; max-width: 90ch; }
.agqb-uploads input[type="file"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agqb-uploads input[type="file"]:focus-visible + label { box-shadow: var(--agqb-focus); }
.agqb-filelist { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.agqb-filelist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 10px; background: var(--agqb-soft); border-radius: 6px; overflow-wrap: anywhere; }
.agqb-copy { display: flex; gap: 8px; margin: 8px 0 16px; }
.agqb-copy input { flex: 1; min-width: 0; }

/* Cart */
.agqb-cart { background: #fff; border: 1px solid var(--agqb-line); border-radius: var(--agqb-radius); padding: 16px; }
.agqb-cart__head { display: flex; justify-content: space-between; align-items: center; }
.agqb-cart__head h3 { font-size: 20px; margin: 0; }
.agqb-cart__close { display: none; }
.agqb-cart__list { list-style: none; margin: 12px 0; }
.agqb-cart__list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--agqb-line); font-size: 15px; }
.agqb-cart__list li.is-draft { color: var(--agqb-muted); }
.agqb-cart__totals { margin: 12px 0 0; }
.agqb-cart__totals div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15px; }
.agqb-cart__totals dt { color: var(--agqb-muted); }
.agqb-cart__totals dd { margin: 0; text-align: right; }
.agqb-cart__totals .is-total { border-top: 2px solid var(--agqb-charcoal); margin-top: 6px; padding-top: 8px; font-weight: 800; font-size: 18px; }
.agqb-cart__totals .is-total dt { color: var(--agqb-ink); }
.agqb-cart__note, .agqb-cart__help { font-size: 13px; color: var(--agqb-muted); margin-top: 8px; }
@media (min-width: 1000px) { .agqb-cart { position: sticky; top: 24px; } }
.agqb-mobilebar { display: none; }
@media (max-width: 999px) {
	.agqb-cart { position: fixed; z-index: 99990; left: 0; right: 0; bottom: 0; max-height: 80vh; overflow-y: auto; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 32px rgba(0, 0, 0, .25); transform: translateY(105%); transition: transform .25s ease; visibility: hidden; }
	.agqb.cart-open .agqb-cart { transform: none; visibility: visible; }
	.agqb-cart__close { display: inline-flex; }
	.agqb-mobilebar { display: block; position: fixed; z-index: 99980; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--agqb-line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .12); }
	.agqb-mobilebar__btn { width: 100%; justify-content: space-between; }
	.agqb { padding-bottom: 96px; }
}

/* Modal and toast */
.agqb-modal { border: 0; border-radius: 14px; padding: 0; max-width: min(860px, calc(100vw - 24px)); width: 100%; max-height: calc(100vh - 32px); color: var(--agqb-ink); }
.agqb-modal::backdrop { background: rgba(0, 0, 0, .55); }
.agqb-modal[open]:not(:modal) { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 99999; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.agqb-modal__inner { position: relative; padding: 24px; overflow-y: auto; max-height: calc(100vh - 32px); }
.agqb-modal__x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: var(--agqb-soft); border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; color: var(--agqb-ink); }
.agqb-modal h3 { padding-right: 48px; }
.agqb-pdetail { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .agqb-pdetail { grid-template-columns: 320px minmax(0, 1fr); } }
.agqb-pdetail__img { width: 100%; background: var(--agqb-soft); border-radius: 8px; aspect-ratio: 1 / 1; object-fit: contain; }
.agqb-pdetail__tech { width: 50%; margin-top: 8px; border: 1px solid var(--agqb-line); border-radius: 6px; }
.agqb-pdetail ul { list-style: disc; padding-left: 18px; }
.agqb-specs { margin: 12px 0; display: grid; gap: 0; }
.agqb-specs div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--agqb-line); font-size: 14px; }
.agqb-specs dt { color: var(--agqb-muted); }
.agqb-specs dd { margin: 0; overflow-wrap: anywhere; }
.agqb-toast { position: fixed; z-index: 100000; left: 50%; bottom: 96px; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 8px; background: var(--agqb-charcoal); color: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .3); font-weight: 600; transition: opacity .3s; }
.agqb-toast--error { background: #8f1d14; }
.agqb-toast--ok { background: #1f6f43; }
.agqb-toast.is-out { opacity: 0; }
.agqb-done h3 { color: var(--agqb-ok-text); }

@media (prefers-reduced-motion: reduce) {
	.agqb *, .agqb *::before, .agqb *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Print: only the quote summary. */
@media print {
	body * { visibility: hidden !important; }
	.agqb, .agqb .agqb-main, .agqb .agqb-main * { visibility: visible !important; }
	.agqb { position: absolute; left: 0; top: 0; width: 100%; padding: 0; }
	.agqb-cart, .agqb-mobilebar, .agqb-nav, .agqb-sys__actions, .agqb-actions, .agqb [data-action="add-system"], .agqb [data-action="print"], .agqb-review-grid > div:first-child, .agqb-progress, .agqb-toast, .agqb-modal { display: none !important; }
	.agqb-head { background: #fff !important; color: #000 !important; border: 0; border-bottom: 3px solid #000; }
	.agqb .agqb-head__title, .agqb-head__eyebrow { color: #000 !important; }
	.agqb-review-grid { grid-template-columns: 1fr !important; }
	.agqb-sys, .agqb-line { break-inside: avoid; }
	.agqb-totals__row.is-total { background: #fff !important; }
	.agqb-totals__row.is-total dt, .agqb-totals__row.is-total dd { color: #000 !important; }
}
