/* ==========================================================================
   Cubes Web — cars list, compare page & car detail page
   ========================================================================== */

/* ---------- Page hero & breadcrumb ---------- */
.page-hero { padding-block: 30px 34px; color: #fff; background: var(--c-dark); }
.page-hero h1 { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; margin: 10px 0 6px; }
.page-hero p { margin: 0; color: rgb(255 255 255 / 0.75); }
.page-hero strong { color: #fff; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.82rem; color: rgb(255 255 255 / 0.65); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #fff; }
.breadcrumb-light { color: var(--c-muted); margin-bottom: 18px; }
.breadcrumb-light a:hover { color: var(--c-primary); }
.breadcrumb-light span { color: var(--c-text); font-weight: 600; }

/* ---------- Brand strip (#brands) ---------- */
.brand-strip { padding-block: 16px; background: #fff; border-bottom: 1px solid var(--c-border); scroll-margin-top: var(--header-h); }
.brand-strip-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.brand-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--c-border);
	background: #fff;
	white-space: nowrap;
	font-weight: 600;
	font-size: 0.875rem;
}
.brand-chip img { height: 22px; width: auto; }
.brand-chip small { color: var(--c-muted); font-weight: 500; }
.brand-chip:hover,
.brand-chip.is-active { border-color: var(--c-primary); color: var(--c-primary); }

/* ---------- Listing layout ---------- */
.listing { padding-block: 28px 80px; background: var(--c-surface); }
.listing-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.listing-main { min-width: 0; }
.listing-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }

.filters-panel {
	position: sticky;
	top: calc(var(--header-h) + 16px);
	background: #fff;
	border-radius: 20px;
	border: 1px solid var(--c-border);
	max-height: calc(100vh - var(--header-h) - 32px);
	overflow-y: auto;
}
.filters-form { display: grid; gap: 22px; padding: 20px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.filters-head h2 { margin: 0; font-size: 1.1rem; flex: 1; }
.filters-reset { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-primary); font-weight: 700; }
.filters-close { display: none; width: 44px; height: 44px; place-items: center; border-radius: 10px; }
.filters-form .form-field select,
.filters-form .form-field input:not([type="range"]) { min-height: 46px; }
.filter-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.filter-group legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 0.875rem; }
.filter-checks { display: grid; gap: 4px; }
.filter-check { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; cursor: pointer; font-size: 0.95rem; }
.filter-check span { display: flex; align-items: center; gap: 10px; }
.filter-check input { width: 18px; height: 18px; accent-color: var(--c-primary); }
.filter-check small { color: var(--c-muted); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pills .pill span { min-height: 40px; font-size: 0.82rem; }
.price-slider-head { display: flex; justify-content: space-between; gap: 8px; }
.price-slider-head strong { color: var(--c-primary); }
.price-slider input[type="range"] { min-height: 24px; padding: 0; border: 0; background: transparent; accent-color: var(--c-primary); box-shadow: none; }
.find-box { display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: var(--c-primary-soft); }
.find-box small { color: var(--c-muted); line-height: 1.7; }
.filters-backdrop { display: none; }

/* ---------- Toolbar & chips ---------- */
.listing-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid var(--c-border);
	border-radius: 16px;
}
.results-count { margin: 0; flex: 1; color: var(--c-muted); }
.results-count strong { color: var(--c-text); font-size: 1.05rem; }
.sort-select { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--c-muted); }
.sort-select select {
	min-height: 44px;
	padding: 0 12px 0 36px;
	border: 1px solid var(--c-border);
	border-radius: 10px;
	background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6470' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 12px center;
	color: var(--c-text);
	appearance: none;
	-webkit-appearance: none;
}
.view-toggle { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--c-surface); }
.view-toggle button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--c-muted); }
.view-toggle button[aria-pressed="true"] { background: #fff; color: var(--c-primary); box-shadow: 0 1px 3px rgb(0 0 0 / 0.1); }
.filters-toggle { display: none; min-height: 44px; }
.count-pill { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--c-primary); color: #fff; font-size: 0.75rem; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--c-border);
	font-size: 0.82rem;
	font-weight: 600;
	transition: border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.chip-clear { color: var(--c-primary); border-color: transparent; background: transparent; }

/* List view: card becomes a row (media beside the body) */
.listing-grid.is-list { grid-template-columns: minmax(0, 1fr); }
.listing-grid.is-list .car-card { flex-direction: row; flex-wrap: wrap; }
.listing-grid.is-list .car-card-media { flex: 0 1 300px; min-width: min(100%, 220px); }
.listing-grid.is-list .car-card-body { flex: 1 1 280px; }

/* ---------- Empty state & pagination ---------- */
.empty-state {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 56px 24px;
	text-align: center;
	background: #fff;
	border-radius: 20px;
	border: 1px dashed #d9dde3;
}
.empty-state > .ic { color: var(--c-primary); }
.empty-state h3 { margin: 0; font-family: var(--font-display); }
.empty-state p { margin: 0; color: var(--c-muted); max-width: 420px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.page-link {
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--c-border);
	font-weight: 600;
	transition: border-color 0.2s, color 0.2s;
}
.page-link:hover { border-color: var(--c-primary); color: var(--c-primary); }
.page-link.is-current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); font-weight: 700; }

