/**
 * Voytech Auto Custom Styles
 * FSE/Block Theme Custom Styles
 *
 * @package Voytech Auto
 * @since 1.0.0
 */

/**
Helper classes
*/

.bg-black {
	background-color: #000;
	color: white;
}

.full-w {
	width: 100%
}

/* ==========================================================================
   Sticky Header (CSS-only, inspired by Virtenzo)
   ========================================================================== */

/* Sticky header using native CSS position: sticky */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 1000;
}

/* ==========================================================================
   Navigation & Header
   ========================================================================== */

/* Header wrapper */
.site-header {
	width: 100%;
	border-bottom: 1px solid var(--wp--preset--color--border-light);
	margin: 0;
	padding: 0;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Scrolled state - add shadow */
header.wp-block-template-part.scrolled .site-header {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Admin bar adjustments — WP admin bar is 46px on small screens (≤782px), 32px on desktop */
body.admin-bar header.wp-block-template-part {
	top: 46px;
}

@media screen and (min-width: 783px) {
	body.admin-bar header.wp-block-template-part {
		top: 32px;
	}
}

/* ==========================================================================
   Scroll Offset Compensation for Sticky Header
   Prevents anchor links from scrolling content behind the header
   ========================================================================== */

/* Base: Mobile (≤576px) - 60px header */
html {
	scroll-padding-top: 60px;
}

/* When logged in: Add admin bar height (46px on mobile) */
body.admin-bar html {
	scroll-padding-top: 106px;
	/* 60px header + 46px admin bar */
}

/* ==========================================================================
   Navigation & Header
   ========================================================================== */

/* Header container — base: smallest mobile (≤576px) */
.site-header-inner {
	width: 100%;
	min-height: 60px;
	height: 60px;
	padding: 0 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: var(--wp--preset--spacing--small);
}

/* Logo and menu container */
.site-header-inner>.wp-block-group:first-child {
	display: flex;
	align-items: center;
	gap: 15px;
	flex: 1 1 auto;
	flex-wrap: nowrap;
	min-width: 0;
	overflow: hidden;
}

/* Logo container */
.wp-block-site-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

/* Logo sizing — base: smallest mobile */
.wp-block-site-logo img {
	max-width: 120px;
	display: block;
}

/* Navigation wrapper — base: small mobile gets extra left margin */
.wp-block-navigation {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	overflow: visible;
	margin: 0;
	margin-left: 8px;
}

.wp-block-navigation__container {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0;
	width: 100%;
	margin: 0;
}

/* Menu items styling — base: mobile spacing */
.wp-block-navigation .wp-block-navigation-item {
	margin: 0 var(--wp--preset--spacing--small);
	display: flex;
	align-items: center;
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-navigation .wp-block-navigation-item:first-child {
	margin-left: 0;
}

.wp-block-navigation .wp-block-navigation-item:last-child {
	margin-right: 0;
}

.wp-block-navigation .wp-block-navigation-item a,
.wp-block-navigation .wp-block-navigation-item__content {
	font-family: 'Raleway', sans-serif;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	line-height: 1;
	color: var(--wp--preset--color--text);
	display: flex;
	align-items: center;
	letter-spacing: 2.5px;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--primary);
}

/* Header right side elements — hidden on small mobile */
.header-right {
	margin-top: 0;
	display: none;
	align-items: center;
	font-family: 'Raleway', sans-serif;
	flex-shrink: 0;
	white-space: nowrap;
	gap: 0.75rem;
}

.header-phone {
	margin: 0;
	white-space: nowrap;
	font-family: 'Raleway', sans-serif;
	font-size: var(--wp--preset--font-size--body);
	line-height: 1;
	display: flex;
	align-items: center;
}

.header-phone strong {
	color: var(--wp--preset--color--text);
	font-weight: 600;
}

.header-languages {
	margin: 0;
	padding: 4px 8px;
	border-radius: 4px;
	color: var(--wp--preset--color--text);
	font-family: 'Raleway', sans-serif;
	font-size: var(--wp--preset--font-size--body);
	font-weight: 400;
	line-height: 1;
	display: flex;
	align-items: center;
}

.header-languages .wp-block-shortcode {
	margin: 0;
}

.header-languages br {
	display: none !important;
}

.header-languages .wpml-ls,
.header-languages .wpml-ls-legacy-list-horizontal {
	margin: 0;
	border: 0;
	padding: 0;
}

.header-languages .wpml-ls ul,
.header-languages .wpml-ls-list {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-languages .wpml-ls-item {
	margin: 0;
	padding: 0;
}

.header-languages .wpml-ls-item a,
.header-languages .wpml-ls-legacy-list-horizontal a {
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	line-height: 1;
	min-height: 0;
}

.header-languages .wpml-ls-legacy-list-horizontal a span {
	padding: 0;
}

/* Core Navigation Block Enhancements */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--white);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.wp-block-navigation .wp-block-navigation-item a {
	transition: color 0.2s ease-in-out;
}

.wp-block-navigation .wp-block-navigation-item a:hover {
	color: var(--wp--preset--color--primary);
}

/* Mobile menu toggle button */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--text);
}

.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-close:hover {
	color: var(--wp--preset--color--primary);
}

/* Replace default SVG icons with Font Awesome */
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	position: absolute !important;
}

.wp-block-navigation__responsive-container-open::before {
	content: "\2630";
	font-family: inherit;
	font-weight: 700;
	font-size: 28px;
	line-height: 1;
	display: inline-block;
	min-width: 28px;
	min-height: 28px;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wp-block-navigation__responsive-container-close::before {
	content: "\00d7";
	font-family: inherit;
	font-weight: 800;
	font-size: 34px;
	line-height: 1;
	display: inline-block;
	min-width: 34px;
	min-height: 34px;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Close button: position at top-right corner, same size/position as hamburger */
.wp-block-navigation__responsive-container-close {
	position: absolute;
	top: 0;
	right: 10px;
	height: 60px;
	width: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

/* Fix first nav item margin when overlay is open (prevent misalignment in vertical stack) */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container .wp-block-navigation-item:first-child {
	margin-left: var(--wp--preset--spacing--small);
}

/* Dropdown menu styling */
.has-child .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border-light);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.has-child .wp-block-navigation__submenu-container a {
	padding: 12px 20px;
}

.has-child .wp-block-navigation__submenu-container a:hover {
	background-color: var(--wp--preset--color--border-light);
}




/* Firefox File Input Fix */
input[type="file"] {
	-moz-appearance: initial;
	appearance: auto;
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */

footer.wp-block-template-part {
	background-color: var(--wp--preset--color--black);
	color: var(--wp--preset--color--white);
}

/* Footer headings - Eurostile */
footer.wp-block-template-part h4 {
	color: var(--wp--preset--color--white);
	font-family: 'Eurostile Extended', 'Arial', sans-serif;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 22px;
}

/* Footer text and links - Raleway */
footer.wp-block-template-part p,
footer.wp-block-template-part a {
	color: var(--wp--preset--color--white);
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--body);
	line-height: 22px;
}

footer.wp-block-template-part a:hover {
	color: var(--wp--preset--color--primary);
}

/* Simplified: removed redundant .wp-block-navigation middle selector (4 levels → 3) */
footer.wp-block-template-part .wp-block-navigation-item a,
footer.wp-block-template-part .wp-block-navigation-item__content {
	color: var(--wp--preset--color--white);
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--body);
	line-height: 22px;
}

footer.wp-block-template-part .wp-block-navigation-item a:hover,
footer.wp-block-template-part .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--primary);
}

