:root{
    --kobalz-search-green:#1f6f4a;
    --kobalz-search-green-dark:#155437;
    --kobalz-search-text:#1f2d24;
    --kobalz-search-muted:#6a756d;
    --kobalz-search-border:#e3e8e1;
}
.kbhf-search-wrap{position:relative;z-index:1010;width:100%}
.kbhf-search-form{position:relative;z-index:2;--kbhf-submit-width:112px}
.kbhf-search-form input[type="search"],.kbhf-search-form input[type="text"],.kbhf-search-form .form-control{height:52px!important;border-radius:16px 0 0 16px!important;border:1px solid var(--kobalz-search-border)!important;background:#fff!important;font-size:15px!important;box-shadow:none!important;padding-right:86px!important}
.kbhf-search-form button,.kbhf-search-form button[type="submit"],.kbhf-search-form .btn{height:52px!important;border-radius:0 16px 16px 0!important;background:var(--kobalz-search-green)!important;border-color:var(--kobalz-search-green)!important;color:#fff!important;font-weight:700!important;box-shadow:none!important}
.kbhf-search-form button:hover,.kbhf-search-form button[type="submit"]:hover,.kbhf-search-form .btn:hover{background:var(--kobalz-search-green-dark)!important;border-color:var(--kobalz-search-green-dark)!important}
.kbhf-search-form .kbhf-search-clear{
    display:none!important;
    position:absolute!important;
    right:calc(var(--kbhf-submit-width,112px) + 42px)!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:18px!important;
    height:18px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    color:#000!important;
    font-size:18px!important;
    line-height:18px!important;
    font-weight:400!important;
    text-align:center!important;
    text-decoration:none!important;
    box-shadow:none!important;
    text-shadow:none!important;
    z-index:20!important;
    cursor:pointer!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    pointer-events:auto!important;
}
.kbhf-search-form.kbhf-has-value .kbhf-search-clear{
    display:block!important;
}
.kbhf-search-form .kbhf-search-clear:hover,
.kbhf-search-form .kbhf-search-clear:focus{
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    color:#000!important;
    border:0!important;
    outline:none!important;
    box-shadow:none!important;
}

.kbhf-search-panel{display:none;position:absolute;left:0;right:0;top:calc(100% + 10px);background:#fff;border:1px solid rgba(227,232,225,.98);border-radius:20px;box-shadow:0 24px 60px rgba(20,32,24,.16);overflow:hidden;z-index:9999}
.kbhf-search-wrap.is-open .kbhf-search-panel{display:block}
.kbhf-search-panel-inner{padding:18px}
.kbhf-search-topline{display:flex;align-items:baseline;justify-content:space-between;gap:16px;border-bottom:1px solid var(--kobalz-search-border);padding-bottom:12px;margin-bottom:14px}
.kbhf-search-topline strong{color:var(--kobalz-search-text);font-size:17px}
.kbhf-search-topline span{color:var(--kobalz-search-muted);font-size:13px;text-align:right}
.kbhf-search-columns{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
.kbhf-search-columns h4{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--kobalz-search-muted);margin:0 0 10px}
.kbhf-chip-list,.kbhf-link-list{display:flex;flex-wrap:wrap;gap:8px}
.kbhf-chip,.kbhf-quicklink,.kbhf-direct-search{display:inline-flex;align-items:center;min-height:34px;border-radius:999px;padding:7px 12px;text-decoration:none!important;font-weight:650;font-size:13px;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.kbhf-chip{color:var(--kobalz-search-text)!important;background:#f6f8f5;border:1px solid var(--kobalz-search-border)}
.kbhf-quicklink{color:var(--kobalz-search-green-dark)!important;background:rgba(31,111,74,.08);border:1px solid rgba(31,111,74,.18)}
.kbhf-chip:hover,.kbhf-quicklink:hover{transform:translateY(-1px);color:#fff!important;background:var(--kobalz-search-green)!important;border-color:var(--kobalz-search-green)!important}
.kbhf-search-dynamic:not(:empty){margin-bottom:14px}
.kbhf-suggest-loading,.kbhf-suggest-empty{padding:13px 14px;border-radius:14px;background:#f7faf6;color:var(--kobalz-search-muted);font-size:14px;margin-bottom:10px}
.kbhf-product-suggest-title{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--kobalz-search-muted);font-weight:800;margin:0 0 8px}
.kbhf-product-suggest{display:block}
.kbhf-product-suggest-item{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;text-decoration:none!important;color:var(--kobalz-search-text)!important;padding:10px;border:1px solid var(--kobalz-search-border);border-radius:16px;background:#fff;margin-bottom:8px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.kbhf-product-suggest-item:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(20,32,24,.12);border-color:rgba(31,111,74,.25)}
.kbhf-product-suggest-img{width:58px;height:58px;border-radius:13px;background:#f5f7f3;border:1px solid var(--kobalz-search-border);display:flex;align-items:center;justify-content:center;overflow:hidden}
.kbhf-product-suggest-img img{width:100%;height:100%;object-fit:contain;display:block}
.kbhf-product-suggest-img-empty::before{content:'?';font-weight:800;color:#b4bcb4}
.kbhf-product-suggest-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.kbhf-product-suggest-text strong{font-size:14px;line-height:1.25;color:var(--kobalz-search-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.kbhf-product-suggest-text small{font-size:12px;line-height:1.25;color:var(--kobalz-search-muted)}
.kbhf-direct-search{width:100%;justify-content:center;border-radius:14px;background:#edf7f1;border:1px solid rgba(31,111,74,.22);color:var(--kobalz-search-green-dark)!important;margin-top:6px}
.kbhf-direct-search:hover{background:var(--kobalz-search-green)!important;color:#fff!important}
body:not(.is-checkout) .kbhf-search-wrap .tt-menu,
body:not(.is-checkout) .kbhf-search-wrap .tt-dropdown-menu,
body:not(.is-checkout) .kbhf-search-wrap .typeahead.dropdown-menu,
body:not(.is-checkout) .kbhf-search-wrap .dropdown-menu.typeahead,
body:not(.is-checkout) .kbhf-search-wrap .twitter-typeahead > .tt-menu,
body:not(.is-checkout) .kbhf-search-wrap .twitter-typeahead > .tt-dropdown-menu{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
@media(max-width:991.98px){
    .kbhf-search-wrap{z-index:10020}
    .kbhf-search-panel{border-radius:18px}
    .kbhf-search-panel.kbhf-mobile-portal{position:fixed!important;right:auto!important;bottom:auto!important;overflow:auto!important;z-index:2147483000!important;-webkit-overflow-scrolling:touch}
    .kbhf-search-panel.kbhf-mobile-portal.kbhf-panel-open{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
    .kbhf-search-columns{display:none!important}
    .kbhf-search-topline{display:block}.kbhf-search-topline span{display:block;text-align:left;margin-top:4px}
    .kbhf-product-suggest-item{grid-template-columns:52px 1fr}
    .kbhf-product-suggest-img{width:52px;height:52px}
}


/* v1.0.23: Altes/native X aus dem Header-Suchfeld ausblenden.
   Das betrifft nur zusätzliche Löschen-Elemente, nicht unser eigenes .kbhf-search-clear. */
.kbhf-search-form .kbhf-native-clear-hidden,
.kbhf-search-form button[aria-label="Suche löschen"]:not(.kbhf-search-clear),
.kbhf-search-form button[title="Suche löschen"]:not(.kbhf-search-clear),
.kbhf-search-form [aria-label="Suche löschen"]:not(.kbhf-search-clear),
.kbhf-search-form [title="Suche löschen"]:not(.kbhf-search-clear),
.kbhf-search-form [aria-label="Sucheingabe löschen"]:not(.kbhf-search-clear),
.kbhf-search-form [title="Sucheingabe löschen"]:not(.kbhf-search-clear){
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}
