/* WebClick Search 1.7.5 */
.wcs-panel {
	--wcs-accent: #e5007e;
	--wcs-radius: 12px;
	--wcs-ink: #1d1d1f;
	--wcs-muted: #7a7a85;
	--wcs-line: #ececf0;
	--wcs-hover: #f5f5f8;
	position: absolute;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	background: #fff;
	color: var(--wcs-ink);
	border-radius: var(--wcs-radius);
	box-shadow: 0 24px 60px -12px rgba(20, 20, 40, .28), 0 0 0 1px rgba(20, 20, 40, .06);
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
	overflow: hidden;
	animation: wcs-in .16s ease-out;
}

.wcs-panel[hidden],
.wcs-overlay[hidden],
.wcs-panel--blank {
	display: none !important;
}

.wcs-panel *,
.wcs-panel *::before,
.wcs-panel *::after {
	box-sizing: border-box;
}

@keyframes wcs-in {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

.wcs-overlay {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 15, 25, .38);
	animation: wcs-fade .2s ease-out;
}

@keyframes wcs-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.wcs-inner {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding: 24px 28px 26px;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--wcs-accent) transparent;
}

/* Тонка смужка завантаження зверху */
.wcs-bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 2px;
	width: 0;
	background: var(--wcs-accent);
	opacity: 0;
}

.wcs-panel--loading .wcs-bar {
	opacity: 1;
	animation: wcs-load 1s ease-in-out infinite;
}

@keyframes wcs-load {
	0% { left: 0; width: 0; }
	50% { left: 20%; width: 50%; }
	100% { left: 100%; width: 0; }
}

/* Сітка: запити | категорії+бренди в ряд | товари */
.wcs-grid {
	display: flex;
	gap: 36px;
	align-items: flex-start;
}

.wcs-col {
	min-width: 0;
}

.wcs-col--queries {
	flex: 1 1 24%;
}

.wcs-col--groups {
	flex: 1 1 36%;
}

.wcs-col--products {
	flex: 1 1 40%;
}

.wcs-grid > .wcs-col:only-child {
	flex-basis: 100%;
}

.wcs-sec + .wcs-sec {
	margin-top: 22px;
}

.wcs-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.wcs-title {
	margin: 0 0 12px;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wcs-ink);
	text-transform: none;
	letter-spacing: 0;
}

.wcs-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--wcs-muted);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}

.wcs-link:hover {
	color: var(--wcs-accent);
}

.wcs-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wcs-panel a {
	color: inherit;
	font-size: 13px;
	text-decoration: none;
}

.wcs-panel a:focus-visible,
.wcs-panel button:focus-visible {
	outline: 2px solid var(--wcs-accent);
	outline-offset: 1px;
}

.wcs-ico {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: #a3a3ad;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Запити: історія, популярні, підказки */
.wcs-list--queries li {
	position: relative;
}

.wcs-query {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 -10px;
	padding: 8px 10px;
	border-radius: 8px;
	font-weight: 400;
	transition: background-color .12s;
}

.wcs-query span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wcs-query b {
	font-weight: 600;
}

.wcs-query.is-active,
.wcs-row.is-active,
.wcs-product.is-active,
.wcs-all.is-active {
	background: var(--wcs-hover);
}

.wcs-query.is-active .wcs-ico {
	stroke: var(--wcs-accent);
}

.wcs-history .wcs-query {
	padding-right: 36px;
}

.wcs-remove {
	position: absolute;
	top: 50%;
	right: -4px;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	padding: 6px;
	border: 0;
	border-radius: 50%;
	background: none;
	cursor: pointer;
	opacity: 0;
	transition: opacity .12s, background-color .12s;
}

.wcs-remove svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--wcs-muted);
	stroke-width: 1.8;
	stroke-linecap: round;
}

.wcs-history:hover .wcs-remove,
.wcs-remove:focus-visible {
	opacity: 1;
}

.wcs-remove:hover {
	background: #ebebef;
}

/* Категорії і бренди в ряд */
.wcs-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.wcs-pair > .wcs-sec:only-child {
	grid-column: 1 / -1;
}

.wcs-pair .wcs-sec + .wcs-sec {
	margin-top: 0;
}

