/*
Theme Name: China Chem Supplies SEO Pro
Theme URI: https://chinachemsupplies.com/
Author: China Chem Supplies
Description: High-performance, WooCommerce-ready B2B chemical supply theme built to preserve existing URLs while improving UX, internal linking and search visibility.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ccs-seo-pro
License: GPL-2.0-or-later
*/
:root{--ccs-blue:#0b3f78;--ccs-blue2:#0f5aa7;--ccs-green:#6fbe31;--ccs-ink:#14202b;--ccs-muted:#5e6b77;--ccs-bg:#f6f8fb;--ccs-card:#fff;--ccs-border:#e3e9ef;--ccs-radius:16px;--ccs-shadow:0 10px 30px rgba(15,45,75,.08);--ccs-max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ccs-ink);background:#fff;line-height:1.65}img{max-width:100%;height:auto}a{color:var(--ccs-blue2);text-decoration:none}a:hover{text-decoration:underline}.site-container{width:min(var(--ccs-max),calc(100% - 32px));margin-inline: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}.skip-link:focus{position:fixed;top:8px;left:8px;width:auto;height:auto;padding:10px 14px;clip:auto;background:#fff;z-index:9999}.topbar{background:var(--ccs-blue);color:#fff;font-size:13px}.topbar-inner{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.topbar a{color:#fff}.site-header{background:#fff;border-bottom:1px solid var(--ccs-border);position:relative;z-index:20}.header-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:16px 0}.custom-logo-link img,.site-brand img{display:block;max-height:76px;width:auto}.site-title{font-weight:800;color:var(--ccs-blue);font-size:22px}.site-description{font-size:12px;color:var(--ccs-muted)}.primary-nav ul{display:flex;align-items:center;justify-content:center;gap:20px;list-style:none;padding:0;margin:0}.primary-nav a{font-weight:700;color:var(--ccs-ink);font-size:14px}.header-cta{display:inline-flex;align-items:center;justify-content:center;background:var(--ccs-green);color:#fff!important;padding:11px 16px;border-radius:10px;font-weight:800;white-space:nowrap}.mobile-toggle{display:none}.hero{background:linear-gradient(135deg,#eef6ff,#f7fbf4);border-bottom:1px solid var(--ccs-border);padding:64px 0}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center}.eyebrow{display:inline-block;color:var(--ccs-green);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:12px;margin-bottom:12px}.hero h1{font-size:clamp(34px,5vw,58px);line-height:1.08;margin:0 0 18px;color:var(--ccs-blue)}.hero p{font-size:18px;color:var(--ccs-muted);max-width:720px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:12px 18px;font-weight:800;border:1px solid transparent}.btn-primary{background:var(--ccs-blue);color:#fff}.btn-secondary{background:#fff;color:var(--ccs-blue);border-color:var(--ccs-border)}.hero-card{background:#fff;border:1px solid var(--ccs-border);border-radius:var(--ccs-radius);box-shadow:var(--ccs-shadow);padding:28px}.hero-card strong{display:block;font-size:28px;color:var(--ccs-blue)}.section{padding:60px 0}.section-alt{background:var(--ccs-bg)}.section-heading{max-width:780px;margin-bottom:28px}.section-heading h2{font-size:32px;line-height:1.2;margin:0 0 10px;color:var(--ccs-blue)}.section-heading p{color:var(--ccs-muted);margin:0}.grid{display:grid;gap:20px}.grid-4{grid-template-columns:repeat(4,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-2{grid-template-columns:repeat(2,1fr)}.card{background:var(--ccs-card);border:1px solid var(--ccs-border);border-radius:var(--ccs-radius);padding:24px;box-shadow:var(--ccs-shadow)}.card h3{margin:0 0 8px;color:var(--ccs-blue);font-size:20px}.card p{color:var(--ccs-muted);margin:0}.icon-box{font-size:28px;margin-bottom:10px}.product-card{height:100%;display:flex;flex-direction:column}.product-card .product-thumb{aspect-ratio:1/1;display:grid;place-items:center;background:#fff;border-radius:12px;overflow:hidden;margin-bottom:16px}.product-card .product-thumb img{width:100%;height:100%;object-fit:contain}.product-card h3{font-size:18px}.product-card .product-excerpt{font-size:14px;flex:1}.product-card .price{margin-top:12px;font-weight:800;color:var(--ccs-blue)}.product-card .button{margin-top:16px;align-self:flex-start;background:var(--ccs-blue);color:#fff;border-radius:9px;padding:10px 14px;font-weight:800}.breadcrumbs{padding:14px 0;font-size:13px;color:var(--ccs-muted)}.breadcrumbs a{color:var(--ccs-muted)}.page-header{background:var(--ccs-bg);padding:42px 0}.page-header h1{margin:0;color:var(--ccs-blue);font-size:42px;line-height:1.15}.content-wrap{padding:50px 0}.content-wrap h2,.content-wrap h3{color:var(--ccs-blue);line-height:1.25}.content-wrap p,.content-wrap li{color:#34414c}.notice{padding:18px 20px;border-left:4px solid var(--ccs-green);background:#f2f8ec;border-radius:8px}.site-footer{background:#0d1d2d;color:#dbe7f2}.site-footer a{color:#dbe7f2}.footer-main{padding:52px 0}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:30px}.footer-brand img{max-height:70px;background:#fff;border-radius:8px;padding:6px}.footer-title{color:#fff;font-weight:800;margin:0 0 12px}.footer-list{list-style:none;padding:0;margin:0}.footer-list li{margin:7px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0;font-size:13px;color:#b8c8d7}.archive-head{padding:38px 0 20px}.archive-head h1{color:var(--ccs-blue);margin:0}.woocommerce .site-main,.woocommerce-page .site-main{padding-bottom:60px}.single-product .product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:52px;align-items:start}.single-product div.product div.images{width:100%!important;float:none!important}.single-product div.product div.summary{width:100%!important;float:none!important}.single-product div.product .woocommerce-product-gallery__image img{max-height:560px;object-fit:contain}.woocommerce div.product .woocommerce-tabs{margin-top:42px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 20px}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-color:var(--ccs-border);background:#fff}.woocommerce div.product .woocommerce-tabs .panel{padding:20px;border:1px solid var(--ccs-border);border-radius:12px}.woocommerce table.shop_attributes{border-collapse:collapse;width:100%}.woocommerce table.shop_attributes td,.woocommerce table.shop_attributes th{padding:10px;border:1px solid var(--ccs-border)}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px;margin:20px 0!important}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;padding:18px!important;border:1px solid var(--ccs-border);border-radius:var(--ccs-radius);box-shadow:var(--ccs-shadow);background:#fff;display:flex;flex-direction:column}.woocommerce ul.products li.product a img{height:230px;object-fit:contain}.woocommerce ul.products li.product .button{background:var(--ccs-blue);color:#fff;border-radius:8px;text-align:center}.single-product .product{padding:40px 0}.single-product div.product .summary{padding:10px 0}.single-product div.product .product_title{font-size:42px;line-height:1.15;color:var(--ccs-blue)}.single-product div.product .price{color:var(--ccs-blue);font-size:22px;font-weight:800}.single-product div.product .woocommerce-product-details__short-description{color:var(--ccs-muted)}.woocommerce div.product form.cart .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--ccs-blue);color:#fff;border-radius:9px;font-weight:800}.ccs-product-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.ccs-trust-item{border:1px solid var(--ccs-border);padding:14px;border-radius:10px;background:#fff}.ccs-trust-item strong{display:block;color:var(--ccs-blue)}.ccs-related{margin-top:50px}.ccs-related h2{color:var(--ccs-blue)}.ccs-specs{width:100%;border-collapse:collapse;margin:20px 0}.ccs-specs th,.ccs-specs td{border:1px solid var(--ccs-border);padding:10px;text-align:left}.ccs-specs th{background:var(--ccs-bg);color:var(--ccs-blue)}.ccs-cta{background:linear-gradient(135deg,var(--ccs-blue),#124f8d);color:#fff;padding:32px;border-radius:var(--ccs-radius);margin:35px 0}.ccs-cta h2{color:#fff;margin-top:0}.ccs-cta p{color:#e6f0fa}.ccs-cta .btn-secondary{color:var(--ccs-blue)}
@media(max-width:1024px){.header-inner{grid-template-columns:auto auto;justify-content:space-between}.primary-nav{grid-column:1/-1;display:none}.primary-nav.is-open{display:block}.primary-nav ul{flex-direction:column;align-items:flex-start;padding:10px 0}.mobile-toggle{display:inline-flex;justify-self:end;border:1px solid var(--ccs-border);background:#fff;border-radius:8px;padding:9px 12px;font-weight:800}.hero-grid{grid-template-columns:1fr}.grid-4,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.single-product .product-layout{grid-template-columns:1fr}.single-product div.product .woocommerce-product-gallery{margin-bottom:10px!important}.site-container{width:min(var(--ccs-max),calc(100% - 22px))}.topbar-inner{flex-direction:column;gap:2px}.header-inner{padding:12px 0}.custom-logo-link img,.site-brand img{max-height:58px}.header-cta{display:none}.hero{padding:42px 0}.hero h1{font-size:36px}.section{padding:42px 0}.section-heading h2{font-size:28px}.grid-4,.grid-3,.grid-2,.woocommerce ul.products{grid-template-columns:1fr!important}.footer-grid{grid-template-columns:1fr}.ccs-product-trust{grid-template-columns:1fr}.single-product div.product .product_title{font-size:32px}.page-header h1{font-size:34px}}
