/* Bay Windows NW Ltd: original logo as primary identity across the site.
   Intentionally loaded LAST, after legacy site header styles. */
.slf-header .slf-headrow{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:clamp(10px,2.5vw,34px)!important;
  padding:14px 0 17px!important;
}
.slf-header .slf-brand{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  gap:3px!important;
  text-align:left!important;
  text-decoration:none!important;
  white-space:normal!important;
  line-height:1.2!important;
  color:#07366b!important;
}
.slf-header .slf-brand .bay-original-logo{
  display:block!important;
  width:clamp(285px,34vw,385px)!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  margin:0!important;
  padding:0!important;
  background:#fff;
}
.slf-header .slf-brand .bay-secondary-name{
  display:block!important;
  font:800 clamp(16px,1.65vw,20px)/1.22 Arial,Helvetica,sans-serif!important;
  letter-spacing:.1px!important;
  color:#07366b!important;
  margin:6px 0 0!important;
  text-transform:none!important;
}
.slf-header .slf-brand .bay-family-run{
  display:block!important;
  font:600 12px/1.4 Arial,Helvetica,sans-serif!important;
  color:#50647a!important;
  letter-spacing:0!important;
  margin:0!important;
}
.slf-header .slf-badges{display:flex!important;align-items:center!important;gap:16px!important;flex:0 0 auto!important}
.slf-header .slf-badge{display:flex!important;align-items:center!important;gap:9px!important}
.slf-header .slf-badge img{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;object-fit:contain!important}
.footbrand .brand-secondary-name{
  display:block!important;font-size:17px!important;letter-spacing:.1px!important;
  line-height:1.3!important;font-weight:800!important;color:#ffdd51!important;margin-top:10px!important
}
.footbrand .brand-tagline{display:block!important;font-size:12px!important;letter-spacing:0!important;color:#d6e1ec!important;margin-top:5px!important}
@media(max-width:1000px){
  .slf-header .slf-badges{gap:8px!important}
  .slf-header .slf-badge span{display:none!important}
}
@media(max-width:700px){
  .slf-header .slf-headrow{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;padding:9px 0 12px!important}
  .slf-header .slf-brand .bay-original-logo{width:clamp(172px,57vw,252px)!important}
  .slf-header .slf-brand .bay-secondary-name{font-size:clamp(12px,3.4vw,16px)!important;margin-top:2px!important}
  .slf-header .slf-brand .bay-family-run{font-size:10px!important}
  .slf-header .slf-badges{gap:3px!important}
  .slf-header .slf-badge{gap:0!important}
  .slf-header .slf-badge img{width:33px!important;height:33px!important;max-width:33px!important;max-height:33px!important}
}
@media(max-width:360px){
  .slf-header .slf-brand .bay-original-logo{width:176px!important}
  .slf-header .slf-brand .bay-secondary-name{font-size:12px!important}
  .slf-header .slf-badge img{width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important}
}
