#header .sl-header-search { display:flex; align-items:center; gap:18px; width:100%; min-width:0; }
#header .sl-search-slot {flex:1 1 0; min-width:0; width:100%;}
#header .sl-location-trigger {display:flex; align-items:center; gap:6px; flex:0 0 auto; text-align:left; background:transparent; border:0; color:#242424; padding:4px 3px; min-height:40px; box-shadow:none; cursor:pointer; font-family:inherit; line-height:1.2; }
#header .sl-location-trigger > span {display:flex; flex-direction:column; max-width:175px; min-width:0;}
#header .sl-location-first {font-size:12px; font-weight:400; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
#header .sl-location-second {font-size:14px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
#header .sl-location-trigger:hover {background:rgba(255,255,255,.4); color:#242424;}
#header .sl-location-trigger:focus-visible {outline:2px solid #242424; outline-offset:2px;}
.sl-location-dialog {position:fixed; inset:0; margin:auto; width:min(420px,calc(100vw - 32px)); max-height:calc(100vh - 32px); overflow:auto; padding:24px; border:0; border-radius:10px; background:#fff; color:#242424; box-shadow:0 12px 40px rgba(0,0,0,.22); z-index:99999; text-align:left;}
.sl-location-dialog::backdrop {background:rgba(0,0,0,.46);}
.sl-location-form {display:grid; gap:12px; margin:0;}
.sl-location-heading {display:flex; align-items:center; justify-content:space-between; gap:12px;}
.sl-location-heading h2 {font-size:20px; margin:0; line-height:1.25; color:#242424;}
.sl-location-form p {font-size:14px; margin:0; line-height:1.5;}
.sl-location-form label {font-size:14px; font-weight:600;}
.sl-location-form input {width:100%; min-height:42px; padding:8px 12px; border:1px solid #999; border-radius:4px; background:white; color:#242424;}
.sl-location-form .sl-location-close,.sl-location-form .sl-location-reset {border:0; background:transparent; color:#242424; box-shadow:none; padding:4px; min-height:30px; cursor:pointer;}
.sl-location-form .sl-location-close {font-size:25px; line-height:1; min-width:30px;}
.sl-location-form .sl-location-reset {text-decoration:underline; font-size:13px;}
.sl-location-form .sl-location-apply {background:#FF7919; color:#242424; min-height:42px; border:0; border-radius:4px; font-weight:700; cursor:pointer;}
@media(max-width:699px){#header .sl-header-search{flex-wrap:wrap;gap:6px;}#header .sl-search-slot{flex:1 0 100%;}#header .sl-location-trigger{min-height:30px;}}
.sl-location-form .sl-location-status { font-size:13px; color:#242424; }
.sl-location-form .sl-location-status[hidden] { display:none; }
.sl-location-form .sl-location-apply:disabled { opacity:.65; cursor:wait; }

/* Country and customer account: keep the approved search flexible. */
#header .sl-country-trigger {display:flex; align-items:center; gap:4px; flex:0 0 auto; padding:4px 2px; min-height:40px; background:transparent; color:#242424; border:0; box-shadow:none; cursor:pointer; font-family:inherit; font-size:12px; font-weight:700; line-height:1.2;}
#header .sl-country-flag {font-size:23px; line-height:1;}
#header .sl-country-trigger:hover {background:rgba(255,255,255,.4);color:#242424;}
#header .sl-country-trigger:focus-visible,#header .sl-account-links a:focus-visible {outline:2px solid #242424;outline-offset:2px;}
#header .sl-account-links {display:flex; flex-direction:column; flex:0 0 auto; min-width:0; max-width:155px; line-height:1.2; text-align:left; color:#242424;}
#header .sl-account-links a {color:#242424;text-decoration:none;}
#header .sl-account-links a:hover {text-decoration:underline;}
#header .sl-account-greeting {font-size:12px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#header .sl-account-bottom {font-size:13px;font-weight:700;white-space:nowrap;}
.sl-location-form select {width:100%;min-height:42px;padding:8px 12px;border:1px solid #999;border-radius:4px;background:#fff;color:#242424;}
.sl-location-form .sl-international-city:not([hidden]) {display:grid;gap:5px;}
.sl-location-form [hidden] {display:none!important;}
.sl-location-form .sl-postal-credit {font-size:11px;color:#555;}
@media(max-width:999px){#header .sl-header-search{gap:10px;}}
@media(max-width:699px){#header .sl-header-search{flex-wrap:wrap;gap:6px 12px;}#header .sl-search-slot{order:4;flex:1 0 100%;}#header .sl-country-trigger{min-height:30px;}#header .sl-account-links{max-width:125px;}}

/* Category selector: one continuous search bar, with the original FiboSearch UI for All. */
#header .sl-category-search {display:flex; align-items:stretch; gap:0; min-width:0;}
#header .sl-search-field {flex:1 1 0; min-width:0; width:100%;}
#header .sl-search-all {width:100%;}
#header .sl-category-search [hidden] {display:none!important;}
#header .sl-search-category {flex:0 0 auto; width:auto; max-width:clamp(65px, 12vw, 170px); height:44px!important; min-height:44px!important; padding:0 24px 0 10px!important; border:1px solid #ddd!important; border-right:0!important; border-radius:4px 0 0 4px!important; background-color:#eee!important; color:#242424!important; font-size:13px!important; line-height:normal!important; cursor:pointer; box-shadow:none!important; margin:0!important;}
#header .sl-category-search:has(.sl-search-category) input.dgwt-wcas-search-input {border-top-left-radius:0!important; border-bottom-left-radius:0!important;}
#header .sl-search-scoped {position:relative; width:100%; margin:0; padding:0;}
#header .sl-search-scoped .sl-scoped-input {width:100%!important; min-width:0; height:44px!important; padding:0 60px 0 16px!important; border:1px solid #ddd!important; border-radius:0 4px 4px 0!important; background:#fff!important; color:#242424!important; font-size:15px!important; box-shadow:none!important; margin:0!important;}
#header .sl-scoped-submit {position:absolute; right:0; top:0; width:52px!important; min-width:52px!important; height:44px!important; display:flex; align-items:center; justify-content:center; background:#FF7919!important; color:#242424!important; border:0!important; border-radius:0 4px 4px 0!important; padding:0!important; margin:0!important; cursor:pointer;}
#header .sl-scoped-submit:hover {background:#EF6810!important;}
#header .sl-search-category:focus-visible, #header .sl-scoped-input:focus-visible, #header .sl-scoped-submit:focus-visible {outline:2px solid #C54D00!important; outline-offset:-2px;}
#header .sl-search-sr {position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important;}
@media(max-width:699px){#header .sl-search-category{max-width:95px;padding-left:6px!important;} }
