/***
VLT JUIN 2025
***/

.orderby-nav {
	display: flex;
	flex-direction: column;
	width: 100%;
	font-size: 14px;
	margin: -26px 0 20px;
}

.surface-filter {
	display: flex;
	flex-direction: column;
	width: 100%;
	font-size: 14px;

	margin-bottom: 20px;
}

.orderby-nav label,
.surface-filter label {
	font-weight: 600;
	margin-bottom: 5px;
	color: #c14b31;
}

.orderby-nav select,
.surface-filter select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 0;
	padding: 16px 13px 14px 13px;
	font-weight: 600;
	line-height: 1;
	border: 2px solid #1d1d1b;
	width: 100%;
	max-width: fit-content;
	min-width: 263px;

	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="7" viewBox="0 0 12 7"><path d="M1.41 0L6 4.59 10.59 0 12 1.41 6 7.41 0 1.41z" fill="%231d1d1b"/></svg>');
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px;
}

#header .navbar > .container {
	max-width: 1300px;
	width: 100%;
}

.search-bar {
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;

	width: 100%;
	max-width: 320px;

	color: #1d1d1b;

	font-size: 14px;

	margin-top: 6px;
	z-index: 100;
}

@media (max-width: 990px) {
	.navbar-rigt {
		width: 100%;
	}

	.search-bar {
		max-width: 100%;
		margin-top: 15px;
	}
}

.search-bar-form {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;

	width: 100%;
	border: 2px solid #1d1d1b;
}

.search-bar-input {
	width: 100%;
	line-height: 1;
	font-family: "Oceania";
	font-weight: 600;
	color: #c14b31;
	font-size: 14px;
	padding: 16px 40px 14px 40px;
	border: 0;
	background-color: white;

	outline: none;
	box-shadow: none;
}

.search-bar-input::placeholder {
	color: #1d1d1b;
	opacity: 0.5;
}

.search-bar-form-icon {
	width: 20px;
	height: 20px;
	position: relative;
}

.search-bar-form-icon-search {
	margin-right: -30px;
	margin-left: 10px;
}

.search-bar-form-icon-close {
	margin-right: 10px;
	margin-left: -30px;

	cursor: pointer;

	display: none;
}

.search-bar-results {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;

	max-height: 345px;
	overflow-y: scroll;

	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	border: 2px solid #1d1d1b;
	border-top: 0;
}

.search-bar-results-inner {
	background-color: white;
	padding: 13px 16px;
}

.search-bar-results-title {
	font-size: 15px;
	font-weight: 600;
	color: #c14b31;
}

.search-bar-results-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;

	/* margin-top: 13px; */
}

.search-bar-no-results {
	font-size: 15px;
	font-weight: 600;
	color: #1d1d1b;
	margin: 6px 0 0 0;
}

.search-bar-results-list.loading {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100px;
}

.search-bar-loader {
	display: none;
	width: 30px;
	height: 30px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid #c14b31;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.search-bar-results-list.loading .search-bar-loader {
	display: block;
}

.search-bar-results-item-link {
	color: #1d1d1b;

	text-decoration: none;
}

.search-bar-results-item-link:hover {
	color: #1d1d1b;

	text-decoration: none !important;
}

.search-bar-results-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;

	width: 100%;
	color: #1d1d1b;

	position: relative;
}

.search-bar-results-item::before {
	content: "";
	background-color: #c14b31;
	position: absolute;
	top: -8px;
	left: -8px;
	width: calc(100% + 16px);
	height: calc(100% + 16px);

	z-index: 0;

	opacity: 0;
	transition: opacity 0.2s ease-in-out;
}

.search-bar-results-item:hover::before {
	opacity: 0.05;
}

.search-bar-results-item-img {
	aspect-ratio: 1;
	width: 50px;
	height: 50px;
	object-fit: cover;

	background-color: #c14b31;

	z-index: 1;
}

.search-bar-results-item-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;

	padding-left: 10px;

	z-index: 1;
}

.search-bar-results-item-content p {
	margin: 0;
}

.search-bar-results-item-content-title {
	font-size: 15px;
	font-weight: 600;
	color: #1d1d1b;
}

.search-bar-results-item-content-meta {
	font-size: 14px;
	margin-top: 3px;

	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;

	gap: 6px;
	font-weight: 600;

	margin-top: 2px;
}

.search-bar-results-item-content-surface {
	background-color: #1d1d1b;
	color: white;
	padding: 3px 4px 1px;
}

.search-bar-results-item-content-price {
	background-color: #c14b31;
	color: white;
	padding: 3px 4px 1px;
}

.search-bar-form.loading .search-bar-form-icon-search {
	display: none;
}

.search-bar-form.loading .search-bar-loader {
	display: block;
}

.navbar-rigt {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
