/* QBS Core 0.26.2 */
/* QBS Core: plan page blocks (see includes/class-qbs-plan-blocks.php).
   Colors and fonts follow the QBS Design Standard / Elementor kit. */

/* An empty block's marker ([qbs_block name up=N]) hides the N containers around it. */
html body :has(> [data-qbs-up="1"]), html body :has(> * > [data-qbs-up="2"]), html body :has(> * > * > [data-qbs-up="3"]) { display: none !important; }

/* ---------- Gallery ---------- */
html body .qbs-gallery { display: flex; flex-direction: column; gap: 12px; width: 100%; }
html body .qbs-gallery a { display: block; position: relative; overflow: hidden; background: #EBEBEB; }
/* Positioned to fill the 16:9 frame (most QBS photos are 16:9 with the logo bottom-right); beats Elementor's ".elementor img { height: auto }". */
html body .qbs-gallery .qbs-gallery__main img, html body .qbs-gallery .qbs-gallery__thumb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: left bottom; transform-origin: left bottom; transition: transform .4s ease; }
html body .qbs-gallery a:hover img { transform: scale(1.03); }
html body .qbs-gallery a:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
html body .qbs-gallery__main { aspect-ratio: 16 / 9; }
html body .qbs-gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
html body .qbs-gallery__thumb { aspect-ratio: 16 / 9; }
html body .qbs-gallery__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.72); color: #fff; font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: clamp(0.8125rem, 3.4vw, 1.125rem); line-height: 1.1; text-align: center; padding: 4px; }

