/*
 * CarolinaShop Live Search Foundation - Base Styles
 *
 * These styles provide a minimal, functional foundation that can be
 * easily extended or overridden to match your existing site design.
 *
 * Design principles:
 * - Use CSS variables for easy theming
 * - Prefix classes to avoid conflicts (lsf- prefix)
 * - Mobile-first responsive design
 * - Accessibility-focused
 * - Minimal, clean aesthetics
 */
*,
::before,
::after {
	--tw-border-spacing-x: 0;
	--tw-border-spacing-y: 0;
	--tw-translate-x: 0;
	--tw-translate-y: 0;
	--tw-rotate: 0;
	--tw-skew-x: 0;
	--tw-skew-y: 0;
	--tw-scale-x: 1;
	--tw-scale-y: 1;
	--tw-pan-x: ;
	--tw-pan-y: ;
	--tw-pinch-zoom: ;
	--tw-scroll-snap-strictness: proximity;
	--tw-gradient-from-position: ;
	--tw-gradient-via-position: ;
	--tw-gradient-to-position: ;
	--tw-ordinal: ;
	--tw-slashed-zero: ;
	--tw-numeric-figure: ;
	--tw-numeric-spacing: ;
	--tw-numeric-fraction: ;
	--tw-ring-inset: ;
	--tw-ring-offset-width: 0px;
	--tw-ring-offset-color: #fff;
	--tw-ring-color: rgb(59 130 246 / 0.5);
	--tw-ring-offset-shadow: 0 0 #0000;
	--tw-ring-shadow: 0 0 #0000;
	--tw-shadow: 0 0 #0000;
	--tw-shadow-colored: 0 0 #0000;
	--tw-blur: ;
	--tw-brightness: ;
	--tw-contrast: ;
	--tw-grayscale: ;
	--tw-hue-rotate: ;
	--tw-invert: ;
	--tw-saturate: ;
	--tw-sepia: ;
	--tw-drop-shadow: ;
	--tw-backdrop-blur: ;
	--tw-backdrop-brightness: ;
	--tw-backdrop-contrast: ;
	--tw-backdrop-grayscale: ;
	--tw-backdrop-hue-rotate: ;
	--tw-backdrop-invert: ;
	--tw-backdrop-opacity: ;
	--tw-backdrop-saturate: ;
	--tw-backdrop-sepia: ;
	--tw-contain-size: ;
	--tw-contain-layout: ;
	--tw-contain-paint: ;
	--tw-contain-style: ;
}
::backdrop {
	--tw-border-spacing-x: 0;
	--tw-border-spacing-y: 0;
	--tw-translate-x: 0;
	--tw-translate-y: 0;
	--tw-rotate: 0;
	--tw-skew-x: 0;
	--tw-skew-y: 0;
	--tw-scale-x: 1;
	--tw-scale-y: 1;
	--tw-pan-x: ;
	--tw-pan-y: ;
	--tw-pinch-zoom: ;
	--tw-scroll-snap-strictness: proximity;
	--tw-gradient-from-position: ;
	--tw-gradient-via-position: ;
	--tw-gradient-to-position: ;
	--tw-ordinal: ;
	--tw-slashed-zero: ;
	--tw-numeric-figure: ;
	--tw-numeric-spacing: ;
	--tw-numeric-fraction: ;
	--tw-ring-inset: ;
	--tw-ring-offset-width: 0px;
	--tw-ring-offset-color: #fff;
	--tw-ring-color: rgb(59 130 246 / 0.5);
	--tw-ring-offset-shadow: 0 0 #0000;
	--tw-ring-shadow: 0 0 #0000;
	--tw-shadow: 0 0 #0000;
	--tw-shadow-colored: 0 0 #0000;
	--tw-blur: ;
	--tw-brightness: ;
	--tw-contrast: ;
	--tw-grayscale: ;
	--tw-hue-rotate: ;
	--tw-invert: ;
	--tw-saturate: ;
	--tw-sepia: ;
	--tw-drop-shadow: ;
	--tw-backdrop-blur: ;
	--tw-backdrop-brightness: ;
	--tw-backdrop-contrast: ;
	--tw-backdrop-grayscale: ;
	--tw-backdrop-hue-rotate: ;
	--tw-backdrop-invert: ;
	--tw-backdrop-opacity: ;
	--tw-backdrop-saturate: ;
	--tw-backdrop-sepia: ;
	--tw-contain-size: ;
	--tw-contain-layout: ;
	--tw-contain-paint: ;
	--tw-contain-style: ;
}
/*
 ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
 */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
	box-sizing: border-box; /* 1 */
	border-width: 0; /* 2 */
	border-style: solid; /* 2 */
	border-color: #e5e7eb; /* 2 */
}
::before,
::after {
	--tw-content: "";
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/
html,
:host {
	line-height: 1.5; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */ /* 3 */
	tab-size: 4; /* 3 */
	font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
	font-feature-settings: normal; /* 5 */
	font-variation-settings: normal; /* 6 */
	-webkit-tap-highlight-color: transparent; /* 7 */
}
/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
	margin: 0; /* 1 */
	line-height: inherit; /* 2 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
	height: 0; /* 1 */
	color: inherit; /* 2 */
	border-top-width: 1px; /* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
	-webkit-text-decoration: underline dotted;
	text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
/* h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
} */
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
	color: inherit;
	text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
	font-weight: bolder;
}
/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
	font-feature-settings: normal; /* 2 */
	font-variation-settings: normal; /* 3 */
	font-size: 1em; /* 4 */
}
/*
Add the correct font size in all browsers.
*/
small {
	font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
	text-indent: 0; /* 1 */
	border-color: inherit; /* 2 */
	border-collapse: collapse; /* 3 */
}
/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-feature-settings: inherit; /* 1 */
	font-variation-settings: inherit; /* 1 */
	font-size: 100%; /* 1 */
	font-weight: inherit; /* 1 */
	line-height: inherit; /* 1 */
	letter-spacing: inherit; /* 1 */
	color: inherit; /* 1 */
	margin: 0; /* 2 */
	padding: 0; /* 3 */
}
/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
	text-transform: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
	-webkit-appearance: button; /* 1 */
	background-color: transparent; /* 2 */
	background-image: none; /* 2 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
	outline: auto;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
	box-shadow: none;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
	vertical-align: baseline;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}
/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
	-webkit-appearance: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
	display: list-item;
}
/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
	margin: 0;
}
fieldset {
	margin: 0;
	padding: 0;
}
legend {
	padding: 0;
}
ol,
ul,
menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
/*
Reset default styling for dialogs.
*/
dialog {
	padding: 0;
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
	resize: vertical;
}
/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::placeholder,
textarea::placeholder {
	opacity: 1; /* 1 */
	color: #9ca3af; /* 2 */
}
/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
	cursor: pointer;
}
/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
	cursor: default;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/
