/* Shared catalogue header and authenticated workspace. */
#bgs-site-header{font-family:var(--bgs-font-family);font-size:15px;line-height:1.35;background:#20221f;color:#f4f5f1;border-bottom:1px solid #50564c}
#bgs-site-header *{box-sizing:border-box}
#bgs-site-header{--shop-header-inset:max(4%,calc((100% - 1400px)/2))}
#bgs-site-header .shop-mast,#bgs-site-header .shop-collections{align-items:center;padding:10px var(--shop-header-inset);margin:0}
#bgs-site-header .shop-mast{
  display:grid;
  grid-template-columns:minmax(0,1fr) min(52%,740px) minmax(0,1fr);
  column-gap:clamp(12px,1.4vw,22px);
  min-height:70px;
}
#bgs-site-header .shop-wordmark{grid-column:1;grid-row:1;justify-self:start;display:inline-flex;align-items:center;width:85px;max-width:100%;min-height:36px;padding:0}
#bgs-site-header .shop-wordmark img{display:block;width:100%;height:auto}
@media(min-width:1051px){#bgs-site-header .shop-wordmark{width:96px}}
#bgs-site-header .bgs-family-navigation{grid-column:2;grid-row:1;justify-self:center;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;max-width:740px}
#bgs-site-header .bgs-family-link{margin:0;min-height:0;padding:5px 7px;line-height:1.2;justify-content:center}
#bgs-site-header .shop-account{grid-column:3;grid-row:1;justify-self:end;position:relative;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap;max-width:none;font-size:14px;white-space:nowrap}
#bgs-site-header .shop-account a,#bgs-site-header .shop-account button{background:transparent;border:0;border-radius:4px;display:inline-block;font:inherit;font-weight:600;color:#f4f5f1;text-decoration:none;padding:5px 2px;cursor:pointer;margin:0}
#bgs-site-header .shop-account .shop-sign-in,#bgs-site-header .shop-account .shop-dashboard-link,#bgs-site-header #bgs-order-toggle{border:1px solid #777f6e;padding:6px 10px}
#bgs-site-header .shop-account span:not(#bgs-cart-label){font-size:.85rem;color:#d6dbcf}
#bgs-site-header .shop-account form{margin:0;padding:0;width:auto;display:inline}
#bgs-site-header .shop-account #bgs-order-toggle{order:1;flex:none}
#bgs-site-header .shop-account form{order:2;flex:none}
#bgs-site-header #bgs-cart-save{position:absolute;top:100%;right:0;font-size:12px}
#bgs-site-header #bgs-cart-save:empty,#bgs-site-header [hidden]{display:none!important}
#bgs-site-header .shop-collections{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 20px;min-height:36px;padding-top:3px;padding-bottom:3px}
#bgs-site-header .shop-collections{background:#292c27;border-top:1px solid #393e36}
#bgs-site-header .shop-collections a{display:inline-flex;align-items:center;gap:5px;padding:5px 0;color:#f2f4ed;text-decoration:none;font-size:14px;font-weight:600;line-height:1.35;border-bottom:2px solid transparent}
#bgs-site-header .shop-collections a[aria-current],#bgs-site-header .shop-collections a:hover{color:#c1daa0;border-bottom-color:#9cbb76}
#bgs-site-header :focus-visible,.workspace-dashboard a:focus-visible,.workspace-tabs a:focus-visible{outline:2px solid #799f55;outline-offset:2px}
.workspace-dashboard{font:15px/1.5 Arial,Helvetica,sans-serif;max-width:1240px;margin:auto;color:var(--ink)}.workspace-title,.workspace-recent>div,.workspace-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.workspace-dashboard h1,.workspace-dashboard h2{font-family:var(--bgs-font-family);margin:0;line-height:1.2;letter-spacing:normal;text-transform:none}.workspace-dashboard h1{font-size:clamp(1.65rem,3vw,2.35rem)}.workspace-dashboard h2{font-size:1.15rem;color:var(--ink)}.workspace-title{margin-bottom:18px}.workspace-title p{margin:0 0 3px;color:var(--muted)}
.workspace-dashboard a,.workspace-tabs a{color:var(--accent);text-underline-offset:3px}.workspace-dashboard .button.primary{color:var(--button-ink);background:var(--button);border-color:var(--button)}
.workspace-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));border:1px solid var(--line);background:var(--soft);border-radius:8px;overflow:hidden;margin:0 0 18px}
.workspace-metrics a{display:flex;align-items:baseline;gap:12px;padding:12px 15px;text-decoration:none;flex-wrap:wrap}.workspace-metrics a:hover{background:#414a33}.workspace-metrics strong{font-size:1.6rem;color:var(--ink)}.workspace-metrics span{font-size:.9rem}
.workspace-recent,.workspace-sections>section{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:16px 18px}
.workspace-recent{margin-bottom:18px}.workspace-recent ul,.workspace-sections ul{margin:9px 0 0;padding:0;list-style:none}.workspace-recent li{display:grid;align-items:baseline;grid-template-columns:minmax(0,1fr) minmax(125px,auto) 90px;gap:14px;padding:7px 0;border-top:1px solid var(--line)}.workspace-recent li a{display:flex;gap:5px 12px;flex-wrap:wrap;overflow-wrap:anywhere}.workspace-recent time{color:var(--muted);text-align:right;font-size:.88rem}.workspace-state{font-size:.88rem;color:var(--muted)}
.workspace-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:14px}.workspace-sections li+li{border-top:1px solid var(--line)}.workspace-sections li a{display:block;padding:7px 0;text-decoration:none}.workspace-sections li a:hover,.workspace-recent a:hover{text-decoration:underline}.workspace-tabs{justify-content:flex-start;margin:12px 0 16px}.workspace-tabs a[aria-current]{font-weight:700}.workspace-order-jumps{border-bottom:1px solid var(--line);padding-bottom:8px}
@media(max-width:1200px){
  #bgs-site-header .shop-mast{grid-template-columns:auto minmax(0,1fr);gap:6px 16px}
  #bgs-site-header .bgs-family-navigation{grid-row:2;grid-column:1/-1}
  #bgs-site-header .shop-account{grid-column:2;max-width:100%}
  #bgs-site-header .bgs-family-link img{height:34px;width:34px}
}
@media(max-width:580px){#bgs-site-header .shop-mast,#bgs-site-header .shop-collections{padding-left:12px;padding-right:12px}#bgs-site-header .shop-collections{gap:0 13px}#bgs-site-header .shop-collections a{font-size:13px;min-height:32px}#bgs-site-header .bgs-family-link-copy>span{display:none}#bgs-site-header .bgs-family-link-copy strong{font-size:15px}#bgs-site-header .bgs-family-link{gap:5px;padding:3px}#bgs-site-header .shop-account{gap:7px}.workspace-recent li{grid-template-columns:1fr auto;gap:4px 8px}.workspace-recent li a{grid-column:1/-1}.workspace-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-metrics a{gap:7px;padding:9px}.workspace-recent,.workspace-sections>section{padding:12px}}
@media(max-width:360px){
  #bgs-site-header .shop-collections{column-gap:8px}
}
#bgs-site-header .shop-dashboard-link[aria-current]{background:#3b4b35}
.workspace-test-banner{display:flex;align-items:center;gap:.5rem 1rem;flex-wrap:wrap;background:#e4ebd8;color:#263320;padding:.5rem 1rem;font:15px/1.45 system-ui,sans-serif;color-scheme:light}
.workspace-test-banner form{margin:0}
/* The same light banner sits inside the dark catalogue and above the portal header. */
:is(#bgs-holster-shop .workspace-test-banner,.workspace-test-banner) a{color:#263e24;text-decoration:underline;text-underline-offset:.15em}
:is(#bgs-holster-shop .workspace-test-banner,.workspace-test-banner) a:hover{color:#172513}
:is(#bgs-holster-shop .workspace-test-banner,.workspace-test-banner) button{color:#fff;background:#35472e;border:1px solid #35472e;font:inherit;font-weight:600;line-height:1.45;padding:.3rem .7rem;border-radius:4px;cursor:pointer}
:is(#bgs-holster-shop .workspace-test-banner,.workspace-test-banner) button:is(:hover,:active){color:#fff;background:#263320;border-color:#263320}
:is(#bgs-holster-shop .workspace-test-banner,.workspace-test-banner) :is(button,a):focus-visible{outline:2px solid #314e29;outline-offset:3px}
.quote-mobile-label{display:none}
.quote-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.dealer-unit-price,.quote-line-amount{font:600 1rem/1.4 system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.quote-line-amount{font-weight:700}
.dealer-unit-saving,.dealer-quantity-tier{display:block;color:var(--muted,var(--bgs-muted,#c7c7be));font-size:.84rem;line-height:1.45}
.dealer-price-details{margin:0}
.dealer-price-details>summary{cursor:pointer;display:inline-flex;align-items:center;gap:5px;list-style:none}
.dealer-price-details>summary::-webkit-details-marker{display:none}
.dealer-price-details>summary::before{content:"";display:block;width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg);opacity:.8}
.dealer-price-details[open]>summary::before{transform:translateY(2px) rotate(225deg)}
.dealer-price-details>summary:hover,.dealer-price-details>summary:focus-visible{color:var(--accent,var(--bgs-accent,#b8ce8b))}
.dealer-price-details>summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.dealer-price-breakdown{margin:.4rem 0;padding:.3rem .55rem;border-inline-start:2px solid var(--line,var(--bgs-line,#555));font-size:.87rem;line-height:1.45;text-align:left}
.dealer-price-breakdown .cart-msrp{margin:0}
/* Keep the BGs headings. Use a text face for commercial details and readable figures. */
:is(.dealer-quote-lines,.offer-quote-lines,#bgs-holster-shop .bgs-draft-items) :is(.order-config-summary,.offer-production,.order-component-colors,.offer-color-note,.dealer-price-details,.dealer-quantity-tier,.dealer-unit-saving,.offer-rate-origin,.offer-item-note,.quote-mobile-label,.draft-mobile-label){font-family:system-ui,sans-serif}
:is(.dealer-quote-lines,.offer-quote-lines,#bgs-holster-shop .bgs-draft-items) :is(.order-sku,.offer-sku){font:650 .94rem/1.45 system-ui,sans-serif}
:is(.dealer-quote-lines,.offer-quote-lines,#bgs-holster-shop .bgs-draft-items) :is(.dealer-unit-saving,.dealer-quantity-tier){font-size:.78rem;line-height:1.55}
:is(.dealer-quote-lines,.offer-quote-lines,#bgs-holster-shop .bgs-draft-items) :is(.order-config-summary,.offer-production){font-size:.83rem;line-height:1.5}
.recent-order-actions{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;}
.workspace-recent .recent-dates{display:grid;gap:2px;justify-items:end;font-size:.85rem;color:var(--muted);white-space:nowrap}
.workspace-recent .recent-dates time{font:inherit;color:var(--ink)}
@media(min-width:581px){.workspace-dashboard .workspace-recent li{grid-template-columns:minmax(0,1fr) minmax(125px,auto) minmax(145px,auto)}}

.portal-language-switch{display:flex;justify-content:flex-end;gap:.25rem;max-width:1240px;margin:0 auto 1rem;font:600 .875rem/1.4 system-ui,sans-serif}
.portal-language-switch a{display:inline-flex;align-items:center;min-height:36px;padding:.35rem .7rem;border:1px solid var(--line);border-radius:5px;color:var(--muted);text-decoration:none}
.portal-language-switch a[aria-current]{color:var(--ink);border-color:var(--accent);background:var(--soft)}
.portal-language-switch a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:580px){.portal-language-switch a{min-height:44px}.dealer-status-groups a{overflow-wrap:normal}}