/* ---------- Listing: mobile filters drawer ---------- */
@media (max-width: 991px) {
	.listing-layout { grid-template-columns: minmax(0, 1fr); }
	.filters-toggle { display: inline-flex; }
	.filters-panel {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 210;
		width: min(90vw, 360px);
		max-height: none;
		border-radius: 0;
		transform: translateX(-100%);
		transition: transform 0.35s var(--ease);
	}
	.filters-close { display: grid; }
	.filters-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 205;
		background: rgb(0 0 0 / 0.5);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s, visibility 0.3s;
	}
	body.filters-open { overflow: hidden; }
	body.filters-open .filters-panel { transform: translateX(0); }
	body.filters-open .filters-backdrop { opacity: 1; visibility: visible; }
}
@media (max-width: 575px) {
	.results-count { order: -1; flex-basis: 100%; }
	.sort-select { flex: 1 1 150px; min-width: 0; }
	.sort-select > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.sort-select select { width: 100%; min-width: 0; }
	.listing-grid.is-list .car-card { flex-direction: column; }
	.listing-grid.is-list .car-card-media { flex-basis: auto; }
}

/* ==========================================================================
   Compare page
   ========================================================================== */
.page-compare .compare-tray { display: none !important; }
body.page-compare { padding-bottom: 0; }
.compare-scroll { overflow-x: auto; background: #fff; border-radius: 20px; border: 1px solid var(--c-border); }
.compare-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.875rem; }
.compare-table th,
.compare-table td { padding: 12px 14px; text-align: start; vertical-align: top; border-top: 1px solid var(--c-border); }
.compare-table thead th { border-top: 0; }
.compare-table tbody th { width: 160px; color: var(--c-muted); font-weight: 500; }
.compare-table td { font-weight: 600; }
.compare-label { color: var(--c-muted); font-weight: 600; }
.compare-car { display: grid; gap: 6px; max-width: 280px; }
.compare-car-media { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: #eef1f5; }
.compare-car-media img { width: 100%; height: 100%; object-fit: cover; }
.compare-car-media .car-silhouette { width: 74%; }
.compare-car small { color: var(--c-muted); }
.compare-car-title { font-weight: 700; font-size: 1rem; }
.compare-remove { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--c-primary); font-size: 0.82rem; font-weight: 700; }
td.is-best { background: #e8f7ee; color: #166534; }
.best-tag { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: #16a34a; color: #fff; font-size: 0.7rem; }
.compare-actions td { background: none; }
.compare-more { margin: 20px 0 0; text-align: center; }

/* ==========================================================================
   Car detail page
   ========================================================================== */
.car-page { padding-block: 22px 64px; background: var(--c-surface); }

.car-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.car-head-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.car-head-logo {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	padding: 8px;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--c-border);
	font-size: 0.75rem;
	text-align: center;
	color: var(--c-muted);
}
.car-head-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.car-head h1 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
.car-head-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 3px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--c-border); font-size: 0.82rem; font-weight: 600; }
.tag-primary { background: var(--c-primary); color: #fff; border-color: transparent; font-weight: 700; }
.tag-dark { background: var(--c-dark); color: #fff; border-color: transparent; }
.tag-stock { border-color: transparent; }
.tag-stock.is-ok { background: #e8f7ee; color: #166534; }
.tag-stock.is-wait { background: #fff7e6; color: #92400e; }
.tag-stock.is-soon { background: #eef2ff; color: #3730a3; }
.car-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.car-head-actions .btn { min-height: 44px; border-radius: 12px; }
.wish-btn .ic { color: var(--c-primary); }
.wish-btn[aria-pressed="true"] .ic { fill: currentColor; }
.wish-btn .when-on,
.wish-btn[aria-pressed="true"] .when-off { display: none; }
.wish-btn[aria-pressed="true"] .when-on { display: inline; }
.compare-btn { cursor: pointer; }
.compare-btn input { width: 16px; height: 16px; accent-color: var(--c-primary); }
.compare-btn:has(input:checked) { border-color: var(--c-primary); color: var(--c-primary); }

.car-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.car-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.car-aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; min-width: 0; }

/* Gallery — fixed-ratio stage, no slider library */
.car-gallery { display: grid; gap: 10px; padding: 12px; background: #fff; border-radius: 24px; border: 1px solid var(--c-border); min-width: 0; }
.gallery-stage { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #eef1f5; }
.gallery-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.15s ease; }
.gallery-stage img.is-fading { opacity: 0; }
.gallery-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.gallery-placeholder .car-silhouette { width: 76%; }
.gallery-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: var(--c-dark);
	box-shadow: 0 6px 16px rgb(0 0 0 / 0.12);
	transform: translateY(-50%);
	transition: background-color 0.2s, color 0.2s;
}
.gallery-nav:hover { background: var(--c-primary); color: #fff; }
.gallery-prev { right: 14px; }
.gallery-next { left: 14px; }
.gallery-counter {
	position: absolute;
	bottom: 14px;
	left: 14px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgb(0 0 0 / 0.55);
	color: #fff;
	font-size: 0.75rem;
	direction: ltr;
}
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 4px; }
.gallery-thumb {
	flex: 0 0 96px;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	border: 2px solid transparent;
	opacity: 0.7;
	scroll-snap-align: start;
	transition: opacity 0.2s, border-color 0.2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb.is-active { opacity: 1; border-color: var(--c-primary); }

.car-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 6px 4px; border: 0; }
.car-colors legend { float: right; padding: 0; font-weight: 600; font-size: 0.875rem; } /* float: legend joins the flex row */
.car-colors legend span { color: var(--c-muted); font-weight: 500; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.swatch span:not(.visually-hidden) { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px #d9dde3; }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--c-primary); }
.swatch input:focus-visible + span { outline: 3px solid var(--c-primary); outline-offset: 3px; }

/* Key specs */
.key-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 12px; }
.key-specs li { display: grid; justify-items: center; gap: 6px; padding: 18px 14px; text-align: center; border-radius: 18px; background: #fff; border: 1px solid var(--c-border); }
.key-spec-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--c-primary-soft); color: var(--c-primary); }
.key-specs small { color: var(--c-muted); }
.key-specs strong { font-size: 1rem; }

/* Tabs (all panels stacked without JS) */
.car-tabs { display: grid; gap: 20px; }
.car-tabs.is-tabbed { gap: 0; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--c-border); }
.car-tablist { display: flex; overflow-x: auto; padding: 0 12px; border-bottom: 1px solid var(--c-border); }
.car-tablist [role="tab"] {
	min-height: 56px;
	padding: 0 18px;
	white-space: nowrap;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--c-muted);
	box-shadow: inset 0 -3px 0 transparent;
}
.car-tablist [aria-selected="true"] { color: var(--c-primary); font-weight: 700; box-shadow: inset 0 -3px 0 var(--c-primary); }
.car-tab-panel { padding: 24px; background: #fff; border-radius: 24px; border: 1px solid var(--c-border); min-width: 0; }
.car-tabs.is-tabbed .car-tab-panel { border: 0; border-radius: 0; }
.tab-panel-title { margin: 0 0 16px; font-size: 1.2rem; }
.car-tabs.is-tabbed .tab-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.spec-card { padding: 18px; border-radius: 16px; background: var(--c-surface); }
.spec-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--c-primary); }
.spec-card dl { margin: 0; }
.spec-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-border); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--c-muted); }
.spec-row dd { margin: 0; font-weight: 600; }