.wcs-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 -8px;
	padding: 8px;
	border-bottom: 1px solid var(--wcs-line);
	border-radius: 6px;
	transition: background-color .12s;
}

.wcs-list--rows li:last-child .wcs-row {
	border-bottom-color: transparent;
}

.wcs-row__name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wcs-row__count {
	flex: 0 0 auto;
	color: var(--wcs-muted);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.wcs-arrow {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	fill: none;
	stroke: #b0b0b8;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wcs-row:hover .wcs-row__name,
.wcs-row.is-active .wcs-row__name {
	color: var(--wcs-accent);
}

.wcs-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 18px -8px 0;
	padding: 6px 8px;
	border-radius: 6px;
	color: var(--wcs-accent) !important;
	font-weight: 600;
}

.wcs-all .wcs-arrow {
	stroke: currentColor;
}

/* «Показати всі результати» під товарами */
.wcs-all--button {
	display: flex;
	justify-content: center;
	margin: 12px 0 0;
	padding: 11px 16px;
	border: 1px solid var(--wcs-accent);
	border-radius: calc(var(--wcs-radius) * .7);
	transition: background-color .12s, color .12s;
}

.wcs-all--button:hover,
.wcs-all--button.is-active {
	background: var(--wcs-accent) !important;
	color: #fff !important;
}

/* Товари */
.wcs-products {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wcs-product {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 -10px;
	padding: 6px;
	border-radius: 10px;
	transition: background-color .12s;
}

.wcs-product__img {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
    height: 50px;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
}

.wcs-product__img img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.wcs-product__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.wcs-product__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	line-height: 1.35;
}

.wcs-product__name mark {
	padding: 0;
	background: none;
	color: inherit;
	font-weight: 600;
}


.wcs-product__model {
	color: var(--wcs-muted);
	font-size: 12px;
}

.wcs-product__price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
}

.wcs-product__price s {
	font-weight: 400;
  line-height: normal;
  color: #a3a3a3;
  font-size: 12px;
}

.wcs-product__price b {
	font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.44921875px;
  line-height: 28px;
  color: #222;
}

.wcs-product__price .wcs-special {
	font-weight: 500;
  font-size: 15px;
  line-height: 28px;
  color: #e31e24;
}

.wcs-product__stock {
	color: var(--wcs-muted);
	font-size: 12px;
}

/* Повідомлення */
.wcs-notice {
	margin: -6px 0 18px;
	padding: 10px 14px;
	border-radius: 8px;
	background: var(--wcs-hover);
	color: var(--wcs-muted);
	font-size: 14px;
}

.wcs-notice b {
	color: var(--wcs-ink);
}

.wcs-empty {
	padding: 28px 12px;
	text-align: center;
}

.wcs-empty .wcs-ico {
	width: 40px;
	height: 40px;
	margin-bottom: 8px;
	stroke: #c8c8cf;
}

.wcs-empty__title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 600;
}

.wcs-empty__hint {
	margin: 0;
	color: var(--wcs-muted);
	font-size: 14px;
}

/* ---------- Бігучий рядок у полі пошуку ---------- */
/* Стандартний placeholder ховаємо, поки бігучий рядок видно; при фокусі він повертається */
input[data-wcs-phi]:not(:focus)::placeholder {
	color: transparent !important;
	opacity: 0 !important;
}

input[data-wcs-phi]:not(:focus)::-webkit-input-placeholder {
	color: transparent !important;
}

input[data-wcs-phi]:focus + .wcs-ph,
input[data-wcs-phi]:not(:placeholder-shown) + .wcs-ph {
	visibility: hidden;
}

/* Бігучий рядок лежить поверх поля. Під свою тему відступи змінюються змінними:
   .header-search { --wcs-ph-left: 20px; --wcs-ph-right: 56px; } */
.wcs-ph-host {
	position: relative;
}

.wcs-ph {
	position: absolute;
	z-index: 3;
	top: var(--wcs-ph-top, 0);
	bottom: var(--wcs-ph-bottom, 0);
	left: var(--wcs-ph-left, 12px);
	right: var(--wcs-ph-right, 48px);
	font-family: inherit;
	font-size: var(--wcs-ph-font-size, inherit);
	display: flex;
	align-items: center;
	gap: .35em;
	overflow: hidden;
	white-space: nowrap;
	pointer-events: none;
	color: #797979;
	line-height: 1.2;
	font-size: 13px;
}

