/* Scoped to the two custom headers; no global product, cart or payment selectors. */
#header-normal .ks-header-search,#header-sticky .ks-header-search{position:relative;width:100%;min-width:0}
.ks-header-search form{display:flex;align-items:stretch;width:100%;min-width:0}
.ks-header-search form input[name=s]{flex:1 1 auto;min-width:0;width:100%;padding:12px 16px;font-size:16px;border:2px solid #ebebeb;border-radius:40px 0 0 40px;outline:none}
.ks-header-search form button[type=submit]{position:static!important;right:auto!important;top:auto!important;height:auto!important;flex:0 0 auto;padding:12px 20px;color:#fff;background:#2dbc74;border:2px solid #2dbc74;border-radius:0 40px 40px 0;cursor:pointer}
.ks-header-search .ajax-search-results-wrapper{position:absolute;left:0;right:0;top:100%;width:100%;max-width:600px;max-height:min(60vh,480px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 5px 18px rgba(0,0,0,.13);z-index:1001;padding:10px;box-sizing:border-box}
.ks-header-search .ajax-search-suggestion{width:100%;margin:0;display:flex;align-items:center;gap:10px;padding:10px 0;transform:none!important}
.ks-header-search .ajax-search-suggestion .cover img{width:60px;height:60px;object-fit:contain;margin:0;flex:none}
.ks-header-search .ajax-search-suggestion .info{flex:1;min-width:0;gap:8px;padding:0}
.ks-header-search .ajax-search-suggestion .info .title{min-width:0;margin:0;font-size:14px;overflow-wrap:anywhere}
.ks-header-search .ajax-search-suggestion .info .price{position:static!important;margin:0;font-size:14px;white-space:nowrap}
.ks-header-search .ks-search-more{display:block!important;width:100%;max-width:100%;padding:12px!important;background:#ff3b3b!important;color:#fff!important;border:0!important;border-radius:6px;cursor:pointer;font-weight:600;font-size:15px!important;transform:none!important}
body>.mobile-search.ks-mobile-search-open{display:block!important;position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;max-width:100vw;z-index:10001;background:#fff;padding:16px;box-sizing:border-box;box-shadow:0 3px 16px rgba(0,0,0,.2)}
body>.mobile-search.ks-mobile-search-open .mobile-search-input-wrapper{display:flex;width:100%;max-width:600px;overflow:hidden;box-sizing:border-box}
body>.mobile-search.ks-mobile-search-open input[name=s]{min-width:0;width:100%;flex:1 1 auto;font-size:16px!important}
body>.mobile-search.ks-mobile-search-open button.search-button{flex:0 0 auto}
.ks-mobile-open-search{cursor:pointer}
#header .ks-mobile-open-search{display:inline-block;width:50px;height:50px;text-align:center;font-size:2.5rem;font-weight:300;cursor:pointer;color:#000}
#header .ks-mobile-open-search:hover{color:#555}
