.itnk-lps,
.itnk-lps *,
.itnk-lps__dialog,
.itnk-lps__dialog * {
	box-sizing: border-box;
}

.itnk-lps {
	position: relative;
	max-width: 100%;
	line-height: 1.4;
}

.itnk-lps__trigger,
.itnk-lps__close,
.itnk-lps__category-select {
	-webkit-appearance: none;
	appearance: none;
	font: inherit;
	text-transform: none;
	box-shadow: none;
}

.itnk-lps__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 110px;
	min-height: 44px;
	margin: 0 !important;
	padding: 8px 12px !important;
	border: 0 solid transparent !important;
	border-radius: 0 !important;
	outline: 0;
	background: transparent !important;
	color: #fff !important;
	cursor: pointer;
	line-height: 1;
	text-decoration: none !important;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.itnk-lps__trigger:hover,
.itnk-lps__trigger:focus,
.itnk-lps__trigger:active {
	background: transparent;
	color: inherit;
}

.itnk-lps__trigger:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.itnk-lps__trigger-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	font-size: 18px;
	line-height: 1;
}

.itnk-lps__trigger-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.itnk-lps__trigger-text {
	display: inline-block;
	min-width: 0;
}

.itnk-lps__dialog {
	--itnk-lps-dialog-width: 760px;
	--itnk-lps-dialog-max-height: 84vh;
	--itnk-lps-backdrop: rgba(0, 0, 0, 0.72);
	--itnk-lps-backdrop-blur: 8px;
	width: min(var(--itnk-lps-dialog-width), calc(100vw - 32px));
	max-width: calc(100vw - 32px);
	max-height: var(--itnk-lps-dialog-max-height);
	margin: auto;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 24px;
	outline: 0;
	background: #111;
	color: #fff;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
	overscroll-behavior: contain;
}

.itnk-lps__dialog:not([open]) {
	display: none;
}