footer.wp-block-template-part .wp-block-site-title a {
	color: var(--wp--preset--color--white);
}

/* ==========================================================================
   Page Title Header
   ========================================================================== */

/* Page title container — base: mobile padding */
.page-title-header {
	padding-top: 30px;
	padding-bottom: 30px;
}

.page-title-header .wp-block-post-title {
	margin: 0;
}

/* Featured image as background for page title */
.has-post-thumbnail .page-title-header {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

/* Optional: Add overlay for better text readability when background image is present */
.has-post-thumbnail .page-title-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 0;
}

.has-post-thumbnail .page-title-header * {
	position: relative;
	z-index: 1;
	color: var(--wp--preset--color--white);
}

/* ==========================================================================
   Voytech Header Section Pattern
   Base styling for header section with CSS variations
   ========================================================================== */

/* Base: mobile (no parallax, smaller padding) */
.voytech-header-section {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	position: relative;
	padding: var(--wp--preset--spacing--large) var(--wp--preset--spacing--medium);
}

.voytech-header-content {
	background-color: rgba(255, 255, 255, 0.9);
	color: var(--wp--preset--color--black);
	padding: var(--wp--preset--spacing--medium, 1rem);
	border-radius: 8px;
	max-width: 800px;
	margin: 0 auto;
}

.voytech-header-title {
	font-family: var(--wp--preset--font-family--eurostile-bold);
	margin-bottom: var(--wp--preset--spacing--medium, 1rem);
}

.voytech-header-text {
	line-height: 1.6;
	margin-bottom: 0;
}

/* ==========================================================================
   GenerateBlocks Button Color Override
   Force GenerateBlocks buttons to use theme colors instead of hardcoded values
   ========================================================================== */

.gb-container .gb-button,
.gb-button,
.gb-text[href] {
	background-color: var(--wp--preset--color--cta) !important;
	color: var(--wp--preset--color--white) !important;
}

.gb-container .gb-button:hover,
.gb-button:hover,
.gb-text[href]:hover {
	background-color: var(--wp--preset--color--black) !important;
	color: var(--wp--preset--color--white) !important;
}

/* ==========================================================================
   Voytech Home Hero Top Section
   Mobile-first: flexible height, responsive spacing
   ========================================================================== */

.voytech-home-hero-top {
	color: var(--wp--preset--color--white);
	min-height: 400px;
	padding: var(--wp--preset--spacing--large) var(--wp--preset--spacing--medium);
}

.voytech-home-hero-top h1,
.voytech-home-hero-top h2,
.voytech-home-hero-top h3,
.voytech-home-hero-top h4,
.voytech-home-hero-top h5,
.voytech-home-hero-top h6 {
	font-family: "Eurostile Extended Bold", Sans-serif;
	font-size: var(--wp--preset--font-size--heading-1);
	font-weight: 400;
	font-style: normal;
	line-height: 1.2;
	color: var(--wp--preset--color--white);
	background-color: #0000009C;
	margin: var(--wp--preset--spacing--large) var(--wp--preset--spacing--small) 0;
	padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--medium);
	display: inline-block;
	max-width: 100%;
}

.voytech-home-hero-top p {
	font-family: "Raleway", Sans-serif;
	font-size: var(--wp--preset--font-size--body);
	font-weight: 600;
	line-height: 1.6;
	color: var(--wp--preset--color--white);
	margin: var(--wp--preset--spacing--medium) var(--wp--preset--spacing--small);
	max-width: 100%;
}

/* ==========================================================================
   Voytech Home Hero About Us Section
   Mobile-first: flexible height, no fixed margins
   ========================================================================== */

.voytech-home-hero-about-us {
	color: var(--wp--preset--color--black);
	min-height: 300px;
	padding: var(--wp--preset--spacing--large) var(--wp--preset--spacing--medium);
}

.voytech-home-hero-about-us h1,
.voytech-home-hero-about-us h2,
.voytech-home-hero-about-us h3,
.voytech-home-hero-about-us h4,
.voytech-home-hero-about-us h5,
.voytech-home-hero-about-us h6 {
	font-size: var(--wp--preset--font-size--heading-2);
	font-weight: 400;
	color: var(--wp--preset--color--black);
	margin: var(--wp--preset--spacing--medium) 0;
}

.voytech-home-hero-about-us p {
	font-family: "Raleway", Sans-serif;
	font-size: var(--wp--preset--font-size--body);
	font-weight: 400;
	line-height: 1.6;
	color: var(--wp--preset--color--black);
	max-width: 100%;
}

/* ==========================================================================
   Home Service Sections
   ========================================================================== */

.section-services-row {
	padding-bottom: 20px;
}

/*
.section-services-row .eb-row-inner {
	display: flex;
	align-items: stretch;
} */

.section-porsche figure {
	max-width: 100%;
	margin: 20px auto;
}

.section-services {
	padding: 20px;
	padding-top: 0;
	margin: 0;
}

.section-services figure {
	width: 100%;
	overflow: hidden;
	position: relative;
	aspect-ratio: 59 / 33;
}

.section-services figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.section-services-row .wp-block-essential-blocks-column {
	gap: 6px;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px 0px;
	background: var(--wp--preset--color--white);
	padding: 20px;
	/* display: flex; */
}

.section-services-row .wp-block-essential-blocks-column.no-shadow {
	box-shadow: none;
}

/* ==========================================================================
   Request Parts section
   ========================================================================== */

.section-home-request-parts .parts-info-wrapper {
	padding: 20px;
}

.section-home-request-parts .request-parts-wrapper {
	border-radius: 10px;
	padding: 20px;
	background: white;
	margin: 0;
	margin-bottom: -100px;
	color: black;
	position: relative;
	z-index: 10;
}

.section-home-request-parts .request-parts-wrapper form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}

.section-home-request-parts .request-parts-wrapper form>p {
	flex: 1 1 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0;
}

.section-home-request-parts .request-parts-wrapper form>.full-w {
	flex: 1 1 100%;
	width: 100%;
	margin: 0;
}

.section-home-request-parts .bottom-image {
	position: relative;
	z-index: 1;
}