.features-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.feature-group h3 { margin: 0 0 10px; font-size: 1rem; }
.feature-group ul { display: grid; gap: 10px; }
.feature-group li { display: flex; align-items: flex-start; gap: 8px; }
.feature-group li .ic {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	padding: 4px;
	margin-top: 2px;
	border-radius: 50%;
	background: var(--c-primary-soft);
	color: var(--c-primary);
}
.warranty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.warranty-tile { display: grid; gap: 6px; padding: 20px; border-radius: 16px; border: 1px solid var(--c-border); }
.warranty-tile strong { font-size: 1.3rem; color: var(--c-primary); }
.warranty-tile span { font-weight: 600; }
.warranty-tile small { color: var(--c-muted); line-height: 1.7; }
.car-description { line-height: 2; color: #3a3f47; overflow-wrap: anywhere; }
.car-description img { max-width: 100%; height: auto; }

/* Test drive */
.test-drive { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 28px; border-radius: 24px; background: var(--c-dark); color: #fff; }
.test-drive-text { flex: 1 1 240px; display: grid; gap: 8px; }
.test-drive-text h2 { margin: 0; font-size: 1.4rem; color: #fff; }
.test-drive-text small { color: rgb(255 255 255 / 0.72); line-height: 1.8; }
.test-drive-form { flex: 2 1 420px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; align-items: end; }
.test-drive-form .btn { min-height: 50px; }
@media (max-width: 575px) { .test-drive { padding: 22px 16px; } }

/* Buy card */
.buy-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; background: var(--c-dark); color: #fff; box-shadow: 0 24px 50px rgb(15 15 20 / 0.2); }
.seg-dark { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--c-dark-2); }
.seg-dark button { color: rgb(255 255 255 / 0.72); }
.seg-dark button[aria-pressed="true"] { background: var(--c-primary); color: #fff; }
.buy-panel { display: grid; gap: 6px; }
.buy-card small { color: rgb(255 255 255 / 0.7); }
.buy-price { font-size: 2.25rem; font-weight: 800; line-height: 1.15; color: #fff; }
.buy-price span:last-child { font-size: 1rem; }
.buy-old { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.buy-old del { color: rgb(255 255 255 / 0.5); }
.save-tag { padding: 2px 8px; border-radius: 6px; background: var(--c-primary); font-size: 0.75rem; font-weight: 700; }
.buy-note { color: rgb(255 255 255 / 0.7); font-size: 0.82rem; }
.buy-range { display: grid; gap: 8px; margin-top: 8px; font-size: 0.82rem; }
.buy-range > span { display: flex; justify-content: space-between; }
.buy-range input { width: 100%; accent-color: var(--c-primary); min-height: 24px; }
.buy-months { margin: 0; padding: 0; border: 0; }
.buy-months legend { padding: 0; margin-bottom: 8px; font-size: 0.82rem; color: rgb(255 255 255 / 0.7); }
.buy-months .pill-group { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.buy-months .pill span { min-height: 42px; padding: 0 4px; background: var(--c-dark-2); border-color: transparent; color: rgb(255 255 255 / 0.8); }
.buy-months .pill input:checked + span { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.buy-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.buy-tiles li { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--c-dark-2); text-align: center; }
.buy-tiles strong { font-size: 0.875rem; }
.buy-tiles small { font-size: 0.75rem; }

.assurances { display: grid; gap: 12px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--c-border); }
.assurances li { display: flex; align-items: center; gap: 12px; }
.assurances li > span:first-child { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--c-primary-soft); color: var(--c-primary); }
.assurances li > span:last-child { display: grid; }
.assurances strong { font-size: 0.875rem; }
.assurances small { color: var(--c-muted); }
.assurances a:hover { color: var(--c-primary); }

.similar-section { background: #fff; }
.similar-title { margin-bottom: 24px; }
.similar-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }

@media (max-width: 991px) {
	.car-layout { grid-template-columns: minmax(0, 1fr); }
	.car-aside { position: static; }
	/* Price & CTAs right after the gallery instead of at the very end */
	.car-main { display: contents; }
	.car-main > * { order: 2; }
	.car-main > .car-gallery { order: 0; }
	.car-aside { order: 1; }
}
@media (max-width: 575px) {
	.car-tab-panel { padding: 18px; }
	.car-head-logo { width: 56px; height: 56px; }
	.gallery-thumb { flex-basis: 80px; }
}