.search-overlay img,
.search-overlay svg,
.search-overlay video,
.search-overlay canvas,
.search-overlay audio,
.search-overlay iframe,
.search-overlay embed,
.search-overlay object {
	display: block; /* 1 */
	vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
.search-overlay img,
.search-overlay video {
	max-width: 100%;
	height: auto;
}
/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
	display: none;
}
.\!container {
	width: 100% !important;
}
.container {
	width: 100%;
}
@media (min-width: 640px) {
	.\!container {
		max-width: 640px !important;
	}
	.container {
		max-width: 640px;
	}
}
@media (min-width: 991px) {
	.\!container {
		max-width: 991px !important;
	}
	.container {
		max-width: 991px;
	}
}
@media (min-width: 1024px) {
	.\!container {
		max-width: 1024px !important;
	}
	.container {
		max-width: 1024px;
	}
}
@media (min-width: 1280px) {
	.\!container {
		max-width: 1280px !important;
	}
	.container {
		max-width: 1280px;
	}
}
@media (min-width: 1536px) {
	.\!container {
		max-width: 1536px !important;
	}
	.container {
		max-width: 1536px;
	}
}
.search-overlay .visible {
	visibility: visible;
}
.search-overlay .static {
	position: static;
}
.search-overlay .absolute {
	position: absolute;
}
.search-overlay .relative {
	position: relative;
}
/* .block {
  display: block;
} */
.search-overlay .inline {
	display: inline;
}
.search-overlay .flex {
	display: flex;
}
.search-overlay .inline-flex {
	display: inline-flex;
}
.search-overlay .grid {
	display: grid;
}
.search-overlay .hidden {
	display: none;
}
.search-overlay .flex-col {
	flex-direction: column;
}
.search-overlay .items-center {
	align-items: center;
}
.search-overlay .justify-between {
	justify-content: space-between;
}
.search-overlay .gap-1 {
	gap: 0.25rem;
}
.search-overlay .gap-2 {
	gap: 0.5rem;
}
.search-overlay .gap-3 {
	gap: 0.75rem;
}
.search-overlay .border {
	border-width: 1px;
}
.search-overlay .p-2 {
	padding: 0.5rem;
}
.search-overlay .text-\[12px\] {
	font-size: 12px;
}
.search-overlay .font-normal {
	font-weight: 400;
}
.search-overlay .lowercase {
	text-transform: lowercase;
}
.leading-\[12px\] {
	line-height: 12px;
}
.tracking-normal {
	letter-spacing: 0em;
}
.text-\[\#909499\] {
	--tw-text-opacity: 1;
	color: rgb(144 148 153 / var(--tw-text-opacity, 1));
}
.filter {
	filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
	transition-property:
		color,
		background-color,
		border-color,
		fill,
		stroke,
		opacity,
		box-shadow,
		transform,
		filter,
		-webkit-text-decoration-color,
		-webkit-backdrop-filter;
	transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
	transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
	transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
	transition-property:
		color,
		background-color,
		border-color,
		text-decoration-color,
		fill,
		stroke,
		opacity,
		box-shadow,
		transform,
		filter,
		backdrop-filter,
		-webkit-text-decoration-color,
		-webkit-backdrop-filter;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}

