/*
 * Novixa Universal Search
 * Every selector is prefixed with .novixa-universal-search.
 * Colours / sizes are CSS variables (--nus-*) so the Elementor Style tab can
 * override any of them without fighting specificity.
 */

/* ------------------------------------------------------------------ */
/* Base + default tokens (Luxury Gold, black & gold)                  */
/* ------------------------------------------------------------------ */
.novixa-universal-search {
	--nus-radius: 14px;
	--nus-field-bg: #121212;
	--nus-field-color: #f6efe0;
	--nus-placeholder: rgba(246, 239, 224, 0.5);
	--nus-border: rgba(201, 162, 77, 0.45);
	--nus-focus: #d4af37;
	--nus-focus-ring: rgba(212, 175, 55, 0.22);
	--nus-icon-color: #c9a24d;
	--nus-icon-focus: #e7c873;
	--nus-clear-color: #c9a24d;
	--nus-btn-bg: linear-gradient(135deg, #ecd185, #c9a24d 55%, #a8832f);
	--nus-btn-color: #1a1405;
	--nus-btn-bg-hover: linear-gradient(135deg, #f3dc9a, #d6b05a 55%, #b8923c);
	--nus-btn-color-hover: #1a1405;

	--nus-panel-bg: #0f0f0f;
	--nus-panel-color: #f4ecd8;
	--nus-panel-border: rgba(201, 162, 77, 0.35);
	--nus-panel-radius: 16px;
	--nus-panel-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.65);
	--nus-panel-gap: 10px;
	--nus-panel-max: 440px;

	--nus-title-color: #f6efe0;
	--nus-title-hover: #ecd185;
	--nus-excerpt-color: rgba(244, 236, 216, 0.68);
	--nus-meta-color: rgba(244, 236, 216, 0.55);
	--nus-badge-bg: rgba(201, 162, 77, 0.16);
	--nus-badge-color: #e7c873;
	--nus-price-color: #ecd185;
	--nus-mark-color: #f5d98a;
	--nus-mark-bg: rgba(212, 175, 55, 0.22);
	--nus-item-hover: rgba(201, 162, 77, 0.09);
	--nus-item-active: rgba(201, 162, 77, 0.18);
	--nus-divider: rgba(201, 162, 77, 0.18);
	--nus-heading-color: rgba(231, 200, 115, 0.8);
	--nus-chip-bg: rgba(201, 162, 77, 0.1);
	--nus-chip-color: #e9d9a8;
	--nus-chip-border: rgba(201, 162, 77, 0.3);
	--nus-chip-hover-bg: #c9a24d;
	--nus-chip-hover-color: #1a1405;
	--nus-chip-active-bg: #c9a24d;
	--nus-chip-active-color: #1a1405;
	--nus-thumb: 52px;

	position: relative;
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	line-height: 1.4;
	text-align: left;
}

.novixa-universal-search *,
.novixa-universal-search *::before,
.novixa-universal-search *::after {
	box-sizing: border-box;
}

.novixa-universal-search [hidden] {
	display: none !important;
}

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

html.novixa-universal-search-lock {
	overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Form, field, input                                                 */
/* ------------------------------------------------------------------ */
.novixa-universal-search__box {
	position: relative;
}

.novixa-universal-search__form {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.novixa-universal-search .novixa-universal-search__field {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 16px;
	background: var(--nus-field-bg);
	color: var(--nus-field-color);
	border: 1px solid var(--nus-border);
	border-radius: var(--nus-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.novixa-universal-search .novixa-universal-search__field:focus-within {
	border-color: var(--nus-focus);
	box-shadow: 0 0 0 4px var(--nus-focus-ring);
}

.novixa-universal-search__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
	color: var(--nus-icon-color);
	transition: color 0.2s ease;
}

.novixa-universal-search__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.novixa-universal-search .novixa-universal-search__field:focus-within .novixa-universal-search__icon {
	color: var(--nus-icon-focus);
}

.novixa-universal-search--icon-right .novixa-universal-search__field .novixa-universal-search__icon {
	order: 5;
}

.novixa-universal-search .novixa-universal-search__field .novixa-universal-search__input,
.novixa-universal-search .novixa-universal-search__field .novixa-universal-search__input:focus,
.novixa-universal-search .novixa-universal-search__field .novixa-universal-search__input:hover {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	background: transparent;
	color: var(--nus-field-color);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	font: inherit;
	font-size: 15px;
	line-height: 1.5;
	-webkit-appearance: none;
	appearance: none;
}

.novixa-universal-search .novixa-universal-search__input::placeholder {
	color: var(--nus-placeholder);
	opacity: 1;
}

.novixa-universal-search .novixa-universal-search__input::-webkit-search-cancel-button,
.novixa-universal-search .novixa-universal-search__input::-webkit-search-decoration {
	-webkit-appearance: none;
	display: none;
}

.novixa-universal-search .novixa-universal-search__clear {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	background: transparent;
	color: var(--nus-clear-color);
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.15s ease, background-color 0.15s ease;
}

.novixa-universal-search .novixa-universal-search__clear:hover,
.novixa-universal-search .novixa-universal-search__clear:focus-visible {
	opacity: 1;
	background: var(--nus-chip-bg);
	outline: none;
}

.novixa-universal-search__spinner {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	border: 2px solid var(--nus-chip-border);
	border-top-color: var(--nus-icon-color);
	border-radius: 50%;
	animation: novixa-universal-search-spin 0.7s linear infinite;
}

@keyframes novixa-universal-search-spin {
	to { transform: rotate(360deg); }
}

.novixa-universal-search .novixa-universal-search__submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 54px;
	margin: 0;
	padding: 0 22px;
	background: var(--nus-btn-bg);
	color: var(--nus-btn-color);
	border: 0;
	border-radius: var(--nus-radius);
	box-shadow: none;
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.novixa-universal-search .novixa-universal-search__submit:hover,
.novixa-universal-search .novixa-universal-search__submit:focus-visible {
	background: var(--nus-btn-bg-hover);
	color: var(--nus-btn-color-hover);
	outline: none;
	filter: brightness(1.04);
}

.novixa-universal-search .novixa-universal-search__submit:focus-visible,
.novixa-universal-search .novixa-universal-search__toggle:focus-visible,
.novixa-universal-search .novixa-universal-search__trigger:focus-visible {
	outline: 2px solid var(--nus-focus);
	outline-offset: 2px;
}

.novixa-universal-search__submit .novixa-universal-search__icon {
	color: inherit;
	font-size: 18px;
}

/* ------------------------------------------------------------------ */
/* Dropdown panel                                                     */
/* ------------------------------------------------------------------ */
.novixa-universal-search__panel {
	position: absolute;
	z-index: 99990;
	top: calc(100% + var(--nus-panel-gap));
	left: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	padding: 8px;
	background: var(--nus-panel-bg);
	color: var(--nus-panel-color);
	border: 1px solid var(--nus-panel-border);
	border-radius: var(--nus-panel-radius);
	box-shadow: var(--nus-panel-shadow);
	overflow: hidden;
	animation: novixa-universal-search-pop 0.18s ease-out;
}

@keyframes novixa-universal-search-pop {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: none; }
}

.novixa-universal-search__body {
	max-height: var(--nus-panel-max);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 2px;
	scrollbar-width: thin;
	scrollbar-color: var(--nus-chip-border) transparent;
}

.novixa-universal-search__section {
	padding: 6px 4px 8px;
}

.novixa-universal-search__section + .novixa-universal-search__section {
	border-top: 1px solid var(--nus-divider);
}

.novixa-universal-search__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 4px 8px 6px;
	color: var(--nus-heading-color);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.novixa-universal-search .novixa-universal-search__link-btn {
	margin: 0;
	padding: 2px 6px;
	background: transparent;
	color: var(--nus-heading-color);
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: underline;
	cursor: pointer;
}

.novixa-universal-search .novixa-universal-search__link-btn:hover,
.novixa-universal-search .novixa-universal-search__link-btn:focus-visible {
	color: var(--nus-title-hover);
	outline: none;
}

/* Chips ------------------------------------------------------------ */
.novixa-universal-search__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 2px 6px 4px;
}

.novixa-universal-search .novixa-universal-search__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	margin: 0;
	padding: 6px 14px;
	background: var(--nus-chip-bg);
	color: var(--nus-chip-color);
	border: 1px solid var(--nus-chip-border);
	border-radius: 999px;
	box-shadow: none;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.novixa-universal-search .novixa-universal-search__chip:hover {
	background: var(--nus-chip-hover-bg);
	color: var(--nus-chip-hover-color);
	border-color: transparent;
}

.novixa-universal-search .novixa-universal-search__chip.is-active,
.novixa-universal-search .novixa-universal-search__suggest-item.is-active {
	background: var(--nus-chip-active-bg);
	color: var(--nus-chip-active-color);
	border-color: transparent;
}

.novixa-universal-search__ico {
	display: inline-flex;
	font-size: 14px;
	opacity: 0.85;
}

/* Autocomplete suggestions ---------------------------------------- */
.novixa-universal-search__suggest {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0 2px;
}

.novixa-universal-search .novixa-universal-search__suggest-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 8px 10px;
	background: transparent;
	color: var(--nus-panel-color);
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.novixa-universal-search .novixa-universal-search__suggest-item:hover {
	background: var(--nus-item-hover);
}

.novixa-universal-search__suggest-text {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Result list ------------------------------------------------------ */
.novixa-universal-search__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.novixa-universal-search .novixa-universal-search__item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 10px 10px;
	border-radius: 12px;
	color: var(--nus-panel-color);
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.15s ease;
}

.novixa-universal-search .novixa-universal-search__item:hover {
	background: var(--nus-item-hover);
	color: var(--nus-panel-color);
}

.novixa-universal-search .novixa-universal-search__item.is-active {
	background: var(--nus-item-active);
}

.novixa-universal-search .novixa-universal-search__item:focus-visible {
	outline: 2px solid var(--nus-focus);
	outline-offset: -2px;
}

.novixa-universal-search__thumb {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--nus-thumb);
	height: var(--nus-thumb);
	overflow: hidden;
	background: var(--nus-chip-bg);
	color: var(--nus-icon-color);
	border-radius: 10px;
}

.novixa-universal-search__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.novixa-universal-search__thumb--empty,
.novixa-universal-search__thumb--term {
	font-size: 20px;
}

.novixa-universal-search__content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.novixa-universal-search__title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
}

