:root{--ts-container:1200px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ts-body-bg);color:var(--ts-body-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
a{color:var(--ts-link);text-decoration:none}
img{max-width:100%;height:auto}
h1,h2,h3,h4,h5,h6{color:var(--ts-heading)}
button,input,textarea,select{font:inherit}
.ts-container{width:min(calc(100% - 32px),var(--ts-container));margin-inline:auto}
.ts-site-header{position:relative;width:100%;z-index:1000;background:var(--ts-header-bg);color:var(--ts-header-text)}
.ts-header-inner{min-height:var(--ts-header-height,78px);display:flex;align-items:center;justify-content:space-between;gap:24px}
.ts-header-brand{flex:0 0 auto;display:flex;align-items:center;min-width:0}
.ts-header-brand .custom-logo-link,.ts-header-brand .ts-text-logo{display:flex;align-items:center}
.ts-header-brand img,.ts-header-brand .custom-logo{display:block;max-width:var(--ts-logo-width,190px);height:auto;width:auto;max-height:70px;object-fit:contain}
.ts-text-logo{font-weight:800;font-size:1.25rem;color:var(--ts-header-text)}
.ts-primary-navigation{flex:1 1 auto;min-width:0}
.ts-primary-menu{display:flex;align-items:center;justify-content:center;gap:22px;list-style:none;margin:0;padding:0}
.ts-primary-menu li{position:relative;list-style:none}
.ts-primary-menu>li>a{display:flex;align-items:center;min-height:var(--ts-header-height,78px);color:var(--ts-header-text);white-space:nowrap}
.ts-header-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.ts-header-cta{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:8px;background:var(--ts-button-bg);color:var(--ts-button-text);font-weight:700}
.ts-search-toggle{border:0;background:transparent;color:var(--ts-header-text);font-size:24px;cursor:pointer}
.ts-header-centered{flex-direction:column;justify-content:center;padding:14px 0}
.ts-header-centered .ts-primary-navigation{flex:none}
.ts-header-centered .ts-primary-menu>li>a{min-height:auto}
.ts-header-split .ts-primary-navigation{display:flex;justify-content:flex-end}
.ts-header-minimal{min-height:58px}
.ts-header-minimal .ts-primary-menu>li>a{min-height:58px}
.ts-header-transparent{background:transparent}
.ts-header-transparent .ts-primary-menu>li>a,.ts-header-transparent .ts-text-logo{color:inherit}
.ts-topbar{padding:7px 0;font-size:13px;border-bottom:1px solid var(--ts-border)}
.ts-sticky-enabled .ts-site-header{position:sticky;top:0}
.ts-layout-boxed .site-main{max-width:var(--ts-container);margin-inline:auto;background:var(--ts-body-bg)}
.ts-layout-content-boxed .site-main{max-width:calc(var(--ts-container) + 32px);margin-inline:auto}
.ts-layout-full-width-stretched .site-main{width:100%}
.site-main{min-height:300px;padding:32px 0}
.site-footer{margin-top:50px;background:var(--ts-footer-bg);color:var(--ts-footer-text)}
.ts-footer-widgets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding:42px 0}
.ts-footer-widgets .widget,.ts-footer-widgets .widget-title{color:var(--ts-footer-text)}
.ts-footer-widgets a{color:var(--ts-footer-text)}
.ts-footer-bottom{padding:18px 0;border-top:1px solid rgba(255,255,255,.16)}
.themestoker-custom-region{width:100%;min-width:0}
#themestoker-custom-header img,#themestoker-custom-footer img{max-width:100%;height:auto}
@media(max-width:900px){
 .ts-header-inner{min-height:64px}
 .ts-primary-menu{flex-wrap:wrap;gap:10px}
 .ts-primary-menu>li>a{min-height:44px}
 .ts-header-actions{gap:6px}
 .ts-footer-widgets{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
 .ts-container{width:min(calc(100% - 24px),var(--ts-container))}
 .ts-primary-navigation{width:100%}
 .ts-primary-menu{justify-content:flex-start}
 .ts-footer-widgets{grid-template-columns:1fr}
 .ts-header-cta{padding:8px 12px}
}

/* v4.3 responsive header + footer fixes */
.ts-top-menu-bar{background:var(--ts-accent);color:#fff;font-size:13px}
.ts-top-menu{display:flex;gap:18px;list-style:none;margin:0;padding:7px 0;justify-content:flex-end}
.ts-top-menu a{color:inherit}
.ts-mobile-menu-toggle{display:none;align-items:center;gap:8px;border:1px solid var(--ts-border);background:transparent;color:var(--ts-header-text);padding:8px 10px;border-radius:7px;cursor:pointer}
.ts-hamburger{width:20px;display:grid;gap:4px}
.ts-hamburger i{height:2px;background:currentColor;display:block}
.ts-header-cta{border-radius:var(--ts-cta-radius,8px);padding:10px var(--ts-cta-x,16px)}
.ts-site-footer{margin-top:50px;background:var(--ts-footer-bg)!important;color:var(--ts-footer-text)!important}
.ts-site-footer .widget,.ts-site-footer .widget-title,.ts-site-footer p,.ts-site-footer li{color:var(--ts-footer-text)}
.ts-site-footer a{color:var(--ts-footer-text)}
#themestoker-custom-header,#themestoker-custom-footer{max-width:100%;overflow-x:clip}
#themestoker-custom-header * ,#themestoker-custom-footer *{box-sizing:border-box}
#themestoker-custom-header img,#themestoker-custom-footer img{max-width:100%;height:auto}
@media(max-width:900px){
 .ts-header-inner{flex-wrap:wrap}
 .ts-mobile-menu-toggle{display:flex;margin-left:auto}
 .ts-primary-navigation{display:none;order:10;flex:0 0 100%;width:100%}
 .ts-primary-navigation.is-open{display:block}
 .ts-primary-menu{display:block;width:100%;padding:8px 0}
 .ts-primary-menu>li{display:block;border-top:1px solid var(--ts-border)}
 .ts-primary-menu>li>a{min-height:44px;padding:8px 4px;white-space:normal}
 .ts-header-actions{margin-left:auto}
 .ts-top-menu{justify-content:center;flex-wrap:wrap}
 .ts-mega-panel{box-shadow:none;border:0;padding:12px}
 #themestoker-custom-header{width:100%;min-width:0}
 #themestoker-custom-header iframe,#themestoker-custom-header video,#themestoker-custom-header table{max-width:100%}
}
@media(max-width:560px){
 .ts-header-actions .ts-header-cta{font-size:13px}
 .ts-header-brand img,.ts-header-brand .custom-logo{max-width:min(var(--ts-logo-width),150px)}
}

/* ThemeStoker Pro 2 header/search */
.ts-header-search{position:relative;z-index:1000;padding:14px 0;border-top:1px solid var(--ts-border);background:inherit}
.ts-header-search[hidden]{display:none!important}
.ts-header-search-form{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
.ts-header-search-form input{width:100%;min-height:46px;border:1px solid var(--ts-border);border-radius:8px;padding:0 14px;background:#fff;color:#111}
.ts-header-search-form button{min-height:46px;border:0;border-radius:8px;padding:0 20px;cursor:pointer}
.ts-search-toggle{cursor:pointer;min-width:40px;min-height:40px;border:1px solid var(--ts-border);background:transparent;border-radius:8px}
.site-header.ts-transparent{background:transparent!important}
.site-header.ts-overlay{position:absolute!important;left:0;right:0;top:0;width:100%;z-index:999}
@media(max-width:900px){
 .ts-header-actions{display:flex;align-items:center;gap:8px}
 .ts-header-search{padding:12px 0}
 .ts-header-search-form input{font-size:16px}
}
