.m2cn {
	--m2cn-black: #000;
	--m2cn-ink: #222;
	--m2cn-muted: #777;
	--m2cn-line: #d7d7d7;
	--m2cn-soft: #f6f6f6;
	font-family: Kelson, sans-serif;
	color: var(--m2cn-ink);
}

.m2cn-fitment-bar {
	display: none;
	margin: 0 0 14px;
	border: none;
	background: #fff;
}

.m2cn:not(.m2cn-ready) .m2cn-field--conditional {
	display: none;
}

.m2cn-fitment-bar__head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 12px 14px;
	border-bottom: none;
}

.m2cn-field--reset {
	align-self: end;
}

.m2cn-field--stock {
	align-self: end;
}

.m2cn-fitment-bar__reset {
	width: 100%;
	min-height: 40px;
	border: 1px solid var(--m2cn-black) !important;
	border-radius: 0 !important;
	background: var(--m2cn-black) !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.02em;
}

.m2cn-fitment-bar__reset:hover {
	background: #333 !important;
	border-color: #333 !important;
}

.m2cn-fitment-bar__eyebrow {
	margin-bottom: 2px;
	color: var(--m2cn-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.m2cn-fitment-bar__title {
	color: var(--m2cn-black);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.m2cn-fitment-bar__controls {
	display: grid;
	grid-template-columns: minmax(120px, .9fr) minmax(170px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr) auto auto;
	gap: 10px;
	align-items: end;
	padding: 12px 14px 14px;
}

.m2cn-field {
	display: block;
	margin: 0;
	min-width: 0;
}

.m2cn-field--stock {
	align-self: end;
	margin-bottom: 8px;
}

.m2cn-field--sort {
	align-self: end;
}

.m2cn-field--sort .m2cn-select {
	min-width: 160px;
}

.m2cn-home-finder .m2cn-field--sort {
	display: none;
}

.m2cn-field__label {
	display: block;
	margin: 0 0 5px;
	color: var(--m2cn-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.m2cn-fitment-bar__stock {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-height: 38px;
	height: 42px;
	padding: 0;
	border: none;
	background: transparent;
	white-space: nowrap;
	box-sizing: border-box;
	width: 100%;
}

.m2cn-btn {
	min-height: 42px;
	border: 1px solid var(--m2cn-black);
	border-radius: 3px;
	padding: 0 16px;
	font-family: Kelson, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0;
	cursor: pointer;
}

.m2cn-btn--primary {
	background: var(--m2cn-black);
	color: #fff;
}

.m2cn-btn--ghost {
	background: #fff;
	color: var(--m2cn-black);
}


.m2cn-section {
	padding: 16px;
	border-bottom: 1px solid var(--m2cn-line);
	background: #fcfcfc;
}

.m2cn-section__title {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	padding-bottom: 8px;
	border-bottom: 1px solid #e6e6e6;
}

.m2cn-input,
.m2cn-select {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: 100%;
	height: 42px;
	margin: 0 0 4px;
	border: 1px solid var(--m2cn-line);
	border-radius: 4px;
	background-color: var(--m2cn-soft);
	color: var(--m2cn-ink);
	font-family: Kelson, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	transition: border-color .15s;
}

.m2cn-input:focus,
.m2cn-select:focus {
	border-color: var(--m2cn-black);
	outline: none;
}

.m2cn-input {
	padding: 0 12px;
}

.m2cn-select {
	padding: 0 36px 0 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23222' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: calc(100% - 12px) center;
	background-repeat: no-repeat;
	background-size: 12px 8px;
	cursor: pointer;
}

.m2cn-check {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 36px;
	margin: 0;
	cursor: pointer;
}

.m2cn-check input {
	width: 20px;
	height: 20px;
	margin: 0;
}

.m2cn-choice-group {
	display: grid;
	gap: 8px;
	max-height: 220px;
	margin-bottom: 12px;
	padding: 8px;
	border: 1px solid #e4e4e4;
	border-radius: 3px;
	background: #fff;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.m2cn-choice-group:empty {
	display: none;
}

.m2cn-choice-group[data-m2cn-field="vehicle"] {
	max-height: none;
	overflow: visible;
}

.m2cn-choice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	width: 100%;
	border: 1px solid #b7b7b7;
	border-radius: 3px;
	background: #fff;
	padding: 0 12px;
	color: var(--m2cn-ink);
	font-family: Kelson, sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.15;
	text-align: left;
	cursor: pointer;
}

.m2cn-choice.is-active {
	border-color: var(--m2cn-black);
	background: var(--m2cn-black);
	color: #fff;
}

.m2cn-choice-empty {
	min-height: 40px;
	border: 1px dashed #c8c8c8;
	border-radius: 3px;
	background: #f7f7f7;
	padding: 10px 12px;
	color: #6e6e6e;
	font-size: 14px;
	font-weight: 600;
	display: flex;
	align-items: center;
}

.m2cn-choice-group[data-m2cn-field="vehicle"] .m2cn-choice.is-active {
	background: #000;
	border-color: #000;
}

.m2cn-choice-group[data-m2cn-field="brand"] .m2cn-choice.is-active {
	background: #1d1d1d;
	border-color: #1d1d1d;
}

.m2cn-choice-group[data-m2cn-field="model"] .m2cn-choice.is-active {
	background: #2b2b2b;
	border-color: #2b2b2b;
}

.m2cn-loading {
	cursor: progress;
}

.m2cn-loading .m2cn-btn,
.m2cn-loading .m2cn-select,
.m2cn-loading .m2cn-input,
.m2cn-loading .m2cn-check {
	cursor: wait;
}

.m2cn-loading .m2cn-btn {
	pointer-events: none;
}

/* ── Mobile drawer fix ──
   Porto shifts .page-wrapper right 260px when the side-nav panel opens.
   We prevent the shift entirely so the header stays full-width and the
   logo doesn't reflow.
   ─────────────────────────────────────────────────────────────────── */
html.panel-opened .page-wrapper {
	left: 0 !important;
	transform: none !important;
	margin-left: 0 !important;
}

html.panel-opened .header-wrapper {
	height: var(--m2cn-header-h, auto) !important;
	min-height: var(--m2cn-header-h, 0) !important;
	overflow: hidden !important;
}

/* ── Mobile drawer redesign ──
   Full-screen white drawer inspired by Apple/Nike/Zara mobile nav.
   Kelson font, black/white theme, generous touch targets.
   CSS-only — no HTML changes, all Porto overrides.
   ─────────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {

	/* === Panel shell === */
	html.panel-opened #side-nav-panel {
		width: min(85vw, 360px) !important;
		max-width: min(85vw, 360px) !important;
		height: 100vh !important;
		height: 100dvh !important;
		background: #fff !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		padding: 0 !important;
		box-sizing: border-box !important;
		z-index: 100001 !important;
	}

	#side-nav-panel {
		background: #fff !important;
		font-family: Kelson, sans-serif !important;
	}

	/* === Dark overlay behind drawer === */
	html.panel-opened .panel-overlay {
		display: block !important;
		position: fixed !important;
		inset: 0 !important;
		z-index: 99999 !important;
		background: rgba(0, 0, 0, 0.5) !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	/* === Close button — hide by default, show only when drawer is fully open === */
	a.side-nav-panel-close {
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
		transition: opacity 0.15s 0.3s, visibility 0s 0.3s !important;
	}

	html.panel-opened a.side-nav-panel-close {
		position: fixed !important;
		top: 12px !important;
		left: calc(min(85vw, 360px) - 52px) !important;
		right: auto !important;
		z-index: 100002 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 40px !important;
		height: 40px !important;
		background: #111 !important;
		border-radius: 0 !important;
		text-decoration: none !important;
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		transition: opacity 0.15s 0.3s, visibility 0s 0.3s !important;
	}

	html.panel-opened a.side-nav-panel-close svg {
		width: 18px !important;
		height: 18px !important;
	}

	html.panel-opened a.side-nav-panel-close svg line {
		stroke: #fff !important;
		stroke-width: 2.5px !important;
	}

	/* === Hide tabs (CATEGORII / MENIU) === */
	#side-nav-panel .mobile-tabs .mobile-tab-items,
	#side-nav-panel .mobile-tabs .nav-tabs {
		display: none !important;
	}

	#side-nav-panel .mobile-tab-content,
	#side-nav-panel .mobile-tab-content .tab-pane {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	/* === Hide HUSKY filter tab pane (contains [woof] shortcode) === */
	#side-nav-panel .mobile-tab-content .tab-pane[tab-id="menu-navigation"] {
		display: none !important;
	}

	/* === Search bar === */
	#side-nav-panel .searchform {
		display: none !important;
	}

	/* === Menu wrapper === */
	#side-nav-panel > .menu-wrap,
	#side-nav-panel .mobile-tab-content .menu-wrap {
		padding: 56px 0 8px !important;
		margin: 0 !important;
		border: none !important;
		background: transparent !important;
	}

	/* === Menu list reset === */
	#side-nav-panel .accordion-menu {
		list-style: none !important;
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
	}

	/* === Menu items === */
	#side-nav-panel .accordion-menu > li {
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
		border-bottom: 1px solid #f0f0f0 !important;
		background: transparent !important;
	}

	#side-nav-panel .accordion-menu > li:last-child {
		border-bottom: none !important;
	}

	/* === Menu links === */
	#side-nav-panel .accordion-menu > li > a {
		display: flex !important;
		align-items: center !important;
		min-height: 56px !important;
		padding: 14px 24px !important;
		margin: 0 !important;
		font-family: Kelson, sans-serif !important;
		font-size: 18px !important;
		font-weight: 700 !important;
		color: #111 !important;
		text-decoration: none !important;
		letter-spacing: -0.01em !important;
		line-height: 1.3 !important;
		background: transparent !important;
		border: none !important;
		border-left: 3px solid transparent !important;
		transition: none !important;
	}

	/* === Active/current item — black left border === */
	#side-nav-panel .accordion-menu > li.active > a,
	#side-nav-panel .accordion-menu > li.current-menu-item > a,
	#side-nav-panel .accordion-menu > li > a.current {
		color: #000 !important;
		border-left-color: #000 !important;
		background: #fafafa !important;
	}

	/* === Inline text layout for span/br/small === */
	#side-nav-panel .accordion-menu > li > a span {
		display: inline !important;
	}

	#side-nav-panel .accordion-menu > li > a span br {
		display: none !important;
	}

	/* === Subtitle text (small) — lowercase, dimmed === */
	#side-nav-panel .accordion-menu > li > a span small {
		display: inline !important;
		font-size: 14px !important;
		font-weight: 500 !important;
		color: #999 !important;
		margin-left: 6px !important;
		opacity: 1 !important;
		text-transform: lowercase !important;
		letter-spacing: 0 !important;
	}

	/* === Auth/login links at bottom === */
	#side-nav-panel .accordion-menu > li:has(+ li > a.porto-link-login) {
		border-bottom: none !important;
	}

	#side-nav-panel .accordion-menu > li:has(> a.porto-link-login) {
		margin-top: 0 !important;
		padding-top: 8px !important;
		border-top: 1px solid #e5e5e5 !important;
		border-bottom: none !important;
	}

	#side-nav-panel .accordion-menu > li:has(> a.porto-link-register) {
		border-bottom: none !important;
	}

	#side-nav-panel .accordion-menu > li > a.porto-link-login,
	#side-nav-panel .accordion-menu > li > a.porto-link-register {
		font-size: 14px !important;
		font-weight: 600 !important;
		color: #777 !important;
		min-height: 48px !important;
		padding: 12px 28px !important;
		border-left: 3px solid transparent !important;
		background: transparent !important;
		text-transform: uppercase !important;
		letter-spacing: 0.03em !important;
	}

	/* Hide Porto's Font Awesome icons on auth links */
	#side-nav-panel .accordion-menu > li > a.porto-link-login > i,
	#side-nav-panel .accordion-menu > li > a.porto-link-register > i {
		display: none !important;
	}

	/* === Sub-menu items === */
	#side-nav-panel .accordion-menu .sub-menu {
		list-style: none !important;
		margin: 0 !important;
		padding: 0 0 8px !important;
		background: #fafafa !important;
		border: none !important;
	}

	#side-nav-panel .accordion-menu .sub-menu li {
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
	}

	#side-nav-panel .accordion-menu .sub-menu li a {
		display: flex !important;
		align-items: center !important;
		min-height: 44px !important;
		padding: 10px 24px 10px 40px !important;
		font-size: 15px !important;
		font-weight: 500 !important;
		color: #444 !important;
		text-decoration: none !important;
	}

	/* === Expand/collapse toggle for items with children === */
	#side-nav-panel .accordion-menu > li.menu-item-has-children > .arrow {
		position: absolute !important;
		right: 16px !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		width: 40px !important;
		height: 40px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		color: #999 !important;
		font-size: 12px !important;
	}

	/* === Override Porto's teal/cyan link colors everywhere in drawer === */
	#side-nav-panel a,
	#side-nav-panel .accordion-menu a,
	#side-nav-panel .accordion-menu > li > a:visited,
	#side-nav-panel .accordion-menu > li > a:hover,
	#side-nav-panel .accordion-menu > li > a:focus {
		color: #111 !important;
		text-decoration: none !important;
	}

	/* Auth links keep their dimmer color on hover too */
	#side-nav-panel .accordion-menu > li > a.porto-link-login:hover,
	#side-nav-panel .accordion-menu > li > a.porto-link-register:hover {
		color: #333 !important;
	}
}

