.genio-premium-search {
	--gps-bg: #111;
	--gps-panel: #2d2d2d;
	--gps-panel-soft: #2f2f2f;
	--gps-panel-hover: #3b3b3b;
	--gps-text: #fff;
	--gps-muted: rgba(255, 255, 255, 0.68);
	--gps-border: rgba(255, 255, 255, 0.14);
	--gps-orange: #ff6a00;
	--gps-shadow: 0 24px 70px rgba(0, 0, 0, 0.44), 0 0 20px rgba(255, 106, 0, 0.18);
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 960px;
	margin-bottom: 8px;
	color: var(--gps-text);
	font-family: inherit;
	z-index: 20;
}

.genio-premium-search *,
.genio-premium-search *::before,
.genio-premium-search *::after {
	box-sizing: border-box;
}

.genio-premium-search--notice {
	padding: 14px 16px;
	background: #111;
	border: 1px solid var(--gps-orange);
	border-radius: 14px;
}

.gps-form {
	margin: 0;
}

.gps-label {
	display: block;
	margin: 0 0 8px;
	color: var(--gps-text);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.35;
}

.gps-input-wrap {
	position: relative;
	overflow: hidden;
	background: var(--gps-bg);
	border: 1px solid var(--gps-border);
	border-radius: 18px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
	transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.gps-input-wrap:focus-within {
	background: #151515;
	border-color: var(--gps-orange);
	box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.18), 0 18px 42px rgba(0, 0, 0, 0.34);
}

.gps-input {
	display: block;
	width: 100%;
	min-height: 58px;
	margin: 0;
	padding: 16px 64px 16px 18px;
	color: var(--gps-text);
	background: transparent;
	border: 0;
	outline: 0;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	appearance: none;
}