.section-home-request-parts .bottom-image figure {
	width: 100%;
	overflow: hidden;
	position: relative;
	margin: 0;
	padding-bottom: 50%;
	height: 0;
}

.section-home-request-parts .bottom-image figure img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.section-home-request-parts .request-parts-wrapper label {
	font-family: "Raleway", Sans-serif;
	font-size: 12px;
	font-weight: 400;
	padding-bottom: 8px;
}

.section-home-request-parts .request-parts-wrapper input[type=text],
.section-home-request-parts .request-parts-wrapper input[type=email],
.section-home-request-parts .request-parts-wrapper input[type=tel],
.section-home-request-parts .request-parts-wrapper select,
.section-home-request-parts .request-parts-wrapper textarea {
	background-color: #F8F8F8;
	border: solid 1px #D2D2D2;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 22.4px;
	width: 100%;
	max-width: 100%;
	min-height: 47px;
	padding: 12px 16px;
	border-radius: 3px;
	box-sizing: border-box;
	font-family: "Raleway", Sans-serif;
}

.section-home-request-parts .request-parts-wrapper select {
	appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 20px;
	padding-right: 40px;
	cursor: pointer;
}

.section-home-request-parts .request-parts-wrapper textarea {
	min-height: 120px;
	resize: vertical;
}

.section-home-request-parts .request-parts-wrapper input[type=submit],
.section-home-request-parts .request-parts-wrapper button[type=submit] {
	background-color: var(--wp--preset--color--cta);
	color: var(--wp--preset--color--white);
	border: none;
	padding: 12px 32px;
	font-size: 16px;
	font-weight: 600;
	font-family: "Raleway", Sans-serif;
	border-radius: 3px;
	cursor: pointer;
	min-height: 47px;
	transition: background-color 0.3s ease;
}

.section-home-request-parts .request-parts-wrapper input[type=submit]:hover,
.section-home-request-parts .request-parts-wrapper button[type=submit]:hover {
	background-color: var(--wp--preset--color--black);
}

/* ==========================================================================
   Motion Accessibility
   WCAG 2.1 AA – 2.3.3: disable transitions/animations for users who prefer
   reduced motion (vestibular disorders, seizure sensitivity).
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

	/* Header background/shadow transition */
	.site-header {
		transition: none;
	}

	/* Nav link colour transition */
	.wp-block-navigation .wp-block-navigation-item a {
		transition: none;
	}

	/* Form input border transition */
	.wpcf7-form input[type="text"],
	.wpcf7-form input[type="email"],
	.wpcf7-form input[type="tel"],
	.wpcf7-form textarea {
		transition: none;
	}

	/* Parallax background — scroll instead of fixed to avoid
	   continuous motion as the user scrolls */
	.voytech-header-section {
		background-attachment: scroll;
	}
}

/* ==========================================================================
   Responsive: Mobile/Tablet Only (max-width: 768px) — Hamburger Menu Active
   ========================================================================== */

@media screen and (max-width: 768px) {

	/* Hamburger on far right: make first group use space-between */
	.site-header-inner>.wp-block-group:first-child {
		justify-content: space-between;
		overflow: visible;
	}

	/* Navigation block shouldn't grow — just wrap the hamburger button */
	.wp-block-navigation {
		flex: 0 0 auto;
	}

	/* Logo visibility fix: lift logo above overlay when menu is open */
	.wp-block-group:has(.wp-block-navigation__responsive-container.is-menu-open) .wp-block-site-logo {
		position: fixed;
		top: 0;
		left: 10px;
		height: 60px;
		display: flex;
		align-items: center;
		z-index: 100001;
	}
}

/* Logo height adjustment for 577px-768px range */
@media screen and (min-width: 577px) and (max-width: 768px) {
	.wp-block-group:has(.wp-block-navigation__responsive-container.is-menu-open) .wp-block-site-logo {
		height: 70px;
	}
}

/* ==========================================================================
   Responsive: Small Mobile+ (min-width: 577px)
   ========================================================================== */

@media screen and (min-width: 577px) {

	/* Scroll offset: Small Mobile+ (70px header) */
	html {
		scroll-padding-top: 70px;
	}

	body.admin-bar html {
		scroll-padding-top: 116px;
		/* 70px header + 46px admin bar */
	}

	/* Taller header from 577px up */
	.site-header-inner {
		min-height: 70px;
		height: 70px;
	}

	/* Larger logo */
	.wp-block-site-logo img {
		max-width: 150px;
	}

	/* Remove extra left margin on navigation */
	.wp-block-navigation {
		margin-left: 0;
	}

	/* Normal font size for nav links */
	.wp-block-navigation .wp-block-navigation-item a,
	.wp-block-navigation .wp-block-navigation-item__content {
		font-size: var(--wp--preset--font-size--body);
	}

	/* Close button height adjustment for taller header */
	.wp-block-navigation__responsive-container-close {
		height: 70px;
	}
}

@media screen and (max-width: 992px) {
	.site-header-inner:has(.wp-block-navigation__responsive-container.is-menu-open) .header-right {
		display: flex;
		position: fixed;
		left: 50%;
		bottom: 24px;
		transform: translateX(-50%);
		z-index: 100001;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		text-align: center;
	}

	.site-header-inner:has(.wp-block-navigation__responsive-container.is-menu-open) .header-phone {
		font-size: var(--wp--preset--font-size--body);
	}

	.site-header-inner:has(.wp-block-navigation__responsive-container.is-menu-open) .header-languages {
		padding: 0;
		background: transparent;
	}
}

/* ==========================================================================
   Responsive: Tablet+ (min-width: 769px)
   ========================================================================== */