.wcs-ph__prefix {
	flex: 0 0 auto;
	font-weight: 600;
}

.wcs-ph__track {
	position: relative;
	flex: 1 1 auto;
	align-self: stretch;
	min-width: 0;
	overflow: hidden;
	perspective: 400px;
}

.wcs-ph__item {
	position: absolute;
	top: 50%;
	left: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	transform: translateY(-50%);
	transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s, filter .5s;
}

/* Поле у фокусі: рядок прихований повністю, текст анімації не лишається поверх введеного */
.wcs-ph.wcs-ph--off {
	visibility: hidden !important;
}

/* hidden: display:flex у .wcs-ph інакше перебиває атрибут hidden */
.wcs-ph[hidden] {
	display: none !important;
}

/* none: без анімації */
.wcs-ph--none .wcs-ph__item {
	transition: none;
}

/* typing: курсор */
.wcs-ph__caret {
	display: inline-block;
	width: 1px;
	height: 1.1em;
	margin-left: 2px;
	vertical-align: -.15em;
	background: currentColor;
}

.wcs-ph__item.is-done .wcs-ph__caret {
	animation: wcs-caret 1.1s steps(1) infinite;
}

@keyframes wcs-caret {
	50% { opacity: 0; }
}

/* slide: знизу вгору */
.wcs-ph--slide .wcs-ph__item.is-enter {
	transform: translateY(70%);
	opacity: 0;
}

.wcs-ph--slide .wcs-ph__item.is-leave {
	transform: translateY(-170%);
	opacity: 0;
}

/* flip: 3D-переворот, як табло */
.wcs-ph--flip .wcs-ph__item {
	transform-origin: 50% 50% -10px;
	backface-visibility: hidden;
}

.wcs-ph--flip .wcs-ph__item.is-enter {
	transform: translateY(-50%) rotateX(-90deg);
	opacity: 0;
}

.wcs-ph--flip .wcs-ph__item.is-leave {
	transform: translateY(-50%) rotateX(90deg);
	opacity: 0;
}

/* fade: проявлення з розмиття */
.wcs-ph--fade .wcs-ph__item {
	transition-duration: .7s;
}

.wcs-ph--fade .wcs-ph__item.is-enter {
	transform: translateY(-50%) scale(.96);
	filter: blur(6px);
	opacity: 0;
}

.wcs-ph--fade .wcs-ph__item.is-leave {
	transform: translateY(-50%) scale(1.04);
	filter: blur(6px);
	opacity: 0;
}

/* wave: літери вистрибують хвилею */
.wcs-ph--wave .wcs-ph__item.is-leave {
	transform: translateY(-120%);
	opacity: 0;
	transition-duration: .35s;
}

.wcs-ph__ch {
	display: inline-block;
	opacity: 0;
	animation: wcs-wave .5s cubic-bezier(.3, 1.6, .5, 1) forwards;
}

@keyframes wcs-wave {
	from { opacity: 0; transform: translateY(.9em); }
	to { opacity: 1; transform: none; }
}