.itnk-lps__dialog[open] {
	display: block;
	animation: itnk-lps-dialog-in 180ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.itnk-lps__dialog::backdrop {
	background: var(--itnk-lps-backdrop);
	-webkit-backdrop-filter: blur(var(--itnk-lps-backdrop-blur));
	backdrop-filter: blur(var(--itnk-lps-backdrop-blur));
	animation: itnk-lps-backdrop-in 160ms ease both;
}

.itnk-lps__dialog.is-fallback-open {
	position: fixed;
	z-index: 2147483000;
	inset: 50% auto auto 50%;
	display: block;
	transform: translate(-50%, -50%);
	animation: none;
}

.itnk-lps__fallback-backdrop {
	position: fixed;
	z-index: 2147482999;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

@keyframes itnk-lps-dialog-in {
	from { opacity: 0; transform: translateY(12px) scale(0.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes itnk-lps-backdrop-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.itnk-lps__modal {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
	max-height: var(--itnk-lps-dialog-max-height);
	padding: 26px;
	overflow: hidden;
}

.itnk-lps__modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-width: 0;
}

.itnk-lps__modal-title {
	min-width: 0;
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: clamp(20px, 2.6vw, 30px);
	font-weight: 650;
	line-height: 1.2;
}

.itnk-lps__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	outline: 0;
	background: rgba(255, 255, 255, 0.06) !important;
	color: #fff !important;
	cursor: pointer;
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	transition: background-color 150ms ease, transform 150ms ease;
}

.itnk-lps__close:hover {
	background: rgba(255, 255, 255, 0.12) !important;
	transform: rotate(3deg);
}

.itnk-lps__close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.itnk-lps__form {
	width: 100%;
	margin: 0;
}

.itnk-lps__field-shell {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 58px;
	border: 1px solid rgba(255, 255, 255, 0.36);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.itnk-lps.is-field-focused .itnk-lps__field-shell {
	border-color: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.itnk-lps__input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	min-width: 0;
	min-height: inherit;
	margin: 0 !important;
	padding: 0 22px !important;
	border: 0 !important;
	border-radius: inherit !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #fff !important;
	font: inherit;
	font-size: 17px;
	line-height: 1.2;
	text-align: start;
}

.itnk-lps__input::placeholder {
	color: rgba(255, 255, 255, 0.72);
	opacity: 1;
}

.itnk-lps__input::-webkit-search-decoration,
.itnk-lps__input::-webkit-search-cancel-button,
.itnk-lps__input::-webkit-search-results-button,
.itnk-lps__input::-webkit-search-results-decoration {
	display: none;
}

.itnk-lps__spinner {
	position: absolute;
	inset-inline-end: 20px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border: 2px solid currentColor;
	border-inline-end-color: transparent;
	border-radius: 50%;
	color: #fff;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.itnk-lps.is-loading .itnk-lps__spinner {
	opacity: 0.76;
	visibility: visible;
	animation: itnk-lps-spin 700ms linear infinite;
}

.itnk-lps.is-loading .itnk-lps__input {
	padding-inline-end: 52px !important;
}

@keyframes itnk-lps-spin {
	to { transform: rotate(360deg); }
}

.itnk-lps__categories {
	width: 100%;
	min-width: 0;
}

.itnk-lps__category-field {
	position: relative;
	width: 100%;
	min-width: 0;
}

.itnk-lps__category-select {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 48px;
	margin: 0 !important;
	padding: 10px 48px 10px 16px !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	border-radius: 14px !important;
	outline: 0;
	background: rgba(255, 255, 255, 0.04) !important;
	color: rgba(255, 255, 255, 0.88) !important;
	box-shadow: none !important;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.3;
	text-align: start;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

[dir="rtl"] .itnk-lps__category-select {
	padding-right: 16px !important;
	padding-left: 48px !important;
}

.itnk-lps__category-select:hover {
	border-color: rgba(255, 255, 255, 0.38) !important;
	background: rgba(255, 255, 255, 0.07) !important;
}

.itnk-lps__category-select:focus-visible {
	border-color: #fff !important;
	background: rgba(255, 255, 255, 0.07) !important;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06) !important;
}

.itnk-lps__category-select option {
	background: #fff;
	color: #111;
}

.itnk-lps__category-chevron {
	position: absolute;
	top: 50%;
	inset-inline-end: 17px;
	width: 9px;
	height: 9px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	color: rgba(255, 255, 255, 0.72);
	pointer-events: none;
	transform: translateY(-70%) rotate(45deg);
}

.itnk-lps__panel {
	min-height: 120px;
	max-height: min(440px, calc(var(--itnk-lps-dialog-max-height) - 250px));
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.02);
	scrollbar-width: thin;
}

.itnk-lps__result {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: transparent;
	color: inherit;
	text-decoration: none !important;
	text-align: start;
	transition: background-color 120ms ease;
}

.itnk-lps__result:last-of-type {
	border-bottom: 0;
}

.itnk-lps__result:hover,
.itnk-lps__result:focus-visible,
.itnk-lps__result.is-active {
	background: rgba(255, 255, 255, 0.07);
	outline: 0;
}

.itnk-lps__image {
	flex: 0 0 auto;
	width: 58px;
	height: 58px;
	border-radius: 12px;
	object-fit: cover;
	background: rgba(255, 255, 255, 0.06);
}

.itnk-lps__body {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	align-items: center;
	gap: 12px;
}

.itnk-lps__text {
	flex: 1 1 auto;
	min-width: 0;
}

.itnk-lps__title {
	display: block;
	overflow: hidden;
	color: #fff;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.itnk-lps__meta {
	display: block;
	overflow: hidden;
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.itnk-lps__price {
	flex: 0 0 auto;
	max-width: 42%;
	color: #fff;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.35;
	text-align: end;
}

.itnk-lps__message,
.itnk-lps__view-all {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 76px;
	padding: 16px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
}

.itnk-lps__view-all {
	min-height: 52px;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: transparent;
	font-weight: 650;
	text-decoration: none !important;
	transition: background-color 120ms ease;
}

.itnk-lps__view-all:hover,
.itnk-lps__view-all:focus-visible {
	background: rgba(255, 255, 255, 0.07);
	outline: 0;
}

.itnk-lps__sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.itnk-lps-modal-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.itnk-lps__dialog {
		width: calc(100vw - 20px);
		max-width: calc(100vw - 20px);
		max-height: min(92vh, 920px);
		border-radius: 20px;
	}

	.itnk-lps__modal {
		gap: 14px;
		max-height: min(92vh, 920px);
		padding: 18px;
	}

	.itnk-lps__modal-title {
		font-size: 21px;
	}

	.itnk-lps__category-select {
		min-height: 46px;
	}

	.itnk-lps__panel {
		max-height: calc(92vh - 245px);
	}

	.itnk-lps__result {
		gap: 10px;
	}

	.itnk-lps__image {
		width: 50px;
		height: 50px;
	}

	.itnk-lps__body {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.itnk-lps__price {
		max-width: 100%;
		text-align: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.itnk-lps__dialog[open],
	.itnk-lps__dialog::backdrop,
	.itnk-lps.is-loading .itnk-lps__spinner {
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
	}

	.itnk-lps__trigger,
	.itnk-lps__close,
	.itnk-lps__category-select,
	.itnk-lps__result {
		transition-duration: 1ms !important;
	}
}
