/**
 * eAuto Dealer Connector — frontend styles (v1.1.3-phase2).
 *
 * Theme-independent. All selectors are scoped under .eauto-* so they do
 * not leak into the theme and the theme is unlikely to override them.
 * Mobile-first, no horizontal overflow, sensible fallbacks.
 */

.eauto-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px;
	box-sizing: border-box;
}

.eauto-container *,
.eauto-container *::before,
.eauto-container *::after {
	box-sizing: border-box;
}

/* ---- Section titles ---- */
.eauto-section-title {
	font-size: 20px;
	line-height: 1.3;
	margin: 0 0 14px;
	font-weight: 700;
}

.eauto-muted { color: #6b7280; }

/* ---- Single layout ---- */
.eauto-single__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 880px) {
	.eauto-single__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		align-items: start;
	}
}

.eauto-single__details,
.eauto-single__related {
	margin-top: 32px;
}

/* ---- Gallery ---- */
.eauto-gallery__main img {
	width: 100%;
	height: auto;
	max-height: 460px;
	object-fit: cover;
	border-radius: 14px;
	display: block;
	background: #f3f4f6;
}

.eauto-gallery__placeholder {
	width: 100%;
	min-height: 280px;
	border-radius: 14px;
	background: #f3f4f6;
	border: 1px dashed #d1d5db;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6b7280;
	font-weight: 600;
}

.eauto-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.eauto-gallery__thumb {
	border: 2px solid transparent;
	border-radius: 10px;
	padding: 0;
	background: none;
	cursor: pointer;
	overflow: hidden;
	line-height: 0;
}

.eauto-gallery__thumb.is-active {
	border-color: #2563eb;
}

.eauto-gallery__thumb img {
	width: 84px;
	height: 64px;
	object-fit: cover;
	display: block;
}

/* ---- Summary ---- */
.eauto-summary__title {
	font-size: 28px;
	line-height: 1.2;
	margin: 0 0 12px;
	font-weight: 800;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.eauto-summary__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 14px;
}

.eauto-summary__price {
	font-size: 24px;
	font-weight: 800;
	color: #111827;
}

.eauto-summary__chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.eauto-chip {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
}

/* ---- Status badge ---- */
.eauto-badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	color: #374151;
}

