/* 1KG Shop by Industrial Category — GLB drill helix V1.0.5
   Isolated homepage-only layout. Original backend category cards remain as fallback. */
.kg-approved-categories.kg-helix-v3-active{padding-top:10px!important;padding-bottom:12px!important;overflow:hidden!important}
.kg-approved-categories.kg-helix-v3-active .kg-approved-heading{margin-bottom:8px!important}
.kg-approved-categories.kg-helix-v3-active .kg-approved-heading h2{font-size:clamp(22px,2.1vw,29px)!important;margin:0 0 4px!important}
.kg-approved-categories.kg-helix-v3-active .kg-approved-heading p{font-size:12px!important;margin:0!important}
.kg-approved-categories.kg-helix-v3-active #kgApprovedCategoryBanners{display:none!important}
.kg-helix-v3-stage{display:none;position:relative;width:100%;height:164px;grid-template-columns:clamp(210px,23%,290px) minmax(0,1fr);overflow:hidden;border-radius:14px;background:#f6faf9;box-shadow:0 2px 9px rgba(0,48,33,.07)}
.kg-approved-categories.kg-helix-v3-active .kg-helix-v3-stage{display:grid}
.kg-helix-v3-feature{position:relative;isolation:isolate;z-index:5;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-width:0;padding:14px 16px 13px;overflow:hidden;border:1px solid #1b9253;border-radius:14px;background:linear-gradient(115deg,#03472d,#003523);text-decoration:none!important;color:#fff!important}
.kg-helix-v3-feature img{position:absolute;right:0;top:0;z-index:-2;width:83%;height:100%;object-fit:cover;object-position:center;filter:contrast(1.09) brightness(.97);-webkit-mask-image:linear-gradient(to right,transparent,#000 55%);mask-image:linear-gradient(to right,transparent,#000 55%)}
.kg-helix-v3-feature:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,62,38,.98) 0%,rgba(0,66,41,.88) 42%,rgba(0,45,38,.06) 100%);pointer-events:none}
.kg-helix-v3-feature:focus-visible{outline:3px solid #97ecaa;outline-offset:-3px}
.kg-helix-v3-badge{position:relative;z-index:1;display:inline-flex;align-items:center;padding:5px 8px;background:#d0fb29;border-radius:6px;color:#164d20;font:800 10px/1.15 system-ui,Arial,sans-serif;letter-spacing:.15px}
.kg-helix-v3-title{position:relative;z-index:1;max-width:74%;font:800 clamp(18px,1.8vw,25px)/1.08 system-ui,Arial,sans-serif;color:#fff;overflow-wrap:anywhere;text-shadow:0 1px 3px #00291877}
.kg-helix-v3-cta{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:25px;background:#c3ff29;color:#063c18;font:800 11px/1.15 system-ui,Arial,sans-serif}
.kg-helix-v3-orbit{position:relative;min-width:0;height:100%;overflow:hidden;isolation:isolate;background:#f6faf9}
.kg-helix-v3-orbit:after{content:"";position:absolute;inset:0 0 0 auto;width:28px;z-index:7;pointer-events:none;background:linear-gradient(90deg,transparent,#f6faf9)}
.kg-helix-v3-video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;z-index:1;background:#f6faf9}
.kg-helix-v3-layer{position:absolute;inset:0;pointer-events:none;z-index:3}
.kg-helix-v3-tag{position:absolute;top:0;left:0;box-sizing:border-box;display:flex;align-items:center;gap:6px;padding:4px 6px;width:132px;height:42px;overflow:hidden;text-decoration:none!important;background:rgba(255,255,255,.98);border:1px solid #c1ddcb;border-bottom:2px solid #31a65d;border-radius:9px;box-shadow:0 3px 10px rgba(3,49,29,.14);color:#143d2e!important;pointer-events:auto;will-change:transform,opacity}
.kg-helix-v3-tag img{width:35px;height:33px;object-fit:contain;border-radius:4px;mix-blend-mode:multiply;flex:0 0 auto}
.kg-helix-v3-tag strong{font:750 11px/1.12 system-ui,Arial,sans-serif;overflow:hidden;overflow-wrap:anywhere;max-height:35px}
.kg-helix-v3-tag em{flex:0 0 auto;margin-left:auto;width:17px;height:17px;border-radius:50%;background:#08883c;text-align:center;color:#fff;font:700 normal 13px/17px Arial,sans-serif}
.kg-helix-v3-tag:hover,.kg-helix-v3-tag:focus-visible{outline:2px solid #11b355;outline-offset:1px;box-shadow:0 5px 15px #107b3944}
@media(max-width:700px){
.kg-helix-v3-stage{height:264px;grid-template-columns:1fr;grid-template-rows:110px 154px;border-radius:11px}
.kg-helix-v3-feature{padding:9px 12px;border-radius:11px}
.kg-helix-v3-feature img{width:58%}
.kg-helix-v3-badge{font-size:9px;padding:4px 7px}
.kg-helix-v3-title{font-size:17px;max-width:65%}
.kg-helix-v3-cta{font-size:10px;padding:5px 10px}
.kg-helix-v3-video{left:50%;inset-block:0;width:880px;height:154px;max-width:none;transform:translateX(-50%)}
.kg-helix-v3-tag{width:101px;height:39px;padding:3px 4px;gap:4px}
.kg-helix-v3-tag img{width:26px;height:29px}
.kg-helix-v3-tag strong{font-size:9px;max-height:32px}
.kg-helix-v3-tag em{display:none}
}
@media(prefers-reduced-motion:reduce){
.kg-approved-categories.kg-helix-v3-active #kgApprovedCategoryBanners{display:grid!important}
.kg-approved-categories.kg-helix-v3-active .kg-helix-v3-stage{display:none!important}
}
/* Approved Fasteners artwork occupies entire linked feature card — no duplicate text overlays */
.kg-helix-v3-feature.kg-helix-v3-approved{padding:0!important;background:#f8fbf8!important;border:1px solid #b9d5c6!important}
.kg-helix-v3-feature.kg-helix-v3-approved>img:not(.kg-helix-v3-approved-image),
.kg-helix-v3-feature.kg-helix-v3-approved>.kg-helix-v3-badge,
.kg-helix-v3-feature.kg-helix-v3-approved>.kg-helix-v3-title,
.kg-helix-v3-feature.kg-helix-v3-approved>.kg-helix-v3-cta{visibility:hidden!important}
.kg-helix-v3-feature.kg-helix-v3-approved:before{display:none!important}
.kg-helix-v3-feature img.kg-helix-v3-approved-image{
 position:absolute!important;inset:0!important;left:0!important;top:0!important;
 width:100%!important;height:100%!important;z-index:3!important;
 object-fit:fill!important;object-position:center!important;
 filter:none!important;opacity:1!important;
 -webkit-mask-image:none!important;mask-image:none!important;
}
.kg-helix-v3-feature:not(.kg-helix-v3-approved) img.kg-helix-v3-approved-image{display:none!important}
/* Matching the uploaded 513×268 artwork's proportions without enlarging the section */
@media(min-width:701px){
 .kg-helix-v3-stage{height:158px;grid-template-columns:clamp(242px,23%,300px) minmax(0,1fr)}
}
@media(max-width:700px){
 .kg-helix-v3-stage{height:auto;grid-template-rows:auto 150px}
 .kg-helix-v3-feature{aspect-ratio:513 / 268;min-height:0}
 .kg-helix-v3-orbit{height:150px}
 .kg-helix-v3-video{height:150px}
}

/* v1.0.5: drill enters under feature from beyond the right screen edge.
   Keep container cropped at section boundary but allow video to extend behind
   featured card; the first cutting flutes are concealed under the card. */
.kg-helix-v3-stage{overflow:hidden!important;isolation:isolate!important}
.kg-helix-v3-feature{z-index:5!important;box-shadow:3px 0 8px rgba(0,42,31,.08)!important}
.kg-helix-v3-orbit{overflow:visible!important;isolation:auto!important}
.kg-helix-v3-video{
 left:-30px!important;right:auto!important;top:0!important;bottom:0!important;
 width:calc(100% + 360px)!important;max-width:none!important;height:100%!important;
 transform:none!important;object-fit:fill!important;z-index:1!important;
}
@media(max-width:700px){
 .kg-helix-v3-orbit{overflow:hidden!important}
 .kg-helix-v3-video{
   left:8px!important;top:0!important;bottom:0!important;right:auto!important;
   width:calc(100% + 200px)!important;max-width:none!important;
   height:150px!important;transform:none!important;object-fit:fill!important;
 }
}
