/*
Theme Name: WQH Mobility
Theme URI: https://wqhauto.com/
Author: WQH Mobility
Description: Custom block theme for WQH Mobility, an international B2B auto parts supplier.
Version: 1.0.6
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: wqh-mobility
*/

:root{--wqh-blue:#0b5fff;--wqh-navy:#0a2342;--wqh-ink:#101827;--wqh-muted:#5f6b7a;--wqh-line:#e5eaf0;--wqh-soft:#f5f8fc;--wqh-white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--wqh-ink);background:#fff;font-family:Inter,Arial,Helvetica,sans-serif}.wp-site-blocks{padding:0}a{text-decoration:none}.wqh-wrap{max-width:1180px;margin:0 auto;padding:0 28px}.wqh-section{padding:72px 0}.wqh-section--soft{background:var(--wqh-soft)}.wqh-title{font-size:34px;line-height:1.15;margin:0 0 14px}.wqh-subtitle{color:var(--wqh-muted);font-size:17px;line-height:1.7;max-width:760px}.wqh-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:700;color:var(--wqh-blue)}
.wqh-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--wqh-line)}.wqh-header-inner{max-width:1280px;margin:auto;padding:13px 18px 11px 10px;display:flex;align-items:center;gap:38px}.wqh-brand{display:flex;align-items:center;flex:0 0 auto;transform:translate(-8px,4px)}.wqh-brand-logo{display:block;width:235px;max-width:26vw;height:auto;object-fit:contain}.wqh-footer-logo-wrap{display:inline-flex;align-items:center;background:#fff;border-radius:8px;padding:8px 12px;margin-bottom:14px}.wqh-footer-logo{display:block;width:230px;max-width:100%;height:auto}.wqh-header nav{margin-left:auto}.wqh-header .wp-block-navigation-item__content{color:#172a3f;font-size:16px;font-weight:650;line-height:1.2}.wqh-header .wp-block-navigation__responsive-container-content{gap:32px}.wqh-quote-btn{background:var(--wqh-blue);color:#fff!important;padding:12px 18px;border-radius:7px;font-weight:750;font-size:15px;display:inline-block;box-shadow:0 6px 16px rgba(11,95,255,.18)}
.wqh-hero{position:relative;min-height:590px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(6,20,38,.94) 0%,rgba(6,20,38,.76) 48%,rgba(6,20,38,.2) 100%),url('assets/images/hero-v05.png') center/cover no-repeat;color:#fff}.wqh-hero-content{max-width:1180px;margin:auto;padding:84px 28px;width:100%}.wqh-hero-copy{max-width:690px}.wqh-hero h1{font-size:58px;line-height:1.02;margin:14px 0 18px;letter-spacing:-.03em}.wqh-hero h1 span{color:#4aa3ff}.wqh-hero p{font-size:18px;line-height:1.7;color:#e5edf6;max-width:640px}.wqh-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.wqh-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border-radius:6px;font-weight:700}.wqh-btn-primary{background:var(--wqh-blue);color:#fff}.wqh-btn-outline{border:1px solid rgba(255,255,255,.72);color:#fff}.wqh-hero-points{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:760px;margin-top:34px}.wqh-mini{border-top:1px solid rgba(255,255,255,.24);padding-top:14px}.wqh-mini strong{display:block;font-size:14px}.wqh-mini span{color:#c8d4df;font-size:12px}
.wqh-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.wqh-card{border:1px solid var(--wqh-line);border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 8px 28px rgba(16,24,39,.05)}.wqh-card img{width:100%;height:220px;object-fit:cover;background:#fff}.wqh-card-body{padding:20px}.wqh-card h3{margin:0 0 8px;font-size:20px}.wqh-card p{margin:0;color:var(--wqh-muted);line-height:1.6}.wqh-link{display:inline-block;margin-top:14px;color:var(--wqh-blue);font-weight:700}
.wqh-feature-row{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--wqh-line);border-radius:10px;overflow:hidden;background:#fff}.wqh-feature{padding:24px;border-right:1px solid var(--wqh-line)}.wqh-feature:last-child{border-right:0}.wqh-feature strong{display:block;margin-bottom:7px}.wqh-feature span{color:var(--wqh-muted);font-size:14px;line-height:1.5}
.wqh-products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.wqh-product{border:1px solid var(--wqh-line);border-radius:9px;background:#fff;padding:14px;display:flex;flex-direction:column}.wqh-product img{width:100%;height:170px;object-fit:contain;background:#fff}.wqh-product h3{font-size:16px;line-height:1.4;margin:14px 0 8px}.wqh-meta{color:var(--wqh-muted);font-size:13px;line-height:1.55}.wqh-product .wqh-link{margin-top:auto;padding-top:10px}
.wqh-about{display:grid;grid-template-columns:1.05fr .95fr;gap:46px;align-items:center}.wqh-about img{width:100%;height:420px;object-fit:cover;border-radius:12px}.wqh-checks{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:28px 0}.wqh-check{padding:16px;background:var(--wqh-soft);border-radius:8px}.wqh-check strong{display:block;margin-bottom:4px}.wqh-check span{font-size:13px;color:var(--wqh-muted)}
.wqh-cta{background:linear-gradient(120deg,#eaf3ff,#f7fbff);border-top:1px solid #d7e7fb;border-bottom:1px solid #d7e7fb}.wqh-cta-inner{max-width:1180px;margin:auto;padding:58px 28px;display:flex;justify-content:space-between;align-items:center;gap:30px}.wqh-cta h2{margin:0 0 10px;font-size:34px}.wqh-cta p{margin:0;color:var(--wqh-muted)}.wqh-cta .wqh-btn-outline{border-color:var(--wqh-blue);color:var(--wqh-blue)}
.wqh-footer{background:#07182b;color:#d8e2ec}.wqh-footer-inner{max-width:1180px;margin:auto;padding:50px 28px 28px}.wqh-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:36px}.wqh-footer h3{color:#fff}.wqh-footer a{color:#d8e2ec}.wqh-footer small{color:#8fa0b2}.wqh-footer-bottom{border-top:1px solid #1f344a;margin-top:34px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.wqh-page-hero{background:#f3f7fb;border-bottom:1px solid var(--wqh-line);padding:70px 0}.wqh-page-hero h1{font-size:46px;margin:0 0 10px}.wqh-content{max-width:900px;margin:0 auto;padding:64px 28px}.wqh-product-detail{display:grid;grid-template-columns:1fr 1fr;gap:46px}.wqh-product-image{border:1px solid var(--wqh-line);border-radius:10px;padding:20px;background:#fff}.wqh-product-image img{width:100%;height:440px;object-fit:contain}.wqh-specs{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--wqh-line);border-radius:8px;overflow:hidden;margin:24px 0}.wqh-spec{padding:14px 16px;border-bottom:1px solid var(--wqh-line)}.wqh-spec:nth-child(odd){border-right:1px solid var(--wqh-line)}.wqh-spec b{display:block;font-size:12px;color:var(--wqh-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
@media(max-width:900px){.wqh-brand-logo{width:200px;max-width:36vw}.wqh-hero h1{font-size:44px}.wqh-hero-points,.wqh-feature-row,.wqh-products{grid-template-columns:repeat(2,1fr)}.wqh-grid-3{grid-template-columns:1fr}.wqh-about,.wqh-product-detail{grid-template-columns:1fr}.wqh-header-inner{gap:14px}.wqh-header .wp-block-navigation{display:none}.wqh-quote-btn{margin-left:auto}.wqh-feature:nth-child(2){border-right:0}.wqh-feature:nth-child(-n+2){border-bottom:1px solid var(--wqh-line)}}
@media(max-width:620px){.wqh-brand-logo{width:170px;max-width:52vw}.wqh-header-inner{padding:12px 18px}.wqh-quote-btn{padding:10px 12px;font-size:13px}.wqh-wrap{padding:0 20px}.wqh-section{padding:52px 0}.wqh-hero{min-height:560px}.wqh-hero-content{padding:70px 20px}.wqh-hero h1{font-size:38px}.wqh-hero-points,.wqh-feature-row,.wqh-products,.wqh-checks{grid-template-columns:1fr}.wqh-feature{border-right:0;border-bottom:1px solid var(--wqh-line)}.wqh-cta-inner{align-items:flex-start;flex-direction:column}.wqh-footer-grid{grid-template-columns:1fr}.wqh-page-hero h1{font-size:38px}.wqh-product-image img{height:300px}.wqh-specs{grid-template-columns:1fr}.wqh-spec:nth-child(odd){border-right:0}}

/* v0.5 refinements */
.wqh-hero{min-height:610px;background-position:center center}
.wqh-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,20,40,.92) 0%,rgba(5,20,40,.76) 42%,rgba(5,20,40,.18) 68%,rgba(5,20,40,.05) 100%);pointer-events:none}
.wqh-hero-content{position:relative;z-index:1}
.wqh-card--visual{min-height:220px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#f8fbff,#e8f1fb)}
.wqh-bearing-visual{width:112px;height:112px;border:22px solid #183b63;border-radius:50%;box-shadow:inset 0 0 0 10px #d7e5f3,0 14px 30px rgba(18,56,92,.14);position:relative}
.wqh-bearing-visual:before,.wqh-bearing-visual:after{content:"";position:absolute;border-radius:50%;background:#8aa8c6}
.wqh-bearing-visual:before{width:16px;height:16px;left:26px;top:-18px;box-shadow:42px 11px 0 #8aa8c6,52px 53px 0 #8aa8c6,4px 63px 0 #8aa8c6,-18px 24px 0 #8aa8c6}
.wqh-category-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#6b7b8c;font-weight:700;margin-bottom:8px}
.wqh-featured-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.wqh-product{transition:transform .2s ease,box-shadow .2s ease}.wqh-product:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(16,24,39,.08)}
.wqh-cta-inner{padding-top:64px;padding-bottom:64px}
.wqh-cta h2{max-width:680px}
.wqh-footer-grid{grid-template-columns:1.6fr 1fr 1fr 1fr}
.wqh-footer-contact{display:grid;gap:8px;font-size:14px}
.wqh-footer-contact strong{color:#fff}
@media(max-width:900px){.wqh-header-inner{padding-left:18px;padding-right:18px}.wqh-brand{transform:translate(0,2px)}.wqh-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.wqh-footer-grid{grid-template-columns:1fr}.wqh-brand{transform:none}}


/* v0.6 header navigation refinements */
@media(min-width:901px){
  .wqh-header-inner{max-width:1320px;gap:40px;}
  .wqh-header .wp-block-navigation-item__content{font-size:18px;font-weight:650;letter-spacing:.005em;}
  .wqh-header .wp-block-navigation__container{column-gap:40px!important;row-gap:10px!important;}
  .wqh-header .wp-block-navigation__responsive-container-content{gap:0!important;}
  .wqh-quote-btn{margin-left:10px;padding:13px 20px;font-size:16px;}
}


/* v0.6 homepage refinement pass */
@media(min-width:901px){
  .wqh-header-inner{padding-left:0;padding-right:22px;}
  .wqh-brand{transform:translate(-18px,5px);}
  .wqh-header .wp-block-navigation-item__content{font-size:18px;}
  .wqh-header .wp-block-navigation__container{column-gap:42px!important;}
  .wqh-quote-btn{margin-left:16px;padding:14px 22px;font-size:16px;}
}
.wqh-hero{overflow:hidden;background-position:center center;}
.wqh-hero-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);gap:46px;align-items:center;}
.wqh-hero-copy{max-width:690px;}
.wqh-hero p{max-width:610px;}
.wqh-hero-visual{position:relative;min-height:430px;display:flex;align-items:center;justify-content:center;}
.wqh-hero-product-card{position:absolute;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.58);border-radius:18px;padding:14px;box-shadow:0 28px 60px rgba(0,0,0,.26);backdrop-filter:blur(10px);}
.wqh-hero-product-card img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;border-radius:10px;}
.wqh-hero-product-card span{display:block;color:#17304c;font-weight:750;font-size:12px;padding:10px 4px 2px;letter-spacing:.02em;}
.wqh-hero-product-card--main{width:300px;height:330px;right:22px;top:32px;transform:rotate(1.5deg);}
.wqh-hero-product-card--small{width:190px;height:220px;left:0;bottom:24px;transform:rotate(-4deg);z-index:2;}
.wqh-hero-visual-note{position:absolute;right:0;bottom:0;z-index:3;background:#0b5fff;color:#fff;border-radius:12px;padding:14px 16px;width:250px;box-shadow:0 14px 30px rgba(11,95,255,.28);}
.wqh-hero-visual-note strong{display:block;font-size:14px;margin-bottom:4px;}.wqh-hero-visual-note span{font-size:12px;line-height:1.45;color:#eaf3ff;}
.wqh-section-actions{margin-top:10px;}
.wqh-card h3{font-size:21px;}.wqh-card-body{padding:22px;}
.wqh-products{gap:22px;}.wqh-product{padding:16px;border-radius:12px;}.wqh-product img{height:190px;}.wqh-product h3{font-size:17px;}
.wqh-about{gap:54px;}.wqh-about img{box-shadow:0 18px 45px rgba(21,48,79,.12);}
.wqh-inquiry-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px;}.wqh-inquiry-chips span{display:inline-flex;align-items:center;padding:8px 12px;border:1px solid #c9dcf5;background:#fff;border-radius:999px;color:#173b63;font-size:13px;font-weight:700;}
.wqh-cta-inner{gap:44px;}.wqh-cta .wqh-actions{min-width:250px;justify-content:flex-end;}
.wqh-footer{margin-top:0;}.wqh-footer p{line-height:1.7;}.wqh-footer h3{font-size:15px;text-transform:uppercase;letter-spacing:.07em;}
@media(max-width:1100px){.wqh-hero-grid{grid-template-columns:1fr .72fr;gap:20px}.wqh-hero-product-card--main{width:250px;height:290px}.wqh-hero-product-card--small{width:160px;height:190px}}
@media(max-width:900px){.wqh-hero-grid{grid-template-columns:1fr}.wqh-hero-visual{display:none}.wqh-hero-copy{max-width:720px}.wqh-section-actions{margin-top:6px}}
@media(max-width:620px){.wqh-inquiry-chips{gap:8px}.wqh-inquiry-chips span{font-size:12px;padding:7px 10px}.wqh-cta .wqh-actions{min-width:0;justify-content:flex-start}}


/* v0.7 integrated footer and layout refinements */
.wqh-footer{background:#061a2f;color:#e7eef7;overflow:hidden}
.wqh-footer-visual{height:165px;background:linear-gradient(rgba(4,18,34,.50),rgba(4,18,34,.66)),url('assets/images/hero-v05.png') center 46%/cover no-repeat;border-bottom:1px solid rgba(255,255,255,.36)}
.wqh-footer-inner{max-width:none;margin:0;padding:0}
.wqh-footer-grid{max-width:1380px;margin:0 auto;padding:70px 56px 62px;display:grid;grid-template-columns:1.45fr .85fr 1fr 1.35fr 1.15fr;gap:0;align-items:start}
.wqh-footer-grid>div{min-width:0;padding:0 36px;border-right:1px solid rgba(255,255,255,.18)}
.wqh-footer-grid>div:first-child{padding-left:0}
.wqh-footer-grid>div:last-child{padding-right:0;border-right:0}
.wqh-footer-brand-col{display:flex;flex-direction:column;align-items:flex-start}
.wqh-footer-logo{display:block;width:405px;max-width:100%;height:auto;margin:0 0 34px;background:transparent;border-radius:0;padding:0}
.wqh-footer-tagline{display:grid;gap:5px;font-size:21px;line-height:1.32;color:#f2f6fb;max-width:350px}
.wqh-footer-col{display:flex;flex-direction:column;align-items:flex-start}
.wqh-footer h3{margin:0 0 22px;color:#fff;font-size:19px;line-height:1.2;text-transform:none;letter-spacing:0;font-weight:750}
.wqh-footer-col>a{display:block;color:#eef3f8;font-size:16px;line-height:1.6;margin:0 0 7px;transition:opacity .18s ease}
.wqh-footer-col>a:hover{opacity:.76}
.wqh-footer-contact-col{gap:0}
.wqh-footer-contact-row{display:flex;align-items:center;gap:12px;color:#eef3f8;font-size:16px;line-height:1.45;margin:0 0 16px;white-space:nowrap}
.wqh-footer-contact-row a{color:#eef3f8}
.wqh-contact-icon{width:28px;height:28px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;color:#fff;font-size:13px;font-weight:800}
.wqh-contact-icon--wa{background:#18c55b}.wqh-contact-icon--wc{background:#26c64a}.wqh-contact-icon--mail{background:#2d84e8}.wqh-contact-icon--pin{background:#e9edf3;color:#23415f;border-radius:50%}
.wqh-social-row{display:flex;align-items:center;gap:16px;margin:4px 0 28px}
.wqh-social{width:48px;height:48px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:23px;font-weight:800;box-shadow:0 7px 18px rgba(0,0,0,.14)}
.wqh-social--fb{background:#1877f2}.wqh-social--ig{background:linear-gradient(135deg,#7b2cff,#ff416c,#ffb13b)}.wqh-social--yt{background:#ff1111}.wqh-social--in{background:#0a75b8;font-size:18px}
.wqh-alibaba-btn{display:inline-flex!important;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.75);border-radius:8px;padding:17px 20px!important;color:#fff!important;font-size:15px!important;font-weight:750;white-space:nowrap;margin:0!important}
.wqh-alibaba-mark{color:#ff6a00;font-style:italic;font-size:24px;font-weight:900;line-height:1}
.wqh-footer-bottom{border-top:1px solid rgba(255,255,255,.28);margin:0;padding:38px 56px 46px;max-width:none;display:flex;justify-content:space-between;align-items:center;gap:28px;flex-wrap:wrap}
.wqh-footer-bottom small{color:#eef3f8;font-size:16px}
.wqh-footer-legal{display:flex;align-items:center;gap:28px;color:#eef3f8;font-size:15px}
.wqh-footer-legal a{color:#eef3f8}.wqh-footer-legal span{width:1px;height:28px;background:rgba(255,255,255,.35)}
@media(max-width:1180px){
  .wqh-footer-grid{grid-template-columns:1.35fr .9fr 1fr 1.25fr;row-gap:42px;padding-left:34px;padding-right:34px}
  .wqh-footer-social-col{grid-column:2/5;border-right:0!important;padding-right:0!important}
  .wqh-footer-contact-row{white-space:normal}
}
@media(max-width:900px){
  .wqh-footer-visual{height:120px}
  .wqh-footer-grid{grid-template-columns:1fr 1fr;padding:52px 26px 44px;gap:36px 0}
  .wqh-footer-grid>div{border-right:0;padding:0 24px 0 0}
  .wqh-footer-grid>div:nth-child(even){padding-left:24px;padding-right:0;border-left:1px solid rgba(255,255,255,.15)}
  .wqh-footer-social-col{grid-column:auto}
  .wqh-footer-logo{width:330px;margin-bottom:28px}
  .wqh-footer-tagline{font-size:18px}
  .wqh-footer-bottom{padding:30px 26px 36px}
}
@media(max-width:620px){
  .wqh-footer-visual{height:86px}
  .wqh-footer-grid{grid-template-columns:1fr;padding:40px 22px 34px}
  .wqh-footer-grid>div,.wqh-footer-grid>div:nth-child(even){padding:0;border:0;border-bottom:1px solid rgba(255,255,255,.13);padding-bottom:28px;margin-bottom:28px}
  .wqh-footer-grid>div:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
  .wqh-footer-logo{width:300px;margin-bottom:25px}
  .wqh-footer-tagline{font-size:17px}
  .wqh-footer-bottom{padding:26px 22px 34px;align-items:flex-start;flex-direction:column}
  .wqh-footer-legal{gap:14px;flex-wrap:wrap}
  .wqh-footer-legal span{height:20px}
  .wqh-alibaba-btn{white-space:normal}
}


/* v0.8 layout correction pass */
/* Remove block-theme spacing that can create a white seam above the footer. */
.wp-site-blocks > .wp-block-template-part{margin-block-start:0!important;margin-block-end:0!important}

/* Hero: simplify the right visual and tighten hierarchy. */
.wqh-hero-grid{grid-template-columns:minmax(0,1.22fr) minmax(340px,.78fr);gap:54px}
.wqh-hero-visual{min-height:410px;justify-content:flex-end}
.wqh-hero-product-card--main{position:relative;right:auto;top:auto;width:330px;height:360px;transform:none;z-index:1}
.wqh-hero-product-card--small{display:none}
.wqh-hero-visual-note{right:8px;bottom:24px;width:236px;padding:13px 15px}
.wqh-hero-points{margin-top:28px;gap:16px}
.wqh-mini{padding-top:12px}

/* Featured products: consistent card rhythm. */
.wqh-products{align-items:stretch}
.wqh-product{min-height:345px}
.wqh-product img{height:185px;object-fit:contain}
.wqh-product h3{min-height:48px;margin-bottom:7px}
.wqh-product .wqh-meta{min-height:40px}

/* Footer: keep logo/tagline spacing intact, move the whole brand column upward. */
.wqh-footer-visual{height:112px;background-position:center 48%}
.wqh-footer-grid{padding-top:58px;padding-bottom:54px}
.wqh-footer-brand-col{transform:translateY(-25px)}
.wqh-footer-logo{margin-bottom:34px} /* preserve the approved internal spacing */
.wqh-footer-tagline{gap:5px}
.wqh-footer-bottom{padding-top:30px;padding-bottom:34px}

@media(max-width:1180px){
  .wqh-footer-brand-col{transform:translateY(-18px)}
}
@media(max-width:900px){
  .wqh-hero-grid{grid-template-columns:1fr}
  .wqh-hero-visual{display:none}
  .wqh-footer-visual{height:88px}
  .wqh-footer-brand-col{transform:none}
}
@media(max-width:620px){
  .wqh-footer-visual{height:64px}
  .wqh-product{min-height:0}
  .wqh-product h3,.wqh-product .wqh-meta{min-height:0}
}

/* v0.8.4 consolidated refinements — replaces conflicting v0.8.1–v0.8.3.1 overrides */

/* v0.8.8 Header — lower logo 3px more and shift nav + quote group 10px toward logo. */
@media(min-width:901px){
  .wqh-header-inner{
    max-width:1460px;
    padding-left:0;
    padding-right:24px;
    gap:40px;
  }
  .wqh-brand{
    transform:translateY(11px)!important;
    margin-left:65px!important;
    flex:0 0 auto;
  }
  .wqh-brand-logo{
    width:235px;
    max-width:26vw;
  }
  .wqh-header nav{
    flex:0 1 auto;
    display:flex;
    justify-content:flex-start;
    margin-left:0!important;
    margin-right:0!important;
    transform:translateX(-10px);
  }
  .wqh-header .wp-block-navigation-item__content{
    font-size:22px!important;
    font-weight:680;
    line-height:1.15;
  }
  .wqh-header .wp-block-navigation__container{
    column-gap:57px!important; /* v0.8.9: increase spacing between Home–Contact items by 2px each */
    row-gap:12px!important;
    flex-wrap:nowrap!important;
  }
  .wqh-header .wp-block-navigation__responsive-container-content{gap:0!important;}
  .wqh-quote-btn{
    margin-left:auto!important;
    padding:14px 24px;
    font-size:17px;
    white-space:nowrap;
    transform:translateX(-10px);
  }
}

/* Hero: keep the approved original background and remove the right-side product card completely. */
.wqh-hero-visual{display:none!important;}
.wqh-hero-grid{display:block!important;grid-template-columns:minmax(0,1fr)!important;}
.wqh-hero-copy{max-width:690px;}

/* Reusable section eyebrow treatment approved in 0.8.2. */
.wqh-section .wqh-eyebrow,
.wqh-cta .wqh-eyebrow{
  display:block;
  letter-spacing:.24em!important;
  margin-left:4px!important;
  margin-bottom:10px!important;
}
.wqh-section .wqh-title{margin-bottom:18px;}
.wqh-section .wqh-subtitle{margin-top:0;}

/* Featured products: retain the consistent card rhythm from 0.8. */
.wqh-products{align-items:stretch;}
.wqh-product{min-height:345px;}
.wqh-product img{height:185px;object-fit:contain;}
.wqh-product h3{min-height:48px;margin-bottom:7px;}
.wqh-product .wqh-meta{min-height:40px;}

/* Remove block-theme spacing that can create a white seam above the footer. */
.wp-site-blocks > .wp-block-template-part{margin-block-start:0!important;margin-block-end:0!important;}

/* Footer — only the left brand column is reformatted; all right-side columns and bottom row keep their existing content/styles. */
.wqh-footer-visual{height:112px;background-position:center 48%;}
.wqh-footer-grid{
  padding-top:58px;
  padding-bottom:54px;
  align-items:stretch;
}
.wqh-footer-grid>div{
  transform:none!important;
}
.wqh-footer-brand-col{
  align-self:stretch!important;
  display:flex!important;
  align-items:flex-start!important;
  padding-top:0!important;
  transform:none!important;
}
.wqh-footer-brand-content{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding-top:0!important;
  transform:none!important;
}
.wqh-footer-logo{
  display:block;
  width:100%!important;
  max-width:365px!important;
  height:auto;
  margin:0 0 34px 0!important;
  padding:0!important;
  object-fit:contain;
  object-position:left center;
}
.wqh-footer-tagline{
  display:grid;
  gap:5px;
  margin:0!important;
  padding:0!important;
  max-width:365px;
  transform:none!important;
  font-size:21px;
  line-height:1.32;
  color:#f2f6fb;
}
.wqh-footer-bottom{padding-top:30px;padding-bottom:34px;}

@media(max-width:900px){
  .wqh-footer-visual{height:88px;}
  .wqh-footer-brand-content{transform:none!important;}
  .wqh-footer-logo{max-width:340px!important;margin-bottom:30px!important;}
  .wqh-footer-tagline{font-size:18px;}
  .wqh-product{min-height:0;}
  .wqh-product h3,.wqh-product .wqh-meta{min-height:0;}
}
@media(max-width:620px){
  .wqh-footer-visual{height:64px;}
  .wqh-footer-logo{max-width:300px!important;margin-bottom:26px!important;}
  .wqh-footer-tagline{font-size:17px;}
}


/* v0.9.2 Products page — approved responsive catalog layout. */
.wqh-products-page{max-width:1320px!important;margin:0 auto!important;padding:46px 28px 72px!important;width:100%!important;}
.wqh-product-tools{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;margin:0 0 30px;align-items:stretch;}
.wqh-product-filter,.wqh-product-search{display:flex;min-width:0;}
.wqh-product-filter select,.wqh-product-search input{width:100%;height:50px;border:1px solid #d4dce6;border-radius:8px;background:#fff;color:#172a3f;font:inherit;font-size:15px;padding:0 16px;outline:none;}
.wqh-product-filter select:focus,.wqh-product-search input:focus{border-color:var(--wqh-blue);box-shadow:0 0 0 2px rgba(11,95,255,.08);}
.wqh-product-search{position:relative;}
.wqh-product-search input{padding-right:60px;}
.wqh-product-search button{position:absolute;right:0;top:0;width:52px;height:50px;border:0;border-radius:0 8px 8px 0;background:var(--wqh-blue);color:#fff;font-size:20px;cursor:pointer;}
.wqh-products-page .wqh-products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:stretch;}
.wqh-products-page .wqh-product{min-width:0!important;min-height:0!important;height:100%;padding:0!important;border:1px solid #dce3eb!important;border-radius:12px!important;overflow:hidden;background:#fff;box-shadow:0 5px 18px rgba(16,24,39,.045);display:flex;flex-direction:column;}
.wqh-products-page .wqh-product-media{height:220px;display:flex;align-items:center;justify-content:center;padding:18px;background:#fff;}
.wqh-products-page .wqh-product-media img{width:100%!important;height:100%!important;max-width:100%;object-fit:contain!important;background:#fff;}
.wqh-products-page .wqh-product-body{display:flex;flex-direction:column;flex:1;padding:18px 18px 16px;background:#fff;}
.wqh-products-page .wqh-product h3{font-size:19px!important;line-height:1.25!important;margin:0 0 14px!important;min-height:48px!important;color:#101827;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.wqh-product-meta-list{display:grid;gap:9px;margin-bottom:18px;color:#435166;font-size:14px;line-height:1.4;}
.wqh-product-meta-row{display:grid;grid-template-columns:18px minmax(0,1fr);gap:7px;align-items:start;}
.wqh-product-meta-icon{font-size:13px;line-height:1.45;color:#60748b;text-align:center;}
.wqh-products-page .wqh-product .wqh-link{margin-top:auto!important;padding:11px 12px!important;border:1px solid var(--wqh-blue);border-radius:7px;color:var(--wqh-blue)!important;font-size:15px;font-weight:750;text-align:center;display:block;}
.wqh-products-page .wqh-product .wqh-link:hover{background:var(--wqh-blue);color:#fff!important;}
.wqh-product-empty{padding:34px;border:1px solid var(--wqh-line);border-radius:10px;background:#fff;color:var(--wqh-muted);text-align:center;}
@media(max-width:1050px){.wqh-products-page .wqh-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.wqh-products-page{max-width:900px!important;}.wqh-products-page .wqh-product-media{height:230px;}}
@media(max-width:680px){.wqh-products-page{padding:28px 18px 54px!important;}.wqh-product-tools{grid-template-columns:1fr;gap:12px;margin-bottom:22px;}.wqh-products-page .wqh-products{grid-template-columns:1fr!important;gap:16px!important;}.wqh-products-page .wqh-product{display:grid;grid-template-columns:38% minmax(0,1fr);}.wqh-products-page .wqh-product-media{height:auto;min-height:190px;padding:14px;}.wqh-products-page .wqh-product-body{padding:16px 14px;}.wqh-products-page .wqh-product h3{font-size:17px!important;min-height:0!important;margin-bottom:10px!important;}.wqh-product-meta-list{font-size:13px;gap:7px;margin-bottom:14px;}}
@media(max-width:430px){.wqh-products-page .wqh-product{grid-template-columns:1fr;}.wqh-products-page .wqh-product-media{height:190px;min-height:0;}.wqh-products-page .wqh-product-body{padding:15px 16px 16px;}}

/* v0.9.5 Products card CTA alignment — 3-row body: title, flexible meta, fixed CTA. */
@media(min-width:681px){
  .wqh-products-page .wqh-product{
    display:grid!important;
    grid-template-rows:220px minmax(0,1fr)!important;
  }
  .wqh-products-page .wqh-product-media{
    height:220px!important;
  }
  .wqh-products-page .wqh-product-body{
    display:grid!important;
    grid-template-rows:auto 1fr auto!important;
    padding:18px 18px 16px!important;
    min-height:0!important;
    height:auto!important;
    position:static!important;
  }
  .wqh-products-page .wqh-product .wqh-link{
    position:static!important;
    margin:0!important;
    align-self:end!important;
  }
}


/* v0.9.8 Homepage featured-product alignment — normal flow, equal-height row, no overlap. */
.wqh-featured-products{align-items:stretch!important;}
.wqh-featured-product{
  display:flex!important;
  flex-direction:column!important;
  height:auto!important;
  min-height:0!important;
  position:static!important;
}
.wqh-featured-product>img{flex:0 0 auto;}
.wqh-featured-product-body{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
}
.wqh-featured-product h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  max-height:4.2em;
  min-height:0!important;
}
.wqh-featured-meta{
  min-height:0!important;
  margin-bottom:0!important;
}
.wqh-featured-product .wqh-link{
  position:static!important;
  margin-top:auto!important;
  padding-top:18px!important;
}

/* v0.9.6 Blog — uses native WordPress Posts; existing /news/ URL remains stable. */
.wqh-blog-hero{background:linear-gradient(120deg,#eef5fd,#f8fbff);border-bottom:1px solid var(--wqh-line);padding:68px 0 64px;}
.wqh-blog-hero h1{font-size:48px;line-height:1.05;margin:10px 0 14px;color:#101827;}
.wqh-blog-hero p{max-width:780px;margin:0;color:var(--wqh-muted);font-size:17px;line-height:1.7;}
.wqh-blog-section{padding:66px 0 80px;background:#fff;}
.wqh-blog-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px;}
.wqh-blog-intro h2{font-size:32px;line-height:1.15;margin:8px 0 0;}
.wqh-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.wqh-blog-card{border:1px solid var(--wqh-line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(16,24,39,.05);display:flex;flex-direction:column;min-width:0;}
.wqh-blog-card-media{height:220px;display:flex;align-items:center;justify-content:center;background:#f3f6fa;overflow:hidden;}
.wqh-blog-card-media img{width:100%;height:100%;object-fit:cover;display:block;}
.wqh-blog-placeholder{font-weight:800;color:#7890aa;letter-spacing:.08em;text-transform:uppercase;}
.wqh-blog-card-body{padding:20px 20px 22px;display:flex;flex-direction:column;flex:1;}
.wqh-blog-date{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#748397;font-weight:700;margin-bottom:9px;}
.wqh-blog-card h2{font-size:21px;line-height:1.3;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.wqh-blog-card h2 a{color:#101827;}
.wqh-blog-card p{font-size:14px;line-height:1.65;color:var(--wqh-muted);margin:0 0 18px;}
.wqh-blog-read{margin-top:auto;color:var(--wqh-blue);font-weight:750;}
.wqh-blog-pagination{margin-top:38px;}
.wqh-blog-pagination ul{list-style:none;display:flex;gap:8px;justify-content:center;padding:0;margin:0;}
.wqh-blog-pagination a,.wqh-blog-pagination span{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--wqh-line);border-radius:7px;color:#24374c;}
.wqh-blog-pagination .current{background:var(--wqh-blue);border-color:var(--wqh-blue);color:#fff;}
.wqh-blog-empty{grid-column:1/-1;border:1px dashed #cdd9e6;border-radius:12px;background:#f8fbff;padding:44px;text-align:center;color:var(--wqh-muted);display:grid;gap:8px;}
.wqh-blog-empty strong{font-size:20px;color:#101827;}
.wqh-blog-single{max-width:980px;margin:0 auto;padding:66px 28px 80px;}
.wqh-blog-single-head{max-width:800px;margin:0 auto 30px;text-align:center;}
.wqh-blog-single-head h1{font-size:46px;line-height:1.12;margin:10px 0 12px;}
.wqh-blog-single-meta{color:var(--wqh-muted);font-size:14px;}
.wqh-blog-single-image{margin:0 auto 34px;max-width:980px;}
.wqh-blog-single-image img{width:100%;max-height:520px;object-fit:cover;border-radius:12px;}
.wqh-blog-single-content{max-width:800px;margin:0 auto;font-size:17px;line-height:1.8;}
.wqh-blog-single-cta{margin-top:46px;padding:24px;border:1px solid #d9e6f5;border-radius:10px;background:#f7fbff;display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.wqh-blog-single-cta strong{margin-right:auto;}
@media(max-width:900px){.wqh-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.wqh-blog-hero h1{font-size:42px;}.wqh-blog-single-head h1{font-size:40px;}}
@media(max-width:620px){.wqh-blog-hero{padding:52px 0 48px;}.wqh-blog-hero h1{font-size:38px;}.wqh-blog-section{padding:48px 0 60px;}.wqh-blog-intro{align-items:flex-start;flex-direction:column;}.wqh-blog-grid{grid-template-columns:1fr;gap:18px;}.wqh-blog-card-media{height:210px;}.wqh-blog-single{padding:50px 20px 64px;}.wqh-blog-single-head h1{font-size:34px;}.wqh-blog-single-content{font-size:16px;}}


/* v0.9.9 Homepage featured cards — equal width/height, standardized title/meta zones, aligned CTA. */
@media(min-width:901px){
  .wqh-featured-products{
    align-items:stretch!important;
    grid-auto-rows:1fr!important;
  }
  .wqh-featured-product{
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .wqh-featured-product>img{
    flex:0 0 auto!important;
  }
  .wqh-featured-product-body{
    display:flex!important;
    flex-direction:column!important;
    flex:1 1 auto!important;
    min-height:0!important;
  }
  .wqh-featured-product h3{
    line-height:1.35!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    overflow:hidden!important;
    min-height:4.05em!important;
    max-height:4.05em!important;
    margin-bottom:10px!important;
  }
  .wqh-featured-meta{
    line-height:1.55!important;
    min-height:4.65em!important;
    max-height:4.65em!important;
    overflow:hidden!important;
    margin-bottom:0!important;
  }
  .wqh-featured-product .wqh-link{
    position:static!important;
    margin-top:auto!important;
    padding-top:18px!important;
  }
}


/* v1.0.0 Homepage category cards — keep current card size, fix blue link position to one line. */
@media(min-width:901px){
  .wqh-grid-3{align-items:stretch;}
  .wqh-grid-3 > .wqh-card{
    display:flex;
    flex-direction:column;
    height:100%;
  }
  .wqh-grid-3 > .wqh-card > img,
  .wqh-grid-3 > .wqh-card > .wqh-card--visual{
    flex:0 0 auto;
  }
  .wqh-grid-3 > .wqh-card > .wqh-card-body{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    min-height:0;
  }
  .wqh-grid-3 > .wqh-card > .wqh-card-body .wqh-link{
    margin-top:auto;
    padding-top:14px;
    align-self:flex-start;
  }
}


/* v1.0.5 Footer contact width — rebalance contact column while keeping email on one line. */
@media(min-width:1201px){
  .wqh-footer-grid{grid-template-columns:1.38fr .80fr .94fr 1.62fr 1.12fr;}
  .wqh-footer-contact-col{padding-left:24px!important;padding-right:24px!important;}
}


/* v1.0.6 Contact page refinements — larger contact cards and Amy email. */
.wqh-content .wqh-checks{gap:18px;margin:32px 0 30px;}
.wqh-content .wqh-check{padding:26px 28px;min-height:112px;border-radius:10px;display:flex;flex-direction:column;justify-content:center;}
.wqh-content .wqh-check strong{font-size:20px;line-height:1.25;margin-bottom:8px;}
.wqh-content .wqh-check span{font-size:17px;line-height:1.45;}
@media(max-width:620px){
  .wqh-content .wqh-check{padding:22px 24px;min-height:104px;}
  .wqh-content .wqh-check strong{font-size:19px;}
  .wqh-content .wqh-check span{font-size:16px;}
}
