:root{
  --kchm-yellow:#f6b800;--kchm-yellow-dark:#d99f00;--kchm-black:#151515;
  --kchm-text:#222;--kchm-muted:#6c7077;--kchm-bg:#f5f6f7;--kchm-line:#e5e7eb;
  --kchm-radius:18px;--kchm-shadow:0 14px 45px rgba(20,20,20,.08);
}
html{scroll-behavior:smooth}
body{font-family:Arial,"Helvetica Neue",sans-serif!important;color:var(--kchm-text);background:#fff}
#top{display:none!important}
header{background:#fff;border-bottom:1px solid var(--kchm-line);position:relative;z-index:20}
.kchm-header{max-width:1320px;margin:auto;padding:20px 22px;display:flex;align-items:center;gap:24px}
.kchm-brand{display:flex;align-items:center;text-decoration:none!important;color:var(--kchm-black)!important;min-width:230px}
.kchm-brand-mark{width:13px;height:42px;background:var(--kchm-yellow);display:inline-block;transform:skew(-12deg);margin-right:12px;border-radius:3px}
.kchm-brand-name{font-weight:900;font-size:30px;line-height:.9;letter-spacing:-1.4px}
.kchm-brand-sub{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.45px;color:#707070;font-weight:700;margin-top:5px}
.kchm-search{display:flex;flex:1;max-width:550px;margin-left:auto}
.kchm-search input{width:100%;border:1px solid #d7d9dc;border-right:0;border-radius:12px 0 0 12px;padding:12px 15px;outline:none}
.kchm-search button{border:0;background:var(--kchm-black);color:#fff;padding:0 18px;border-radius:0 12px 12px 0}
.kchm-head-actions{display:flex;align-items:center;gap:10px}
.kchm-lang{display:flex;padding:4px;background:#f1f2f3;border-radius:10px}
.kchm-lang a{padding:7px 9px;text-decoration:none;color:#555;font-size:12px;font-weight:800;border-radius:7px}
.kchm-lang a.active{background:#fff;color:#111;box-shadow:0 2px 7px rgba(0,0,0,.08)}
.kchm-phone{font-weight:900;text-decoration:none!important;color:#171717!important;white-space:nowrap}
.kchm-head-cta,.kchm-btn-primary,.kchm-btn-dark,.kchm-btn-outline{border-radius:11px!important;padding:11px 17px!important;font-weight:800!important;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent!important}
.kchm-head-cta,.kchm-btn-primary{background:var(--kchm-yellow)!important;color:#111!important}
.kchm-head-cta:hover,.kchm-btn-primary:hover{background:#ffc928!important}
.kchm-btn-dark{background:#171717!important;color:#fff!important}
.kchm-btn-outline{background:#fff!important;border-color:#cfd2d6!important;color:#222!important}
#menu{background:#171717!important;border:0!important;border-radius:0!important;margin:0!important;min-height:auto!important}
#menu .container{max-width:1320px!important}
#menu .nav{display:flex!important;flex-wrap:wrap!important;gap:0!important}
#menu .nav>li>a{color:#fff!important;text-shadow:none!important;padding:13px 14px!important;font-size:13px!important;font-weight:700!important}
#menu .nav>li>a:hover{background:#292929!important;color:var(--kchm-yellow)!important}
.breadcrumb{background:transparent!important;padding:18px 0!important;margin-bottom:10px!important;border-bottom:1px solid var(--kchm-line)}
.breadcrumb a{color:#575b61!important;text-decoration:none}
.container{max-width:1320px!important}
#common-home.container{max-width:none!important;padding:0!important}
#common-home>.row{margin:0!important}
#common-home #content{padding:0!important;width:100%!important}
.kchm-home{overflow:hidden}
.kchm-hero{background:#111;min-height:540px;position:relative;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;color:#fff}
.kchm-hero-copy{max-width:700px;margin-left:max(32px,calc((100vw - 1320px)/2 + 22px));padding:70px 30px 70px 0;position:relative;z-index:2}
.kchm-eyebrow{display:inline-flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:1.5px;font-weight:900;font-size:12px;color:var(--kchm-yellow);margin-bottom:17px}
.kchm-hero h1{font-size:58px;line-height:1.02;letter-spacing:-2px;font-weight:900;margin:0 0 18px}
.kchm-hero p{font-size:19px;line-height:1.6;color:#d1d3d5;max-width:630px;margin-bottom:28px}
.kchm-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.kchm-hero-media{height:100%;min-height:540px;position:relative;background:#f5b800}
.kchm-hero-media:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#111 0,rgba(17,17,17,.35) 18%,rgba(17,17,17,0) 45%);z-index:1}
.kchm-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center}
.kchm-stats{background:#fff;border-bottom:1px solid var(--kchm-line)}
.kchm-stats-inner{max-width:1320px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);padding:24px 22px}
.kchm-stat{padding:7px 28px;border-right:1px solid var(--kchm-line)}
.kchm-stat:first-child{padding-left:0}.kchm-stat:last-child{border:0}
.kchm-stat strong{font-size:21px;display:block}.kchm-stat span{color:var(--kchm-muted);font-size:13px}
.kchm-section{padding:72px 22px;max-width:1320px;margin:auto}
.kchm-section.alt{max-width:none;background:var(--kchm-bg)}
.kchm-section.alt>.kchm-inner{max-width:1320px;margin:auto}
.kchm-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}
.kchm-section h2{font-size:38px;line-height:1.1;font-weight:900;letter-spacing:-1px;margin:0}
.kchm-section-head p{max-width:600px;color:var(--kchm-muted);margin:0}
.kchm-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.kchm-cat{position:relative;min-height:170px;background:#fff;border:1px solid var(--kchm-line);border-radius:var(--kchm-radius);padding:24px;text-decoration:none!important;color:#181818!important;transition:.2s;overflow:hidden}
.kchm-cat:hover{transform:translateY(-3px);box-shadow:var(--kchm-shadow);border-color:#d8d8d8}
.kchm-cat b{font-size:19px;display:block;max-width:190px}.kchm-cat span{font-size:12px;color:#777;display:block;margin-top:8px}
.kchm-cat:after{content:"→";position:absolute;right:20px;bottom:18px;font-size:24px;color:#111}
.kchm-cat:before{content:"";width:80px;height:80px;border-radius:50%;background:var(--kchm-yellow);position:absolute;right:-28px;top:-28px}
.kchm-products{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.kchm-home-product{background:#fff;border:1px solid var(--kchm-line);border-radius:var(--kchm-radius);overflow:hidden;text-decoration:none!important;color:#111!important;transition:.2s}
.kchm-home-product:hover{transform:translateY(-3px);box-shadow:var(--kchm-shadow)}
.kchm-home-product img{width:100%;height:245px;object-fit:cover;background:#f3f3f3}
.kchm-home-product-body{padding:20px}
.kchm-home-product small{color:#777;text-transform:uppercase;font-weight:800;letter-spacing:.6px}
.kchm-home-product strong{font-size:23px;display:block;margin:5px 0 12px}
.kchm-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.kchm-service{background:#171717;color:#fff;border-radius:var(--kchm-radius);padding:30px;min-height:230px;position:relative;overflow:hidden}
.kchm-service:nth-child(2){background:var(--kchm-yellow);color:#111}
.kchm-service h3{font-weight:900;font-size:25px;margin:0 0 12px}
.kchm-service p{opacity:.78;line-height:1.55}.kchm-service a{position:absolute;bottom:28px;left:30px;color:inherit;font-weight:900;text-decoration:none}
.kchm-dealer{background:#111;color:#fff;border-radius:26px;padding:52px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px}
.kchm-dealer h2{color:#fff}.kchm-dealer p{color:#c9c9c9;max-width:750px;font-size:17px;line-height:1.6}
.kchm-dealer-actions{display:flex;flex-direction:column;gap:10px;min-width:220px}

/* Existing category/product pages */
#product-category h1,#product-product h1{font-weight:900!important;letter-spacing:-.7px}
#product-category .btn-primary,#product-category button[formaction*="compare"],
#product-category a[href*="compare"],#product-category .button-group,
.product-thumb .button-group{display:none!important}
.product-thumb{height:100%;border:1px solid var(--kchm-line)!important;border-radius:16px!important;overflow:hidden;background:#fff!important;box-shadow:none!important;transition:.2s;padding-bottom:18px}
.product-thumb:hover{box-shadow:var(--kchm-shadow)!important;transform:translateY(-2px)}
.product-thumb .image{background:#f7f7f7!important;padding:0!important}
.product-thumb .image img{width:100%!important;aspect-ratio:4/3!important;object-fit:cover!important}
.product-thumb .content,.product-thumb .caption{padding:18px!important}
.product-thumb h4,.product-thumb h3{font-weight:900!important;font-size:21px!important;line-height:1.2!important}
.product-thumb .description{color:#656b72!important;font-size:13px!important;line-height:1.55!important;max-height:64px;overflow:hidden}
.product-thumb .price{display:none!important}
.kchm-card-actions{display:flex;gap:8px;padding:0 18px}
.kchm-card-actions a{flex:1;font-size:13px}
#column-left .list-group{border:1px solid var(--kchm-line);border-radius:14px;overflow:hidden}
#column-left .list-group-item{border:0!important;border-bottom:1px solid #eee!important;padding:12px 14px!important}
#column-left .list-group-item.active{background:#171717!important;color:#fff!important}
#product-product .price,#product-product .price-new,#product-product .price-old,#product-product #button-cart,
#product-product input[name="quantity"],#product-product label[for*="quantity"]{display:none!important}
#product-product .nav-tabs{border-bottom:2px solid #eee}
#product-product .nav-tabs .nav-link.active{border-color:transparent transparent var(--kchm-yellow)!important;border-bottom-width:3px!important;font-weight:900}
.kchm-product-actions{background:#f6f7f8;border:1px solid var(--kchm-line);border-radius:16px;padding:20px;margin:20px 0}
.kchm-product-actions .kchm-actions-row{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.kchm-trust{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.kchm-trust span{font-size:12px;font-weight:800;background:#fff;border:1px solid #ddd;border-radius:999px;padding:7px 10px}
.kchm-proposal{position:fixed;left:-99999px;top:0;width:794px;background:#fff;color:#111;font-family:Arial,sans-serif;padding:42px}
.kchm-proposal .proposal-top{display:flex;justify-content:space-between;align-items:start;border-bottom:5px solid var(--kchm-yellow);padding-bottom:18px}
.kchm-proposal .proposal-brand{font-weight:900;font-size:30px}.kchm-proposal .proposal-brand span{color:#d99900}
.kchm-proposal h1{font-size:30px;margin:25px 0 12px}.kchm-proposal img{max-width:100%;max-height:330px;object-fit:contain;display:block;margin:auto}
.kchm-proposal table{width:100%;border-collapse:collapse;margin-top:20px}.kchm-proposal td,.kchm-proposal th{border-bottom:1px solid #ddd;padding:9px;text-align:left}
.kchm-proposal .proposal-footer{margin-top:30px;padding-top:16px;border-top:1px solid #ddd;font-size:13px;color:#555}

/* Compact footer */
footer{background:#151515!important;color:#ddd!important;margin-top:70px!important;padding:0!important}
.kchm-footer{max-width:1320px;margin:auto;padding:54px 22px 26px}
.kchm-footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:45px}
.kchm-footer h4{font-size:14px;text-transform:uppercase;letter-spacing:.9px;color:#fff;font-weight:900;margin-bottom:14px}
.kchm-footer a{color:#bfc2c5!important;text-decoration:none!important;display:block;margin:8px 0}.kchm-footer a:hover{color:var(--kchm-yellow)!important}
.kchm-footer-brand{font-size:26px;font-weight:900;color:#fff}.kchm-footer-brand span{color:var(--kchm-yellow)}
.kchm-footer-copy{border-top:1px solid #333;margin-top:36px;padding-top:20px;font-size:12px;color:#8f9296;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}
.kchm-legal-note{font-size:11px;color:#888;margin-top:10px}

/* Hide ecommerce-only UI globally */
a[href*="checkout/cart"],a[href*="checkout/checkout"],a[href*="account/wishlist"],
a[href*="account/account"],a[href*="product/compare"],#cart,.btn[formaction*="checkout/cart"]{display:none!important}

/* Lead modal */
.kchm-modal{position:fixed;inset:0;background:rgba(0,0,0,.64);display:none;align-items:center;justify-content:center;padding:20px;z-index:99999}
.kchm-modal.open{display:flex}
.kchm-modal-box{background:#fff;border-radius:18px;max-width:480px;width:100%;padding:28px;box-shadow:0 25px 80px rgba(0,0,0,.35)}
.kchm-modal-close{float:right;border:0;background:transparent;font-size:25px}.kchm-modal h3{font-size:26px;font-weight:900}
.kchm-modal p{color:#676b70;line-height:1.55}.kchm-modal-actions{display:grid;gap:10px;margin-top:18px}

@media(max-width:991px){
  .kchm-header{flex-wrap:wrap}.kchm-brand{min-width:auto}.kchm-search{order:3;max-width:none;width:100%}
  .kchm-phone{display:none}.kchm-hero{grid-template-columns:1fr}.kchm-hero-media{min-height:360px;order:-1}
  .kchm-hero-copy{margin:0;padding:45px 24px}.kchm-hero h1{font-size:44px}
  .kchm-stats-inner{grid-template-columns:repeat(2,1fr)}.kchm-stat:nth-child(2){border-right:0}
  .kchm-grid{grid-template-columns:repeat(2,1fr)}.kchm-products{grid-template-columns:repeat(2,1fr)}
  .kchm-service-grid{grid-template-columns:1fr}.kchm-dealer{grid-template-columns:1fr}
  .kchm-footer-grid{grid-template-columns:repeat(2,1fr)}
  #column-left{display:none!important}
}
@media(max-width:620px){
  .kchm-header{padding:14px 16px;gap:12px}.kchm-brand-name{font-size:25px}.kchm-head-cta{display:none}
  #menu .nav{flex-wrap:nowrap!important;overflow-x:auto!important}#menu .nav>li{flex:0 0 auto}
  .kchm-hero h1{font-size:36px}.kchm-hero-media{min-height:280px}
  .kchm-stats-inner,.kchm-grid,.kchm-products,.kchm-footer-grid{grid-template-columns:1fr}
  .kchm-stat{border-right:0;border-bottom:1px solid var(--kchm-line);padding:13px 0}
  .kchm-section{padding:52px 16px}.kchm-section h2{font-size:31px}
  .kchm-dealer{padding:30px 22px}.kchm-product-actions .kchm-actions-row{grid-template-columns:1fr}
}


/* v3.2 visual/commerce cleanup */
.kchm-hero h1{color:#fff!important}
.kchm-service h3{color:inherit!important}
.kchm-service:nth-child(2) h3{color:#171717!important}
.kchm-home-product img{display:block}
.kchm-card-actions{align-items:stretch}
.kchm-card-actions .kchm-btn-primary,.kchm-card-actions .kchm-btn-dark{min-height:44px;white-space:nowrap;padding:10px 12px!important}
.kchm-route-listing .product-thumb button:not(.kchm-btn-primary):not(.kchm-btn-dark),
.kchm-route-listing .product-thumb a[href*="wishlist"],
.kchm-route-listing .product-thumb a[href*="compare"],
.kchm-route-listing .product-thumb a[href*="checkout/cart"]{display:none!important}
.kchm-route-product #button-cart,
.kchm-route-product button[id*="button-cart"],
.kchm-route-product input[name="quantity"],
.kchm-route-product a[href*="account/wishlist"],
.kchm-route-product a[href*="product/compare"],
.kchm-route-product button[formaction*="account/wishlist"],
.kchm-route-product button[formaction*="product/compare"],
.kchm-route-product button[formaction*="checkout/cart"]{display:none!important}
.kchm-route-product .rating{display:none!important}
@media(max-width:1200px){
  .kchm-header{gap:14px}.kchm-brand{min-width:210px}.kchm-search{max-width:430px}
  #menu .nav>li>a{padding:12px 10px!important;font-size:12px!important}
}


/* v3.3: robust homepage media resolved from the actual OpenCart product pages */
.kchm-home-product img[data-kchm-product-image],.kchm-hero-media img[data-kchm-product-image]{background:linear-gradient(110deg,#eceff1 25%,#f8f8f8 40%,#eceff1 55%);background-size:220% 100%;animation:kchmShimmer 1.25s linear infinite;color:transparent}
.kchm-home-product img[data-kchm-product-image].loaded,.kchm-hero-media img[data-kchm-product-image].loaded{animation:none;background:#f3f3f3}
.kchm-home-product img[data-kchm-product-image].failed{min-height:245px}
.kchm-hero-media img[data-kchm-product-image].failed{opacity:0}
@keyframes kchmShimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}


/* v3.4: official LiuGong + KCHM dual-brand lockup */
.kchm-brand{min-width:310px;flex-direction:column;align-items:flex-start;gap:5px}
.kchm-brand-logos{display:flex;align-items:center;gap:12px;min-height:38px}
.kchm-brand-liugong{width:142px;height:auto;display:block;object-fit:contain}
.kchm-brand-divider{width:1px;height:34px;background:#d8d8d8;display:block}
.kchm-brand-kchm{width:103px;height:auto;display:block;object-fit:contain}
.kchm-brand-sub{font-size:9px;letter-spacing:1.15px;margin:0;color:#727272;padding-left:1px}
.kchm-brand-mark,.kchm-brand-name{display:none!important}
.kchm-footer-brandcard{display:inline-flex;align-items:center;gap:13px;background:#fff;border-radius:12px;padding:10px 13px;margin-bottom:15px;max-width:315px}
.kchm-footer-brandcard>span{width:1px;height:31px;background:#d8d8d8}
.kchm-footer-liugong{width:137px;height:auto;display:block}
.kchm-footer-kchm{width:94px;height:auto;display:block}
@media(max-width:1200px){
  .kchm-brand{min-width:270px}.kchm-brand-liugong{width:124px}.kchm-brand-kchm{width:88px}.kchm-search{max-width:390px}
}
@media(max-width:991px){
  .kchm-brand{min-width:auto}.kchm-brand-liugong{width:126px}.kchm-brand-kchm{width:90px}
}
@media(max-width:620px){
  .kchm-brand-logos{gap:8px}.kchm-brand-liugong{width:108px}.kchm-brand-kchm{width:76px}.kchm-brand-divider{height:28px}
  .kchm-brand-sub{font-size:8px;letter-spacing:.7px}.kchm-footer-brandcard{max-width:280px}.kchm-footer-liugong{width:120px}.kchm-footer-kchm{width:82px}
}
