/* Recognition graphics are schematic; labels and real facet counts stay authoritative. */
.sd-storefront .sd-finder-app{background:#f6f5f4;padding-top:28px}
.sd-storefront .sd-finder-intro{margin-bottom:24px}
.sd-storefront .sd-finder-intro h1{font-size:clamp(30px,3.7vw,52px);line-height:1.1}
.sd-storefront .sd-finder-intro>p{font-size:16px;line-height:1.6;max-width:70ch}
.sd-storefront .sd-finder-controls{padding:8px 22px 18px}
.sd-finder-status{display:block;min-height:52px;padding-block:15px;line-height:1.5}
.sd-facet summary{min-height:48px;gap:14px;align-items:center}
.sd-facet summary>strong{display:flex;align-items:center;gap:10px;font-size:16px}
.sd-facet-number{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;background:#eeecea;color:var(--sd-muted);font-size:12px;font-weight:600}
.sd-facet summary>span{font-size:13px;max-width:45%;overflow-wrap:anywhere;line-height:1.4;color:var(--sd-muted)}
.sd-facet-hint{margin:4px 0 15px;padding-left:35px;color:var(--sd-muted);font-size:13px;line-height:1.5}
.sd-storefront .sd-facet__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.sd-storefront .sd-option{position:relative;display:flex;align-items:center;gap:9px;padding:12px;min-height:48px;font-size:13px;line-height:1.35;text-align:left}
.sd-storefront .sd-option>small{margin-left:auto;flex:none;background:#f0eeec;color:var(--sd-muted);font-size:11px;font-weight:400;border-radius:3px}
.sd-storefront .sd-option__graphic{width:44px;height:38px;transform:none;border:0;border-radius:0;flex:none}
.sd-option__graphic svg{display:block;width:100%;height:100%;fill:#f0eeec;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sd-storefront .sd-option.is-selected .sd-option__graphic svg{fill:#ead6dc}
.sd-storefront .sd-option.is-selected .sd-option__graphic:after{display:none}
.sd-storefront .sd-facet[data-group=kopfform] .sd-facet__options,.sd-storefront .sd-facet[data-group=antrieb] .sd-facet__options{grid-template-columns:repeat(3,minmax(0,1fr))}
.sd-facet[data-group=kopfform] .sd-option,.sd-facet[data-group=antrieb] .sd-option{flex-direction:column;justify-content:center;min-height:104px;padding:14px 9px 10px;text-align:center;gap:8px}
.sd-facet[data-group=kopfform] .sd-option>small,.sd-facet[data-group=antrieb] .sd-option>small{position:absolute;top:6px;right:6px}
.sd-facet-skip{grid-column:1/-1;min-height:44px;border:0;background:transparent;color:var(--sd-action);font:inherit;font-size:13px;text-align:left;padding:10px 0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.sd-facet-skip:hover{color:var(--sd-orange-dark)}
.sd-selection-chip{min-height:44px;max-width:100%;overflow-wrap:anywhere;line-height:1.4}
.sd-storefront .sd-finder-preview{top:calc(var(--wp-admin--admin-bar--height,0px) + 20px)}
.sd-storefront .sd-preview-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:12px 16px}
.sd-storefront .sd-preview-actions button{min-height:44px;font-size:12px;padding:7px;border-radius:4px}
.sd-storefront .sd-preview-toolbar{flex-wrap:wrap;gap:6px;padding:16px;font-size:14px}
.sd-storefront .sd-preview-toolbar [data-preview-state]{font-size:12px;line-height:1.4}
.sd-storefront .sd-screw-model__thread{clip-path:none;border-radius:2px 2px 5px 5px}
.sd-storefront .sd-screw-model.is-pointed .sd-screw-model__thread{clip-path:polygon(0 0,100% 0,100% 92%,50% 100%,0 92%)}
.sd-storefront .sd-screw-model[data-head=fluegelkopf] .sd-screw-model__head{clip-path:polygon(4% 10%,24% 4%,43% 45%,57% 45%,76% 4%,96% 10%,88% 94%,12% 94%);height:64px}
.sd-storefront .sd-screw-model[data-head=hammerkopf] .sd-screw-model__head{clip-path:none;height:34px;border-radius:3px}
.sd-storefront .sd-screw-model[data-head=flachkopf] .sd-screw-model__head{clip-path:none;height:28px;border-radius:3px}
.sd-storefront .sd-finder-action{padding-bottom:max(12px,env(safe-area-inset-bottom));gap:18px}
.sd-finder-results{scroll-margin-top:32px}
.sd-finder-app.is-loading [data-sd-results]{min-height:160px}
.sd-finder-app.is-loading [data-sd-results]:empty:before{content:'Passende Produktfamilien werden geladen …';display:block;padding:28px;color:var(--sd-muted);font-size:14px;background:#eeecea;border-radius:4px}
@media(min-width:961px){.sd-storefront .sd-preview-content{display:block}.sd-storefront .sd-preview-mobile-toggle{display:none}}
@media(max-width:960px){.sd-storefront .sd-finder-layout{grid-template-columns:1fr}.sd-storefront .sd-finder-preview{position:static;order:-1;padding:14px}.sd-storefront .sd-preview-mobile-toggle{display:block}.sd-storefront .sd-preview-content:not(.is-open){display:none}.sd-storefront .sd-finder-intro h1{font-size:34px}.sd-storefront .sd-finder-controls{padding-inline:16px}}
@media(max-width:600px){.sd-storefront .sd-finder-intro h1{font-size:30px}.sd-storefront .sd-finder-intro>p{font-size:14px}.sd-storefront .sd-facet[data-group=kopfform] .sd-facet__options,.sd-storefront .sd-facet[data-group=antrieb] .sd-facet__options{grid-template-columns:repeat(2,minmax(0,1fr))}.sd-facet-hint{padding-left:0}.sd-facet summary>strong{font-size:15px}.sd-finder-action>div{min-width:0}.sd-finder-action strong{font-size:13px}.sd-finder-action span{font-size:11px}.sd-finder-action button{font-size:14px!important;min-height:46px}.sd-storefront .sd-finder-results>.sd-section-heading{flex-wrap:wrap;gap:12px}.sd-storefront .sd-preview-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.sd-storefront .sd-finder-app{padding-bottom:130px}}
@media(prefers-reduced-motion:reduce){.sd-storefront .sd-option,.sd-storefront .sd-screw-model{transition:none}}
/* The active state and its correction live together, before optional groups. */
.sd-storefront [data-sd-selection]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-bottom:18px}
.sd-storefront [data-sd-selection]>p{flex-basis:100%;margin:0;font-size:14px;line-height:1.5}
.sd-storefront [data-sd-selection] [data-sd-reset]{min-height:44px;padding:8px 10px;border:0;background:transparent;color:var(--sd-action);font:inherit;font-size:14px;line-height:1.4;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.sd-storefront [data-sd-selection] [data-sd-reset][hidden]{display:none}
.sd-storefront .sd-selection-chip{font-size:14px;line-height:1.4;border-radius:4px;white-space:normal;text-align:left}
.sd-storefront .sd-facet-search input{font-size:16px;min-height:46px}
.sd-storefront [data-sd-selection] button:focus-visible{outline:3px solid var(--sd-action);outline-offset:3px}
.sd-storefront [data-sd-selection] button:active{background:#eadde1}
@media(hover:hover) and (pointer:fine){.sd-storefront [data-sd-selection] [data-sd-reset]:hover{color:var(--sd-action-hover,#68172b)}}
@media(max-width:780px){
 .sd-storefront .sd-finder-app{padding-top:12px}
 .sd-storefront .sd-finder-intro{padding:0 0 8px;margin-bottom:12px}
 .sd-storefront .sd-finder-intro>p{margin-block:10px;line-height:1.5}
 .sd-storefront .sd-finder-intro .sd-breadcrumbs{margin-block:8px 16px}
 .sd-storefront .sd-finder-preview{padding:8px;margin-bottom:0}
 .sd-storefront .sd-finder-status{min-height:44px;padding-block:10px;font-size:14px}
 .sd-storefront .sd-finder-controls{padding:4px 12px 14px}
 .sd-storefront [data-sd-selection]{padding-bottom:10px}
}