/* marquee: бігучий рядок справа наліво */
.wcs-ph--marquee .wcs-ph__track {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.wcs-ph__item--run {
	left: 100%;
	max-width: none;
	overflow: visible;
	transition: none;
	animation-name: wcs-run;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

@keyframes wcs-run {
	from { left: 100%; transform: translate(0, -50%); }
	to { left: 0; transform: translate(-100%, -50%); }
}

/* ---------- «Простиня» на всю ширину ---------- */
.wcs-panel--full {
	border-radius: 0 0 var(--wcs-radius) var(--wcs-radius);
	box-shadow: 0 30px 60px -20px rgba(20, 20, 40, .3), 0 1px 0 rgba(20, 20, 40, .06) inset;
}

.wcs-panel--full .wcs-inner {
	padding: 26px var(--wcs-pad-r, 28px) 30px var(--wcs-pad-l, 28px);
}

/* Історія під категоріями і брендами */
.wcs-sec--history {
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--wcs-line);
}

.wcs-col--groups .wcs-sec--history:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.wcs-list--history {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wcs-list--history .wcs-history {
	position: relative;
}

.wcs-list--history .wcs-query {
	margin: 0;
	padding: 7px 34px 7px 12px;
	border: 1px solid var(--wcs-line);
	border-radius: 999px;
	font-size: 13px;
}

.wcs-list--history .wcs-query .wcs-ico {
	width: 16px;
	height: 16px;
}

.wcs-list--history .wcs-query span {
	max-width: 220px;
}

.wcs-list--history .wcs-query:hover,
.wcs-list--history .wcs-query.is-active {
	border-color: var(--wcs-accent);
	background: #fff;
}

.wcs-list--history .wcs-remove {
	right: 4px;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	padding: 5px;
	opacity: 1;
}

/* ---------- ШІ ---------- */
.wcs-spark {
	width: 16px;
	height: 16px;
	fill: currentColor;
	flex: 0 0 auto;
}

.wcs-notice--ai {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	color: var(--wcs-ink);
}

.wcs-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px 3px 7px;
	border-radius: 999px;
	background: var(--wcs-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
}

.wcs-chip {
	padding: 5px 12px;
	border: 1px solid var(--wcs-line);
	border-radius: 999px;
	background: #fff;
	color: var(--wcs-ink);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: border-color .12s, color .12s;
}

.wcs-chip:hover,
.wcs-chip.is-current {
	border-color: var(--wcs-accent);
	color: var(--wcs-accent);
}

.wcs-chip.is-current {
	font-weight: 600;
}

.wcs-ai-wait {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.wcs-ai-wait__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--wcs-hover);
	color: var(--wcs-accent);
	animation: wcs-pulse 1.4s ease-in-out infinite;
}

.wcs-ai-wait__icon .wcs-spark {
	width: 20px;
	height: 20px;
}

@keyframes wcs-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(.88); opacity: .6; }
}

.wcs-ai-wait__title {
	margin: 6px 0 4px;
	font-weight: 600;
}

.wcs-ai-wait__hint {
	margin: 0;
	color: var(--wcs-muted);
	font-size: 13px;
}

/* «скелетони» карток */
.wcs-skel {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 0;
}

.wcs-skel__img,
.wcs-skel__line,
.wcs-skel__price {
	display: block;
	border-radius: 6px;
	background: linear-gradient(90deg, #f0f0f3 0%, #f8f8fa 40%, #f0f0f3 80%);
	background-size: 300% 100%;
	animation: wcs-shimmer 1.3s linear infinite;
}

.wcs-skel__img {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 8px;
}

.wcs-skel__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
}

.wcs-skel__line {
	height: 12px;
	width: 90%;
}

.wcs-skel__line--short {
	width: 60%;
}

.wcs-skel__price {
	height: 16px;
	width: 80px;
}

@keyframes wcs-shimmer {
	from { background-position: 100% 0; }
	to { background-position: -50% 0; }
}

.wcs-empty--inline {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--wcs-hover);
	text-align: left;
}

.wcs-empty--inline .wcs-ico {
	width: 30px;
	height: 30px;
	margin: 0;
}

/* Сторінка пошуку: «Показано результати за запитом …» */
.wcs-search-notice {
	margin: 0 0 16px;
	padding: 10px 14px;
	border-radius: 8px;
	background: #f5f5f8;
	color: #555;
}

/* Вузьке вікно: зліва підказки, категорії і бренди одне під одним, справа товари */
.wcs-panel--narrow .wcs-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	grid-template-rows: auto 1fr;
	gap: 18px 28px;
	align-items: start;
}

.wcs-panel--narrow .wcs-col--queries {
	grid-column: 1;
}

.wcs-panel--narrow .wcs-col--groups {
	display: block;
	grid-column: 1;
}

