.dm24-search-host{position:relative!important;overflow:visible!important}
.dm24-search-suggest{position:absolute;z-index:140;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid #dfe5ec;border-radius:12px;box-shadow:0 18px 45px rgba(15,36,59,.18);max-height:min(70vh,650px);overflow:auto;padding:8px}
.dm24-search-suggest[hidden]{display:none!important}
.dm24-search-section{padding:5px 0 8px}
.dm24-search-section+.dm24-search-section{border-top:1px solid #edf1f5}
.dm24-search-section__title{padding:7px 9px 5px;font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;color:#7b8794}
.dm24-search-product{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:11px;align-items:center;padding:8px 9px;border-radius:9px;text-decoration:none!important;color:#172f49!important}
.dm24-search-product:hover,.dm24-search-simple:hover{background:#f5f8fb}
.dm24-search-product__image{display:flex;width:54px;height:54px;align-items:center;justify-content:center;background:#fff;border:1px solid #edf1f5;border-radius:8px;overflow:hidden}
.dm24-search-product__image img{max-width:100%;max-height:100%;object-fit:contain}
.dm24-search-product__body{min-width:0;display:flex;flex-direction:column;gap:3px}
.dm24-search-product__body strong{font-size:13px;line-height:1.25;font-weight:750;color:#173a5d}
.dm24-search-product__body small{font-size:10.5px;color:#7b8794;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm24-search-product__price{font-size:13px;font-weight:800;color:#102f50;white-space:nowrap}
.dm24-search-simple{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:8px;color:#334155!important;text-decoration:none!important;font-size:13px;font-weight:650}
.dm24-search-simple small{font-size:11px;color:#94a3b8}
.dm24-search-all{display:block;margin-top:4px;padding:11px 12px;border-radius:9px;background:#102f50;color:#fff!important;text-decoration:none!important;text-align:center;font-size:13px;font-weight:750}
.dm24-search-all:hover{background:#173f69}
.dm24-search-loading,.dm24-search-empty{padding:17px 12px;font-size:13px;color:#64748b;text-align:center}
@media(max-width:760px){.dm24-search-suggest{position:fixed;left:10px;right:10px;top:76px;max-height:calc(100vh - 90px)}.dm24-search-product{grid-template-columns:46px minmax(0,1fr)}.dm24-search-product__image{width:46px;height:46px}.dm24-search-product__price{display:none}}


/* DM24 Search 0.9.24 — wyniki zawsze nad mega menu */
body.dm24-search-open .dm24-search-header--open{
	position:relative!important;
	z-index:100000!important;
	overflow:visible!important;
}
body.dm24-search-open .dm24-search-form--open{
	position:relative!important;
	z-index:100010!important;
	overflow:visible!important;
}
body.dm24-search-open .dm24-search-host--open{
	position:relative!important;
	z-index:100020!important;
	overflow:visible!important;
}
body.dm24-search-open .dm24-search-suggest{
	z-index:100030!important;
}

/* Nawigacja/mega-menu pozostaje pod panelem wyników podczas wpisywania. */
body.dm24-search-open header nav,
body.dm24-search-open .dm24-mega-menu,
body.dm24-search-open [class*="mega-menu"]{
	z-index:20!important;
}

/* Nie pozwól nadrzędnym kontenerom headera przycinać autocomplete. */
body.dm24-search-open header,
body.dm24-search-open header > *,
body.dm24-search-open .site-header,
body.dm24-search-open .dm24-header{
	overflow:visible!important;
}


/* DM24 Search 0.9.25 — kategorie jako filtry + czyszczenie */
.dm24-search-filters{padding:8px 9px 10px;border-bottom:1px solid #edf1f5}
.dm24-search-filters__label{margin-bottom:7px;font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;color:#7b8794}
.dm24-search-filters__chips{display:flex;flex-wrap:wrap;gap:6px}
.dm24-search-filter,.dm24-search-filter-clear{appearance:none;border:1px solid #dbe4ec;background:#f8fafc;color:#173a5d;border-radius:999px;padding:6px 10px;font:inherit;font-size:11px;font-weight:750;line-height:1;cursor:pointer}
.dm24-search-filter:hover{border-color:#f97316;background:#fff7ed}
.dm24-search-filter.is-active{border-color:#f97316;background:#f97316;color:#fff}
.dm24-search-filter span{opacity:.65;font-size:10px}
.dm24-search-filter-clear{border-color:#fecaca;background:#fff5f5;color:#b42318}
.dm24-search-active-filter{display:flex;align-items:center;gap:6px;margin:8px 9px 2px;padding:8px 10px;background:#f8fafc;border-radius:8px;color:#64748b;font-size:12px}
.dm24-search-active-filter strong{color:#173a5d}
.dm24-search-active-filter button{margin-left:auto;border:0;background:transparent;color:#b42318;font-size:18px;line-height:1;cursor:pointer}

/* DM24 Search 0.9.27 — category facets from ranked products */


/* =========================================================
 * DM24 Search 0.9.28 — layout jak Digital24:
 * Kategorie | Najlepsze dopasowanie | Produkty
 * ========================================================= */
.dm24-search-suggest{
	left:50%!important;
	right:auto!important;
	width:min(1180px,calc(100vw - 40px))!important;
	transform:translateX(-50%)!important;
	padding:0!important;
	border-radius:0 0 14px 14px!important;
	overflow:hidden!important;
	max-height:min(74vh,720px)!important;
}

.dm24-search-layout{
	display:grid;
	grid-template-columns:260px 360px minmax(440px,1fr);
	min-height:520px;
	background:#fff;
}

.dm24-search-layout__categories,
.dm24-search-layout__best,
.dm24-search-layout__products{
	min-width:0;
	padding:22px 20px;
}

.dm24-search-layout__categories,
.dm24-search-layout__best{
	border-right:1px solid #e8edf2;
}

.dm24-search-column-title{
	margin:0 0 16px;
	font-size:15px;
	font-weight:800;
	color:#1e293b;
}

.dm24-search-category-list{
	display:flex;
	flex-direction:column;
	gap:4px;
}

.dm24-search-category{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:12px;
	width:100%;
	border:0;
	background:transparent;
	padding:9px 0;
	font:inherit;
	text-align:left;
	cursor:pointer;
	color:#334155;
}

.dm24-search-category:hover .dm24-search-category__name,
.dm24-search-category.is-active .dm24-search-category__name{
	color:#f97316;
}

.dm24-search-category__name{
	font-size:14px;
	line-height:1.35;
	font-weight:600;
}

.dm24-search-category__count{
	flex:0 0 auto;
	font-size:13px;
	color:#94a3b8;
}

.dm24-search-category-clear{
	margin-top:12px;
	border:0;
	background:transparent;
	padding:0;
	font-size:12px;
	font-weight:700;
	color:#b42318;
	cursor:pointer;
}

.dm24-search-best{
	display:flex;
	flex-direction:column;
	align-items:center;
	text-align:center;
	text-decoration:none!important;
	color:#172f49!important;
}

.dm24-search-best__image{
	display:flex;
	align-items:center;
	justify-content:center;
	width:220px;
	height:250px;
	margin:0 auto 14px;
}

.dm24-search-best__image img{
	max-width:100%;
	max-height:100%;
	object-fit:contain;
}

.dm24-search-best__title{
	display:block;
	max-width:290px;
	font-size:16px;
	line-height:1.35;
	font-weight:800;
}

.dm24-search-best__price{
	margin-top:10px;
	font-size:22px;
	font-weight:850;
	color:#111827;
}

.dm24-search-best__status{
	margin-top:3px;
	font-size:13px;
	font-weight:650;
	color:#1f9d55;
}

.dm24-search-products-list{
	display:flex;
	flex-direction:column;
}

.dm24-search-product-row{
	display:grid;
	grid-template-columns:58px minmax(0,1fr) auto;
	align-items:center;
	gap:12px;
	padding:11px 0;
	border-bottom:1px solid #edf1f5;
	text-decoration:none!important;
	color:#173a5d!important;
}

.dm24-search-product-row__image{
	display:flex;
	align-items:center;
	justify-content:center;
	width:58px;
	height:58px;
}

.dm24-search-product-row__image img{
	max-width:100%;
	max-height:100%;
	object-fit:contain;
}

.dm24-search-product-row__body{
	display:flex;
	flex-direction:column;
	gap:3px;
	min-width:0;
}

.dm24-search-product-row__body strong{
	font-size:14px;
	line-height:1.3;
	font-weight:750;
}

.dm24-search-product-row__body small{
	font-size:11px;
	color:#7b8794;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.dm24-search-product-row__price{
	font-size:14px;
	font-weight:800;
	white-space:nowrap;
	color:#173a5d;
}

.dm24-search-layout__products .dm24-search-all{
	margin-top:16px;
	border:1px solid #173a5d;
	border-radius:0;
	background:#fff;
	color:#173a5d!important;
}

.dm24-search-layout__products .dm24-search-all:hover{
	background:#173a5d;
	color:#fff!important;
}

@media(max-width:1100px){
	.dm24-search-layout{
		grid-template-columns:220px 300px minmax(360px,1fr);
	}
	.dm24-search-best__image{
		width:180px;
		height:210px;
	}
}

@media(max-width:820px){
	.dm24-search-suggest{
		position:fixed!important;
		left:10px!important;
		right:10px!important;
		top:74px!important;
		width:auto!important;
		transform:none!important;
		max-height:calc(100vh - 88px)!important;
		overflow:auto!important;
		border-radius:12px!important;
	}
	.dm24-search-layout{
		display:block;
		min-height:0;
	}
	.dm24-search-layout__categories,
	.dm24-search-layout__best,
	.dm24-search-layout__products{
		border-right:0;
		border-bottom:1px solid #e8edf2;
		padding:16px;
	}
	.dm24-search-best__image{
		width:150px;
		height:170px;
	}
}
