/* AUTOBOSS Search — FiboSearch in the AUTOBOSS header look (black / white / grey, header colour variables).
 * The header form keeps its own rules; these only undo FiboSearch's form rules and style its suggestion list. */

/* ---------- header forms carrying FiboSearch classes ---------- */
.abhf form.abhf-sbox.abse-fibo { display: flex; width: auto; min-width: 0; margin: 10px 0 0; color: inherit; line-height: normal; text-align: left; }
.abhf form.abhf-m-sbox.abse-fibo { display: block; width: auto; min-width: 0; margin: 0; color: inherit; line-height: normal; }
.abhf-ms-head form.abhf-m-sbox.abse-fibo { flex: 1; }
.abhf form.abse-fibo .dgwt-wcas-search-input { box-shadow: none; }
.abhf form.abse-fibo .dgwt-wcas-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* Loading ring left of the search button (panel mode: .abse-loading; dropdown mode: FiboSearch's .dgwt-wcas-processing). */
.abhf form .abse-pre { position: absolute; top: 50%; right: 64px; z-index: 2; width: 16px; height: 16px; margin-top: -8px; border: 2px solid var(--abhf-border, #ebebeb); border-top-color: var(--abhf-primary, #191919); border-radius: 50%; background: none; opacity: 0; pointer-events: none; transition: opacity .15s; }
.abhf form.abhf-m-sbox .abse-pre { right: 60px; }
.abhf form .abse-pre > * { display: none !important; }
.abhf form.abse-loading .abse-pre, .abhf form.abse-fibo.dgwt-wcas-processing .abse-pre { opacity: 1; animation: abse-spin .7s linear infinite; }
@keyframes abse-spin { to { transform: rotate(360deg); } }

/* ---------- recent searches (above the header panel) ---------- */
.abse-hist { margin: 0 0 18px; }
.abse-hist[hidden] { display: none !important; }
.abse-hist-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.abhf .abse-hist-clear { padding: 2px 0; border: 0; background: none; color: var(--abhf-muted, #757575); font-size: 13px; line-height: 20px; cursor: pointer; }
.abhf .abse-hist-clear:hover { color: #191919; font-weight: 700; }
.abse-hist-list { display: flex; flex-wrap: wrap; gap: 8px; max-height: 72px; margin: 0; padding: 0; overflow: hidden; list-style: none; }
.abse-hist-list li { display: flex; align-items: center; max-width: 100%; margin: 0; border-radius: 16px; background: #f5f5f5; }
.abhf .abse-hist-list a { overflow: hidden; max-width: 220px; padding: 5px 4px 5px 12px; color: #191919; font-size: 13px; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; }
.abhf .abse-hist-list a:hover { color: #191919; font-weight: 700; }
.abhf .abse-hist-x { display: flex; align-items: center; justify-content: center; width: 26px; height: 30px; padding: 0 8px 0 2px; border: 0; border-radius: 0 16px 16px 0; background: none; color: #999; cursor: pointer; }
.abhf .abse-hist-x:hover, .abhf .abse-hist-x:focus-visible { color: #191919; }
.abhf .abse-hist-list a:focus-visible, .abhf .abse-hist-x:focus-visible, .abhf .abse-hist-clear:focus-visible { outline: 2px solid var(--abhf-primary, #191919); outline-offset: 1px; }

/* Phone overlay: panel steps aside while FiboSearch lists suggestions. */
.abhf-msearch.abse-typing .abhf-ms-body { visibility: hidden; }

/* ---------- FiboSearch suggestion list ---------- */
.dgwt-wcas-suggestions-wrapp { margin-top: 6px; border: 1px solid var(--abhf-border, #ebebeb) !important; border-radius: 12px; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .12); color: #191919; font-family: var(--abhf-font, inherit); overflow-x: hidden; scrollbar-width: thin; }
.dgwt-wcas-suggestions-wrapp.dgwt-wcas-suggestions-wrapp--top { margin: 0 0 6px; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion { padding: 8px 16px; border-bottom: 0; font-size: 14px; line-height: 1.35; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-selected { background: #f5f5f5; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st { color: #191919; font-size: 14px; line-height: 1.35; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st-title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion strong { color: #000; font-weight: 700; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sku { color: var(--abhf-muted, #757575); font-size: 12px; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-si { flex: none; width: 48px; margin-right: 12px; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-si img { width: 48px; height: 48px; max-height: none; padding: 0; border: 0; border-radius: 8px; background: #f5f5f5; object-fit: contain; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp { flex: none; padding-left: 12px; color: #191919; font-size: 14px; font-weight: 700; white-space: nowrap; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp del { color: var(--abhf-muted, #757575); font-weight: 400; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-headline .dgwt-wcas-st { margin-top: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--abhf-border, #ebebeb); color: var(--abhf-muted, #757575); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-tax .dgwt-wcas-st { color: #191919; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st-breadcrumbs { color: var(--abhf-muted, #757575); font-size: 12px; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion.dgwt-wcas-suggestion-more { letter-spacing: 0; text-transform: none; margin-top: 4px; padding: 12px 16px; border-top: 1px solid var(--abhf-border, #ebebeb); color: #191919; font-weight: 600; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-more .dgwt-wcas-st-more { color: #191919; font-size: 14px; letter-spacing: 0; text-transform: none; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-more:hover .dgwt-wcas-st-more { text-decoration: underline; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-nores { padding: 18px 16px; color: var(--abhf-muted, #757575); font-size: 14px; }

/* Phone / tablet: inside the full-screen search layer (header sets html.abhf-lock while it is open). */
html.abhf-lock .dgwt-wcas-suggestions-wrapp {
	position: fixed !important;
	top: calc(var(--abhf-visible-top, 0px) + 52px) !important;
	left: 0 !important;
	right: 0 !important;
	width: auto !important;
	max-height: calc(var(--abhf-visible-height, 100dvh) - 52px) !important;
	margin: 0;
	padding-bottom: env(safe-area-inset-bottom, 0px);
	border: 0 !important;
	border-radius: 0;
	box-shadow: none;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
html.abhf-lock .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion { min-height: 48px; padding: 8px 16px; }

/* ---------- panel mode: live results inside the header's own full-width panel ---------- */
.abse-has-res .abhf-sp-sec, .abse-has-res .abse-hist, .abse-nores .abse-hist { display: none !important; }
.abse-res[hidden] { display: none !important; }
.abse-res { display: flex; max-height: min(560px, calc(100vh - 170px)); }
.abse-nores .abse-res { display: block; margin-bottom: 20px; }
.abse-res-none { margin: 0; color: var(--abhf-muted, #757575); font-size: 14px; line-height: 22px; }
.abse-res-none b { color: #191919; }
.abse-res-side { flex: none; width: 220px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.abse-res-side .abhf-sp-t + .abse-res-tax { margin-top: 6px; }
.abse-res-tax + .abhf-sp-t { margin-top: 16px; }
.abse-res-tax { margin: 0; padding: 0; list-style: none; }
.abhf .abse-res-tax a { display: block; padding: 7px 0; color: #3a3e4a; }
.abhf .abse-res-tax a:hover .abse-tax-n, .abhf .abse-res-tax a:focus-visible .abse-tax-n { color: #191919; font-weight: 700; }
.abse-tax-c { color: var(--abhf-muted, #757575); font-weight: 400; }
.abse-tax-n { display: block; overflow: hidden; font-size: 14px; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; }
.abse-res-tax small { display: block; overflow: hidden; color: var(--abhf-muted, #757575); font-size: 12px; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; }
.abse-res-tax b, .abse-card-t b { font-weight: 700; color: #000; }
.abse-res-main { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.abse-res-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.abhf .abse-res-h .abse-res-all { flex: none; color: #191919; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.abse-res-foot { display: none; }
.abse-card[hidden] { display: none !important; }
.abse-res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px 12px; }
.abhf .abse-card { display: flex; flex-direction: column; min-width: 0; color: #3a3e4a; }
.abse-card-img { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: #fff; }
.abse-card-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #000; opacity: .04; pointer-events: none; }
.abhf .abse-card-img img { width: 100%; height: 100%; object-fit: contain; }
.abse-card-t { display: -webkit-box; overflow: hidden; margin-top: 8px; font-size: 13px; line-height: 18px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.abhf .abse-card:hover .abse-card-t, .abhf .abse-card:focus-visible .abse-card-t { color: #191919; font-weight: 700; }
.abhf .abse-card:focus-visible, .abhf .abse-res-tax a:focus-visible, .abhf .abse-res-all:focus-visible { outline: 2px solid var(--abhf-primary, #191919); outline-offset: 2px; }
.abse-card-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; min-height: 20px; margin-top: 4px; }
.abse-card-p b { color: #191919; font-size: 15px; font-weight: 700; line-height: 20px; }
.abse-card-p del { color: var(--abhf-muted, #757575); font-size: 12px; }
.abse-card-p.is-loading::before { content: ""; display: block; width: 64px; height: 14px; margin-top: 3px; border-radius: 3px; background: #f0f0f0; }
.abse-card-m { display: block; overflow: hidden; margin-top: 2px; color: var(--abhf-muted, #757575); font-size: 12px; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; }

/* Phone / tablet search screen. */
.abhf-msearch .abse-res { display: block; max-height: none; }
.abhf-msearch .abse-res-side { width: auto; overflow: visible; margin-bottom: 20px; }
.abhf-msearch .abse-res-line { display: none; }
.abhf-msearch .abse-res-tax { display: flex; flex-wrap: wrap; gap: 8px; }
.abhf.abhf-msearch .abse-res-tax a { max-width: 100%; padding: 5px 12px; border-radius: 16px; background: #f5f5f5; color: #191919; }
.abhf-msearch .abse-tax-n { font-size: 13px; }
.abhf-msearch .abse-res-tax small { display: none; }
.abhf-msearch .abse-res-main { overflow: visible; }
.abhf-msearch .abse-res-h { margin-bottom: 12px; }
.abhf-msearch .abse-res-h .abse-res-all { display: none; }
.abhf-msearch .abse-res-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 10px; }
.abhf-msearch .abse-card-img { border-radius: 8px; }
/* "See all results": white bottom bar with a button in the global button style.
 * The bar touching the screen edge stays white on purpose: Safari (iOS 26+) tints its address/tool bar from fixed or
 * sticky elements at the viewport edge, so a dark bar there would turn Safari's whole bottom area black.
 * bottom:-16px cancels the scroller padding that sticky positioning respects. */
.abhf-msearch .abse-res-foot { display: block; position: sticky; bottom: -16px; z-index: 2; margin: 16px -16px -16px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; box-shadow: 0 -1px 0 var(--abhf-border, #ebebeb); }
.abhf.abhf-msearch .abse-res-foot .abse-res-all { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 0 16px; border-radius: var(--theme-button-border-radius, 8px); background: var(--abhf-primary, #191919); color: #fff; font-size: var(--theme-button-font-size, 15px); font-weight: var(--theme-button-font-weight, 600); letter-spacing: .01em; line-height: 1.2; text-align: center; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: opacity .15s; }
.abhf.abhf-msearch .abse-res-foot .abse-res-all:hover, .abhf.abhf-msearch .abse-res-foot .abse-res-all:active { color: #fff; opacity: .9; }
.abhf.abhf-msearch .abse-res-foot .abse-res-all:focus-visible { outline: 2px solid var(--abhf-primary, #191919); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	.abhf form.abse-loading .abse-pre, .abhf form.abse-fibo.dgwt-wcas-processing .abse-pre { animation-duration: 2s; }
}

/* Search panel: no accent colour on hover, bold instead (also for the header's own Discover more / Recommended inside the panel). */
.abhf .abhf-spanel .abhf-sp-list a:hover, .abhf.abhf-msearch .abhf-sp-list a:hover { color: #191919; font-weight: 700; }
.abhf .abhf-spanel .abhf-sp-p:hover .abhf-sp-name, .abhf.abhf-msearch .abhf-sp-p:hover .abhf-sp-name { color: #191919; font-weight: 700; }
.abhf .abse-res-h .abse-res-all:hover, .abhf .abse-res-tax a:hover small { color: #191919; font-weight: 700; }
