/* Motofinder 3. Klassen .wk-mf3-* (Banner, Sheet, Chips, PDP-Box); Gruppen-Trenner = li.wk-mf3-sep (Server, Hook woocommerce_shop_loop; JS-Fallback) im Flex-Raster ul.products. */
.wk-mf3-banner{box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;max-width:100%;margin:0 0 16px;padding:12px 14px;border:1px solid #e3e6eb;border-radius:8px;background:#f7f8fa;font-size:15px;line-height:1.35}
.wk-mf3-banner *{box-sizing:border-box;min-width:0;max-width:100%}
.wk-mf3-banner-nofit{flex:1 1 100%;order:10;margin:0;font-size:14px;line-height:1.45;color:#4b5563}
.wk-mf3-banner-nofit a{color:#0399EC;font-weight:600;text-decoration:underline}
.wk-mf3-banner-title{flex:1 1 220px;font-weight:600;overflow-wrap:anywhere}
.wk-mf3-banner-user{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 100%}
.wk-mf3-banner-user[hidden]{display:none}
.wk-mf3-banner-btn,.wk-mf3-banner-show,.wk-mf3-chip{display:inline-block;max-width:100%;padding:8px 12px;border:1px solid #c9ced6;border-radius:6px;background:#fff;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wk-mf3-banner-select{max-width:100%;padding:8px;border:1px solid #c9ced6;border-radius:6px;background:#fff}
.wk-mf3-banner-gear{position:relative}
.wk-mf3-banner-gear>summary{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:40px;color:#3c4350;list-style:none;cursor:pointer;padding:6px 10px;border:1px solid #c9ced6;border-radius:6px;background:#fff}
.wk-mf3-banner-gear>summary::-webkit-details-marker{display:none}
.wk-mf3-banner-menu{position:absolute;right:0;z-index:20;box-sizing:border-box;width:min(320px,calc(100vw - 32px));max-width:calc(100vw - 32px);margin:4px 0 0;padding:6px;list-style:none;border:1px solid #c9ced6;border-radius:8px;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.12)}
.wk-mf3-banner-menu li{margin:0}
.wk-mf3-banner .wk-mf3-banner-menu li>a,.wk-mf3-banner .wk-mf3-banner-menu li>button{display:flex;align-items:center;box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 12px;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font-family:inherit;font-size:15px;font-weight:400;font-style:normal;line-height:1.35;letter-spacing:normal;text-transform:none;text-align:left;text-decoration:none;white-space:normal;cursor:pointer;-webkit-appearance:none;appearance:none}
.wk-mf3-banner .wk-mf3-banner-menu li>a:hover,.wk-mf3-banner .wk-mf3-banner-menu li>button:hover{background:#f2f4f7;color:inherit}
.wk-mf3-banner-menu .wk-mf3-gm[hidden]{display:none}
.wk-mf3-gm{margin:4px 0;padding:4px 0;border-top:1px solid #e3e6eb;border-bottom:1px solid #e3e6eb}
.wk-mf3-gm-hd{display:block;padding:4px 10px;font-size:12px;font-weight:600;color:#5b6470;text-transform:uppercase;letter-spacing:.03em}
.wk-mf3-gm-list{margin:0;padding:0;list-style:none}
.wk-mf3-banner .wk-mf3-banner-menu li>a.wk-mf3-gm-link{display:flex;align-items:center;justify-content:space-between;gap:8px}
.wk-mf3-gm-link[aria-current=true]{font-weight:600}
.wk-mf3-gm-name{min-width:0;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.wk-mf3-due-dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#d93025}
.wk-mf3-sheet{width:min(520px,calc(100vw - 24px));max-height:calc(100vh - 48px);padding:0;border:0;border-radius:12px;overflow:auto}
.wk-mf3-sheet::backdrop{background:rgba(0,0,0,.45)}
@media (max-width:639px){.wk-mf3-sheet{position:fixed;inset:auto 0 0 0;width:100%;max-width:none;margin:0;border-radius:14px 14px 0 0;padding-bottom:env(safe-area-inset-bottom,0)}}
.wk-mf3-sheet-hd{padding:16px 56px 8px 16px;font-weight:600}
.wk-mf3-sheet .wk-vehicle-badge-form{display:flex;flex-direction:column;gap:10px;padding:8px 16px 16px}
.wk-mf3-sheet-x{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;background:none;display:flex;align-items:center;justify-content:center;color:inherit;cursor:pointer}
.wk-mf3-fitment{display:flex;align-items:center;gap:8px;margin:8px 0;padding:10px 12px;border-radius:8px;border:1px solid #e3e6eb;background:#f7f8fa}
.wk-mf3-fitment--fits{border-color:#2e7d32;background:#edf7ee}
.wk-mf3-fitment--nofit{border-color:#b26a00;background:#fff6e5}
.wk-mf3-fitment--universal{border-color:#1565c0;background:#e8f1fb}
.wk-mf3-fitment[hidden]{display:none}
ul.products li.wk-mf-group-start{clear:both}
ul.products>li.wk-mf3-sep{clear:both;grid-column:1/-1;flex:0 0 100%;width:100%;margin:8px 0 0;padding-bottom:0;list-style:none}
ul.products>li.wk-mf3-sep .wk-mf3-sep-title{display:block;padding:6px 0;border-bottom:1px solid #e3e6eb;font-weight:600;font-size:16px;line-height:1.3}
/* YOOtheme-Raster: Trenner als volle Zeile; UIkit setzt Gutter (uk-grid-margin) und first-column selbst. */
.uk-grid>.wk-mf3-sep{flex:0 0 100%;width:100%;box-sizing:border-box}
.uk-grid>.wk-mf3-sep .wk-mf3-sep-title{flex:1 1 100%;display:block;padding:6px 0;border-bottom:1px solid #e3e6eb;font-weight:600;font-size:16px;line-height:1.3}
.wk-mf3-banner-picker{display:contents}
.wk-mf3-sheet .wk-vehicle-badge-form{padding-bottom:max(16px,env(safe-area-inset-bottom,0))}
/* Karten-Badges wie 2.x: gruen "Passt", blau "Universal" (YOOtheme-Raster ul.products > li und Builder-Grid .el-item) */
ul.products>li.wk-mf-fit,ul.products>li.wk-mf-universal,.el-item.wk-mf-fit,.el-item.wk-mf-universal{position:relative}
ul.products>li.wk-mf-fit::after,ul.products>li.wk-mf-universal::after,.el-item.wk-mf-fit::after,.el-item.wk-mf-universal::after{position:absolute;top:8px;right:8px;z-index:10;padding:4px 9px;border-radius:6px;color:#fff;font-size:11px;font-weight:700;line-height:15px;letter-spacing:.02em;white-space:nowrap;pointer-events:none}
ul.products>li.wk-mf-fit::after,.el-item.wk-mf-fit::after{content:"Passt";background:#16a34a}
ul.products>li.wk-mf-universal::after,.el-item.wk-mf-universal::after{content:"Universal";background:#0284c7}
@media (max-width:639px){ul.products>li.wk-mf-fit::after,ul.products>li.wk-mf-universal::after,.el-item.wk-mf-fit::after,.el-item.wk-mf-universal::after{top:4px;right:4px;padding:3px 8px;font-size:10px;line-height:14px}}
/* Badge-Stapel: unter dem Lieferzeit-Badge (wk-lieferzeit, ::before oben rechts) gleiche rechte Kante; top = 8 + Hoehe + 4 */
.el-item.wk-lz-instock:is(.wk-mf-fit,.wk-mf-universal)::after{top:35px}
.el-item.wk-lz-fast:is(.wk-mf-fit,.wk-mf-universal)::after{top:35px}
@media (max-width:639px){.el-item.wk-lz-instock:is(.wk-mf-fit,.wk-mf-universal)::after{top:28px}.el-item.wk-lz-fast:is(.wk-mf-fit,.wk-mf-universal)::after{top:28px}.el-item.wk-lz-has-sale:is(.wk-lz-instock,.wk-lz-fast):is(.wk-mf-fit,.wk-mf-universal)::after{top:4px}}
/* 3.0.2: Auswahl des Banners im Stil der Header-Plakette (wk-shop-nav), alles auf .wk-mf3-sheet begrenzt */
.wk-mf3-sheet{color:#1b2230;font-size:14px;line-height:1.3;background:#fff}
.wk-mf3-sheet *{box-sizing:border-box}
.wk-mf3-sheet-hd{display:flex;align-items:center;min-height:44px;margin:0;padding:0 56px 0 16px;border-bottom:1px solid #e3e6eb;font-size:14px;font-weight:800}
.wk-mf3-sheet .wk-vehicle-badge-form{display:grid;gap:8px;padding:16px}
.wk-mf3-sheet select,.wk-mf3-sheet .wk-vehicle-badge-submit{display:block;width:100%;min-height:44px;margin:0;padding:0 10px;border:1px solid #e3e6eb;border-radius:8px;background-color:#fff;color:#1b2230;font:inherit;font-size:15px;line-height:1.3;box-shadow:none}
.wk-mf3-sheet select{-webkit-appearance:menulist;appearance:auto}
.wk-mf3-sheet select:disabled{opacity:.6}
.wk-mf3-sheet.wk-mf3-sheet select:not([multiple]):not([size]){border:1px solid #e3e6eb;border-radius:8px;background-color:#fff;background-image:none!important;-webkit-appearance:menulist;appearance:auto;padding:0 10px;height:44px}
.wk-mf3-sheet .wk-vehicle-badge-submit{display:flex;align-items:center;justify-content:center;gap:8px;border-color:#0399EC;background:#0399EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center;color:#fff;font-weight:700;text-transform:none;cursor:pointer;-webkit-appearance:none;appearance:none}
.wk-mf3-sheet .wk-vehicle-badge-submit:disabled{opacity:.5;cursor:default}
.wk-mf3-sheet-garage{margin:0;padding:0 16px max(16px,env(safe-area-inset-bottom,0));border:0}
.wk-mf3-sheet-garage[hidden]{display:none}
.wk-mf3-sheet-garage .wk-mf3-gm-hd{padding:4px 0 6px}
.wk-mf3-sheet-garage .wk-mf3-gm-list{display:grid;gap:6px}
.wk-mf3-sheet-garage .wk-mf3-gm-link{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 10px;border:1px solid #e3e6eb;border-radius:8px;background:#fff;color:#1b2230;font-size:15px;text-decoration:none}
.wk-mf3-sheet-garage .wk-mf3-gm-link[aria-current=true]{border-color:#0399EC;font-weight:600}
