/*
Theme Name: MinYing Smart Life
Theme URI: https://minyingsmartlife.com/
Author: MinYing Smart Life
Description: Blue-and-white B2B storefront theme for MinYing Smart Life. Supports WooCommerce.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: minying-smartlife
*/
:root{--blue:#086bd1;--navy:#082746;--pale:#eef7ff;--text:#163653}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto} .wrap{width:min(1200px,92%);margin:auto}
.site-header{background:#fff;position:sticky;top:0;z-index:10;box-shadow:0 2px 10px #1231}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:68px}.brand{font-size:22px;font-weight:800;color:var(--blue)}.brand small{display:block;font-size:11px;color:var(--navy)}.main-nav ul{display:flex;gap:24px;list-style:none;margin:0;padding:0;font-size:13px;font-weight:bold}.header-cta,.btn{display:inline-block;background:var(--blue);color:#fff!important;padding:11px 20px;border-radius:24px;font-weight:bold;font-size:13px}
.hero{padding:54px 20px;text-align:center;background:linear-gradient(90deg,#d9efff,#fff 50%,#d9efff);background-position:center;background-size:cover}.hero .eyebrow{letter-spacing:3px;font-weight:bold;color:#24639b}.hero h1{font-size:clamp(32px,4vw,54px);line-height:1.12;margin:10px 0;color:#082f59}.hero h2{font-size:clamp(17px,2vw,23px);font-weight:500;margin:0 0 22px}.hero-actions{margin-top:24px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.btn.secondary{background:#fff;color:#15558e!important;border:1px solid #8db9df}
.section{padding:32px 0}.section-title{margin:0 0 6px;font-size:25px;color:#123e6b}.muted{color:#637b91}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.category-card{min-height:170px;border-radius:8px;padding:24px;color:white;background:linear-gradient(135deg,#075cae,#092f52);display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}.category-card:nth-child(2){background:linear-gradient(135deg,#3a718c,#173a50)}.category-card:nth-child(3){background:linear-gradient(135deg,#b46c91,#53385d)}.category-card h3{margin:0;font-size:21px}.category-card p{margin:4px 0 12px}.category-card .small-btn{border:1px solid #fff;border-radius:18px;padding:6px 12px;width:max-content;font-size:12px}
.why{background:var(--pale)}.why-grid{display:grid;grid-template-columns:1fr 2fr;gap:24px;align-items:center}.benefit-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.benefit{border-left:1px solid #d5e6f5;text-align:center;padding:10px;font-size:13px;font-weight:bold}.benefit span{display:block;font-size:25px;color:var(--blue);margin-bottom:8px}.benefit small{display:block;font-weight:normal;color:#657b8f;margin-top:5px}
.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.product-card{border:1px solid #e0ebf5;border-radius:7px;overflow:hidden;background:#fff}.product-card img{width:100%;height:150px;object-fit:cover;background:#f2f7fb}.product-card .product-info{padding:12px}.product-card h3{font-size:14px;margin:0 0 6px}.product-card p{font-size:12px;color:#6b8092;margin:0}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stat{background:#f0f7ff;border-radius:7px;padding:15px;text-align:center}.stat strong{display:block;color:var(--blue);font-size:22px}.process{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.process div{padding:15px;background:#f1f7fc;border-radius:7px}.process b{color:var(--blue)}
.site-footer{background:#062541;color:#eaf4ff;padding:30px 0 15px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1.3fr 1fr;gap:22px}.site-footer a{color:#eaf4ff}.site-footer p{font-size:12px;color:#c6d7e6}.copyright{border-top:1px solid #29455e;margin-top:22px;padding-top:12px;font-size:11px;color:#c6d7e6}
.woocommerce ul.products li.product{border:1px solid #e2edf6;border-radius:8px;padding:12px}.woocommerce ul.products li.product img{border-radius:5px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--blue);color:#fff;border-radius:20px}.woocommerce div.product .product_title{color:#123e6b}
@media(max-width:850px){.main-nav{display:none}.category-grid{grid-template-columns:1fr}.why-grid,.about-grid{grid-template-columns:1fr}.benefit-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,1fr)}.process{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.header-inner{min-height:60px}.hero{padding:38px 16px}}

/* Responsive refinements: phone, tablet, laptop */
@media (min-width:851px) and (max-width:1199px){
 .wrap{width:min(1100px,94%)} .main-nav ul{gap:14px;font-size:12px}
 .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .benefit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .hero{padding:46px 18px}
}
@media (max-width:850px){
 .wrap{width:92%}.header-inner{gap:10px;flex-wrap:wrap;padding:10px 0}
 .brand{font-size:18px}.brand small{font-size:10px}
 .header-cta{padding:9px 13px;font-size:12px}
 .hero{padding:34px 14px}.hero h1{font-size:clamp(28px,7vw,42px)}
 .category-grid{grid-template-columns:1fr}.category-card{min-height:145px;padding:20px}
 .why-grid,.about-grid{grid-template-columns:1fr}.benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .product-card img{height:clamp(110px,35vw,180px)}
 .process{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}
 .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important}
}
@media (max-width:480px){
 .header-inner{justify-content:space-between}.brand{max-width:65%}.header-cta{white-space:nowrap}
 .hero-actions{gap:8px}.btn{padding:10px 14px;font-size:12px}
 .section{padding:24px 0}.section-title{font-size:21px}
 .benefit-grid,.stats,.process,.footer-grid{grid-template-columns:1fr}
 .benefit{text-align:left;border-left:0;border-bottom:1px solid #d5e6f5}
 .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
