.lh-mag-bar {
	margin-bottom: 24px;
	font-family: "Rolleston Text", serif;
}

.lh-mag-bar *{
	font-family: "Rolleston Text", serif;
}

/* === Поле з підписом === */
.lh-field {
	display: flex;
	flex-direction: column;
/* 	flex: 1 1 0; */
	gap: 6px;
/* 	min-width: 0; */
	width: 200px;
}
.lh-field:first-child {
	flex: 1 1 0;
}
body.term-knygy .lh-field:nth-child(2),
body.term-magazines .lh-field:nth-child(2) {
	width: 155px;
}
.lh-label {
	font-weight: 500;
	color: #000;
	letter-spacing: 2%;
}

/* === 1 ряд: пошук + фільтри === */
.lh-mag-bar .lh-row-top {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	gap: 12px;
	margin-bottom: 16px;
}

/* === 2 ряд: скинути + сортування === */
.lh-mag-bar .lh-row-bottom {
	display: flex;
	justify-content: space-between;
/* 	align-items: flex-start; */
	align-items: center;
	gap: 12px;
}

/* === Поля вводу та селекти === */
.lh-mag-bar select,
.lh-mag-bar input[type="search"] {
	padding: 10px 16px;
	border-radius: 2px;
	font-size: 14px;
	letter-spacing: 1px;
	line-height: 16px;
	border: 1px solid #BDBDBD;
	border-radius: 4px;
	background: #fff;
	color: #000;
	height: 45px;
	outline: none;
	box-shadow: none;
	transition: border-color 0.2s ease;
}
.lh-mag-bar select:focus,
.lh-mag-bar input[type="search"]:focus {
	border-color: #000;
}

/* === Стрілка в селектах === */
.lh-mag-bar select {
	border-radius: 4px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 32px;
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.6395 10.6198L2.3295 5.0468C2.24086 4.95381 2.19141 4.83027 2.19141 4.7018C2.19141 4.57333 2.24086 4.44979 2.3295 4.3568L2.3355 4.3508C2.37847 4.30557 2.4302 4.26955 2.48753 4.24493C2.54487 4.22032 2.60661 4.20763 2.669 4.20763C2.73139 4.20763 2.79314 4.22032 2.85047 4.24493C2.9078 4.26955 2.95953 4.30557 3.0025 4.3508L8.0025 9.5988L13.0005 4.3508C13.0435 4.30557 13.0952 4.26955 13.1525 4.24493C13.2099 4.22032 13.2716 4.20763 13.334 4.20763C13.3964 4.20763 13.4581 4.22032 13.5155 4.24493C13.5728 4.26955 13.6245 4.30557 13.6675 4.3508L13.6735 4.3568C13.7621 4.44979 13.8116 4.57333 13.8116 4.7018C13.8116 4.83027 13.7621 4.95381 13.6735 5.0468L8.3635 10.6198C8.3168 10.6688 8.26064 10.7078 8.19842 10.7345C8.13619 10.7612 8.0692 10.7749 8.0015 10.7749C7.9338 10.7749 7.86681 10.7612 7.80459 10.7345C7.74236 10.7078 7.6862 10.6688 7.6395 10.6198Z' fill='black'/%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px;
}

/* === Кнопка "Скинути всі фільтри" === */
.lh-mag-bar .lh-reset {
	background: none;
	border: none;
	color: #000;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 0;
	height: auto;
	line-height: 1;
	transition: color 0.2s ease;
}
.lh-mag-bar .lh-reset:hover {
	text-decoration: underline;
}
.lh-mag-bar .lh-reset span {
	color: #b30000;
	font-size: 11px;
	font-weight: 800;
	transform: translateY(0px);
}

/* === Сортування === */
.lh-sort-wrap {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	font-size: 15px;
	font-weight: 500;
	color: #333;
	gap: 6px;
}
.lh-sort-wrap .lh-label{
	font-weight: 400;
}
.lh-sort-select {
	position: relative;
	display: inline-block;
}
.lh-sort-select select {
	border: none;
/* 	background: none; */
	padding: 0 40px 0 0;
	font-size: 16px;
	font-weight: 500;
	color: #000;
	cursor: pointer;
	appearance: none;
	line-height: 1.2;
	letter-spacing: 2%;
	height: auto;
}
/* .lh-sort-select::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 55%;
	transform: translateY(-50%);
	width: 14px;
	height: 14px;
	pointer-events: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'><polyline points='6 9 12 15 18 9'/></svg>");
	background-size: 14px;
	background-repeat: no-repeat;
	background-position: center;
} */
.lh-sort-select select:focus {
	outline: none;
}

/* === No results block === */
#lh-nores .woocommerce-info,
#lh-nores .woocommerce-notices-wrapper {
	width: 100%;
	text-align: center;
	margin: 80px 0;
}

/* === Адаптив === */
@media (max-width: 1024px) {
	.lh-mag-bar .lh-row-top {
		flex-wrap: wrap;
	}
	.lh-mag-bar .lh-row-top > * {
		flex: 1 1 45%;
	}
}
@media (max-width: 640px) {
	.lh-mag-bar .lh-row-top {
		flex-wrap: wrap;
	}
	.lh-mag-bar .lh-row-top > * {
		flex: 1 1 100%;
	}
	.lh-mag-bar .lh-row-bottom {
		flex-direction: column-reverse;
		align-items: stretch;
	}
	.lh-sort-wrap {
		align-items: flex-start;
	}
	.lh-mag-bar .lh-reset {
		justify-content: center;
	}
}

/* === Loading state === */
#lh-archive.is-loading {
	opacity: 0.5;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

/* === Поява кнопки "Скинути" === */
#lh-reset {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
#lh-reset.is-visible {
	opacity: 1;
	pointer-events: auto;
}
.nsl-container.nsl-container-block{
	display: flex;
	width:100%;
	justify-content: center;
}