.shopify-search-autocomplete {
	position: relative;
	width: 100%;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

@media (min-width: 1024px) {
	.shopify-search-autocomplete {
		max-width: 400px;
	}
}

.shopify-search-autocomplete .autocomplete-form {
	--tw-border-opacity: 1;

	display: flex;
	align-items: center;
	padding: 0.25rem 0.5rem;
	border-width: 1px;
	border-color: rgb(128 126 163 / var(--tw-border-opacity));
	border-radius: 0.25rem;
	gap: 0.25rem;
}

.shopify-search-autocomplete .autocomplete-form input[type='search'] {
	flex: 1 1 0%;
	border-width: 0;
	outline: 2px solid transparent;
	outline-offset: 2px;
	background-color: transparent;
}

.shopify-search-autocomplete .autocomplete-form input[type='search']:focus {
	--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
	--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);

	outline: 2px solid transparent;
	outline-offset: 2px;
	box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.shopify-search-autocomplete .autocomplete-form button {
	padding: 0;
	border-width: 0;
	background-color: transparent;
	cursor: pointer;
}

.shopify-search-autocomplete .form-buttons,
.shopify-search-autocomplete .form-buttons svg {
	width: 1.25rem;
	height: 1.25rem;
}

.shopify-search-autocomplete .results-container {
	--tw-border-opacity: 1;
	--tw-bg-opacity: 1;

	position: absolute;
	top: 100%;
	left: 12px;
	z-index: 999;
	width: 100%;
	margin-top: 0.5rem;
	padding: 1rem;
	border-width: 1px;
	border-color: rgb(225 225 225 / var(--tw-border-opacity));
	background-color: rgb(255 255 255 / var(--tw-bg-opacity));
	font-family: Mulish, Helvetica, Arial, sans-serif;
	max-height: 650px;
}

@media (min-width: 1024px) {
	.shopify-search-autocomplete .results-container {
		border-radius: 0.25rem;
		max-width: 376px;
	}
}

.shopify-search-autocomplete .suggestion-title-container {
	--tw-border-opacity: 1;

	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom-width: 1px;
	border-color: rgb(225 225 225 / var(--tw-border-opacity));
}

.shopify-search-autocomplete .suggestion-header {
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	line-height: 1.25rem;
}

.shopify-search-autocomplete .suggestion-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.shopify-search-autocomplete .suggestion {
	--tw-bg-opacity: 1;

	display: flex;
	align-items: center;
	padding: 0.5rem 1.25rem;
	background-color: rgb(246 247 250 / var(--tw-bg-opacity));
	font-size: 14px;
	line-height: 20px;
	line-height: 1.25rem;
	border-radius: 0.25rem;
}

.shopify-search-autocomplete .suggestion-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.shopify-search-autocomplete .suggestion strong {
	font-weight: 700;
}

.shopify-search-autocomplete .products-results-container {
	margin-top: 1rem;
}

.shopify-search-autocomplete .product-suggestion-container {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.shopify-search-autocomplete .product-list {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.shopify-search-autocomplete .product-image-container {
	position: relative;
	overflow: hidden;
	flex: none;
	width: 100px;
	height: 100px;
	border-radius: 0.25rem;
}

.shopify-search-autocomplete .product-image {
	position: absolute;
	width: 100%;
	height: 100%;
	inset: 0;
	object-fit: cover;
	object-fit: cover;
}

.shopify-search-autocomplete .product-vendor {
	--tw-text-opacity: 1;

	font-size: 0.65rem;
	font-weight: 400;
	color: rgb(125 97 64 / var(--tw-text-opacity));
}

.shopify-search-autocomplete .product-title {
	padding-bottom: 0.5rem;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	line-height: 1.25rem;
}

.shopify-search-autocomplete .price-now {
	--tw-text-opacity: 1;

	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	line-height: 1.25rem;
	color: rgb(174 0 0 / var(--tw-text-opacity));
}

.shopify-search-autocomplete .price-old {
	--tw-text-opacity: 1;

	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	line-height: 1rem;
	color: rgb(176 176 176 / var(--tw-text-opacity));
	text-decoration-line: line-through;
}

.shopify-search-autocomplete .view-all {
	--tw-border-opacity: 1;
	--tw-bg-opacity: 1;

	position: sticky;
	bottom: 0;
	left: 0;
	width: 100%;
	margin-top: 1.5rem;
	padding-top: 2rem;
	padding-bottom: 1rem;
	border-top-width: 1px;
	border-color: rgb(225 225 225 / var(--tw-border-opacity));
	background-color: rgb(255 255 255 / var(--tw-bg-opacity));
	text-align: center;
}

.shopify-search-autocomplete .footer-button {
	--tw-bg-opacity: 1;
	--tw-text-opacity: 1;

	padding: 0.75rem 1.5rem;
	background-color: rgb(5 1 17 / var(--tw-bg-opacity));
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
	text-align: center;
	text-transform: uppercase;
	color: rgb(255 255 255 / var(--tw-text-opacity));
	border-radius: 0.25rem;
}

@media (max-width: 767px) {
	.shopify-search-autocomplete .results-container {
		border-radius: 0;
		left: 0;
		max-width: 100%;
	}
}
