/* TradeHub base theme styles (marketplace component styles ship with the core plugin). */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--b2bm-font,'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif);font-size:15px;line-height:1.6;color:var(--b2bm-text,#333);background:var(--b2bm-bg,#fff)}
h1,h2,h3,h4,h5,h6{color:var(--b2bm-heading,#0b1f44);line-height:1.3;font-weight:600}
a{color:var(--b2bm-heading,#0b1f44)}
a:hover{color:var(--b2bm-primary,#ff6a00)}
img{max-width:100%;height:auto}
:focus-visible{outline:2px solid var(--b2bm-primary,#ff6a00);outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed!important;top:8px;left:8px;width:auto;height:auto;clip:auto;z-index:100000;background:#fff;padding:10px 14px;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.th-container{max-width:1240px;margin:0 auto;padding:0 20px}
.th-main{min-height:50vh}
.th-main--full{max-width:none;padding:0}
.th-page{padding-top:28px;padding-bottom:40px;max-width:960px}
.th-page-title{font-size:30px;margin:0 0 18px}
.th-meta{color:#6b7280;font-size:13px}
.th-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin:20px 0}
.th-card{border:1px solid #e5e7eb;border-radius:12px;padding:16px}
.th-card-media img{border-radius:8px}
.th-card-title{font-size:18px;margin:10px 0 6px}
.th-card-title a{text-decoration:none}
.th-header{border-bottom:1px solid #e5e7eb;background:#fff}
.th-header-row{display:flex;align-items:center;gap:20px;min-height:68px;flex-wrap:wrap}
.th-site-title{font-weight:700;font-size:22px;color:var(--b2bm-primary,#ff6a00);text-decoration:none}
.th-nav ul{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.th-nav a{text-decoration:none;font-weight:500}
.th-search{display:flex;flex:1;max-width:520px;border:2px solid var(--b2bm-primary,#ff6a00);border-radius:999px;overflow:hidden}
.th-search input{flex:1;border:0;padding:9px 14px;font:inherit}
.th-search button{border:0;background:var(--b2bm-primary,#ff6a00);color:#fff;padding:0 18px;font:600 14px inherit;cursor:pointer}
.th-footer{border-top:1px solid #e5e7eb;padding:28px 0;margin-top:40px;background:#f7f8fa;font-size:14px}
.th-footer ul{display:flex;gap:16px;list-style:none;padding:0;flex-wrap:wrap}
.th-content{margin-top:16px}
.th-404{text-align:center}
.wp-block-button__link{background:var(--b2bm-primary,#ff6a00);border-radius:999px}
.b2bm-main{display:block}
body.b2bm-template-preview .b2bm-main{min-height:120px}
@media (max-width:860px){.th-nav ul{flex-wrap:wrap}}
/* TradeHub Pro: edge-to-edge layout */
html,body{overflow-x:hidden}
.th-main--full>.elementor,.th-main--full .e-con.b2bm-sec{max-width:none}
.elementor-section.elementor-section-boxed>.elementor-container{max-width:var(--b2bm-container-max,1400px)}
body.has-marketplace{background:#f4f4f4}
