/*
Theme Name: Zhefeng Electric B2B
Author: Zhefeng Website Project
Description: Responsive English B2B catalog theme for Zhefeng Electric.
Version: 3.0
Requires PHP: 7.4
*/
:root{--navy:#09182d;--blue:#2875ed;--muted:#607187}*{box-sizing:border-box}body{margin:0;font:16px/1.65 system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#152238;background:#f5f7fa}a{text-decoration:none;color:inherit}.wrap{max-width:1180px;margin:auto;padding:0 24px}.top{background:#081629;color:white;position:sticky;top:0;z-index:20}.nav{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:18px}.brand{font-weight:900;font-size:24px;letter-spacing:1px}.brand span{color:#68a9ff}.links{display:flex;align-items:center;gap:26px;font-size:14px}.btn{display:inline-block;background:var(--blue);color:white;padding:12px 22px;border-radius:5px;font-weight:700}.btn.alt{background:transparent;border:1px solid #8294b0}.hero{background:linear-gradient(110deg,#08172d 0%,#102e51 65%,#16427a 100%);color:white;padding:105px 0 95px}.eyebrow{text-transform:uppercase;color:#7bb7ff;font-weight:700;font-size:13px;letter-spacing:2px}.hero h1{font-size:clamp(36px,5vw,65px);line-height:1.12;max-width:820px;margin:20px 0}.hero p{max-width:650px;color:#c9d6e6;font-size:19px}.hero .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.section{padding:75px 0}.section h2{font-size:36px;line-height:1.2;margin:8px 0 14px}.sub{color:var(--muted);max-width:760px;margin-bottom:30px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{background:white;border:1px solid #e5eaf0;border-radius:9px;overflow:hidden;box-shadow:0 5px 20px #15223808}.card img{width:100%;aspect-ratio:1/1;object-fit:contain;background:white}.card .body{padding:18px}.card h3{font-size:18px;line-height:1.35;margin:0 0 7px}.card p{font-size:13px;color:var(--muted);margin:0}.dark{background:#0d213b;color:white}.dark .sub{color:#b3c5dc}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.feature{padding:24px;border:1px solid #3c5470;border-radius:8px}.feature h3{margin:0 0 8px}.feature p{color:#c3d1e1;margin:0}.footer{background:#061222;color:#b7c8db;padding:42px 0}.footer strong{color:white}.contact{display:flex;gap:15px;flex-wrap:wrap}.pagehead{background:#0d213b;color:white;padding:65px 0}.pagehead h1{font-size:44px;margin:0}.page{min-height:48vh}.whatsapp{position:fixed;bottom:20px;right:20px;background:#1fba66;color:white;padding:13px 18px;border-radius:30px;font-weight:700;box-shadow:0 8px 22px #0003;z-index:25}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.features{grid-template-columns:1fr}.links{gap:12px;flex-wrap:wrap}.nav{padding:16px 0;align-items:flex-start;flex-direction:column}.hero{padding:65px 0}}@media(max-width:520px){.grid{grid-template-columns:1fr}.section{padding:50px 0}.hero p{font-size:16px}.section h2{font-size:29px}.links{font-size:12px}.links .btn{padding:8px 10px}}

/* V2 refinements */
body{font-size:17px}.nav{min-height:76px}.brand{font-size:25px}.links{font-size:15px}.pagehead{padding:76px 0;background:linear-gradient(120deg,#0b1d35,#12365b)}.pagehead h1{font-size:clamp(40px,5vw,60px);line-height:1.13;margin:12px 0}.pagehead p{color:#c7d8eb;font-size:18px;max-width:720px}.section h2{font-size:clamp(28px,3.2vw,40px)}.section-intro{display:flex;justify-content:space-between}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:26px 0 30px}.filter{font:600 14px system-ui,Arial,sans-serif;padding:12px 18px;border:1px solid #d7e0ed;border-radius:30px;background:white;color:#243a56;cursor:pointer}.filter.active,.filter:hover{background:#226ce4;color:white;border-color:#226ce4}.card{transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 12px 32px #15223816}.card[hidden]{display:none!important}.card-photo{display:flex;height:242px;align-items:center;justify-content:center;background:#fff;padding:16px}.card-photo img{width:100%;height:100%;object-fit:contain;aspect-ratio:auto}.card .body{padding:20px}.product-type{font-size:12px;color:#617893;display:block;margin-bottom:8px}.card h3{font-size:18px;min-height:44px}.card-actions{border-top:1px solid #edf1f6;padding-top:13px;margin-top:16px;display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:700;color:#1f68cc}.hero{padding:92px 0;background:linear-gradient(115deg,#071528,#112c4d)}.hero-layout{display:grid;grid-template-columns:1.35fr .85fr;gap:52px;align-items:center}.hero h1{font-size:clamp(38px,4.5vw,61px)}.hero h1 em{font-style:normal;color:#7db8ff}.hero-product{background:#fff;border-radius:16px;padding:22px;box-shadow:0 24px 55px #0003}.hero-product img{display:block;width:100%;height:280px;object-fit:contain}.hero-product span{display:block;text-align:center;color:#4a6280;font-size:11px;font-weight:800;letter-spacing:1.5px}.btn.outline{background:transparent;border:1px solid #8da4c0;color:inherit}.section-bottom{margin-top:30px}.detail{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.detail-image{background:#fff;border:1px solid #e4eaf1;border-radius:14px;padding:30px}.detail-image img{display:block;width:100%;height:440px;object-fit:contain}.detail h1{font-size:clamp(32px,4vw,48px);margin:12px 0}.detail .lead{font-size:22px;color:#385777}.detail p{color:#52657b}.detail .actions{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0}.detail .outline,.contact-panel .outline{color:#173451;border-color:#8da4c0}.note{padding:16px;border-left:3px solid #2875ed;background:#eaf0f8;color:#53677e;font-size:14px}.crumb{font-size:14px;color:#61758c;margin-bottom:30px}.about-copy{max-width:850px}.about-copy p{font-size:18px;color:#53677e;margin-bottom:38px}.contact-panel{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.contact-links{display:flex;flex-direction:column;gap:12px}.contact-links .btn{text-align:center}.cta{display:flex;align-items:center;justify-content:space-between;gap:30px}.cta p{color:#63758b}@media(max-width:950px){.hero-layout,.detail,.contact-panel{grid-template-columns:1fr}.hero-product{max-width:450px}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:550px){.grid{grid-template-columns:1fr}.card-photo{height:260px}.hero{padding:60px 0}.hero-product img{height:220px}.detail-image img{height:300px}.cta{align-items:flex-start;flex-direction:column}.links{gap:14px}.brand{font-size:22px}}

/* V3 home hero banner: preserve entire artwork without clipping */
.zf-banner{width:100%;margin:0;background:#082344;line-height:0}.zf-banner-link{display:block;width:100%;cursor:pointer}.zf-banner img{display:block;width:100%;height:auto;object-fit:contain}.zf-banner-link:focus-visible{outline:4px solid #75b7ff;outline-offset:-4px}