:root {
	/* Color palette */
	--lsf-primary: #2563eb;
	--lsf-primary-dark: #1d4ed8;
	--lsf-secondary: #64748b;
	--lsf-success: #10b981;
	--lsf-warning: #f59e0b;
	--lsf-danger: #ef4444;
	--lsf-info: #3b82f6;

	/* Neutral colors */
	--lsf-white: #ffffff;
	--lsf-gray-50: #f8fafc;
	--lsf-gray-100: #f1f5f9;
	--lsf-gray-200: #e2e8f0;
	--lsf-gray-300: #cbd5e1;
	--lsf-gray-400: #94a3b8;
	--lsf-gray-500: #64748b;
	--lsf-gray-600: #475569;
	--lsf-gray-700: #334155;
	--lsf-gray-800: #1e293b;
	--lsf-gray-900: #0f172a;
	--lsf-black: #000000;

	/* Spacing */
	--lsf-spacing-xs: 0.25rem;
	--lsf-spacing-sm: 0.5rem;
	--lsf-spacing-md: 1rem;
	--lsf-spacing-lg: 1.5rem;
	--lsf-spacing-xl: 2rem;
	--lsf-spacing-2xl: 3rem;

	/* Typography */
	--lsf-font-sans: "Inter", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--lsf-font-mono: "SF Mono", "Roboto Mono", monospace;
	--lsf-font-size-xs: 0.75rem;
	--lsf-font-size-sm: 0.875rem;
	--lsf-font-size-base: 1rem;
	--lsf-font-size-lg: 1.125rem;
	--lsf-font-size-xl: 1.25rem;
	--lsf-font-size-2xl: 1.5rem;
	--lsf-font-size-3xl: 1.875rem;

	/* Borders & Shadows */
	--lsf-radius-sm: 0.25rem;
	--lsf-radius-md: 0.5rem;
	--lsf-radius-lg: 0.75rem;
	--lsf-radius-xl: 1rem;
	--lsf-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--lsf-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--lsf-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	--lsf-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

	/* Transitions */
	--lsf-transition-fast: 150ms ease;
	--lsf-transition-base: 250ms ease;
	--lsf-transition-slow: 350ms ease;

	/* Z-index layers */
	--lsf-z-dropdown: 10;
	--lsf-z-modal: 100;
	--lsf-z-popover: 20;
	--lsf-z-tooltip: 30;
}