.novixa-universal-search__title {
	color: var(--nus-title-color);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	transition: color 0.15s ease;
}

.novixa-universal-search__item:hover .novixa-universal-search__title,
.novixa-universal-search__item.is-active .novixa-universal-search__title {
	color: var(--nus-title-hover);
}

.novixa-universal-search__badge {
	display: inline-block;
	padding: 2px 8px;
	background: var(--nus-badge-bg);
	color: var(--nus-badge-color);
	border-radius: 999px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.5;
	text-transform: uppercase;
}

.novixa-universal-search__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--nus-excerpt-color);
	font-size: 13px;
	line-height: 1.45;
}

.novixa-universal-search__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 12px;
	color: var(--nus-meta-color);
	font-size: 12px;
}

.novixa-universal-search__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.novixa-universal-search__price {
	color: var(--nus-price-color);
	font-weight: 700;
}

.novixa-universal-search__price-old {
	font-weight: 400;
	opacity: 0.6;
}

.novixa-universal-search__price-from {
	font-weight: 400;
	opacity: 0.75;
}

.novixa-universal-search__stock {
	color: #e0766b;
}

.novixa-universal-search__mark {
	padding: 0 2px;
	margin: 0 -1px;
	background: var(--nus-mark-bg);
	color: var(--nus-mark-color);
	border-radius: 3px;
}