@media screen and (min-width: 769px) {

	/* Scroll offset: Tablet+ (80px header) */
	html {
		scroll-padding-top: 80px;
	}

	body.admin-bar html {
		scroll-padding-top: 112px;
		/* 80px header + 32px admin bar (desktop) */
	}

	/* Full-height header */
	.site-header-inner {
		min-height: 80px;
		height: 80px;
		padding: 0 15px;
		gap: 0.75rem;
	}

	/* Wider logo-to-menu gap */
	.site-header-inner>.wp-block-group:first-child {
		gap: 20px;
	}

	/* Larger logo */
	.wp-block-site-logo img {
		max-width: 180px;
	}

	/* Wider menu item spacing */
	.wp-block-navigation .wp-block-navigation-item {
		margin: 0 10px;
	}

	/* Compact header-right spacing */
	.header-right {
		gap: var(--wp--preset--spacing--medium);
	}

	.header-languages {
		padding: 6px 12px;
	}

	/* Close button adjustments for tablet header */
	.wp-block-navigation__responsive-container-close {
		height: 80px;
		right: 15px;
	}

	/* More padding on page title header */
	.page-title-header {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	/* Parallax enabled on tablet+ */
	.voytech-header-section {
		background-attachment: fixed;
		padding: var(--wp--preset--spacing--x-large) var(--wp--preset--spacing--large);
	}

	.voytech-header-content {
		padding: var(--wp--preset--spacing--large, 2rem);
	}
}

/* ==========================================================================
   Responsive: Desktop (min-width: 993px)
   ========================================================================== */

@media screen and (min-width: 993px) {

	/* Full desktop header */
	.site-header-inner {
		padding: 0 20px;
		gap: var(--wp--preset--spacing--medium);
	}

	/* Full logo size */
	.wp-block-site-logo img {
		max-width: 215px;
	}

	/* Full menu item spacing */
	.wp-block-navigation .wp-block-navigation-item {
		margin: 0 15px;
	}

	.wp-block-navigation .wp-block-navigation-item:first-child {
		margin-left: 50px;
	}

	/* Full header-right spacing */
	.header-right {
		display: flex;
		gap: 1.5rem;
		font-size: var(--wp--preset--font-size--medium);
	}

	.header-phone {
		font-size: var(--wp--preset--font-size--medium);
	}

	.header-languages {
		padding: 4px 8px;
		font-size: var(--wp--preset--font-size--medium);
	}

	/* Desktop hero sections */
	.voytech-home-hero-top {
		min-height: 680px;
	}

	.voytech-home-hero-top h1,
	.voytech-home-hero-top h2,
	.voytech-home-hero-top h3,
	.voytech-home-hero-top h4,
	.voytech-home-hero-top h5,
	.voytech-home-hero-top h6 {
		margin: 129px 0 0 40px;
		padding: 5px 0 0 15px;
		line-height: 60px;
		width: 75%;
	}

	.voytech-home-hero-top p {
		margin-left: 40px;
		max-width: 415px;
	}

	.voytech-home-hero-about-us {
		min-height: 650px;
	}

	.voytech-home-hero-about-us h1,
	.voytech-home-hero-about-us h2,
	.voytech-home-hero-about-us h3,
	.voytech-home-hero-about-us h4,
	.voytech-home-hero-about-us h5,
	.voytech-home-hero-about-us h6 {
		margin-left: 40px;
		margin-top: 25px;
	}

	.voytech-home-hero-about-us p {
		max-width: 630px;
		margin-left: 40px;
		line-height: 26px;
	}

	/* Services section - desktop padding */
	.section-services {
		padding: 20px;
	}

	/* Request parts section - desktop spacing */
	.section-home-request-parts .parts-info-wrapper {
		padding: 50px;
	}

	.section-home-request-parts .request-parts-wrapper {
		padding: 30px;
		margin: 30px;
		margin-bottom: -200px;
	}

	.section-home-request-parts .request-parts-wrapper form>p {
		flex: 1 1 calc(50% - 10px) !important;
		width: auto !important;
		max-width: calc(50% - 10px) !important;
	}
}

/* ==========================================================================
   WooCommerce Mobile-First Styles
   ========================================================================== */

/* Shop container with sidebar */
.shop-container {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--medium);
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--wp--preset--spacing--medium);
}

/* Shop sidebar */
.shop-sidebar {
	width: 100%;
	margin-bottom: var(--wp--preset--spacing--medium);
}

.shop-sidebar-inner {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 4px;
	padding: var(--wp--preset--spacing--medium);
}

.shop-main-content {
	flex: 1;
	min-width: 0;
}

/* Sidebar widgets */
.shop-sidebar .widget {
	margin-bottom: var(--wp--preset--spacing--large);
	padding-bottom: var(--wp--preset--spacing--large);
	border-bottom: 1px solid var(--wp--preset--color--border-light);
}

.shop-sidebar .widget:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.shop-sidebar .widget-title {
	font-family: 'Eurostile Extended', 'Arial', sans-serif;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 400;
	color: var(--wp--preset--color--black);
	margin-bottom: var(--wp--preset--spacing--medium);
	padding-bottom: var(--wp--preset--spacing--small);
	border-bottom: 2px solid var(--wp--preset--color--primary);
}

/* Product categories list */
.shop-sidebar .product-categories {
	list-style: none;
	margin: 0;
	padding: 0;
}

.shop-sidebar .product-categories li {
	margin-bottom: var(--wp--preset--spacing--small);
}

.shop-sidebar .product-categories a {
	font-family: 'Raleway', sans-serif;
	font-size: var(--wp--preset--font-size--body);
	color: var(--wp--preset--color--text);
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	transition: color 0.2s ease;
}

.shop-sidebar .product-categories a:hover {
	color: var(--wp--preset--color--primary);
}

.shop-sidebar .product-categories .count {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text);
	opacity: 0.7;
}

.shop-sidebar .product-categories .children {
	margin-left: var(--wp--preset--spacing--medium);
	margin-top: var(--wp--preset--spacing--small);
}

/* Price filter */
.price-filter-inputs {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--small);
	margin-bottom: var(--wp--preset--spacing--medium);
}

.price-filter-inputs input[type="number"] {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid var(--wp--preset--color--input-border);
	border-radius: 4px;
	font-family: 'Raleway', sans-serif;
	font-size: var(--wp--preset--font-size--body);
}

.price-filter-inputs .price-separator {
	color: var(--wp--preset--color--text);
	font-weight: 600;
}

/* Attribute filters */
.attribute-filter-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.attribute-filter-list li {
	margin-bottom: var(--wp--preset--spacing--small);
}

.attribute-filter-list label {
	font-family: 'Raleway', sans-serif;
	font-size: var(--wp--preset--font-size--body);
	color: var(--wp--preset--color--text);
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--small);
	cursor: pointer;
	padding: 6px 0;
}

.attribute-filter-list input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.attribute-filter-list .count {
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.7;
	margin-left: auto;
}

/* Filter buttons */
.shop-sidebar .button {
	width: 100%;
	padding: 12px 20px;
	background-color: var(--wp--preset--color--cta);
	color: var(--wp--preset--color--white);
	border: none;
	border-radius: 4px;
	font-family: 'Raleway', sans-serif;
	font-size: var(--wp--preset--font-size--body);
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
	text-align: center;
	text-decoration: none;
	display: inline-block;
}

.shop-sidebar .button:hover {
	background-color: var(--wp--preset--color--black);
}

.shop-sidebar .button-reset {
	background-color: transparent;
	color: var(--wp--preset--color--text);
	border: 1px solid var(--wp--preset--color--border-light);
}

.shop-sidebar .button-reset:hover {
	background-color: var(--wp--preset--color--border-light);
	color: var(--wp--preset--color--black);
}

/* Product categories */
.wp-block-woocommerce-product-categories .wc-block-product-categories-list {
	list-style: none;
	padding: 5px;
	margin: 0;
	text-transform: uppercase;
}

.wp-block-woocommerce-product-categories .wc-block-product-categories-list li a {
	text-decoration: none;
}