/* Reset & Base Styles */
.lsf-reset {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.lsf-reset *,
.lsf-reset *::before,
.lsf-reset *::after {
	box-sizing: inherit;
}

/* Search Trigger Styles */
.mit-search-modal-root {
	display: inline-block;
	padding: var(--lsf-spacing-md) var(--lsf-spacing-lg);
	background-color: var(--lsf-gray-100);
	border: 2px dashed var(--lsf-gray-300);
	border-radius: var(--lsf-radius-lg);
	color: var(--lsf-gray-700);
	font-family: var(--lsf-font-sans);
	font-size: var(--lsf-font-size-base);
	cursor: pointer;
	transition: all var(--lsf-transition-base);
	-webkit-user-select: none;
	user-select: none;
	max-width: 100%;
}

.mit-search-modal-root:hover {
	background-color: var(--lsf-gray-200);
	border-color: var(--lsf-gray-400);
	transform: translateY(-2px);
	box-shadow: var(--lsf-shadow-md);
}

.mit-search-modal-root:focus {
	outline: 2px solid var(--lsf-primary);
	outline-offset: 2px;
}

.mit-search-modal-root:active {
	transform: translateY(0);
}

.search-trigger-default {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--lsf-spacing-sm);
}

.search-shortcut-hint {
	font-size: var(--lsf-font-size-xs);
	color: var(--lsf-gray-500);
	background-color: var(--lsf-gray-200);
	padding: var(--lsf-spacing-xs) var(--lsf-spacing-sm);
	border-radius: var(--lsf-radius-sm);
	margin-left: var(--lsf-spacing-sm);
}

.search-overlay {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.15);
	/* background-color: rgba(0, 0, 0); */
	z-index: 1000000000000000;
}

ul:not([id*="bx_"]) > li:before {
	content: none !important;
}

.categories-block ul > li {
	margin: 0px !important;
	margin-bottom: 8px !important;
}

/* .search-modal-overlay_2 {
  position: absolute;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  top: 2em;
  z-index: 999888;
  max-width: 1200px;
  border-radius: 12px;
  padding: 0;
  box-sizing: border-box;
  background: #ffffff;
  background: var(--s-color-background-layout);
} */
/* Search Modal Styles */
.search-modal-overlay {
	position: absolute;
	top: 3.75em;
	left: 49.8%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 748px;
	background-color: transparent;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	animation: none !important;
	transition: none !important;
}

.search-modal {
	width: 100%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.search-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--lsf-spacing-lg) var(--lsf-spacing-xl);
	border-bottom: 1px solid var(--lsf-gray-200);
	background-color: var(--lsf-gray-50);
}

.search-modal-title {
	margin: 0;
	font-size: var(--lsf-font-size-xl);
	font-weight: 600;
	color: var(--lsf-gray-900);
	display: flex;
	align-items: center;
}

.search-modal-close {
	background: none;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: var(--lsf-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--lsf-gray-500);
	font-size: var(--lsf-font-size-lg);
	transition: all var(--lsf-transition-fast);
}

.search-modal-close:hover {
	background-color: var(--lsf-gray-200);
	color: var(--lsf-gray-700);
}

.search-modal-close:focus {
	outline: 2px solid var(--lsf-primary);
	outline-offset: 2px;
}

.search-modal-body {
	padding: 16px 8px;
	overflow-y: auto;
	flex: 1;
	background-color: #ffffff;
	border-radius: 12px;
	scrollbar-color: #c4c8cc transparent; /* Firefox */
}
.suggestions-block {
	scrollbar-color: #c4c8cc transparent;
}
.search-modal-form {
	margin-bottom: 12px;
	background-color: #ffffff;
	border-radius: 12px;
}

.search-input-container {
	position: relative;
	display: flex;
	align-items: stretch;
	padding: 8px;
}

.search-input-icon {
	position: absolute;
	left: var(--lsf-spacing-lg);
	color: var(--lsf-gray-400);
	font-size: var(--lsf-font-size-lg);
	pointer-events: none;
}