body .cky-btn-revisit-wrapper,
body .cky-revisit-bottom-left {
	right: 18px !important;
	left: auto !important;
	bottom: 18px !important;
}

body .cky-consent-container.cky-box-bottom-left {
	right: 18px !important;
	left: auto !important;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span,
.pagination-wrap .pagination a.page-numbers,
.pagination-wrap .pagination span.page-numbers {
	color: #222 !important;
}

.woocommerce-pagination .page-numbers li span.current,
.pagination-wrap .pagination span.page-numbers.current {
	background: #222 !important;
	color: #fff !important;
	border-color: #222 !important;
}

.woocommerce-pagination .page-numbers li a:hover,
.pagination-wrap .pagination a.page-numbers:hover {
	background: #f5f5f5 !important;
	color: #222 !important;
}

.m2cn-finder {
	width: min(1128px, calc(100% - 32px));
	margin: 14px auto 18px;
	display: block;
	position: relative;
	z-index: 9;
	clear: both;
	background: #fff;
}

.m2cn-home-finder .m2cn-fitment-bar__stock {
	border: none;
	background: transparent;
	height: auto;
	min-height: 0;
}

.m2cn-home-finder .m2cn-fitment-bar__stock span {
	font-size: 14px;
}

.m2cn-home-finder .m2cn-check {
	gap: 8px;
	min-height: 0;
}

.m2cn-home-finder .m2cn-check input {
	width: 18px;
	height: 18px;
}

.m2cn-home-anchor {
	position: relative;
	z-index: 8;
	clear: both;
	width: 100%;
	padding: 0;
	margin: 0;
	line-height: 0;
	font-size: 0;
}

.m2cn-home-anchor + .info-box-wrapper,
.m2cn-home-anchor + .elementor-element {
	margin-top: 0 !important;
}

.m2cn-home-finder .m2cn-fitment-bar__controls {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	align-items: end;
	padding: 16px 20px 20px;
}

.m2cn-home-finder .m2cn-fitment-bar__head {
	padding: 14px 20px 12px;
}

.m2cn-home-finder .m2cn-select {
	height: 44px;
	min-height: 44px;
	margin-bottom: 0;
	box-sizing: border-box;
	border-radius: 3px;
}

.m2cn-home-finder .m2cn-field--stock {
	grid-column: 1 / 3;
	align-self: center;
	margin: 0;
}

.m2cn-home-finder .m2cn-field--stock .m2cn-field__label {
	display: none;
}

.m2cn-home-finder .m2cn-btn[data-m2cn-go] {
	grid-column: 3 / -1;
	min-height: 44px;
	height: 44px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	line-height: 1;
	white-space: nowrap;
	font-size: 14px;
}

@media (max-width: 991px) {
	.m2cn-home-finder {
		width: 100%;
		margin: 10px auto 12px;
		padding: 0;
		box-sizing: border-box;
	}

	.m2cn-home-finder .m2cn-fitment-bar__head {
		padding: 10px 0;
	}

	.m2cn-home-finder .m2cn-fitment-bar__title {
		font-size: 14px;
	}

	.m2cn-home-finder .m2cn-fitment-bar__controls {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		padding: 10px 0px 16px;
	}

	.m2cn-home-finder .m2cn-field__label {
		font-size: 10px;
		margin-bottom: 4px;
	}

	.m2cn-home-finder .m2cn-select {
		height: 42px;
		min-height: 42px;
		font-size: 14px;
	}

	.m2cn-home-finder .m2cn-field--stock {
		grid-column: 1 / -1;
	}

	.m2cn-home-finder .m2cn-btn[data-m2cn-go] {
		grid-column: 1 / -1;
		width: 100%;
		height: 44px;
		min-height: 44px;
	}

	.m2cn-home-spacer {
		height: 0;
	}

	.m2cn-home-anchor {
		margin-bottom: 0;
	}

	[data-m2cn-home-anchor] + .elementor-element,
	.m2cn-home-anchor + .elementor-element {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	.m2cn-archive .m2cn-fitment-bar__head {
		display: none;
	}

	.m2cn-archive .m2cn-fitment-bar__controls {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		padding: 6px 0px 10px;
	}

	.m2cn-archive .m2cn-field__label {
		font-size: 10px;
		margin-bottom: 3px;
	}

	.m2cn-archive .m2cn-select,
	body.post-type-archive-product .woocommerce-ordering select,
	body.tax-product_cat .woocommerce-ordering select,
	body.tax-product_tag .woocommerce-ordering select {
		height: 42px;
		min-height: 42px;
		font-size: 14px;
	}

	.m2cn-archive .m2cn-fitment-bar__stock {
		min-height: 36px;
		height: 36px;
	}

	.m2cn-archive .m2cn-field--stock {
		grid-column: 1;
	}

	.m2cn-archive .m2cn-field--stock .m2cn-field__label {
		display: none;
	}

	.m2cn-archive .m2cn-field--reset {
		grid-column: 2;
	}

	.m2cn-archive .m2cn-field--sort {
		display: none;
	}

	body.post-type-archive-product .woocommerce-ordering,
	body.tax-product_cat .woocommerce-ordering,
	body.tax-product_tag .woocommerce-ordering {
		display: none !important;
	}
}

@media (max-width: 639px) {
	.m2cn-fitment-bar {
		display: block;
		padding: 0;
		box-sizing: border-box;
	}

	.m2cn-archive .m2cn-fitment-bar__controls,
	.m2cn-home-finder .m2cn-fitment-bar__controls {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.m2cn-archive .m2cn-fitment-bar__stock,
	.m2cn-home-finder .m2cn-fitment-bar__stock {
		width: 100%;
		padding: 0;
	}

	.m2cn-archive .m2cn-field--stock {
		grid-column: 1;
	}

	.m2cn-archive .m2cn-field--reset {
		grid-column: 2;
	}

	.m2cn-home-finder .m2cn-field--stock {
		grid-column: 1 / -1;
	}

	.m2cn-home-finder .m2cn-btn[data-m2cn-go] {
		grid-column: 1 / -1;
	}

}

.m2cn-home-spacer {
	display: block;
	width: 100%;
	height: 0;
	clear: both;
}

.m2cn-finder__title {
	margin-bottom: 4px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
}

.m2cn-finder__copy {
	margin-bottom: 14px;
	color: var(--m2cn-muted);
	font-size: 14px;
}

.m2cn-control-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.m2cn-product-context {
	margin: 18px 0 22px;
	padding: 14px 16px;
	border: 1px solid var(--m2cn-line);
	background: var(--m2cn-soft);
}

.m2cn-product-context__title {
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.m2cn-product-context__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.m2cn-product-context__links a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	border: 1px solid var(--m2cn-line);
	background: #fff;
	padding: 0 10px;
	color: var(--m2cn-ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.m2cn-sidebar-panel:not(.m2cn-ready) {
	visibility: hidden;
	min-height: 200px;
}

.m2cn-sidebar-panel {
	border: none;
	background: transparent;
	font-family: Kelson, sans-serif;
	color: var(--m2cn-ink);
}

@media (min-width: 992px) {
	.m2cn-sidebar-panel {
		position: sticky;
		top: 10px;
	}
}

@media (max-width: 991px) {
	.m2cn-sidebar-panel {
		display: none !important;
	}

	body.m2cn-has-sidebar .left-sidebar,
	body.m2cn-has-sidebar .right-sidebar {
		display: none !important;
	}

	body.m2cn-has-sidebar .main-content {
		width: 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}

.m2cn-sp-group {
	margin-bottom: 0;
	padding: 14px 0;
	border-top: 1px solid #e8e8e8;
}

.m2cn-sp-group:first-child {
	border-top: none;
	padding-top: 0;
}

.m2cn-sidebar-panel .m2cn-choice-group {
	gap: 5px;
	max-height: 280px;
	overflow-y: auto;
	margin-bottom: 0;
	padding: 0;
	border: none;
	background: transparent;
}

.m2cn-sidebar-panel .m2cn-choice-group[data-m2cn-field="vehicle"] {
	max-height: none;
	overflow: visible;
}

.m2cn-sidebar-panel .m2cn-choice {
	min-height: 34px;
	padding: 0 10px;
	font-size: 13px;
	font-weight: 600;
	border: none;
	border-radius: 3px;
	background: var(--m2cn-soft);
}

.m2cn-sidebar-panel .m2cn-choice:hover {
	background: #eaeaea;
}

.m2cn-sidebar-panel .m2cn-choice.is-active {
	border: none;
	background: var(--m2cn-black);
	color: #fff;
}

.m2cn-sidebar-panel .m2cn-select {
	height: 36px;
	font-size: 13px;
	margin: 0;
}

.m2cn-sidebar-panel .m2cn-check {
	min-height: 34px;
	white-space: nowrap;
}

.m2cn-sp-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.m2cn-sp-reset {
	border: 1px solid var(--m2cn-black);
	border-radius: 0;
	background: var(--m2cn-black);
	color: #fff;
	font-family: Kelson, sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	padding: 0 16px;
	min-height: 34px;
	white-space: nowrap;
}

.m2cn-sp-reset:hover {
	background: #333;
	border-color: #333;
}


@media (min-width: 992px) {
	.m2cn-fitment-bar {
		display: block;
	}

	.m2cn-archive {
		margin-bottom: 18px;
	}

	body.m2cn-has-sidebar .m2cn-fitment-bar-root {
		display: none;
	}
}

@media (min-width: 640px) and (max-width: 1199px) {
	.m2cn-fitment-bar {
		display: block;
	}

	.m2cn-fitment-bar__controls {
		grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	}
}

@media (max-width: 767px) {
	.m2cn-control-row {
		grid-template-columns: 1fr;
	}
}

body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 14px !important;
}

body.post-type-archive-product .woocommerce-ordering label,
body.tax-product_cat .woocommerce-ordering label,
body.tax-product_tag .woocommerce-ordering label {
	display: none;
}

.elementor-widget-porto_sb_sort .elementor-widget-container {
	display: flex;
	justify-content: flex-end;
}

/* ───────────────────────────────────────────────────────
   AJAX product card overrides (.product-default)
   Goal: match Porto builder cards (.porto-tb-item)
   ─────────────────────────────────────────────────────── */

.archive-products .product-default {
	display: flex;
	flex-direction: column;
}

.archive-products .product-default .product-inner {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.archive-products .product-default .category-list {
	display: none;
}

.archive-products .product-default .product-content {
	padding: 18px 0 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	flex: 1;
}


/* Title — allow wrapping, min 2-line height for row alignment */
.archive-products .product-default .woocommerce-loop-product__title {
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -.025em;
	text-align: center;
	margin-bottom: 8px;
	min-height: calc(.9375rem * 1.35 * 2);
	overflow: visible !important;
	white-space: normal !important;
	text-overflow: unset !important;
}

.archive-products .product-default .product-loop-title {
	display: block;
	text-decoration: none;
	color: rgb(34, 37, 41);
}

/* Star rating — enlarge and style to match CusRev outlined SVG stars */
.archive-products .product-default .rating-wrap {
	display: flex;
	justify-content: center;
	margin: 16px 0 14px;
}

.archive-products .product-default .star-rating {
	font-size: 18px !important;
	width: 5.4em;
	height: 1.618em;
	overflow: visible;
	letter-spacing: 0.06em;
	text-align: center;
	float: none !important;
}

/* Empty/background stars: yellow outline (matches CusRev hollow yellow) */
.archive-products .product-default .star-rating::before {
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1.2px #FFBC00;
	color: #FFBC00 !important;
}

/* Filled stars: solid yellow */
.archive-products .product-default .star-rating span::before {
	-webkit-text-fill-color: #FFBC00;
	-webkit-text-stroke: 0;
	color: #FFBC00 !important;
}

/* Price — match Porto builder: 1.125rem, centered */
.archive-products .product-default .price {
	display: block;
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.05em;
	text-align: center;
	color: #444;
	margin: 0 0 20px;
	font-family: Kelson, sans-serif;
	line-height: 1.4;
	width: 100%;
}

/* AJAX grid — match Porto builder 3-column layout (not 4) */
.archive-products > .products.ccols-xl-4 > * {
	width: 33.3333% !important;
}

/* Button bar — full-width flex row, pushed to bottom via margin-top:auto */
.archive-products .product-default .add-links-wrap {
	display: flex !important;
	gap: 0;
	padding: 0;
	width: 100%;
	margin-top: auto;
}

.archive-products .product-default .add-links {
	display: flex !important;
	width: 100%;
	gap: 0;
	float: none !important;
}

/* Main button — fills available width, dark bar with arrow */
.archive-products .product-default .add-links > a,
.archive-products .product-default .add-links > .added_to_cart {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 1 1 0% !important;
	min-height: 40px;
	padding: 0 20px !important;
	margin: 0 !important;
	background: #212529 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0 !important;
	font-family: Kelson, sans-serif;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	text-decoration: none !important;
	letter-spacing: -0.05em;
	line-height: 40px;
	box-sizing: border-box;
	white-space: nowrap;
	float: none !important;
	width: auto !important;
}

.archive-products .product-default .add-links > a::before {
	content: "\e70b";
	font-family: "porto" !important;
	font-size: 22px;
	line-height: 1;
}

.archive-products .product-default .add-links > a:hover {
	background: #0b0c0d !important;
}


/* Hide the sr-only describedby span so it doesn't affect flex layout */
.archive-products .product-default .add-links > span[id] {
	display: none !important;
}

.elementor-widget-porto_sb_sort {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin-left: auto !important;
}


body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select {
	appearance: none;
	-webkit-appearance: none;
	width: auto;
	min-width: 320px;
	height: 34px;
	min-height: 34px;
	margin: 0;
	padding: 0 32px 0 10px;
	border: none;
	border-radius: 3px;
	background-color: var(--m2cn-soft);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23222' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: calc(100% - 10px) center;
	background-repeat: no-repeat;
	background-size: 12px 8px;
	color: var(--m2cn-ink);
	font-family: Kelson, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	box-sizing: border-box;
}