.wp-block-woocommerce-product-categories .wc-block-product-categories-list li a:hover {
	color: var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--border-light);
}

.wp-block-woocommerce-product-categories .wc-block-product-categories-list li.current-cat>a,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list li.current-cat-parent>a {
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--primary);
	font-weight: 600;
}

.wp-block-woocommerce-product-categories .wc-block-product-categories-list li.current-cat>a:hover,
.wp-block-woocommerce-product-categories .wc-block-product-categories-list li.current-cat-parent>a:hover {
	background-color: var(--wp--preset--color--black);
}

/* Catalog Sorting Dropdown - style like form selects */
.wc-block-catalog-sorting .orderby,
.woocommerce-ordering .orderby {
	appearance: none;
	background-color: #F8F8F8;
	border: solid 1px #D2D2D2;
	font-size: 16px;
	font-weight: 400;
	line-height: 22.4px;
	width: 100%;
	min-height: 47px;
	padding: 12px 40px 12px 16px;
	border-radius: 3px;
	box-sizing: border-box;
	font-family: "Raleway", Sans-serif;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 20px;
	cursor: pointer;
}

.wc-block-catalog-sorting .orderby:focus,
.woocommerce-ordering .orderby:focus {
	outline: none;
	border-color: #A62828;
}

/* Products block container on static pages */
.wp-block-woocommerce-product-collection {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--wp--preset--spacing--medium);
	padding-right: var(--wp--preset--spacing--medium);
}

/* Product Collection - List View Style */
.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 4px;
	align-items: start;
	transition: box-shadow 0.2s ease;
	margin-bottom: 4px;
}

.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wc-block-components-product-image {
	margin: 0;
	grid-column: 1;
	grid-row: 1 / -1;
	width: 80px;
	height: 80px;
}

.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wc-block-components-product-image img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
}

.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wp-block-post-title {
	margin: 0 0 0.25rem 0;
	text-align: left !important;
	font-size: 1rem;
	line-height: 1.3;
	font-family: 'Raleway', sans-serif;
	grid-column: 2;
}

.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wp-block-woocommerce-product-price {
	margin: 0 0 0.5rem 0;
	text-align: left !important;
	font-size: 1rem;
	font-weight: 600;
	grid-column: 2;
}

.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wp-block-woocommerce-product-button {
	margin: 0;
	text-align: left !important;
	grid-column: 2;
}

.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wp-block-button__link,
.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .add_to_cart_button {
	width: auto;
	display: inline-block;
	padding: 8px 16px;
	font-size: 0.875rem;
}

@media screen and (min-width: 577px) {
	.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product {
		grid-template-columns: 80px 1fr auto;
		gap: 16px;
		padding: 12px 16px;
	}

	.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wp-block-post-title {
		font-size: 1.125rem;
	}

	.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wp-block-woocommerce-product-price {
		grid-column: 3;
		grid-row: 1;
		text-align: right !important;
		margin: 0;
	}

	.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wp-block-woocommerce-product-button {
		grid-column: 2 / -1;
		grid-row: 2;
	}
}

@media screen and (min-width: 993px) {
	.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product {
		grid-template-columns: 80px 1fr 150px 140px;
		align-items: center;
		padding: 10px 16px;
	}

	.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wp-block-post-title {
		grid-column: 2;
		grid-row: 1;
		margin: 0;
	}

	.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wp-block-woocommerce-product-price {
		grid-column: 3;
		grid-row: 1;
		text-align: center !important;
	}

	.wp-block-woocommerce-product-collection.is-style-list-view li.wc-block-product .wp-block-woocommerce-product-button {
		grid-column: 4;
		grid-row: 1;
		text-align: right !important;
	}
}

/* Product grid: 1 column on mobile */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--medium);
}

/* Custom Product Catalog - One Product Per Row */
.product-catalog-custom li.wc-block-product {
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 8px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	transition: box-shadow 0.3s ease;
	background-color: var(--wp--preset--color--white);
}

.product-catalog-custom li.wc-block-product:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-catalog-custom .wp-block-post-title {
	font-family: 'Raleway', sans-serif !important;
	font-size: 1.5rem !important;
	line-height: 1.4 !important;
	font-weight: 600 !important;
	color: var(--wp--preset--color--black);
	margin-bottom: 1rem !important;
}

.product-catalog-custom .wp-block-post-title a {
	text-decoration: none;
	color: inherit;
	transition: color 0.2s ease;
}

.product-catalog-custom .wp-block-post-title a:hover {
	color: var(--wp--preset--color--primary);
}

.product-catalog-custom .wp-block-woocommerce-product-price {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	color: var(--wp--preset--color--cta);
	margin-bottom: 1rem !important;
}

.product-catalog-custom .wp-block-woocommerce-product-button .wp-block-button__link,
.product-catalog-custom .wp-block-woocommerce-product-button .add_to_cart_button {
	background-color: var(--wp--preset--color--cta);
	color: var(--wp--preset--color--white);
	padding: 0.75rem 2rem;
	border-radius: 4px;
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.3s ease;
	border: none;
	width: auto;
	height: auto;
}

.product-catalog-custom .wp-block-woocommerce-product-button .wp-block-button__link:hover,
.product-catalog-custom .wp-block-woocommerce-product-button .add_to_cart_button:hover {
	background-color: var(--wp--preset--color--black);
}

.product-catalog-custom .wc-block-components-product-image {
	margin: 0;
}

.product-catalog-custom .wc-block-components-product-image img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	object-fit: cover;
}

/* Product images responsive */
.woocommerce ul.products li.product img {
	width: 100%;
	height: auto;
}

/* Single product: stack on mobile */
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: 100%;
	float: none;
	margin-bottom: var(--wp--preset--spacing--medium);
}

/* Cart: hide thumbnails on mobile */
.woocommerce-cart table.cart td.product-thumbnail {
	display: none;
}

/* Buttons: full-width on mobile */
.woocommerce .button,
.woocommerce button.button {
	width: 100%;
	min-height: 44px;
}

/* Scale up for small tablets */
@media screen and (min-width: 577px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
	}

	.woocommerce .button,
	.woocommerce button.button {
		width: auto;
	}
}

/* Scale up for desktop */
@media screen and (min-width: 993px) {
	.shop-container {
		flex-direction: row;
		align-items: flex-start;
	}

	.shop-sidebar {
		width: 280px;
		flex-shrink: 0;
		margin-bottom: 0;
		position: sticky;
		top: 100px;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(3, 1fr);
	}

	.woocommerce div.product div.images,
	.woocommerce div.product div.summary {
		width: 48%;
		float: left;
	}

	.woocommerce div.product div.summary {
		float: right;
	}

	.woocommerce-cart table.cart td.product-thumbnail {
		display: table-cell;
	}
}


/* ==========================================================================
   Single Product Page
   ========================================================================== */