.search-modal-input {
	width: 100%;
	padding: 12px 16px;
	font-size: 16px !important;
	border-radius: 8px 0 0 8px !important;
	font-family: var(--lsf-font-sans);
	transition: all var(--lsf-transition-base);

	background-color: var(--lsf-white) !important;
	/* border: 1px solid #c4c8cc !important; */
	border: 1px solid #bf1b2c !important;
	transition: border-color 0.2s ease !important;
}

.search-modal-input:hover {
	border-color: #bf1b2c !important;
}

.search-modal-input:focus {
	outline: none;
	border-color: #bf1b2c !important;
}

.search-modal-input:read-only {
	background-color: #ffffff;
	cursor: not-allowed;
}

.search-clear-button {
	position: absolute;
	top: 16px;
	right: 106px;
	background: none;
	border: none;
	color: var(--lsf-gray-400);
	cursor: pointer;
	font-size: var(--lsf-font-size-lg);
	padding: var(--lsf-spacing-xs);
	border-radius: var(--lsf-radius-sm);
	transition: all var(--lsf-transition-fast);
}

.search-button {
	padding: 14px 32px;
	background-color: #bf1b2c;
	border-radius: 0 8px 8px 0 !important;
}

.search-modal-hints {
	background-color: var(--lsf-gray-50);
	padding: var(--lsf-spacing-md);
	border-radius: var(--lsf-radius-md);
	border-left: 4px solid var(--lsf-info);
}

.hint-text {
	margin: 0 0 var(--lsf-spacing-sm) 0;
	color: var(--lsf-gray-700);
	font-size: var(--lsf-font-size-sm);
	display: flex;
	align-items: flex-start;
	gap: var(--lsf-spacing-sm);
}

.search-shortcuts {
	display: flex;
	gap: var(--lsf-spacing-lg);
	flex-wrap: wrap;
}

.shortcut-item {
	display: flex;
	align-items: center;
	gap: var(--lsf-spacing-xs);
	font-size: var(--lsf-font-size-sm);
	color: var(--lsf-gray-600);
}

.shortcut-item kbd {
	background-color: var(--lsf-gray-200);
	padding: var(--lsf-spacing-xs) var(--lsf-spacing-sm);
	border-radius: var(--lsf-radius-sm);
	font-family: var(--lsf-font-mono);
	font-size: var(--lsf-font-size-xs);
	color: var(--lsf-gray-800);
	border: 1px solid var(--lsf-gray-300);
}

.search-modal-placeholder {
	background-color: var(--lsf-gray-50);
	border: 2px dashed var(--lsf-gray-300);
	border-radius: var(--lsf-radius-lg);
	padding: var(--lsf-spacing-2xl);
	text-align: center;
	margin-top: var(--lsf-spacing-xl);
}

.placeholder-content {
	max-width: 500px;
	margin: 0 auto;
}

.placeholder-features {
	display: flex;
	justify-content: center;
	gap: var(--lsf-spacing-xl);
	margin-top: var(--lsf-spacing-lg);
	flex-wrap: wrap;
}

.feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--lsf-spacing-xs);
	color: var(--lsf-gray-600);
	font-size: var(--lsf-font-size-sm);
}

.feature i {
	font-size: var(--lsf-font-size-xl);
	color: var(--lsf-primary);
	margin-bottom: var(--lsf-spacing-xs);
}

.search-modal-footer {
	padding: var(--lsf-spacing-lg) var(--lsf-spacing-xl);
	border-top: 1px solid var(--lsf-gray-200);
	background-color: var(--lsf-gray-50);
	text-align: center;
}

.footer-note {
	margin: 0;
	color: var(--lsf-gray-600);
	font-size: var(--lsf-font-size-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--lsf-spacing-sm);
}

/* App Layout Styles */
.app {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--lsf-font-sans);
	color: var(--lsf-gray-900);
	background-color: var(--lsf-white);
}

.app-header {
	padding: var(--lsf-spacing-2xl) var(--lsf-spacing-xl);
	text-align: center;
	background: linear-gradient(135deg, var(--lsf-gray-50) 0%, var(--lsf-white) 100%);
	border-bottom: 1px solid var(--lsf-gray-200);
}

