:root{
	--ac-safe-bottom:0px;
	--ac-brand-green:#087a3b;
	--ac-brand-green-dark:#07552d;
	--ac-brand-gold:#d9a52e;
	--ac-brand-ink:#171c18;
	--ac-brand-ivory:#f5f3ea;
}
html,body{max-width:100%;overflow-x:clip}
body{overflow-wrap:anywhere}
img{image-rendering:auto;-ms-interpolation-mode:bicubic}
:is(.mud-card-media,.car-directory-card__media,.parts_directory-card-media,.acep-card-media,.elementor-widget-image) img{
	display:block;max-width:100%;object-fit:cover;image-rendering:auto;transform:translateZ(0);backface-visibility:hidden
}
.mud-card-media img,.acep-card-media img{width:100%;height:100%;object-fit:cover}
.acp-account-route :is(main,.site-main,.elementor,.elementor-section,.e-con,.account-layout,.ac-dashboard,.ac-account,.woocommerce){
	max-width:100%;min-width:0
}
.acp-account-route :is(.account-content,.dashboard-content,.ac-dashboard__content,.woocommerce-MyAccount-content){
	min-width:0;max-width:100%
}
.acp-account-route table{max-width:100%}
.acp-account-route :is(.account-layout,.ac-dashboard,.ac-account){overflow-x:clip}
button,a,input,select,textarea{touch-action:manipulation}
:is(.mud-card-actions,.parts_directory-actions,.car-directory-card__actions,.acp-mobile-dock) a,
:is(.mud-card-actions,.parts_directory-actions,.car-directory-card__actions,.acp-mobile-dock) button{min-height:44px}
.acp-cb{right:max(16px,env(safe-area-inset-right))!important;bottom:24px!important}
.acp-cb__toggle{background:#25d366!important;color:#fff!important}
.acp-cb__toggle-icon svg{fill:currentColor}
@media(max-width:782px){
	:root{--ac-safe-bottom:calc(84px + env(safe-area-inset-bottom))}
	body{padding-bottom:var(--ac-safe-bottom)}
	.acp-cb{bottom:calc(var(--ac-safe-bottom) + 14px)!important;right:16px!important}
	.acp-cb__toggle{--acp-cb-size:52px}
	.acp-mobile-dock{padding-bottom:max(8px,env(safe-area-inset-bottom))}
	.acp-account-route :is(.account-layout,.ac-dashboard,.ac-account){grid-template-columns:minmax(0,1fr)!important;width:100%!important}
	.acp-account-route :is(.account-sidebar,.dashboard-sidebar){width:100%;max-width:100%}
	/* Prevent the off-canvas car filter from flashing across the viewport while
	   its page-specific stylesheet and transform are being initialized. */
	body:not(.acp-ui-ready) .car_directory-mobile-drawer{transition:none!important}
	html body:not(#acp-never) :is(button,input[type="submit"],input[type="button"],input[type="reset"],a.button,.button,.elementor-button){font-size:16px!important}
}
@media(min-width:783px) and (max-width:1024px){
	.acp-cb{bottom:28px!important}
}
.acp-semantic-title{
	position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
	overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important
}
:focus-visible{outline:3px solid var(--ac-brand-gold)!important;outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Mobile-first form and media resilience. */
img:not([src]),img[src=""]{display:none!important}
:where(main,#content,.site-main,.woocommerce,.ac-account,.account-content) :where(input,select,textarea){box-sizing:border-box;max-width:100%}
:where(main,#content,.site-main,.woocommerce,.ac-account,.account-content) :where(button,input[type="submit"],input[type="button"],input[type="reset"],a.button,.button){min-height:44px}
.woocommerce :where(.select2-container,.select2-selection){max-width:100%}
@media(max-width:782px){
	html body:not(#acp-never) :is(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="number"],input[type="password"],input[type="search"],input[type="url"],input[type="date"],select,textarea){font-size:16px!important}
	html body:not(#acp-never) #wpadminbar :where(input,select,textarea){font-size:13px!important}
	:where(main,#content,.site-main,.woocommerce,.ac-account,.account-content) :where(.form-row,.woocommerce-form-row){max-width:100%;min-width:0}
	.woocommerce :where(.select2-container,.select2-selection){width:100%!important}
}

/* Cross-device human QA refinements — 2026-11-28. */
.parts_directory-see-more{font-size:12px!important}
@media(max-width:767px){
	/* Elementor's sticky script creates a spacer. At phone widths a theme rule
	   was forcing the active header back into normal flow, doubling its height. */
	header.elementor-location-header .elementor-element-55b5204.elementor-sticky--active:not(.elementor-sticky__spacer){
		position:fixed!important;
		inset:0 0 auto 0!important;
		width:100%!important;
		max-width:100%!important;
		z-index:1000!important;
	}
	header.elementor-location-header .elementor-element-55b5204.elementor-sticky__spacer{
		display:block!important;
		width:100%!important;
	}

	/* Give each part request a readable two-line mobile card instead of three
	   compressed columns with truncated 10px labels. */
	.parts_directory-card{
		grid-template-columns:minmax(0,1fr) auto!important;
		grid-template-areas:"part actions" "vehicle actions"!important;
		column-gap:12px!important;
		row-gap:5px!important;
		min-height:76px!important;
		padding:11px 12px!important;
		align-items:center!important;
	}
	.parts_directory-card .parts_directory-part{grid-area:part!important;min-width:0!important}
	.parts_directory-card .parts_directory-vehicle{grid-area:vehicle!important;min-width:0!important}
	.parts_directory-card .parts_directory-actions{grid-area:actions!important;align-self:stretch!important;display:flex!important;align-items:center!important}
	.parts_directory-card .parts_directory-name{
		font-size:14px!important;
		line-height:1.35!important;
		white-space:normal!important;
		overflow:visible!important;
		display:-webkit-box!important;
		-webkit-line-clamp:2;
		-webkit-box-orient:vertical;
	}
	.parts_directory-card .parts_directory-vehicle{
		font-size:13px!important;
		line-height:1.35!important;
		white-space:normal!important;
		overflow:visible!important;
	}
	.parts_directory-card .parts_directory-see-more{
		min-width:82px!important;
		min-height:44px!important;
		padding:0 12px!important;
		font-size:13px!important;
		border-radius:8px!important;
	}
	.parts_directory-grid{gap:10px!important}

	/* Make the two direct expert contact actions meet mobile touch guidance. */
	.mud-card-actions a.is-wa,
	.mud-card-actions a.is-tel{
		width:44px!important;
		height:44px!important;
		min-width:44px!important;
		min-height:44px!important;
	}
	.elementor-element-c3fb714 .e-n-menu-title-container{
		min-width:44px!important;
		min-height:44px!important;
		justify-content:center!important;
	}
}
@media(min-width:1600px){
	/* Keep the expert directory visually balanced on ultra-wide monitors. */
	.page-id-463 .mud-directory{
		width:calc(100% - 48px)!important;
		max-width:1600px!important;
		margin-inline:auto!important;
	}
}

/* QA touch-target correction. */
@media(max-width:1024px){
	.mud-contact a.is-wa,
	.mud-contact a.is-tel{
		width:44px!important;
		height:44px!important;
		min-width:44px!important;
		min-height:44px!important;
		display:inline-flex!important;
		align-items:center!important;
		justify-content:center!important;
	}
	.elementor-element-c3fb714 .e-n-menu-title-container{
		min-width:44px!important;
		min-height:44px!important;
		justify-content:center!important;
	}
}


/* Elementor mobile header CTA and WhatsApp geometry (template 4560). */
@media(max-width:767px){
	html body.elementor-kit-734 header.elementor-location-header .elementor-element.elementor-element-55b5204{
		display:flex!important;
		justify-content:space-between!important;
		align-items:center!important;
	}
	html body.elementor-kit-734 header.elementor-location-header .elementor-element.elementor-element-55b5204 .elementor-element.elementor-element-86be2d8{
		width:112px!important;
		max-width:112px!important;
		flex:0 1 112px!important;
		margin:0!important;
	}
	html body.elementor-kit-734 header.elementor-location-header .elementor-element.elementor-element-55b5204 .elementor-element.elementor-element-8efa215{
		display:block!important;
		width:auto!important;
		max-width:none!important;
		flex:0 0 auto!important;
	}
	html body.elementor-kit-734 header.elementor-location-header .elementor-element.elementor-element-55b5204 .elementor-element.elementor-element-8efa215 .elementor-button{
		min-height:38px!important;
		padding:8px 12px!important;
		border-radius:9px!important;
		font-size:12px!important;
		line-height:1.2!important;
		white-space:nowrap!important;
		box-shadow:none!important;
	}
	html body.elementor-kit-734 .elementor-element.elementor-element-acwaflt1{
		width:52px!important;
		height:52px!important;
		min-height:52px!important;
		padding:0!important;
		aspect-ratio:1/1!important;
		border-radius:50%!important;
		box-sizing:border-box!important;
		overflow:hidden!important;
	}
	html body.elementor-kit-734 .elementor-element.elementor-element-acwaflt1 .elementor-widget-container,
	html body.elementor-kit-734 .elementor-element.elementor-element-acwaflt1 .elementor-icon-wrapper{
		display:flex!important;
		width:100%!important;
		height:100%!important;
		align-items:center!important;
		justify-content:center!important;
		line-height:1!important;
	}
}