.eauto-badge--available { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.eauto-badge--sold      { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.eauto-badge--reserved  { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.eauto-badge--neutral   { background: #f9fafb; border-color: #e5e7eb; color: #374151; }

/* ---- Specs table ---- */
.eauto-specs__table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 8px;
	font-size: 15px;
}

.eauto-specs__table th,
.eauto-specs__table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid #eceff3;
	vertical-align: top;
}

.eauto-specs__table th {
	width: 40%;
	color: #6b7280;
	font-weight: 600;
}

.eauto-specs__table td {
	color: #111827;
	font-weight: 600;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.eauto-description__body {
	font-size: 15px;
	line-height: 1.7;
	color: #374151;
}

/* ---- CTA ---- */
.eauto-cta { margin-top: 18px; }

.eauto-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.eauto-btn {
	display: inline-block;
	padding: 11px 18px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	line-height: 1.2;
}

.eauto-btn--primary  { background: #2563eb; color: #fff; }
.eauto-btn--whatsapp { background: #25d366; color: #0b3d20; }
.eauto-btn--ghost    { background: #fff; color: #111827; border-color: #d1d5db; }
.eauto-btn--link     { background: none; color: #2563eb; padding-left: 0; padding-right: 0; }
.eauto-btn--disabled { background: #f3f4f6; color: #9ca3af; cursor: not-allowed; border-color: #e5e7eb; }

.eauto-cta__compare { margin: 6px 0 14px; }

.eauto-compare-label {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	user-select: none;
}

.eauto-compare-label input { width: 16px; height: 16px; cursor: pointer; }

.eauto-inquiry-placeholder {
	margin-top: 22px;
	padding: 16px;
	border: 1px dashed #d1d5db;
	border-radius: 12px;
	background: #fafafa;
}

/* ---- Archive ---- */
.eauto-archive__header { margin-bottom: 18px; }

.eauto-archive__title {
	font-size: 30px;
	font-weight: 800;
	margin: 0;
}

.eauto-archive__filters { margin-bottom: 20px; }

/* ---- Listing grid (shared by archive, related, shortcode) ---- */
.eauto-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}

.eauto-related .eauto-grid { margin-top: 4px; }

/* ---- Pagination ---- */
.eauto-pagination {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.eauto-pagination .page-numbers {
	display: inline-block;
	padding: 8px 13px;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	text-decoration: none;
	color: #111827;
	font-weight: 600;
}

.eauto-pagination .page-numbers.current {
	background: #2563eb;
	color: #fff;
	border-color: #2563eb;
}

/* ---- Safety: prevent horizontal overflow from media ---- */
.eauto-single img,
.eauto-archive img,
.eauto-grid img {
	max-width: 100%;
}

/* =====================================================================
   v1.1.4 polish (Issues 3, 9, 11)
   ===================================================================== */

/* JS-inserted broken-image placeholder + PHP gallery placeholder share
   one clean look so cards, gallery, related, and compare match. */
.eauto-img-placeholder {
	width: 100%;
	min-height: 120px;
	border-radius: 12px;
	background: #f3f4f6;
	border: 1px dashed #d1d5db;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6b7280;
	font-weight: 600;
	text-align: center;
	padding: 8px;
	box-sizing: border-box;
}

/* Admin-only data-consistency note (Issue 9). Visually distinct, never
   shown to visitors (gated in PHP by manage_options). */
.eauto-admin-note {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid #fcd34d;
	background: #fffbeb;
	color: #92400e;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
}

/* Status pills: consistent sizing + never wrap awkwardly. */
.eauto-badge {
	white-space: nowrap;
	line-height: 1.4;
}

/* Card polish: ensure cards in the grid align and the footer row
   (compare + price) sits consistently. */
.eauto-grid .eauto-card-tpl1,
.eauto-grid .eauto-card-tpl2,
.eauto-grid .eauto-card-tpl3 {
	height: 100%;
	display: flex;
	flex-direction: column;
}

/* Compare bar: clamp pill width + allow horizontal scroll of the item
   list on small screens instead of overflowing the viewport (Issue 4). */
#lvi-compare-items {
	max-width: 100%;
	overflow-x: auto;
}
.eauto-compare-pill {
	flex: 0 0 auto;
}

/* Compare table: keep it scrollable on mobile, never overflow body. */
.eauto-compare-table-wrap {
	max-width: 100%;
}

/* Single page section rhythm. */
.eauto-single__details,
.eauto-single__related {
	margin-top: 36px;
}
.eauto-cta__actions { margin-top: 4px; }

/* Mobile spacing + tap targets. */
@media (max-width: 600px) {
	.eauto-container { padding: 16px 12px; }
	.eauto-summary__title { font-size: 24px; }
	.eauto-summary__price { font-size: 20px; }
	.eauto-archive__title { font-size: 24px; }
	.eauto-btn { padding: 12px 16px; }
	.eauto-gallery__main img { max-height: 320px; }
	.eauto-specs__table th { width: 45%; }
}

/* Belt-and-suspenders: nothing inside our wrappers forces overflow. */
.eauto-single,
.eauto-archive {
	overflow-x: hidden;
}

/* =====================================================================
   v1.2.2 — Compare tray (class-based; server + JS-built bars match)
   ===================================================================== */
.eauto-compare-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	background: #111;
	color: #fff;
	padding: 12px 14px;
	box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.18);
}
.eauto-compare-bar__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}
.eauto-compare-bar__left {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	min-width: 0;
}
.eauto-compare-bar__left > strong { font-weight: 900; }
#lvi-compare-count { opacity: 0.9; font-weight: 700; }
.eauto-compare-bar__items {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	max-width: 100%;
	overflow-x: auto;
}
.eauto-compare-bar__right {
	display: flex;
	gap: 10px;
	align-items: center;
	flex: 0 0 auto;
}
.eauto-compare-bar__go {
	background: #22c55e;
	color: #111;
	padding: 10px 14px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 900;
	white-space: nowrap;
}
.eauto-compare-bar__clear {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	padding: 10px 12px;
	border-radius: 12px;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
}
.eauto-compare-pill {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.22);
	padding: 8px 10px;
	border-radius: 999px;
	font-weight: 800;
	max-width: 200px;
	flex: 0 0 auto;
}
.eauto-compare-pill__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 150px;
}
.eauto-compare-pill__x {
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-weight: 900;
	flex: 0 0 auto;
	font-size: 16px;
	line-height: 1;
}
@media (max-width: 600px) {
	.eauto-compare-bar__inner { gap: 8px; }
	.eauto-compare-pill { max-width: 140px; }
	.eauto-compare-pill__label { max-width: 96px; }
}

/* v1.2.2 — compact, dismissible admin-only mismatch note */
.eauto-admin-note {
	position: relative;
	margin: 0 0 14px;
	padding: 8px 34px 8px 12px;
	border: 1px solid #fcd34d;
	background: #fffbeb;
	color: #92400e;
	border-radius: 8px;
	font-size: 12.5px;
	line-height: 1.45;
}
.eauto-admin-note__x {
	position: absolute;
	top: 4px;
	right: 6px;
	background: transparent;
	border: 0;
	color: #92400e;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 2px 6px;
}

/* =====================================================================
   v1.3.0 — Lead inquiry forms + tabs
   ===================================================================== */
.eauto-lead-tabs__nav {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.eauto-lead-tab {
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 10px 10px 0 0;
	padding: 8px 14px;
	cursor: pointer;
	font-weight: 700;
	color: #374151;
}
.eauto-lead-tab.is-active {
	background: #111;
	color: #fff;
	border-color: #111;
}
.eauto-lead-panel { display: none; }
.eauto-lead-panel.is-active { display: block; }
.eauto-lead-form {
	border: 1px solid #eee;
	border-radius: 12px;
	background: #fff;
	padding: 16px;
	max-width: 560px;
}
.eauto-form-row { margin-bottom: 12px; }
.eauto-form-row label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: #374151;
}
.eauto-form-row input[type="text"],
.eauto-form-row input[type="tel"],
.eauto-form-row input[type="email"],
.eauto-form-row textarea {
	width: 100%;
	margin-top: 4px;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	font-size: 15px;
	box-sizing: border-box;
}
.eauto-form-consent label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-weight: 500;
	font-size: 13px;
}
.eauto-form-consent input { margin-top: 3px; }
.eauto-form-notice {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 14px;
}
.eauto-form-notice.is-ok { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.eauto-form-notice.is-err { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.eauto-btn--primary {
	background: #111;
	color: #fff;
	border: 0;
	padding: 11px 18px;
	border-radius: 10px;
	font-weight: 800;
	cursor: pointer;
}

/* v1.3.3 — compare bar button + count (form-based, no-JS fallback) */
button.eauto-compare-bar__go {
	border: 0;
	cursor: pointer;
	font-size: 15px;
}
.eauto-compare-bar__count { opacity: 0.9; font-weight: 700; }
/* The form-based bar is shown by default for no-JS users; JS toggles it. */
.eauto-compare-bar--nojs { display: block; }

/* =====================================================================
   v1.4.0 Phase 5 — premium sections, hero, chips, cta strip
   (namespaced eauto-; responsive; no global resets, no heavy libs)
   ===================================================================== */
.eauto-section { margin: 28px 0; }
.eauto-section__head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; margin-bottom: 14px; flex-wrap: wrap;
}
.eauto-section__title {
	margin: 0 0 14px; font-size: 22px; line-height: 1.2; font-weight: 800;
}
.eauto-section__head .eauto-section__title { margin-bottom: 0; }

.eauto-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 10px 16px; border-radius: 10px; font-weight: 700;
	text-decoration: none; border: 1px solid #d1d5db; background: #fff;
	color: #111; cursor: pointer; line-height: 1.2;
}
.eauto-btn--primary { background: #111; color: #fff; border-color: #111; }
.eauto-btn--ghost { background: transparent; }
.eauto-btn--whatsapp { background: #25d366; border-color: #25d366; color: #062e16; }

/* Grid is responsive: the inline column count is the desktop max; on
   narrow screens we clamp to fewer columns to prevent overflow. */
.eauto-grid { width: 100%; }
@media (max-width: 1024px) {
	.eauto-grid[style] { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 600px) {
	.eauto-grid[style] { grid-template-columns: 1fr !important; }
	.eauto-grid--list { gap: 12px; }
}

/* Hero search */
.eauto-hero {
	background: linear-gradient(180deg,#0f172a 0%,#1e293b 100%);
	color: #fff; border-radius: 18px; padding: 36px 20px; margin: 18px 0 26px;
}
.eauto-hero__inner { max-width: 980px; margin: 0 auto; text-align: center; }
.eauto-hero__title { margin: 0 0 8px; font-size: 30px; line-height: 1.15; font-weight: 900; color: #fff; }
.eauto-hero__sub { margin: 0 0 18px; opacity: 0.9; }
.eauto-hero__form {
	display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: stretch;
}
.eauto-hero__field { flex: 1 1 200px; min-width: 0; }
.eauto-hero__field--sm { flex: 0 1 150px; }
.eauto-hero__form select,
.eauto-hero__form input {
	width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #cbd5e1;
	font-size: 15px; box-sizing: border-box;
}
.eauto-hero__form .eauto-btn--primary { flex: 0 0 auto; }
@media (max-width: 600px) {
	.eauto-hero__field, .eauto-hero__field--sm { flex: 1 1 100%; }
	.eauto-hero__form .eauto-btn--primary { width: 100%; }
}

/* Browse chips */
.eauto-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.eauto-chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px; border-radius: 999px; border: 1px solid #e5e7eb;
	background: #fff; color: #111; text-decoration: none; font-weight: 700;
}
.eauto-chip:hover { border-color: #111; }
.eauto-chip__count {
	background: #f3f4f6; border-radius: 999px; padding: 1px 8px;
	font-size: 12px; color: #555;
}

/* Why choose us */
.eauto-why__grid {
	display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 14px;
}
.eauto-why__card {
	border: 1px solid #eee; border-radius: 12px; background: #fff;
	padding: 16px; font-weight: 600; color: #374151;
}

/* CTA strip */
.eauto-cta-strip {
	background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 14px;
	padding: 16px; margin: 24px 0;
}
.eauto-cta-strip__inner {
	display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center;
}

/* Empty / skeleton states */
.eauto-empty {
	border: 1px dashed #d1d5db; border-radius: 14px; background: #fafafa;
	padding: 28px; text-align: center; color: #6b7280;
}

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* v1.4.1 — hide compare checkbox within a specific listing widget only */
.eauto-hide-compare .eauto-compare-check,
.eauto-hide-compare .eauto-compare-checkbox { display: none !important; }

/* v1.4.1 — basic (non-premium) UI: neutralise premium-only flourishes
   without breaking the safe base layout. */
.eauto-grid.eauto-ui-basic .eauto-card-tpl1,
.eauto-grid.eauto-ui-basic .eauto-card-tpl2,
.eauto-grid.eauto-ui-basic .eauto-card-tpl3 { box-shadow: none; }

/* v1.4.2 — inline no-JS "Compare selected" fallback button. Visible by
   default; JS hides it once the sticky tray takes over. */
.eauto-compare-fallback {
	margin: 16px 0 4px;
	display: flex;
	justify-content: flex-start;
}
.eauto-compare-fallback__btn { cursor: pointer; }
@media (max-width: 600px) {
	.eauto-compare-fallback { justify-content: stretch; }
	.eauto-compare-fallback__btn { width: 100%; }
}

/* =====================================================================
   v1.4.3 Phase 5B — premium card renderer (.eauto-card2)
   Namespaced, responsive, no global resets, no heavy framework.
   ===================================================================== */
.eauto-card2 { position: relative; transition: box-shadow .2s ease, transform .2s ease; }
.eauto-card2:hover { transform: translateY(-2px); }
.eauto-card2__media { position: relative; margin-bottom: 10px; }
.eauto-card2--horizontal .eauto-card2__media { margin-bottom: 0; }
.eauto-card2__imglink { display: block; }
.eauto-card2__badge { position: absolute; top: 10px; left: 10px; }
.eauto-card2__badge--ribbon { top: 12px; left: -6px; }
.eauto-card2__body { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-width: 0; }
.eauto-card2__title { margin: 0; font-size: 18px; line-height: 1.25; }
.eauto-card2__titlelink { text-decoration: none; color: inherit; }
.eauto-card2__titlelink:hover { text-decoration: underline; }
.eauto-card2__price { font-weight: 800; font-size: 18px; color: #111; }
.eauto-card2__specs { font-size: 14px; color: #444; }
.eauto-card2__specs--rows { display: flex; flex-direction: column; gap: 2px; }
.eauto-card2__specs--inline { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.eauto-card2__specs--chips { display: flex; flex-wrap: wrap; gap: 6px; }
.eauto-card2__specs--chips .eauto-card2__spec {
	background: #f3f4f6; border-radius: 999px; padding: 2px 10px; font-size: 12px;
}
.eauto-card2__specs--chips .eauto-card2__spec-k { display: none; }
.eauto-card2__spec-k { font-weight: 700; }
.eauto-card2__stock { font-size: 12px; color: #6b7280; }
.eauto-card2__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.eauto-card2__compare { margin-top: 6px; }
.eauto-card2--compact .eauto-card2__body { gap: 6px; }
.eauto-card2--spacious .eauto-card2__body { gap: 12px; }
.eauto-card2--center { align-items: center; }
.eauto-card2--center .eauto-card2__actions { justify-content: center; }

/* Outline / text CTA variants (work with existing .eauto-btn) */
.eauto-btn--outline { background: transparent; border: 1px solid #111; color: #111; }
.eauto-btn--link { background: transparent; border: 0; color: #111; text-decoration: underline; padding-left: 0; padding-right: 0; }

@media (max-width: 600px) {
	.eauto-card2--horizontal { flex-direction: column !important; }
	.eauto-card2--horizontal .eauto-card2__media { flex: 1 1 100% !important; max-width: 100% !important; margin-bottom: 10px; }
	.eauto-card2__actions .eauto-btn { flex: 1 1 100%; text-align: center; }
}

/* =====================================================================
   v1.5.0 Phase 6 — filter toolbar, chips, sort, mobile drawer, sidebar
   ===================================================================== */
.eauto-toolbar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
	margin: 0 0 14px;
}
.eauto-toolbar__count { font-weight: 700; color: #111; }
.eauto-toolbar__sort { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.eauto-toolbar__sort select { padding: 8px 10px; border: 1px solid #ddd; border-radius: 10px; background: #fff; }
.eauto-toolbar__chips { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.eauto-chip {
	display: inline-flex; align-items: center; gap: 6px;
	background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 999px;
	padding: 4px 10px; font-size: 13px; line-height: 1.4;
}
.eauto-chip--active .eauto-chip__label { color: #111; }
.eauto-chip__x { text-decoration: none; font-weight: 700; color: #6b7280; line-height: 1; }
.eauto-chip__x:hover { color: #111; }
.eauto-chip--clear { background: transparent; border-color: transparent; color: #b91c1c; text-decoration: underline; }
.eauto-empty { padding: 28px 16px; text-align: center; color: #6b7280; border: 1px dashed #e5e7eb; border-radius: 12px; }

/* Sidebar layout (filters stack vertically, listing alongside in theme grid) */
.eauto-filters--sidebar { max-width: 320px; }

/* Mobile drawer: body hidden until toggled on small screens */
.eauto-filters__toggle { display: none; }
@media (max-width: 768px) {
	.eauto-filters--mobile .eauto-filters__toggle { display: inline-block; margin-bottom: 10px; }
	.eauto-filters--mobile .eauto-filters__body { display: none !important; }
	.eauto-filters--mobile.eauto-filters--open .eauto-filters__body { display: flex !important; flex-direction: column; }
}
@media (max-width: 600px) {
	.eauto-toolbar__sort { margin-left: 0; width: 100%; }
	.eauto-toolbar__sort select { flex: 1 1 auto; }
}

/* =====================================================================
   v1.6.0 Phase 7 — dealer/branch contact, CTA strip, WhatsApp button
   ===================================================================== */
.eauto-contact { display: flex; flex-direction: column; gap: 6px; }
.eauto-contact--card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; }
.eauto-contact--inline { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
.eauto-contact--compact { gap: 3px; font-size: 14px; }
.eauto-contact__name { font-weight: 700; font-size: 16px; }
.eauto-contact__row { color: #111; text-decoration: none; }
.eauto-contact__row[href]:hover { text-decoration: underline; }
.eauto-contact__address, .eauto-contact__hours { color: #4b5563; }

.eauto-cta-strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.eauto-cta-strip-wrap { margin: 16px 0; }
.eauto-cta-strip__inner { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.eauto-btn--wa, .eauto-btn--whatsapp { background: #25D366; color: #fff; border: 1px solid #1da851; }
.eauto-btn--wa:hover, .eauto-btn--whatsapp:hover { background: #1da851; }
.eauto-btn--disabled { background: #f3f4f6; color: #9ca3af; border: 1px solid #e5e7eb; cursor: not-allowed; }
.eauto-contact-missing { margin: 10px 0; }

@media (max-width: 600px) {
	.eauto-cta-strip .eauto-btn, .eauto-cta-strip__inner .eauto-btn { flex: 1 1 100%; text-align: center; }
}

/* =====================================================================
   v1.6.5 Phase 7 — premium inline compare toolbar + chip pills + modal
   ===================================================================== */
.eauto-compare-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 14px;
	padding: 8px 12px;
	background: #ffffff;
	color: #0f172a;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	font-size: 13px;
	line-height: 1.3;
}
.eauto-compare-toolbar[hidden] { display: none; }
.eauto-compare-toolbar--editor {
	color: #64748b;
	background: transparent;
	border-style: dashed;
	border-color: #cbd5e1;
}
.eauto-compare-toolbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	width: 100%;
}
.eauto-compare-toolbar__left {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	min-width: 0;
	flex: 1 1 auto;
}
.eauto-compare-toolbar__title { font-weight: 700; color: #0f172a; }
.eauto-compare-toolbar__prompt { color: #64748b; }
.eauto-compare-toolbar__prompt[hidden] { display: none; }
.eauto-compare-toolbar__count { color: #475569; white-space: nowrap; }
.eauto-compare-toolbar__items { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.eauto-compare-toolbar__right { display: flex; gap: 6px; align-items: center; }
.eauto-compare-toolbar__go {
	background: #2563eb; color: #fff; border: 0;
	padding: 7px 14px; border-radius: 8px; font-weight: 700; font-size: 13px;
	cursor: pointer;
}
.eauto-compare-toolbar__go:hover { background: #1d4ed8; }
.eauto-compare-toolbar__clear {
	background: transparent; color: #475569; border: 1px solid #cbd5e1;
	padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: 13px;
	cursor: pointer;
}
.eauto-compare-toolbar__clear:hover { background: #f1f5f9; }
/* [hidden] must beat .eauto-btn { display:inline-block }. */
.eauto-btn[hidden], .eauto-compare-toolbar__clear[hidden] { display: none !important; }

.eauto-compare-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f1f5f9;
	color: #0f172a;
	border-radius: 999px;
	padding: 3px 4px 3px 8px;
	font-size: 12px;
	line-height: 1.3;
	max-width: 260px;
}
.eauto-compare-pill__img {
	width: 24px; height: 24px;
	object-fit: cover;
	border-radius: 999px;
	flex-shrink: 0;
}
.eauto-compare-pill__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 140px;
	font-weight: 600;
}
.eauto-compare-pill__stock {
	color: #64748b;
	font-size: 11px;
	white-space: nowrap;
}
.eauto-compare-pill__x {
	border: 0;
	background: #e2e8f0;
	color: #475569;
	width: 18px; height: 18px;
	border-radius: 50%;
	cursor: pointer;
	line-height: 1;
	font-size: 13px;
	flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
}
.eauto-compare-pill__x:hover { background: #cbd5e1; color: #0f172a; }

/* Single vehicle: keep the toolbar from disturbing the CTA + Back link. */
.eauto-cta__compare-tray { margin: 12px 0 0; }
.eauto-cta__compare-tray:empty { display: none; }

@media (max-width: 600px) {
	.eauto-compare-toolbar { padding: 8px 10px; }
	.eauto-compare-toolbar__inner { gap: 8px; }
	.eauto-compare-toolbar__right { width: 100%; }
	.eauto-compare-toolbar__right .eauto-compare-toolbar__go,
	.eauto-compare-toolbar__right .eauto-compare-toolbar__clear { flex: 1 1 auto; text-align: center; }
	.eauto-compare-pill { max-width: 100%; }
	.eauto-compare-pill__label { max-width: 120px; }
}

/* =====================================================================
   v1.6.5 Phase 7 — Inquiry popup modal
   ===================================================================== */
.eauto-inquiry-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.eauto-inquiry-modal[hidden] { display: none; }
.eauto-inquiry-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(2px);
}
.eauto-inquiry-modal__dialog {
	position: relative;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
	max-width: 560px;
	width: 100%;
	max-height: calc(100vh - 32px);
	overflow: auto;
	padding: 22px 22px 18px;
}
.eauto-inquiry-modal__close {
	position: absolute;
	top: 8px; right: 10px;
	background: transparent;
	border: 0;
	font-size: 26px;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
	padding: 4px 8px;
}
.eauto-inquiry-modal__close:hover { color: #0f172a; }
.eauto-inquiry-modal .eauto-section-title {
	margin: 0 30px 12px 0;
	font-size: 18px;
	font-weight: 800;
	color: #0f172a;
}
body.eauto-inquiry-modal-open { overflow: hidden; }

@media (max-width: 600px) {
	.eauto-inquiry-modal { padding: 8px; }
	.eauto-inquiry-modal__dialog { padding: 18px 16px 14px; max-height: calc(100vh - 16px); }
}

/* =====================================================================
   v1.8.0 — Phase 9 PREMIUM FRONTEND UI/UX
   ---------------------------------------------------------------------
   Token-driven luxury dealership theme. Everything in this section is
   scoped to plugin-owned regions (.eauto-frontend, .eauto-container,
   .eauto-grid, etc.) so no theme CSS is overwritten globally.
   ===================================================================== */

/* Design tokens — exposed on the plugin's outermost wrapper so themes
   can override per-page via Customizer additional CSS if needed. */
.eauto-frontend,
.eauto-container,
.eauto-single,
.eauto-grid,
.eauto-cta,
.eauto-filter-card {
	--eauto-bg:           #ffffff;
	--eauto-bg-soft:      #f8fafc;
	--eauto-surface:      #ffffff;
	--eauto-border:       #e5e7eb;
	--eauto-border-soft:  #eef2f7;
	--eauto-text:         #0f172a;
	--eauto-text-soft:    #475569;
	--eauto-text-muted:   #94a3b8;
	--eauto-accent:       #1d4ed8;
	--eauto-accent-hover: #1e40af;
	--eauto-success:      #15803d;
	--eauto-danger:       #b91c1c;
	--eauto-warning:      #b45309;
	--eauto-radius-sm:    8px;
	--eauto-radius:       14px;
	--eauto-radius-lg:    20px;
	--eauto-shadow-sm:    0 1px 2px rgba(15, 23, 42, 0.04);
	--eauto-shadow:       0 4px 14px rgba(15, 23, 42, 0.08);
	--eauto-shadow-lg:    0 14px 32px rgba(15, 23, 42, 0.10);
	--eauto-font:         -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-family:          var(--eauto-font);
	color:                var(--eauto-text);
}

/* Inventory page shell. Wraps everything the plugin renders inside the
   archive / shortcode page so the typography + spacing reads premium
   even when the theme's header says "My Blog". */
.eauto-frontend { padding: 0 0 32px; background: var(--eauto-bg); }
.eauto-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.eauto-page-title {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin: 28px 0 18px;
	color: var(--eauto-text);
}
.eauto-section-title {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin: 22px 0 14px;
	color: var(--eauto-text);
}

/* Filter card — premium clean panel. */
.eauto-filter-card,
.eauto-filters,
form.eauto-filters {
	background: var(--eauto-surface);
	border: 1px solid var(--eauto-border);
	border-radius: var(--eauto-radius);
	box-shadow: var(--eauto-shadow-sm);
	padding: 18px 18px 12px;
	margin: 0 0 18px;
}
.eauto-filters label, .eauto-filter-card label {
	font-size: 12px;
	font-weight: 700;
	color: var(--eauto-text-soft);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.eauto-filters input[type="text"],
.eauto-filters input[type="number"],
.eauto-filters input[type="search"],
.eauto-filters select,
.eauto-filter-card input[type="text"],
.eauto-filter-card input[type="number"],
.eauto-filter-card select {
	width: 100%;
	height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--eauto-border);
	border-radius: var(--eauto-radius-sm);
	background: var(--eauto-bg);
	color: var(--eauto-text);
	font-size: 14px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.eauto-filters input:focus,
.eauto-filters select:focus,
.eauto-filter-card input:focus,
.eauto-filter-card select:focus {
	outline: none;
	border-color: var(--eauto-accent);
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.eauto-filters .button,
.eauto-filters button[type="submit"] {
	background: var(--eauto-accent); color: #fff; border: 0;
	height: 40px; padding: 0 18px; border-radius: var(--eauto-radius-sm);
	font-weight: 700; font-size: 14px; cursor: pointer;
	transition: background 0.15s ease;
}
.eauto-filters .button:hover,
.eauto-filters button[type="submit"]:hover { background: var(--eauto-accent-hover); }
.eauto-filters .button--secondary,
.eauto-filters .eauto-filter-reset {
	background: transparent; color: var(--eauto-text-soft);
	border: 1px solid var(--eauto-border);
}
.eauto-filters .button--secondary:hover,
.eauto-filters .eauto-filter-reset:hover { background: var(--eauto-bg-soft); }

/* Result count + sort row. */
.eauto-result-row, .eauto-toolbar-row {
	display: flex; gap: 14px; align-items: center; justify-content: space-between;
	flex-wrap: wrap; margin: 0 0 12px;
	font-size: 14px; color: var(--eauto-text-soft);
}
.eauto-result-count { font-weight: 700; color: var(--eauto-text); }

/* Active chips row. */
.eauto-chip {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--eauto-bg-soft);
	border: 1px solid var(--eauto-border);
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 12px; font-weight: 600;
	color: var(--eauto-text);
}
.eauto-chip__x {
	display: inline-flex; align-items: center; justify-content: center;
	width: 16px; height: 16px;
	background: var(--eauto-border); color: var(--eauto-text-soft);
	border-radius: 50%; border: 0; cursor: pointer; font-size: 12px; line-height: 1;
}
.eauto-chip__x:hover { background: var(--eauto-text-soft); color: #fff; }

/* Card grid. */
.eauto-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Card surface — applies to every preset by targeting outer card classes.
   HTML card presets (.eauto-pcard--html) are EXCLUDED: they bring their own
   .ehc-* surface + layout (c2/c6 use display:grid), and this generic rule was
   overriding their display and forcing flex-column inside the grid. */
.eauto-card2,
.eauto-card,
.eauto-vehicle-card,
.eauto-grid > article:not(.eauto-pcard--html),
.eauto-grid > .eauto-card-wrap {
	background: var(--eauto-surface);
	border: 1px solid var(--eauto-border);
	border-radius: var(--eauto-radius);
	overflow: hidden;
	box-shadow: var(--eauto-shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	display: flex; flex-direction: column;
}
.eauto-card2:hover,
.eauto-card:hover,
.eauto-vehicle-card:hover,
.eauto-grid > article:not(.eauto-pcard--html):hover,
.eauto-grid > .eauto-card-wrap:hover {
	transform: translateY(-2px);
	box-shadow: var(--eauto-shadow);
	border-color: #d1d5db;
}

/* Card image area. Stable aspect ratio, premium placeholder. */
.eauto-card2__media,
.eauto-card__media,
.eauto-card-image,
.eauto-grid figure {
	position: relative;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.eauto-card2__media img,
.eauto-card__media img,
.eauto-card-image img,
.eauto-grid figure img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform 0.4s ease;
}
.eauto-card2:hover .eauto-card2__media img,
.eauto-card:hover .eauto-card__media img,
.eauto-vehicle-card:hover .eauto-card-image img { transform: scale(1.04); }

/* No-image placeholder: cleaner luxury feel. */
.eauto-card2__no-image,
.eauto-card__no-image,
.eauto-no-image {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
	color: var(--eauto-text-muted);
	font-size: 13px; font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Status pill — sits on top of the image (overlay). */
.eauto-card2__media .eauto-status-pill,
.eauto-card__media .eauto-status-pill,
.eauto-grid figure .eauto-status-pill,
.eauto-card-image .eauto-status-pill {
	position: absolute; top: 12px; left: 12px;
	font-size: 11px; font-weight: 700;
	padding: 4px 10px; border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(4px);
	box-shadow: var(--eauto-shadow-sm);
}
.eauto-status-pill.is-available { color: var(--eauto-success); border: 1px solid #bbf7d0; }
.eauto-status-pill.is-reserved  { color: var(--eauto-warning); border: 1px solid #fde68a; }
.eauto-status-pill.is-sold      { color: var(--eauto-danger);  border: 1px solid #fecaca; }
.eauto-status-pill.is-out_stock { color: var(--eauto-danger);  border: 1px solid #fecaca; }

/* Card body. */
.eauto-card2__body,
.eauto-card__body,
.eauto-card-body {
	padding: 14px 16px 16px;
	display: flex; flex-direction: column; gap: 8px;
	flex: 1;
}
.eauto-card2__title,
.eauto-card__title,
.eauto-card-title {
	font-size: 17px; font-weight: 700;
	color: var(--eauto-text); line-height: 1.3;
	margin: 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
}
.eauto-card2__title a,
.eauto-card__title a { color: inherit; text-decoration: none; }
.eauto-card2__title a:hover,
.eauto-card__title a:hover { color: var(--eauto-accent); }

/* Card specs as compact rows (legacy template_1/2/3 use Brand/Model/Year/Color). */
.eauto-card2__body strong,
.eauto-card__body strong,
.eauto-card-body strong { font-weight: 600; color: var(--eauto-text-soft); }
.eauto-card2__body p,
.eauto-card__body p {
	margin: 0; font-size: 13px; color: var(--eauto-text);
	line-height: 1.5;
}

/* Price — prominent. */
.eauto-card2__price,
.eauto-card__price,
.eauto-card-price {
	font-size: 18px; font-weight: 800;
	color: var(--eauto-text); letter-spacing: -0.01em;
	margin-top: auto; padding-top: 8px;
}

/* Card CTA row. */
.eauto-card2__cta,
.eauto-card__cta,
.eauto-card-cta {
	display: flex; gap: 8px; flex-wrap: wrap;
	padding: 0 16px 16px;
}
.eauto-card2__cta .eauto-btn,
.eauto-card__cta .eauto-btn,
.eauto-card-cta .eauto-btn { flex: 1 1 auto; }

/* ----------------------------- BUTTONS ------------------------------ */
.eauto-frontend .eauto-btn,
.eauto-container .eauto-btn,
.eauto-single .eauto-btn,
.eauto-cta .eauto-btn,
.eauto-card2 .eauto-btn,
.eauto-card .eauto-btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 40px; padding: 0 16px;
	border-radius: var(--eauto-radius-sm);
	font-size: 14px; font-weight: 700;
	border: 1px solid transparent; cursor: pointer;
	text-decoration: none; line-height: 1;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.eauto-frontend .eauto-btn:active,
.eauto-single .eauto-btn:active { transform: translateY(1px); }

.eauto-frontend .eauto-btn--primary,
.eauto-single .eauto-btn--primary,
.eauto-cta .eauto-btn--primary {
	background: var(--eauto-text); color: #fff;
}
.eauto-frontend .eauto-btn--primary:hover,
.eauto-single .eauto-btn--primary:hover { background: #1e293b; }

.eauto-frontend .eauto-btn--accent,
.eauto-single .eauto-btn--accent {
	background: var(--eauto-accent); color: #fff;
}
.eauto-frontend .eauto-btn--accent:hover { background: var(--eauto-accent-hover); }

.eauto-frontend .eauto-btn--ghost,
.eauto-single .eauto-btn--ghost,
.eauto-card2 .eauto-btn--ghost {
	background: transparent; color: var(--eauto-text);
	border-color: var(--eauto-border);
}
.eauto-frontend .eauto-btn--ghost:hover,
.eauto-single .eauto-btn--ghost:hover { background: var(--eauto-bg-soft); }

.eauto-frontend .eauto-btn--link { background: none; color: var(--eauto-accent); border: 0; padding: 0; height: auto; }
.eauto-frontend .eauto-btn--link:hover { text-decoration: underline; }

/* Single vehicle page — premium layout. */
.eauto-single .eauto-container { padding-top: 18px; }
.eauto-single__hero {
	display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 28px;
	margin: 6px 0 28px;
}
.eauto-single__gallery img,
.eauto-single__gallery {
	width: 100%; border-radius: var(--eauto-radius);
	box-shadow: var(--eauto-shadow);
	overflow: hidden;
}
.eauto-single__gallery .eauto-no-image {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* CTA card on single page. */
.eauto-cta {
	background: var(--eauto-surface);
	border: 1px solid var(--eauto-border);
	border-radius: var(--eauto-radius);
	box-shadow: var(--eauto-shadow-sm);
	padding: 22px 22px 18px;
	display: flex; flex-direction: column; gap: 14px;
}
.eauto-cta__title,
.eauto-cta h1 {
	font-size: 26px; font-weight: 800; letter-spacing: -0.01em;
	margin: 0; color: var(--eauto-text);
}
.eauto-cta__price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.eauto-cta__price { font-size: 26px; font-weight: 800; color: var(--eauto-text); letter-spacing: -0.01em; }
.eauto-cta__specs-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.eauto-cta__specs-chips .eauto-chip { background: var(--eauto-bg-soft); }
.eauto-cta__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.eauto-cta__actions .eauto-btn { width: 100%; }
.eauto-cta__compare {
	display: flex; align-items: center; gap: 8px;
	padding: 10px 12px;
	background: var(--eauto-bg-soft);
	border-radius: var(--eauto-radius-sm);
}
.eauto-cta__back { padding-top: 4px; }

/* Specs table — premium clean. */
.eauto-specs { margin: 8px 0 24px; }
.eauto-specs__table {
	width: 100%;
	border-collapse: separate; border-spacing: 0;
	background: var(--eauto-surface);
	border: 1px solid var(--eauto-border);
	border-radius: var(--eauto-radius);
	overflow: hidden;
	box-shadow: var(--eauto-shadow-sm);
}
.eauto-specs__table th,
.eauto-specs__table td {
	padding: 12px 16px; font-size: 14px;
	border-bottom: 1px solid var(--eauto-border-soft);
}
.eauto-specs__table tr:last-child th,
.eauto-specs__table tr:last-child td { border-bottom: 0; }
.eauto-specs__table th {
	text-align: left; width: 38%;
	color: var(--eauto-text-soft); font-weight: 600;
	background: var(--eauto-bg-soft);
}
.eauto-specs__table td { color: var(--eauto-text); }

/* Description block. */
.eauto-description { margin: 8px 0 24px; }
.eauto-description__body {
	background: var(--eauto-surface);
	border: 1px solid var(--eauto-border);
	border-radius: var(--eauto-radius);
	padding: 18px 20px;
	box-shadow: var(--eauto-shadow-sm);
	font-size: 15px; line-height: 1.65; color: var(--eauto-text);
}

/* Admin mismatch notice — compact + amber, but small. */
.eauto-admin-note {
	position: relative;
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
	padding: 8px 36px 8px 12px;
	border-radius: var(--eauto-radius-sm);
	font-size: 12px;
	line-height: 1.4;
	margin: 8px 0 12px;
	box-shadow: var(--eauto-shadow-sm);
}
.eauto-admin-note strong { color: #78350f; font-weight: 700; }
.eauto-admin-note__x {
	position: absolute; top: 4px; right: 6px;
	border: 0; background: transparent; cursor: pointer;
	color: #b45309; font-size: 18px; line-height: 1; padding: 4px 8px;
}
.eauto-admin-note__x:hover { color: #78350f; }

/* Empty state. */
.eauto-empty-state {
	text-align: center;
	padding: 48px 20px;
	background: var(--eauto-surface);
	border: 1px dashed var(--eauto-border);
	border-radius: var(--eauto-radius);
	color: var(--eauto-text-soft);
}
.eauto-empty-state__title { font-size: 18px; font-weight: 700; color: var(--eauto-text); margin: 0 0 8px; }

/* Pagination. */
.eauto-pagination { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0 0; }
.eauto-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; height: 36px; padding: 0 10px;
	border: 1px solid var(--eauto-border);
	border-radius: var(--eauto-radius-sm);
	background: var(--eauto-surface);
	color: var(--eauto-text); text-decoration: none;
	font-size: 14px; font-weight: 600;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.eauto-pagination .page-numbers:hover { background: var(--eauto-bg-soft); }
.eauto-pagination .page-numbers.current {
	background: var(--eauto-text); color: #fff; border-color: var(--eauto-text);
}

/* Compare toolbar — uses Phase 7 markup, premium overrides. */
.eauto-compare-toolbar {
	padding: 10px 14px;
	border-radius: var(--eauto-radius);
	box-shadow: var(--eauto-shadow-sm);
}
.eauto-compare-toolbar__title { letter-spacing: -0.01em; font-size: 14px; }

/* Inquiry modal polish. */
.eauto-inquiry-modal__dialog {
	border-radius: var(--eauto-radius-lg);
	box-shadow: var(--eauto-shadow-lg);
}
.eauto-inquiry-modal__dialog .eauto-section-title {
	margin-top: 0;
	padding-right: 32px;
}
.eauto-inquiry-modal__vehicle-context {
	font-size: 13px; color: var(--eauto-text-soft);
	margin: 0 0 12px; padding: 0 0 12px;
	border-bottom: 1px solid var(--eauto-border-soft);
}
.eauto-inquiry-modal__vehicle-context strong { color: var(--eauto-text); font-weight: 700; }

/* Lead form polish (cleaner inputs + tabs). */
.eauto-lead-tabs {
	display: flex; gap: 6px; flex-wrap: wrap;
	margin: 0 0 14px;
	border-bottom: 1px solid var(--eauto-border-soft);
	padding-bottom: 2px;
}
.eauto-lead-tab {
	background: transparent; border: 0; cursor: pointer;
	padding: 8px 14px; font-size: 13px; font-weight: 700;
	color: var(--eauto-text-soft);
	border-bottom: 2px solid transparent;
	margin-bottom: -1px; border-radius: 0;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.eauto-lead-tab:hover { color: var(--eauto-text); }
.eauto-lead-tab.is-active { color: var(--eauto-accent); border-bottom-color: var(--eauto-accent); }
.eauto-lead-panel { display: none; }
.eauto-lead-panel.is-active { display: block; }
.eauto-lead-panel label {
	display: block;
	font-size: 12px; font-weight: 700; color: var(--eauto-text-soft);
	text-transform: uppercase; letter-spacing: 0.04em;
	margin: 10px 0 4px;
}
.eauto-lead-panel input[type="text"],
.eauto-lead-panel input[type="tel"],
.eauto-lead-panel input[type="email"],
.eauto-lead-panel textarea,
.eauto-lead-panel select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--eauto-border);
	border-radius: var(--eauto-radius-sm);
	background: var(--eauto-bg);
	color: var(--eauto-text); font-size: 14px;
	font-family: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.eauto-lead-panel input:focus,
.eauto-lead-panel textarea:focus,
.eauto-lead-panel select:focus {
	outline: none;
	border-color: var(--eauto-accent);
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.eauto-lead-panel textarea { min-height: 90px; resize: vertical; }
.eauto-lead-panel button[type="submit"] {
	background: var(--eauto-accent); color: #fff;
	border: 0; border-radius: var(--eauto-radius-sm);
	height: 44px; padding: 0 24px;
	font-size: 14px; font-weight: 700; cursor: pointer;
	margin-top: 14px;
	transition: background 0.15s ease;
}
.eauto-lead-panel button[type="submit"]:hover { background: var(--eauto-accent-hover); }

/* Compare page polish. */
.eauto-compare-page-header {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; flex-wrap: wrap;
	margin: 18px 0;
}
.eauto-compare-table {
	width: 100%;
	border-collapse: separate; border-spacing: 0;
	background: var(--eauto-surface);
	border: 1px solid var(--eauto-border);
	border-radius: var(--eauto-radius);
	box-shadow: var(--eauto-shadow-sm);
	overflow: hidden;
	margin: 0 0 24px;
}
.eauto-compare-table th, .eauto-compare-table td {
	padding: 12px 16px; font-size: 14px;
	border-bottom: 1px solid var(--eauto-border-soft);
	vertical-align: top;
}
.eauto-compare-table tr:last-child th, .eauto-compare-table tr:last-child td { border-bottom: 0; }
.eauto-compare-table th {
	background: var(--eauto-bg-soft); color: var(--eauto-text-soft);
	font-weight: 600; text-align: left; width: 220px;
}

/* CTA strip (homepage). */
.eauto-cta-strip {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #fff;
	padding: 36px 28px;
	border-radius: var(--eauto-radius-lg);
	box-shadow: var(--eauto-shadow);
	margin: 24px 0;
}
.eauto-cta-strip__title { font-size: 24px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.eauto-cta-strip__sub { color: rgba(255, 255, 255, 0.7); margin: 0 0 18px; font-size: 14px; }
.eauto-cta-strip .eauto-btn--primary { background: #fff; color: var(--eauto-text); }
.eauto-cta-strip .eauto-btn--primary:hover { background: #f1f5f9; }
.eauto-cta-strip .eauto-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.eauto-cta-strip .eauto-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Browse-by tiles. */
.eauto-browse-grid {
	display: grid; gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.eauto-browse-tile {
	display: flex; align-items: center; justify-content: center;
	padding: 22px 14px;
	background: var(--eauto-surface);
	border: 1px solid var(--eauto-border);
	border-radius: var(--eauto-radius);
	color: var(--eauto-text); text-decoration: none;
	font-weight: 700; font-size: 14px;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: var(--eauto-shadow-sm);
}
.eauto-browse-tile:hover {
	background: var(--eauto-bg-soft);
	transform: translateY(-2px);
	box-shadow: var(--eauto-shadow);
}

/* Hero search (homepage). */
.eauto-hero {
	background: linear-gradient(135deg, #0f172a 0%, #312e81 100%);
	color: #fff;
	padding: 44px 28px;
	border-radius: var(--eauto-radius-lg);
	margin: 20px 0;
	box-shadow: var(--eauto-shadow);
}
.eauto-hero__title { font-size: 30px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.01em; }
.eauto-hero__sub { color: rgba(255, 255, 255, 0.8); margin: 0 0 22px; font-size: 15px; }

/* Premium theme: dark_accent variant. */
.eauto-frontend.eauto-theme--dark-accent { --eauto-accent: #0f172a; --eauto-accent-hover: #1e293b; }
.eauto-frontend.eauto-theme--minimal {
	--eauto-shadow-sm: none; --eauto-shadow: none; --eauto-shadow-lg: none;
	--eauto-radius: 8px; --eauto-radius-lg: 10px;
}
.eauto-frontend.eauto-theme--minimal .eauto-card2,
.eauto-frontend.eauto-theme--minimal .eauto-card,
.eauto-frontend.eauto-theme--minimal .eauto-grid > article:not(.eauto-pcard--html) { box-shadow: none; }

/* Mobile responsive — single column, drawer-style controls. */
@media (max-width: 900px) {
	.eauto-single__hero { grid-template-columns: 1fr; gap: 20px; }
	.eauto-cta { padding: 18px 16px 16px; }
	.eauto-cta__title, .eauto-cta__price { font-size: 22px; }
	.eauto-cta__actions { grid-template-columns: 1fr 1fr; }
	.eauto-page-title { font-size: 26px; margin-top: 22px; }
	.eauto-section-title { font-size: 19px; }
}
@media (max-width: 600px) {
	.eauto-container { padding: 0 14px; }
	.eauto-grid { grid-template-columns: 1fr; gap: 14px; }
	.eauto-filters, .eauto-filter-card { padding: 14px 14px 8px; }
	.eauto-cta__actions { grid-template-columns: 1fr; }
	.eauto-specs__table th { width: 40%; }
	.eauto-result-row { flex-direction: column; align-items: stretch; }
	.eauto-result-row > * { width: 100%; }
	.eauto-hero { padding: 28px 18px; }
	.eauto-hero__title { font-size: 24px; }
	.eauto-cta-strip { padding: 24px 18px; }
	.eauto-cta-strip__title { font-size: 20px; }
}

/* Belt-and-braces — prevent horizontal overflow inside the plugin shell. */
.eauto-frontend, .eauto-container, .eauto-single, .eauto-grid, .eauto-cta { max-width: 100%; }
.eauto-frontend * { box-sizing: border-box; }

/* =====================================================================
   v1.8.1 — Phase 9 fixes: button styles, compare position, compare page
   ===================================================================== */

/* Button-style modifiers applied at the wrapper level. */
.eauto-button-style--outline .eauto-btn--primary,
.eauto-button-style--outline .eauto-btn--accent {
	background: transparent;
	color: var(--eauto-accent);
	border-color: var(--eauto-accent);
}
.eauto-button-style--outline .eauto-btn--primary:hover,
.eauto-button-style--outline .eauto-btn--accent:hover {
	background: var(--eauto-accent);
	color: #fff;
}
.eauto-button-style--outline .eauto-compare-toolbar__go {
	background: transparent;
	color: var(--eauto-accent);
	border: 1px solid var(--eauto-accent);
}
.eauto-button-style--outline .eauto-compare-toolbar__go:hover {
	background: var(--eauto-accent); color: #fff;
}
.eauto-button-style--outline .eauto-lead-panel button[type="submit"] {
	background: transparent;
	color: var(--eauto-accent);
	border: 1px solid var(--eauto-accent);
}
.eauto-button-style--outline .eauto-lead-panel button[type="submit"]:hover {
	background: var(--eauto-accent); color: #fff;
}

.eauto-button-style--pill .eauto-btn,
.eauto-button-style--pill .eauto-compare-toolbar__go,
.eauto-button-style--pill .eauto-compare-toolbar__clear,
.eauto-button-style--pill .eauto-lead-panel button[type="submit"],
.eauto-button-style--pill .eauto-cta-strip .eauto-btn {
	border-radius: 999px;
}

/* Compare toolbar position modes.
   Default (inline / both) = chrome visible.
   Sticky mode = hide the visible chrome but keep the form in the DOM so
   checkboxes with form="eauto-compare-form" still submit to /compare/.
*/
.eauto-compare-toolbar--pos-sticky {
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}
.eauto-compare-toolbar--pos-sticky .eauto-compare-toolbar__inner {
	display: none;
}
/* In sticky mode we still expose a tiny no-JS fallback so users without
   JavaScript can submit checked vehicles. JS hides this once it loads. */
.eauto-compare-toolbar--pos-sticky::before {
	content: '';
	display: block;
	height: 0;
}
.eauto-compare-toolbar--pos-sticky [data-eauto-compare-go] {
	position: absolute; left: -9999px; /* JS-enabled: hidden visually but submit-able */
}
html.no-js .eauto-compare-toolbar--pos-sticky [data-eauto-compare-go] {
	position: static; left: auto;
	display: inline-flex; margin: 8px 0;
}

/* Compare page (B2) — clean premium table using namespaced classes. */
.eauto-compare-table-wrap {
	overflow-x: auto;
	background: var(--eauto-surface);
	border: 1px solid var(--eauto-border);
	border-radius: var(--eauto-radius);
	box-shadow: var(--eauto-shadow-sm);
	padding: 12px;
}
.eauto-compare-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 14px;
}
.eauto-compare-table thead th {
	text-align: left;
	background: var(--eauto-bg-soft);
	color: var(--eauto-text);
	font-weight: 700;
	padding: 12px 14px;
	border-bottom: 1px solid var(--eauto-border);
}
.eauto-compare-table tbody th.eauto-compare-table__row-label {
	text-align: left;
	color: var(--eauto-text-soft);
	font-weight: 600;
	padding: 12px 14px;
	width: 200px;
	background: var(--eauto-bg-soft);
	border-bottom: 1px solid var(--eauto-border-soft);
}
.eauto-compare-table tbody td {
	padding: 12px 14px;
	color: var(--eauto-text);
	border-bottom: 1px solid var(--eauto-border-soft);
	vertical-align: top;
}
.eauto-compare-table tbody tr:last-child th,
.eauto-compare-table tbody tr:last-child td {
	border-bottom: 0;
}
.eauto-compare-table__title-link {
	text-decoration: none;
	color: var(--eauto-text);
	font-weight: 800;
}
.eauto-compare-table__title-link:hover { color: var(--eauto-accent); }

/* Mobile — let the table scroll horizontally inside its wrap. */
@media (max-width: 600px) {
	.eauto-compare-table-wrap { padding: 8px; }
	.eauto-compare-table tbody th.eauto-compare-table__row-label { width: 140px; }
}

/* =====================================================================
   v1.8.2 — Phase 9 fixes: B3 sticky-mode no-JS fallback row
   ---------------------------------------------------------------------
   The fallback row is rendered OUTSIDE .eauto-compare-toolbar__inner so
   it survives the sticky-position CSS rule that hides the inner. JS
   removes it inline (display:none) once init() runs.
   ===================================================================== */
.eauto-compare-toolbar__fallback {
	display: none;            /* default: hidden — the inner toolbar handles UX */
	margin: 8px 0 0;
}
.eauto-compare-toolbar__fallback .eauto-btn { min-width: 160px; }

/* In sticky mode the inner is hidden, so the fallback row must show
   until JS hides it. */
.eauto-compare-toolbar--pos-sticky .eauto-compare-toolbar__fallback {
	display: block;
}
/* Also drop the absolute-offscreen rule from 1.8.1 — the fallback row
   now provides the no-JS submit affordance correctly. */
.eauto-compare-toolbar--pos-sticky [data-eauto-compare-go] {
	position: static; left: auto;
}

/* =====================================================================
   v1.9.0 — Phase 10: image / gallery polish
   ---------------------------------------------------------------------
   Premium CSS placeholder block (used by Image_Resolver::render_placeholder
   and the inline onerror fallback). Stable layout (parent owns aspect
   ratio); never shows a broken-image icon.
   ===================================================================== */
.eauto-image-placeholder {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%; min-height: 120px;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	color: var(--eauto-text-muted, #94a3b8);
	font-size: 13px; font-weight: 600;
	letter-spacing: 0.05em; text-transform: uppercase;
	text-align: center;
	border-radius: inherit;
}
.eauto-image-placeholder__label { padding: 12px 18px; }

/* When the placeholder is inline-injected by onerror it has no width,
   so give it an aspect ratio guard so the card doesn't collapse. */
.eauto-card2 .eauto-image-placeholder,
.eauto-card .eauto-image-placeholder,
.eauto-grid figure .eauto-image-placeholder,
.eauto-card-image .eauto-image-placeholder {
	position: absolute; inset: 0;
}

/* Single-page gallery — premium polish. */
.eauto-gallery { display: flex; flex-direction: column; gap: 12px; }
.eauto-gallery__main {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	border-radius: var(--eauto-radius, 14px);
	overflow: hidden;
	box-shadow: var(--eauto-shadow, 0 4px 14px rgba(15, 23, 42, 0.08));
}
.eauto-gallery__main-img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.eauto-gallery__placeholder {
	width: 100%; aspect-ratio: 16 / 10;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	color: var(--eauto-text-muted, #94a3b8);
	font-size: 13px; font-weight: 600;
	border-radius: var(--eauto-radius, 14px);
}
.eauto-gallery__count {
	position: absolute; left: 12px; bottom: 12px;
	background: rgba(15, 23, 42, 0.78); color: #fff;
	font-size: 12px; font-weight: 700;
	padding: 4px 10px; border-radius: 999px;
	backdrop-filter: blur(4px);
}
.eauto-gallery__count::before {
	content: ''; display: inline-block;
	width: 10px; height: 10px; margin-right: 6px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 19V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/></svg>") center/contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 19V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/></svg>") center/contain no-repeat;
	vertical-align: -2px;
}

.eauto-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 8px;
}
.eauto-gallery__thumb {
	display: block; padding: 0; cursor: pointer;
	background: var(--eauto-surface, #fff);
	border: 2px solid transparent;
	border-radius: var(--eauto-radius-sm, 8px);
	overflow: hidden;
	transition: border-color 0.15s ease, transform 0.12s ease;
}
.eauto-gallery__thumb:hover { transform: translateY(-1px); }
.eauto-gallery__thumb:focus-visible {
	outline: none;
	border-color: var(--eauto-accent, #1d4ed8);
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
}
.eauto-gallery__thumb.is-active { border-color: var(--eauto-accent, #1d4ed8); }
.eauto-gallery__thumb-img {
	width: 100%; height: 80px; object-fit: cover; display: block;
}

@media (max-width: 600px) {
	.eauto-gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
	.eauto-gallery__thumb-img { height: 60px; }
}

/* v1.9.1 — Phase 10 fix: compare page image cell uses Image_Resolver. */
.eauto-compare__image {
	position: relative;
	width: 100%; max-width: 220px;
	aspect-ratio: 5 / 3;
	border-radius: var(--eauto-radius-sm, 8px);
	overflow: hidden;
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
.eauto-compare__image-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =====================================================================
   v1.10.3 (Phase 11 RC1) — Premium shell
   ---------------------------------------------------------------------
   Body classes added by Frontend::shell_body_class() on plugin pages.
   These are scoped (apply only on archive/single/compare/shortcode
   contexts) so they never touch the rest of the site.
   ===================================================================== */
body.eauto-shell--hide-title .entry-title,
body.eauto-shell--hide-title .page-title:not(.eauto-archive__title),
body.eauto-shell--hide-title .post-title,
body.eauto-shell--hide-title .archive-title,
body.eauto-shell--hide-title h1.wp-block-post-title { display: none !important; }

body.eauto-shell--canvas .site-content,
body.eauto-shell--canvas .content-area,
body.eauto-shell--canvas .entry-content,
body.eauto-shell--canvas main#main,
body.eauto-shell--canvas main#primary { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
body.eauto-shell--canvas .eauto-container { max-width: 1320px; margin-inline: auto; padding-inline: 24px; }

body.eauto-shell--premium .eauto-frontend { background: var(--eauto-bg, #fff); }

/* Elementor-rendered template wrapper — let Elementor own its own width.
   We add minimal scaffolding so the surrounding theme doesn't double-pad. */
.eauto-elementor-template { width: 100%; }
.eauto-elementor-template--single,
.eauto-elementor-template--archive,
.eauto-elementor-template--compare { margin: 0 auto; }

/* RC1 polish — small leftover bits */
.eauto-frontend .eauto-container { max-width: 1320px; padding-inline: 20px; }
@media (max-width: 480px) {
	.eauto-frontend .eauto-container { padding-inline: 14px; }
	.eauto-inquiry-modal { padding-inline: 8px; }
	.eauto-card2__title, .eauto-card2__titlelink { word-break: break-word; }
	.eauto-compare-toolbar__inner { flex-wrap: wrap; gap: 8px; }
}
html, body { overflow-x: hidden; } /* belt+braces against horizontal overflow on plugin pages */

/* ============================================================================
   v1.11.0 (Phase 12) — Premium Dubai/GCC dealership UI
   ============================================================================
   1. Premium cards (6 presets) — .eauto-pcard
   2. Type/Make/Model tags
   3. Icon-spec row
   4. List layout fix (image-left/content-right)
   5. Carousel layout
   6. Compare bar layouts (classic, premium_tray, compact_luxury)
   7. Compare page redesign
   8. Browse by Type (3 layouts)
   9. Hot Deal Car
   ============================================================================ */

/* ---------- 1. Premium card base (v1.11.7 fix7 / FIX 2 — rebuilt to match references) ---------- */
.eauto-pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eef2f6;
	border-radius: 18px;
	overflow: hidden;
	transition: transform .28s ease, box-shadow .28s ease;
	font-family: var(--eauto-font, inherit);
	box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.eauto-pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15,23,42,.14); }
.eauto-pcard__media {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	margin: 12px 12px 0 12px;
	aspect-ratio: 16/10;
	background: #f1f5f9;
}
.eauto-pcard__imglink { display: block; width: 100%; height: 100%; }
.eauto-pcard__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.eauto-pcard:hover .eauto-pcard__img { transform: scale(1.04); }
.eauto-pcard__noimg { width: 100%; height: 100%; background: linear-gradient(135deg,#e2e8f0,#cbd5e1); }

.eauto-pcard__badge,
.eauto-pcard__hotdeal {
	position: absolute; top: 14px; left: 14px;
	padding: 7px 16px; border-radius: 999px;
	font-size: 12px; font-weight: 700; line-height: 1;
	letter-spacing: .01em; z-index: 2;
	box-shadow: 0 4px 12px rgba(15,23,42,.18);
}
.eauto-pcard__badge { background: #16a34a; color: #fff; }
.eauto-pcard__hotdeal { background: #e11d2a; color: #fff; }
.eauto-pcard__brand-chip {
	position: absolute; bottom: 14px; left: 14px;
	padding: 6px 13px; border-radius: 8px;
	background: rgba(15,23,42,.82); color: #fff;
	font-size: 11px; font-weight: 700; letter-spacing: .06em;
	backdrop-filter: blur(4px);
}

.eauto-pcard__body { padding: 18px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.eauto-pcard__title { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: #0b1220; }
.eauto-pcard__title a { color: inherit; text-decoration: none; }
.eauto-pcard__title a:hover { color: #b91c1c; }
/* Subtitle line (muted descriptor under the title, like the references) */
.eauto-pcard__subtitle {
	margin: -4px 0 0; font-size: 13.5px; color: #94a3b8; line-height: 1.4;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Type/Make/Model tags */
.eauto-pcard__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.eauto-pcard__tag {
	display: inline-flex; align-items: center;
	padding: 4px 11px; border-radius: 999px;
	background: #f1f5f9; color: #475569;
	font-size: 11px; font-weight: 600; letter-spacing: .02em;
	border: 1px solid transparent;
}
.eauto-pcard__tag--type  { background: #fef2f2; color: #b91c1c; border-color: #fee2e2; }
.eauto-pcard__tag--make  { background: #eef2ff; color: #3730a3; border-color: #e0e7ff; }
.eauto-pcard__tag--model { background: #f7fee7; color: #4d7c0f; border-color: #ecfccb; }

/* Icon-spec row */
.eauto-pcard__specs {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
	padding-top: 14px; border-top: 1px solid #f1f5f9;
}
.eauto-pcard__spec { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.eauto-pcard__spec-icon { color: #94a3b8; display: inline-flex; }
.eauto-pcard__spec-icon svg { width: 20px; height: 20px; }
.eauto-pcard__spec-val { font-size: 12px; color: #1e293b; font-weight: 600; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* Price + view footer */
.eauto-pcard__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; margin-top: 2px; border-top: 1px solid #f1f5f9; }
.eauto-pcard__price { display: flex; align-items: baseline; gap: 6px; }
.eauto-pcard__price-cur { font-size: 12px; color: #94a3b8; font-weight: 700; }
.eauto-pcard__price-amt { font-size: 22px; font-weight: 800; color: #0b1220; letter-spacing: -.02em; }
.eauto-pcard__view {
	color: #2563eb; font-weight: 700; font-size: 14px;
	text-decoration: none; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.eauto-pcard__view::after { content: '↗'; transition: transform .2s; }
.eauto-pcard__view:hover::after { transform: translate(2px,-2px); }

.eauto-pcard__compare { margin-top: 10px; }
.eauto-pcard__inquire {
	margin-top: 10px; text-align: center;
	padding: 11px 14px; border-radius: 12px;
	background: #0b1220; color: #fff !important; font-weight: 700; font-size: 13.5px;
	text-decoration: none; display: block; transition: background .2s, transform .2s;
}
.eauto-pcard__inquire:hover { background: #1e293b; transform: translateY(-1px); }

/* ---------- Preset variants (v1.11.7 fix7 — each genuinely distinct) ---------- */

/* === Dubai Luxury Light === light premium, brand chip, count chips, pill specs, outlined Compare + green View */
.eauto-pcard--dubai_luxury_light { background: #fff; border: 1px solid #e8edf3; border-radius: 20px; }
.eauto-pcard--dubai_luxury_light .eauto-pcard__specs {
	grid-template-columns: 1fr; gap: 0; border-top: none; padding-top: 4px;
}
.eauto-pcard--dubai_luxury_light .eauto-pcard__spec {
	flex-direction: row; justify-content: flex-start; gap: 8px;
	display: inline-flex; width: auto;
}
.eauto-pcard--dubai_luxury_light .eauto-pcard__specs {
	display: flex; flex-wrap: wrap; gap: 10px 16px;
}
.eauto-pcard--dubai_luxury_light .eauto-pcard__view { color: #16a34a; }
.eauto-pcard--dubai_luxury_light .eauto-pcard__view::after { content: '⊙'; }
.eauto-pcard--dubai_luxury_light .eauto-pcard__footer { border-top-color: #eef2f6; }

/* === Dubai Luxury Dark === dark navy, white text, View Details ↗ */
.eauto-pcard--dubai_luxury_dark { background: #0b1530; border-color: #16224a; color: #f8fafc; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__title,
.eauto-pcard--dubai_luxury_dark .eauto-pcard__title a { color: #f8fafc; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__title a:hover { color: #fca5a5; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__subtitle { color: #8aa0c6; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__specs,
.eauto-pcard--dubai_luxury_dark .eauto-pcard__footer { border-top-color: rgba(255,255,255,.12); }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__spec-icon { color: #93a4c4; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__spec-val { color: #dbe3f0; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__price-cur { color: #93a4c4; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__price-amt { color: #fff; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__tag { background: rgba(255,255,255,.08); color: #dbe3f0; border-color: transparent; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__tag--type { background: rgba(225,29,42,.22); color: #fecaca; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__tag--make { background: rgba(99,102,241,.22); color: #c7d2fe; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__tag--model { background: rgba(132,204,22,.2); color: #d9f99d; }
.eauto-pcard--dubai_luxury_dark .eauto-pcard__view { color: #93c5fd; }

/* === Premium Horizontal Showroom === dark, image-LEFT / content-RIGHT, white pill footer + red View */
.eauto-pcard--premium_horizontal_showroom {
	flex-direction: row; align-items: stretch;
	background: #0b1530; border-color: #16224a; color: #f8fafc;
}
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__media {
	flex: 0 0 44%; max-width: 44%; aspect-ratio: auto; margin: 14px 0 14px 14px;
}
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__body { flex: 1 1 56%; padding: 18px 20px; justify-content: center; }
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__title,
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__title a { color: #fff; }
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__subtitle { color: #8aa0c6; }
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__specs {
	grid-template-columns: repeat(4, 1fr); border-top-color: rgba(255,255,255,.12);
}
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__spec { flex-direction: column; }
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__spec-icon { color: #93a4c4; }
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__spec-val { color: #dbe3f0; }
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__footer {
	background: #fff; border-radius: 999px; padding: 8px 8px 8px 20px; margin-top: 14px; border-top: none;
}
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__price-cur { color: #64748b; }
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__price-amt { color: #0b1220; }
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__view {
	background: #e11d2a; color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 13px;
}
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__view::after { display: none; }
.eauto-pcard--premium_horizontal_showroom .eauto-pcard__brand-chip { bottom: auto; top: 14px; }

/* === Compact Icon Card === light, "Great Price" pill, 3 centered icon specs, blue View ↗ */
.eauto-pcard--compact_icon_card { border-radius: 16px; }
.eauto-pcard--compact_icon_card .eauto-pcard__body { padding: 16px; gap: 10px; }
.eauto-pcard--compact_icon_card .eauto-pcard__title { font-size: 17px; }
.eauto-pcard--compact_icon_card .eauto-pcard__specs { grid-template-columns: repeat(3, 1fr); }
.eauto-pcard--compact_icon_card .eauto-pcard__badge { background: #16a34a; }
.eauto-pcard--compact_icon_card .eauto-pcard__tags { display: none; } /* compact: keep it clean */

/* === Hot Deal Showcase === dark, red Hot Deal pill, dividers between specs, white pill footer + red View === */
.eauto-pcard--hot_deal_showcase { background: #0a0a0c; border: 1px solid #1c1c20; color: #f8fafc; }
.eauto-pcard--hot_deal_showcase .eauto-pcard__media { aspect-ratio: 16/10; }
.eauto-pcard--hot_deal_showcase .eauto-pcard__title,
.eauto-pcard--hot_deal_showcase .eauto-pcard__title a { color: #fff; }
.eauto-pcard--hot_deal_showcase .eauto-pcard__subtitle { color: #6b7280; }
.eauto-pcard--hot_deal_showcase .eauto-pcard__specs {
	border-top-color: rgba(255,255,255,.1);
}
.eauto-pcard--hot_deal_showcase .eauto-pcard__spec { position: relative; }
.eauto-pcard--hot_deal_showcase .eauto-pcard__spec + .eauto-pcard__spec::before {
	content: ''; position: absolute; left: -5px; top: 50%; transform: translateY(-50%);
	width: 1px; height: 28px; background: rgba(255,255,255,.12);
}
.eauto-pcard--hot_deal_showcase .eauto-pcard__spec-val { color: #e2e8f0; }
.eauto-pcard--hot_deal_showcase .eauto-pcard__spec-icon { color: #f87171; }
.eauto-pcard--hot_deal_showcase .eauto-pcard__footer {
	background: #fff; border-radius: 999px; padding: 7px 7px 7px 20px; border-top: none; margin-top: 14px;
}
.eauto-pcard--hot_deal_showcase .eauto-pcard__price-cur { color: #64748b; }
.eauto-pcard--hot_deal_showcase .eauto-pcard__price-amt { color: #0b1220; font-size: 18px; }
.eauto-pcard--hot_deal_showcase .eauto-pcard__view {
	background: #e11d2a; color: #fff !important;
	padding: 11px 22px; border-radius: 999px; font-size: 13px;
}
.eauto-pcard--hot_deal_showcase .eauto-pcard__view::after { display: none; }

/* === Minimal Luxury Grid === clean light, dot-separated specs, blue View ↗ === */
.eauto-pcard--minimal_luxury_grid { background: #fff; border: 1px solid #eef2f6; border-radius: 16px; box-shadow: 0 1px 3px rgba(15,23,42,.05); }
.eauto-pcard--minimal_luxury_grid .eauto-pcard__specs {
	display: flex; flex-wrap: wrap; gap: 0; border-top: none; padding-top: 2px;
}
.eauto-pcard--minimal_luxury_grid .eauto-pcard__spec { flex-direction: row; gap: 6px; }
.eauto-pcard--minimal_luxury_grid .eauto-pcard__spec-icon { display: none; }
.eauto-pcard--minimal_luxury_grid .eauto-pcard__spec + .eauto-pcard__spec::before {
	content: '·'; margin: 0 10px 0 0; color: #cbd5e1; font-weight: 700;
}
.eauto-pcard--minimal_luxury_grid .eauto-pcard__tags { display: none; }
.eauto-pcard--minimal_luxury_grid .eauto-pcard__footer { border-top-color: #eef2f6; }

/* ---------- 2. Compare bar — 3 layouts ---------- */
.eauto-compare-toolbar--layout-premium_tray.is-sticky {
	position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
	z-index: 9999; width: min(1280px, calc(100vw - 32px));
	background: #fff; border-radius: 14px;
	box-shadow: 0 20px 50px rgba(15,23,42,.2);
	padding: 14px 18px;
	border: 1px solid #e2e8f0;
}
.eauto-compare-toolbar--layout-premium_tray.is-sticky::after {
	content: ''; position: absolute; left: 18px; right: 200px; bottom: -1px;
	height: 3px; background: #84cc16; border-radius: 999px;
}
.eauto-compare-toolbar--layout-premium_tray .eauto-compare-pills { display: flex; gap: 14px; align-items: center; flex: 1; flex-wrap: wrap; }
.eauto-compare-pills__pill {
	display: flex; align-items: center; gap: 10px;
	padding: 6px 14px 6px 6px;
}
.eauto-compare-pills__remove {
	width: 22px; height: 22px; border-radius: 999px;
	background: #f1f5f9; color: #64748b; border: 0;
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer; font-size: 14px;
}
.eauto-compare-pills__remove:hover { background: #fee2e2; color: #b91c1c; }
.eauto-compare-pills__thumb { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; background: #f1f5f9; }
.eauto-compare-pills__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.eauto-compare-pills__title { font-weight: 600; font-size: 14px; color: #0f172a; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eauto-compare-pills__meta { display: flex; gap: 8px; font-size: 11px; color: #64748b; }
.eauto-compare-pills__meta span { display: inline-flex; align-items: center; gap: 3px; }

.eauto-compare-toolbar--layout-premium_tray .eauto-compare-toolbar__cta {
	background: #0f172a !important; color: #fff !important;
	padding: 12px 24px; border-radius: 10px; font-weight: 700;
}

.eauto-compare-toolbar--layout-compact_luxury.is-sticky {
	position: fixed; left: 0; right: 0; bottom: 0;
	z-index: 9999; background: #0f172a; color: #fff;
	padding: 12px 24px;
}
.eauto-compare-toolbar--layout-compact_luxury .eauto-compare-toolbar__cta { background: #ef4444 !important; }

/* Hide sticky tray on compare page */
body.eauto-shell--compare .eauto-compare-toolbar.is-sticky { display: none !important; }

/* ---------- 3. Compare page redesign ---------- */
.eauto-cmpx { max-width: 1280px; margin: 0 auto; padding: 32px 20px; }
.eauto-cmpx__heading { text-align: center; margin: 0 0 8px; font-size: 32px; font-weight: 800; color: #0f172a; }
.eauto-cmpx__sub { text-align: center; color: #64748b; margin: 0 0 32px; font-size: 15px; }
.eauto-cmpx__grid {
	display: grid; grid-template-columns: 220px repeat(var(--eauto-cmpx-cols, 3), 1fr);
	gap: 16px; align-items: stretch;
}
.eauto-cmpx__col-head {
	text-align: center; padding: 16px 12px;
	border-radius: 12px; background: #fff;
	position: relative;
}
.eauto-cmpx__col-head img { width: 100%; max-width: 220px; height: 140px; object-fit: cover; border-radius: 10px; margin: 0 auto 10px; display: block; }
.eauto-cmpx__col-head h3 { margin: 8px 0 0; font-size: 15.5px; font-weight: 700; color: #0f172a; }
.eauto-cmpx__col-remove {
	position: absolute; top: 8px; right: 8px;
	width: 28px; height: 28px; border-radius: 999px;
	background: #f1f5f9; color: #64748b; border: 0;
	cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.eauto-cmpx__col-remove:hover { background: #fee2e2; color: #b91c1c; }

.eauto-cmpx__row-label,
.eauto-cmpx__row-cell {
	display: flex; align-items: center;
	padding: 14px 16px; background: #fff;
	border-radius: 10px; border: 1px solid #e2e8f0;
}
.eauto-cmpx__row-label { gap: 10px; color: #0f172a; font-weight: 600; font-size: 14px; }
.eauto-cmpx__row-label svg { color: #b91c1c; }
.eauto-cmpx__row-cell { justify-content: center; color: #475569; font-size: 14px; }
.eauto-cmpx__row { display: contents; }

.eauto-cmpx__inquire-row { grid-column: 1 / -1; display: grid; grid-template-columns: 220px repeat(var(--eauto-cmpx-cols, 3), 1fr); gap: 16px; margin-top: 4px; }
.eauto-cmpx__inquire-row .eauto-cmpx__inquire {
	display: block; text-align: center; padding: 10px 16px;
	background: #0f172a; color: #fff; text-decoration: none;
	border-radius: 10px; font-weight: 600; font-size: 13.5px;
}
.eauto-cmpx__accent {
	height: 4px; background: #84cc16; border-radius: 999px;
	margin: 18px 0 0; max-width: 60%;
}
.eauto-cmpx__empty {
	text-align: center; padding: 60px 20px;
	background: #fff; border: 1px dashed #cbd5e1; border-radius: 16px;
}
.eauto-cmpx__empty h2 { font-size: 22px; color: #0f172a; margin: 0 0 8px; }
.eauto-cmpx__empty p  { color: #64748b; margin: 0 0 16px; }
.eauto-cmpx__empty a  { background: #0f172a; color: #fff; padding: 12px 24px; border-radius: 10px; text-decoration: none; font-weight: 600; }

/* ---------- 4. Browse by Type (3 layouts) ---------- */
.eauto-types { margin: 24px 0; }
.eauto-types__head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; }
.eauto-types__head h2 { margin: 0; font-size: 28px; font-weight: 800; color: #0f172a; }
.eauto-types__view-all {
	background: #ef4444; color: #fff; padding: 10px 22px;
	border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px;
}

/* Layout 1: Image Cards */
.eauto-types--image_cards .eauto-types__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eauto-types--image_cards .eauto-type-card {
	position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5;
	background: #1f2937; color: #fff; text-decoration: none;
	display: block;
}
.eauto-types--image_cards .eauto-type-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eauto-types--image_cards .eauto-type-card__label {
	position: absolute; bottom: 14px; left: 14px; right: 14px;
	background: #fff; color: #0f172a; padding: 14px 16px;
	border-radius: 12px; display: flex; align-items: center; justify-content: space-between;
}
.eauto-types--image_cards .eauto-type-card__name { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.eauto-types--image_cards .eauto-type-card__count { font-size: 12px; color: #64748b; margin-top: 2px; }
.eauto-types--image_cards .eauto-type-card__arrow {
	width: 36px; height: 36px; border-radius: 999px; background: #ef4444; color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
}

/* Layout 2: Dark Overlay Strip */
.eauto-types--dark_overlay_strip {
	background: #111827; padding: 32px;
	border-radius: 18px; position: relative; overflow: hidden;
}
.eauto-types--dark_overlay_strip .eauto-types__head h2 { color: #fff; font-size: 32px; }
.eauto-types--dark_overlay_strip .eauto-types__strip { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 14px; }
.eauto-types--dark_overlay_strip .eauto-type-card {
	flex: 0 0 130px; background: rgba(255,255,255,.06);
	padding: 18px 14px; border-radius: 12px; color: #fff;
	text-align: center; text-decoration: none; backdrop-filter: blur(4px);
	transition: background .2s;
}
.eauto-types--dark_overlay_strip .eauto-type-card:hover { background: rgba(255,255,255,.12); }
.eauto-types--dark_overlay_strip .eauto-type-card__icon { color: #fff; margin-bottom: 6px; display: block; }
.eauto-types--dark_overlay_strip .eauto-type-card__icon svg { width: 32px; height: 32px; }
.eauto-types--dark_overlay_strip .eauto-type-card__name { font-size: 14px; font-weight: 600; }
.eauto-types--dark_overlay_strip .eauto-types__viewall-pill {
	margin-left: auto; background: rgba(255,255,255,.1); color: #fff;
	padding: 10px 20px; border-radius: 999px; text-decoration: none;
	display: inline-flex; align-items: center; gap: 6px; font-size: 14px;
}

/* Layout 3: Clean Icon Grid */
.eauto-types--clean_icon_grid .eauto-types__grid {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.eauto-types--clean_icon_grid .eauto-type-card {
	background: #fff; border-radius: 14px; padding: 16px; text-decoration: none;
	display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 3px rgba(15,23,42,.06);
	transition: transform .2s, box-shadow .2s;
}
.eauto-types--clean_icon_grid .eauto-type-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15,23,42,.1); }
.eauto-types--clean_icon_grid .eauto-type-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: #f1f5f9; }
.eauto-types--clean_icon_grid .eauto-type-card__name { font-size: 17px; font-weight: 700; color: #0f172a; }
.eauto-types--clean_icon_grid .eauto-type-card__count { font-size: 12px; color: #64748b; }

/* ---------- 5. Hot Deal Car widget ---------- */
.eauto-hotdeal { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; padding: 32px 0; }
.eauto-hotdeal__main { position: relative; }
.eauto-hotdeal__main img { width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.eauto-hotdeal__pill {
	position: absolute; top: 0; left: 0;
	background: #ef4444; color: #fff;
	padding: 8px 18px; border-radius: 999px;
	font-weight: 700; font-size: 14px;
}
.eauto-hotdeal__right { display: flex; gap: 16px; }
.eauto-hotdeal__thumbs { display: flex; flex-direction: column; gap: 10px; }
.eauto-hotdeal__thumb { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; border: 2px solid transparent; cursor: pointer; }
.eauto-hotdeal__thumb.is-active { border-color: #ef4444; }
.eauto-hotdeal__info {
	flex: 1; background: #f8fafc; border-radius: 16px; padding: 24px;
	display: flex; flex-direction: column; gap: 14px;
}
.eauto-hotdeal__title { margin: 0; font-size: 22px; font-weight: 700; color: #0f172a; }
.eauto-hotdeal__desc { color: #64748b; line-height: 1.5; margin: 0; font-size: 14px; }
.eauto-hotdeal__specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
.eauto-hotdeal__spec { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: #475569; }
.eauto-hotdeal__spec svg { color: #b91c1c; }
.eauto-hotdeal__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
.eauto-hotdeal__price {
	background: #fff; padding: 10px 18px; border-radius: 999px;
	font-weight: 700; color: #0f172a; font-size: 17px;
}
.eauto-hotdeal__cta {
	background: #ef4444; color: #fff !important; text-decoration: none;
	padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 14px;
}
.eauto-hotdeal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.eauto-hotdeal__actions a {
	flex: 1; text-align: center; padding: 10px 14px;
	border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 13.5px;
	border: 1px solid #cbd5e1; color: #0f172a; background: #fff;
}

/* ---------- 6. List layout fix ---------- */
.eauto-listing--list .eauto-card2,
.eauto-listing--list .eauto-pcard:not(.eauto-pcard--html) { flex-direction: row; align-items: stretch; }
.eauto-listing--list .eauto-pcard:not(.eauto-pcard--html) .eauto-pcard__media,
.eauto-listing--list .eauto-card2--horizontal .eauto-card2__media { flex: 0 0 42%; max-width: 42%; }
.eauto-listing--list .eauto-pcard:not(.eauto-pcard--html) .eauto-pcard__body,
.eauto-listing--list .eauto-card2--horizontal .eauto-card2__body { flex: 1; }

/* ---------- 7. Carousel layout (v1.11.7 fix7 / FIX 4 — real premium carousel) ----------
   The track still scrolls programmatically (scrollLeft) and via touch
   swipe, but the NATIVE SCROLLBAR IS HIDDEN so the live UI never shows
   the ugly grey bar from the developer screenshot. Arrows + dots are
   injected by carousel.js (so a no-JS page degrades to a clean, scrollable
   strip with no dead controls). One arrow click = one card. */
.eauto-listing--carousel { position: relative; padding: 0 8px; }
.eauto-listing--carousel .eauto-grid {
	display: flex !important;
	gap: 18px;
	grid-template-columns: none !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 2px 6px;
	-webkit-overflow-scrolling: touch;
	/* hide native scrollbar across engines */
	scrollbar-width: none;            /* Firefox */
	-ms-overflow-style: none;         /* IE/old Edge */
}
.eauto-listing--carousel .eauto-grid::-webkit-scrollbar { width: 0; height: 0; display: none; } /* WebKit/Blink */
.eauto-listing--carousel .eauto-grid > * {
	flex: 0 0 calc(33.333% - 12px);
	scroll-snap-align: start;
	min-width: 280px;
}
@media (max-width: 1024px) {
	.eauto-listing--carousel .eauto-grid > * { flex-basis: calc(50% - 9px); }
}
@media (max-width: 600px) {
	.eauto-listing--carousel .eauto-grid > * { flex-basis: 86%; min-width: 240px; }
}
.eauto-carousel__arrow {
	position: absolute; top: calc(50% - 30px); z-index: 5;
	width: 46px; height: 46px; border-radius: 999px;
	background: #fff; color: #0b1220;
	border: 1px solid #e2e8f0; box-shadow: 0 8px 22px rgba(15,23,42,.16);
	cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	transition: background .2s, color .2s, transform .2s, opacity .2s;
}
.eauto-carousel__arrow svg { width: 20px; height: 20px; }
.eauto-carousel__arrow--prev { left: -6px; }
.eauto-carousel__arrow--next { right: -6px; }
.eauto-carousel__arrow:hover { background: #0b1220; color: #fff; transform: scale(1.06); }
.eauto-carousel__arrow[disabled] { opacity: .35; cursor: default; pointer-events: none; }
.eauto-carousel__dots { display: flex; gap: 7px; justify-content: center; margin-top: 14px; }
.eauto-carousel__dot { width: 8px; height: 8px; border-radius: 999px; background: #cbd5e1; border: 0; cursor: pointer; transition: width .2s, background .2s; padding: 0; }
.eauto-carousel__dot.is-active { background: #e11d2a; width: 26px; border-radius: 4px; }
/* JS-free fallback: hide injected control containers only when not ready */
.eauto-listing--carousel:not([data-eauto-carousel-ready]) .eauto-carousel__arrow,
.eauto-listing--carousel:not([data-eauto-carousel-ready]) .eauto-carousel__dots { display: none; }

/* ---------- 8. Columns control — per-breakpoint via CSS vars from Sections ----------
   v1.11.1 (fix1): the grid element ALSO carries the legacy `.eauto-grid` class
   plus an inline `style` attribute. The legacy rules in this file at
   `.eauto-grid[style]` use !important to clamp tablet/mobile column counts.
   Our new rules use the same specificity weight (one class + one attribute)
   and MUST appear later in the file with !important to win the cascade.
   The `data-eauto-responsive-cols="1"` attribute (added by Sections only when
   the Vehicle Listing widget passed cols_desktop/tablet/mobile) opts in. */
.eauto-grid.eauto-cards-grid[data-eauto-responsive-cols="1"] {
	grid-template-columns: repeat(var(--eauto-cols-desktop, 4), minmax(0, 1fr)) !important;
}
@media (max-width: 1024px) {
	.eauto-grid.eauto-cards-grid[data-eauto-responsive-cols="1"] {
		grid-template-columns: repeat(var(--eauto-cols-tablet, 2), minmax(0, 1fr)) !important;
	}
}
@media (max-width: 600px) {
	.eauto-grid.eauto-cards-grid[data-eauto-responsive-cols="1"] {
		grid-template-columns: repeat(var(--eauto-cols-mobile, 1), minmax(0, 1fr)) !important;
	}
}

/* ---------- 8b. Per-breakpoint visible-row clamp (v1.11.6 fix6 / BLOCKER 1) ----------
   The hardcoded `[style*="--eauto-visible-N;"]` selector ladder that
   lived here in fix5 only covered selected common products and could
   not clamp valid-but-uncommon settings (e.g. 4×7=28, 3×5=15, 2×7=14).
   It has been REPLACED by a scoped inline <style> emitted per Vehicle
   Listing instance (see Sections::listing_inner): each clamped grid
   gets a unique class `.eauto-lst-XXXXXXXXXX` plus generated
   nth-child(n+N) media-query rules for the exact desktop/tablet/mobile
   visible counts. That works for every valid combination without an
   incomplete ladder here. No global clamp rule is needed in this file. */

/* ---------- 9. Responsive — mobile compare page + hot deal stack ---------- */
@media (max-width: 768px) {
	.eauto-cmpx__grid { grid-template-columns: 1fr; }
	.eauto-cmpx__row { display: block; }
	.eauto-cmpx__row-label { background: #f1f5f9; }
	.eauto-cmpx__inquire-row { grid-template-columns: 1fr; }
	.eauto-hotdeal { grid-template-columns: 1fr; padding: 16px 0; }
	.eauto-hotdeal__right { flex-direction: column; }
	.eauto-hotdeal__thumbs { flex-direction: row; }
	.eauto-types--image_cards .eauto-types__grid { grid-template-columns: repeat(2, 1fr); }
	.eauto-types--clean_icon_grid .eauto-types__grid { grid-template-columns: repeat(2, 1fr); }
	.eauto-pcard--premium_horizontal_showroom { flex-direction: column; }
	.eauto-pcard--premium_horizontal_showroom .eauto-pcard__media { flex: 1; max-width: 100%; margin: 12px 12px 0 12px; }
	.eauto-listing--list .eauto-pcard,
	.eauto-listing--list .eauto-card2 { flex-direction: column; }
	.eauto-listing--list .eauto-pcard .eauto-pcard__media,
	.eauto-listing--list .eauto-card2--horizontal .eauto-card2__media { flex: 1; max-width: 100%; }
	.eauto-compare-toolbar--layout-premium_tray.is-sticky { width: calc(100vw - 16px); border-radius: 12px; padding: 10px 12px; }
	.eauto-compare-pills__title { max-width: 130px; }
}

/* ============================================================
   v1.11.5 (fix5) — FIX 5 (list/carousel safety) + FIX 6 (mobile polish)
   Appended last so these rules win the cascade without !important
   except where overriding an inline style attribute is required.
   ============================================================ */

/* ---- FIX 5: list layout image safety + CTA alignment ---- */
.eauto-listing--list .eauto-pcard__media,
.eauto-listing--list .eauto-card2__media {
	position: relative;
	overflow: hidden;            /* no stretched/overflowing images */
}
.eauto-listing--list .eauto-pcard__media .eauto-pcard__img,
.eauto-listing--list .eauto-card2__media .eauto-card2__img {
	width: 100%;
	height: 100%;
	object-fit: cover;           /* fill the media box without distortion */
	display: block;
}
.eauto-listing--list .eauto-pcard__body {
	display: flex;
	flex-direction: column;
}
/* push the CTA row to the bottom so list rows of varying text length
   keep their buttons aligned */
.eauto-listing--list .eauto-pcard__footer { margin-top: auto; }
.eauto-listing--list .eauto-pcard__inquire { align-self: flex-start; }

/* ---- FIX 5: carousel no-JS fallback ----
   If carousel.js is absent (disabled / failed), the track is still a
   horizontal-scroll flex strip (set in section 7). Arrows/dots are
   inert without JS, so hide them when the carousel has not been
   initialised — the [data-eauto-carousel-ready] attr is added by the
   JS on init. This keeps a clean scroll-only fallback with no dead
   controls. */
.eauto-listing--carousel:not([data-eauto-carousel-ready]) .eauto-carousel__arrow,
.eauto-listing--carousel:not([data-eauto-carousel-ready]) .eauto-carousel__dots {
	display: none;
}

/* ---- FIX 6: 375px polish — no overflow, no overlap, clean boxes ---- */
@media (max-width: 480px) {
	/* Global guard: nothing in the plugin's frontend should force the
	   viewport wider than the screen. */
	.eauto-shell, .eauto-listing, .eauto-cards-grid,
	.eauto-types, .eauto-hotdeal, .eauto-cmpx {
		max-width: 100%;
		overflow-x: hidden;
	}

	/* Inventory cards */
	.eauto-pcard__title, .eauto-card2__title {
		font-size: 1.02rem;
		line-height: 1.3;
		word-break: break-word;   /* long model names never overflow */
	}
	.eauto-pcard__specs { gap: 8px 10px; }
	.eauto-pcard__spec { font-size: 0.78rem; }
	.eauto-pcard__footer { flex-wrap: wrap; gap: 8px; }
	.eauto-pcard__view, .eauto-pcard__inquire { min-height: 40px; }

	/* Compare bar: keep it compact and never let it cover the page.
	   Cap its height and let the pills scroll horizontally instead of
	   growing the tray vertically over the content. */
	.eauto-compare-toolbar.is-sticky,
	.eauto-compare-toolbar--layout-premium_tray {
		max-height: 40vh;
		overflow-y: auto;
	}
	.eauto-compare-pills { gap: 8px; }
	.eauto-compare-pills__thumb { width: 40px; height: 40px; }
	.eauto-compare-pills__title { max-width: 140px; }
	.eauto-compare-toolbar__cta { min-height: 40px; }

	/* Compare page: 1 column per vehicle, no horizontal scroll */
	.eauto-cmpx__grid { grid-template-columns: 1fr !important; }
	.eauto-cmpx__col-head img { max-width: 100%; height: auto; }

	/* Hot Deal widget: stack main image over info card */
	.eauto-hotdeal { grid-template-columns: 1fr !important; }
	.eauto-hotdeal__main img { width: 100%; height: auto; display: block; }
	.eauto-hotdeal__thumbs { flex-wrap: wrap; }
	.eauto-hotdeal__specs { gap: 10px; }
	.eauto-hotdeal__footer { flex-wrap: wrap; gap: 10px; }
	.eauto-hotdeal__cta { min-height: 40px; }

	/* Vehicle Type widget: tidy single/again-double column, no overflow */
	.eauto-types--image_cards .eauto-types__grid,
	.eauto-types--clean_icon_grid .eauto-types__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.eauto-types--dark_overlay_strip .eauto-types__strip {
		flex-wrap: nowrap;
		overflow-x: auto;          /* horizontal scroll, not overflow */
		-webkit-overflow-scrolling: touch;
	}
	.eauto-type-card__img { width: 100%; height: auto; display: block; }

	/* Single-vehicle separate widgets: full-width buttons, no overlap */
	.eauto-sw-title { font-size: 1.4rem; line-height: 1.25; word-break: break-word; }
	.eauto-sw-price { font-size: 1.3rem; }
	.eauto-sw-meta { flex-wrap: wrap; gap: 6px; }
}

/* ============================================================
   v1.11.7 (fix7) consolidated polish — Hot Deal, Vehicle Types,
   list, editor-safe, and 375px reinforcement. Appended last so
   these win the cascade without heavy !important.
   ============================================================ */

/* ---- FIX 8: Hot Deal premium refinement (match red/grey reference) ---- */
.eauto-hotdeal { padding: 28px; background: #fff; border: 1px solid #eef2f6; border-radius: 22px; box-shadow: 0 1px 3px rgba(15,23,42,.05); }
.eauto-hotdeal__info { background: #f6f8fb; border: 1px solid #eef2f6; border-radius: 18px; }
.eauto-hotdeal__title { font-weight: 800; letter-spacing: -.01em; }
.eauto-hotdeal__pill { box-shadow: 0 6px 16px rgba(225,29,42,.32); background: #e11d2a; }
.eauto-hotdeal__spec svg { width: 22px; height: 22px; }
.eauto-hotdeal__cta { background: #e11d2a; box-shadow: 0 8px 20px rgba(225,29,42,.28); transition: transform .2s; }
.eauto-hotdeal__cta:hover { transform: translateY(-1px); }
.eauto-hotdeal__thumb { transition: border-color .2s, transform .2s; }
.eauto-hotdeal__thumb:hover { transform: translateY(-2px); }
.eauto-hotdeal__actions a { transition: background .2s, border-color .2s; }
.eauto-hotdeal__actions a:hover { background: #f1f5f9; border-color: #94a3b8; }

/* ---- FIX 7: Vehicle Type widget — premium + editor-safe, all 3 layouts ---- */
.eauto-types { font-family: var(--eauto-font, inherit); }
.eauto-types__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.eauto-types__head h2 { margin: 0; font-size: 26px; font-weight: 800; color: #0b1220; letter-spacing: -.01em; }
.eauto-types__view-all, .eauto-types__viewall-pill {
	display: inline-flex; align-items: center; gap: 8px;
	background: #e11d2a; color: #fff !important; text-decoration: none;
	padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 13px;
	box-shadow: 0 6px 16px rgba(225,29,42,.26);
}
.eauto-types__viewall-pill svg { width: 16px; height: 16px; }
/* Image Cards / Overlay */
.eauto-types--image_cards .eauto-types__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.eauto-types--image_cards .eauto-type-card {
	position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3;
	background: #0b1530; display: block; text-decoration: none; box-shadow: 0 8px 24px rgba(15,23,42,.12);
}
.eauto-types--image_cards .eauto-type-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.eauto-types--image_cards .eauto-type-card:hover .eauto-type-card__img { transform: scale(1.06); }
.eauto-types--image_cards .eauto-type-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,12,26,.85) 0%, rgba(7,12,26,.15) 45%, transparent 70%); }
.eauto-types--image_cards .eauto-type-card__label {
	position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	background: #fff; border-radius: 12px; padding: 10px 14px;
}
.eauto-types--image_cards .eauto-type-card__name { font-weight: 800; color: #0b1220; font-size: 15px; }
.eauto-types--image_cards .eauto-type-card__count { font-size: 12px; color: #64748b; }
.eauto-types--image_cards .eauto-type-card__arrow {
	width: 34px; height: 34px; border-radius: 999px; background: #e11d2a; color: #fff;
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
/* Clean Icon / Grid */
.eauto-types--clean_icon_grid .eauto-types__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.eauto-types--clean_icon_grid .eauto-type-card {
	background: #fff; border: 1px solid #eef2f6; border-radius: 16px; padding: 14px; text-align: center;
	text-decoration: none; display: block; transition: transform .2s, box-shadow .2s;
}
.eauto-types--clean_icon_grid .eauto-type-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15,23,42,.12); }
.eauto-types--clean_icon_grid .eauto-type-card__img { width: 100%; height: 96px; object-fit: contain; margin-bottom: 10px; }
.eauto-types--clean_icon_grid .eauto-type-card__name { font-weight: 700; color: #0b1220; font-size: 15px; }
.eauto-types--clean_icon_grid .eauto-type-card__count { font-size: 11.5px; color: #94a3b8; margin-top: 2px; }
/* Dark Overlay Strip */
.eauto-types--dark_overlay_strip { position: relative; border-radius: 20px; overflow: hidden; background: #0b1220; padding: 26px; }
.eauto-types--dark_overlay_strip .eauto-types__head h2 { color: #fff; }
.eauto-types--dark_overlay_strip .eauto-types__strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.eauto-types--dark_overlay_strip .eauto-types__strip::-webkit-scrollbar { display: none; }
.eauto-types--dark_overlay_strip .eauto-type-card {
	flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
	border-radius: 12px; padding: 14px 20px; color: #e2e8f0; text-decoration: none; min-width: 96px;
	transition: background .2s; aspect-ratio: auto;
}
.eauto-types--dark_overlay_strip .eauto-type-card::after { display: none; }
.eauto-types--dark_overlay_strip .eauto-type-card:hover { background: rgba(255,255,255,.14); }
.eauto-types--dark_overlay_strip .eauto-type-card__icon svg { width: 26px; height: 26px; color: #cbd5e1; }
.eauto-types--dark_overlay_strip .eauto-type-card__name { font-size: 13px; font-weight: 600; color: #e2e8f0; }

/* ---- FIX 3: list layout premium reinforcement ---- */
.eauto-listing--list .eauto-pcard { border-radius: 18px; }
.eauto-listing--list .eauto-pcard .eauto-pcard__media { aspect-ratio: auto; min-height: 220px; margin: 14px 0 14px 14px; border-radius: 14px; }
.eauto-listing--list .eauto-pcard .eauto-pcard__body { padding: 18px 20px; justify-content: center; }
.eauto-listing--list .eauto-pcard .eauto-pcard__specs { border-top: 1px solid #f1f5f9; }

/* ---- FIX 9: editor-safe widths (preview iframe is narrow) ---- */
.elementor-editor-active .eauto-pcard,
.elementor-editor-active .eauto-hotdeal,
.elementor-editor-active .eauto-types { max-width: 100%; }
.elementor-editor-active .eauto-listing--carousel .eauto-grid { overflow-x: hidden; }

/* ---- FIX 10: 375px reinforcement for the new/rebuilt surfaces ---- */
@media (max-width: 480px) {
	.eauto-pcard--premium_horizontal_showroom { flex-direction: column; }
	.eauto-pcard--premium_horizontal_showroom .eauto-pcard__media { flex-basis: auto; max-width: none; margin: 12px 12px 0; aspect-ratio: 16/10; }
	.eauto-pcard--premium_horizontal_showroom .eauto-pcard__footer { border-radius: 14px; }
	.eauto-types--image_cards .eauto-types__grid { grid-template-columns: repeat(2, 1fr); }
	.eauto-types--clean_icon_grid .eauto-types__grid { grid-template-columns: repeat(2, 1fr); }
	.eauto-hotdeal { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
	.eauto-hotdeal__right { flex-direction: column; }
	.eauto-hotdeal__thumbs { flex-direction: row; }
	.eauto-hotdeal__specs { grid-template-columns: repeat(2, 1fr); }
	.eauto-pcard__specs { gap: 8px; }
	.eauto-carousel__arrow { width: 38px; height: 38px; }
}

/* ---- FIX 5: Compare bar — premium_tray + compact_luxury upgrade the
   ACTUAL JS-built pills (.eauto-compare-pill) into premium mini-cards so
   the selected vehicles show thumbnail + title + remove, matching the
   white floating-tray reference. classic keeps the small legacy pill. ---- */

/* premium_tray: full white floating tray, larger mini-cards */
.eauto-compare-toolbar--layout-premium_tray .eauto-compare-pill,
.eauto-compare-bar--sticky.eauto-compare-toolbar--layout-premium_tray .eauto-compare-pill {
	background: #fff; border: 1px solid #eef2f6; border-radius: 14px;
	padding: 6px 10px 6px 6px; max-width: 320px; gap: 10px;
	box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.eauto-compare-toolbar--layout-premium_tray .eauto-compare-pill__img {
	width: 54px; height: 44px; border-radius: 10px;
}
.eauto-compare-toolbar--layout-premium_tray .eauto-compare-pill__label {
	font-size: 13.5px; font-weight: 700; max-width: 180px; color: #0b1220;
}
.eauto-compare-toolbar--layout-premium_tray .eauto-compare-pill__stock { font-size: 11px; }
.eauto-compare-toolbar--layout-premium_tray .eauto-compare-pill__x {
	width: 24px; height: 24px; border-radius: 999px; background: #f1f5f9;
}
.eauto-compare-toolbar--layout-premium_tray .eauto-compare-pill__x:hover { background: #fee2e2; color: #b91c1c; }
.eauto-compare-toolbar--layout-premium_tray .eauto-compare-toolbar__items { display: flex; flex-wrap: wrap; gap: 12px; }

/* compact_luxury: slim dark bar with condensed pills */
.eauto-compare-toolbar--layout-compact_luxury .eauto-compare-pill {
	background: rgba(255,255,255,.1); color: #f8fafc; border-radius: 999px; max-width: 220px;
}
.eauto-compare-toolbar--layout-compact_luxury .eauto-compare-pill__label { color: #f8fafc; font-weight: 600; }
.eauto-compare-toolbar--layout-compact_luxury .eauto-compare-pill__img { width: 28px; height: 28px; border-radius: 999px; }
.eauto-compare-toolbar--layout-compact_luxury .eauto-compare-pill__stock { color: #cbd5e1; }
.eauto-compare-toolbar--layout-compact_luxury .eauto-compare-toolbar__title,
.eauto-compare-toolbar--layout-compact_luxury .eauto-compare-toolbar__count { color: #fff; }

/* ---- v1.11.8 (fix8 / BLOCKER 1) — Hot Deal Type/Make/Model chip row ---- */
.eauto-hotdeal__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 4px; }
.eauto-hotdeal__info .eauto-hotdeal__specs { margin-top: 2px; }
@media (max-width: 480px) {
	.eauto-hotdeal__tags { gap: 6px; }
}

/* =====================================================================
   v1.11.10 (Phase 12) — HTML CARD DESIGN INTEGRATION (Stage 1)
   ---------------------------------------------------------------------
   Faithful port of the designer package (premium-auto-dealer) card
   designs 01–10. Each card root carries: eauto-pcard eauto-pcard--{key}
   (so the existing Elementor / Card Studio style controls still override
   via {{WRAPPER}} .eauto-pcard*), plus ehc + ehc-cN (the designer look).
   Generic designer classes are namespaced to .ehc-* to avoid theme
   collisions; design tokens are scoped to .ehc (never :root) so they do
   not leak. Dynamic vehicle data only; unsupported fields hidden.
   Source of truth: designer index.html / main.js / style.css.
   Design tokens / fonts mirror the designer package; if the two Google
   fonts (Plus Jakarta Sans, Manrope) are not enqueued the stack falls
   back to system-ui (weights/sizes unchanged).
   ===================================================================== */

/* Neutralise the base .eauto-pcard layout on HTML-card roots so the
   designer look wins by default; each ehc-cN re-applies its own surface,
   border, radius and shadow below. Elementor {{WRAPPER}} overrides remain
   higher-specificity and still take final precedence. */
.ehc {
  display: block; padding: 0; margin: 0; gap: 0;
  background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
  font-family: var(--f-body);
}
.ehc * { box-sizing: border-box; }
:where(.ehc) a { text-decoration: none; color: inherit; }
.ehc h3 { margin: 0; }
/* tokens */
.ehc, .ehc-cards {
  /* darks */
  --ink: #0B0E14;
  --ink-2: #141A24;
  --navy: #15233F;
  --navy-2: #20335A;

  /* accents */
  --red: #C8102E;
  --red-2: #E2243C;
  --gold: #C5A253;
  --gold-2: #E3CE97;

  /* neutrals */
  --bg: #F2F3F6;
  --surface: #FFFFFF;
  --line: #E5E8EE;
  --line-soft: #EEF0F4;
  --tint: #F5F6F9;
  --tint-2: #EEF1F6;

  /* text */
  --text: #10141B;
  --text-2: #39424F;
  --muted: #6E7888;
  --muted-2: #9AA3B2;

  /* type */
  --f-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;

  /* radii */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 20px;

  /* shadows */
  --sh-sm: 0 1px 2px rgba(16,20,27,.05), 0 1px 1px rgba(16,20,27,.04);
  --sh-md: 0 10px 28px -14px rgba(16,20,27,.22), 0 4px 10px -6px rgba(16,20,27,.10);
  --sh-lg: 0 28px 60px -28px rgba(13,18,30,.40), 0 10px 24px -12px rgba(13,18,30,.18);
  --sh-dark: 0 30px 60px -26px rgba(0,0,0,.55);

  --maxw: 1240px;
}
/* shared */
/* ---------------- Shared: media + premium fallback ---------------- */
.ehc-media { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--navy), var(--ink)); }
.ehc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.ehc-media .ehc-ph {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 13px;
  color: rgba(231,217,180,.92);
  background:
    radial-gradient(130% 120% at 50% 0%, rgba(31,49,90,.6), transparent 62%),
    linear-gradient(145deg, var(--navy), var(--ink));
}
.ehc-media .ehc-ph::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 30%, #000 28%, transparent 76%);
  mask-image: radial-gradient(120% 100% at 50% 30%, #000 28%, transparent 76%);
}
.ehc-media .ehc-ph svg {
  position: relative; width: 30px; height: 30px; stroke-width: 1.3; opacity: .95;
  padding: 14px; border-radius: 50%;
  border: 1px solid rgba(231,217,180,.30); background: rgba(255,255,255,.04);
}
.ehc-media .ehc-ph span {
  position: relative; font-family: var(--f-head); font-weight: 700; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; text-align: center;
}
.ehc-media .ehc-ph span::after {
  content: "Premium Auto Dealer"; display: block; margin-top: 7px;
  font-size: 8.5px; font-weight: 600; letter-spacing: .22em;
  color: rgba(255,255,255,.42); text-transform: uppercase;
}
.ehc-media.is-broken img { opacity: 0; }
.ehc-media.is-broken .ehc-ph { display: flex; }

/* duotone treatment used by some options */
.ehc-media.ehc-tone-mono img { filter: grayscale(1) contrast(1.02); }
.ehc-media.tone-warm img { filter: saturate(1.08) contrast(1.03); }

/* ---------------- Shared: badges ---------------- */
.ehc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .03em;
  padding: 6px 11px; border-radius: 999px; color: #fff; white-space: nowrap;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
}
.ehc-badge--gold  { background: linear-gradient(135deg, #b6883a, var(--gold)); color: #20180a; }
.ehc-badge--navy  { background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.ehc-badge--red   { background: linear-gradient(135deg, var(--red-2), var(--red)); }
.ehc-badge--green { background: linear-gradient(135deg, #1f9d62, #0f7a48); }

/* ---------------- Shared: icon / favourite buttons ---------------- */
.ehc-iconbtn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text-2);
  background: rgba(255,255,255,.92); box-shadow: var(--sh-sm);
  border: 1px solid rgba(255,255,255,.7);
  transition: transform .15s, color .15s, background .15s;
}
.ehc-ico { width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.ehc-iconbtn .ehc-ico { width: 18px; height: 18px; }
.ehc-iconbtn:hover { transform: scale(1.07); color: var(--text); }
.ehc-fav.is-active { color: var(--red); background: #fff; }
.ehc-fav.is-active .ehc-ico path { fill: var(--red); stroke: var(--red); }

/* ---------------- Shared: buttons + links ---------------- */
.ehc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-head); font-weight: 700; font-size: 13.5px;
  padding: 11px 18px; border-radius: 11px; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.ehc-btn .ehc-ico { width: 16px; height: 16px; }
.ehc-btn--primary { background: var(--navy); color: #fff; box-shadow: 0 12px 22px -14px rgba(21,35,63,.95); }
.ehc-btn--primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.ehc-btn--dark { background: linear-gradient(135deg, var(--ink), var(--navy)); color: #fff; }
.ehc-btn--dark:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }
.ehc-btn--ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }
.ehc-btn--ghost:hover { border-color: var(--navy-2); color: var(--navy); }
.ehc-btn--red { background: linear-gradient(135deg, var(--red-2), var(--red)); color: #fff; box-shadow: 0 12px 22px -12px rgba(200,16,46,.65); }
.ehc-btn--red:hover { transform: translateY(-1px); filter: brightness(1.05); }
.ehc-btn--block { width: 100%; }

.ehc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 13.5px; color: var(--navy);
  transition: gap .15s, color .15s;
}
.ehc-link .ehc-ico { width: 16px; height: 16px; transition: transform .2s; }
.ehc-link:hover { gap: 9px; }
.ehc-link:hover .ehc-ico { transform: translateX(2px); }
.ehc-link--light { color: var(--gold-2); }
.ehc-link--sm { font-size: 12.5px; }
.ehc-link--underline { color: var(--text); position: relative; }
.ehc-link--underline::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: currentColor; transform: scaleX(.55); transform-origin: left; transition: transform .25s; }
.ehc-link--underline:hover::after { transform: scaleX(1); }

/* cards c1-c10 */
/* =====================================================================
   OPTION 01 — Luxury White Vertical (3-up, airy)
   ===================================================================== */
.ehc-c1 {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ehc-c1:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: #dfe3ea; }
.ehc-c1 .ehc-media { height: 226px; flex: 0 0 auto; }
.ehc-c1:hover .ehc-media img { transform: scale(1.06); }
.ehc-c1 .ehc-c1-badge { position: absolute; top: 16px; left: 16px; }
.ehc-c1 .ehc-fav { position: absolute; top: 14px; right: 14px; }
.ehc-c1-body { padding: 22px 22px 24px; flex: 1 1 auto; display: flex; flex-direction: column; }
.ehc-c1-titlerow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ehc-c1-title { font-size: 19px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c1-year { font-size: 13px; font-weight: 700; color: var(--muted); flex: 0 0 auto; }
.ehc-c1-trim { margin: 5px 0 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c1-specs { display: flex; margin: 18px 0 20px; padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.ehc-c1-spec { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.ehc-c1-spec + .ehc-c1-spec { border-left: 1px solid var(--line-soft); }
.ehc-c1-spec .ehc-ico { color: var(--muted); }
.ehc-c1-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.ehc-c1-price { font-family: var(--f-head); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }

/* =====================================================================
   OPTION 02 — Dark Premium Horizontal (2-up, image left / dark panel right)
   ===================================================================== */
.ehc-c2 {
  position: relative; display: grid; grid-template-columns: 44% 1fr;
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--ink-2), var(--ink));
  box-shadow: var(--sh-md); border: 1px solid rgba(255,255,255,.07);
  transition: transform .25s, box-shadow .25s;
}
.ehc-c2:hover { transform: translateY(-5px); box-shadow: var(--sh-dark); }
.ehc-c2 .ehc-media { height: 100%; min-height: 256px; }
.ehc-c2 .ehc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(8,11,18,.45)); }
.ehc-c2:hover .ehc-media img { transform: scale(1.05); }
.ehc-c2 .ehc-fav { position: absolute; top: 14px; left: 14px; right: auto; background: rgba(20,26,36,.55); color: #fff; border-color: rgba(255,255,255,.16); backdrop-filter: blur(4px); }
.ehc-c2-panel { padding: 26px 28px 24px; color: #fff; display: flex; flex-direction: column; }
.ehc-c2-badge { margin-bottom: 15px; }
.ehc-c2-title { font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.ehc-c2-title span { color: var(--gold-2); font-weight: 700; font-size: 14px; margin-left: 5px; }
.ehc-c2-trim { margin: 8px 0 0; font-size: 13px; color: rgba(226,232,242,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c2-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 22px 0; }
.ehc-c2-spec { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: rgba(226,232,242,.88); }
.ehc-c2-spec .ehc-ico { color: var(--gold); width: 17px; height: 17px; }
.ehc-c2-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.10); display: flex; flex-direction: column; gap: 14px; }
.ehc-c2-price { display: flex; flex-direction: column; gap: 3px; }
.ehc-c2-price small { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(231,217,180,.72); }
.ehc-c2-price b { font-family: var(--f-head); font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.ehc-c2-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 18px; border-radius: 12px; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: #20180a; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 12px 26px -14px rgba(197,162,83,.85); transition: transform .15s, box-shadow .15s, filter .15s; }
.ehc-c2-cta .ehc-ico { width: 16px; height: 16px; }
.ehc-c2-cta:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 16px 32px -14px rgba(197,162,83,.95); }

/* =====================================================================
   OPTION 03 — Finance-Focused (3-up, big EMI hero)
   ===================================================================== */
.ehc-c3 {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .25s, box-shadow .25s;
}
.ehc-c3::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--gold)); z-index: 2; }
.ehc-c3:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.ehc-c3 .ehc-media { height: 190px; flex: 0 0 auto; }
.ehc-c3 .ehc-fav { position: absolute; top: 13px; right: 13px; }
.ehc-c3-body { padding: 18px 20px 20px; flex: 1 1 auto; display: flex; flex-direction: column; }
.ehc-c3-titlerow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ehc-c3-title { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c3-year { font-size: 12.5px; font-weight: 700; color: var(--muted); flex: 0 0 auto; }
.ehc-c3-emi { position: relative; margin: 15px 0 0; padding: 15px 17px; border-radius: 13px; display: flex; align-items: baseline; gap: 7px; overflow: hidden; background: linear-gradient(135deg, #f3f6fc, #eaeff7); border: 1px solid #e2e8f3; }
.ehc-c3-emi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--gold), #b6883a); }
.ehc-c3-emi .from { position: absolute; top: 11px; right: 15px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.ehc-c3-emi strong { font-family: var(--f-head); font-size: 29px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.ehc-c3-emi span { font-size: 13px; font-weight: 600; color: var(--muted); }
.ehc-c3-cash { margin: 11px 0 0; font-size: 13px; color: var(--muted); }
.ehc-c3-cash b { color: var(--text); font-weight: 700; }
.ehc-c3-list { list-style: none; margin: 15px 0 18px; padding: 15px 0 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 1fr 1fr; gap: 11px 14px; }
.ehc-c3-list li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.ehc-c3-list li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c3-list .ehc-ico { width: 15px; height: 15px; color: var(--gold); flex: 0 0 auto; }
.ehc-c3-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.ehc-c3-btns .ehc-btn { padding: 12px 14px; }

/* =====================================================================
   OPTION 04 — Compact Clean Inventory (3-up, dense)
   ===================================================================== */
.ehc-c4 {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.ehc-c4:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.ehc-c4-media { position: relative; height: 158px; flex: 0 0 auto; }
.ehc-c4 .ehc-c4-media .ehc-media { position: absolute; inset: 0; height: 100%; }
.ehc-c4 .ehc-c4-badge { position: absolute; top: 11px; left: 11px; z-index: 2; }
.ehc-c4 .ehc-c4-badge .ehc-badge { font-size: 10px; padding: 4px 9px; }
.ehc-c4 .ehc-fav { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; z-index: 2; }
.ehc-c4 .ehc-fav .ehc-ico { width: 15px; height: 15px; }
.ehc-c4 .ehc-count { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: #fff; padding: 4px 8px; border-radius: 7px; background: rgba(11,14,20,.62); backdrop-filter: blur(3px); }
.ehc-c4 .ehc-count .ehc-ico { width: 12px; height: 12px; }
.ehc-c4-body { padding: 14px 15px 15px; flex: 1 1 auto; display: flex; flex-direction: column; }
.ehc-c4-titlerow { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ehc-c4-title { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c4-year { font-size: 11.5px; font-weight: 700; color: var(--muted-2); flex: 0 0 auto; }
.ehc-c4-meta { margin: 6px 0 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.ehc-c4-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); display: inline-block; flex: 0 0 auto; }
.ehc-c4-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.ehc-c4-price { font-family: var(--f-head); font-size: 16.5px; font-weight: 800; }

/* =====================================================================
   OPTION 05 — Luxury SUV Showcase (2-up, cinematic overlay)
   ===================================================================== */
.ehc-c5 {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--sh-md); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.ehc-c5:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.ehc-c5-hero { position: relative; height: 318px; flex: 0 0 auto; }
.ehc-c5-hero .ehc-media { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; aspect-ratio: auto; }
.ehc-c5:hover .ehc-media img { transform: scale(1.06); }
.ehc-c5-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,10,16,.90) 2%, rgba(7,10,16,.5) 30%, rgba(8,11,18,.05) 62%, rgba(8,11,18,0) 80%); }
.ehc-c5-tags { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ehc-c5 .ehc-fav { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.ehc-c5-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; color: #fff; }
.ehc-c5-cap h3 { font-size: 25px; font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
.ehc-c5-cap .ehc-c5-trim { margin: 5px 0 0; font-size: 13px; color: rgba(255,255,255,.74); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c5-cap .ehc-c5-price { margin-top: 11px; font-family: var(--f-head); font-size: 24px; font-weight: 800; color: var(--gold-2); }
.ehc-c5-foot { padding: 18px 22px 20px; flex: 1 1 auto; display: flex; flex-direction: column; }
.ehc-c5-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ehc-c5-tile { background: var(--tint); border: 1px solid var(--line-soft); border-radius: 12px; padding: 11px 12px; }
.ehc-c5-tile > span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.ehc-c5-tile b { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-family: var(--f-head); font-size: 13.5px; font-weight: 700; }
.ehc-c5-tile .ehc-ico { width: 15px; height: 15px; color: var(--gold); flex: 0 0 auto; }
.ehc-c5-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.ehc-c5-emi { font-size: 13px; color: var(--muted); }
.ehc-c5-emi b { font-family: var(--f-head); color: var(--text); font-size: 16px; font-weight: 800; }
.ehc-c5-ctas { display: flex; gap: 9px; }

/* =====================================================================
   OPTION 06 — Modern Split (2-up, light, 2x2 spec blocks)
   ===================================================================== */
.ehc-c6 {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm); transition: transform .25s, box-shadow .25s;
}
.ehc-c6:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.ehc-c6 .ehc-media { height: 100%; min-height: 300px; }
.ehc-c6:hover .ehc-media img { transform: scale(1.05); }
.ehc-c6 .ehc-c6-badge { position: absolute; top: 16px; left: 16px; }
.ehc-c6 .ehc-fav { position: absolute; top: 14px; right: 14px; left: auto; transform: none; }
.ehc-c6-body { padding: 24px 26px 24px; display: flex; flex-direction: column; }
.ehc-c6-title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c6-sub { margin: 5px 0 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c6-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.ehc-c6-block { border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: var(--tint); transition: border-color .2s; }
.ehc-c6:hover .ehc-c6-block { border-color: #dde2ec; }
.ehc-c6-block > span { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted-2); }
.ehc-c6-block span .ehc-ico { width: 14px; height: 14px; color: var(--navy-2); flex: 0 0 auto; }
.ehc-c6-block b { display: block; margin-top: 5px; font-family: var(--f-head); font-size: 14.5px; font-weight: 700; }
.ehc-c6-foot { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.ehc-c6-price small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px; }
.ehc-c6-price b { font-family: var(--f-head); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }

/* =====================================================================
   OPTION 07 — Premium Black & Red Sports (3-up, aggressive)
   ===================================================================== */
.ehc-c7 {
  position: relative; display: flex; flex-direction: column;
  background: #0B0E14; border-radius: 7px; overflow: hidden;
  box-shadow: var(--sh-md); border: 1px solid rgba(255,255,255,.06);
  transition: transform .22s, box-shadow .22s; isolation: isolate;
}
.ehc-c7::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--red); z-index: 3; }
.ehc-c7:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -26px rgba(200,16,46,.45); }
.ehc-c7 .ehc-media { height: 202px; flex: 0 0 auto; }
.ehc-c7 .ehc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,14,20,.82), transparent 55%); }
.ehc-c7:hover .ehc-media img { transform: scale(1.07); }
.ehc-c7 .ehc-c7-tag { position: absolute; top: 0; left: 0; z-index: 2; font-family: var(--f-head); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 7px 18px 7px 13px; background: var(--red); clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 100%, 0 100%); }
.ehc-c7 .ehc-fav { position: absolute; top: 12px; right: 12px; background: rgba(11,14,20,.55); color: #fff; border-color: rgba(255,255,255,.14); }
.ehc-c7 .ehc-fav.is-active { background: var(--red); }
.ehc-c7 .ehc-fav.is-active .ehc-ico path { fill: #fff; stroke: #fff; }
.ehc-c7-body { padding: 18px 19px 20px; color: #fff; position: relative; flex: 1 1 auto; display: flex; flex-direction: column; }
.ehc-c7-titlerow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ehc-c7-title { font-size: 18px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c7-year { font-size: 13px; font-weight: 800; color: var(--red-2); flex: 0 0 auto; }
.ehc-c7-trim { margin: 5px 0 0; font-size: 12.5px; color: rgba(226,232,242,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c7-specs { display: flex; gap: 8px; margin: 16px 0 18px; }
.ehc-c7-spec { flex: 1; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); border-radius: 9px; padding: 10px 6px; text-align: center; }
.ehc-c7-spec .ehc-ico { width: 16px; height: 16px; color: var(--red-2); }
.ehc-c7-spec b { display: block; margin-top: 5px; font-family: var(--f-head); font-size: 12.5px; font-weight: 700; color: #fff; }
.ehc-c7-foot { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: auto; }
.ehc-c7-price { font-family: var(--f-head); font-size: 21px; font-weight: 800; color: #fff; }
.ehc-c7-price span { color: var(--red-2); }

/* =====================================================================
   OPTION 08 — Minimal European (3-up, refined hairline, lots of space)
   ===================================================================== */
.ehc-c8 {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden; transition: border-color .25s, transform .25s;
}
.ehc-c8:hover { border-color: #c9cfd9; transform: translateY(-3px); }
.ehc-c8 .ehc-media { height: 210px; flex: 0 0 auto; }
.ehc-c8:hover .ehc-media img { transform: scale(1.04); }
.ehc-c8 .ehc-c8-tag { position: absolute; top: 14px; left: 14px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; padding: 5px 10px; background: rgba(11,14,20,.5); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(3px); }
.ehc-c8 .ehc-fav { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; background: rgba(255,255,255,.9); }
.ehc-c8-body { padding: 22px 22px 24px; flex: 1 1 auto; display: flex; flex-direction: column; }
.ehc-c8-brand { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.ehc-c8-title { margin-top: 7px; font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c8-trim { margin: 4px 0 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c8-specs { display: flex; align-items: center; gap: 14px; margin: 20px 0 22px; font-size: 12.5px; color: var(--text-2); }
.ehc-c8-specs span { display: inline-flex; align-items: center; }
.ehc-c8-specs span + span { padding-left: 14px; border-left: 1px solid var(--line); }
.ehc-c8-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.ehc-c8-price small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.ehc-c8-price b { font-family: var(--f-head); font-size: 19px; font-weight: 700; }

/* =====================================================================
   OPTION 09 — Image-First Hero (3-up, glass overlay)
   ===================================================================== */
.ehc-c9 {
  position: relative; height: 384px; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-md); transition: transform .25s, box-shadow .25s;
}
.ehc-c9 .ehc-media { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; aspect-ratio: auto; }
.ehc-c9::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,10,16,.85) 6%, rgba(8,11,18,.12) 46%, rgba(8,11,18,.30) 100%); }
.ehc-c9:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.ehc-c9:hover .ehc-media img { transform: scale(1.07); }
.ehc-c9 .ehc-c9-badge { position: absolute; top: 16px; left: 16px; z-index: 3; }
.ehc-c9 .ehc-fav { position: absolute; top: 14px; right: 14px; z-index: 3; background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.30); backdrop-filter: blur(6px); }
.ehc-c9 .ehc-c9-count { position: absolute; top: 58px; right: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: #fff; padding: 5px 9px; border-radius: 7px; background: rgba(11,14,20,.42); backdrop-filter: blur(4px); }
.ehc-c9 .ehc-c9-count .ehc-ico { width: 13px; height: 13px; }
.ehc-c9-glass {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  padding: 17px 18px; border-radius: 16px;
  background: rgba(16,21,30,.46); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 16px 40px -20px rgba(0,0,0,.6);
  color: #fff;
}
.ehc-c9-titlerow { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ehc-c9-title { font-size: 18px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c9-year { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.72); flex: 0 0 auto; }
.ehc-c9-trim { margin: 3px 0 0; font-size: 12px; color: rgba(255,255,255,.64); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c9-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.16); }
.ehc-c9-price { font-family: var(--f-head); font-size: 20px; font-weight: 800; color: var(--gold-2); }
.ehc-c9-cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 700; font-size: 12.5px; padding: 9px 14px; border-radius: 10px; background: #fff; color: var(--ink); transition: transform .15s; }
.ehc-c9-cta .ehc-ico { width: 14px; height: 14px; }
.ehc-c9-cta:hover { transform: translateX(2px); }

/* =====================================================================
   OPTION 10 — Mobile-App Style Rounded (3-up, soft + floating actions)
   ===================================================================== */
.ehc-c10 {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: 26px; padding: 12px 12px 16px; box-shadow: var(--sh-md);
  transition: transform .25s, box-shadow .25s;
}
.ehc-c10:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.ehc-c10-media { position: relative; border-radius: 19px; overflow: hidden; height: 198px; flex: 0 0 auto; }
.ehc-c10-media .ehc-media { position: absolute; inset: 0; height: 100%; }
.ehc-c10:hover .ehc-media img { transform: scale(1.06); }
.ehc-c10 .ehc-c10-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.ehc-c10 .ehc-c10-count { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: #fff; padding: 5px 10px; border-radius: 999px; background: rgba(11,14,20,.5); backdrop-filter: blur(3px); }
.ehc-c10 .ehc-c10-count .ehc-ico { width: 13px; height: 13px; }
.ehc-c10 .ehc-c10-fav { position: absolute; top: 12px; right: 12px; z-index: 3; }
.ehc-c10-body { padding: 16px 8px 4px; flex: 1 1 auto; display: flex; flex-direction: column; }
.ehc-c10-titlerow { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ehc-c10-title { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c10-year { font-size: 12px; font-weight: 700; color: var(--muted); flex: 0 0 auto; }
.ehc-c10-trim { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ehc-c10-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 16px; }
.ehc-c10-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-2); padding: 6px 11px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line-soft); }
.ehc-c10-chip .ehc-ico { width: 14px; height: 14px; color: var(--navy-2); }
.ehc-c10-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.ehc-c10-price { font-family: var(--f-head); font-size: 19px; font-weight: 800; }
.ehc-c10-foot-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.ehc-c10-compare { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; color: var(--text-2); background: var(--tint); border: 1px solid var(--line); transition: border-color .15s, color .15s, transform .15s; }
.ehc-c10-compare .ehc-ico { width: 17px; height: 17px; }
.ehc-c10-compare:hover { border-color: var(--navy-2); color: var(--navy); transform: translateY(-1px); }
.ehc-c10-foot .ehc-btn { border-radius: 999px; padding: 11px 20px; }
/* responsive */
@media (max-width: 1080px) {
  .ehc-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .ehc-grid-2 { grid-template-columns: 1fr; }
  .header-links a:not(.header-cta) { display: none; }
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .hero { margin: 6px 10px 0; }
  .hero-inner { padding: 56px 22px 64px; }
  .toolbar-wrap { padding: 0 16px; }
  .optnav-inner { padding: 10px 16px; }
  .ehc-grid-3 { grid-template-columns: 1fr; }
  .grid, .ehc-grid-2 { gap: 22px; }
  /* horizontal & split cards stack on mobile */
  .ehc-c2, .ehc-c6 { grid-template-columns: 1fr; }
  .ehc-c2 .ehc-media, .ehc-c6 .ehc-media { min-height: 220px; height: 220px; }
  .ehc-c6 .ehc-fav { left: auto; right: 14px; transform: none; }
  .design { padding: 48px 0 22px; }
  .sec-head { gap: 14px; margin-bottom: 26px; }
  .sec-idx { width: 46px; height: 46px; font-size: 16px; }
}
@media (max-width: 420px) {
  .ehc-c5-tiles { grid-template-columns: 1fr 1fr; }
  .ehc-c5-tiles .ehc-c5-tile:last-child { grid-column: 1 / -1; }
  .ehc-c3-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand-text { letter-spacing: .08em; font-size: 14.5px; }
  .site-header { padding: 16px 18px; }
}
@media (max-width: 480px) {
  /* footer fit on narrow phones — desktop/tablet unaffected; compare stays visible */
  .ehc-c1-foot { flex-wrap: wrap; row-gap: 10px; }
  .ehc-c10-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .ehc-c10-foot-actions { width: 100%; }
  .ehc-c10-foot-actions .ehc-btn { flex: 1; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .ehc-media img { transition: none !important; }
}

/* =====================================================================
   COMPARE FEATURE (additive — does not alter locked card visuals)
   ===================================================================== */
/* compare button base */
/* ---- Compare control (base) ---- */
.ehc-cmp {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--f-head); font-weight: 700; font-size: 13px; line-height: 1;
  border: 1px solid transparent; border-radius: 10px; cursor: pointer; white-space: nowrap;
  color: var(--text); background: transparent;
  transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.ehc-cmp:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.ehc-cmp .ehc-ico { width: 16px; height: 16px; }
.ehc-cmp .ehc-cmp-ico-on, .ehc-cmp .ehc-cmp-txt--on { display: none; }
.ehc-cmp.is-added .ehc-cmp-ico, .ehc-cmp.is-added .ehc-cmp-txt--off { display: none; }
.ehc-cmp.is-added .ehc-cmp-ico-on { display: inline-block; }
.ehc-cmp.is-added .ehc-cmp-txt--on { display: inline; }

/* unified premium ADDED state (gold) */
.ehc-cmp.is-added {
  background: linear-gradient(135deg, var(--gold-2), var(--gold)) !important;
  border-color: var(--gold) !important; color: #20180a !important;
}

/* variants */
.ehc-cmp--ghost { background: #fff; border-color: var(--line); color: var(--text); padding: 11px 16px; }
.ehc-cmp--ghost:hover { border-color: var(--navy-2); color: var(--navy); }
.ehc-cmp--gold { background: rgba(197,162,83,.10); border-color: rgba(197,162,83,.55); color: var(--gold-2); padding: 9px 15px; }
.ehc-cmp--gold:hover { background: rgba(197,162,83,.18); }
.ehc-cmp--mini { background: #fff; border-color: var(--line); color: var(--text); padding: 7px 12px; font-size: 12px; border-radius: 9px; }
.ehc-cmp--mini:hover { border-color: var(--navy-2); color: var(--navy); }
.ehc-cmp--mini .ehc-ico { width: 14px; height: 14px; }
.ehc-cmp--sharp { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; border-radius: 7px; padding: 11px 14px; }
.ehc-cmp--sharp:hover { border-color: rgba(255,255,255,.45); }
.ehc-cmp--text { background: none; border: none; color: var(--text); padding: 6px 2px; font-size: 12.5px; position: relative; }
.ehc-cmp--text::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.ehc-cmp--text:hover::after { transform: scaleX(1); }
.ehc-cmp--text.is-added { background: none !important; border: none !important; color: #9b7a2e !important; }
.ehc-cmp--icon { width: 38px; height: 38px; border-radius: 50%; padding: 0; background: #fff; border-color: var(--line); color: var(--text-2); }
.ehc-cmp--icon:hover { border-color: var(--navy-2); color: var(--navy); }
.ehc-cmp--glass { width: 38px; height: 38px; border-radius: 50%; padding: 0; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ehc-cmp--glass:hover { background: rgba(255,255,255,.26); }

/* per-card pairing helpers (action rows) */
.ehc-c1-foot-r { display: flex; align-items: center; gap: 10px; }
.ehc-c2-foot-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ehc-c3-btns .ehc-cmp { padding: 12px 14px; }
.ehc-c4-actions { display: flex; align-items: center; gap: 9px; }
.ehc-c6-actions { display: flex; gap: 10px; }
.ehc-c6-actions .ehc-btn, .ehc-c6-actions .ehc-cmp { flex: 1; min-width: 0; }
.ehc-c7-actions { display: flex; gap: 9px; }
.ehc-c7-actions .ehc-btn, .ehc-c7-actions .ehc-cmp { flex: 1; }
.ehc-c8-actions { display: flex; align-items: center; gap: 16px; }
.ehc-c9-foot-r { display: flex; align-items: center; gap: 9px; }

/* selected card ring (premium gold, works on light & dark cards) */
article.is-selected {
  box-shadow: 0 0 0 2px var(--gold-2), 0 0 0 7px rgba(197,162,83,.16), 0 22px 46px -22px rgba(13,18,30,.42) !important;
}

/* card-link overlay */
/* ---- whole-card click overlay on listing + related cards ---- */
.ehc-card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ehc :where(.ehc-fav, .ehc-link, .ehc-btn, .ehc-cmp, .ehc-c2-cta, .ehc-c9-cta, .eauto-pcard__view, .eauto-compare-check) { position: relative; z-index: 2; }

/* --- Stage-1 integration glue: compare wiring + hooks (additive) --- */
.ehc-cmp { position: relative; }
.ehc-cmp .ehc-cmp-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.ehc-cmp-ico-on, .ehc-cmp-txt--on { display: none; }
.ehc-cmp .ehc-cmp-input:checked ~ .ehc-cmp-ico:not(.ehc-cmp-ico-on) { display: none; }
.ehc-cmp .ehc-cmp-input:checked ~ .ehc-cmp-ico-on { display: inline-flex; }
.ehc-cmp .ehc-cmp-input:checked ~ .ehc-cmp-txt--off { display: none; }
.ehc-cmp .ehc-cmp-input:checked ~ .ehc-cmp-txt--on { display: inline; }
.ehc-cmp:has(.ehc-cmp-input:checked) { border-color: var(--gold); color: var(--gold); }
.ehc-card-link { cursor: pointer; }

/* End v1.11.10 HTML card design integration (Stage 1). */

/* Stage-1 fix: horizontal/split cards (c2, c6) are grid (44%/1fr or 1fr/1fr).
   Grid items default to min-width:auto (min-content), which let the media and
   text overflow their tracks. Pin min-width:0 so they honour the tracks, make
   the media fill its track, and pin the image so it cover-fills without driving
   row height (the text panel defines the height; min-height keeps a floor). */
.ehc-c2 > *, .ehc-c6 > * { min-width: 0; }
.ehc-c2 .ehc-media, .ehc-c6 .ehc-media { position: relative; width: 100%; min-width: 0; }
.ehc-c2 .ehc-media img, .ehc-c6 .ehc-media img { position: absolute; inset: 0; }
.ehc-c2-panel, .ehc-c6-body { min-width: 0; }

/* Stage-1 fix: dark-surface cards (c2 panel, c5 hero caption, c7 body, c9
   glass) expect a WHITE title via inheritance, but the .eauto-pcard__title
   control hook sets an explicit dark colour. Restore white at (0,2,0) so the
   default is correct AND an Elementor title-colour control still overrides. */
.ehc .ehc-c2-title, .ehc .ehc-c5-cap h3, .ehc .ehc-c7-title, .ehc .ehc-c9-title { color: #fff; }

/* Stage-1 fix: the .eauto-pcard__badge control hook carries position:absolute
   (premium cards pin the status badge over the image). The designer cards
   instead position the badge via their own wrappers (.ehc-cN-badge: absolute
   over image for vertical cards, static in-panel for c2). Reset the hook's
   positioning so the designer wrapper is authoritative; the badge stays an
   inline pill (.ehc-badge) flowing inside whatever wrapper holds it. */
.ehc .eauto-pcard__badge { position: static; inset: auto; top: auto; left: auto; right: auto; bottom: auto; margin: 0; }

/* v1.11.11 (fix1): Type / Make / Model chips for the HTML card designs.
   Small premium pills, gated by show_tags in PHP, wrap cleanly at 375px.
   .ehc-tags--dark = dark/glass surfaces (c2/c7/c9); .ehc-tags--sm = compact
   cards (c4/c10). Designer-namespaced so card-level style controls (bg,
   radius, border, shadow, spacing, colours) remain unaffected. */
.ehc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; min-width: 0; }
.ehc-tag {
  display: inline-flex; align-items: center; max-width: 100%;
  font-size: 10.5px; font-weight: 700; line-height: 1.2; letter-spacing: .01em;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  background: var(--tint); color: var(--navy); border: 1px solid var(--line-soft);
}
.ehc-tag--make { font-weight: 800; }
.ehc-tags--dark .ehc-tag { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.20); }
.ehc-tags--sm { gap: 5px; margin-top: 8px; }
.ehc-tags--sm .ehc-tag { font-size: 10px; padding: 3px 8px; }
@media (max-width: 480px) { .ehc-tag { font-size: 10.5px; padding: 4px 9px; } }

/* v1.11.13 (fix1): the HTML card CTAs provide their own arrow SVG (or none,
   per the designer). Suppress the base .eauto-pcard__view '↗' ::after inside
   .ehc so there is no duplicate/incorrect arrow. */
.ehc .eauto-pcard__view::after { content: none; }
/* c9 CTA: explicit dark text on the white pill (designer .c9-cta color:ink). */
.ehc a.ehc-c9-cta { color: var(--ink); background: #fff; }

/* v1.11.13 (fix1): c3 cash-price highlight box (used when no EMI meta) —
   same box footprint as the designer finance box; price left, label right. */
.ehc-c3-emi--cash { align-items: center; }
.ehc-c3-emi--cash strong { font-size: 24px; line-height: 1.1; }
.ehc-c3-emi--cash .from { position: static; top: auto; right: auto; margin-left: auto; }

/* v1.11.14 (fix2): dark-panel cards (c2 dark panel, c7 dark spec boxes) — the
   value span must inherit the light panel text colour, not the light-card
   default dark slate (#1e293b) which was rendering dark-on-dark / faint. */
.ehc-c2 .eauto-pcard__spec-val,
.ehc-c7 .eauto-pcard__spec-val { color: inherit; }

/* v1.11.17 — HTML card spec VALUES must use the designer's per-card type size.
   The plugin base .eauto-pcard__spec-val forces 12px, but in the designer the
   value inherits its container size (c2 13px, c3 12.5px, c5/c6/c7 ~13.5-14.5px).
   Scope an inherit ONLY to the HTML presets so Card-Studio cards are untouched. */
.eauto-pcard--html .eauto-pcard__spec-val { font-size: inherit; font-weight: inherit; }

/* =====================================================================
   v1.11.20 — HTML card preset isolation inside the WordPress/Elementor grid.
   The shared .eauto-grid / .eauto-pcard plumbing was distorting .ehc-* cards
   in the real listing context (not visible in standalone proofs):
     (1) horizontal presets (c2 Dark Premium, c6 Modern Split) were squeezed
         into narrow grid cells and lost their image-left/content-right split;
     (2) the generic ".eauto-grid > article" surface rule forced flex-column,
         overriding c2/c6 display:grid.
   Scoped to .eauto-pcard--html ONLY — Dubai Luxury Dark/Light and any legacy
   card rendering are untouched.
   ===================================================================== */
/* Horizontal presets need a wide container: span the full row in ANY grid
   column count so the horizontal layout keeps the designer proportions. */
.eauto-grid > .eauto-pcard--html-2,
.eauto-grid > .eauto-pcard--html-6 { grid-column: 1 / -1; }
/* v1.13.5 — Dark Premium Horizontal (html-2) is also a full-row horizontal
   preset but was missing the span, so a 3-col grid crushed it into a third
   of the row (live break). Span both; the bare-class selectors are a
   fallback in case an Elementor wrapper means the article is still the grid
   item. (If Elementor wraps each card in a non-grid div, the wrapper needs
   the span — confirm against live View-Source.) */
.eauto-grid > .eauto-pcard--html-2,
.eauto-pcard--html-2,
.eauto-pcard--html-6 { grid-column: 1 / -1; }

/* In list layout the horizontal presets are already full width; vertical HTML
   presets keep their own column layout (the generic list row-flip is excluded
   above). Ensure HTML cards never inherit a forced 42% media width. */
.eauto-listing--list .eauto-pcard--html .ehc-media { flex: initial; max-width: none; }

/* =====================================================================
   v1.11.21 — Full media isolation for HTML card presets.
   The plugin base .eauto-pcard__media adds margin:12px + border-radius:14px +
   aspect-ratio:16/10 (intended for the Dubai/legacy cards). The designer's
   .media base is clean (height/position only), so that base DISTORTS every
   .ehc-* card:
     - a 12px white frame + rounding on c1/c3/c7/c8 (designer is full-bleed);
     - WORSE, aspect-ratio mis-sizes the absolutely-positioned media of c4
       (158x1.6 = 253px wide inside a ~380px wrapper) -> the BLANK RIGHT GAP.
   Reset those three properties for HTML presets so the clean .ehc-media base +
   each .ehc-cN height/position rule govern (matches the designer exactly).
   c10's rounding lives on its .ehc-c10-media wrapper, so clearing the inner
   media radius is safe. Dubai Luxury + legacy cards are untouched. */
.eauto-pcard--html .eauto-pcard__media {
	margin: 0;
	border-radius: 0;
	aspect-ratio: auto;
}

/* =====================================================================
   v1.11.22 (FIX 1) — bookmark/save (.ehc-iconbtn) overlay reset.
   The icon button matched the designer in isolation, but inside a real WP
   theme the theme's generic `button {}` rules (padding, min-height,
   line-height, native appearance, font) leak into the <button>, inflating it
   into an awkward box with extra vertical space / border feel on the image.
   Reset those inherited button defaults so the control is a clean circular
   overlay everywhere. Size, circle, background, border and shadow still come
   from .ehc-iconbtn + each preset's .ehc-cN .ehc-fav (e.g. c2's translucent
   dark top-left pill). Scoped to HTML presets; legacy/Dubai cards untouched. */
.eauto-pcard--html .ehc-iconbtn {
	-webkit-appearance: none;
	        appearance: none;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	min-width: 0;
	min-height: 0;
	line-height: 0;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	border-radius: 50%;
	cursor: pointer;
	outline: none;
}

/* =====================================================================
   v1.14.2 — live QA fix pack (additive only; card styles untouched)
   ===================================================================== */

/* FIX 3 — compare toolbar/tray must NOT appear when nothing is selected.
   The PHP-rendered toolbar carries --nojs until compare-bar.js initialises;
   the script removes the class and then shows/hides strictly by selected
   count. If the script is absent or fails, the empty bar stays hidden
   (selection itself requires JS, so nothing is lost). The Elementor editor
   placeholder (--editor) keeps its preview note. */
.eauto-compare-toolbar--nojs { display: none !important; }
.eauto-compare-toolbar [data-eauto-compare-fallback="1"] { display: none !important; }
.eauto-compare-toolbar--editor { display: block !important; }

/* FIX 4 — inquiry modal premium polish (layout/CSS only; same form,
   same Lead_Forms logic, same tabs/nonce/consent/diagnostics). */
.eauto-inquiry-modal__dialog {
	max-width: 680px;
	max-height: 90vh;
	padding: 26px 28px 22px;
	border-radius: 16px;
	scrollbar-width: thin;
}
.eauto-inquiry-modal__close {
	top: 14px; right: 14px;
	width: 34px; height: 34px;
	display: flex; align-items: center; justify-content: center;
	font-size: 20px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #475569;
	transition: background .15s ease, color .15s ease;
}
.eauto-inquiry-modal__close:hover { background: #e2e8f0; color: #0f172a; }
.eauto-inquiry-modal .eauto-section-title { margin: 0 44px 14px 0; font-size: 19px; }
.eauto-inquiry-modal .eauto-lead-tabs { display: block; border: 0; padding: 0; background: transparent; }
.eauto-inquiry-modal .eauto-lead-panel.is-active { display: block; width: 100%; }
.eauto-inquiry-modal .eauto-lead-form { max-width: none; }
.eauto-inquiry-modal .eauto-lead-tabs__nav {
	display: flex; flex-wrap: wrap; gap: 8px;
	margin: 0 0 16px; padding: 0;
}
.eauto-inquiry-modal .eauto-lead-tab {
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #334155;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	cursor: pointer;
}
.eauto-inquiry-modal .eauto-lead-tab.is-active {
	background: #0f172a; border-color: #0f172a; color: #fff;
}
.eauto-inquiry-modal .eauto-lead-form { border: 0; padding: 0; background: transparent; box-shadow: none; }
.eauto-inquiry-modal .eauto-form-row { margin-bottom: 14px; }
.eauto-inquiry-modal .eauto-form-row label {
	display: block; font-size: 12px; font-weight: 700;
	letter-spacing: .03em; color: #475569;
}
.eauto-inquiry-modal .eauto-form-row input[type="text"],
.eauto-inquiry-modal .eauto-form-row input[type="tel"],
.eauto-inquiry-modal .eauto-form-row input[type="email"],
.eauto-inquiry-modal .eauto-form-row input[type="date"],
.eauto-inquiry-modal .eauto-form-row input[type="number"],
.eauto-inquiry-modal .eauto-form-row select,
.eauto-inquiry-modal .eauto-form-row textarea {
	width: 100%;
	box-sizing: border-box;
	margin-top: 6px;
	padding: 11px 13px;
	border: 1px solid #dbe2ea;
	border-radius: 10px;
	font-size: 14px;
	background: #fbfcfe;
}
.eauto-inquiry-modal .eauto-form-row input:focus,
.eauto-inquiry-modal .eauto-form-row select:focus,
.eauto-inquiry-modal .eauto-form-row textarea:focus {
	outline: 2px solid rgba(15, 23, 42, .18);
	outline-offset: 0;
	border-color: #94a3b8;
	background: #fff;
}
.eauto-inquiry-modal .eauto-form-consent label {
	display: flex; align-items: flex-start; gap: 9px;
	font-weight: 500; font-size: 12.5px; color: #475569;
	letter-spacing: 0; text-transform: none;
}
.eauto-inquiry-modal .eauto-form-consent input[type="checkbox"] { margin-top: 2px; }
.eauto-inquiry-modal .eauto-btn--primary {
	width: 100%;
	padding: 13px 18px;
	border-radius: 11px;
	font-size: 14.5px;
}
@media (max-width: 600px) {
	.eauto-inquiry-modal { padding: 10px; align-items: flex-end; }
	.eauto-inquiry-modal__dialog {
		max-height: 92vh;
		padding: 20px 16px 16px;
		border-radius: 16px 16px 0 0;
	}
	.eauto-inquiry-modal .eauto-lead-tab { padding: 7px 12px; font-size: 12.5px; }
}

/* v1.14.8 FIX 6 — Vehicle: Search Form widget (scoped) */
.eauto-vsf__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 14px; }
.eauto-vsf--vertical .eauto-vsf__grid { grid-template-columns: 1fr; }
.eauto-vsf--compact .eauto-vsf__grid { gap: 8px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.eauto-vsf__field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.eauto-vsf label { font-size: 12px; font-weight: 700; letter-spacing: .03em; color: #475569; }
.eauto-vsf input, .eauto-vsf select { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #dbe2ea; border-radius: 10px; font-size: 14px; background: #fff; }
.eauto-vsf input:focus, .eauto-vsf select:focus { outline: 2px solid rgba(15,23,42,.15); border-color: #94a3b8; }
.eauto-vsf__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.eauto-vsf__submit { cursor: pointer; border: 0; padding: 12px 22px; border-radius: 11px; font-weight: 700; font-size: 14px; background: #0f172a; color: #fff; }
.eauto-vsf__submit:hover { background: #1e293b; }
.eauto-vsf__reset { font-size: 13px; font-weight: 600; color: #64748b; text-decoration: none; }
.eauto-vsf__reset:hover { color: #0f172a; }

/* v1.14.11 Q3 — compare tray restyle to the approved reference pattern
   (white rounded bottom bar, count left, scrollable mini cards, CTA right).
   Additive overrides only. */
.eauto-compare-bar--sticky { background: #fff; border-radius: 16px; box-shadow: 0 10px 34px rgba(15,23,42,.16); left: 16px; right: 16px; bottom: 14px; border: 1px solid #e8ecf3; }
.eauto-compare-bar--sticky .eauto-compare-bar__inner { display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.eauto-compare-bar--sticky .eauto-compare-bar__count { font-weight: 800; color: #0f172a; white-space: nowrap; }
.eauto-compare-bar--sticky [data-eauto-compare-items] { display: flex; gap: 10px; overflow-x: auto; flex: 1 1 auto; min-width: 0; padding: 2px; scrollbar-width: thin; }
.eauto-compare-bar--sticky [data-eauto-compare-items] > * { flex: 0 0 auto; background: #f6f7fb; border: 1px solid #e8ecf3; border-radius: 12px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 8px; max-width: 230px; }
.eauto-compare-bar--sticky .eauto-compare-bar__go { background: #0f172a; color: #fff; border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.eauto-compare-bar--sticky .eauto-compare-bar__go:hover { background: #1e293b; }
.eauto-compare-bar__close { background: transparent; border: 0; font-size: 20px; line-height: 1; color: #94a3b8; cursor: pointer; padding: 6px; }
.eauto-compare-bar__close:hover { color: #0f172a; }
@media (max-width: 560px) { .eauto-compare-bar--sticky { left: 8px; right: 8px; } .eauto-compare-bar--sticky .eauto-compare-bar__go { padding: 10px 14px; } }

/* v1.14.15 B1/B2 — approved reference layout: count + Clear All left,
   scrollable mini cards center, Compare Now right; readable price line. */
.eauto-compare-bar--sticky .eauto-compare-bar__left { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 0 0 auto; }
.eauto-compare-bar--sticky .eauto-compare-bar__clear { background: transparent; border: 0; padding: 0; font-size: 12.5px; font-weight: 600; color: #64748b; cursor: pointer; text-decoration: none; }
.eauto-compare-bar--sticky .eauto-compare-bar__clear:hover { color: #0f172a; text-decoration: underline; }
.eauto-compare-bar--sticky .eauto-compare-bar__right { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.eauto-compare-bar--sticky .eauto-compare-pill__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.eauto-compare-bar--sticky .eauto-compare-pill__label { color: #0f172a; font-weight: 700; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.eauto-compare-bar--sticky .eauto-compare-pill__price { color: #475569; font-weight: 600; font-size: 12px; white-space: nowrap; }
.eauto-compare-bar--sticky .eauto-compare-pill__img { width: 44px; height: 32px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
/* compact/dark legacy layout stays readable */
.eauto-compare-toolbar--layout-compact_luxury .eauto-compare-pill__price { color: #e7d9b4; }

/* v1.14.16c Part 1 — Hero Search "Premium White Floating" design (image9).
   Style-tab controls feed --eauto-hs-* vars; sensible premium defaults. */
.eauto-hero--premium_float { background: var(--eauto-hs-wrap-bg, transparent); padding: 28px 16px; }
.eauto-hero--premium_float .eauto-hero__form {
	display: flex; align-items: center; gap: var(--eauto-hs-gap, 10px);
	background: var(--eauto-hs-box-bg, #fff); border-radius: var(--eauto-hs-radius, 18px);
	padding: var(--eauto-hs-pad, 14px); box-shadow: var(--eauto-hs-shadow, 0 24px 60px rgba(15,23,42,.16));
	flex-wrap: wrap;
}
.eauto-hero--premium_float .eauto-hero__mag { order:-2; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; color: var(--eauto-hs-icon-color, #94a3b8); flex: 0 0 auto; }
.eauto-hero--premium_float .eauto-hero__field { display: flex; flex-direction: column; gap: 3px; flex: 1 1 150px; min-width: 130px; padding: 6px 14px; }
.eauto-hero--premium_float .eauto-hero__field > span:not(.screen-reader-text) { color: var(--eauto-hs-label-color, #64748b); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.eauto-hero--premium_float .eauto-hero__field select,
.eauto-hero--premium_float .eauto-hero__field input {
	border: 0; background: transparent; color: var(--eauto-hs-input-color, #0f172a);
	font-size: 15px; font-weight: 600; padding: 4px 0; outline: none; width: 100%;
}
.eauto-hero--premium_float .eauto-hero__field + .eauto-hero__field { border-left: 1px solid var(--eauto-hs-border-color, #e6eaf0); }
.eauto-hero--premium_float .eauto-hero__form > input[type="search"],
.eauto-hero--premium_float .eauto-hero__form > input[type="text"] {
	flex: 2 1 220px; border: 0; background: var(--eauto-hs-input-bg, #f5f7fa); color: var(--eauto-hs-input-color, #0f172a);
	border-radius: 12px; padding: 14px 16px; font-size: 15px; outline: none; min-width: 160px;
}
.eauto-hero--premium_float .eauto-hero__form button,
.eauto-hero--premium_float .eauto-hero__form [type="submit"] {
	background: var(--eauto-hs-btn-bg, #0f172a); color: var(--eauto-hs-btn-color, #fff);
	border: 0; border-radius: 12px; padding: 14px 26px; font-weight: 700; font-size: 14px; cursor: pointer;
	flex: 0 0 auto; transition: background .15s ease;
}
.eauto-hero--premium_float .eauto-hero__form button:hover,
.eauto-hero--premium_float .eauto-hero__form [type="submit"]:hover { background: var(--eauto-hs-btn-hover, #1e293b); }
@media (max-width:760px){ .eauto-hero--premium_float .eauto-hero__field + .eauto-hero__field{ border-left:0; } }

/* v1.14.16d B2/B3 — Hero premium: visible labels, real field backgrounds,
   placeholder color, keyword-first ordering. Additive overrides. */
.eauto-hero--premium_float .eauto-hero__lbl { display:block; color: var(--eauto-hs-label-color, #64748b); font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; font-weight:700; margin-bottom:2px; }
.eauto-hero--premium_float .eauto-hero__field select,
.eauto-hero--premium_float .eauto-hero__field input { background: var(--eauto-hs-input-bg, transparent); color: var(--eauto-hs-input-color, #0f172a); border-radius:8px; }
.eauto-hero--premium_float .eauto-hero__form input::placeholder { color: var(--eauto-hs-placeholder-color, #94a3b8); opacity:1; }
/* v1.14.16e B3 — order is now guaranteed by real markup; magnifier stays
   leftmost via order:-2. No :has() reliance for core field ordering. */

/* ============================================================
   v1.14.16v — Compare sticky tray: premium white finish + theme-proof
   button hardening + body spacing class. Appended LAST so these rules
   win over earlier layers without editing them (additive discipline).
   ============================================================ */
.eauto-compare-bar.eauto-compare-bar--sticky {
	background: #ffffff;
	color: #0f172a;
	border-top: 1px solid #e8ecf3;
	box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.10);
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
}
.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-bar__inner {
	max-width: 1180px;
	margin: 0 auto;
	gap: 12px;
	border-radius: 16px;
}
.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-bar__count { color: #0f172a; font-weight: 800; }
.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-bar__items {
	gap: 10px;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

/* Selected vehicle mini card */
.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-pill {
	background: #f8fafc;
	border: 1px solid #e8ecf3;
	color: #0f172a;
	border-radius: 12px;
	padding: 6px 8px 6px 6px;
	gap: 8px;
	max-width: 230px;
}
.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-pill__img {
	width: 48px;
	height: 36px;
	object-fit: cover;
	border-radius: 8px;
	flex: 0 0 auto;
	background: #eef2f7;
}
.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-pill__txt {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.15;
}
.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-pill__label {
	font-weight: 700;
	font-size: 13px;
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-pill__price {
	font-size: 12px;
	font-weight: 700;
	color: #475569;
	white-space: nowrap;
}

/* --- Icon button hardening: reset theme/global button inheritance --- */
button.eauto-compare-pill__x,
.eauto-compare-bar.eauto-compare-bar--sticky button.eauto-compare-pill__x,
button.eauto-compare-bar__close,
.eauto-compare-bar.eauto-compare-bar--sticky button.eauto-compare-bar__close {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	padding: 0 !important;
	margin: 0;
	width: 30px;
	min-width: 30px;
	height: 30px;
	min-height: 30px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid #e8ecf3;
	background: #f1f5f9;
	color: #334155;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	flex: 0 0 auto;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
}
button.eauto-compare-pill__x:hover,
.eauto-compare-bar.eauto-compare-bar--sticky button.eauto-compare-pill__x:hover,
button.eauto-compare-bar__close:hover,
.eauto-compare-bar.eauto-compare-bar--sticky button.eauto-compare-bar__close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

/* Compare Now — dark navy, fixed height, no layout jump */
button.eauto-compare-bar__go,
.eauto-compare-bar.eauto-compare-bar--sticky button.eauto-compare-bar__go {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	background: #0f1f3d;
	color: #ffffff;
	border: 0;
	height: 40px;
	min-height: 40px;
	padding: 0 18px !important;
	border-radius: 12px;
	font-weight: 800;
	font-size: 14px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
}
button.eauto-compare-bar__go:hover,
.eauto-compare-bar.eauto-compare-bar--sticky button.eauto-compare-bar__go:hover { background: #16294f; }

/* Clear All — quiet ghost, consistent height */
.eauto-compare-bar.eauto-compare-bar--sticky button.eauto-compare-bar__clear {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	background: transparent;
	border: 1px solid #e2e8f0;
	color: #475569;
	height: 36px;
	min-height: 36px;
	padding: 0 12px !important;
	border-radius: 10px;
	font-weight: 700;
	font-size: 13px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	white-space: nowrap;
}

/* Body spacing when the sticky tray is visible (class + CSS var set by JS) */
body.eauto-compare-tray-visible {
	padding-bottom: var(--eauto-compare-tray-space, 96px);
}

/* Tablet / mobile */
@media (max-width: 782px) {
	.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-pill { max-width: 200px; }
}
@media (max-width: 600px) {
	.eauto-compare-bar.eauto-compare-bar--sticky { padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
	.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-bar__inner { gap: 8px; }
	.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-pill { max-width: 180px; }
	.eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-pill__label { max-width: 110px; }
	.eauto-compare-bar.eauto-compare-bar--sticky button.eauto-compare-bar__go { height: 38px; min-height: 38px; padding: 0 14px !important; }
}

/* ============================================================
   v1.14.16w — FINAL premium compare tray. High-specificity
   `body .eauto-compare-bar …` selectors so theme button styles can
   never bleed in. Appended last; refines width/height + button reset.
   ============================================================ */
body .eauto-compare-bar.eauto-compare-bar--sticky {
	padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
}
body .eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-bar__inner {
	max-width: 1320px;
	margin: 0 auto;
	gap: 12px;
	border-radius: 16px;
	align-items: center;
}
/* compact, not bulky */
body .eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-pill {
	padding: 5px 8px 5px 5px;
	max-width: 220px;
}

/* Icon buttons (remove ×, close ×): reset all theme inheritance, fixed circle */
body .eauto-compare-bar button.eauto-compare-pill__x,
body .eauto-compare-bar button.eauto-compare-bar__close {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	padding: 0 !important;
	margin: 0;
	width: 30px;
	min-width: 30px;
	max-width: 30px;
	height: 30px;
	min-height: 30px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid #e8ecf3;
	background: #f1f5f9;
	color: #334155;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	flex: 0 0 auto;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	min-block-size: 0;
}
body .eauto-compare-bar button.eauto-compare-pill__x:hover,
body .eauto-compare-bar button.eauto-compare-bar__close:hover { background: #e2e8f0; color: #0f172a; }

/* Compare Now: dark navy, fixed compact height, aligned */
body .eauto-compare-bar button.eauto-compare-bar__go {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	background: #0f1f3d;
	color: #ffffff;
	border: 0;
	height: 38px;
	min-height: 38px;
	padding: 0 18px !important;
	border-radius: 12px;
	font-weight: 800;
	font-size: 14px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
	flex: 0 0 auto;
}
body .eauto-compare-bar button.eauto-compare-bar__go:hover { background: #16294f; }

/* Clear All: compact ghost */
body .eauto-compare-bar button.eauto-compare-bar__clear {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	background: transparent;
	border: 1px solid #e2e8f0;
	color: #475569;
	height: 34px;
	min-height: 34px;
	padding: 0 12px !important;
	border-radius: 10px;
	font-weight: 700;
	font-size: 13px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	white-space: nowrap;
	flex: 0 0 auto;
}

/* Mobile: compact bottom-sheet, items scroll horizontally, no overflow */
@media (max-width: 600px) {
	body .eauto-compare-bar.eauto-compare-bar--sticky { padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)); }
	body .eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-bar__inner { gap: 8px; border-radius: 14px; }
	body .eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-bar__items { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
	body .eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-pill { max-width: 168px; }
	body .eauto-compare-bar.eauto-compare-bar--sticky .eauto-compare-pill__label { max-width: 100px; }
	body .eauto-compare-bar button.eauto-compare-bar__go { height: 36px; min-height: 36px; padding: 0 14px !important; }
}
