.sjkf{--sjkf-border:#312783;--sjkf-ink:#312783;background:transparent;color:var(--sjkf-ink);border:0;border-radius:0;padding:0;margin:1rem 0;box-sizing:border-box;max-width:100%;text-align:left}
.sjkf *, .sjkf-page *{box-sizing:border-box}
.sjkf__heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.sjkf__title{font-size:1.2rem;font-weight:700}
.sjkf__form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(170px,1fr) minmax(120px,1fr);gap:.75rem;align-items:end;position:relative;margin:0}
.sjkf__field{min-width:0}.sjkf__field label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sjkf__field input,.sjkf__field select{display:block;width:100%;min-width:0;min-height:46px;padding:.65rem .7rem;border:2px solid var(--sjkf-border);border-radius:0;background:#fff;color:#312783;font-size:16px;line-height:1.4}
.sjkf__field input::placeholder{color:#666;opacity:1}
.sjkf__field input:focus,.sjkf__field select:focus,.sjkf__submit:focus-visible,.sjkf__pagination a:focus-visible{outline:3px solid red;outline-offset:2px}
/* The script marks pointer focus explicitly; without JS the visible focus stays. */
html[data-sjkf-pointer-focus] .sjkf__field input:focus,html[data-sjkf-pointer-focus] .sjkf__field select:focus{outline:none;box-shadow:none}
.sjkf__submit{min-height:46px;font-weight:600;white-space:normal;margin:0;cursor:pointer;border-radius:0;text-transform:uppercase;background:#312783;color:white}.sjkf__field select{cursor:pointer}.sjkf__field input{cursor:text}
.sjkf__trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sjkf .sjkf__rotation{grid-column:1/-1;display:flex;align-items:center;gap:.55rem;min-height:36px;margin:0;font-size:14px;line-height:1.4;cursor:pointer;color:#312783}
.sjkf__rotation input[type=checkbox]{flex:none;width:18px;height:18px;margin:0;accent-color:#312783;cursor:pointer}
.sjkf__rotation input[type=checkbox]:focus-visible{outline:3px solid red;outline-offset:2px}
.sjkf__errors{background:#fff1f0;border-left:4px solid #9e2424;padding:.75rem;margin:.75rem 0;color:#7d1c1c}.sjkf__errors p:last-child{margin-bottom:0}
.sjkf-page{width:100%;max-width:1440px;margin:0 auto;padding:1.5rem 1rem 2.5rem}.sjkf-page h1{margin:0 0 1rem}
.sjkf__summary{margin:1.75rem 0 1rem}.sjkf__summary h2{font-size:1.25rem;margin:0 0 .4rem}.sjkf__summary p{font-size:.9rem;color:#46535e}
.sjkf__results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem;align-items:start}
/* Use the shop's native product card; do not add a second frame or background. */
#product-list.sjkf__results>.sjkf__result{height:auto!important;min-width:0;margin:0;overflow-wrap:anywhere}
.sjkf__results a[href],.sjkf__results a[href] *{cursor:pointer}
.sjkf__empty{padding:1.5rem;background:#f4f6f7;border:1px solid #d8dee3;border-radius:.4rem}.sjkf__empty h3{font-size:1.1rem}
.sjkf__pagination{display:flex;justify-content:center;gap:.4rem;flex-wrap:wrap;margin:2rem 0 0}.sjkf__pagination a,.sjkf__pagination span{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:.5rem .75rem;border:1px solid #b9c1c8;border-radius:.25rem;background:white;color:#172b3a}.sjkf__pagination [aria-current]{background:#172b3a;color:white}
.sjkf__pagination a{cursor:pointer}.sjkf__pagination a:hover{border-color:#312783;color:#312783}
.search-form-wrapper-fixed .sjkf__form{grid-template-columns:repeat(2,minmax(0,1fr))}.search-form-wrapper-fixed .sjkf__submit{grid-column:1/-1}
@media(max-width:1100px){.sjkf__form{grid-template-columns:repeat(3,minmax(0,1fr))}.sjkf__submit{grid-column:2/-1}.sjkf__results{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.sjkf__form{grid-template-columns:repeat(2,minmax(0,1fr))}.sjkf__submit{grid-column:1/-1}.sjkf__results{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.sjkf-page{padding:1rem .75rem 2rem}}
@media(max-width:479px){.sjkf__results{grid-template-columns:minmax(0,1fr)}.sjkf__field--height,.sjkf__field--tolerance{grid-column:1/-1}.sjkf__heading{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.sjkf *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:991.98px){#jtl-nav-wrapper .main-search-wrapper.sjkf-search-wrapper{order:4;flex:0 0 100%;max-width:100%;width:100%}}
.sjkf-inline{width:100%;color:#312783;text-align:left;container-type:inline-size}.sjkf-inline>.sjkf{padding:0;margin:0;border:0;border-radius:0;background:transparent;color:inherit}
.sjkf-inline .sjkf__heading{margin:0 0 .3rem}.sjkf-inline .sjkf__title{font-size:1.5rem;font-weight:600;letter-spacing:.04em;line-height:1.3}
/* Keep the full measure placeholders within the existing shared header width. */
.sjkf-inline .sjkf__form{grid-template-columns:repeat(3,minmax(100px,1fr)) minmax(144px,1.3fr) minmax(88px,1fr);gap:.5rem;align-items:center}
.sjkf-inline .sjkf__field--height,.sjkf-inline .sjkf__field--tolerance{grid-column:auto}
.sjkf-inline .sjkf__field label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sjkf-inline .sjkf__field input,.sjkf-inline .sjkf__field select{min-height:44px;border:2px solid #312783;border-radius:0;padding:.55rem .45rem;font-size:14px;background:#fff;color:#312783}
.sjkf-inline .sjkf__submit{grid-column:auto;min-height:44px;border-radius:0;font-size:.8rem;text-transform:uppercase;padding:.55rem .45rem;white-space:nowrap}
@media(max-width:991.98px){.sjkf-inline{margin:.5rem 0}.sjkf-inline .sjkf__form{grid-template-columns:repeat(2,minmax(0,1fr))}.sjkf-inline .sjkf__field input,.sjkf-inline .sjkf__field select{font-size:16px}.sjkf-inline .sjkf__submit{grid-column:1/-1}}
@container(max-width:564px){.sjkf-inline .sjkf__form{grid-template-columns:repeat(2,minmax(0,1fr))}.sjkf-inline .sjkf__submit{grid-column:1/-1}}
@container(max-width:300px){.sjkf-inline .sjkf__form{grid-template-columns:minmax(0,1fr)}}
/* Keep label and value in separate layout boxes. Native Apple select styling
   must not replace our padding/height; the select itself stays fully native. */
.sjkf .sjkf__tolerance{position:relative;display:flex;align-items:center;min-width:0;border:2px solid #312783;background:#fff}
.sjkf .sjkf__tolerance>label{position:static;flex:none;transform:none;width:auto;height:24px;padding:0 8px;margin:0;border-right:1px solid #c9c3de;overflow:visible;clip-path:none;white-space:nowrap;font-size:12px;font-weight:400;line-height:24px;color:#312783;cursor:pointer}
.sjkf .sjkf__tolerance>select{-webkit-appearance:none;appearance:none;flex:1 1 0%;width:0;min-width:0;min-height:42px;border:0;border-radius:0;padding-left:.6rem;padding-right:28px;background:transparent;line-height:1.4}
.sjkf-inline .sjkf__tolerance>select{min-height:40px}
.sjkf .sjkf__tolerance::after{content:"";position:absolute;right:12px;top:50%;width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-75%) rotate(45deg);pointer-events:none}
.sjkf .sjkf__tolerance>select:focus{outline:none}
.sjkf .sjkf__tolerance:focus-within{outline:3px solid red;outline-offset:2px}
html[data-sjkf-pointer-focus] .sjkf .sjkf__tolerance:focus-within{outline:none;box-shadow:none}
.sjkf-mobile{display:none;width:100%;margin:.5rem 0;color:#312783;text-align:left}
.sjkf-mobile>summary{display:flex;align-items:center;gap:.6rem;min-height:48px;padding:.65rem .75rem;list-style:none;cursor:pointer;border:2px solid #312783;background:#312783;color:#fff;font-size:14px;font-weight:600;line-height:1.4}
.sjkf-mobile>summary::-webkit-details-marker{display:none}
.sjkf-mobile>summary:focus-visible{outline:3px solid red;outline-offset:2px}
.sjkf-mobile__icon{flex:none}
.sjkf-mobile__toggle{width:.55rem;height:.55rem;flex:none;margin:-.25rem .2rem 0 auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.sjkf-mobile[open] .sjkf-mobile__toggle{transform:rotate(225deg);margin-top:.25rem}
.sjkf-mobile>.sjkf{margin:.4rem 0 0;padding:.75rem;border:1px solid #bcb5d5;background:#dedede;box-shadow:0 .25rem .75rem #31278318}
.sjkf-mobile .sjkf__form{grid-template-columns:repeat(2,minmax(0,1fr))}
.sjkf-mobile .sjkf__submit{grid-column:1/-1}
@media(max-width:991.98px){header.sjkf-has-mobile .main-search-wrapper.sjkf-search-wrapper{display:none}.sjkf-mobile{display:block}}

/* Keep the full optional-height placeholder readable in the results form. */
.sjkf-page{container-type:inline-size}
@media(min-width:1101px){
 .sjkf-page .sjkf__form{grid-template-columns:repeat(2,minmax(105px,1fr)) minmax(200px,1.2fr) minmax(170px,1fr) minmax(120px,1fr)}
 @container(max-width:790px){.sjkf-page .sjkf__form{grid-template-columns:repeat(3,minmax(0,1fr))}.sjkf-page .sjkf__submit{grid-column:2/-1}}
}

/* Older Safari has no container queries. Use a conservative results grid there. */
@supports not (container-type:inline-size){
 @media(min-width:1101px){.sjkf-page .sjkf__form{grid-template-columns:repeat(3,minmax(0,1fr))}.sjkf-page .sjkf__submit{grid-column:2/-1}}
}

/* Safari before container queries: wrap without relying on flex gap. */
@supports not (container-type:inline-size){
 .sjkf-inline .sjkf__form{display:flex;flex-wrap:wrap;gap:0;margin:-.25rem;align-items:center}
 .sjkf-inline .sjkf__field{flex:1 1 100px;margin:.25rem}
 .sjkf-inline .sjkf__field--tolerance{flex:1.3 1 144px}
 .sjkf-inline .sjkf__submit{flex:1 1 88px;margin:.25rem}
 .sjkf-inline .sjkf__rotation{flex:1 1 100%;margin:.25rem}
}