/* Messages --------------------------------------------------------- */
.novixa-universal-search__message {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 26px 18px;
	text-align: center;
}

.novixa-universal-search__message > .novixa-universal-search__ico {
	font-size: 28px;
	color: var(--nus-icon-color);
	margin-bottom: 2px;
}

.novixa-universal-search__message-title {
	margin: 0;
	color: var(--nus-title-color);
	font-size: 15px;
	font-weight: 600;
}

.novixa-universal-search__message-hint {
	margin: 0;
	color: var(--nus-excerpt-color);
	font-size: 13px;
}

.novixa-universal-search__dym {
	margin: 6px 0 0;
	color: var(--nus-excerpt-color);
	font-size: 13.5px;
}

.novixa-universal-search .novixa-universal-search__dym-link,
.novixa-universal-search .novixa-universal-search__retry {
	margin: 0 2px;
	padding: 2px 4px;
	background: transparent;
	color: var(--nus-title-hover);
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.novixa-universal-search .novixa-universal-search__retry {
	margin-top: 8px;
	padding: 8px 18px;
	background: var(--nus-chip-bg);
	border: 1px solid var(--nus-chip-border);
	border-radius: 999px;
	text-decoration: none;
}

.novixa-universal-search .novixa-universal-search__dym-link.is-active,
.novixa-universal-search .novixa-universal-search__dym-link:hover {
	background: var(--nus-item-active);
}

.novixa-universal-search__hint {
	margin: 0;
	padding: 18px;
	color: var(--nus-excerpt-color);
	font-size: 13.5px;
	text-align: center;
}

.novixa-universal-search.is-slow .novixa-universal-search__spinner {
	border-top-color: #e0a95c;
	animation-duration: 1.4s;
}

/* Skeleton --------------------------------------------------------- */
.novixa-universal-search__skeleton {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 8px;
}

.novixa-universal-search__skeleton-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.novixa-universal-search__skeleton-thumb,
.novixa-universal-search__skeleton-line {
	display: block;
	background: linear-gradient(90deg, var(--nus-chip-bg) 25%, var(--nus-item-active) 50%, var(--nus-chip-bg) 75%);
	background-size: 200% 100%;
	border-radius: 8px;
	animation: novixa-universal-search-shimmer 1.2s linear infinite;
}

.novixa-universal-search__skeleton-thumb {
	flex: 0 0 auto;
	width: var(--nus-thumb);
	height: var(--nus-thumb);
}

.novixa-universal-search__skeleton-lines {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.novixa-universal-search__skeleton-line {
	height: 11px;
}

.novixa-universal-search__skeleton-line--short {
	width: 55%;
}

@keyframes novixa-universal-search-shimmer {
	from { background-position: 200% 0; }
	to   { background-position: -200% 0; }
}

/* Active filter pills --------------------------------------------- */
.novixa-universal-search__active {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px 6px 8px;
}

.novixa-universal-search .novixa-universal-search__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 4px 6px 4px 12px;
	background: var(--nus-chip-active-bg);
	color: var(--nus-chip-active-color);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	font: inherit;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
}

.novixa-universal-search__pill-x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	background: rgba(0, 0, 0, 0.18);
	border-radius: 50%;
	font-size: 14px;
	line-height: 1;
}

