/*
Theme Name: LiuGong Canada Premium
Theme URI: https://liugongna.ca/
Author: InterGlobe Alliance Inc.
Description: Premium Canadian LiuGong dealer site with equipment catalogue, dealer inventory, services, financing and lead forms. No dealer-recruitment functionality.
Version: 2.2.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: lgca
License: GPL-2.0-or-later
*/
:root{--orange:#ff641c;--dark:#151a1d;--charcoal:#24292b;--light:#f5f6f6;--border:#e3e5e7;--text:#232629;--muted:#697279;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:white;line-height:1.6}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #0d74c4;outline-offset:3px}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button{cursor:pointer}.container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}.site-header{background:#fff;position:sticky;top:0;z-index:50;border-bottom:3px solid var(--orange);box-shadow:0 2px 18px #00000012}.head-inner{min-height:88px;display:flex;align-items:center;gap:22px}.brand-logos{display:flex;align-items:center;gap:20px;flex-shrink:0}.main-brand{width:177px;display:flex;align-items:center}.main-brand img{width:100%;max-height:52px;object-fit:contain}.dealer-brand{display:flex;align-items:center;border-left:1px solid #c7cdd1;padding-left:17px;gap:10px}.dealer-brand img{height:55px;width:auto;max-width:125px;object-fit:contain}.dealer-brand small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#667078;line-height:1.4;max-width:85px}.header-nav{display:flex;align-items:center;gap:21px;margin-left:auto}.header-nav a{font-weight:800;font-size:12px;white-space:nowrap}.header-nav a:hover,.current-menu-item a{color:var(--orange)}.btn{background:var(--orange);color:white;padding:14px 23px;border:1px solid var(--orange);display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.015em;transition:transform .2s,background .2s;border-radius:2px}.btn:hover{background:#e94e08;transform:translateY(-1px);color:white}.btn-ghost{border-color:#ffffffa9;background:#0b141b55;color:white}.btn-ghost:hover{background:#fff;color:#181818}.btn-outline{background:white;color:var(--orange)}.header-nav .quote-link{background:var(--orange);color:#fff!important;padding:14px 17px}.menu-toggle{display:none;border:0;background:transparent;font-size:27px;margin-left:auto}.hero{min-height:575px;background:linear-gradient(90deg,#0a1119 0%,#101721ef 27%,#10172180 52%,transparent 100%),url('assets/images/hero-equipment.webp') center right/cover no-repeat;display:flex;align-items:center;color:white;position:relative}.hero:after{position:absolute;content:'';bottom:0;left:0;right:0;height:80px;background:linear-gradient(0deg,#090e12bb,transparent);pointer-events:none}.hero-content{position:relative;z-index:2;padding:65px 0 48px}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.16em;color:var(--orange);text-transform:uppercase}.hero h1{font-size:clamp(40px,5.35vw,68px);line-height:1.06;letter-spacing:-.055em;margin:20px 0;font-weight:1000;max-width:740px}.hero h1 span{color:var(--orange)}.hero p{max-width:475px;font-size:16px;line-height:1.7;color:#f5f5f5;margin:0 0 24px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.hero-proofs{display:flex;gap:32px;margin-top:65px;flex-wrap:wrap}.hero-proof{border-left:2px solid var(--orange);padding-left:15px}.hero-proof strong{display:block;font-size:12px;line-height:1.2;letter-spacing:.05em}.hero-proof small{font-size:11px;color:#ddd}.section{padding:72px 0}.section-soft{background:#f7f8f8}.section-dark{background:#191e21;color:white}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.section-head h2,.section h2,.page-hero h1{font-size:clamp(29px,3.5vw,43px);letter-spacing:-.045em;line-height:1.14;margin:7px 0 13px;font-weight:900}.section-head p{color:#758086;max-width:650px;margin:0}.section-dark .section-head p{color:#d1d4d5}.text-link{font-size:12px;font-weight:900;border-bottom:3px solid var(--orange);padding-bottom:7px;white-space:nowrap}.category-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px}.category-card{background:white;border:1px solid #e3e3e3;overflow:hidden;transition:transform .2s,box-shadow .2s}.category-card:hover,.machine-card:hover{transform:translateY(-5px);box-shadow:0 15px 35px #0002}.category-card img{width:100%;height:145px;object-fit:cover;display:block}.category-card .label{display:flex;justify-content:space-between;align-items:center;gap:3px;padding:12px 9px;min-height:64px}.category-card strong{font-size:12px;line-height:1.3}.cat-arrow{background:var(--orange);color:#fff;min-width:26px;height:26px;text-align:center;line-height:26px;font-size:17px}.inventory-section{background:linear-gradient(#141a1fef,#141a1ff5),url('assets/images/hero-equipment.webp') center/cover}.inventory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.machine-card{background:#fff;color:#222;transition:transform .2s,box-shadow .2s;overflow:hidden}.machine-card img{width:100%;height:165px;object-fit:cover;display:block}.machine-card-body{padding:19px}.machine-card h3{margin:0;color:var(--orange);font-size:24px;line-height:1.1}.machine-card small{color:#798188;letter-spacing:.07em;text-transform:uppercase;font-size:10px}.machine-card p{color:#667078;margin:11px 0 14px;font-size:13px}.machine-card .btn{padding:9px 12px;background:white;color:var(--orange);font-size:11px}.machine-card .btn:hover{background:var(--orange);color:#fff}.about-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:35px;align-items:center}.about-layout p{color:#646f74}.about-image{min-height:320px;position:relative;background:url('assets/images/about-equipment.webp') center/cover}.about-panel{background:#141719e8;color:#fff;position:absolute;right:0;bottom:0;max-width:225px;padding:20px}.about-panel strong{display:block;font-size:17px}.about-panel small{display:block;color:#c8cccf;font-size:11px}.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.feature-card{min-height:270px;padding:35px;display:flex;flex-direction:column;align-items:flex-start;background-size:cover;background-position:center}.feature-card h3{font-size:29px;line-height:1.15;max-width:260px;margin:13px 0}.feature-card p{max-width:270px;font-size:13px}.feature-service{background-image:linear-gradient(90deg,#fffffff5 0%,#ffffffec 43%,#ffffff04 100%),url('assets/images/parts-service.webp')}.feature-finance{background-image:linear-gradient(90deg,#fffffff5 0%,#ffffffec 43%,#ffffff04 100%),url('assets/images/financing-equipment.webp')}.site-footer{background:#161a1d;color:white;padding:45px 0 26px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.4fr;gap:33px}.footer-grid h4{margin:0 0 17px;color:#fff;letter-spacing:.06em;font-size:13px}.footer-grid a,.footer-grid p{font-size:13px;color:#d0d3d5}.footer-grid a{display:block;margin-bottom:10px}.footer-grid a:hover{color:var(--orange)}.footer-brand img{display:block;max-width:190px;max-height:70px;object-fit:contain;background:white;padding:8px;margin-bottom:16px}.footer-brand small{color:#9da5aa}.footer-bottom{border-top:1px solid #393c3f;margin-top:30px;padding-top:17px;font-size:11px;color:#9da5aa;display:flex;justify-content:space-between;gap:15px}.page-hero{padding:65px 0;background:linear-gradient(90deg,#111921,#25292ce0),url('assets/images/hero-equipment.webp') center/cover;color:white}.page-hero p{max-width:650px;color:#e0e0e0}.archive-wrap{padding:70px 0}.listing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.listing-grid .machine-card img{height:215px}.filter-row{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0 34px}.filter-row a{border:1px solid #cfd4d8;padding:10px 15px;font-size:12px;font-weight:800}.filter-row .selected,.filter-row a:hover{background:var(--orange);color:white;border-color:var(--orange)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:38px}.detail-grid .main-image{width:100%;aspect-ratio:4/3;object-fit:cover;background:#f1f2f3}.spec-table{width:100%;border-collapse:collapse;margin:20px 0}.spec-table td{padding:11px;border-bottom:1px solid #e1e3e4;font-size:14px}.spec-table td:first-child{font-weight:700;width:45%}.content-area{max-width:850px;margin:0 auto}.content-area p{line-height:1.8}.contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:45px}.contact-info{background:#181d21;color:white;padding:32px}.contact-info a{color:white}.contact-info p{border-bottom:1px solid #41474a;padding-bottom:14px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.form-field{margin-bottom:15px}.form-field label{display:block;font-size:12px;font-weight:800;margin-bottom:6px}.form-field input,.form-field textarea,.form-field select{display:block;border:1px solid #cdd3d7;background:white;padding:12px;width:100%;border-radius:2px}.notice{padding:13px 17px;border-left:4px solid var(--orange);background:#fff2e9;margin:20px 0}.honeypot{position:absolute;left:-99999px;opacity:0}.empty-state{padding:35px;background:#f5f6f7;color:#5a676e;border:1px dashed #c4cbd0}.footer-logo-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.footer-logo-row img{max-width:140px}.wp-caption{max-width:100%}.alignright{float:right;margin-left:15px}.alignleft{float:left;margin-right:15px}.aligncenter{display:block;margin-inline:auto}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute;height:1px;width:1px;overflow:hidden}.pagination{margin-top:35px}.pagination .page-numbers{padding:9px 13px;background:#f1f2f3;margin-right:6px}.pagination .current{background:var(--orange);color:white}
@media(max-width:1130px){.header-nav{gap:11px}.header-nav a{font-size:11px}.brand-logos{gap:9px}.main-brand{width:135px}.dealer-brand{padding-left:8px}.dealer-brand img{height:48px;max-width:90px}.dealer-brand small{display:none}.category-grid{grid-template-columns:repeat(4,1fr)}.category-card img{height:160px}}@media(max-width:870px){.head-inner{min-height:75px}.menu-toggle{display:block}.header-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:12px 24px 25px;border-bottom:3px solid var(--orange);box-shadow:0 14px 20px #0002}.header-nav.is-open{display:flex}.header-nav a{font-size:14px;padding:11px 0}.category-grid{grid-template-columns:repeat(3,1fr)}.inventory-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:510px}.hero-proofs{margin-top:40px}.about-layout,.detail-grid,.contact-grid{grid-template-columns:1fr}.listing-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.container{width:min(100% - 30px,var(--max))}.main-brand{width:126px}.dealer-brand img{height:43px;max-width:72px}.dealer-brand small{display:none}.hero h1{font-size:39px}.hero{min-height:575px;background-position:58% center}.hero-content{padding-top:60px}.hero-proofs{gap:15px}.hero-proof{width:45%}.category-grid{grid-template-columns:repeat(2,1fr)}.category-card img{height:127px}.inventory-grid,.feature-grid,.listing-grid,.footer-grid{grid-template-columns:1fr}.section{padding:48px 0}.section-head{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.feature-card{padding:25px}.machine-card img{height:200px}}

/* v2.2 layout improvements for wide desktop monitors */
:root{--max:1570px}
@media(min-width:1100px){.container{width:min(var(--max),calc(100% - 80px))}.listing-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-grid{gap:14px}.category-card img{height:175px}.main-brand{width:202px}.main-brand img{max-height:66px}.dealer-brand img{height:67px}.header-nav a{font-size:13px}.hero{min-height:640px}}
@media(max-width:1099px) and (min-width:870px){.listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
