
/*
Theme Name: Kazi Traders Pro
Theme URI: https://example.com/
Author: Kazi Traders
Description: Lightweight, SEO-friendly WooCommerce-ready business/ecommerce theme for Kazi Traders. Homepage content is editable from Appearance > Customize.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: kazi-traders
*/
:root{
 --kt-primary:#075fe8;
 --kt-primary-dark:#073b78;
 --kt-navy:#062c59;
 --kt-text:#0d2340;
 --kt-muted:#5d6b7d;
 --kt-bg:#f7faff;
 --kt-white:#fff;
 --kt-border:#dfe8f2;
 --kt-radius:14px;
 --kt-shadow:0 8px 30px rgba(15,52,93,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--kt-text);background:#fff;font-family:Inter,Arial,Helvetica,sans-serif;line-height:1.55}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
.container{width:min(1180px,calc(100% - 32px));margin:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.kt-topbar{background:var(--kt-navy);color:#fff;font-size:12px}
.kt-topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.kt-topbar .contact{display:flex;gap:18px;flex-wrap:wrap}
.kt-header{background:#fff;border-bottom:1px solid var(--kt-border);position:relative;z-index:20}
.kt-header-main{min-height:76px;display:grid;grid-template-columns:175px minmax(0,1fr) auto;gap:28px;align-items:center}
.kt-logo img{max-height:58px;width:auto}
.kt-logo-text{font-size:26px;font-weight:800;letter-spacing:.08em;color:var(--kt-primary-dark)}
.kt-logo-sub{font-size:10px;color:#607084;display:block;margin-top:-4px}
.kt-search{display:flex;height:42px;border:1px solid var(--kt-border);border-radius:9px;overflow:hidden;background:#fff}
.kt-search input{border:0;outline:0;flex:1;padding:0 14px;color:var(--kt-text);min-width:0}
.kt-search button{width:52px;border:0;background:var(--kt-primary);color:#fff;cursor:pointer}
.kt-header-actions{display:flex;align-items:center;gap:18px;font-size:13px}
.kt-cart-count{display:inline-flex;min-width:20px;height:20px;border-radius:20px;align-items:center;justify-content:center;background:var(--kt-primary);color:#fff;font-size:11px}
.kt-nav{border-top:1px solid #eef3f8}
.kt-nav-inner{min-height:46px;display:flex;align-items:center;justify-content:center}
.kt-nav ul{list-style:none;padding:0;margin:0;display:flex;gap:28px;align-items:center}
.kt-nav a{font-size:14px;font-weight:700;padding:14px 0;display:block}
.kt-nav a:hover,.kt-nav .current-menu-item>a{color:var(--kt-primary)}
.kt-menu-toggle{display:none;background:none;border:0;font-size:24px}
.kt-hero{background:#eef6ff}
.kt-hero-grid{min-height:460px;display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:20px}
.kt-eyebrow{font-size:13px;font-weight:800;letter-spacing:.18em;color:var(--kt-primary);text-transform:uppercase}
.kt-hero h1{font-size:clamp(38px,4.8vw,66px);line-height:1.02;margin:12px 0 16px;letter-spacing:-.04em}
.kt-hero h1 span{color:var(--kt-primary)}
.kt-hero p{font-size:17px;color:#4f6073;max-width:600px}
.kt-hero-buttons{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap}
.kt-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:12px 20px;font-weight:800;border:1px solid var(--kt-primary);background:var(--kt-primary);color:#fff}
.kt-btn.secondary{background:#fff;color:var(--kt-text);border-color:#b7c8dc}
.kt-hero-image{height:100%;display:flex;align-items:center;justify-content:center}
.kt-hero-image img{max-height:430px;width:100%;object-fit:contain}
.kt-trust{background:#fff;border-top:1px solid var(--kt-border);border-bottom:1px solid var(--kt-border)}
.kt-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:18px 0}
.kt-trust-item{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:800}
.kt-trust-icon{width:34px;height:34px;border-radius:50%;background:#eaf2ff;color:var(--kt-primary);display:grid;place-items:center;font-weight:900}
.kt-section{padding:46px 0}
.kt-section.alt{background:var(--kt-bg)}
.kt-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.kt-section-head h2{font-size:30px;line-height:1.15;margin:0}
.kt-section-head a{font-weight:800;color:var(--kt-primary)}
.kt-solutions{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.kt-solution{border:1px solid var(--kt-border);border-radius:12px;overflow:hidden;background:#fff;transition:.2s}
.kt-solution:hover{transform:translateY(-2px);box-shadow:var(--kt-shadow)}
.kt-solution-img{aspect-ratio:1.35;display:grid;place-items:center;background:#f3f7fc}
.kt-solution-img img{width:100%;height:100%;object-fit:contain}
.kt-solution-body{padding:12px}
.kt-solution h3{font-size:15px;margin:0 0 3px}
.kt-solution p{font-size:12px;color:var(--kt-muted);margin:0}
.kt-products{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.kt-product{background:#fff;border:1px solid var(--kt-border);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.kt-product-image{aspect-ratio:1.25;background:#fff;display:grid;place-items:center}
.kt-product-image img{width:100%;height:100%;object-fit:contain;padding:12px}
.kt-product-body{padding:14px;display:flex;flex-direction:column;flex:1}
.kt-product h3{font-size:15px;margin:0 0 6px}
.kt-product-meta{font-size:12px;color:var(--kt-muted);margin-bottom:12px}
.kt-product-actions{margin-top:auto;display:flex;gap:8px}
.kt-product-actions .kt-btn{padding:9px 10px;font-size:12px;flex:1}
.kt-brands{display:grid;grid-template-columns:repeat(8,1fr);gap:12px;align-items:center}
.kt-brand{height:64px;border:1px solid var(--kt-border);border-radius:10px;background:#fff;display:grid;place-items:center;padding:10px}
.kt-brand img{max-height:40px;max-width:100%;object-fit:contain}
.kt-values{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.kt-value{border:1px solid var(--kt-border);border-radius:12px;padding:18px;background:#fff}
.kt-value-icon{font-size:24px;color:var(--kt-primary)}
.kt-value h3{font-size:15px;margin:8px 0 4px}
.kt-value p{font-size:12px;color:var(--kt-muted);margin:0}
.kt-cta{background:linear-gradient(100deg,#062c59,#075fe8);color:#fff;border-radius:16px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.kt-cta h2{margin:0 0 6px;font-size:28px}
.kt-cta p{margin:0;color:#dcecff}
.kt-cta .kt-btn{background:#fff;color:var(--kt-navy);border-color:#fff}
.kt-footer{background:#062c59;color:#dce8f6;margin-top:45px}
.kt-footer-main{padding:44px 0 32px;display:grid;grid-template-columns:1.35fr 1fr 1fr 1.25fr;gap:34px}
.kt-footer h3{color:#fff;font-size:14px;margin:0 0 14px}
.kt-footer p,.kt-footer li,.kt-footer a{font-size:13px;color:#b9cce0}
.kt-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.kt-footer-brand{font-size:25px;font-weight:900;color:#fff;letter-spacing:.08em}
.kt-footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding:14px 0;font-size:12px;display:flex;justify-content:space-between;gap:10px}
.kt-mobile-bottom{display:none}
.kt-whatsapp{position:fixed;right:22px;bottom:22px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#25D366;color:#fff;z-index:100;box-shadow:0 8px 22px rgba(0,0,0,.18);font-size:24px}
.woocommerce .site-main,.woocommerce-page .site-main{padding:35px 0}
.woocommerce ul.products{margin:0!important}
/* v1.1.0: compact Shop by Solution cards */
.kt-section#solutions{padding-top:38px;padding-bottom:38px}
.kt-section#solutions .kt-section-head{margin-bottom:14px}
.kt-section#solutions .kt-section-head h2{font-size:26px}
.kt-solutions{gap:10px}
.kt-solution{border-radius:10px}
.kt-solution-img{aspect-ratio:1.55}
.kt-solution-body{padding:9px 10px 10px}
.kt-solution h3{font-size:13px;line-height:1.25;margin:0 0 4px}
.kt-solution p{font-size:10.5px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}

@media(max-width:1050px){
 .kt-header-main{grid-template-columns:160px minmax(0,1fr) auto;gap:18px}
 .kt-nav ul{gap:18px}
 .kt-solutions{grid-template-columns:repeat(3,1fr)}
 .kt-products{grid-template-columns:repeat(3,1fr)}
 .kt-brands{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:760px){
 .container{width:min(100% - 24px,600px)}
 .kt-topbar{display:none}
 .kt-header-main{min-height:64px;grid-template-columns:auto minmax(0,1fr) auto;gap:10px}
 .kt-logo img{max-height:42px}
 .kt-logo-text{font-size:19px}
 .kt-logo-sub{display:none}
 .kt-search{grid-column:1/-1;grid-row:2;height:40px}
 .kt-header-main{padding:9px 0 10px}
 .kt-header-actions .label{display:none}
 .kt-header-actions{gap:8px}
 .kt-nav{display:none}
 .kt-menu-toggle{display:block}
 .kt-hero-grid{grid-template-columns:1fr;min-height:auto;padding:34px 0 0}
 .kt-hero-copy{order:1}
 .kt-hero-image{order:2;min-height:235px}
 .kt-hero h1{font-size:39px}
 .kt-hero p{font-size:14px}
 .kt-hero-buttons .kt-btn{flex:1}
 .kt-trust-grid{grid-template-columns:repeat(2,1fr);gap:10px;padding:13px 0}
 .kt-trust-item{font-size:11px}
 .kt-trust-icon{width:30px;height:30px;min-width:30px}
 .kt-section{padding:32px 0}
 .kt-section#solutions{padding-top:28px;padding-bottom:28px}
 .kt-section-head{margin-bottom:14px}
 .kt-section-head h2{font-size:22px}
 .kt-solutions{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:1px 0 6px}
 .kt-solutions::-webkit-scrollbar{display:none}
 .kt-solution{flex:0 0 calc((100% - 10px)/2);min-width:calc((100% - 10px)/2);scroll-snap-align:start}
 .kt-solution-img{aspect-ratio:1.45}
 .kt-solution-body{padding:8px 9px 9px}
 .kt-solution h3{font-size:12.5px;line-height:1.25;margin-bottom:3px}
 .kt-solution p{font-size:10px;line-height:1.35;-webkit-line-clamp:4}
 .kt-products{grid-template-columns:repeat(2,1fr);gap:10px}
 .kt-product-body{padding:10px}
 .kt-product h3{font-size:13px}
 .kt-product-actions{flex-direction:column}
 .kt-product-actions .kt-btn{width:100%}
 .kt-brands{grid-template-columns:repeat(4,1fr);gap:7px}
 .kt-brand{height:54px;padding:7px}
 .kt-values{grid-template-columns:repeat(2,1fr);gap:9px}
 .kt-value{padding:12px}
 .kt-cta{padding:22px;display:block}
 .kt-cta h2{font-size:22px}
 .kt-cta .kt-btn{margin-top:15px;width:100%}
 .kt-footer-main{grid-template-columns:1fr;padding:34px 0 22px;gap:0}
 .kt-footer-col{border-bottom:1px solid rgba(255,255,255,.14);padding:15px 0}
 .kt-footer-col h3{margin:0;cursor:pointer;display:flex;justify-content:space-between}
 .kt-footer-col h3:after{content:'+'}
 .kt-footer-col.is-open h3:after{content:'−'}
 .kt-footer-col .footer-content{display:none;padding-top:12px}
 .kt-footer-col.is-open .footer-content{display:block}
 .kt-footer-bottom{padding-bottom:78px;display:block;text-align:center}
 .kt-mobile-bottom{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;height:58px;background:#fff;border-top:1px solid var(--kt-border);z-index:90;box-shadow:0 -5px 20px rgba(0,0,0,.08)}
 .kt-mobile-bottom a{display:grid;place-items:center;font-size:10px;color:#607084}
 .kt-mobile-bottom a strong{font-size:19px;line-height:18px;color:var(--kt-text)}
 .kt-whatsapp{width:40px;height:40px;right:13px;bottom:70px;font-size:20px}
}

/* v1.0.4 default editable brand/machine imagery */
.kt-logo img{display:block;max-width:205px;width:auto;height:auto;max-height:58px;object-fit:contain}
.kt-hero-image img{display:block;width:100%;height:100%;object-fit:cover}
.kt-solution-img img{display:block;width:100%;height:100%;object-fit:contain}
.kt-brand img{display:block;max-width:100%;max-height:38px;width:auto;height:auto;object-fit:contain}
.kt-footer-brand img{display:block;width:190px;max-width:100%;height:auto;max-height:55px;object-fit:contain;object-position:left center}

/* v1.0.6: tighter desktop logo/search spacing; preserve mobile two-row header */
@media(min-width:1060px){.kt-header-main{grid-template-columns:175px minmax(0,1fr) auto;column-gap:28px}.kt-logo{justify-self:start}.kt-search{width:100%;min-width:0}}
@media(min-width:761px) and (max-width:1059px){.kt-header-main{grid-template-columns:160px minmax(0,1fr) auto;column-gap:18px}}
@media(max-width:760px){.kt-header-main{grid-template-columns:auto minmax(0,1fr) auto}.kt-search{grid-column:1/-1;grid-row:2}}

/* v1.0.7: mobile logo sizing fix */
@media(max-width:760px){.kt-logo img{max-width:180px!important;max-height:40px!important;width:auto!important;height:auto!important}.kt-logo{display:flex;align-items:center;min-width:0}.kt-header-main{align-items:center}}


/* Single product Buy Now button */
.kt-buy-now-single{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-left:8px;padding:11px 18px;border-radius:5px;background:#075fe8;color:#fff!important;font-weight:700;text-decoration:none!important;line-height:1;vertical-align:middle;transition:.2s ease}
.kt-buy-now-single:hover{background:#064fbe;color:#fff!important}
@media(max-width:760px){.kt-buy-now-single{margin-left:6px;padding:10px 14px;font-size:14px}}