/* Filters ---------------------------------------------------------- */
.novixa-universal-search__filters {
	padding: 2px 4px 8px;
	border-bottom: 1px solid var(--nus-divider);
	margin-bottom: 6px;
}

.novixa-universal-search .novixa-universal-search__filters-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 6px 12px;
	background: transparent;
	color: var(--nus-heading-color);
	border: 1px solid var(--nus-chip-border);
	border-radius: 999px;
	box-shadow: none;
	font: inherit;
	font-size: 12.5px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.novixa-universal-search .novixa-universal-search__filters-toggle:hover,
.novixa-universal-search .novixa-universal-search__filters-toggle[aria-expanded="true"] {
	background: var(--nus-chip-bg);
}

.novixa-universal-search__filters-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-top: 10px;
}

.novixa-universal-search__filter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.novixa-universal-search .novixa-universal-search__select,
.novixa-universal-search .novixa-universal-search__number {
	min-height: 36px;
	height: auto;
	margin: 0;
	padding: 6px 10px;
	background: var(--nus-chip-bg);
	color: var(--nus-chip-color);
	border: 1px solid var(--nus-chip-border);
	border-radius: 10px;
	box-shadow: none;
	font: inherit;
	font-size: 13px;
	line-height: 1.2;
}

.novixa-universal-search .novixa-universal-search__select option {
	color: #111;
	background: #fff;
}

.novixa-universal-search .novixa-universal-search__number {
	width: 96px;
}

.novixa-universal-search__dash {
	opacity: 0.6;
}

/* Footer ----------------------------------------------------------- */
.novixa-universal-search__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 6px;
	padding: 10px 6px 4px;
	border-top: 1px solid var(--nus-divider);
}

