@font-face{font-family:Manrope;src:url("bb-portal-manrope.woff2") format("woff2");font-weight:200 800;font-display:swap}
:root{--ink:#1b1b1b;--muted:#5a5652;--line:#dedbd6;--paper:#f5f3f0;--red:#e30613;--red-dark:#b6000c;--dark:#201e1d}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);font:500 15px/1.55 Manrope,Arial,sans-serif;background:var(--paper)}
img{display:block;max-width:100%}
h1,h2,h3,p,figure,dl,dd{margin:0}
h1,h2,h3{line-height:1.16;overflow-wrap:anywhere}
h1{font-size:clamp(2.1rem,5vw,3.6rem);font-weight:800;letter-spacing:-.06em}
h2{font-size:1.32rem;font-weight:800;letter-spacing:-.035em}
h3{font-size:1.07rem;font-weight:800}
p+*{margin-top:.75rem}
a{color:inherit;text-underline-offset:.2em}
a:hover{color:var(--red-dark)}
button,select,input,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.48}
label{display:grid;gap:.38rem;min-width:0;font-size:.88rem;font-weight:750}
input,select,textarea{width:100%;min-width:0;min-height:2.7rem;border:1px solid #bdb9b3;background:#fff;color:var(--ink);padding:.5rem .65rem;border-radius:0}
textarea{resize:vertical}
:focus-visible{outline:3px solid #1b1b1b;outline-offset:3px}
[hidden]{display:none!important}
.wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.main{min-height:66vh;padding-top:1.4rem;padding-bottom:3.5rem}
.site-header{background:white;border-top:5px solid var(--red);border-bottom:1px solid var(--line)}
.header-inner,.footer-inner,.nav-inner,.header-actions,.brand,.context-bar,.context-form,.actions,.section-line,.meter-label,.line-head,.invoice-row{display:flex;align-items:center}
.header-inner,.footer-inner,.context-bar,.section-line,.meter-label,.line-head,.invoice-row{justify-content:space-between}
.header-inner{min-height:76px;gap:8px}
.brand{gap:1.1rem;flex-shrink:1;min-width:0}
.brand img:first-child{width:154px;min-width:0}
.brand img+img{width:82px;min-width:0}
.header-actions{gap:1.15rem;flex-wrap:wrap;justify-content:flex-end;font-weight:750;font-size:.86rem;text-align:right}
.site-header nav{border-top:1px solid var(--line)}
.nav-inner{min-height:52px;gap:1.65rem}
.nav-inner a{text-decoration:none;padding:.65rem 0;border-bottom:3px solid transparent;font-weight:750;white-space:nowrap}
.nav-inner a[aria-current=page]{border-color:var(--red)}
.count{color:var(--ink);background:#e9e6e0;padding:.13rem .42rem;font-size:.78rem;font-weight:800;white-space:nowrap}
.context-bar{margin-bottom:1.45rem;gap:.9rem;flex-wrap:wrap;padding:.6rem 0;color:#47423e;border-bottom:1px solid var(--line);font-size:.88rem}
.context-bar strong{color:var(--ink)}
.context-form{gap:.55rem;flex-wrap:wrap}
.context-form label{display:flex;align-items:center;gap:.55rem}
.context-form select{width:auto;max-width:100%}
.context-form select,.context-form button{min-height:2.2rem;padding-block:.3rem}
.primary,.secondary,.link-button{display:inline-flex;align-items:center;justify-content:center;min-height:2.75rem;padding:.55rem .9rem;font-weight:800;text-decoration:none;border:1px solid var(--ink);line-height:1.3;text-align:center}
.primary{color:#fff;background:var(--red-dark);border-color:var(--red-dark)}
.primary:hover{color:#fff;background:#8a080e}
.secondary{color:var(--ink);background:white}
.secondary:hover{color:var(--ink);background:#eeeae5}
.link-button{border-color:transparent;background:transparent;text-decoration:underline;color:var(--ink)}
.actions{gap:.65rem;flex-wrap:wrap}
.stack{display:grid;align-content:start;gap:.9rem;min-width:0}
.entry,.home-hero{background:white;display:grid;grid-template-columns:1.1fr 1fr;gap:0;border:1px solid var(--line)}
.entry{margin-top:1rem}
.entry-photo{min-width:0}
.entry-photo img,.home-hero>img{width:100%;height:100%;object-fit:cover}
.entry-copy,.home-copy{padding:clamp(1.15rem,5vw,3.5rem);min-width:0}
.entry-copy h1,.home-copy h1{margin:.35rem 0 .9rem}
.entry-copy form{max-width:390px;margin-top:1.35rem}
.home-hero>img{object-position:57% 50%}
.home-copy .actions{margin-top:1.2rem}
.kicker,.eyebrow,.sample{color:#635954;font-size:.78rem;font-weight:800}
.kicker{color:var(--red-dark);letter-spacing:.08em;text-transform:uppercase}
.sample{border-left:3px solid #a78f7e;padding-left:.55rem;margin-bottom:.7rem}
.home-shortcuts,.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}
.home-shortcuts a{display:grid;gap:.35rem;padding:1.05rem;background:#fff;border:1px solid var(--line);text-decoration:none}
.home-shortcuts a span,.muted,.product-card small,figcaption{color:var(--muted);font-size:.86rem}
.page-title{margin:0 0 1.45rem}
.page-title h1{margin-top:.28rem}
.page-title>p:last-child{margin-top:.65rem}
.panel,.specs,.product-card{min-width:0;background:white;border:1px solid var(--line);padding:1.1rem}
.panel h2,.specs h2,.specs h3{margin-bottom:.75rem}
.panel .section-line h2{margin:0}
.section-line{gap:.8rem;margin:.95rem 0}
.search{display:grid;gap:.9rem}
.filters,.quick-order{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem}
.search-input{max-width:560px}
.product-card{padding:0}
.product-card>a>img{width:100%;aspect-ratio:1.65;object-fit:cover;background:#e0d8cf}
.card-body{display:grid;gap:.32rem;padding:1rem}
.card-body h3 a,.line-head h3 a{text-decoration:none}
.text-link{font-weight:800;margin-top:.55rem}
.back{display:inline-block;margin-bottom:.9rem;font-weight:750}
.product-detail,.cart-layout,.orders-layout{display:grid;gap:1rem;align-items:start}
.product-detail{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.product-detail>div{min-width:0}
.product-detail h1{font-size:clamp(2.05rem,4vw,3.05rem)}
.product-detail .panel,.specs{margin-top:.8rem}
.product-photo{background:#fff;border:1px solid var(--line)}
.product-photo img{width:100%;aspect-ratio:1.48;object-fit:cover}
figcaption{padding:.58rem .8rem}
.facts>div{display:flex;justify-content:space-between;gap:.55rem;padding:.5rem 0;border-bottom:1px solid var(--line)}
.facts>div:last-child{border-bottom:none}
.facts dt{color:var(--muted);overflow-wrap:anywhere}
.facts dd{text-align:right;font-weight:750;overflow-wrap:anywhere}
.facts .total{padding-top:.72rem;font-weight:800}
.facts .total dt{color:var(--ink)}
.unit-price{font-size:2rem;font-weight:800;color:var(--ink);line-height:1.2}
.unit-price span{font-size:.88rem;color:var(--muted)}
.form-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.yard-stock{margin:.75rem 0}
.yard-stock small{display:block}
.ok{color:#205d31}
.short{color:#991923}
.alert,.notice{padding:.65rem .8rem;border-left:4px solid var(--red-dark);background:#fff0ef;color:#6e141b;font-weight:750}
.notice{background:#edf5ed;border-color:#398657;color:#204728}
.stock-panel .alert{margin-bottom:.75rem}
.cart-layout,.orders-layout{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
.quick-order{grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(0,.9fr) auto;align-items:end}
.line-edit{display:flex;gap:.55rem;flex-wrap:wrap;align-items:end}
.line-edit input{max-width:6.75rem}
.cart-line{border-top:1px solid var(--line);padding:.75rem 0}
.cart-line:first-of-type{border-top:0}
.line-head{align-items:baseline;gap:.65rem}
progress{display:block;width:100%;height:.75rem;margin:.4rem 0;appearance:none;background:#ebe6df;border:0}
progress::-webkit-progress-bar{background:#ebe6df}
progress::-webkit-progress-value{background:var(--red-dark)}
progress::-moz-progress-bar{background:var(--red-dark)}
.meter-label{gap:.55rem}
.load-panel p+div{margin-top:.8rem}
.po-search{max-width:720px;margin-bottom:1rem;grid-template-columns:1fr auto;align-items:end}
.order-row{display:flex;justify-content:space-between;gap:.65rem;padding:.6rem 0;border-top:1px solid var(--line);text-decoration:none}
.order-row>div{display:grid;gap:.2rem}
.order-row>div:last-child{text-align:right}
.order-row span{font-size:.84rem}
.invoice-row{gap:.65rem;padding:.45rem 0;border-bottom:1px solid var(--line);font-weight:750}
.site-footer{background:var(--dark);color:white}
.footer-inner{min-height:85px;gap:1rem;font-size:.85rem}
.footer-inner img{width:144px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:900px){.filters{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-order{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
  .wrap{width:calc(100% - 28px)}
  .header-inner{min-height:63px}
  .brand{gap:7px}
  .brand img:first-child{width:100px}
  .brand img+img{width:57px}
  .header-actions{font-size:.75rem;gap:.55rem}
  .nav-inner{min-height:0;gap:.16rem .83rem;flex-wrap:wrap}
  .nav-inner a{font-size:.78rem;white-space:normal;padding:.55rem 0}
  .main{padding-top:1rem}
  .entry,.home-hero,.home-shortcuts,.product-grid,.product-detail,.cart-layout,.orders-layout{grid-template-columns:minmax(0,1fr)}
  .entry-photo img,.home-hero>img{height:auto;max-height:230px}
  .entry-photo{order:2}
  .panel,.specs{padding:.88rem}
  .filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .context-form label{align-items:start;flex-direction:column}
  .context-form{align-items:end}
  .po-search{grid-template-columns:minmax(0,1fr)}
  .product-detail>div:last-child{grid-row:1}
  .footer-inner img{width:108px}
}
@media print{
  body{background:white;font-size:11pt}
  .site-header,.site-footer,.context-bar,.no-print{display:none!important}
  .wrap{width:100%;max-width:none}
  .panel{break-inside:avoid}
  .orders-layout{display:block}
  .orders-layout aside{margin-top:1rem}
}
