/*
Theme Name: JUSTRIAL Commerce
Theme URI: https://justrial.com
Author: JUSTRIAL
Description: A focused WooCommerce theme for modern signage and display systems.
Version: 1.0.23
Text Domain: justrial
*/

:root{--ink:#171714;--paper:#f5f3ed;--warm:#e6dfd1;--sage:#697568;--line:#d7d2c7;--white:#fff;--max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.wrap{width:min(calc(100% - 40px),var(--max));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(245,243,237,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.header-row{height:78px;display:flex;align-items:center;gap:38px}.brand{font-size:23px;font-weight:800;letter-spacing:.16em}.main-nav{display:flex;gap:25px;align-items:center;font-size:14px}.main-nav a:hover{opacity:.58}.nav-shop{display:flex;align-items:center;gap:5px;position:relative;height:78px}.nav-shop-toggle{border:0;background:transparent;font:inherit;padding:6px;cursor:pointer}.shop-mega{position:absolute;left:0;top:calc(100% - 1px);width:min(760px,calc(100vw - 40px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;padding:1px;background:var(--line);border:1px solid var(--line);box-shadow:0 22px 55px rgba(23,23,20,.14);opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s}.nav-shop:hover .shop-mega,.nav-shop:focus-within .shop-mega{opacity:1;visibility:visible;transform:none}.shop-mega a{display:flex;flex-direction:column;gap:3px;background:#fff;padding:17px 20px;opacity:1!important}.shop-mega a:hover{background:#f0ede5}.shop-mega strong{font-size:14px}.shop-mega span{font-size:12px;color:#666158}.shop-mega .shop-all{grid-column:1/-1;background:var(--ink);color:#fff}.shop-mega .shop-all span{color:#d5d2ca}.mobile-nav{display:none;position:relative}.mobile-nav summary{cursor:pointer;list-style:none;font-size:14px;font-weight:700}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav-panel{position:absolute;right:-95px;top:38px;width:min(360px,calc(100vw - 28px));max-height:calc(100vh - 90px);overflow:auto;background:#fff;border:1px solid var(--line);box-shadow:0 20px 50px rgba(23,23,20,.18);padding:16px;display:flex;flex-direction:column;z-index:60}.mobile-nav-panel a{padding:10px;border-bottom:1px solid #eee}.mobile-nav-label{padding:17px 10px 5px;font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:#777}.header-actions{margin-left:auto;display:flex;gap:18px;font-size:14px}.hero{min-height:720px;background:#ddd center/cover no-repeat;position:relative;display:flex;align-items:center}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,244,238,.98) 0%,rgba(246,244,238,.78) 38%,rgba(246,244,238,.05) 68%)}.hero-copy{position:relative;z-index:2;width:min(590px,90%);padding:80px 0}.eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:700;margin-bottom:18px}.hero h1{font-size:clamp(48px,6vw,82px);line-height:.98;letter-spacing:-.045em;margin:0 0 26px}.hero p{font-size:19px;max-width:520px;margin:0 0 34px}.buttons{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:0 24px;border:1px solid var(--ink);font-size:13px;font-weight:700;letter-spacing:.04em}.btn-dark{background:var(--ink);color:var(--white)}.btn:hover{transform:translateY(-1px)}.trustbar{background:var(--ink);color:#fff}.trust-row{display:grid;grid-template-columns:repeat(4,1fr);padding:22px 0;gap:18px;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.section{padding:96px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:38px}.section-head h2{font-size:clamp(34px,4vw,54px);letter-spacing:-.035em;line-height:1.05;margin:0}.section-head p{max-width:520px;margin:0;color:#514f48}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.category-card{min-height:330px;padding:30px;display:flex;flex-direction:column;justify-content:flex-end;background:#e8e3d9;border:1px solid var(--line);transition:.2s}.category-card:nth-child(2),.category-card:nth-child(5){background:#d8ddd6}.category-card:nth-child(3),.category-card:nth-child(4){background:#ded8cd}.category-card:hover{transform:translateY(-4px)}.category-card small{font-size:11px;text-transform:uppercase;letter-spacing:.12em}.category-card h3{font-size:25px;line-height:1.1;margin:8px 0}.category-card p{margin:0;color:#555147;font-size:14px}.feature{background:var(--white)}.feature-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:64px;align-items:center}.feature-media img{width:100%;aspect-ratio:16/10;object-fit:cover}.feature-copy h2{font-size:clamp(40px,5vw,66px);line-height:1;letter-spacing:-.04em;margin:0 0 24px}.feature-copy p{font-size:17px}.feature-list{margin:30px 0;padding:0;list-style:none;border-top:1px solid var(--line)}.feature-list li{padding:15px 0;border-bottom:1px solid var(--line);display:flex;gap:12px}.feature-list b{min-width:25px}.paths{background:#dfe3dc}.path-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#bac0b8;border:1px solid #bac0b8}.path{background:var(--paper);padding:38px;min-height:270px}.path .num{font-size:12px;letter-spacing:.1em}.path h3{font-size:28px;margin:38px 0 12px}.path p{color:#57574f}.trade{background:var(--ink);color:#fff}.trade-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.trade h2{font-size:clamp(40px,5vw,66px);letter-spacing:-.04em;line-height:1;margin:0}.trade p{font-size:18px;color:#d6d4cc}.trade .btn{border-color:#fff}.site-footer{padding:60px 0 28px;background:#111;color:#d7d5ce}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:40px}.footer-grid h4{color:#fff;margin:0 0 16px}.footer-grid a{display:block;margin:8px 0;font-size:14px}.footer-bottom{margin-top:50px;padding-top:22px;border-top:1px solid #34342f;font-size:12px;color:#8f8e88}.woocommerce .site-main{width:min(calc(100% - 40px),var(--max));margin:60px auto}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{background:#fff;padding:14px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--ink);color:#fff;border-radius:0}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink)}
@media(max-width:900px){.main-nav{display:none}.mobile-nav{display:block;margin-left:auto}.header-actions{margin-left:0}.hero{min-height:640px;background-position:64% center}.hero:after{background:linear-gradient(90deg,rgba(246,244,238,.96),rgba(246,244,238,.6))}.trust-row{grid-template-columns:1fr 1fr}.category-grid,.path-grid{grid-template-columns:1fr 1fr}.feature-grid,.trade-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.feature-copy{order:-1}}
@media(max-width:620px){.wrap{width:min(calc(100% - 28px),var(--max))}.header-row{height:66px}.header-actions a:first-child{display:none}.hero{min-height:600px}.hero-copy{padding:55px 0}.hero h1{font-size:49px}.hero p{font-size:16px}.trust-row,.category-grid,.path-grid,.footer-grid{grid-template-columns:1fr}.section{padding:68px 0}.section-head{display:block}.section-head p{margin-top:16px}.category-card{min-height:240px}.trade-grid{gap:30px}}
.home-magnetic-focus{background:#fff}
.magnetic-series-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.magnetic-series-card{display:grid;grid-template-rows:auto 1fr;background:#f7f5ef;border:1px solid #d7d2c7;overflow:hidden;transition:transform .2s,box-shadow .2s}
.magnetic-series-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(23,23,20,.1)}
.magnetic-series-card img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f2efe7;padding:14px}
.magnetic-series-card div{padding:24px}
.magnetic-series-card span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:#6b675f;margin-bottom:12px}
.magnetic-series-card h3{font-size:clamp(23px,2vw,30px);line-height:1.08;letter-spacing:-.03em;margin:0 0 12px}
.magnetic-series-card p{margin:0;color:#5b574f}
@media(max-width:900px){.magnetic-series-grid{grid-template-columns:1fr 1fr}.magnetic-series-card:first-child{grid-column:1/-1;grid-template-columns:.8fr 1fr;grid-template-rows:auto}.magnetic-series-card:first-child img{height:100%}}
@media(max-width:620px){.magnetic-series-grid,.magnetic-series-card:first-child{grid-template-columns:1fr}.magnetic-series-card:first-child img{height:auto}}
.home-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:72px;align-items:start}.home-split h2{font-size:clamp(38px,5vw,70px);line-height:.98;letter-spacing:-.045em;margin:0}.home-position-copy p{font-size:18px;color:#514f48;margin:0 0 28px}.mini-proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.mini-proof-grid div{background:#fff;padding:22px;min-height:150px}.mini-proof-grid b{display:block;font-size:12px;letter-spacing:.12em;margin-bottom:30px}.mini-proof-grid span{display:block;color:#555147}.magnetic-feature-layout{display:grid;grid-template-columns:.92fr 1.08fr;gap:64px;align-items:center}.magnetic-feature-copy h2{font-size:clamp(42px,6vw,78px);line-height:.96;letter-spacing:-.05em;margin:0 0 22px}.magnetic-feature-copy p{font-size:18px;color:#514f48}.magnetic-poster-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.magnetic-poster-grid img{width:100%;background:#f2efe7;border:1px solid var(--line);object-fit:contain;aspect-ratio:1/1;padding:16px}.magnetic-poster-grid img:first-child{grid-row:span 2;height:100%}.home-series{background:#ede8dd}.home-shop-system{background:#f8f6f0}.justrial-category-story{margin:0 0 50px;background:#fff;border:1px solid var(--line)}.category-story-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:50px;padding:54px}.category-story-hero h2{font-size:clamp(42px,5vw,72px);line-height:.98;letter-spacing:-.05em;margin:0 0 22px}.category-story-hero p{font-size:18px;color:#514f48;max-width:620px}.story-proof-list{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);align-self:stretch}.story-proof-list div{background:#f7f5ef;padding:24px}.story-proof-list b{display:block;margin-bottom:8px}.story-proof-list span{color:#555147}.category-story-scenes{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-top:1px solid var(--line)}.category-story-scenes article{background:#f7f5ef;padding:26px;display:flex;flex-direction:column;min-height:430px}.category-story-scenes span{font-size:11px;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:#6b675f}.category-story-scenes h3{font-size:28px;line-height:1.08;margin:16px 0 10px}.category-story-scenes p{color:#555147;margin:0 0 22px}.category-story-scenes img{margin-top:auto;width:100%;aspect-ratio:1/1;object-fit:contain;background:#eee9df;padding:12px}.category-story-note{padding:24px 54px;background:#171714;color:#e9e4da}.category-story-note p{margin:0;max-width:820px}
@media(max-width:900px){.home-split,.magnetic-feature-layout,.category-story-hero{grid-template-columns:1fr}.mini-proof-grid,.category-story-scenes{grid-template-columns:1fr 1fr}.magnetic-poster-grid img:first-child{grid-row:auto}}
@media(max-width:620px){.home-split{gap:26px}.mini-proof-grid,.magnetic-poster-grid,.category-story-scenes{grid-template-columns:1fr}.category-story-hero{padding:30px}.category-story-note{padding:22px 30px}.category-story-scenes article{min-height:0}.home-position-copy p,.magnetic-feature-copy p,.category-story-hero p{font-size:16px}}
.category-story-market{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#c9c3b7;border-top:1px solid var(--line)}.category-story-market div{background:#171714;color:#eee9df;padding:26px}.category-story-market span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:#bfb8aa;margin-bottom:18px}.category-story-market p{margin:0;color:#f2eee5}
@media(max-width:900px){.category-story-market{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.category-story-market{grid-template-columns:1fr}}
.home-category-showcase>input{position:absolute;opacity:0;pointer-events:none}.home-category-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.home-category-tabs label{cursor:pointer;border:1px solid var(--line);background:#fff;padding:12px 16px;font-size:13px;font-weight:700}.home-category-tabs label:hover{background:#ebe6dc}.home-category-panels{border:1px solid var(--line);background:#fff}.home-category-panel{display:none;grid-template-columns:310px minmax(0,1fr);gap:1px;background:var(--line)}.home-category-panel .panel-copy{background:#171714;color:#fff;padding:34px;display:flex;flex-direction:column;justify-content:flex-end;min-height:360px}.home-category-panel .panel-copy small{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:#c9c3b7;font-weight:700}.home-category-panel .panel-copy h3{font-size:34px;line-height:1.04;margin:14px 0}.home-category-panel .panel-copy p{color:#ded8cd;margin:0 0 22px}.home-category-panel .panel-copy a{font-weight:700}.home-category-panel .woocommerce{background:#fff;padding:20px}.home-category-panel ul.products{margin:0!important}#home-cat-magnetic:checked~.home-category-tabs label[for=home-cat-magnetic],#home-cat-hours:checked~.home-category-tabs label[for=home-cat-hours],#home-cat-counter:checked~.home-category-tabs label[for=home-cat-counter],#home-cat-blade:checked~.home-category-tabs label[for=home-cat-blade],#home-cat-aframe:checked~.home-category-tabs label[for=home-cat-aframe],#home-cat-wayfinding:checked~.home-category-tabs label[for=home-cat-wayfinding]{background:#171714;color:#fff;border-color:#171714}#home-cat-magnetic:checked~.home-category-panels .panel-magnetic,#home-cat-hours:checked~.home-category-panels .panel-hours,#home-cat-counter:checked~.home-category-panels .panel-counter,#home-cat-blade:checked~.home-category-panels .panel-blade,#home-cat-aframe:checked~.home-category-panels .panel-aframe,#home-cat-wayfinding:checked~.home-category-panels .panel-wayfinding{display:grid}.home-capability{background:#171714;color:#fff}.capability-head{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:end;margin-bottom:36px}.capability-head h2{font-size:clamp(40px,5vw,68px);line-height:.98;letter-spacing:-.045em;margin:0}.capability-head p{color:#d8d3c9;font-size:18px}.capability-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#47443d;border:1px solid #47443d}.capability-grid article{background:#211f1b;padding:32px;min-height:300px}.capability-grid span{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:#bfb8aa;font-weight:700}.capability-grid h3{font-size:28px;line-height:1.08;margin:42px 0 12px}.capability-grid p{color:#d8d3c9}.capability-actions{margin-top:30px}.home-capability .btn{border-color:#fff}.home-capability .btn-dark{background:#fff;color:#171714}
@media(max-width:900px){.home-category-panel{grid-template-columns:1fr}.home-category-panel .panel-copy{min-height:0}.capability-head,.capability-grid{grid-template-columns:1fr}}
@media(max-width:620px){.home-category-tabs{display:grid;grid-template-columns:1fr 1fr}.home-category-tabs label{text-align:center;padding:11px 8px;font-size:12px}.home-category-panel .panel-copy{padding:24px}.home-category-panel .woocommerce{padding:12px}.capability-grid article{min-height:0}.capability-head{gap:24px}}
.single-product .product{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);gap:64px;align-items:start}.single-product .product .woocommerce-product-gallery{width:100%!important;float:none!important}.single-product .product .summary{width:100%!important;float:none!important;position:static}.single-product .product .product_title{font-size:clamp(36px,4vw,58px);line-height:1.02;letter-spacing:-.04em}.single-product .woocommerce-product-details__short-description{font-size:17px;color:#514f48}.single-product .product_meta{font-size:12px;border-top:1px solid var(--line);padding-top:18px}.justrial-preview-buybox{border:1px solid var(--line);background:#fff;padding:22px;margin:24px 0}.justrial-preview-buybox label{display:block;font-size:13px;font-weight:700;margin-bottom:9px}.justrial-preview-buybox select{width:100%;min-height:48px;padding:0 12px;border:1px solid #aaa;background:#f5f5f2;color:var(--ink);opacity:1}.justrial-price-pending{display:flex;flex-direction:column;gap:3px;padding:18px 0}.justrial-price-pending strong{font-size:20px}.justrial-price-pending span{font-size:13px;color:#656158}.justrial-preview-buybox .button{width:100%;text-align:center;padding:15px}.justrial-product-story{grid-column:1/-1;margin-top:80px}.justrial-story-intro{max-width:720px;margin-bottom:42px}.justrial-story-intro h2,.justrial-spec-block h2,.justrial-product-help h2{font-size:clamp(34px,4vw,54px);line-height:1.05;letter-spacing:-.035em;margin:0 0 16px}.justrial-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);background:var(--line);gap:1px}.justrial-detail-grid article{background:#fff;padding:30px;min-height:245px}.justrial-detail-grid article span{font-size:12px;letter-spacing:.1em}.justrial-detail-grid h3{font-size:24px;margin:40px 0 12px}.justrial-detail-grid p{color:#57534b}.justrial-spec-block{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start;padding:80px 0;border-bottom:1px solid var(--line)}.justrial-spec-block ul{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}.justrial-spec-block li{padding:16px 0;border-bottom:1px solid var(--line)}.justrial-product-help{display:grid;grid-template-columns:1fr 1fr;gap:70px;background:#dfe3dc;padding:54px;margin-top:70px}.justrial-product-help p{font-size:17px;margin:0 0 25px}.single-product .woocommerce-tabs,.single-product .related{grid-column:1/-1}
@media(max-width:760px){.single-product .product{grid-template-columns:1fr;gap:30px}.single-product .product .summary{position:static}.justrial-detail-grid{grid-template-columns:1fr}.justrial-detail-grid article{min-height:0}.justrial-spec-block,.justrial-product-help{grid-template-columns:1fr;gap:25px}.justrial-product-story{margin-top:45px}}

/* Homepage category preview stability guard. The plugin owns this module; these rules prevent
   the older theme-level homepage styles from compressing preview cards at laptop widths. */
.home-category-showcase .panel-product-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
.home-category-showcase .panel-product-card{display:grid!important;grid-template-columns:132px minmax(0,1fr)!important;gap:15px!important;align-items:center!important;min-width:0!important;width:100%!important;max-width:none!important;overflow:hidden;text-decoration:none}
.home-category-showcase .panel-product-card img{width:132px!important;height:132px!important;min-width:132px!important;max-width:132px!important;object-fit:contain!important;margin:0!important;display:block!important}
.home-category-showcase .panel-product-card div{min-width:0!important}
@media(max-width:1120px){.home-category-showcase .panel-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.home-category-showcase .panel-product-card{grid-template-columns:124px minmax(0,1fr)!important}.home-category-showcase .panel-product-card img{width:124px!important;height:124px!important;min-width:124px!important;max-width:124px!important}}
@media(max-width:760px){.home-category-showcase .panel-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.home-category-showcase .panel-product-card{grid-template-columns:104px minmax(0,1fr)!important}.home-category-showcase .panel-product-card img{width:104px!important;height:104px!important;min-width:104px!important;max-width:104px!important}}
@media(max-width:620px){.home-category-showcase .panel-product-grid{grid-template-columns:1fr!important}.home-category-showcase .panel-product-card{grid-template-columns:92px minmax(0,1fr)!important}.home-category-showcase .panel-product-card img{width:92px!important;height:92px!important;min-width:92px!important;max-width:92px!important}}
