{{-- bdtradeinfo.com style homepage header --}}
.sbd-home-header{background:#fff;font-family:inherit}

/* Mobile drawer — hidden on desktop */
.sbd-mobile-drawer,
.sbd-mobile-overlay {
    display: none;
}

/* Tier 1 - Top nav */
.sbd-top-nav{background:#111;border-bottom:2px solid #f5a623}
.sbd-top-nav-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;flex-wrap:wrap}
.sbd-top-nav-left,.sbd-top-nav-right{display:flex;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0;gap:2px}
.sbd-top-nav-left a{display:block;padding:9px 14px;color:#fff;text-decoration:none;font-size:13px;font-weight:500}
.sbd-top-nav-left a:hover,.sbd-top-nav-left a.active{color:#f5a623}
.sbd-top-nav-right a{display:block;padding:9px 12px;color:#f5a623;text-decoration:none;font-size:13px;font-weight:600}
.sbd-top-nav-right a:hover{color:#fff}
.sbd-has-sub{position:relative}
.sbd-has-sub:hover .sbd-sub-menu{display:block}
.sbd-sub-menu{display:none;position:absolute;top:100%;right:0;min-width:180px;background:#222;list-style:none;margin:0;padding:6px 0;z-index:100;border:1px solid #444}
.sbd-sub-menu a{color:#fff!important;padding:8px 14px!important;font-weight:500!important}
.sbd-sub-menu a:hover{background:#f5a623;color:#111!important}

/* Tier 2 - Brand + search */
.sbd-brand-search{background:#fff;padding:18px 0;border-bottom:1px solid #eee}
.sbd-brand-search-inner{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.sbd-brand-block{display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0;min-width:240px}
.sbd-brand-logo{height:86px;width:auto;max-width:420px;object-fit:contain}
body:not(.sbd-home-page) .sbd-brand-logo{height:70px}
.sbd-brand-text{display:flex;flex-direction:column;line-height:1.2}
.sbd-brand-name{font-size:28px;color:#e67e22;font-weight:800;letter-spacing:-.5px}
.sbd-brand-domain{font-size:14px;color:#333;font-weight:600}
.sbd-brand-tagline{font-size:11px;color:#e67e22;font-style:normal;margin-top:2px;max-width:220px;line-height:1.3}

.sbd-main-search{flex:1;display:flex;align-items:center;max-width:620px;min-width:280px;margin:0 auto;border:2px solid #e67e22;border-radius:999px;overflow:hidden;background:#fff;height:52px}
.sbd-main-search input{flex:1;border:0;outline:0;padding:0 20px;font-size:15px;background:transparent;height:100%}
.sbd-main-search button{width:52px;height:52px;border:0;background:#e67e22;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sbd-main-search button:hover{background:#d35400}

.sbd-header-ad{min-width:160px;max-width:220px;flex-shrink:0}
.sbd-header-ad:empty{display:none}
.footer-middle-logo .footer-brand-logo{max-height:78px;width:auto;height:auto;background:#fff;border-radius:12px;padding:8px 12px}

/* Tier 3 - Yellow Pages A-Z */
.sbd-yp-bar{background:linear-gradient(90deg,#f39c12,#e67e22);padding:10px 0}
.sbd-yp-bar-inner{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sbd-yp-label{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-weight:700;font-size:15px;white-space:nowrap;flex-shrink:0}
.sbd-yp-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:#fff;color:#e67e22;border-radius:50%;font-size:11px;font-weight:800}
.sbd-alpha-nav{display:flex;flex-wrap:wrap;gap:4px;flex:1;justify-content:center}
.sbd-alpha-letter{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:#fff;color:#e67e22;border-radius:50%;text-decoration:none;font-size:12px;font-weight:700;transition:.15s}
.sbd-alpha-letter:hover,.sbd-alpha-letter.active{background:#333;color:#fff;transform:scale(1.08)}
.sbd-browse-link{color:#fff;text-decoration:none;font-weight:600;font-size:14px;white-space:nowrap;flex-shrink:0}
.sbd-browse-link:hover{text-decoration:underline}

/* Tier 4 - Hero band */
.sbd-hero-band{background:#3d4449;padding:28px 0 32px;text-align:center}
.sbd-hero-title{color:#fff;font-size:clamp(20px,3vw,32px);font-weight:700;margin:0 0 12px;line-height:1.35;max-width:980px;margin-left:auto;margin-right:auto}
.sbd-hero-subtitle{color:rgba(255,255,255,.88);font-size:clamp(14px,1.8vw,17px);margin:0 auto;max-width:900px;line-height:1.6}

/* Hide default header on homepage */
body.sbd-home-page .header-section,
body.sbd-home-page .header-top-section{display:none!important}

@media(max-width:991px){
 .sbd-top-nav-left,.sbd-top-nav-right{display:none!important}
 .sbd-brand-search-inner{justify-content:center}
 .sbd-main-search{max-width:100%;order:3;width:100%;min-width:0}
 .sbd-header-ad{display:none}
 .sbd-top-nav-inner{justify-content:flex-start;align-items:center;min-height:44px;padding:4px 0}
 .sbd-alpha-letter{width:26px;height:26px;font-size:11px;flex-shrink:0}
 /* Mobile hamburger */
 .sbd-mobile-menu-btn{display:flex;flex-direction:column;justify-content:center;gap:5px;background:none;border:none;padding:8px 10px;cursor:pointer;z-index:1101}
 .sbd-mobile-menu-btn span{display:block;width:22px;height:2px;background:#f5a623;border-radius:2px;transition:.25s}
 .sbd-mobile-menu-btn.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
 .sbd-mobile-menu-btn.active span:nth-child(2){opacity:0}
 .sbd-mobile-menu-btn.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
 /* Mobile drawer — show only on mobile */
 .sbd-mobile-drawer{display:block;position:fixed;top:0;left:-280px;width:280px;height:100vh;background:#111;z-index:1100;overflow-y:auto;transition:left .3s ease;box-shadow:4px 0 24px rgba(0,0,0,.4)}
 .sbd-mobile-drawer.open{left:0}
 .sbd-mobile-drawer-inner{padding:60px 0 24px}
 .sbd-mobile-drawer-section{padding:0 16px 16px;border-bottom:1px solid #333;margin-bottom:12px}
 .sbd-drawer-label{display:block;font-size:10px;font-weight:700;color:#888;text-transform:uppercase;letter-spacing:1px;margin-bottom:8px;padding-left:4px}
 .sbd-mobile-drawer-section a{display:block;padding:10px 12px;color:#fff;text-decoration:none;font-size:14px;font-weight:500;border-radius:6px;transition:.15s}
 .sbd-mobile-drawer-section a:hover{background:#222;color:#f5a623}
 .sbd-mobile-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1099}
 .sbd-mobile-overlay.open{display:block}
 /* A-Z horizontal scroll */
 .sbd-alpha-nav{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;justify-content:flex-start;padding-bottom:4px;scrollbar-width:none}
 .sbd-alpha-nav::-webkit-scrollbar{display:none}
 .sbd-yp-bar-inner{flex-wrap:nowrap;overflow:hidden}
 .sbd-yp-label{flex-shrink:0}
 .sbd-browse-link{display:none}
}
@media(max-width:575px){
 .sbd-brand-block{min-width:0;width:100%;justify-content:center}
 .sbd-brand-logo{height:52px}
 .sbd-brand-name{font-size:22px}
 .sbd-yp-bar-inner{justify-content:flex-start}
 .sbd-hero-band{padding:20px 0 24px}
}