/* Constrain WooCommerce alignwide blocks to content size (1240px) on single product pages.
   WooCommerce auto-applies alignwide to breadcrumbs, product-details, and related products,
   which would otherwise use wideSize (1440px). */
body.single-product main.wp-block-group>.alignwide {
	max-width: var(--wp--style--global--content-size) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Related Products Section - Only on Single Product Pages */
body.single-product .wp-block-woocommerce-product-collection .wp-block-heading {
	font-size: var(--wp--preset--font-size--x-large) !important;
	margin-top: 3rem !important;
	margin-bottom: 2rem !important;
}

/* Related Products - Equal Height Cards - Only on Single Product Pages */
body.single-product .wp-block-woocommerce-product-collection .wp-block-post-template,
body.single-product .wp-block-woocommerce-product-collection .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	grid-auto-rows: 1fr !important;
	gap: 1rem !important;
}

/* Tablet: 4 columns */
@media screen and (min-width: 768px) {

	body.single-product .wp-block-woocommerce-product-collection .wp-block-post-template,
	body.single-product .wp-block-woocommerce-product-collection .wc-block-product-template {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

/* Desktop: 5 columns */
@media screen and (min-width: 992px) {

	body.single-product .wp-block-woocommerce-product-collection .wp-block-post-template,
	body.single-product .wp-block-woocommerce-product-collection .wc-block-product-template {
		grid-template-columns: repeat(5, 1fr) !important;
	}
}

body.single-product .wp-block-woocommerce-product-collection .wc-block-product,
body.single-product .wp-block-woocommerce-product-collection .wp-block-post-template>li {
	display: flex !important;
	flex-direction: column !important;
	height: 100%;
	width: auto !important;
}

/* Related Products - Product Title with Raleway Font - Only on Single Product Pages */
body.single-product .wp-block-woocommerce-product-collection .wp-block-post-title {
	font-family: var(--wp--preset--font-family--raleway);
	font-weight: bold;
	color: #000;
	flex-grow: 1 !important;
	flex-shrink: 0 !important;
	display: block;
	text-align: center;
}

/* Related Products - Product Price - Only on Single Product Pages */
body.single-product .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price {
	flex-shrink: 0 !important;
}

/* Related Products - Product Button - Only on Single Product Pages */
body.single-product .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button,
body.single-product .wp-block-woocommerce-product-collection .wp-block-button {
	flex-shrink: 0 !important;
}

/* Hide auto-generated "Description" h2 inside WooCommerce tab panel */
.woocommerce-Tabs-panel--description>h2:first-child {
	display: none;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.woocommerce-breadcrumb a {
	text-decoration: none;
}

/* Car Compatibility Block */
.product-compatibility {
	margin-bottom: 2rem;
}

.product-compatibility__title {
	margin: 0 0 1rem;
	font-size: var(--wp--preset--font-size--large);
}

.product-compatibility__cars {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-start;
}

.product-compatibility__car {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	text-align: center;
}

.product-compatibility__car-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-start;
}

.woocommerce .product-compatibility__car {
	max-width: 120px;
	display: inline-block;
	flex-direction: column;
	align-items: center;
	width: auto;
}

.woocommerce img.product-compatibility__car-image {
	width: 100%;
	border: 1px solid var(--wp--preset--color--border-dark);
	object-fit: contain;
}

.product-compatibility__car-name {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.3;
}

/* ==========================================================================
   Shop Navigation Bar (WooCommerce pages only)
   ========================================================================== */

/* Shop bar wrapper - white background, no border */
.shop-bar {
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: var(--wp--preset--color--white);
}

/* Shop bar inner container - constrained to 1240px, flex layout */
.shop-bar-inner {
	width: 100%;
	min-height: 60px;
	height: 60px;
	padding: 0 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: var(--wp--preset--spacing--small);
}

/* Left section - model selector and search */
.shop-bar-left {
	display: flex;
	align-items: center;
	gap: 15px;
	flex: 1 1 auto;
	flex-wrap: nowrap;
	min-width: 0;
}

/* Right section - account and cart */
.shop-bar-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 15px;
	flex-shrink: 0;
}

/* Car model selector in shop bar - keep compact, don't expand */
.shop-bar .car-model-selector {
	flex: 0 0 auto;
	width: auto;
}

/* Model selector button - outlined style with car icon */
.model-selector-button .wp-block-button__link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0.5rem 1rem;
	border: 2px solid var(--wp--preset--color--primary);
	background-color: transparent;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--raleway);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.model-selector-button .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.model-selector-button .wp-block-button__link i.fa {
	font-size: 1.1em;
}

/* WooCommerce Product Search styling */
.shop-bar .wp-block-woocommerce-product-search {
	flex: 1 1 auto;
	max-width: 100%;
	min-width: 250px;
	margin: 0;
}