/* ---------- Lightbox ---------- */
/* 0.32.0: a native <dialog>; the browser's top layer replaces z-index and body scroll locking. */
html body dialog.qbs-lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; background: rgba(0,0,0,.94); color: #fff; padding: 56px 64px; box-sizing: border-box; overscroll-behavior: contain; }
html body dialog.qbs-lightbox[open] { display: flex; align-items: center; justify-content: center; }
html body dialog.qbs-lightbox::backdrop { background: rgba(0,0,0,.94); overflow: hidden; overscroll-behavior: contain; }
html body .qbs-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 0 40px rgba(0,0,0,.5); background: #fff; }
html body .qbs-lightbox button, html body .qbs-lightbox button:focus { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
html body .qbs-lightbox button:hover { background: #D30808; color: #fff; }
html body .qbs-lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
html body .qbs-lightbox__close { top: 12px; right: 12px; }
html body .qbs-lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
html body .qbs-lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
html body .qbs-lightbox__count { position: absolute; top: 22px; left: 20px; color: #fff; font: 700 0.9375rem/1 "Roboto Condensed", sans-serif; letter-spacing: 1px; }
html body .qbs-lightbox--single .qbs-lightbox__prev, html body .qbs-lightbox--single .qbs-lightbox__next, html body .qbs-lightbox--single .qbs-lightbox__count { display: none; }
@media (max-width: 767px) {
	html body .qbs-lightbox { padding: 64px 0; }
	html body .qbs-lightbox__prev, html body .qbs-lightbox__next { top: auto; bottom: 8px; transform: none; }
}

/* ---------- Stats ---------- */
html body .qbs-stats { display: flex; flex-wrap: wrap; margin: 0; padding: 16px 0; border-top: 2px solid #000; border-bottom: 1px solid #E0E0E0; }
html body .qbs-stats__item { flex: 1 1 0; min-width: 80px; display: flex; flex-direction: column-reverse; }
html body .qbs-stats__item--text { flex-basis: 100%; }
html body .qbs-stats dt { font-size: 0.8125rem; line-height: 1.4; color: #2B2B2B; }
html body .qbs-stats dd { margin: 0; font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: 1.875rem; line-height: 1.1; color: #000; }
html body .qbs-stats__item--text dd { font-size: 1.25rem; }

/* ---------- Build levels / prices ---------- */
html body .qbs-levels { display: flex; flex-direction: column; gap: 10px; }
html body .qbs-levels__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body .qbs-level { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 68px; padding: 12px 18px; border: 1px solid #BDBDBD; background: #fff; box-sizing: border-box; }
html body .qbs-level__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body .qbs-level__name { font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: 1.125rem; letter-spacing: .5px; text-transform: uppercase; color: #000; }
html body .qbs-level__desc { font-size: 0.875rem; line-height: 1.4; color: #444551; }
html body .qbs-level__price { flex-shrink: 0; font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: 1.625rem; line-height: 1.1; color: #000; }
html body .qbs-levels__call { margin: 0; font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: 1.625rem; color: #000; }
html body .qbs-levels__note { margin: 0; font-size: 0.875rem; line-height: 1.5; color: #444551; }

/* ---------- Spec list (plan description) ---------- */
html body .qbs-specs { font-size: 1rem; line-height: 1.5; }
html body .qbs-specs ul { list-style: none; margin: 0; padding: 0; columns: 2 260px; column-gap: 40px; }
html body .qbs-specs li { break-inside: avoid; display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid #E0E0E0; font-family: "Roboto Condensed", sans-serif; font-size: 1rem; letter-spacing: .3px; color: #000; }
html body .qbs-specs li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: 7px; background: #D30808; }
html body .qbs-specs p { margin: 0 0 14px; }
html body .qbs-specs p strong, html body .qbs-specs p em { font-style: normal; }

/* ---------- Floor plan ---------- */
html body .qbs-floorplan { display: block; position: relative; border: 2px solid #000; background: #fff; }
html body .qbs-floorplan img { display: block; width: 100%; height: auto; }
html body .qbs-floorplan__zoom { position: absolute; right: 0; bottom: 0; padding: 8px 14px; background: #000; color: #fff; font: 700 0.8125rem/1 "Roboto Condensed", sans-serif; letter-spacing: 1px; text-transform: uppercase; }
html body .qbs-floorplan:hover .qbs-floorplan__zoom { background: #D30808; }

/* ---------- Buttons rendered by blocks ---------- */
html body .qbs-plan-btn, html body .qbs-plan-btn:visited { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 30px; box-sizing: border-box; border: 2px solid #2B2B2B; border-radius: 0; background: #fff; color: #2B2B2B; font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 1.22px; text-transform: uppercase; text-decoration: none; transition: background-color .25s, color .25s; }
html body .qbs-plan-btn:hover, html body .qbs-plan-btn:focus { background: #2B2B2B; color: #fff; }

/* ---------- Upgrades ---------- */
html body .qbs-upgrade-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
html body .qbs-upgrade { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 120px; padding: 22px; background: #fff; border: 1px solid #E0E0E0; box-sizing: border-box; }
html body .qbs-upgrade__label { font-weight: 700; font-size: 1rem; line-height: 1.35; color: #000; }
html body .qbs-upgrade__note { display: block; font-weight: 400; font-size: 0.875rem; color: #444551; }
html body .qbs-upgrade__price { font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: 1.75rem; line-height: 1; color: #000; }

/* ---------- Notes / fine print ---------- */
html body .qbs-notes { font-size: 0.9375rem; line-height: 1.55; }
html body .qbs-notes ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 40px; }
html body .qbs-notes li { padding: 10px 0 10px 22px; border-bottom: 1px solid #CCD6DF; position: relative; font-family: "Roboto Condensed", sans-serif; letter-spacing: .3px; }
html body .qbs-notes li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 2px; background: #D30808; }
html body .qbs-notes p { margin: 12px 0 0; }

/* ---------- 0.11.0: plan page extras ---------- */
html body .qbs-upgrades { display: flex; flex-direction: column; gap: 20px; }
html body .qbs-upgrade { position: relative; }
html body .qbs-upgrade:has(input:checked) { border: 2px solid #D30808; padding: 21px; }
html body .qbs-upgrade__label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
html body .qbs-upgrade__label input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: #D30808; cursor: pointer; }
html body .qbs-upgrade__label::after { content: ""; position: absolute; inset: 0; }
html body .qbs-upgrades__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
html body .qbs-upgrades__cta .qbs-plan-btn { width: auto; }
html body .qbs-upgrades__count { font-size: 0.9375rem; color: #444551; }
html body .qbs-plan-rating, html body .qbs-plan-rating:visited { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: #2B2B2B; text-decoration: none; }
html body .qbs-plan-rating:hover span { text-decoration: underline; }
html body .qbs-plan-rating .qbs-stars { font-size: 1.0625rem; }
html body .qbs-plan-rating .qbs-stars { position: relative; display: inline-block; width: 5.6em; height: 1.12em; line-height: 0; }
html body .qbs-plan-rating .qbs-stars svg { display: block; width: 5.6em; height: 1.12em; fill: #CCD6DF; }
html body .qbs-plan-rating .qbs-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
html body .qbs-plan-rating .qbs-stars__fill svg { fill: #D30808; }
html body .qbs-jump { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px; width: 100%; padding: 0 0 0 4px; background: #fff; border-bottom: 1px solid #E0E0E0; box-shadow: 0 6px 16px -14px rgba(0,0,0,.5); box-sizing: border-box; }
html body .qbs-jump { position: relative; padding-inline: max(16px, calc((100% - 1170px) / 2)); }
html body .qbs-jump--fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 9000; }
html body.admin-bar .qbs-jump--fixed { top: 32px; }
html body .qbs-jump ul { display: flex; flex: 1 1 auto; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
html body .qbs-jump li[hidden] { display: none; }
html body .qbs-jump ul a, html body .qbs-jump ul a:visited { display: flex; align-items: center; min-height: 56px; padding: 0 14px; border-bottom: 3px solid transparent; color: #000; font: 700 0.9375rem/1 "Roboto Condensed", sans-serif; letter-spacing: .8px; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
html body .qbs-jump ul a:hover { border-bottom-color: #D30808; color: #D30808; }
html body .qbs-jump__cta { width: auto; min-height: 44px; flex: 0 0 auto; }
html body .qbs-anchor { display: block; position: relative; top: -90px; visibility: hidden; }
html body .qbs-levels { overflow-x: auto; background: #fff; border: 1px solid #E0E0E0; }
html body .qbs-levels:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
html body .qbs-levels table { width: 100%; min-width: 620px; border-collapse: collapse; margin: 0; }
html body .qbs-levels th, html body .qbs-levels td { padding: 14px 16px; border: 0; border-bottom: 1px solid #E0E0E0; text-align: center; vertical-align: middle; font-size: 0.9375rem; background: none; }
html body .qbs-levels tbody th { text-align: left; font-weight: 600; color: #2B2B2B; }
html body .qbs-levels thead th { padding: 20px 16px; border-bottom: 2px solid #000; }
html body .qbs-levels__name { display: block; font: 700 1.125rem/1.1 "Roboto Condensed", sans-serif; color: #000; text-transform: uppercase; letter-spacing: .6px; }
html body .qbs-levels__price { display: block; margin-top: 6px; font: 700 1.375rem/1 "Roboto Condensed", sans-serif; color: #D30808; }
html body .qbs-levels td svg { width: 22px; height: 22px; fill: none; stroke: #D30808; stroke-width: 3; vertical-align: middle; }
html body .qbs-levels td.is-no { color: #8C8C8C; }
html body .qbs-levels tbody tr:nth-child(even) { background: #F7F7F7; }
html body .qbs-levels__note { margin: 12px 0 0; font-size: 0.875rem; color: #444551; }
html body .qbs-custom { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
html body .qbs-custom__item { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; background: #fff; border: 1px solid #E0E0E0; border-top: 4px solid #D30808; }
html body .qbs-custom__item h3 { margin: 0; font: 700 1.75rem/1.1 "Roboto Condensed", sans-serif; color: #000; }
html body .qbs-custom__item p { margin: 0; font-size: 1rem; line-height: 1.6; }
html body .qbs-custom__item .qbs-plan-btn { width: auto; margin-top: auto; }
html body .qbs-faq { display: flex; flex-direction: column; border-top: 2px solid #000; }
/* 0.24.3: in the plan page's FAQ row (notes box + accordion) each half takes 50% on desktop; the anchor span must not take a flex slot. */
html body .e-con > .qbs-faq { flex: 1 1 0; min-width: 0; }
html body .e-con > .qbs-anchor { position: absolute; }
@media (max-width: 767px) {
	html body .e-con > .qbs-faq { flex-basis: 100%; }
}
html body .qbs-faq__item { border-bottom: 1px solid #E0E0E0; }
html body .qbs-faq__item summary { position: relative; padding: 20px 48px 20px 0; cursor: pointer; list-style: none; font: 700 1.25rem/1.3 "Roboto Condensed", sans-serif; color: #000; }
html body .qbs-faq__item summary::-webkit-details-marker { display: none; }
html body .qbs-faq__item summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%) rotate(0deg); font-size: 1.75rem; color: #D30808; transition: transform .3s ease; }
html body .qbs-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
html body .qbs-faq__item.is-anim { overflow: hidden; }
html body .qbs-faq__item p { opacity: 1; transition: opacity .25s ease; }
html body .qbs-faq__item.is-closing p { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
	html body .qbs-faq__item summary::after, html body .qbs-faq__item p { transition: none; }
}
html body .qbs-faq__item summary:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
html body .qbs-faq__item p { margin: 0 0 20px; max-width: 760px; font-size: 1rem; line-height: 1.65; }
/* Lightbox caption (review photos) */
html body .qbs-lightbox__cap { position: absolute; left: 0; right: 0; bottom: 0; max-height: 34dvh; overflow-y: auto; padding: 18px 64px 22px; background: rgba(0,0,0,.82); color: #fff; font-size: 0.9375rem; line-height: 1.55; box-sizing: border-box; }
html body .qbs-lightbox__cap[hidden] { display: none; }
html body .qbs-lightbox__cap strong { font: 700 1.125rem/1.2 "Roboto Condensed", sans-serif; margin-right: 12px; }
html body .qbs-lightbox__meta { color: #D30808; letter-spacing: 1px; }
html body .qbs-lightbox__cap p { margin: 8px 0 0; max-width: 900px; color: #E0E0E0; }
html body .qbs-lightbox--cap { padding-bottom: 34dvh; }
@media (max-width: 767px) {
	html body .qbs-jump__cta { display: none; }
	html body.admin-bar .qbs-jump--fixed { top: 0; }
	html body .qbs-lightbox__cap { padding: 14px 20px 18px; }
}

/* =====================================================================
   0.20.0 plan page redesign: hero, photo mosaic, build level picker,
   compare chart, jump bar, upgrades rows, sticky price bar (phones).
   Breakpoint: 767px (Elementor "mobile").
   ===================================================================== */

/* ---------- Hero ---------- */
html body .qbs-phero { position: relative; width: 100%; background: #000 url(img/roof-faceted-charcoal.svg) center top / 180px 180px repeat; color: #fff; }
html body .qbs-phero__media { position: relative; max-width: 1170px; margin: 0 auto; width: 100%; aspect-ratio: 16 / 9; min-height: 320px; overflow: hidden; background: #000; box-sizing: border-box; }
/* 0.32.1: the hero is a scroll-snap carousel on every screen size, with buttons and markers (Modern Web Guidance "carousel"). */
html body .qbs-phero__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
html body .qbs-phero__track::-webkit-scrollbar { display: none; }
html body .qbs-phero__track:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
@media (prefers-reduced-motion: no-preference) { html body .qbs-phero__track { scroll-behavior: smooth; } }
html body .qbs-phero__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; display: block; position: relative; }
html body .qbs-phero__slide > a { display: block; position: absolute; inset: 0; }
html body .qbs-phero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: left bottom; display: block; }
html body .qbs-phero__slide > a:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
html body .qbs-phero__nav, html body .qbs-phero__nav:focus { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
html body .qbs-phero__nav--prev { left: 12px; }
html body .qbs-phero__nav--next { right: 12px; }
html body .qbs-phero__nav:hover { background: #D30808; }
html body .qbs-phero__nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
html body .qbs-phero__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0 60px; pointer-events: none; }
html body .qbs-phero__dots button, html body .qbs-phero__dots button:focus { pointer-events: auto; width: 18px; height: 4px; padding: 0; border: 0; border-radius: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .2s; }
html body .qbs-phero__dots button[aria-current="true"] { width: 34px; background: #fff; } /* Longer as well as brighter: not colour alone. */
html body .qbs-phero__dots button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
html body .qbs-phero__foot { position: absolute; left: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: min(60%, 560px); pointer-events: none; }
html body .qbs-phero__foot > * { pointer-events: auto; }
html body .qbs-phero__all, html body .qbs-phero__all:visited { position: static; padding: 9px 14px; background: rgba(0,0,0,.8); color: #fff; font: 700 0.875rem/1.2857 "Roboto Condensed", sans-serif; letter-spacing: .8px; text-transform: uppercase; text-decoration: none; }
html body .qbs-phero__all:hover, html body .qbs-phero__all:focus { background: #D30808; color: #fff; }
/* 0.25.22: a photo that shows upgrades the prices don't include says so on the photo. */
html body .qbs-phero__pictured { margin: 0; padding: 6px 10px; background: rgba(0,0,0,.82); color: #fff; font: 400 0.75rem/1.3333 "Roboto", sans-serif; text-align: left; box-sizing: border-box; }
html body .qbs-phero__pictured[hidden] { display: none; }
html body .qbs-gallery__main .qbs-phero__pictured { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); pointer-events: none; }
html body .qbs-photo-tag { position: absolute; top: 8px; left: 8px; padding: 4px 8px; background: rgba(0,0,0,.78); color: #fff; font: 700 0.6562rem/1.3333 "Roboto Condensed", sans-serif; letter-spacing: .6px; text-transform: uppercase; pointer-events: none; }
html body .qbs-gallery__thumb { position: relative; }
html body .qbs-phero__band { background: #000; color: #fff; }
html body .qbs-phero__in { max-width: 1170px; margin: 0 auto; padding: 48px 20px 80px; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
html body .qbs-phero__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
html body .qbs-phero__side { flex: 0 1 360px; min-width: 280px; display: flex; flex-direction: column; gap: 14px; }
html body .qbs-phero__crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 0.875rem; line-height: 1.7143; color: #EBEBEB; }
html body .qbs-phero__crumbs li { margin: 0; }
html body .qbs-phero__crumbs li + li::before { content: "/" / ""; margin-right: 8px; color: #EBEBEB; }
html body .qbs-phero__crumbs a[aria-current="page"] { text-decoration: none; cursor: default; }
html body .qbs-phero__crumbs a, html body .qbs-phero__crumbs a:visited { color: #EBEBEB; }
html body .qbs-phero__crumbs a:hover { color: #fff; }
html body .qbs-phero__eyebrow { display: none; margin: 0; font: 700 0.875rem/1.8571 "Roboto Condensed", sans-serif; letter-spacing: 1.22px; text-transform: uppercase; color: #D30808; }
html body .qbs-phero__title { margin: 0; font: 700 4.5rem/0.98 "Roboto Condensed", sans-serif; color: #fff; text-transform: none; letter-spacing: 0; text-wrap: balance; }
html body .qbs-phero__lead { margin: 0; max-width: 620px; font-size: 1.25rem; line-height: 1.5; color: #fff; }
html body .qbs-phero .qbs-plan-rating, html body .qbs-phero .qbs-plan-rating:visited { color: #fff; }
html body .qbs-phero .qbs-plan-rating .qbs-stars svg { fill: #444551; }
html body .qbs-phero .qbs-plan-rating .qbs-stars__fill svg { fill: #fff; }
html body .qbs-phero__stats { margin-top: 18px; padding: 0; border: 0; border-top: 1px solid #444551; gap: 0; }
html body .qbs-phero__stats .qbs-stats__item { flex: 0 0 auto; padding: 18px 32px 0 0; margin-right: 32px; border-right: 1px solid #444551; }
html body .qbs-phero__stats .qbs-stats__item:last-child { border-right: 0; margin-right: 0; }
html body .qbs-phero__stats dd { font-size: 2.25rem; color: #fff; }
html body .qbs-phero__stats dt { font-size: 0.875rem; line-height: 1.7143; color: #EBEBEB; }
html body .qbs-phero__from { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
html body .qbs-phero__from span { font-size: 0.875rem; line-height: 1.7143; color: #EBEBEB; }
html body .qbs-phero__from strong { font: 700 2.375rem/1.1053 "Roboto Condensed", sans-serif; color: #fff; }
html body .qbs-phero__note { margin: 0; font-size: 0.875rem; line-height: 1.5714; color: #EBEBEB; }
html body .qbs-phero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
html body .qbs-phero__btns .qbs-plan-btn { flex: 1 1 auto; width: auto; min-height: 52px; }
html body .qbs-phero--nophoto .qbs-phero__in { padding-top: 64px; }

/* ---------- Jump bar ---------- */
html body .qbs-jump ul a, html body .qbs-jump ul a:visited { text-transform: none; letter-spacing: .4px; color: #2B2B2B; min-height: 64px; }
html body .qbs-jump__price { flex: 0 0 auto; white-space: nowrap; font-size: 0.875rem; color: #444551; }
html body .qbs-jump__price strong { color: #000; }

/* ---------- Photo strip (replaced the mosaic in 0.23.0) ----------
   Full viewport width; drifts slowly sideways (plan-front.js) until the
   visitor hovers or scrolls it, so the overflow is discoverable. */
html body .qbs-strip { width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; }
html body .qbs-strip__track { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 20px; box-sizing: border-box; cursor: grab; }
html body .qbs-strip__track.is-drag { cursor: grabbing; user-select: none; }
html body .qbs-strip__pause, html body .qbs-strip__pause:focus { display: block; margin: 8px 20px 0 auto; min-height: 36px; padding: 0 12px; border: 1px solid #8C8C8C; border-radius: 0; background: #fff; color: #2B2B2B; font: 700 .75rem/1 "Roboto Condensed", sans-serif; letter-spacing: .8px; text-transform: uppercase; cursor: pointer; }
html body .qbs-strip__pause:hover { border-color: #000; color: #000; }
html body .qbs-strip__pause[hidden] { display: none; }
html body .qbs-strip__track::-webkit-scrollbar { display: none; }
html body .qbs-strip__item { margin: 0; flex: 0 0 auto; }
/* Few photos: auto side margins center the row; once it overflows they collapse to 0, so scrolling still starts at the first photo. */
html body .qbs-strip__item:first-child { margin-left: auto; }
html body .qbs-strip__item:last-child { margin-right: auto; }
html body .qbs-strip__item a { display: block; position: relative; width: 200px; aspect-ratio: 16 / 9; overflow: hidden; background: #EBEBEB; }
html body .qbs-strip__item img { -webkit-user-drag: none; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: left bottom; transform-origin: left bottom; transition: transform .4s ease; display: block; }
html body .qbs-strip__item a:hover img { transform: scale(1.03); }
html body .qbs-strip__item a:focus-visible { outline: 3px solid #000; outline-offset: -3px; }

/* ---------- Build level picker ---------- */
html body .qbs-pick { display: flex; flex-direction: column; gap: 20px; }
html body .qbs-pick__lead { margin: 0; max-width: 760px; font-size: 1.125rem; line-height: 1.5556; color: #444551; }
html body #qbs-pick { scroll-margin-top: 24px; }
html:has(.qbs-jump) { scroll-padding-top: 80px; } /* 0.32.0: jump-bar height + breathing room, so anchors and focused targets never land under it. */
html body .qbs-pick__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
html body .qbs-pick__opt { display: flex; flex-direction: column; gap: 18px; padding: 32px 24px; border: 1px solid #E0E0E0; background: #fff; color: #2B2B2B; box-sizing: border-box; transition: background-color .2s, color .2s, border-color .2s; }
html body .qbs-pick__opt.is-on { background: #000; border-color: #000; color: #fff; }
html body .qbs-pick .qbs-pick__btn, html body .qbs-pick .qbs-pick__btn:hover, html body .qbs-pick .qbs-pick__btn:focus { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; width: 100%; cursor: pointer; color: inherit; text-align: left; }
html body .qbs-pick .qbs-pick__btn:focus-visible { outline: 3px solid #D30808; outline-offset: 6px; }
html body .qbs-pick__box { display: none; }
html body .qbs-pick__text { display: contents; }
html body .qbs-pick__name { order: 1; font: 700 1.75rem/1.1071 "Roboto Condensed", sans-serif; color: inherit; }
html body .qbs-pick__price { order: 2; font: 700 2.375rem/1.1053 "Roboto Condensed", sans-serif; color: inherit; }
html body .qbs-pick__desc { order: 3; min-height: 78px; font-size: 1rem; line-height: 1.625; color: #444551; }
html body .qbs-pick__opt.is-on .qbs-pick__desc { color: #EBEBEB; }
html body .qbs-pick__inc { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid #E0E0E0; display: flex; flex-direction: column; gap: 10px; font-size: 0.9375rem; line-height: 1.4667; }
html body .qbs-pick__opt.is-on .qbs-pick__inc { border-top-color: #444551; }
html body .qbs-pick__inc li, html body .qbs-pick__detail li { display: flex; gap: 10px; }
html body .qbs-pick li svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: #D30808; stroke-width: 2.8; }
html body .qbs-pick__opt.is-on .qbs-pick__inc svg { stroke: #fff; }
html body .qbs-pick li.is-extra { color: #444551; }
html body .qbs-pick__opt.is-on li.is-extra { color: #CCD6DF; }
html body .qbs-pick__dash { flex: 0 0 18px; height: 18px; position: relative; }
html body .qbs-pick__dash::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: #8C8C8C; }
html body .qbs-pick__quote { margin-top: auto; }
html body .qbs-pick__opt.is-on .qbs-pick__quote { background: #D30808; border-color: #D30808; color: #fff; }
html body .qbs-pick__opt.is-on .qbs-pick__quote:hover, html body .qbs-pick__opt.is-on .qbs-pick__quote:focus { background: #fff; border-color: #fff; color: #000; }
html body .qbs-pick__detail, html body .qbs-pick__go { display: none; }
html body .qbs-pick__note { margin: 0; font-size: 0.875rem; line-height: 1.5714; color: #444551; }
html body .qbs-pick__group[hidden], html body .qbs-pick li[hidden] { display: none; }

/* ---------- Compare chart ---------- */
html body .qbs-compare-wrap { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
html body .qbs-compare-wrap__title { margin: 0; font: 700 1.75rem/1.1071 "Roboto Condensed", sans-serif; color: #000; text-transform: none; text-wrap: balance; }
html body .qbs-levels--compare { border: 0; border-bottom: 2px solid #000; background: none; }
html body .qbs-levels--compare tbody tr:nth-child(even) { background: none; }
html body .qbs-levels--compare thead th { text-align: center; vertical-align: bottom; }
html body .qbs-levels--compare thead th:first-child { text-align: left; font: 700 0.875rem/1.8571 "Roboto Condensed", sans-serif; letter-spacing: 1.22px; text-transform: uppercase; color: #444551; }
html body .qbs-levels--compare .qbs-levels__name { font-size: 1.25rem; text-transform: none; letter-spacing: 0; }
html body .qbs-levels--compare .qbs-levels__price { font-size: 1rem; color: #444551; }
html body .qbs-levels--compare tbody th { font-weight: 400; font-size: 1rem; }
html body .qbs-levels--compare td.is-extra { font-size: 0.8125rem; line-height: 1.3846; color: #444551; }
html body .qbs-levels__dash { display: inline-block; width: 14px; height: 2px; background: #BDBDBD; vertical-align: middle; }

/* ---------- Upgrades as rows ---------- */
html body .qbs-upgrades .qbs-upgrade-list { display: flex; flex-direction: column; gap: 0; border-top: 2px solid #000; }
html body .qbs-upgrades .qbs-upgrade { flex-direction: row; align-items: center; min-height: 0; padding: 20px 0; border: 0; border-bottom: 1px solid #E0E0E0; background: none; }
html body .qbs-upgrades .qbs-upgrade:has(input:checked) { border: 0; border-bottom: 1px solid #E0E0E0; padding: 20px 0; }
html body .qbs-upgrades .qbs-upgrade__label { flex: 1 1 auto; align-items: center; gap: 16px; }
html body .qbs-upgrades .qbs-upgrade__price { font-size: 1.25rem; }
html body .qbs-upgrades__cta { order: 2; }

/* ---------- Sticky price bar (phones only) ---------- */
html body .qbs-sticky { display: none; }

@media (max-width: 1024px) {
	html body .qbs-phero__title { font-size: 3.5rem; }
	html body .qbs-pick__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	/* Hero: swipeable photos, then a white title block. */
	html body .qbs-phero { background: #fff; color: #2B2B2B; }
	html body .qbs-phero__media { height: 320px; min-height: 0; }
	html body .qbs-phero__nav { width: 40px; height: 40px; }
	html body .qbs-phero__dots { padding: 0 12px; gap: 4px; }
	html body .qbs-phero__dots button { width: 10px; }
	html body .qbs-phero__dots button[aria-current="true"] { width: 22px; }
	html body .qbs-phero__foot { left: 12px; right: 12px; bottom: 28px; max-width: none; }
	html body .qbs-phero__all { padding: 8px 12px; font-size: 0.8125rem; }
	html body .qbs-phero__pictured { font-size: 0.7188rem; line-height: 1.3043; }
	html body .qbs-phero__band { background: #fff; color: #2B2B2B; border-bottom: 1px solid #E0E0E0; }
	html body .qbs-phero__in { padding: 32px 20px 20px; gap: 0; }
	html body .qbs-phero__main { flex-basis: 100%; gap: 10px; }
	html body .qbs-phero__crumbs, html body .qbs-phero__side, html body .qbs-phero__lead { display: none; }
	html body .qbs-phero__eyebrow { display: block; }
	html body .qbs-phero__title { font-size: 2.625rem; line-height: 0.9762; color: #000; }
	html body .qbs-phero .qbs-plan-rating, html body .qbs-phero .qbs-plan-rating:visited { color: #2B2B2B; }
	html body .qbs-phero .qbs-plan-rating .qbs-stars svg { fill: #CCD6DF; }
	html body .qbs-phero .qbs-plan-rating .qbs-stars__fill svg { fill: #D30808; }
	html body .qbs-phero__stats { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin: 6px -20px 0; padding: 0 20px 4px; border: 0; scrollbar-width: none; }
	html body .qbs-phero__stats .qbs-stats__item { flex: 0 0 auto; min-width: 0; flex-direction: row-reverse; justify-content: flex-end; gap: 5px; padding: 8px 14px; margin: 0; border: 1px solid #E0E0E0; }
	html body .qbs-phero__stats .qbs-stats__item:last-child { border-right: 1px solid #E0E0E0; }
	html body .qbs-phero__stats dd, html body .qbs-phero__stats dt { font: 700 0.9375rem/1.3333 "Roboto Condensed", sans-serif; color: #000; text-transform: lowercase; }

	/* Jump bar: not on phones (the sticky price bar takes its place). */
	html body .qbs-jump, html body .qbs-jump--fixed { display: none; }

	/* Photos: a swipeable rail with captions. */
	html body .qbs-strip__item a { width: 140px; }

	/* Build levels: stacked options + what comes in the picked one. */
	html body .qbs-pick { gap: 14px; }
	html body .qbs-pick__lead { font-size: 0.9375rem; line-height: 1.5333; }
	html body .qbs-pick__opts { display: flex; flex-direction: column; gap: 8px; }
	html body .qbs-pick__opt { padding: 0; border: 2px solid #C4C4C4; gap: 0; } /* 0.32.2: same width selected or not, so the list never shifts. */
	html body .qbs-pick__opt.is-on { border-color: #000; }
	html body .qbs-pick .qbs-pick__btn, html body .qbs-pick .qbs-pick__btn:hover, html body .qbs-pick .qbs-pick__btn:focus { flex-direction: row; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; }
	html body .qbs-pick .qbs-pick__btn:focus-visible { outline-offset: 2px; }
	html body .qbs-pick__box { display: flex; flex: 0 0 20px; height: 20px; border: 2px solid currentColor; box-sizing: border-box; align-items: center; justify-content: center; }
	html body .qbs-pick__opt.is-on .qbs-pick__box::after { content: ""; width: 10px; height: 10px; background: #fff; }
	html body .qbs-pick__text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
	html body .qbs-pick__name { font-size: 1.25rem; line-height: 1.2; }
	html body .qbs-pick__desc { min-height: 0; font-size: 0.8125rem; line-height: 1.4615; }
	html body .qbs-pick__price { flex: 0 0 auto; font-size: 1.375rem; line-height: 1.1818; }
	html body .qbs-pick__inc, html body .qbs-pick__quote { display: none; }
	html body .qbs-pick__detail { display: flex; flex-direction: column; margin-top: 8px; }
	html body .qbs-pick__dtitle { margin: 0 0 4px; font: 700 1.5rem/1.0833 "Roboto Condensed", sans-serif; color: #000; text-transform: none; }
	html body .qbs-pick__group { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid #E0E0E0; }
	html body .qbs-pick__gtitle { margin: 0; font: 700 0.875rem/1.8571 "Roboto Condensed", sans-serif; letter-spacing: 1.22px; text-transform: uppercase; color: #444551; }
	html body .qbs-pick__group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.9375rem; line-height: 1.4667; }
	html body .qbs-pick__go { display: flex; }
	html body .qbs-pick__note { font-size: 0.8125rem; line-height: 1.5385; }
	html body .qbs-compare-wrap { display: none; }

	/* Upgrades. */
	html body .qbs-upgrades .qbs-upgrade { padding: 14px 0; }
	html body .qbs-upgrades .qbs-upgrade:has(input:checked) { padding: 14px 0; }
	html body .qbs-upgrades .qbs-upgrade__price { font-size: 1.0625rem; }

	/* Sticky price bar. */
	html body .qbs-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8000; display: flex; align-items: center; gap: 12px; padding: 12px 20px; padding-bottom: max(12px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #E0E0E0; box-shadow: 0 -6px 16px -12px rgba(0,0,0,.35); color: #2B2B2B; }
	html body .qbs-sticky__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
	html body .qbs-sticky__lbl { font-size: 0.75rem; line-height: 1.3333; color: #444551; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	html body .qbs-sticky strong { font: 700 1.5rem/1.1667 "Roboto Condensed", sans-serif; color: #000; }
	html body .qbs-sticky__call { flex: 0 0 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 2px solid #000; box-sizing: border-box; color: #000; }
	html body .qbs-sticky__call svg { width: 22px; height: 22px; fill: currentColor; }
	html body .qbs-sticky__go { flex: 0 0 auto; width: auto; min-height: 52px; padding: 0 16px; }
	html body.qbs-has-sticky { padding-bottom: 77px; }
	html body:has(dialog.qbs-lightbox[open]) .qbs-sticky { display: none; }
}

/* ------------------------------------------------------------------
 * 0.22.0: the DIY route (Materials Kit + Interior Package add-on)
 * ---------------------------------------------------------------- */
html body .qbs-diy { border: 2px solid #000; margin-top: 28px; }
html body .qbs-diy__head { padding: 28px 32px 0; display: flex; flex-direction: column; gap: 6px; }
html body .qbs-diy__eyebrow { margin: 0; font: 700 0.875rem/1.8571 "Roboto Condensed", sans-serif; color: #D30808; letter-spacing: 1.22px; text-transform: uppercase; }
html body .qbs-diy__title { margin: 0; font: 700 1.75rem/1.1071 "Roboto Condensed", sans-serif; color: #000; text-transform: none; text-wrap: balance; }
html body .qbs-diy__lead { margin: 0; color: #444551; max-width: 720px; }
html body .qbs-diy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 330px; gap: 20px; padding: 22px 32px 28px; }
html body .qbs-diy__grid--one { grid-template-columns: minmax(0, 1fr); }
html body .qbs-diy__card { border: 1px solid #E0E0E0; padding: 22px; margin: 0; display: flex; flex-direction: column; gap: 10px; background: #fff; }
html body .qbs-diy__name { margin: 0; font: 700 1.375rem/1.1818 "Roboto Condensed", sans-serif; color: #000; text-transform: none; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html body .qbs-diy__chip, html body .qbs-levels__chip { background: #D30808; color: #fff; font: 700 0.75rem/1.25 "Roboto Condensed", sans-serif; letter-spacing: 1.22px; text-transform: uppercase; padding: 4px 8px; white-space: nowrap; }
html body .qbs-diy__price { margin: 0; font: 700 1.875rem/1.1333 "Roboto Condensed", sans-serif; color: #000; }
html body .qbs-diy__desc { margin: 0; color: #444551; font-size: 0.9375rem; line-height: 1.4667; }
html body .qbs-diy__list { margin: 0; padding: 14px 0 0; border-top: 1px solid #E0E0E0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.9375rem; line-height: 1.4667; color: #2B2B2B; }
html body .qbs-diy__list li { display: flex; gap: 10px; margin: 0; }
html body .qbs-diy__list svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: #D30808; stroke-width: 2.6; }
html body .qbs-diy__list li.is-extra { color: #444551; }
html body .qbs-diy__fine { margin: auto 0 0; padding-top: 10px; font-size: 0.8125rem; line-height: 1.4615; color: #444551; }
html body .qbs-diy__disclaimer { margin: 6px 0 0; font-size: 0.7188rem; line-height: 1.3913; color: #6b6c78; }
html body .qbs-diy__both { background: #EBEBEB; padding: 22px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
html body .qbs-diy__sum { margin: 0; font: 700 1.875rem/1.2 "Roboto Condensed", sans-serif; color: #000; }
html body .qbs-diy__sum span { color: #444551; }
html body .qbs-diy__go { margin-top: 10px; align-self: flex-start; }
html body .qbs-levels__sub { display: block; font-size: 0.875rem; line-height: 1.4286; color: #444551; font-weight: 400; }
html body .qbs-levels--compare tr.qbs-levels__addon th, html body .qbs-levels--compare tr.qbs-levels__addon td { border-top: 2px solid #000; }
html body .qbs-levels--compare td.is-addon { font: 700 0.9375rem/1.3333 "Roboto Condensed", sans-serif; color: #000; text-align: center; }

@media (max-width: 1024px) {
	html body .qbs-diy__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body .qbs-diy__both { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
	html body .qbs-diy { margin-top: 20px; }
	html body .qbs-diy__head { padding: 18px 16px 0; }
	html body .qbs-diy__title { font-size: 1.5rem; line-height: 1.0833; }
	html body .qbs-diy__lead { font-size: 0.9375rem; line-height: 1.5333; }
	html body .qbs-diy__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px 16px 16px; }
	html body .qbs-diy__card, html body .qbs-diy__both { padding: 16px; }
	html body .qbs-diy__price { font-size: 1.625rem; line-height: 1.1538; }
	html body .qbs-diy__sum { font-size: 1.625rem; line-height: 1.1538; }
	html body .qbs-diy__go { align-self: stretch; display: flex; }
}