.app-title {
	margin: 0 0 var(--lsf-spacing-sm) 0;
	font-size: var(--lsf-font-size-3xl);
	font-weight: 700;
	color: var(--lsf-gray-900);
}

.app-subtitle {
	margin: 0;
	color: var(--lsf-gray-600);
	font-size: var(--lsf-font-size-lg);
	max-width: 600px;
	margin: 0 auto;
}

.app-main {
	flex: 1;
	padding: var(--lsf-spacing-2xl) var(--lsf-spacing-xl);
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.app-footer {
	padding: var(--lsf-spacing-xl);
	text-align: center;
	background-color: var(--lsf-gray-50);
	border-top: 1px solid var(--lsf-gray-200);
	color: var(--lsf-gray-600);
	font-size: var(--lsf-font-size-sm);
}

.footer-small {
	margin-top: var(--lsf-spacing-sm);
	font-size: var(--lsf-font-size-xs);
	color: var(--lsf-gray-500);
}

/* Demo Section Styles */
.demo-section,
.architecture-section,
.next-steps {
	margin-bottom: var(--lsf-spacing-2xl);
}

.section-title {
	font-size: var(--lsf-font-size-2xl);
	font-weight: 600;
	color: var(--lsf-gray-900);
	margin-bottom: var(--lsf-spacing-lg);
	padding-bottom: var(--lsf-spacing-sm);
	border-bottom: 2px solid var(--lsf-gray-200);
}

.section-description {
	color: var(--lsf-gray-600);
	margin-bottom: var(--lsf-spacing-xl);
	line-height: 1.6;
}

.trigger-demo {
	display: flex;
	justify-content: center;
	margin: var(--lsf-spacing-xl) 0;
}

.demo-notes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--lsf-spacing-lg);
	margin-top: var(--lsf-spacing-xl);
}

.note {
	background-color: var(--lsf-gray-50);
	padding: var(--lsf-spacing-lg);
	border-radius: var(--lsf-radius-lg);
	border-left: 4px solid var(--lsf-primary);
}

.note h3 {
	margin: var(--lsf-spacing-sm) 0;
	color: var(--lsf-gray-900);
	font-size: var(--lsf-font-size-lg);
}

.note p {
	margin: 0;
	color: var(--lsf-gray-600);
	font-size: var(--lsf-font-size-sm);
	line-height: 1.5;
}

/* Architecture Grid */
.architecture-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--lsf-spacing-lg);
	margin-top: var(--lsf-spacing-xl);
}

.arch-card {
	background-color: var(--lsf-white);
	border: 1px solid var(--lsf-gray-200);
	border-radius: var(--lsf-radius-lg);
	padding: var(--lsf-spacing-xl);
	transition: all var(--lsf-transition-base);
}

.arch-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--lsf-shadow-lg);
	border-color: var(--lsf-primary);
}

.arch-icon {
	width: 60px;
	height: 60px;
	background-color: var(--lsf-primary);
	color: var(--lsf-white);
	border-radius: var(--lsf-radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--lsf-font-size-2xl);
	margin-bottom: var(--lsf-spacing-lg);
}

.arch-card h3 {
	margin: 0 0 var(--lsf-spacing-lg) 0;
	font-size: var(--lsf-font-size-xl);
	color: var(--lsf-gray-900);
}

.arch-card ul {
	margin: 0;
	padding-left: var(--lsf-spacing-lg);
}

.arch-card li {
	margin-bottom: var(--lsf-spacing-sm);
	color: var(--lsf-gray-600);
	line-height: 1.5;
}

.arch-card li strong {
	color: var(--lsf-gray-900);
}

/* Next Steps */
.steps-list {
	counter-reset: step-counter;
	list-style: none;
	padding: 0;
	margin: var(--lsf-spacing-xl) 0;
}

.steps-list li {
	counter-increment: step-counter;
	margin-bottom: var(--lsf-spacing-lg);
	padding-left: 3.5rem;
	position: relative;
	color: var(--lsf-gray-700);
	line-height: 1.6;
}

