/* Подсказки внутри выпадашки WoodMart (.wd-dropdown-results) */
.wd-dropdown-results .autocomplete-suggestion.suggestion-divider {
	padding-top: 4px;
}

.wd-dropdown-results .aquaf-hint-suggestion {
	padding-left: 4px;
}

.wd-dropdown-results .aquaf-hint-suggestion .wd-entities-title {
	font-size: 14px;
	font-weight: 600;
}

.wd-dropdown-results .aquaf-hint-suggestion .suggestion-sku {
	margin: 2px 0 0;
	font-size: 12px;
	color: #7a7a7a;
}

.wd-dropdown-results .autocomplete-suggestion:has(.aquaf-hint-suggestion) {
	padding-top: 6px;
	padding-bottom: 6px;
}

.wd-dropdown-results .autocomplete-suggestion:has(.aquaf-hint-suggestion) .suggestion-thumb {
	display: none;
}

.wd-dropdown-results .autocomplete-suggestion .suggestion-divider-title {
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #888;
}

/* Keep touch inputs readable without iOS focus zoom. */
@media(max-width:1024px){form.woodmart-ajax-search input.s,.wd-search-form input.s{font-size:16px!important}.wd-search-form .wd-dropdown-results{border-radius:10px;box-shadow:0 8px 24px #15385d16}.wd-search-form .wd-dropdown-results .wd-scroll-content{max-height:48dvh!important;overflow-x:hidden!important}}
.wd-dropdown-results .aquaf-hint-suggestion .wd-entities-title{font-size:13px;line-height:1.5;font-weight:550}
.wd-dropdown-results .suggestion-divider-title{font-size:11px;letter-spacing:.03em;color:#728aa5}

/* На ПК убираем отступ, который тема рассчитывает по старому скруглению поля. */
@media(min-width:1025px){
 :is(.whb-header,.whb-sticky-header) .wd-search-form .search-results-wrapper{width:100%;min-width:0;max-width:none}
 :is(.whb-header,.whb-sticky-header) .wd-search-form .wd-dropdown-results{left:0!important;right:0!important;width:100%!important;min-width:0;max-width:100%;margin:6px 0 0!important;padding:0;border:1px solid #d9e7f5;border-radius:11px;background:#fff;box-shadow:0 12px 30px #153b651a;box-sizing:border-box;text-align:left}
 :is(.whb-header,.whb-sticky-header) .wd-search-form .wd-dropdown-results .wd-scroll-content{max-height:min(65vh,520px)!important;padding:0;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c1d7ec transparent}
}
/* Строки в шапке и мобильном меню вписываются в контейнер; полноэкранный поиск сохраняет свою сетку. */
:is(.whb-header,.whb-sticky-header,.mobile-nav) .wd-search-form .autocomplete-suggestions{display:grid;grid-template-columns:minmax(0,1fr);width:100%!important;min-width:0;max-width:100%;margin:0;padding:4px;background:#fff;box-sizing:border-box}
:is(.whb-header,.whb-sticky-header,.mobile-nav) .wd-search-form .autocomplete-suggestion{display:flex;flex-direction:row;align-items:flex-start;gap:10px;min-width:0;width:100%;min-height:42px;padding:10px;border:0;border-bottom:1px solid #eaf0f7;border-radius:7px;background:#fff;box-sizing:border-box;text-align:left;line-height:1.5}
:is(.whb-header,.whb-sticky-header,.mobile-nav) .wd-search-form .autocomplete-suggestion .suggestion-thumb{display:block;flex:0 0 48px;width:48px;min-width:0;max-width:48px;margin:1px 0 0;padding:0}
:is(.whb-header,.whb-sticky-header,.mobile-nav) .wd-search-form .suggestion-thumb img{display:block;width:48px;height:48px;max-width:100%;margin:0;border-radius:7px;object-fit:cover}
.wd-search-form .wd-dropdown-results .autocomplete-suggestion{color:#244565;transition:background-color .12s,color .12s}
.wd-search-form .wd-dropdown-results .autocomplete-suggestion:last-child{border-bottom:0}
.wd-search-form .wd-dropdown-results .autocomplete-suggestion:is(:hover,.autocomplete-selected){background:#edf6ff;color:#076fcf}
.wd-search-form .wd-dropdown-results .autocomplete-suggestion .suggestion-content{flex:1;min-width:0;max-width:100%;margin:0;padding:0;overflow-wrap:anywhere;white-space:normal}
.wd-search-form .wd-dropdown-results .autocomplete-suggestion .wd-entities-title{display:block;margin:0;padding:0;color:#214564;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;letter-spacing:0;text-transform:none;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.wd-search-form .wd-dropdown-results .wd-entities-title strong{color:#0876db;font-weight:700;text-decoration:none}
.wd-search-form .wd-dropdown-results .autocomplete-suggestion .suggestion-sku{margin:4px 0 0;padding:0;color:#7b91a8;font-size:10px;font-weight:400;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.wd-search-form .wd-dropdown-results .autocomplete-suggestion .price{display:block;margin:6px 0 0;padding:0;color:#087ff0;font-size:14px;font-weight:650;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.wd-search-form .wd-dropdown-results .autocomplete-suggestion .price :is(.amount,bdi,ins){color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;white-space:normal}
.wd-search-form .wd-dropdown-results .autocomplete-suggestion .price del{color:#8c9fb3;font-size:11px;font-weight:400}
.wd-search-form .wd-dropdown-results .autocomplete-suggestion.suggestion-divider{min-height:32px;margin:0;padding:9px 10px 6px;border:0;border-radius:0;background:#f6faff;cursor:default}
.wd-search-form .wd-dropdown-results .suggestion-divider-title{margin:0;color:#7891ab;font-family:inherit;font-size:10px;font-weight:600;line-height:1.5;letter-spacing:.04em;text-transform:uppercase}
.wd-search-form .wd-dropdown-results .aquaf-hint-suggestion{padding:0}
.wd-search-form .wd-dropdown-results .aquaf-hint-suggestion .wd-entities-title{font-size:12px;font-weight:550}
.wd-search-form .wd-dropdown-results .view-all-results{display:flex;align-items:center;justify-content:center;min-height:42px;height:auto;margin:0;padding:10px;border:0;border-top:1px solid #dfeaf6;border-radius:0 0 7px 7px;color:#0876d9;background:#f4f9ff;font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;text-transform:none}
.wd-search-form .wd-dropdown-results .view-all-results:hover{background:#e7f3ff}
.wd-search-form .wd-dropdown-results .suggestion-no-found{color:#6d849d;font-size:12px;line-height:1.6}
@media(prefers-reduced-motion:reduce){.wd-search-form .wd-dropdown-results .autocomplete-suggestion{transition:none}}
