/* =========================================================
   BEROVIO SEARCH
   ========================================================= */

.berovio-search-section {
	width: 100%;
	padding: 82px 0;
	background: #ffffff;
}


.berovio-search-container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding-inline: 20px;
	box-sizing: border-box;
}


/* =========================================================
   HEADING
   ========================================================= */

.berovio-search-heading {
	max-width: 780px;
	margin: 0 auto 42px;
	text-align: center;
}


.berovio-search-heading h2 {
	margin: 0 0 14px;

	font-size: 40px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -1px;

	color: #111111;
}


.berovio-search-heading p {
	max-width: 720px;
	margin: 0 auto;

	font-size: 16px;
	line-height: 1.65;

	color: #686868;
}


/* =========================================================
   SEARCH BOX
   ========================================================= */

.berovio-search-box {
	width: 100%;
	box-sizing: border-box;

	padding: 34px 34px 30px;

	background: #ffffff;

	border: 1px solid #e5e7eb;
	border-radius: 16px;

	box-shadow:
		0 12px 35px rgba(0, 0, 0, 0.055);
}


/* =========================================================
   LABELS
   ========================================================= */

.berovio-search-label,
.berovio-category-heading {
	margin-bottom: 13px;

	font-size: 11px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0.8px;

	color: #737373;
}


/* =========================================================
   VEHICLE FIELDS
   ========================================================= */

.berovio-vehicle-fields {
	display: grid;

	grid-template-columns:
		repeat(4, minmax(0, 1fr));

	gap: 14px;
}


.berovio-field label {
	display: block;

	margin: 0 0 7px;

	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;

	color: #222222;
}


.berovio-field select {
	width: 100%;
	height: 52px;

	padding: 0 42px 0 15px;

	box-sizing: border-box;

	border: 1px solid #dddddd;
	border-radius: 9px;

	background-color: #ffffff;
	color: #222222;

	font-family: inherit;
	font-size: 14px;

	outline: none;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;

	cursor: pointer;
}


.berovio-field select:hover {
	border-color: #c9c9c9;
}


.berovio-field select:focus {
	border-color: #0064f8;

	box-shadow:
		0 0 0 3px rgba(0, 100, 248, 0.09);
}


.berovio-field select:disabled {
	background-color: #f7f7f7;

	color: #a1a1a1;

	cursor: not-allowed;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.berovio-search-divider {
	height: 1px;

	margin: 30px 0;

	background: #eeeeee;
}


/* =========================================================
   PART SEARCH
   ========================================================= */

/*
 * The entire row is vertically centered.
 * This keeps the input and button perfectly aligned.
 */

.berovio-search-row {
	display: flex;
	align-items: center;
	gap: 12px;

	width: 100%;
}


/* Input wrapper */

.berovio-part-search {
	position: relative;

	flex: 1 1 auto;
	min-width: 0;

	width: 100%;
}


/* =========================================================
   SEARCH INPUT
   ========================================================= */

.berovio-part-search input {
	display: block;

	width: 100%;
	height: 56px;

	box-sizing: border-box;

	padding: 0 18px 0 50px !important;

	border: 1px solid #dddddd;
	border-radius: 9px;

	background: #ffffff;

	color: #222222;

	font-family: inherit;
	font-size: 15px;
	line-height: normal;

	outline: none;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}


.berovio-part-search input::placeholder {
	color: #999999;
}


.berovio-part-search input:focus {
	border-color: #0064f8;

	box-shadow:
		0 0 0 3px rgba(0, 100, 248, 0.09);
}


/* =========================================================
   SVG SEARCH ICON
   ========================================================= */

.berovio-part-search .berovio-search-icon {
	position: absolute !important;

	left: 16px !important;
	top: 50% !important;

	width: 19px !important;
	height: 19px !important;

	margin: 0 !important;
	padding: 0 !important;

	display: block !important;

	transform: translateY(-50%) !important;

	color: #777777;

	pointer-events: none;

	z-index: 10;
}


/*
 * Prevent inline SVG baseline alignment
 * from moving the icon vertically.
 */

.berovio-part-search .berovio-search-icon svg {
	display: block !important;

	width: 100% !important;
	height: 100% !important;

	margin: 0 !important;
	padding: 0 !important;

	vertical-align: middle !important;
}


/* =========================================================
   SEARCH BUTTON
   ========================================================= */

.berovio-search-button {
	flex: 0 0 auto;

	height: 56px;

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

	margin: 0 !important;

	padding: 0 29px;

	box-sizing: border-box;

	border: 0;
	border-radius: 9px;

	background: #111111;
	color: #ffffff;

	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;

	white-space: nowrap;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}


.berovio-search-button:hover {
	background: #0064f8;

	transform: translateY(-1px);

	box-shadow:
		0 6px 16px rgba(0, 100, 248, 0.18);
}


.berovio-search-button:active {
	transform: translateY(0);
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.berovio-category-heading {
	margin-top: 28px;
	margin-bottom: 13px;
}


.berovio-categories {
	display: flex;
	flex-wrap: wrap;

	gap: 8px;
}


.berovio-categories button {
	height: 38px;

	padding: 0 16px;

	border: 1px solid #dedede;
	border-radius: 999px;

	background: #ffffff;
	color: #333333;

	font-family: inherit;
	font-size: 13px;
	font-weight: 500;

	cursor: pointer;

	transition:
		border-color 0.2s ease,
		color 0.2s ease,
		background-color 0.2s ease,
		transform 0.2s ease;
}


.berovio-categories button:hover {
	border-color: #009468;

	background: rgba(0, 148, 104, 0.045);

	color: #009468;

	transform: translateY(-1px);
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

	.berovio-search-section {
		padding: 65px 0;
	}


	.berovio-search-heading h2 {
		font-size: 34px;
	}


	.berovio-vehicle-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {

	.berovio-search-section {
		padding: 52px 0;
	}


	.berovio-search-container {
		padding-inline: 16px;
	}


	.berovio-search-heading {
		margin-bottom: 30px;
	}


	.berovio-search-heading h2 {
		font-size: 30px;
		letter-spacing: -0.6px;
	}


	.berovio-search-heading p {
		font-size: 15px;
	}


	.berovio-search-box {
		padding: 22px 18px 20px;

		border-radius: 13px;
	}


	.berovio-vehicle-fields {
		grid-template-columns: 1fr;
		gap: 12px;
	}


	.berovio-search-divider {
		margin: 25px 0;
	}


	.berovio-search-row {
		flex-direction: column;
		align-items: stretch;
	}


	.berovio-part-search {
		width: 100%;
	}


	.berovio-search-button {
		width: 100%;
	}


	.berovio-categories {
		gap: 7px;
	}

}

/* =========================================================
   BEROVIO PUBLIC HERO — FLUSH BELOW BLOCKSY HEADER
   Remove only the theme's top content spacing. Hero internal
   spacing and the page's bottom spacing remain unchanged.
   ========================================================= */
body.berovio-flush-hero .site-main > [data-vertical-spacing*="top"],
body.berovio-flush-hero .site-main > .ct-container,
body.berovio-flush-hero .site-main > .ct-container-full {
    padding-top: 0 !important;
}
