/*
Theme Name: HAULTRIX Heavy Duty
Theme URI: https://haultrixtruckparts.com/
Author: HAULTRIX TRUCK PARTS
Description: Responsive WooCommerce theme for Peterbilt and Kenworth truck parts.
Version: 1.0.0
Text Domain: haultrix-heavy-duty
*/
:root{--hx-ink:#101820;--hx-navy:#172b3d;--hx-blue:#1f5f8b;--hx-orange:#f28c28;--hx-paper:#f4f6f8;--hx-muted:#667482;--hx-line:#e2e7eb;--hx-white:#fff;--hx-radius:14px;--hx-shadow:0 12px 34px rgba(16,24,32,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--hx-ink);font-family:Inter,Arial,Helvetica,sans-serif;line-height:1.6}a{color:var(--hx-blue);text-decoration:none}a:hover{color:var(--hx-orange)}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.hx-container{width:min(1200px,calc(100% - 40px));margin:auto}
.hx-topbar{background:#0c1721;color:#dbe5ed;font-size:12px;letter-spacing:.04em}.hx-topbar .hx-container{display:flex;justify-content:space-between;gap:15px;padding:8px 0}
.hx-header{background:#fff;border-bottom:1px solid var(--hx-line);position:relative;z-index:20}.hx-headrow{display:flex;align-items:center;gap:28px;padding:18px 0}.hx-brand{display:flex;align-items:center;gap:11px;min-width:210px;color:var(--hx-ink)}.hx-mark{width:46px;height:42px;background:var(--hx-orange);border-radius:8px;display:grid;place-items:center;color:#101820;font-weight:950;font-size:18px;letter-spacing:-2px}.hx-brand strong{display:block;font-size:21px;line-height:1;font-weight:950;letter-spacing:.04em}.hx-brand small{display:block;color:var(--hx-muted);font-size:9px;letter-spacing:.22em;font-weight:800;margin-top:5px}
.hx-search{flex:1;display:flex;min-width:120px}.hx-search input[type=search]{width:100%;min-width:0;border:1px solid #d6dde3;border-right:0;border-radius:8px 0 0 8px;padding:13px 15px;background:#f8fafb;outline:none}.hx-search button{border:0;background:var(--hx-orange);color:#111;font-weight:900;padding:0 22px;border-radius:0 8px 8px 0;cursor:pointer}.hx-head-actions{display:flex;align-items:center;gap:17px;font-size:13px;font-weight:800;white-space:nowrap}.hx-head-actions a{color:var(--hx-ink)}
.hx-nav{background:var(--hx-navy)}.hx-nav .hx-container{display:flex;align-items:center;gap:0;min-height:48px}.hx-nav a{color:#fff;padding:14px 18px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.hx-nav a:hover,.hx-nav .current-menu-item>a{background:#244761;color:#fff}.hx-menu{display:flex;align-items:center;list-style:none;padding:0;margin:0}.hx-menu li{position:relative}.hx-menu ul{display:none;position:absolute;top:100%;left:0;min-width:220px;background:#fff;box-shadow:var(--hx-shadow);padding:8px;list-style:none;z-index:30}.hx-menu li:hover>ul{display:block}.hx-menu ul a{display:block;color:var(--hx-ink);padding:10px 12px}.hx-menu-toggle{display:none}
.hx-hero{background:linear-gradient(90deg,rgba(8,17,26,.98) 0%,rgba(8,17,26,.91) 43%,rgba(8,17,26,.28) 100%),url("assets/haultrix-parts-hero.jpg") center right/cover no-repeat;color:#fff;overflow:hidden;position:relative}.hx-hero:after{content:"";position:absolute;right:-6%;top:-35%;width:58%;height:170%;border:1px solid rgba(255,255,255,.12);transform:rotate(-22deg);box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 70px rgba(255,255,255,.02)}.hx-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:30px;min-height:470px;padding:65px 0;position:relative;z-index:1}.hx-kicker{color:var(--hx-orange);font-size:11px;font-weight:950;letter-spacing:.2em;text-transform:uppercase}.hx-hero h1{font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-.04em;margin:15px 0 18px;font-weight:950;max-width:650px}.hx-hero p{color:#d5e0e8;font-size:16px;max-width:570px;margin:0 0 27px}.hx-hero-actions{display:flex;flex-wrap:wrap;gap:12px}.hx-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 21px;border-radius:7px;background:var(--hx-orange);color:#101820;font-weight:950;font-size:12px;letter-spacing:.07em;text-transform:uppercase;border:2px solid var(--hx-orange)}.hx-btn:hover{background:#ffad52;border-color:#ffad52;color:#101820}.hx-btn-outline{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}.hx-btn-outline:hover{background:#fff;color:var(--hx-ink);border-color:#fff}
.hx-hero-grid>div:first-child{max-width:760px}.hx-hero-grid{grid-template-columns:1fr}
.hx-trust{background:#fff;border-bottom:1px solid var(--hx-line)}.hx-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding:20px 0}.hx-trust-item{display:flex;align-items:center;gap:12px;padding:5px 10px}.hx-trust-icon{width:38px;height:38px;border-radius:10px;background:#fff1e2;color:#b85d08;display:grid;place-items:center;font-size:18px;font-weight:900}.hx-trust-item strong{display:block;font-size:12px;line-height:1.3}.hx-trust-item small{color:var(--hx-muted);font-size:11px}
.hx-section{padding:62px 0}.hx-section-soft{background:var(--hx-paper)}.hx-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.hx-eyebrow{font-size:10px;color:var(--hx-blue);font-weight:950;letter-spacing:.2em;text-transform:uppercase}.hx-section h2{font-size:clamp(25px,3vw,36px);line-height:1.1;margin:6px 0 0;font-weight:950;letter-spacing:-.03em}.hx-section-head p{margin:0;color:var(--hx-muted);max-width:480px;font-size:13px}
.hx-makes{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hx-make{position:relative;min-height:245px;border-radius:var(--hx-radius);overflow:hidden;background:linear-gradient(125deg,#142b3e,#285d7e);padding:30px;color:#fff;display:flex;flex-direction:column;justify-content:end;box-shadow:var(--hx-shadow)}.hx-make:nth-child(2){background:linear-gradient(125deg,#242b31,#4b5962)}.hx-make:before{content:"";position:absolute;width:220px;height:220px;border:25px solid rgba(255,255,255,.07);border-radius:50%;right:-30px;top:-65px}.hx-make small{color:var(--hx-orange);font-weight:950;letter-spacing:.18em;text-transform:uppercase}.hx-make h3{font-size:32px;line-height:1;margin:9px 0 12px;font-weight:950}.hx-make p{color:#d6e0e7;margin:0 0 17px;font-size:13px}.hx-make .hx-btn{align-self:flex-start}
.hx-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.hx-category{border:1px solid var(--hx-line);border-radius:12px;padding:22px;background:#fff;min-height:135px;transition:.2s}.hx-category:hover{transform:translateY(-3px);box-shadow:var(--hx-shadow);border-color:#c7d4de}.hx-category .hx-cat-icon{width:38px;height:38px;border-radius:10px;background:#edf3f7;display:grid;place-items:center;color:var(--hx-blue);font-size:18px;margin-bottom:12px}.hx-category strong{display:block;color:var(--hx-ink);font-size:14px}.hx-category span{font-size:11px;color:var(--hx-muted)}
.hx-promo{border-radius:var(--hx-radius);background:linear-gradient(100deg,#f28c28,#ffb45f);padding:34px 38px;display:flex;align-items:center;justify-content:space-between;gap:25px;color:#17212a}.hx-promo h2{font-size:clamp(24px,3vw,34px);margin:0 0 5px;line-height:1}.hx-promo p{margin:0;font-size:13px}.hx-promo .hx-btn{background:#172b3d;border-color:#172b3d;color:#fff;white-space:nowrap}
.hx-copy{max-width:850px;color:#53616c;font-size:14px}.hx-copy h2{color:var(--hx-ink)}
.hx-footer{background:#0c1721;color:#d9e2e9;padding:52px 0 18px}.hx-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:35px}.hx-footer h3{font-size:12px;color:#fff;text-transform:uppercase;letter-spacing:.13em;margin:0 0 15px}.hx-footer p,.hx-footer li,.hx-footer a{font-size:12px;color:#aebdca}.hx-footer ul{list-style:none;padding:0;margin:0}.hx-footer li{margin:8px 0}.hx-footer a:hover{color:var(--hx-orange)}.hx-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:16px;font-size:11px;color:#8ea0ae;display:flex;justify-content:space-between;gap:15px}
.hx-content{padding:45px 0;min-height:45vh}.hx-content h1,.hx-content h2{line-height:1.15}.hx-breadcrumb{font-size:12px;color:var(--hx-muted);margin-bottom:18px}
.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--hx-muted)}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px; margin:25px 0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:13px!important;border:1px solid var(--hx-line);border-radius:12px;overflow:hidden;background:#fff;transition:.2s}.woocommerce ul.products li.product:hover{box-shadow:var(--hx-shadow);transform:translateY(-3px)}.woocommerce ul.products li.product a img{border-radius:8px;margin-bottom:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;color:var(--hx-ink);font-weight:800}.woocommerce ul.products li.product .price{color:var(--hx-blue)!important;font-weight:900}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--hx-navy)!important;color:#fff!important;border-radius:6px!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase;padding:12px 15px!important}.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--hx-orange)!important;color:#111!important}
.woocommerce div.product .product_title{font-weight:950}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--hx-blue);font-weight:900}.woocommerce span.onsale{background:var(--hx-orange);color:#111}.woocommerce-message{border-top-color:var(--hx-orange)}.woocommerce-message:before{color:var(--hx-orange)}
.widget-area{margin-top:25px}
@media(max-width:900px){.hx-headrow{gap:14px;flex-wrap:wrap}.hx-brand{min-width:190px}.hx-search{order:3;flex-basis:100%}.hx-head-actions{margin-left:auto}.hx-hero-grid{min-height:400px}.hx-trust-grid{grid-template-columns:repeat(2,1fr)}.hx-category-grid{grid-template-columns:repeat(2,1fr)}.hx-footer-grid{grid-template-columns:repeat(2,1fr)}.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.hx-container{width:min(100% - 28px,1200px)}.hx-topbar .hx-container{justify-content:center;text-align:center}.hx-topbar .hx-top-right{display:none}.hx-headrow{padding:13px 0}.hx-brand{min-width:0}.hx-brand strong{font-size:18px}.hx-head-actions{font-size:11px;gap:10px}.hx-nav .hx-container{display:block}.hx-menu-toggle{display:flex;width:100%;border:0;background:transparent;color:#fff;padding:13px 0;font-weight:900;text-transform:uppercase;justify-content:space-between}.hx-menu{display:none;flex-direction:column;align-items:stretch;padding-bottom:8px}.hx-menu.is-open{display:flex}.hx-menu li{width:100%}.hx-menu a{display:block;padding:12px 5px;border-top:1px solid rgba(255,255,255,.1)}.hx-menu ul{display:block;position:static;background:rgba(0,0,0,.12);box-shadow:none;padding-left:15px}.hx-menu ul a{color:#fff}.hx-hero-grid{grid-template-columns:1fr;gap:5px;padding:48px 0 35px;min-height:0}.hx-hero h1{font-size:42px}.hx-hero p{font-size:14px}.hx-hero-grid{min-height:390px}.hx-trust-grid{gap:8px;padding:13px 0}.hx-trust-item{padding:4px 0;gap:8px}.hx-trust-icon{width:32px;height:32px;font-size:15px}.hx-trust-item strong{font-size:10px}.hx-trust-item small{font-size:9px}.hx-section{padding:42px 0}.hx-section-head{display:block}.hx-section-head p{margin-top:10px}.hx-makes{grid-template-columns:1fr}.hx-make{min-height:205px}.hx-category-grid{gap:10px}.hx-category{padding:15px;min-height:125px}.hx-promo{padding:25px 20px;display:block}.hx-promo .hx-btn{margin-top:18px}.hx-footer-grid{grid-template-columns:1fr 1fr;gap:24px}.hx-footer-grid>div:first-child{grid-column:1/-1}.hx-footer-bottom{display:block}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce ul.products li.product{padding:8px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px!important}.woocommerce ul.products li.product a.button{font-size:9px!important;padding:9px!important}}

/* HAULTRIX redesign – clean industrial storefront */
:root{--hx-ink:#111c26;--hx-navy:#101e2b;--hx-blue:#245b7b;--hx-orange:#f39a32;--hx-paper:#f2f4f5;--hx-muted:#667583;--hx-line:#dfe5e9;--hx-radius:5px;--hx-shadow:0 14px 36px rgba(13,28,40,.11)}
body{font-family:Arial,Helvetica,sans-serif;background:#fff;color:var(--hx-ink)}
.hx-topbar{background:#09131d;color:#dce5eb;font-size:10px;letter-spacing:.13em;font-weight:800}
.hx-topbar .hx-container{padding:9px 0}
.hx-header{background:#fff;border-bottom:0}
.hx-headrow{padding:21px 0;gap:30px}
.hx-brand{min-width:220px;gap:12px}
.hx-mark{width:48px;height:46px;border-radius:3px;background:var(--hx-orange);font-size:22px;letter-spacing:-2px;clip-path:polygon(0 0,100% 0,100% 75%,78% 100%,0 100%)}
.hx-brand strong{font-size:23px;letter-spacing:.08em}
.hx-brand small{font-size:9px;letter-spacing:.31em}
.hx-header-message{display:flex;flex-direction:column;gap:4px;min-width:190px;margin-right:auto}
.hx-header-message strong{font-size:11px;letter-spacing:.11em}
.hx-header-message span{font-size:11px;color:var(--hx-muted)}
.hx-search{max-width:390px;flex:0 1 390px}
.hx-search input[type=search]{background:#f4f6f7;border-color:#dce2e6;border-radius:2px 0 0 2px;padding:14px}
.hx-search button{background:var(--hx-orange);border-radius:0 2px 2px 0;font-size:10px;letter-spacing:.1em}
.hx-nav{background:var(--hx-navy);border-top:3px solid var(--hx-orange)}
.hx-nav .hx-container{min-height:58px;display:block}
.hx-desktop-links{display:flex;align-items:stretch;justify-content:space-between;min-height:55px}
.hx-desktop-links a{display:flex;align-items:center;justify-content:center;padding:0 16px;color:#f5f7f9;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.075em;border-right:1px solid rgba(255,255,255,.09);transition:.2s}
.hx-desktop-links a:first-child{border-left:1px solid rgba(255,255,255,.09)}
.hx-desktop-links a:hover{background:#1b3549;color:var(--hx-orange)}
.hx-menu-toggle,.hx-mobile-nav{display:none}
.hx-hero{background-image:linear-gradient(90deg,rgba(8,17,26,.98) 0%,rgba(8,17,26,.9) 45%,rgba(8,17,26,.32) 100%),url("assets/haultrix-parts-hero.jpg");background-position:center right;background-size:cover;background-repeat:no-repeat}
.hx-hero-grid{min-height:490px;padding:74px 0}
.hx-kicker{font-size:10px;letter-spacing:.25em}
.hx-hero h1{font-size:clamp(40px,5.3vw,68px);letter-spacing:-.045em}
.hx-btn{border-radius:2px;letter-spacing:.09em}
.hx-make{border-radius:3px;min-height:265px}
.hx-category{border-radius:3px;box-shadow:0 5px 18px rgba(20,37,50,.035)}
.hx-promo{border-radius:3px}
.hx-footer{background:#0a151f}
.hx-footer-grid{grid-template-columns:1.5fr 1fr 1.2fr 1fr}
.hx-footer-contact{display:inline-block;margin-top:7px;padding:11px 15px;background:var(--hx-orange);color:#101820!important;font-weight:900;letter-spacing:.08em}
.hx-footer-contact:hover{background:#ffb45f;color:#101820!important}
@media(max-width:900px){.hx-headrow{gap:14px}.hx-header-message{display:none}.hx-search{order:0;flex:1 1 280px;max-width:none}.hx-desktop-links a{padding:0 9px;font-size:10px}}
@media(max-width:640px){
 .hx-container{width:min(100% - 30px,1200px)}
 .hx-topbar .hx-container{justify-content:center;padding:8px 0}
 .hx-headrow{padding:14px 0;display:flex;flex-wrap:wrap;gap:12px}
 .hx-brand{min-width:0;flex:1 1 100%}
 .hx-brand strong{font-size:21px}
 .hx-search{order:2;flex:1 1 100%;max-width:none}
 .hx-nav .hx-container{display:block}
 .hx-desktop-links{display:none}
 .hx-menu-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:51px;padding:9px 0;border:0;background:transparent;color:#fff;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.13em;cursor:pointer}
 .hx-hamburger{width:22px;display:flex;flex-direction:column;gap:5px}
 .hx-hamburger i{height:2px;width:22px;background:var(--hx-orange);display:block}
 .hx-mobile-nav{display:none;padding:0 0 13px}
 .hx-mobile-nav.is-open{display:block}
 .hx-mobile-menu,.hx-mobile-nav .hx-menu{display:block;list-style:none;padding:0;margin:0}
 .hx-mobile-menu li,.hx-mobile-nav .hx-menu li{display:block;border-top:1px solid rgba(255,255,255,.12)}
 .hx-mobile-menu a,.hx-mobile-nav .hx-menu a{display:block;padding:12px 5px;color:#f4f7f9;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
 .hx-mobile-menu a:hover,.hx-mobile-nav .hx-menu a:hover{color:var(--hx-orange)}
 .hx-mobile-menu ul,.hx-mobile-nav .hx-menu ul{display:block;position:static;background:rgba(255,255,255,.045);box-shadow:none;padding:0 0 0 14px}
 .hx-mobile-menu ul a,.hx-mobile-nav .hx-menu ul a{font-size:11px;color:#c8d3dc;text-transform:none}
 .hx-hero-grid{padding:47px 0 28px;min-height:0}
 .hx-hero h1{font-size:40px}
 .hx-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hx-footer-grid{grid-template-columns:1fr 1fr;gap:24px}
 .hx-footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:380px){.hx-hero h1{font-size:35px}.hx-category-grid{grid-template-columns:1fr 1fr}.hx-footer-grid{grid-template-columns:1fr}}

/* Brand-specific popular categories */
.hx-brand-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.hx-brand-category{background:#101d29;border-radius:12px;padding:22px;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.12)}.hx-brand-category-head{display:flex;align-items:center;gap:13px;margin-bottom:18px}.hx-brand-category-head span{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--hx-orange);color:#111;font-weight:950;font-size:12px}.hx-brand-category-head strong{font-size:20px;letter-spacing:.04em}.hx-category-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hx-brand-category .hx-category{background:#fff;color:#172333;min-height:135px;padding:14px 10px;text-align:center}.hx-brand-category .hx-category span:last-child{font-size:11px}.hx-brand-shop{margin-top:18px}.hx-popular{background:linear-gradient(135deg,#e9edf0,#f8f9fa)}
@media(max-width:760px){.hx-brand-categories{grid-template-columns:1fr}.hx-category-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.hx-brand-category{padding:16px}.hx-brand-category-head strong{font-size:17px}}
@media(max-width:420px){.hx-category-grid-three{grid-template-columns:1fr 1fr}.hx-brand-category .hx-category:last-child{grid-column:1/-1}}

/* Brand-specific visual category cards */
.hx-brand-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.hx-brand-category{background:#101820;border-radius:12px;padding:22px;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.13)}
.hx-brand-category-head{display:flex;align-items:center;gap:13px;margin-bottom:18px}
.hx-brand-category-head>span{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#d71920;color:#fff;font-weight:950;font-size:21px;border:2px solid #fff}
.hx-brand-category-head strong{font-size:20px;letter-spacing:.04em}
.hx-category-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.hx-brand-category .hx-category-image{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;background:#fff;color:#172333;min-height:0;padding:0 0 12px;text-align:center;overflow:hidden;border:1px solid rgba(255,255,255,.25);border-radius:7px}
.hx-category-photo{display:flex;align-items:center;justify-content:center;width:100%;height:116px;background:linear-gradient(145deg,#f3f5f6,#dfe4e7);overflow:hidden;margin-bottom:10px}
.hx-category-photo img{width:100%;height:100%;object-fit:cover;display:block}
.hx-category-photo-placeholder{background:linear-gradient(135deg,#e8edf0,#cbd3d9);color:#263746;font-size:36px;font-weight:900}
.hx-brand-category .hx-category-image strong{font-size:14px;color:#172333;display:block;padding:0 4px}
.hx-brand-category .hx-category-image>span:last-child{font-size:11px;color:#697783;display:block;margin-top:3px}
.hx-brand-shop{margin-top:18px}
@media(max-width:760px){.hx-brand-categories{grid-template-columns:1fr}.hx-category-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.hx-brand-category{padding:16px}.hx-brand-category-head strong{font-size:17px}}
@media(max-width:420px){.hx-category-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}.hx-category-photo{height:105px}}
