/* PPE category catalogue inspired by clear B2B discovery flows; visuals and layout are original to Langsheng. */
.categories{padding:76px max(5vw,28px) 86px;background:#f1f3ef}
.category-head{max-width:1480px;margin:0 auto 30px;padding:0;align-items:end}
.category-head>div:first-child{max-width:620px}
.category-head h2{font-size:clamp(36px,4vw,54px);line-height:1.02}
.category-controls{max-width:420px}
.category-controls p{font-size:12px;line-height:1.65;margin:0;color:#68746d}
.category-rail{max-width:1480px;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;overflow:visible;cursor:default;scroll-snap-type:none}
.category-card{min-width:0;min-height:370px;height:auto;display:flex;flex-direction:column;flex-basis:auto;margin:0!important;overflow:hidden;border:1px solid #dce2dd;border-radius:13px 13px 13px 5px;background:#fff;color:#1e2d26;box-shadow:0 6px 22px #22372b0a;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.category-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px #22372b16;border-color:#c7a35f}
.category-bg{position:relative;inset:auto;z-index:0;display:block;flex:0 0 204px;width:100%;height:204px;border-radius:0;clip-path:none;background-color:#f5f6f2;background-repeat:no-repeat;background-position:center;background-size:contain;transition:transform .55s cubic-bezier(.2,.7,.2,1);transform-origin:center}
.category-card:hover .category-bg{clip-path:none;transform:scale(1.045)}
.card-helmet .category-bg{background-image:url('assets/products/unbranded-safety-helmet-concept-20261118.png');background-size:auto 88%;background-color:#f1f2ee}
.card-hand .category-bg{background-image:url('assets/products/work-gloves-nitrile-concept.png');background-size:90% auto;background-color:#f0f3f1}
.card-body .category-bg{background-image:url('assets/products/high-visibility-vest-concept.png');background-size:auto 92%;background-color:#f4f4ed}
.card-foot .category-bg{background-image:url('assets/products/safety-shoe-concept.png');background-size:88% auto;background-color:#eff1ed}
.card-eye .category-bg{background-image:url('assets/products/eye-face-protection-category-concept.png');background-size:100% auto;background-color:#eef1f1}
.card-special .category-bg{background-image:url('assets/products/hearing-protection-range-composite-20261119.png');background-size:100% auto;background-color:#f0f1ed}
.category-orbit{display:none}
.category-index{position:static;order:1;display:block;margin:16px 19px 0;padding:0;max-width:none;color:#9b6d27;font-size:8px;font-weight:800;letter-spacing:.12em;line-height:1.35}
.category-copy{position:relative;order:2;left:auto;right:auto;bottom:auto;margin:7px 19px 21px;padding:0;min-height:110px}
.category-copy h3{max-width:calc(100% - 44px);margin:0 0 8px;color:#21342c;font-size:22px;font-weight:750;line-height:1.15;letter-spacing:-.04em}
.category-copy p{max-width:calc(100% - 40px);margin:0;color:#647169;font-size:11px;line-height:1.55}
.category-copy .category-open{right:0;bottom:1px;width:35px;height:35px;background:#20372e;color:#fff;font-size:16px;box-shadow:0 4px 12px #1c352820;transition:transform .24s,background .24s}
.category-card:hover .category-copy .category-open{transform:translate(2px,-2px);background:#d5a244;color:#20372e}
.category-foot{position:absolute;z-index:2;top:13px;right:13px;left:auto;bottom:auto;padding:5px 8px;border:1px solid #dfe4df;border-radius:30px;background:#ffffffd9;color:#606d65;font-size:6px;font-weight:800;letter-spacing:.08em;writing-mode:horizontal-tb;transform:none}
.category-card:focus-visible{outline:3px solid #bf7b20;outline-offset:4px}
.rail-progress,.category-controls .carousel-buttons{display:none}
/* Each PPE family gets a visual crop that suits its form; source image remains fully contained. */
.product-category#head-protection .single-grid .product-image{height:350px;min-height:350px;flex-basis:min(39vw,360px);width:min(39vw,360px);border-radius:48% 52% 39% 61%;background:#f2ead7;transform:rotate(-2deg)}
.product-category#head-protection .single-grid .product-image img{transform:rotate(2deg)}
.product-category#hand-protection .product-image{height:205px;max-width:300px;aspect-ratio:1.42;border-radius:49% 51% 43% 57%;background:#e9eeeb;overflow:visible}
.product-category#hand-protection .product-image:before{inset:9px;border-radius:48% 52% 42% 58%}
.product-category#hand-protection .product-card:nth-child(1) .product-image{transform:translateY(7px) rotate(-2deg);background:#ecefe9}
.product-category#hand-protection .product-card:nth-child(2) .product-image{transform:translateY(-3px) rotate(2deg);border-radius:60% 40% 52% 48%;background:#e8eef0}
.product-category#hand-protection .product-card:nth-child(3) .product-image{transform:translateY(12px) rotate(1deg);border-radius:43% 57% 46% 54%;background:#f0ebe2}
.product-category#hand-protection .product-card:nth-child(4) .product-image{transform:translateY(1px) rotate(-1deg);border-radius:55% 45% 59% 41%;background:#e9ede7}
.product-category#hand-protection .product-card:hover .product-image{transform:translateY(-3px) rotate(0);background:#e2e9e3}
.product-category#body-protection .single-grid .product-image{height:380px;min-height:380px;flex-basis:min(36vw,330px);width:min(36vw,330px);border-radius:46% 54% 32% 68%;background:#edf1d9;transform:rotate(1deg)}
.product-category#body-protection .single-grid .product-image img{transform:rotate(-1deg)}
.product-category#footwear .single-grid .product-image{height:260px;min-height:260px;flex-basis:min(42vw,390px);width:min(42vw,390px);border-radius:54% 46% 48% 52%;background:#e9e8e1;transform:rotate(-1deg)}
.product-category#footwear .single-grid .product-image img{transform:rotate(1deg)}
.product-category#head-protection .single-grid .product-card:hover .product-image,.product-category#body-protection .single-grid .product-card:hover .product-image,.product-category#footwear .single-grid .product-card:hover .product-image{transform:translateY(-5px) rotate(0)}
.product-image img{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.product-card:hover .product-image img{transform:scale(1.09)}
.product-category#head-protection .single-grid .product-card:hover .product-image img,.product-category#body-protection .single-grid .product-card:hover .product-image img,.product-category#footwear .single-grid .product-card:hover .product-image img{transform:scale(1.06)}
.product-ask{display:inline-flex;align-items:center;gap:9px;margin-top:14px;color:#95621d;font-size:10px;font-weight:700;border-bottom:1px solid #c7b18b;padding-bottom:4px;transition:color .2s,border-color .2s}
.product-ask span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e9b655;color:#26392f;font-size:13px;transition:transform .2s}
.product-ask:hover{color:#26392f;border-color:#26392f}
.product-ask:hover span{transform:translate(2px,-2px)}
.product-category .single-grid .product-copy .product-ask{font-size:11px}
.request-category{display:grid;grid-template-columns:minmax(170px,220px) minmax(0,1fr) auto;align-items:center;gap:clamp(24px,4vw,56px)}
.request-category .category-visual{position:relative;width:100%;aspect-ratio:1.28;overflow:hidden;border-radius:56% 44% 14% 42%;background:#edf0ed}
.request-category .category-visual img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;transition:transform .55s ease}
.request-category:hover .category-visual img{transform:scale(1.06)}
.request-category .category-visual span{position:absolute;left:10px;bottom:10px;padding:5px 8px;border-radius:20px;background:#ffffffd9;color:#57645d;font-size:7px;font-weight:800;letter-spacing:.08em}
.request-category .category-title{display:flex;flex-direction:column;gap:8px;margin:0}
.request-category .category-title>span{padding:0}
.request-category .category-title p{max-width:52ch}
.request-category .text-arrow{margin:0}
@media(max-width:900px){.category-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.category-card{min-height:350px}.category-bg{flex-basis:190px;height:190px}.product-category#hand-protection .product-image{height:190px}.request-category{grid-template-columns:160px minmax(0,1fr);gap:22px}.request-category .text-arrow{grid-column:2;justify-self:start}.request-category .category-title{grid-column:2;grid-row:1}.request-category .category-visual{grid-column:1;grid-row:1/3}}
@media(max-width:650px){.categories{padding:62px 16px 66px}.category-head{display:block;margin-bottom:24px}.category-controls{margin-top:14px}.category-rail{grid-template-columns:1fr;gap:12px}.category-card{min-height:0;display:grid;grid-template-columns:38% 1fr;grid-template-rows:auto 1fr;align-items:center;border-radius:10px 10px 10px 4px}.category-bg{grid-column:1;grid-row:1/3;width:100%;height:100%;min-height:160px;flex-basis:auto}.category-index{grid-column:2;grid-row:1;margin:15px 15px 0;font-size:7px}.category-copy{grid-column:2;grid-row:2;align-self:start;margin:5px 15px 16px;min-height:0;padding-right:30px}.category-copy h3{font-size:18px;max-width:100%}.category-copy p{max-width:100%;font-size:10px}.category-copy .category-open{width:28px;height:28px;right:-31px;bottom:0;font-size:13px}.category-foot{top:8px;right:auto;left:8px;font-size:5px;padding:4px 6px}.product-category#head-protection .single-grid .product-image,.product-category#body-protection .single-grid .product-image,.product-category#footwear .single-grid .product-image{width:min(78vw,310px);height:min(70vw,300px);min-height:0;flex-basis:auto;align-self:center}.product-category#head-protection .single-grid .product-image{border-radius:48% 52% 39% 61%}.product-category#body-protection .single-grid .product-image{height:min(88vw,360px);border-radius:46% 54% 32% 68%}.product-category#footwear .single-grid .product-image{height:min(58vw,230px);border-radius:54% 46% 48% 52%}.product-category#hand-protection .product-image{width:min(78vw,250px);max-width:250px;height:170px;margin:0 auto 16px}.product-category#hand-protection .product-grid:not(.single-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.product-category#hand-protection .product-card:nth-child(n){transform:none}.product-ask{font-size:9px}.product-category .single-grid .product-copy .product-ask{font-size:10px}.request-category{grid-template-columns:1fr;gap:18px}.request-category .category-visual{grid-column:1;grid-row:auto;width:min(100%,360px);aspect-ratio:1.55;margin:auto}.request-category .category-title{grid-column:1;grid-row:auto}.request-category .text-arrow{grid-column:1;grid-row:auto}}
@media(prefers-reduced-motion:reduce){.category-bg,.product-image img,.request-category .category-visual img,.product-ask span{transition:none!important}}
