/* One header, step tabs, and one combined footer. Equipment artwork is unchanged. */
:root{--bc-header-height:72px;--bc-content-top:128px;--bc-footer-height:0px}
body.bc-compact-builder .site-header{position:sticky;top:0;z-index:85;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box;min-height:0;height:72px;margin:0;padding:8px 22px;background:#fffdf8;border-bottom:1px solid #d5c8b2;box-shadow:none}
body.bc-compact-builder .site-header>a:first-child{display:flex;flex:0 0 150px;width:150px;min-width:150px;max-width:150px;margin:0}
body.bc-compact-builder .site-header>a:first-child img{display:block;width:150px;height:54px;max-width:100%;max-height:54px;object-fit:contain;object-position:left center}
#bc-header-controls{display:flex;flex:0 0 auto;align-items:center;gap:10px;margin-left:auto;width:max-content;white-space:nowrap}
body.bc-compact-builder #bc-header-controls>button,body.bc-compact-builder #bc-header-controls>#cart-link,#bc-builder-menu>summary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 auto;min-height:44px;margin:0;padding:9px 14px;border:1px solid #b9c8cf;border-radius:5px;background:#fffdf8;color:#243541;font:600 14px/1.2 Arial,sans-serif;text-decoration:none;white-space:nowrap;cursor:pointer;transform:none!important}
body.bc-compact-builder #bc-header-controls>[data-action="reset"]{font-weight:400;border-color:#d5c8b2}
body.bc-compact-builder #cart-link svg{width:21px;height:21px;margin-right:5px!important}
body.bc-compact-builder .bc-parts-search,body.bc-compact-builder .bc-company-login,body.bc-compact-builder .header-actions>.pill,body.bc-compact-builder .product-nav,body.bc-compact-builder #builder-toolbar,body.bc-compact-builder #builder-toolbar:not([hidden]),body.bc-compact-builder #bc-phone-menu,body.bc-compact-builder .builder-sticky-backdrop{display:none!important}
#bc-builder-menu{position:relative;flex:0 0 auto;font-family:Arial,sans-serif}
#bc-builder-menu>summary{list-style:none}
#bc-builder-menu>summary::-webkit-details-marker{display:none}
#bc-builder-menu>summary:after{content:' ▾';margin-left:5px}
#bc-builder-menu[open]>summary:after{content:' ▴'}
#bc-builder-menu .bc-builder-menu-content{position:absolute;right:0;top:calc(100% + 6px);display:flex;flex-direction:column;gap:3px;box-sizing:border-box;width:224px;max-height:calc(100dvh - var(--bc-header-height) - 12px);overflow:auto;padding:8px;border:1px solid #c8bca9;border-radius:6px;background:#fffdf8;box-shadow:0 8px 24px #24354130;white-space:normal}
#bc-builder-menu .header-actions{display:contents!important}
body.bc-compact-builder #bc-builder-menu .header-actions>a:not(.bc-company-login){display:flex!important}
body.bc-compact-builder #bc-builder-menu a,body.bc-compact-builder #bc-builder-menu button{display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 12px;background:transparent!important;border:0!important;border-radius:4px;color:#243541!important;font:600 14px/1.3 Arial,sans-serif;white-space:normal;text-align:left;text-decoration:none;transform:none!important;cursor:pointer}
body.bc-compact-builder #bc-builder-menu a:hover,body.bc-compact-builder #bc-builder-menu button:hover{background:#eaf0f4!important}
#bc-builder-menu button:disabled{opacity:.5}
body.bc-compact-builder main{padding-top:0!important}
body.bc-compact-builder nav.steps:not([hidden]){position:sticky;top:var(--bc-header-height)!important;z-index:75;display:flex!important;flex-flow:row nowrap!important;justify-content:flex-start;gap:0!important;box-sizing:border-box;height:46px;min-height:46px;max-height:46px;margin:0 -6px 10px!important;padding:0!important;overflow-x:auto;overflow-y:hidden;background:#fffdf8;border-radius:0;scrollbar-width:none}
body.bc-compact-builder nav.steps::-webkit-scrollbar{display:none}
body.bc-compact-builder nav.steps>button{flex:1 0 auto!important;box-sizing:border-box;min-width:max-content;height:46px;min-height:46px;padding:7px 14px!important;line-height:1.2}
body.bc-compact-builder .f-visual-top,body.bc-compact-builder.additional-items-editing .additional-editor{top:var(--bc-content-top)!important;bottom:calc(var(--bc-footer-height) + 10px)!important;height:auto!important;max-height:none!important;min-height:0!important}
body.bc-compact-builder.building:not(.build-summary-page) .footnote{display:none}
body.bc-compact-builder.has-step-actions,body.bc-compact-builder.has-builder-price{padding-bottom:var(--bc-footer-height)!important}
body.bc-compact-builder.build-summary-page main{padding-bottom:20px}
body.bc-compact-builder #summary{top:var(--bc-content-top)!important}
#bc-builder-footer[hidden]{display:none!important}
#bc-builder-footer{position:fixed;inset:auto 0 0;z-index:80;display:flex;align-items:center;justify-content:space-between;gap:12px 24px;box-sizing:border-box;padding:10px max(20px,calc((100vw - 1440px)/2)) calc(10px + env(safe-area-inset-bottom,0px));background:#243541;color:#fff;box-shadow:0 -2px 8px #0002}
body.bc-compact-builder #builder-live-price{position:static;inset:auto;display:grid;grid-template-columns:auto auto;justify-content:start;align-items:center;gap:3px 16px;flex:1 1 auto;min-width:0;width:auto;padding:0;margin:0;box-shadow:none;background:transparent;font:14px/1.25 Arial,sans-serif}
body.bc-compact-builder #builder-live-price strong{font-size:22px;margin:0;white-space:nowrap}
body.bc-compact-builder #builder-live-price small{grid-column:1/-1;font-size:11px;line-height:1.25;color:#dce5e9}
body.bc-compact-builder #builder-step-actions{position:static;inset:auto;display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:10px;box-sizing:border-box;width:auto;margin:0!important;padding:0!important;background:transparent;border:0;box-shadow:none}
body.bc-compact-builder #builder-step-actions:only-child{margin-left:auto!important}
body.bc-compact-builder #builder-step-actions button{width:auto;min-height:44px;margin:0;padding:10px 18px;font:600 14px/1.25 Arial,sans-serif;border:1px solid #b9cbd6;border-radius:5px;background:#fff;color:#28536a;white-space:nowrap}
body.bc-compact-builder #builder-step-actions .primary{color:#fff;background:#2d5d74;border-color:#7195a8}
body.bc-compact-builder #status{bottom:calc(var(--bc-footer-height) + 10px)}
body.bc-compact-builder :is(#bc-header-controls,#bc-builder-menu,#builder-step-actions) :is(a,button,summary):focus-visible{outline:3px solid #bd8c36;outline-offset:2px}
@media(max-width:820px){
 body.bc-compact-builder .site-header{height:60px;gap:8px;padding:6px 10px}
 body.bc-compact-builder .site-header>a:first-child{flex-basis:110px;width:110px;min-width:110px;max-width:110px}
 body.bc-compact-builder .site-header>a:first-child img{width:110px;height:44px;max-height:44px}
 #bc-header-controls{gap:6px}
 body.bc-compact-builder #bc-header-controls>button,body.bc-compact-builder #bc-header-controls>#cart-link,#bc-builder-menu>summary{font-size:12px;padding:8px 10px}
 body.bc-compact-builder #cart-link svg{width:19px;height:19px;margin-right:3px!important}
 body.bc-compact-builder nav.steps:not([hidden]){height:44px;min-height:44px;max-height:44px;margin:0 -2px 8px!important}
 body.bc-compact-builder nav.steps>button{flex:0 0 auto!important;min-height:44px;height:44px;padding:7px 12px!important;font-size:13px!important}
 /* Spacer widths let even the first and last active tab center properly. */
 body.bc-compact-builder nav.steps:before,body.bc-compact-builder nav.steps:after{content:'';display:block!important;flex-shrink:0}
 body.bc-compact-builder nav.steps:before{flex-basis:max(0px,calc(50% - var(--first-step-width,80px)/2))}
 body.bc-compact-builder nav.steps:after{flex-basis:max(0px,calc(50% - var(--last-step-width,80px)/2))}
 body.bc-compact-builder.has-step-actions .layout{height:calc(100dvh - var(--bc-content-top) - var(--bc-footer-height) - 10px)!important;min-height:0!important}
 body.bc-compact-builder .f-visual-top,body.bc-compact-builder.additional-items-editing .additional-editor{left:8px;right:8px;bottom:calc(var(--bc-footer-height) + 8px)!important}
 body.bc-compact-builder #builder-step-actions button{font-size:13px;padding:10px 12px;min-height:44px}
 #bc-builder-footer{gap:6px;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:600px){
 #bc-builder-footer{flex-wrap:wrap}
 body.bc-compact-builder #builder-live-price{flex:1 0 100%;grid-template-columns:1fr auto;gap:2px 8px;font-size:12px}
 body.bc-compact-builder #builder-live-price strong{font-size:18px}
 body.bc-compact-builder #builder-live-price small{font-size:10px}
 body.bc-compact-builder #builder-step-actions{flex:1 0 100%;width:100%}
 body.bc-compact-builder #builder-step-actions button{flex:1 1 auto}
}
@media(max-width:380px){
 body.bc-compact-builder .site-header{gap:5px;padding:6px 8px}
 body.bc-compact-builder .site-header>a:first-child{flex-basis:84px;width:84px;min-width:84px;max-width:84px}
 body.bc-compact-builder .site-header>a:first-child img{width:84px}
 #bc-header-controls{gap:4px}
 body.bc-compact-builder #bc-header-controls>button,body.bc-compact-builder #bc-header-controls>#cart-link,#bc-builder-menu>summary{font-size:11px;padding:8px}
}