/* Make the form itself a flex row so label + fields sit inline */
.shop-bar .wp-block-woocommerce-product-search form {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.shop-bar .wc-block-product-search__label {
	display: inline-block;
	flex-shrink: 0;
	margin: 0;
	white-space: nowrap;
	font-family: var(--wp--preset--font-family--raleway);
	font-size: 16px;
	font-weight: 400;
	color: var(--wp--preset--color--text);
}

.shop-bar .wc-block-product-search__fields {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
}

.shop-bar .wc-block-product-search__field {
	flex: 1 1 auto;
	padding: 12px 16px;
	border: 1px solid #D2D2D2;
	border-radius: 3px;
	font-family: var(--wp--preset--font-family--raleway);
	font-size: 16px;
	font-weight: 400;
	line-height: 22.4px;
	background-color: #F8F8F8;
	min-height: 47px;
	box-sizing: border-box;
}

.shop-bar .wc-block-product-search__field:focus {
	outline: none;
	border-color: #A62828;
}

.shop-bar .wp-block-woocommerce-product-search .wc-block-product-search__button {
	padding: 12px 16px;
	min-width: 47px;
	min-height: 47px;
	background-color: var(--wp--preset--color--cta);
	color: var(--wp--preset--color--white);
	border: none;
	border-radius: 3px;
	font-family: var(--wp--preset--font-family--raleway);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	box-sizing: border-box;
}

.shop-bar .wp-block-woocommerce-product-search .wc-block-product-search__button::before {
	content: "";
	width: 20px;
	height: 20px;
	display: block;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.35-4.35"></path></svg>');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.shop-bar .wp-block-woocommerce-product-search .wc-block-product-search__button svg {
	display: none;
}

.shop-bar .wp-block-woocommerce-product-search .wc-block-product-search__button:hover {
	background-color: var(--wp--preset--color--black);
}

/* Customer Account block styling */
.shop-bar .wp-block-woocommerce-customer-account {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shop-bar .wp-block-woocommerce-customer-account a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	line-height: 1;
	color: var(--wp--preset--color--text);
	transition: color 0.3s ease;
}

.shop-bar .wp-block-woocommerce-customer-account a:hover {
	color: var(--wp--preset--color--primary);
}

.shop-bar .wp-block-woocommerce-customer-account svg,
.shop-bar .wc-block-customer-account__account-icon {
	width: 32px;
	height: 32px;
	font-size: 32px;
}

/* Mini Cart block styling */
.shop-bar .wp-block-woocommerce-mini-cart {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shop-bar .wc-block-mini-cart__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: none;
	border: none;
	line-height: 1;
	cursor: pointer;
	color: var(--wp--preset--color--text);
	transition: color 0.3s ease;
}

.shop-bar .wc-block-mini-cart__button:hover {
	color: var(--wp--preset--color--primary);
}

.shop-bar .wc-block-mini-cart__icon,
.shop-bar .wp-block-woocommerce-mini-cart svg {
	width: 32px;
	height: 32px;
}

/* Responsive adjustments */
@media screen and (max-width: 576px) {
	.shop-bar-inner {
		flex-wrap: wrap;
		height: auto;
		min-height: auto;
		padding: 10px;
		gap: 10px;
	}

	.shop-bar-left {
		width: 100%;
		flex-wrap: wrap;
		gap: 10px;
	}

	.shop-bar-right {
		width: 100%;
		justify-content: flex-end;
	}

	.model-selector-button .wp-block-button__link {
		padding: 0.4rem 0.8rem;
		font-size: var(--wp--preset--font-size--body);
	}

	.shop-bar .wp-block-woocommerce-product-search {
		max-width: 100%;
		width: 100%;
	}

	.shop-bar .wc-block-product-search__label {
		display: none;
	}
}

@media screen and (min-width: 577px) {
	.shop-bar-inner {
		min-height: 70px;
		height: 70px;
	}
}

@media screen and (min-width: 769px) {
	.shop-bar-inner {
		min-height: 80px;
		height: 80px;
		padding: 0 15px;
	}

	.shop-bar-left {
		gap: 20px;
	}

	.shop-bar-right {
		gap: 20px;
	}
}

@media screen and (min-width: 993px) {
	.shop-bar-inner {
		padding: 0 20px;
		gap: var(--wp--preset--spacing--medium);
	}
}

.shop-bar .car-model-selector {
	position: relative;
}

.shop-bar .car-model-selector__panel {
	position: fixed;
	top: auto;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 999;
}

.shop-bar .car-model-selector__panel-inner {
	max-width: 1240px;
	margin: 0 auto;
	justify-content: center;
}

/* Request Parts Form - CF7 Styling */
.request-parts-section .wpcf7-form p {
	margin-bottom: 1rem;
}

.request-parts-section .wpcf7-form label {
	font-family: 'Raleway', sans-serif;
	font-weight: 500;
	color: #333333;
	display: block;
	margin-bottom: 0.5rem;
}

.request-parts-section .wpcf7-form input[type="text"],
.request-parts-section .wpcf7-form input[type="email"],
.request-parts-section .wpcf7-form input[type="tel"],
.request-parts-section .wpcf7-form select,
.request-parts-section .wpcf7-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	background-color: #F8F8F8;
	border: 1px solid #666666;
	border-radius: 4px;
	font-family: 'Raleway', sans-serif;
	font-size: 1rem;
	transition: border-color 0.2s ease;
}

.request-parts-section .wpcf7-form input:focus,
.request-parts-section .wpcf7-form select:focus,
.request-parts-section .wpcf7-form textarea:focus {
	outline: none;
	border-color: #A62828;
}

.request-parts-section .wpcf7-form input[type="submit"] {
	background-color: #BC1818;
	color: #ffffff;
	padding: 1rem 2rem;
	border: none;
	border-radius: 4px;
	font-family: 'Eurostile Extended Bold', sans-serif;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.request-parts-section .wpcf7-form input[type="submit"]:hover {
	background-color: #A62828;
}

.request-parts-section .wpcf7-response-output {
	margin-top: 1rem;
	padding: 1rem;
	border-radius: 4px;
}

.request-parts-section .wpcf7-mail-sent-ok {
	background-color: #d4edda;
	border-color: #28a745;
	color: #155724;
}

.request-parts-section .wpcf7-validation-errors {
	background-color: #f8d7da;
	border-color: #dc3545;
	color: #721c24;
}

/* General Contact Form 7 Styling */
.wpcf7-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}

.wpcf7-form p {
	flex: 1 1 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0;
}

.wpcf7-form label {
	font-family: "Raleway", Sans-serif;
	font-size: 12px;
	font-weight: 400;
	padding-bottom: 8px;
	display: block;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
	background-color: #F8F8F8;
	border: solid 1px #D2D2D2;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 22.4px;
	width: 100%;
	max-width: 100%;
	min-height: 47px;
	padding: 12px 16px;
	border-radius: 3px;
	box-sizing: border-box;
	font-family: "Raleway", Sans-serif;
}

.wpcf7-form select {
	appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 20px;
	padding-right: 40px;
	cursor: pointer;
}

.wpcf7-form textarea {
	min-height: 120px;
	resize: vertical;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: #A62828;
}

.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
	background-color: var(--wp--preset--color--cta);
	color: var(--wp--preset--color--white);
	border: none;
	padding: 12px 32px;
	font-size: 16px;
	font-weight: 600;
	font-family: "Raleway", Sans-serif;
	border-radius: 3px;
	cursor: pointer;
	min-height: 47px;
	transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
	background-color: var(--wp--preset--color--black);
}

.wpcf7-response-output {
	margin-top: 1rem;
	padding: 1rem;
	border-radius: 3px;
	font-family: 'Raleway', sans-serif;
}

.wpcf7-mail-sent-ok {
	background-color: #d4edda;
	border: 1px solid #28a745;
	color: #155724;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
	background-color: #f8d7da;
	border: 1px solid #dc3545;
	color: #721c24;
}

.wpcf7-not-valid-tip {
	color: #dc3545;
	font-size: 12px;
	margin-top: 0.25rem;
	display: block;
}

.wpcf7-form .wpcf7-spinner {
	margin-left: 1rem;
}

/* Checkbox and Radio Styling */
.wpcf7-form .wpcf7-list-item {
	margin: 0 0 0.5rem 0;
}

.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
	width: auto;
	margin-right: 0.5rem;
}

.wpcf7-form .wpcf7-list-item-label {
	display: inline;
	margin-left: 0.25rem;
}

/* ==========================================================================
   Product Listing Tile (Archive/Search/Category Pages)
   Mobile-first layout following Porsche parts specification
   ========================================================================== */

.product-detail {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.product-detail__main {
	display: flex;
	flex-direction: column;
}

.product-detail__image {
	margin: 0;
}

.product-detail__image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 4/3;
}

.product-detail__separator {
	height: 1px;
	background: #E5E5E5;
	margin: 12px 0;
}