.steps-list li::before {
	content: counter(step-counter);
	position: absolute;
	left: 0;
	top: 0;
	width: 2.5rem;
	height: 2.5rem;
	background-color: var(--lsf-primary);
	color: var(--lsf-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: var(--lsf-font-size-base);
}

.steps-list li strong {
	color: var(--lsf-gray-900);
}

.steps-list code {
	background-color: var(--lsf-gray-100);
	padding: var(--lsf-spacing-xs) var(--lsf-spacing-sm);
	border-radius: var(--lsf-radius-sm);
	font-family: var(--lsf-font-mono);
	font-size: var(--lsf-font-size-sm);
	color: var(--lsf-gray-800);
}

/* Animations */
@keyframes lsf-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes lsf-slide-up {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mobile-back-button {
	display: none;
}
/* Responsive Design */
@media (max-width: 991px) {
	.search-modal {
		max-height: 100dvh;
	}

	.search-input-container {
		padding: 12px 12px 24px 12px;
	}

	.search-button {
		display: none;
	}

	.search-modal-input {
		border-radius: 12px !important;
		border-color: #18181b !important;
	}

	.mobile-back-button {
		background: none;
		border: none;
		padding: 0;
		margin-right: 12px;

		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}

	.search-modal-input:focus {
		border-color: #18181b !important;
	}
	.search-modal-input:hover {
		border-color: #18181b !important;
	}

	.search-clear-button {
		top: 21px !important;
		right: 16px !important;
	}

	.search-modal-header,
	.search-modal-body,
	.search-modal-footer {
		padding: var(--lsf-spacing-lg);
	}

	.app-header,
	.app-main {
		padding: var(--lsf-spacing-lg);
	}

	.architecture-grid,
	.demo-notes {
		grid-template-columns: 1fr;
	}

	.placeholder-features {
		flex-direction: column;
		gap: var(--lsf-spacing-lg);
	}
}

@media (max-width: 640px) {
	.search-button {
		padding: 14.6px 32px;
	}
}

@media (max-width: 480px) {
	.search-button {
		padding: 15.3px 32px;
	}
}

@media (max-width: 384px) {
	.search-button {
		padding: 15.9px 32px;
	}
}

/* Print Styles */
@media print {
	.search-modal-overlay,
	.mit-search-modal-root {
		display: none !important;
	}
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Focus styles for keyboard navigation */
:focus-visible {
	outline: 2px solid var(--lsf-primary);
	outline-offset: 2px;
}

/* ==========================================================================
   Default Search State Components
   ========================================================================== */

.search-empty-state {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media (min-width: 991px) {
	.search-empty-state {
		display: grid;
		grid-template-columns: 2fr 3fr;
		gap: 32px; /* если нужен */
	}
}

/* Left column (queries blocks) */
.search-empty-state-left {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Right column (recommended products) */
.search-empty-state-right {
	flex: 1;
}

/* Block common styles */
.last-queries-block,
.popular-queries-block,
.recommended-products-block {
	background-color: var(--lsf-white);
}

.block-header {
	display: flex;
	gap: 8px;
	justify-content: space-start;
	align-items: center;
	margin-bottom: 12px;
}

.block-title {
	margin: 0;
	font-size: 16px;
	color: #1c2126;
	font-weight: 600;
}

.clear-button {
	background: none;
	color: #bf1b2c;
	font-size: 14px;
	cursor: pointer;
	transition: all var(--lsf-transition-fast);
}

.clear-button:hover {
	color: #a51726;
}

/* Queries lists */
.queries-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--lsf-spacing-xs);
}

.query-item {
	margin: 0;
	padding: 0;
}

.query-button {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 8px;
	background: none;
	border-radius: 8px;
	color: #1c2126;
	font-size: 16px;
	text-align: left;
	cursor: pointer;
	transition: all var(--lsf-transition-fast);
}

.query-button:hover {
	background-color: #f2f3f5;
}

.category-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 8px;
	background: none;
	border-radius: 8px;
	color: #1c2126;
	font-size: 16px;
	text-align: left;
	cursor: pointer;
	background-color: #f2f3f5;
	transition: all var(--lsf-transition-fast);
}

.category-button:hover {
	background-color: #e1e3e6;
}
.query-icon {
	color: var(--lsf-gray-400);
	font-size: var(--lsf-font-size-sm);
	width: 1rem;
}

.query-text {
	flex: 1;
}

.query-count {
	color: var(--lsf-gray-500);
	font-size: var(--lsf-font-size-sm);
}

.empty-message {
	color: var(--lsf-gray-500);
	font-size: var(--lsf-font-size-sm);
	text-align: center;
	padding: var(--lsf-spacing-md);
	margin: 0;
}

/* Recommended products grid */
.products-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 16px;
}

.products-flex {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.recommended-product-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	background-color: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 0 32px 0 rgba(40, 41, 61, 0.05);
	transition: transform var(--lsf-transition-base);
	max-height: 112px;
	padding: 8px;
}

.recommended-product-card:hover {
	background-color: #f2f3f5;
}

.product-card {
	display: flex;
	position: relative;
	align-items: center;
	gap: 12px;
	background-color: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 0 32px 0 rgba(40, 41, 61, 0.05);
	transition: transform var(--lsf-transition-base);
	max-height: 112px;
	padding: 8px;
}

.product-card:hover {
	background-color: #f2f3f5;
}

.product-image {
	width: 80px;
	height: 80px;
	background-color: #ffffff;
	overflow: hidden;
	border-radius: 8px;

	display: flex;
	align-items: center;
	justify-content: center;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain; /* вся картинка помещается */
	object-position: center;
}

.product-info {
	flex: 1; /* ВОТ ЭТО КЛЮЧ */
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.product-name {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 0;
	color: #1c2126;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-category {
	margin: 0 0 var(--lsf-spacing-xs) 0;
	font-size: var(--lsf-font-size-sm);
	color: var(--lsf-gray-500);
}

.product-price {
	font-size: 14px;
	color: #1c2126;
	font-weight: 500;
}

.old-price {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 12px;
	line-height: 12px;
	letter-spacing: 0;
	text-decoration: line-through;
	color: #5d5f61;
}

.text-success-status {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 12px;
	line-height: 100%;
	letter-spacing: 0;
	vertical-align: middle;
	color: #16a34a;
}

.text-critical-status {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 12px;
	line-height: 100%;
	letter-spacing: 0;
	vertical-align: middle;
	color: #d92d20;
}

.product-action-button {
	padding: 9px;
	background-color: #bf1b2c;
	color: #ffffff;
	border: none;
	border-radius: 999px;
	font-size: var(--lsf-font-size-sm);
	font-weight: 500;
	cursor: pointer;
	transition: background-color #a51726;
}

.product-action-button:hover {
	background-color: #a51726;
}

/* Responsive adjustments */
@media (max-width: 991px) {
	.search-modal-overlay {
		top: 0;
		max-width: 991px;
	}
	.search-empty-state {
		flex-direction: column;
	}

	.products-grid {
		grid-template-columns: 1fr;
	}
	.search-modal-overlay {
		padding: 0px;
		background-color: white;
	}
	.search-modal {
		margin: 0px;
	}

	.search-modal-form {
		margin-bottom: 0px;
	}

	.search-modal-body {
		padding: 0px 12px;
	}
	.search-results {
		padding-bottom: 12px;
	}
}

/* Animation for skeleton loading */
@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

.badge {
	position: absolute;
	bottom: 8px;
	left: 8px; /* или right: 8px */

	display: inline-flex;
	align-items: center;
	gap: 4px;

	padding: 4px 8px;
	background-color: #454647;
	border: 1px solid #f2f3f5;
	border-radius: 12px;

	font-size: 12px;
	line-height: 12px;
	font-weight: 400;
	color: #fff;

	white-space: nowrap;
	z-index: 2;
}
/* ==============================
   Open animation
   без доп. классов
   ============================== */

/* Overlay — мягкое появление */
.search-overlay {
	opacity: 0;
	/* animation: lsf-fade-overlay 180ms ease forwards; */
	animation: lsf-fade-overlay 180ms ease forwards;
}

/* Overlay fade */
@keyframes lsf-fade-overlay {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Модал — fade + micro scale */
/* .search-modal {
  animation: modal-appear 220ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: opacity, transform;
} */

/* Modal appearance */
/* @keyframes modal-appear {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
} */