.gps-submit-button {
	position: absolute;
	top: 7px;
	right: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	color: var(--gps-orange);
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-weight: 900;
	line-height: 1;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.gps-submit-button span[aria-hidden="true"] {
	font-size: 1.12rem;
	line-height: 1;
}

.gps-submit-button:hover,
.gps-submit-button:focus-visible {
	background: rgba(255, 106, 0, 0.12);
	border-color: rgba(255, 106, 0, 0.28);
	transform: scale(1.04);
	outline: 0;
}

.gps-input::placeholder {
	color: rgba(255, 255, 255, 0.48);
	opacity: 1;
	transition: opacity 180ms ease, color 180ms ease;
}

.gps-input.gps-placeholder-changing::placeholder {
	color: rgba(255, 255, 255, 0.24);
	opacity: 0.35;
}

.gps-input::-webkit-search-decoration,
.gps-input::-webkit-search-cancel-button {
	filter: invert(1);
}

.gps-focus-line {
	position: absolute;
	right: 18px;
	bottom: 0;
	left: 18px;
	height: 2px;
	background: var(--gps-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.gps-input-wrap:focus-within .gps-focus-line {
	transform: scaleX(1);
}

.gps-results {
	position: absolute;
	top: calc(100% + 2px);
	left: 0;
	width: min(1040px, 96vw);
	overflow: hidden;
	background: linear-gradient(180deg, #2d2d2d, #222);
	border: 1px solid rgba(255, 106, 0, 0.45);
	border-radius: 18px;
	box-shadow: 0 0 20px rgba(255, 106, 0, 0.18), 0 24px 70px rgba(0, 0, 0, 0.44);
	z-index: 9999;
}

.gps-results:empty {
	display: none;
}

.gps-panel {
	background: linear-gradient(180deg, #2d2d2d, #222);
	animation: gps-panel-in 180ms ease-out;
	transform-origin: top left;
}

.gps-panel__body {
	display: grid;
	grid-template-columns: minmax(180px, 21%) minmax(0, 79%);
	min-height: 330px;
}

.gps-panel__side {
	display: grid;
	align-content: start;
	gap: 15px;
	padding: 18px;
	background: rgba(17, 17, 17, 0.22);
	border-right: 1px solid rgba(255, 106, 0, 0.34);
}

.gps-link-group {
	display: grid;
	gap: 10px;
}

.gps-link-group__title,
.gps-products-heading {
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.gps-link-group__list,
.gps-no-results__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gps-chip {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	max-width: 100%;
	padding: 7px 11px;
	color: var(--gps-text);
	background: #2f2f2f;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.gps-chip--button {
	cursor: pointer;
	font-family: inherit;
}

.gps-chip:hover,
.gps-chip:focus-visible,
.gps-chip.is-active {
	color: #111;
	background: var(--gps-orange);
	border-color: var(--gps-orange);
	outline: 0;
}

.gps-recent-products__list {
	display: grid;
	gap: 8px;
}

.gps-recent-product {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 9px;
	align-items: center;
	min-height: 54px;
	padding: 7px;
	color: var(--gps-text);
	background: #2f2f2f;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.gps-recent-product:hover,
.gps-recent-product:focus-visible,
.gps-recent-product.is-active {
	color: var(--gps-text);
	background: #3b3b3b;
	border-color: rgba(255, 106, 0, 0.82);
	box-shadow: 0 0 20px rgba(255, 106, 0, 0.18);
	transform: translateY(-2px);
	outline: 0;
}

.gps-recent-product img {
	display: block;
	width: 42px;
	height: 42px;
	object-fit: cover;
	border-radius: 9px;
}

.gps-recent-product__text {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.gps-recent-product__title,
.gps-recent-product__price {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gps-recent-product__title {
	font-size: 0.82rem;
	font-weight: 800;
}

.gps-recent-product__price {
	color: var(--gps-orange);
	font-size: 0.78rem;
	font-weight: 900;
}

.gps-panel__products {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 18px;
}

.gps-recommended-slider {
	display: grid;
	gap: 16px;
	padding: 6px 0 4px;
}

.gps-recommended-slider__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.gps-recommended-slider__controls {
	display: flex;
	gap: 7px;
}

.gps-slider-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: #111;
	background: var(--gps-orange);
	border: 1px solid var(--gps-orange);
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-size: 1.12rem;
	font-weight: 900;
	line-height: 1;
	transition: filter 160ms ease, transform 160ms ease;
}

.gps-slider-arrow:hover,
.gps-slider-arrow:focus-visible {
	filter: brightness(1.08);
	transform: translateY(-1px);
	outline: 0;
}

.gps-recommended-track {
	display: grid;
	grid-auto-columns: minmax(172px, 198px);
	grid-auto-flow: column;
	gap: 14px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	padding: 2px 2px 14px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.gps-recommended-track::-webkit-scrollbar {
	display: none;
}

.gps-recommended-card {
	display: grid;
	grid-template-rows: 164px minmax(0, 1fr);
	min-height: 248px;
	color: var(--gps-text);
	background: #2f2f2f;
	border: 1px solid rgba(255, 106, 0, 0.30);
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	scroll-snap-align: start;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gps-recommended-card:hover,
.gps-recommended-card:focus-visible,
.gps-recommended-card.is-active {
	color: var(--gps-text);
	background: #3b3b3b;
	border-color: var(--gps-orange);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.30), 0 0 20px rgba(255, 106, 0, 0.30);
	transform: translateY(-4px);
	outline: 0;
}

.gps-recommended-card__image {
	display: block;
	width: 100%;
	height: 164px;
	object-fit: cover;
	background: #0c0c0c;
}

.gps-recommended-card__body {
	display: grid;
	align-content: space-between;
	gap: 8px;
	padding: 12px;
	min-width: 0;
}

.gps-recommended-card__title {
	color: var(--gps-text);
	font-size: 0.88rem;
	font-weight: 850;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.gps-recommended-card__price {
	color: var(--gps-orange);
	font-size: 0.9rem;
	font-weight: 950;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.gps-recommended-card__delivery {
	color: rgba(255, 255, 255, 0.70);
	font-size: 0.76rem;
	font-weight: 800;
	line-height: 1.2;
}

.gps-recommended-card__badge {
	display: inline-flex;
	justify-self: start;
	min-height: 20px;
	padding: 4px 7px;
	color: #111;
	background: var(--gps-orange);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 950;
	line-height: 1;
}

.gps-recommended-card__price del {
	display: block;
	color: rgba(255, 255, 255, 0.46);
	font-size: 0.72rem;
	font-weight: 650;
}

.gps-recommended-card__price ins {
	color: var(--gps-orange);
	text-decoration: none;
}

.gps-result {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	min-height: 124px;
	padding: 14px;
	color: var(--gps-text);
	text-decoration: none;
	background: #2f2f2f;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gps-result:hover,
.gps-result:focus-visible,
.gps-result.is-active {
	color: var(--gps-text);
	background: var(--gps-panel-hover);
	border-color: rgba(255, 106, 0, 0.95);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.30), 0 0 20px rgba(255, 106, 0, 0.30);
	transform: translateY(-4px);
	outline: 0;
}

.gps-result__image-wrap {
	display: block;
	width: 96px;
	height: 96px;
	overflow: hidden;
	background: #0c0c0c;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
}

.gps-result__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gps-result__content {
	display: grid;
	min-width: 0;
	gap: 7px;
}

.gps-result__title {
	overflow-wrap: anywhere;
	color: var(--gps-text);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.28;
}

.gps-highlight {
	color: var(--gps-orange);
	font-weight: 900;
}

.gps-result__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gps-result__category {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	overflow-wrap: anywhere;
	color: var(--gps-muted);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.25;
}

.gps-result__category::before {
	color: var(--gps-orange);
	content: "•";
	font-size: 1rem;
	line-height: 1;
}

.gps-result__rating {
	color: #ffd15c;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.25;
}

.gps-result__stock {
	color: #73d483;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.25;
}

.gps-result__shipping {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.25;
}

.gps-result__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	align-items: center;
	justify-content: space-between;
}

.gps-result__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.gps-badge {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 4px 7px;
	color: #111;
	background: var(--gps-orange);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 900;
	line-height: 1;
}

.gps-badge--stock {
	background: #35c46a;
}

.gps-badge--best {
	color: #fff;
	background: #e53935;
}

.gps-badge--featured {
	background: #ffd15c;
}

.gps-badge--sale,
.gps-badge--discount {
	background: var(--gps-orange);
}

.gps-badge--new {
	background: #78a6ff;
}

.gps-result__price {
	margin-left: auto;
	color: var(--gps-orange);
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.25;
	text-align: right;
	overflow-wrap: anywhere;
}

.gps-result__price del {
	display: block;
	color: rgba(255, 255, 255, 0.46);
	font-size: 0.78rem;
	font-weight: 600;
}

.gps-result__price ins {
	color: var(--gps-orange);
	text-decoration: none;
}

.gps-panel__footer {
	position: sticky;
	bottom: 0;
	padding: 14px 18px 18px;
	background: linear-gradient(180deg, rgba(34, 34, 34, 0.88), #222 42%);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gps-all-results {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	width: 100%;
	padding: 10px 16px;
	color: #111;
	background: var(--gps-orange);
	border: 1px solid var(--gps-orange);
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 900;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: filter 160ms ease, transform 160ms ease;
}

.gps-all-results:hover,
.gps-all-results:focus-visible,
.gps-all-results.is-active {
	color: #111;
	filter: brightness(1.08);
	transform: translateY(-1px);
	outline: 0;
}

.gps-no-results {
	display: grid;
	align-content: center;
	gap: 14px;
	min-height: 220px;
	padding: 22px;
	background: #2f2f2f;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
}

.gps-no-results__title {
	color: var(--gps-text);
	font-size: 1.08rem;
	font-weight: 900;
	line-height: 1.3;
}

.gps-message {
	padding: 16px;
	color: var(--gps-muted);
	background: var(--gps-panel);
	font-size: 0.94rem;
	line-height: 1.4;
}

.gps-message--loading {
	color: var(--gps-orange);
}

.gps-history__empty {
	color: rgba(255, 255, 255, 0.52);
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.35;
}

.gps-history__clear {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 7px 11px;
	color: rgba(255, 255, 255, 0.74);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
	transition: border-color 160ms ease, color 160ms ease;
}

.gps-history__clear:hover,
.gps-history__clear:focus-visible {
	color: var(--gps-orange);
	border-color: var(--gps-orange);
	outline: 0;
}

@keyframes gps-panel-in {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 760px) {
	.genio-premium-search {
		max-width: none;
	}

	.gps-results {
		left: 50%;
		width: min(96vw, 100vw);
		max-height: min(74vh, 680px);
		overflow-y: auto;
		border-radius: 16px;
		transform: translateX(-50%);
	}

	.gps-panel__body {
		grid-template-columns: 1fr;
	}

	.gps-panel__side {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 106, 0, 0.34);
	}

	.gps-recommended-slider__controls {
		display: none;
	}
}

@media (max-width: 560px) {
	.gps-input {
		min-height: 54px;
		padding: 14px 68px 14px 16px;
		font-size: 0.96rem;
	}

	.gps-submit-button {
		width: 42px;
		min-width: 42px;
		min-height: 40px;
		padding: 9px;
		font-size: 0.86rem;
	}

	.gps-label {
		display: none;
	}

	.gps-panel__side,
	.gps-panel__products,
	.gps-panel__footer {
		padding: 14px;
	}

	.gps-result {
		grid-template-columns: 80px minmax(0, 1fr);
		min-height: 112px;
		gap: 12px;
		padding: 12px;
	}

	.gps-result__image-wrap {
		width: 80px;
		height: 80px;
		border-radius: 12px;
	}

	.gps-recommended-track {
		grid-auto-columns: minmax(142px, 68vw);
	}

	.gps-result__bottom {
		display: grid;
		justify-content: stretch;
	}

	.gps-result__price {
		margin-left: 0;
		text-align: left;
	}
}