.product-detail__info {
	display: flex;
	flex-direction: column;
	margin-top: 16px;
}

.product-detail__action {
	margin-top: 16px;
}

/* ----- Badge ----- */

.product-detail__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	margin-bottom: 12px;
	align-self: flex-start;
	/* prevents full-width stretch */
}

.product-detail__badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	display: inline-block;
	flex-shrink: 0;
}

/* Badge states */
.product-detail__badge--fast {
	background: #E6F5EA;
	color: #1A7A34;
	border: 1px solid #B8E0C4;
}

.product-detail__badge--fast .product-detail__badge-dot {
	background: #1A7A34;
}

.product-detail__badge--delayed {
	background: #FFF7E0;
	color: #8A6A00;
	border: 1px solid #F0DFA0;
}

.product-detail__badge--delayed .product-detail__badge-dot {
	background: #8A6A00;
}

.product-detail__badge--out-of-stock {
	background: #FDEDED;
	color: #9A2020;
	border: 1px solid #F0C0C0;
}

.product-detail__badge--out-of-stock .product-detail__badge-dot {
	background: #9A2020;
}

/* ----- Title ----- */

.product-detail__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #1A1A1A;
	margin: 0 0 8px;
}

/* ----- Price row ----- */

.product-detail__price-row {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 16px;
}

.product-detail__price {
	font-size: 22px;
	font-weight: 700;
	color: #1A1A1A;
	line-height: 1;
}

/* ----- Meta (SKU + OEM) ----- */

.product-detail__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}

.product-detail__meta-item {
	display: flex;
	gap: 16px;
}

.product-detail__meta-label {
	font-size: 13px;
	font-weight: 400;
	color: #6B6B6B;
	min-width: 60px;
}

.product-detail__meta-value {
	font-size: 13px;
	font-weight: 500;
	color: #1A1A1A;
	margin: 0;
}

/* ----- Compatibility ----- */

.product-detail__compat {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 20px;
}

.product-detail__compat-heading {
	font-size: 13px;
	font-weight: 600;
	color: #6B6B6B;
}

.product-detail__compat-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.product-detail__compat-pill {
	font-size: 12px;
	font-weight: 500;
	color: #3A3A3A;
	background: #F3F3F3;
	padding: 4px 10px;
	border-radius: 3px;
}

/* ----- Add to cart ----- */

.product-detail__cart-btn {
	display: block;
	width: 100%;
	padding: 14px 32px;
	background: #D5001C;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.product-detail__cart-btn:hover {
	background: #B8001A;
}

/* Desktop overrides */
@media (min-width: 768px) {
	.product-detail {
		padding: 24px;
	}

	.product-detail__main {
		flex-direction: row;
	}

	.product-detail__title {
		font-size: 24px;
		margin-bottom: 4px;
	}

	.product-detail__price {
		font-size: 26px;
	}

	.product-detail__price-row {
		flex-direction: row;
		align-items: flex-start;
		gap: 24px;
		margin-bottom: 0;
	}

	.product-detail__meta {
		margin-left: auto;
	}

	.product-detail__action {
		display: flex;
		justify-content: flex-end;
		margin-top: 16px;
	}

	.product-detail__cart-btn {
		width: auto;
		max-width: 280px;
	}

	.wp-block-button.wc-block-components-product-button.product-detail__action {
		align-items: end;
	}
}

.wpcf7-file {
	display: block;
	padding: 20px;
	border: 2px dashed #ccc;
	text-align: center;
	cursor: pointer;
}

.footer-maps-frame {
	border: none;
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
}

@media screen and (min-width: 993px) {
	.footer-maps-frame {
		max-width: 1240px;
		aspect-ratio: auto;
		height: 414px;
	}
}

/* ==========================================================================
   Cars (CPT archive + single)
   ========================================================================== */

.car-archive__filters {
	min-height: 1px;
}

.car-archive .wp-block-post-template {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.car-tile {
	border: 1px solid #ececec;
	background: #fff;
}

.car-tile__image {
	margin: 0;
}

.car-tile__image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 4/3;
}

.car-tile__meta {
	margin-top: 12px;
}

.car-tile__meta-label {
	min-width: 170px;
}

.car-tile__action {
	width: 100%;
}

.car-tile__button {
	text-decoration: none;
}

.car-single__title-price {
	padding-bottom: 1rem;
	border-bottom: 1px solid #ececec;
}

.car-single__title {
	line-height: 1.2;
}

.car-single__price {
	margin: 0;
	font-size: clamp(1.6rem, 2.5vw, 2rem);
	font-weight: 700;
	color: #1a1a1a;
}

.car-single__gallery-wrap {
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #ececec;
}

.car-single__hero {
	margin: 0;
	border: 1px solid #ececec;
	background: #fff;
}

.car-single__hero-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	aspect-ratio: 4/3;
}

.car-single__section {
	padding-top: 0.25rem;
}

.car-single__description {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #ececec;
}

.car-single__details {
	padding-top: 0.5rem;
}

.car-single__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.car-single__gallery-item {
	margin: 0;
	border: 1px solid #ececec;
	background: #fff;
}

.car-single__gallery-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	aspect-ratio: 4/3;
}

.car-single__specs {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
}

.car-single__spec-row {
	display: grid;
	grid-template-columns: minmax(160px, 220px) 1fr;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid #f2f2f2;
}

.car-single__spec-row:last-child {
	border-bottom: 0;
}

.car-single__spec-label {
	color: #6b6b6b;
	font-size: 13px;
	font-weight: 500;
	margin: 0;
}

.car-single__spec-value {
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}

.car-single__actions {
	margin-top: 0.5rem;
}

.car-single__enquiry {
	display: inline-block;
	padding: 14px 32px;
	background: #d5001c;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-radius: 0;
	text-decoration: none;
}

.car-single__enquiry:hover {
	background: #b8001a;
	color: #fff;
}

.car-single__sticky-cta {
	position: sticky;
	top: 120px;
	padding: 1rem;
	border: 1px solid #ececec;
	background: #fff;
}

.car-single__bottom-gallery {
	padding-top: 1.25rem;
	border-top: 1px solid #ececec;
}

@media (min-width: 992px) {
	.car-single__specs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 24px;
		border-top: 0;
		border-bottom: 0;
	}

	.car-single__spec-row {
		padding: 0.75rem 0;
		border-bottom: 1px solid #ececec;
	}

	.car-single__spec-row:last-child {
		border-bottom: 1px solid #ececec;
	}
}

@media (max-width: 781px) {
	.car-single__gallery {
		grid-template-columns: 1fr;
	}

	.car-single__sticky-cta {
		position: static;
		top: auto;
	}

	.car-single__spec-row {
		grid-template-columns: 1fr;
		gap: 0.35rem;
	}

	.car-tile__meta-label {
		min-width: 120px;
	}
}