.novixa-universal-search .novixa-universal-search__more {
	margin: 0;
	padding: 8px 18px;
	background: var(--nus-chip-bg);
	color: var(--nus-chip-color);
	border: 1px solid var(--nus-chip-border);
	border-radius: 999px;
	box-shadow: none;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.novixa-universal-search .novixa-universal-search__more:hover:not(:disabled),
.novixa-universal-search .novixa-universal-search__more.is-active {
	background: var(--nus-chip-hover-bg);
	color: var(--nus-chip-hover-color);
}

.novixa-universal-search .novixa-universal-search__more:disabled {
	opacity: 0.6;
	cursor: progress;
}

.novixa-universal-search .novixa-universal-search__viewall {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	padding: 8px 12px;
	border-radius: 10px;
	color: var(--nus-title-hover);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
}

.novixa-universal-search .novixa-universal-search__viewall:hover,
.novixa-universal-search .novixa-universal-search__viewall.is-active {
	background: var(--nus-item-active);
	color: var(--nus-title-hover);
}

/* ================================================================== */
/* PRESETS                                                            */
/* ================================================================== */

/* ---- Luxury Gold - ivory scheme ---------------------------------- */
.novixa-universal-search--preset-luxury-gold.novixa-universal-search--scheme-ivory {
	--nus-field-bg: #fbf7ec;
	--nus-field-color: #2a2110;
	--nus-placeholder: rgba(42, 33, 16, 0.5);
	--nus-border: rgba(168, 131, 47, 0.55);
	--nus-icon-color: #a8832f;
	--nus-icon-focus: #8c6a1c;
	--nus-clear-color: #8c6a1c;
	--nus-panel-bg: #fffdf6;
	--nus-panel-color: #2a2110;
	--nus-panel-border: rgba(168, 131, 47, 0.35);
	--nus-panel-shadow: 0 28px 56px -24px rgba(90, 66, 12, 0.35);
	--nus-title-color: #2a2110;
	--nus-title-hover: #8c6a1c;
	--nus-excerpt-color: rgba(42, 33, 16, 0.68);
	--nus-meta-color: rgba(42, 33, 16, 0.55);
	--nus-badge-bg: rgba(168, 131, 47, 0.14);
	--nus-badge-color: #8c6a1c;
	--nus-price-color: #8c6a1c;
	--nus-mark-color: #5c430a;
	--nus-mark-bg: rgba(212, 175, 55, 0.3);
	--nus-item-hover: rgba(168, 131, 47, 0.09);
	--nus-item-active: rgba(168, 131, 47, 0.17);
	--nus-divider: rgba(168, 131, 47, 0.2);
	--nus-heading-color: #8c6a1c;
	--nus-chip-bg: rgba(168, 131, 47, 0.1);
	--nus-chip-color: #5c430a;
	--nus-chip-border: rgba(168, 131, 47, 0.32);
	--nus-chip-hover-bg: #a8832f;
	--nus-chip-hover-color: #fff;
	--nus-chip-active-bg: #a8832f;
	--nus-chip-active-color: #fff;
}

.novixa-universal-search--preset-luxury-gold .novixa-universal-search__field {
	box-shadow: 0 10px 28px -16px rgba(168, 131, 47, 0.55);
}

/* ---- Minimal Clean ----------------------------------------------- */
.novixa-universal-search--preset-minimal {
	--nus-radius: 10px;
	--nus-field-bg: #ffffff;
	--nus-field-color: #14141a;
	--nus-placeholder: #8b8b98;
	--nus-border: #dcdce3;
	--nus-focus: #14141a;
	--nus-focus-ring: rgba(20, 20, 26, 0.1);
	--nus-icon-color: #8b8b98;
	--nus-icon-focus: #14141a;
	--nus-clear-color: #8b8b98;
	--nus-btn-bg: #14141a;
	--nus-btn-color: #ffffff;
	--nus-btn-bg-hover: #2c2c36;
	--nus-btn-color-hover: #ffffff;
	--nus-panel-bg: #ffffff;
	--nus-panel-color: #14141a;
	--nus-panel-border: #e6e6ec;
	--nus-panel-radius: 12px;
	--nus-panel-shadow: 0 18px 40px -18px rgba(20, 20, 40, 0.28);
	--nus-title-color: #14141a;
	--nus-title-hover: #14141a;
	--nus-excerpt-color: #5f5f6d;
	--nus-meta-color: #8b8b98;
	--nus-badge-bg: #f0f0f4;
	--nus-badge-color: #4a4a58;
	--nus-price-color: #14141a;
	--nus-mark-color: #14141a;
	--nus-mark-bg: #fff1a8;
	--nus-item-hover: #f5f5f8;
	--nus-item-active: #ececf2;
	--nus-divider: #ececf2;
	--nus-heading-color: #8b8b98;
	--nus-chip-bg: #f5f5f8;
	--nus-chip-color: #33333f;
	--nus-chip-border: #e6e6ec;
	--nus-chip-hover-bg: #14141a;
	--nus-chip-hover-color: #ffffff;
	--nus-chip-active-bg: #14141a;
	--nus-chip-active-color: #ffffff;
}

.novixa-universal-search--preset-minimal .novixa-universal-search__field {
	min-height: 50px;
}

.novixa-universal-search--preset-minimal .novixa-universal-search__submit {
	min-width: 50px;
	padding: 0 18px;
}

.novixa-universal-search--preset-minimal .novixa-universal-search__stock {
	color: #c0392b;
}

/* ---- Glassmorphism ----------------------------------------------- */
.novixa-universal-search--preset-glass {
	--nus-radius: 18px;
	--nus-field-bg: rgba(255, 255, 255, 0.34);
	--nus-field-color: #14142b;
	--nus-placeholder: rgba(20, 20, 43, 0.58);
	--nus-border: rgba(255, 255, 255, 0.7);
	--nus-focus: #ffffff;
	--nus-focus-ring: rgba(255, 255, 255, 0.35);
	--nus-icon-color: rgba(20, 20, 43, 0.7);
	--nus-icon-focus: #14142b;
	--nus-clear-color: rgba(20, 20, 43, 0.7);
	--nus-btn-bg: linear-gradient(135deg, rgba(124, 92, 255, 0.95), rgba(76, 201, 240, 0.9));
	--nus-btn-color: #ffffff;
	--nus-btn-bg-hover: linear-gradient(135deg, rgba(104, 72, 245, 1), rgba(56, 181, 220, 1));
	--nus-btn-color-hover: #ffffff;
	--nus-panel-bg: rgba(255, 255, 255, 0.58);
	--nus-panel-color: #14142b;
	--nus-panel-border: rgba(255, 255, 255, 0.75);
	--nus-panel-radius: 20px;
	--nus-panel-shadow: 0 30px 60px -24px rgba(40, 30, 120, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	--nus-title-color: #14142b;
	--nus-title-hover: #5a3df0;
	--nus-excerpt-color: rgba(20, 20, 43, 0.7);
	--nus-meta-color: rgba(20, 20, 43, 0.58);
	--nus-badge-bg: rgba(124, 92, 255, 0.16);
	--nus-badge-color: #4a2fd0;
	--nus-price-color: #4a2fd0;
	--nus-mark-color: #2c1a8f;
	--nus-mark-bg: rgba(124, 92, 255, 0.22);
	--nus-item-hover: rgba(255, 255, 255, 0.55);
	--nus-item-active: rgba(255, 255, 255, 0.8);
	--nus-divider: rgba(20, 20, 43, 0.1);
	--nus-heading-color: rgba(20, 20, 43, 0.6);
	--nus-chip-bg: rgba(255, 255, 255, 0.5);
	--nus-chip-color: #14142b;
	--nus-chip-border: rgba(255, 255, 255, 0.8);
	--nus-chip-hover-bg: #5a3df0;
	--nus-chip-hover-color: #ffffff;
	--nus-chip-active-bg: #5a3df0;
	--nus-chip-active-color: #ffffff;
}

.novixa-universal-search--preset-glass .novixa-universal-search__field,
.novixa-universal-search--preset-glass .novixa-universal-search__panel {
	-webkit-backdrop-filter: blur(18px) saturate(1.5);
	backdrop-filter: blur(18px) saturate(1.5);
}

.novixa-universal-search--preset-glass .novixa-universal-search__field {
	box-shadow: 0 10px 30px -14px rgba(40, 30, 120, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ---- Floating Search --------------------------------------------- */
.novixa-universal-search--preset-floating {
	--nus-radius: 999px;
	--nus-field-bg: #ffffff;
	--nus-field-color: #1c1c28;
	--nus-placeholder: #9a9aaa;
	--nus-border: transparent;
	--nus-focus: #7c5cff;
	--nus-focus-ring: rgba(124, 92, 255, 0.18);
	--nus-icon-color: #9a9aaa;
	--nus-icon-focus: #7c5cff;
	--nus-clear-color: #9a9aaa;
	--nus-btn-bg: linear-gradient(135deg, #8a6bff, #5b3df0);
	--nus-btn-color: #ffffff;
	--nus-btn-bg-hover: linear-gradient(135deg, #9a7dff, #6a4dff);
	--nus-btn-color-hover: #ffffff;
	--nus-panel-bg: #ffffff;
	--nus-panel-color: #1c1c28;
	--nus-panel-border: transparent;
	--nus-panel-radius: 24px;
	--nus-panel-shadow: 0 30px 70px -20px rgba(40, 30, 110, 0.4);
	--nus-panel-gap: 14px;
	--nus-title-color: #1c1c28;
	--nus-title-hover: #5b3df0;
	--nus-excerpt-color: #666677;
	--nus-meta-color: #9a9aaa;
	--nus-badge-bg: #efebff;
	--nus-badge-color: #5b3df0;
	--nus-price-color: #5b3df0;
	--nus-mark-color: #3a22b5;
	--nus-mark-bg: #e6dfff;
	--nus-item-hover: #f6f4ff;
	--nus-item-active: #ece8ff;
	--nus-divider: #efeff5;
	--nus-heading-color: #9a9aaa;
	--nus-chip-bg: #f4f2ff;
	--nus-chip-color: #3a22b5;
	--nus-chip-border: #e6e1ff;
	--nus-chip-hover-bg: #5b3df0;
	--nus-chip-hover-color: #ffffff;
	--nus-chip-active-bg: #5b3df0;
	--nus-chip-active-color: #ffffff;
}

.novixa-universal-search--preset-floating .novixa-universal-search__field {
	min-height: 60px;
	padding: 0 22px;
	box-shadow: 0 18px 44px -14px rgba(60, 40, 160, 0.4), 0 2px 6px rgba(20, 20, 40, 0.06);
}

.novixa-universal-search--preset-floating.novixa-universal-search--has-button .novixa-universal-search__form {
	display: block;
}

.novixa-universal-search--preset-floating.novixa-universal-search--has-button .novixa-universal-search__field {
	padding-right: 78px;
}

.novixa-universal-search--preset-floating .novixa-universal-search__submit {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 46px;
	height: 46px;
	min-width: 46px;
	padding: 0;
	border-radius: 50%;
	transform: translateY(-50%);
	box-shadow: 0 10px 22px -6px rgba(91, 61, 240, 0.6);
}

.novixa-universal-search--preset-floating.novixa-universal-search--has-button .novixa-universal-search__submit:hover {
	transform: translateY(-50%) scale(1.07);
}

.novixa-universal-search--preset-floating .novixa-universal-search__submit-text {
	display: none;
}

/* ---- Expandable Search ------------------------------------------- */
.novixa-universal-search--preset-expandable {
	--nus-radius: 999px;
	--nus-expanded-width: 340px;
	--nus-icon-focus: #14141a;
	--nus-clear-color: #8b8b98;
	--nus-toggle-bg: #14141a;
	--nus-toggle-color: #ffffff;
	--nus-field-bg: #ffffff;
	--nus-field-color: #14141a;
	--nus-placeholder: #8b8b98;
	--nus-border: #dcdce3;
	--nus-focus: #14141a;
	--nus-focus-ring: rgba(20, 20, 26, 0.1);
	--nus-icon-color: #8b8b98;
	--nus-panel-bg: #ffffff;
	--nus-panel-color: #14141a;
	--nus-panel-border: #e6e6ec;
	--nus-panel-radius: 16px;
	--nus-panel-shadow: 0 18px 40px -18px rgba(20, 20, 40, 0.3);
	--nus-title-color: #14141a;
	--nus-title-hover: #14141a;
	--nus-excerpt-color: #5f5f6d;
	--nus-meta-color: #8b8b98;
	--nus-badge-bg: #f0f0f4;
	--nus-badge-color: #4a4a58;
	--nus-price-color: #14141a;
	--nus-mark-color: #14141a;
	--nus-mark-bg: #fff1a8;
	--nus-item-hover: #f5f5f8;
	--nus-item-active: #ececf2;
	--nus-divider: #ececf2;
	--nus-heading-color: #8b8b98;
	--nus-chip-bg: #f5f5f8;
	--nus-chip-color: #33333f;
	--nus-chip-border: #e6e6ec;
	--nus-chip-hover-bg: #14141a;
	--nus-chip-hover-color: #ffffff;
	--nus-chip-active-bg: #14141a;
	--nus-chip-active-color: #ffffff;

	width: auto;
	display: inline-block;
	vertical-align: top;
}

.novixa-universal-search--preset-expandable .novixa-universal-search__toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	background: var(--nus-toggle-bg);
	color: var(--nus-toggle-color);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 8px 20px -8px rgba(20, 20, 40, 0.5);
	font-size: 18px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.novixa-universal-search--preset-expandable .novixa-universal-search__toggle .novixa-universal-search__icon {
	color: inherit;
}

.novixa-universal-search--preset-expandable .novixa-universal-search__toggle:hover {
	transform: scale(1.06);
}

.novixa-universal-search--preset-expandable .novixa-universal-search__box {
	position: absolute;
	z-index: 99990;
	top: calc(100% + 10px);
	left: 0;
	width: var(--nus-expanded-width);
	max-width: calc(100vw - 32px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

.novixa-universal-search--preset-expandable.is-expanded .novixa-universal-search__box {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

/* Where the popover sits under the icon */
.novixa-universal-search--preset-expandable.novixa-universal-search--pop-right .novixa-universal-search__box {
	left: auto;
	right: 0;
}

.novixa-universal-search--preset-expandable.novixa-universal-search--pop-center .novixa-universal-search__box {
	left: 50%;
	transform: translate(-50%, -8px);
}

.novixa-universal-search--preset-expandable.novixa-universal-search--pop-center.is-expanded .novixa-universal-search__box {
	transform: translate(-50%, 0);
}

.novixa-universal-search--preset-expandable .novixa-universal-search__field {
	min-height: 48px;
}

/* ---- Command Palette --------------------------------------------- */
.novixa-universal-search--preset-palette {
	--nus-radius: 0;
	--nus-palette-width: 660px;
	--nus-overlay: rgba(10, 10, 20, 0.58);
	--nus-overlay-blur: 6px;
	--nus-trigger-bg: #16161f;
	--nus-trigger-color: #b9b9c9;
	--nus-field-bg: transparent;
	--nus-field-color: #f1f1f8;
	--nus-placeholder: #7d7d92;
	--nus-border: transparent;
	--nus-focus: transparent;
	--nus-focus-ring: transparent;
	--nus-icon-color: #8d8da3;
	--nus-icon-focus: #b8a6ff;
	--nus-clear-color: #8d8da3;
	--nus-panel-bg: transparent;
	--nus-panel-color: #e9e9f4;
	--nus-panel-border: transparent;
	--nus-panel-radius: 0;
	--nus-panel-shadow: none;
	--nus-panel-max: 52vh;
	--nus-title-color: #f1f1f8;
	--nus-title-hover: #c9bcff;
	--nus-excerpt-color: #9d9db3;
	--nus-meta-color: #7d7d92;
	--nus-badge-bg: rgba(124, 92, 255, 0.2);
	--nus-badge-color: #c9bcff;
	--nus-price-color: #c9bcff;
	--nus-mark-color: #e6deff;
	--nus-mark-bg: rgba(124, 92, 255, 0.35);
	--nus-item-hover: rgba(255, 255, 255, 0.05);
	--nus-item-active: rgba(124, 92, 255, 0.28);
	--nus-divider: rgba(255, 255, 255, 0.08);
	--nus-heading-color: #8d8da3;
	--nus-chip-bg: rgba(255, 255, 255, 0.06);
	--nus-chip-color: #d6d6e6;
	--nus-chip-border: rgba(255, 255, 255, 0.1);
	--nus-chip-hover-bg: #7c5cff;
	--nus-chip-hover-color: #ffffff;
	--nus-chip-active-bg: #7c5cff;
	--nus-chip-active-color: #ffffff;
}

.novixa-universal-search--preset-palette .novixa-universal-search__trigger {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 0 16px;
	background: var(--nus-trigger-bg);
	color: var(--nus-trigger-color);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	box-shadow: 0 14px 34px -16px rgba(10, 10, 30, 0.7);
	font: inherit;
	font-size: 14.5px;
	text-align: left;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.novixa-universal-search--preset-palette .novixa-universal-search__trigger:hover {
	border-color: rgba(124, 92, 255, 0.6);
	transform: translateY(-1px);
}

.novixa-universal-search--preset-palette .novixa-universal-search__trigger--icon {
	width: 50px;
	height: 50px;
	min-height: 50px;
	padding: 0;
	justify-content: center;
	border-radius: 50%;
}

.novixa-universal-search--preset-palette .novixa-universal-search__trigger-text {
	flex: 1 1 auto;
}

.novixa-universal-search__kbd {
	flex: 0 0 auto;
	padding: 3px 8px;
	background: rgba(255, 255, 255, 0.08);
	color: inherit;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 6px;
	font: inherit;
	font-size: 11.5px;
	line-height: 1.4;
	opacity: 0.85;
}

.novixa-universal-search--preset-palette .novixa-universal-search__overlay {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 12vh 16px 16px;
	background: var(--nus-overlay);
	-webkit-backdrop-filter: blur(var(--nus-overlay-blur));
	backdrop-filter: blur(var(--nus-overlay-blur));
	animation: novixa-universal-search-fade 0.18s ease-out;
}

@keyframes novixa-universal-search-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.novixa-universal-search--preset-palette .novixa-universal-search__box {
	width: 100%;
	max-width: min(var(--nus-palette-width), 100%);
	background: #14141d;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.75);
	overflow: hidden;
	animation: novixa-universal-search-pop 0.2s ease-out;
}

.novixa-universal-search--preset-palette .novixa-universal-search__field {
	min-height: 62px;
	padding: 0 20px;
	border: 0;
	border-bottom: 1px solid var(--nus-divider);
	border-radius: 0;
	box-shadow: none;
}

.novixa-universal-search--preset-palette .novixa-universal-search__field:focus-within {
	box-shadow: none;
}

.novixa-universal-search--preset-palette .novixa-universal-search__field .novixa-universal-search__input {
	font-size: 17px;
}

.novixa-universal-search--preset-palette .novixa-universal-search__icon {
	font-size: 20px;
}

.novixa-universal-search--preset-palette .novixa-universal-search__panel {
	position: static;
	width: 100%;
	padding: 6px 8px 8px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	animation: none;
}

.novixa-universal-search--preset-palette .novixa-universal-search__panel[hidden] {
	display: none !important;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */
@media ( max-width: 767px ) {
	.novixa-universal-search {
		--nus-thumb: 44px;
	}

	.novixa-universal-search .novixa-universal-search__field {
		min-height: 50px;
		padding: 0 14px;
	}

	.novixa-universal-search .novixa-universal-search__submit {
		padding: 0 16px;
	}

	.novixa-universal-search__panel {
		max-width: 100%;
	}

	.novixa-universal-search__item {
		padding: 10px 6px;
	}

	.novixa-universal-search--preset-palette .novixa-universal-search__overlay {
		padding-top: 6vh;
	}

	.novixa-universal-search--preset-palette .novixa-universal-search__kbd {
		display: none;
	}

	.novixa-universal-search__filters-bar {
		gap: 6px;
	}
}

/* ------------------------------------------------------------------ */
/* Reduced motion                                                     */
/* ------------------------------------------------------------------ */
@media ( prefers-reduced-motion: reduce ) {
	.novixa-universal-search *,
	.novixa-universal-search *::before,
	.novixa-universal-search *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.novixa-universal-search__spinner {
		animation: none;
		border-top-color: var(--nus-chip-border);
		border-style: dotted;
	}
}

/* Highlight stays readable on a filled (keyboard-active) row */
.novixa-universal-search .novixa-universal-search__suggest-item.is-active .novixa-universal-search__mark,
.novixa-universal-search .novixa-universal-search__chip.is-active .novixa-universal-search__mark {
	background: rgba(0, 0, 0, 0.22);
	color: inherit;
	box-shadow: none;
}

/* Themes restyle every <button> on hover/focus; keep ours in control. */
.novixa-universal-search.novixa-universal-search--preset-expandable .novixa-universal-search__toggle,
.novixa-universal-search.novixa-universal-search--preset-expandable .novixa-universal-search__toggle:hover,
.novixa-universal-search.novixa-universal-search--preset-expandable .novixa-universal-search__toggle:focus {
	background: var(--nus-toggle-bg);
	color: var(--nus-toggle-color);
	border: 0;
}

.novixa-universal-search.novixa-universal-search--preset-palette .novixa-universal-search__trigger,
.novixa-universal-search.novixa-universal-search--preset-palette .novixa-universal-search__trigger:hover,
.novixa-universal-search.novixa-universal-search--preset-palette .novixa-universal-search__trigger:focus {
	background: var(--nus-trigger-bg);
	color: var(--nus-trigger-color);
}

.novixa-universal-search .novixa-universal-search__clear:not(:hover):not(:focus-visible) {
	background: transparent;
}

.novixa-universal-search .novixa-universal-search__chip:not(:hover):not(.is-active):focus {
	background: var(--nus-chip-bg);
	color: var(--nus-chip-color);
}

/* Icon centering (v1.5.7): font icons (<i>) behave like the SVG ones. */
.novixa-universal-search__icon i {
	display: inline-flex; align-items: center; justify-content: center;
	width: 1em; height: 1em; margin: 0; padding: 0; line-height: 1; text-align: center;
}
.novixa-universal-search__icon i::before { display: block; margin: 0; line-height: 1; }