.wcs-panel--narrow .wcs-col--products {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.wcs-panel--narrow .wcs-grid > .wcs-col:only-child {
	grid-column: 1 / -1;
}

.wcs-panel--narrow .wcs-pair {
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

/* Планшет */
@media (max-width: 1100px) {
	.wcs-panel:not(.wcs-panel--narrow) .wcs-grid {
		gap: 15px;
	}

	.wcs-grid {
		flex-wrap: wrap;
	}

	.wcs-col--queries {
		flex: 1 1 32%;
	}

	.wcs-col--groups {
		flex: 1 1 60%;
	}

	.wcs-col--products {
		flex: 1 1 100%;
	}
}

/* ---------- Телефон: компактно, одна колонка на весь екран під полем ---------- */
.wcs-panel--mobile {
	border-radius: 0;
	box-shadow: 0 10px 24px rgba(20, 20, 40, .18);
	font-size: 14px;
}

.wcs-panel--mobile .wcs-inner {
	padding: 10px 12px 18px;
}

.wcs-panel--mobile .wcs-grid {
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 14px;
}

.wcs-panel--mobile .wcs-col {
	flex: 0 0 auto;
	width: 100%;
}

.wcs-panel--mobile .wcs-col--queries {
	order: 1;
}

.wcs-panel--mobile .wcs-col--products {
	order: 2;
}

.wcs-panel--mobile .wcs-col--groups {
	display: block;
	order: 3;
}

.wcs-panel--mobile .wcs-sec + .wcs-sec {
	margin-top: 12px;
}

/* Заголовки — дрібні підписи */
.wcs-panel--mobile .wcs-title {
	margin: 0 0 6px;
	color: var(--wcs-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.wcs-panel--mobile .wcs-head {
	align-items: center;
}

.wcs-panel--mobile .wcs-link {
	font-size: 12px;
}

/* Підказки запитів — щільніше */
.wcs-panel--mobile .wcs-query {
	gap: 8px;
  margin: 0 -6px;
  padding: 3px;
  font-size: 13px;
}

.wcs-panel--mobile .wcs-ico {
	width: 16px;
	height: 16px;
}

/* Категорії, бренди, історія — горизонтальні стрічки «таблеток» */
.wcs-panel--mobile .wcs-pair {
	display: block;
}

.wcs-panel--mobile .wcs-pair .wcs-sec + .wcs-sec {
	margin-top: 12px;
}

.wcs-panel--mobile .wcs-list--rows,
.wcs-panel--mobile .wcs-list--history {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	margin: 0 -12px;
	padding: 0 12px 2px;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y;
	cursor: grab;
}

/* Відступ після останньої «таблетки», щоб вона не притискалась до краю екрана */
.wcs-panel--mobile .wcs-list--rows::after,
.wcs-panel--mobile .wcs-list--history::after {
	content: "";
	flex: 0 0 6px;
}

.wcs-panel--mobile .is-dragging {
	cursor: grabbing;
	user-select: none;
}

.wcs-panel--mobile .wcs-list--rows::-webkit-scrollbar,
.wcs-panel--mobile .wcs-list--history::-webkit-scrollbar {
	display: none;
}

.wcs-panel--mobile .wcs-list--rows li,
.wcs-panel--mobile .wcs-list--history li {
	flex: 0 0 auto;
}

.wcs-panel--mobile .wcs-row {
	gap: 6px;
	margin: 0;
	padding: 6px 12px;
	border: 1px solid var(--wcs-line);
	border-radius: 999px;
	font-size: 13px;
	white-space: nowrap;
}

.wcs-panel--mobile .wcs-list--rows li:last-child .wcs-row {
	border-bottom-color: var(--wcs-line);
}

.wcs-panel--mobile .wcs-row__name {
	overflow: visible;
}

.wcs-panel--mobile .wcs-row .wcs-arrow {
	display: none;
}

.wcs-panel--mobile .wcs-row__count {
	font-size: 12px;
}

.wcs-panel--mobile .wcs-list--history .wcs-query {
	margin: 0;
	padding: 6px 30px 6px 12px;
	border: 1px solid var(--wcs-line);
	border-radius: 999px;
	font-size: 13px;
	white-space: nowrap;
}

.wcs-panel--mobile .wcs-list--history .wcs-query span {
	max-width: none;
	overflow: visible;
}

.wcs-panel--mobile .wcs-list--history .wcs-query .wcs-ico {
	display: none;
}

.wcs-panel--mobile .wcs-list--history .wcs-remove {
	right: 2px;
	width: 24px;
	height: 24px;
	margin-top: -12px;
	padding: 5px;
}

.wcs-panel--mobile .wcs-sec--history {
	margin-top: 12px;
	padding-top: 10px;
}

.wcs-panel--mobile .wcs-all {
	margin: 8px 0 0;
	padding: 9px 12px;
	font-size: 14px;
}

/* Товари — менше фото, назва в 2 рядки, ціна дрібніше */
.wcs-panel--mobile .wcs-product {
	gap: 10px;
	margin: 0 -6px;
	padding: 3px;
	border-radius: 8px;
}

.wcs-panel--mobile .wcs-product__img {
	width: 48px;
	height: 48px;
	border-radius: 6px;
}

.wcs-panel--mobile .wcs-product__body {
	gap: 2px;
}

.wcs-panel--mobile .wcs-product__name {
	font-size: 13px;
}

.wcs-panel--mobile .wcs-product__price {
	gap: 6px;
}

.wcs-panel--mobile .wcs-product__price b {
	font-size: 15px;
}

.wcs-panel--mobile .wcs-product__price s,
.wcs-panel--mobile .wcs-product__stock,
.wcs-panel--mobile .wcs-product__model {
	font-size: 11px;
}

/* Повідомлення, ШІ, «нічого не знайдено» */
.wcs-panel--mobile .wcs-notice {
	margin: 0 0 10px;
	padding: 8px 10px;
	font-size: 13px;
}

.wcs-panel--mobile .wcs-notice--ai {
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

.wcs-panel--mobile .wcs-badge {
	flex: 0 0 auto;
	white-space: nowrap;
}

.wcs-panel--mobile .wcs-chip {
	flex: 0 0 auto;
	padding: 4px 10px;
	font-size: 13px;
}

.wcs-panel--mobile .wcs-badge span,
.wcs-panel--mobile .wcs-notice--ai > span:not(.wcs-badge) {
	white-space: nowrap;
}

.wcs-panel--mobile .wcs-ai-wait__icon {
	width: 30px;
	height: 30px;
}

.wcs-panel--mobile .wcs-ai-wait__title {
	margin-top: 4px;
	font-size: 14px;
}

.wcs-panel--mobile .wcs-skel {
	gap: 10px;
	padding: 6px 0;
}

.wcs-panel--mobile .wcs-skel__img {
	width: 48px;
	height: 48px;
}

.wcs-panel--mobile .wcs-empty {
	padding: 16px 8px;
}

.wcs-panel--mobile .wcs-empty--inline {
	gap: 10px;
	margin-bottom: 12px;
	padding: 10px 12px;
}

.wcs-panel--mobile .wcs-empty--inline .wcs-ico {
	width: 22px;
	height: 22px;
}

.wcs-panel--mobile .wcs-empty__title {
	font-size: 14px;
}

.wcs-panel--mobile .wcs-empty__hint {
	font-size: 12px;
}

.wcs-panel--mobile .wcs-remove {
	opacity: 1;
}

/* Прокрутка під вікном на телефоні блокується в JS (touchmove), а не overflow:hidden:
   overflow на html/body «відклеює» липку шапку — вона і вікно їдуть вгору */
.wcs-panel--mobile {
	overscroll-behavior: contain;
}

/* Сторінка пошуку на телефоні */
@media (max-width: 767px) {
	.wcs-search-notice {
		padding: 8px 10px;
		font-size: 13px;
	}

	.wcs-ph__prefix {
		font-weight: 500;
	}
	.wcs-panel--mobile .wcs-inner {
  padding: 8px 12px 10px;
}
.wcs-panel--mobile .wcs-title {
  margin: 0 0 3px;
}
.wcs-panel--mobile .wcs-product__price b {
  font-size: 14px;
}
.wcs-panel--mobile .wcs-list--rows {
	margin-top: 7px;
}
.wcs-panel--mobile .wcs-list--history {
	margin-top: 5px;
}
}

@media (prefers-reduced-motion: reduce) {
	.wcs-panel,
	.wcs-overlay,
	.wcs-ph__ch {
		animation: none;
		opacity: 1;
	}

	.wcs-ph__item {
		transition: none;
	}

	.wcs-skel__img,
	.wcs-skel__line,
	.wcs-skel__price,
	.wcs-ai-wait__icon {
		animation: none;
	}
}
