/**
  Theme Name: ShowCars.kz theme
  Text Domain: showcarstheme
  Author: Igor Sorokin
  Version: 1.3.9
  Description: ShowCars.kz dark/green design system for the ShowCars.kz car-rental marketplace.
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */


:root {
	/* Neutral charcoal surfaces and the reference's vivid green accent. */
	--ec-bg: #111111;
	--ec-surface: #202020;
	--ec-surface-2: #272727;
	--ec-surface-3: #303030;
	--ec-input-bg: #181818;
	--ec-border: #373737;
	--ec-border-strong: #4a4a4a;
	--ec-green: #3bef76;
	--ec-primary: #3bef76;
	--ec-primary-foreground: #102016;
	--ec-green-strong: #62f390;
	--ec-green-pressed: #28d862;
	--ec-primary-strong: #62f390;
	--ec-green-dark: #153a25;
	--ec-green-tint: rgba(59, 239, 118, 0.12);
	--ec-text: #eaeaea;
	--ec-muted: #9d9d9d;
	--ec-faint: #777777;
	--ec-danger: #ff8989;
	--ec-warning: #ffc857;
	--ec-price: #53e981;
	--ec-card-green: #68ed59;
	--ec-card-green-hover: #84f477;
	--ec-card-green-pressed: #50d942;
	--ec-popup-surface: linear-gradient(145deg, rgba(29, 30, 29, 0.98), rgba(17, 18, 17, 0.98));
	--ec-popup-border: #414441;
	--ec-popup-text: #f1f3f1;
	--ec-popup-hover: #2b302c;
	--ec-popup-pressed: #353d36;
	--ec-popup-shadow: 0 20px 54px #00000060, 0 4px 14px #00000038, inset 0 1px 0 #ffffff07;

	/* Radii */
	--ec-r-pill: 999px;
	--ec-r-card: 22px;
	--ec-r-panel: 18px;
	--ec-r-control: 11px;
	--ec-r-small: 8px;

	/* Spacing */
	--ec-gap: 24px;
	--ec-section: 48px;
	--ec-pad: 24px;

	/* Typography */
	--ec-font: 'Manrope', Arial, Helvetica, sans-serif;
	--ec-fs-hero: clamp(34px, 5vw, 58px);
	--ec-fs-h2: clamp(24px, 3vw, 34px);
	--ec-fs-title: 22px;
	--ec-fs-base: 16px;
	--ec-fs-small: 14px;

	/* Layout */
	--ec-container: 1228px;
	--ec-header-h: 64px;

	/* Motion */
	--ec-ease: 150ms ease;
}

/* Self-hosted Manrope; each subset loads only for matching characters. */
@font-face {
	font-family: 'Manrope';
	src: url('assets/fonts/Manrope/Manrope-cyrillic-ext.woff2') format('woff2');
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
	font-family: 'Manrope';
	src: url('assets/fonts/Manrope/Manrope-cyrillic.woff2') format('woff2');
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Manrope';
	src: url('assets/fonts/Manrope/Manrope-latin.woff2') format('woff2');
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ec-header-h) + 16px);
}

body {
	margin: 0;
	background-color: var(--ec-bg);
	color: var(--ec-text);
	font-family: var(--ec-font);
	font-size: var(--ec-fs-base);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--ec-ease);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

h1,
h2,
h3,
h4 {
	line-height: 1.15;
	margin: 0 0 0.6em;
	font-weight: 700;
}

:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection {
	background: var(--ec-green);
	color: #10240a;
}

.ec-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: 100%;
	max-width: var(--ec-container);
	margin: 0 auto;
	padding: 0 24px;
}

.wrapper {
	width: 100%;
	min-height: 100vh;
	overflow-x: clip;
	display: flex;
	flex-direction: column;
}

.main {
	flex: 1 0 auto;
	padding-bottom: var(--ec-section);
}

.clear {
	clear: both;
}

/* ==========================================================================
   3. Theme controls (buttons, badges, inputs used by theme markup only)
   ========================================================================== */

.ec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 49px;
	padding: 0 21px;
	border: 1px solid transparent;
	border-radius: var(--ec-r-pill);
	background: var(--ec-green);
	color: #122014;
	font-weight: 600;
	font-size: var(--ec-fs-base);
	line-height: 1;
	cursor: pointer;
	text-align: center;
	transition: background var(--ec-ease), color var(--ec-ease), border-color var(--ec-ease), transform var(--ec-ease);
}

.ec-btn:hover {
	background: var(--ec-green-strong);
	color: #122014;
}

.ec-btn:active {
	background: var(--ec-green-pressed);
}

.ec-btn--ghost {
	background: transparent;
	color: var(--ec-text);
	border-color: #505050;
}

.ec-btn--ghost:hover {
	background: transparent;
	border-color: var(--ec-green);
	color: var(--ec-text);
}

.ec-btn--ghost:active { background: #393939; }

.ec-btn--small {
	padding: 9px 18px;
	font-size: var(--ec-fs-small);
	min-height: 44px;
}

.ec-btn[disabled],
button[disabled].ec-btn {
	border-color: #3b5542;
	background: #3b5542;
	color: #84958a;
	cursor: not-allowed;
}

.ec-btn:focus-visible { outline: 2px solid var(--ec-green); outline-offset: 4px; }

.ec-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 11px;
	border-radius: var(--ec-r-pill);
	border: 1px solid var(--ec-border-strong);
	background: var(--ec-surface-2);
	color: var(--ec-muted);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.ec-badge--green {
	background: var(--ec-green-tint);
	border-color: rgba(126, 238, 138, 0.35);
	color: var(--ec-green);
}

.ec-input,
.wp-login-form input[type='text'],
.wp-login-form input[type='password'] {
	width: 100%;
	min-height: 49px;
	padding: 13px 14px;
	border: 1px solid var(--ec-popup-border);
	border-radius: var(--ec-r-control);
	background: #111411;
	color: var(--ec-text);
	transition: border-color var(--ec-ease), background var(--ec-ease);
}

.ec-select,
.ec-textarea {
	width: 100%;
	min-height: 49px;
	padding: 13px 14px;
	border: 1px solid var(--ec-popup-border);
	border-radius: var(--ec-r-control);
	background: #111411;
	color: var(--ec-text);
	transition: border-color var(--ec-ease), background var(--ec-ease);
}

.ec-input::placeholder {
	color: var(--ec-faint);
}

.ec-input:focus,
.wp-login-form input[type='text']:focus,
.wp-login-form input[type='password']:focus {
	outline: none;
	border-color: var(--ec-green);
	background: #111411;
}

.ec-select:focus,
.ec-textarea:focus {
	outline: none;
	border-color: var(--ec-green);
	background: #111411;
}

:is(.ec-input, .ec-select, .ec-textarea):hover:not(:disabled, [aria-invalid="true"]) { border-color: var(--ec-green); }
:is(.ec-input, .ec-select, .ec-textarea)[aria-invalid="true"] { border-color: var(--ec-danger); }

.ec-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23ffffff' stroke-opacity='.55' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
	cursor: pointer;
}

.ec-textarea {
	min-height: 96px;
	resize: vertical;
}

/* ==========================================================================
   4. Header
   ========================================================================== */

.ec-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(17, 17, 17, 0.8);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
}

.ec-header__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	min-height: var(--ec-header-h);
	padding-left: 0;
	padding-right: 0;
}

.ec-header .container {
	max-width: none;
	padding-right: clamp(24px, 2.25vw, 48px);
	padding-left: clamp(24px, 2.25vw, 48px);
}

.ec-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	justify-self: start;
}

.ec-logo__image {
	display: block;
	width: 245px;
	height: auto;
	max-width: 100%;
}

.ec-header .ec-logo__image {
	width: auto;
	height: 32px;
}

.ec-nav {
	margin-left: 0;
	justify-self: center;
}

.ec-nav ul,
.ec-mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 2px;
}

.ec-nav a {
	display: inline-block;
	height: 38px;
	padding: 7px 16px;
	border-radius: var(--ec-r-pill);
	color: var(--ec-text);
	font-weight: 600;
	font-size: var(--ec-fs-base);
}

.ec-mobile-menu a {
	display: inline-block;
	min-height: 38px;
	padding: 7px 16px;
	border-radius: var(--ec-r-pill);
	color: var(--ec-text);
	font-weight: 600;
	font-size: var(--ec-fs-base);
}

.ec-nav a:hover,
.ec-nav .current-menu-item > a,
.ec-nav .current_page_item > a {
	color: var(--ec-text);
	background: var(--ec-surface-2);
}

.ec-header__controls {
	display: flex;
	align-items: center;
	gap: 6px;
	justify-self: end;
}

.ec-header .ec-btn {
	height: 44px;
	min-height: 0;
	padding: 7px 16px;
}

.ec-lang {
	position: relative;
}

.ec-profile {
	position: relative;
}

.ec-profile summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	cursor: pointer;
}

.ec-profile summary::-webkit-details-marker {
	display: none;
}

.ec-profile summary::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform var(--ec-ease);
}

.ec-profile[open] summary::after {
	transform: rotate(-135deg) translateY(-1px);
}

.ec-profile__list {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 156px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--ec-surface-2);
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-r-pill);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	z-index: 60;
}

.ec-profile__list a,
.ec-profile__list button {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 8px 14px;
	border: 0;
	border-radius: var(--ec-r-pill);
	background: transparent;
	color: var(--ec-text);
	font: inherit;
	font-size: var(--ec-fs-small);
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
}

.ec-profile__list a:hover,
.ec-profile__list a:focus-visible,
.ec-profile__list button:hover,
.ec-profile__list button:focus-visible {
	color: var(--ec-text);
	background: rgba(255, 255, 255, 0.06);
}

.ec-lang summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: var(--ec-r-pill);
	background: transparent;
	color: var(--ec-text);
	cursor: pointer;
	list-style: none;
	transition: color var(--ec-ease), background var(--ec-ease);
}

.ec-lang summary::-webkit-details-marker {
	display: none;
}

.ec-lang__icon {
	flex: 0 0 27px;
}

.ec-lang summary:hover {
	color: var(--ec-text);
	background: var(--ec-surface-3);
}

.ec-lang__list {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 100%;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--ec-surface-2);
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-r-control);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	z-index: 60;
}

.ec-lang__list a {
	display: block;
	padding: 8px 14px;
	border-radius: var(--ec-r-small);
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
	white-space: nowrap;
}

.ec-lang__list a:hover {
	color: var(--ec-text);
	background: rgba(255, 255, 255, 0.06);
}

.ec-lang__list .current-lang a {
	color: var(--ec-green);
}

.ec-iconbtn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: var(--ec-r-pill);
	background: var(--ec-surface-2);
	color: var(--ec-text);
	cursor: pointer;
	transition: color var(--ec-ease), border-color var(--ec-ease), background var(--ec-ease);
}

.ec-iconbtn:hover,
.ec-iconbtn.is-active {
	color: var(--ec-green);
	border-color: rgba(126, 238, 138, 0.4);
	background: var(--ec-green-tint);
}

.ec-iconbtn svg {
	width: 20px;
	height: 20px;
}

.ec-iconbtn__count {
	position: absolute;
	top: 0;
	right: -2px;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border: 2px solid #111;
	border-radius: 50%;
	background: var(--ec-green);
	color: #111;
	font-size: 10px;
	font-weight: 700;
}

.ec-iconbtn__count[hidden] {
	display: none;
}

.ec-burger {
	display: none;
	position: relative;
	width: 42px;
	height: 42px;
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-r-pill);
	background: transparent;
	cursor: pointer;
}

.ec-burger span,
.ec-burger::before,
.ec-burger::after {
	content: '';
	position: absolute;
	left: 11px;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--ec-text);
	transition: transform var(--ec-ease), opacity var(--ec-ease);
}

.ec-burger::before {
	top: 14px;
}

.ec-burger span {
	top: 20px;
}

.ec-burger::after {
	top: 26px;
}

body.is-menu-open .ec-burger::before {
	transform: translateY(6px) rotate(45deg);
}

body.is-menu-open .ec-burger span {
	opacity: 0;
}

body.is-menu-open .ec-burger::after {
	transform: translateY(-6px) rotate(-45deg);
}

.ec-mobile-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 1;
	border-top: 1px solid var(--ec-border);
	background: #111;
}

.ec-menu-scrim {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 49;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(6px);
}

body.is-menu-open .ec-menu-scrim {
	display: block;
}

.ec-mobile-menu .ec-mobile-menu__controls {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 16px 20px;
}

.ec-mobile-menu .ec-mobile-menu__controls > .ec-btn--ghost,
.ec-mobile-menu .ec-mobile-menu__controls .ec-profile > summary {
	width: 100%;
	height: 44px;
	min-height: 44px;
	justify-content: flex-start;
	padding: 0 16px;
	border: 1px solid #707074;
	border-radius: var(--ec-r-pill);
	background: #111;
	color: #fafafa;
	font-size: 16px;
	text-align: left;
}

.ec-mobile-menu .ec-mobile-menu__controls > .ec-btn--ghost:is(:hover, :focus-visible, :active),
.ec-mobile-menu .ec-mobile-menu__controls .ec-profile > summary:is(:hover, :focus-visible, :active),
.ec-mobile-menu .ec-mobile-menu__controls .ec-profile[open] > summary {
	background: #191919;
	border-color: #949498;
}

.ec-mobile-menu .ec-profile {
	width: 100%;
}

.ec-mobile-menu .ec-mobile-menu__controls .ec-profile summary {
	justify-content: space-between;
	width: 100%;
}

.ec-mobile-menu .ec-profile__list {
	position: static;
	margin-top: 8px;
	box-shadow: none;
}

.ec-mobile-menu ul {
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	padding: 12px 16px;
}

.ec-mobile-menu a {
	display: block;
	padding: 12px 16px;
	border-radius: var(--ec-r-control);
}

.ec-mobile-menu .ec-mobile-menu__controls > .ec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

body.is-menu-open .ec-mobile-menu {
	display: block;
}

/* ==========================================================================
   5. Hero
   ========================================================================== */

.ec-hero {
	position: relative;
	display: grid;
	width: 100vw;
	min-height: 450px;
	margin-left: calc(50% - 50vw);
	align-items: center;
	padding: clamp(48px, 6vw, 78px) 0 clamp(42px, 5vw, 64px);
	background-image: linear-gradient(90deg, rgba(5, 10, 8, 0.74), rgba(5, 10, 8, 0.68)), linear-gradient(0deg, rgba(5, 10, 8, 0.6), rgba(5, 10, 8, 0.35) 48%, rgba(5, 10, 8, 0.42)), url('assets/img/catalogue-hero.webp');
	background-position: center, center, center 70%;
	background-size: cover, cover, 100% auto;
	color: #fff;
	text-align: center;
}

.ec-hero .container {
	display: grid;
	justify-items: center;
	gap: 0;
	padding-inline: clamp(24px, 4vw, 56px);
}

.ec-hero__title,
.showcars-app .showcars-catalogue-hero.ec-hero h1 {
	position: relative;
	z-index: 7;
	margin: 0;
	max-width: 1000px;
	color: #fff;
	font-size: clamp(32px, 4.2vw, 54px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.ec-hero__title .accent {
	color: var(--ec-green);
	white-space: nowrap;
}

.ec-city-selector {
	position: relative;
	color: var(--ec-green);
}

.ec-city-selector summary {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 12px;
	border: 1px solid #535353;
	border-radius: var(--ec-r-pill);
	background: #202020;
	color: #f1f3f1;
	cursor: pointer;
	list-style: none;
	transition: border-color var(--ec-ease), background-color var(--ec-ease);
}

.ec-city-selector summary::-webkit-details-marker {
	display: none;
}

.ec-city-selector summary::after {
	width: 0.45em;
	height: 0.45em;
	flex: 0 0 auto;
	border-right: 1.7px solid currentColor;
	border-bottom: 1.7px solid currentColor;
	content: '';
	transform: translateY(-0.12em) rotate(45deg);
	transition: transform var(--ec-ease);
}

.ec-city-selector summary:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 3px;
}

.ec-city-selector[open] summary::after {
	transform: translateY(0.12em) rotate(225deg);
}

.ec-city-selector--green summary {
	min-height: 44px;
	align-items: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ec-green);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.ec-city-selector--green summary::after {
	display: none;
}

.ec-city-selector--green summary:is(:hover, :focus-visible) {
	border: 0;
	background: transparent;
	color: var(--ec-green-strong);
}

.ec-city-selector ul {
	position: absolute;
	z-index: 5;
	top: calc(100% + 0.45rem);
	left: 0;
	min-width: 10rem;
	margin: 0;
	padding: 0.35rem;
	border: 1px solid var(--ec-border-strong);
	border-radius: var(--ec-r-control);
	background: var(--ec-surface);
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
	list-style: none;
	font-size: 1rem;
	line-height: 1.25;
}

.ec-city-selector a {
	display: block;
	padding: 0.55rem 0.7rem;
	color: var(--ec-text);
	white-space: nowrap;
}

.ec-city-selector a:hover,
.ec-city-selector a:focus-visible {
	border-radius: var(--ec-r-pill);
	background: var(--ec-surface-2);
	color: var(--ec-green);
	text-decoration: none;
}

.ec-card__location {
	margin: 8px 0 0;
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
}

.ec-hero__subtitle,
.showcars-app .showcars-catalogue-hero.ec-hero > p.ec-hero__subtitle {
	max-width: 620px;
	margin: 26px 0 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(16px, 1.7vw, 20px);
	line-height: 1.45;
}

.ec-hero-search {
	position: relative;
	z-index: 6;
	width: min(100%, 980px);
	margin-top: 36px;
	text-align: left;
}

.ec-hero-search__control {
	position: relative;
	display: flex;
	min-height: 76px;
	align-items: center;
	gap: 12px;
	padding: 7px 8px 7px 24px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: var(--ec-r-pill);
	background: #fff;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.ec-hero-search__control:focus-within {
	outline: 3px solid rgba(126, 238, 138, 0.85);
	outline-offset: 3px;
}

.ec-hero-search__icon {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	color: #17191a;
}

.ec-hero-search__input {
	width: 100%;
	min-width: 0;
	min-height: 56px;
	flex: 1 1 auto;
	padding: 0 8px;
	border: 0 !important;
	border-radius: 0 !important;
	outline: none !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #151819 !important;
	font-size: clamp(16px, 1.5vw, 20px);
}

.ec-hero-search__input::placeholder {
	color: #707879 !important;
	opacity: 1 !important;
}

.ec-hero-search__submit {
	min-width: 220px;
	min-height: 62px;
	flex: 0 0 auto;
	padding: 0 26px;
	border: 0;
	border-radius: var(--ec-r-pill);
	background: var(--ec-green);
	color: #10240a;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	transition: background var(--ec-ease), transform var(--ec-ease);
}

.ec-hero-search__submit:hover {
	background: #13d95d;
	transform: translateY(-1px);
}

.ec-hero-search__retry {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 10px 0 0 8px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--ec-r-control);
	background: transparent;
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.ec-hero-search__retry[hidden] {
	display: none;
}

.ec-hero-search__submit:disabled {
	cursor: wait;
	opacity: 0.65;
}

/* ==========================================================================
   6. Filters bar
   ========================================================================== */

.ec-filters {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	align-items: center;
	gap: 18px;
	margin: 0 0 20px;
	padding: 16px 18px;
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-r-panel);
	background: var(--ec-surface);
}

.ec-filters__pills {
	display: flex;
	grid-column: 1 / -1;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	scrollbar-width: none;
}

.ec-filters__pills::-webkit-scrollbar {
	display: none;
}

.ec-pill {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-r-pill);
	background: var(--ec-surface);
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
	font-weight: 500;
	transition: color var(--ec-ease), background var(--ec-ease), border-color var(--ec-ease);
	white-space: nowrap;
}

.ec-pill:hover {
	color: var(--ec-text);
	border-color: var(--ec-border-strong);
}

.ec-pill.is-active {
	background: var(--ec-green);
	border-color: var(--ec-green);
	color: #10240a;
	font-weight: 600;
}

.ec-filters__row {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
	align-items: center;
	gap: 10px;
}

.ec-filters__row > label {
	display: grid;
	gap: 6px;
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
}

.ec-filters__row > .ec-btn {
	align-self: end;
}

.ec-search {
	position: relative;
	flex: 1 1 260px;
	max-width: none;
}

.ec-search .ec-input {
	padding-left: 42px;
}

.ec-search svg {
	position: absolute;
	left: 15px;
	top: 50%;
	width: 17px;
	height: 17px;
	transform: translateY(-50%);
	color: var(--ec-faint);
	pointer-events: none;
}

.ec-filters__sort {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
}

.ec-sort-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.ec-sort-icon {
	width: 16px;
	height: 16px;
	color: var(--ec-faint);
}

.ec-filters__sort .ec-select {
	width: auto;
	min-width: 190px;
	padding-top: 11px;
	padding-bottom: 11px;
}

.ec-count {
	margin: 0;
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
}

.ec-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 18px;
}

.ec-count strong {
	color: var(--ec-text);
	font-weight: 600;
}

/* ==========================================================================
   7. Vehicle cards grid
   ========================================================================== */

.ec-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--ec-gap);
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.ec-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-r-card);
	background: var(--ec-surface);
	overflow: hidden;
	transition: border-color var(--ec-ease), box-shadow var(--ec-ease);
}

.ec-card:hover {
	border-color: var(--ec-border-strong);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.ec-card__media {
	position: relative;
	z-index: 2;
	display: block;
	aspect-ratio: 8 / 7;
	overflow: hidden;
	background: var(--ec-surface-2);
}

.ec-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ec-card__media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ec-faint);
}

.ec-card__media--empty svg {
	width: 64px;
	height: 64px;
}

.ec-favbtn {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-r-pill);
	background: rgba(17, 17, 17, 0.65);
	color: var(--ec-muted);
	cursor: pointer;
	transition: color var(--ec-ease), border-color var(--ec-ease), background var(--ec-ease);
}

.ec-favbtn svg {
	width: 19px;
	height: 19px;
}

.ec-favbtn:hover {
	color: var(--ec-green);
	border-color: rgba(126, 238, 138, 0.45);
}

.ec-favbtn.is-active {
	color: var(--ec-green);
	border-color: rgba(126, 238, 138, 0.45);
	background: rgba(18, 48, 8, 0.72);
}

.ec-favbtn.is-active svg path {
	fill: currentColor;
}

.ec-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 12px;
	padding: 22px 26px 24px;
}

.ec-card__title {
	margin: 0;
	font-size: clamp(22px, 2.1vw, 28px);
	font-weight: 700;
	line-height: 1.15;
}

.ec-card__title-year {
	color: var(--ec-muted);
	font-weight: 400;
}

.ec-card__title a:hover {
	color: var(--ec-green);
}

.ec-card__title a::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	content: '';
}

.ec-card__title a:focus-visible::after {
	outline: 2px solid var(--ec-green);
	outline-offset: -2px;
}

.ec-card__provider a,
.ec-card__btn {
	position: relative;
	z-index: 2;
}

.ec-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.ec-card__specs {
	margin: -4px 0 0;
	color: var(--ec-muted);
	font-size: 16px;
}

.ec-card__terms {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 18px;
	margin: 4px 0;
	padding: 0;
}

.ec-card__term {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ec-muted);
	font-size: 15px;
}

.ec-card__term svg {
	width: 16px;
	height: 16px;
	color: var(--ec-text);
	flex: 0 0 auto;
}

.ec-card__term--minimum {
	grid-column: 1 / -1;
}

.ec-card__provider {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 4px 0;
	padding: 12px 0;
	border-top: 1px solid var(--ec-border);
	border-bottom: 1px solid var(--ec-border);
	color: var(--ec-muted);
	font-size: 14px;
}

.ec-card__provider-avatar {
	display: inline-block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--ec-text);
	flex: 0 0 auto;
	object-fit: cover;
}

.ec-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 0;
}

.ec-price {
	color: var(--ec-price);
	font-size: clamp(24px, 2.2vw, 28px);
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.ec-price-unit {
	color: var(--ec-text);
	font-size: 17px;
	font-weight: 600;
}

.ec-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 0 auto;
	border-radius: var(--ec-r-control);
}

.ec-card .ec-card__btn {
	min-width: 144px;
	min-height: 54px;
	padding: 14px 22px;
	font-size: 16px;
}

.ec-card__btn svg {
	width: 16px;
	height: 16px;
}

@media (max-width: 560px) {
	.ec-card__body {
		padding: 18px 20px 20px;
	}

	.ec-card__terms {
		grid-template-columns: minmax(0, 1fr);
	}

	.ec-card__term--minimum {
		grid-column: auto;
	}

	.ec-card__foot {
		align-items: stretch;
		flex-direction: column;
	}

	.ec-card__foot .ec-btn {
		width: auto;
		align-self: flex-start;
	}
}

.ec-empty {
	padding: 56px 24px;
	border: 1px dashed var(--ec-border-strong);
	border-radius: var(--ec-r-card);
	background: var(--ec-surface);
	text-align: center;
	color: var(--ec-muted);
}

.ec-empty .ec-btn {
	margin-top: 16px;
}

/* ==========================================================================
   8. Pagination
   ========================================================================== */

.ec-pagination {
	margin: 8px 0 0;
}

.ec-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-pagination a,
.ec-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-r-pill);
	background: var(--ec-surface);
	color: var(--ec-muted);
	font-weight: 500;
	transition: color var(--ec-ease), border-color var(--ec-ease), background var(--ec-ease);
}

.ec-pagination a:hover {
	color: var(--ec-text);
	border-color: var(--ec-border-strong);
}

.ec-pagination .current {
	background: var(--ec-green);
	border-color: var(--ec-green);
	color: #10240a;
	font-weight: 600;
}

/* ==========================================================================
   9. Vehicle detail (single car_vehicle) — layout only.
      Plugin-rendered blocks (gallery, specs, contacts, entry content) are
      styled by the plugin design system; this sheet places them.
   ========================================================================== */

.ec-single {
	padding-top: 24px;
}

.ec-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px;
	color: var(--ec-faint);
	font-size: var(--ec-fs-small);
}

.ec-breadcrumbs a {
	color: var(--ec-muted);
}

.ec-breadcrumbs a:hover {
	color: var(--ec-green);
}

.ec-breadcrumbs .sep {
	opacity: 0.5;
}

.ec-single__head {
	margin-bottom: 24px;
}

.ec-single__title {
	margin: 0 0 12px;
	font-size: clamp(26px, 3.6vw, 40px);
	font-weight: 700;
}

.ec-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ec-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: start;
	gap: 20px 28px;
	margin-bottom: var(--ec-section);
}

.ec-single__primary,
.ec-single__sidebar,
.showcars-detail-sidebar {
	min-width: 0;
}

.ec-single__primary .showcars-gallery {
	grid-area: gallery;
	position: sticky;
	top: calc(var(--ec-header-h) + 16px);
	margin: 0;
}

.ec-single__sidebar,
.showcars-detail-sidebar {
	display: grid;
	align-content: start;
	gap: 16px;
}

.ec-single__sidebar .showcars-detail-panel {
	margin: 0;
}

.ec-single__sidebar .showcars-detail-hours .showcars-hours-row dt {
	min-width: 0;
}

.ec-single__sidebar .showcars-detail-hours .showcars-hours-row dd {
	flex: 0 0 auto;
}

@media (max-width: 600px) {
	.ec-single__sidebar .showcars-detail-hours .showcars-hours-row {
		gap: 10px;
	}
}

/* ==========================================================================
   10. Generic pages, search, 404
   ========================================================================== */

.ec-page {
	padding: 34px 24px var(--ec-section);
}

.ec-page__title {
	font-size: clamp(26px, 3.4vw, 38px);
	margin-bottom: 22px;
}

.ec-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 46vh;
	padding: 60px 0;
}

.ec-404__code {
	margin: 0 0 8px;
	font-size: clamp(72px, 12vw, 140px);
	font-weight: 700;
	line-height: 1;
	color: var(--ec-green);
}

.ec-404__text {
	max-width: 460px;
	margin: 0 0 24px;
	color: var(--ec-muted);
}

/* Search results */
.ec-search-results {
	display: grid;
	gap: 14px;
}

.ec-search-result {
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-r-panel);
	background: var(--ec-surface);
	padding: 18px 22px;
}

.ec-search-result h2 {
	margin: 0 0 6px;
	font-size: 18px;
}

.ec-search-result h2 a:hover {
	color: var(--ec-green);
}

.ec-search-result p {
	margin: 0;
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
}

/* Guides (native editorial Posts) */
.ec-page__intro {
	max-width: 760px;
	margin-bottom: 28px;
}

.ec-page__lead {
	margin: -10px 0 0;
	color: var(--ec-muted);
	font-size: 17px;
}

.ec-eyebrow {
	margin: 0 0 8px;
	color: var(--ec-green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ec-guides__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--ec-gap);
}

.ec-guide-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--ec-border);
	border-radius: var(--ec-r-card);
	background: var(--ec-surface);
	overflow: hidden;
}

.ec-guide-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--ec-surface-2);
	overflow: hidden;
}

.ec-guide-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ec-guide-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 20px;
}

.ec-guide-card__date,
.ec-guide__meta {
	margin: 0 0 8px;
	color: var(--ec-faint);
	font-size: 13px;
}

.ec-guide-card__title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.3;
}

.ec-guide-card__title a:hover {
	color: var(--ec-green);
}

.ec-guide-card__excerpt {
	margin: 0 0 18px;
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
}

.ec-guide-card__link {
	margin-top: auto;
}

.ec-guide-card--compact .ec-guide-card__body {
	padding: 18px;
}

.ec-guide-card--compact .ec-guide-card__title {
	font-size: 18px;
}

.ec-guides__cta {
	margin: 30px 0 0;
	text-align: center;
}

.ec-guide {
	max-width: 820px;
	margin: 0 auto;
}

.ec-guide__header {
	margin-bottom: 24px;
}

.ec-guide__title {
	margin: 0 0 12px;
	font-size: clamp(30px, 4.5vw, 52px);
	line-height: 1.15;
}

.ec-guide__meta {
	margin-bottom: 0;
}

.ec-guide__featured {
	margin: 0 0 28px;
	border-radius: var(--ec-r-card);
	overflow: hidden;
}

.ec-guide__featured img {
	display: block;
	width: 100%;
	height: auto;
}

.ec-guide__content {
	color: var(--ec-text);
	font-size: 17px;
	line-height: 1.75;
}

.ec-guide__content > * + * {
	margin-top: 1.1em;
}

.ec-guide__content a {
	color: var(--ec-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ec-guide__content img {
	max-width: 100%;
	height: auto;
}

.ec-guide__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--ec-border);
}

.ec-guide__footer p {
	margin: 0;
	color: var(--ec-muted);
}

.ec-guide-related {
	margin: 60px auto 0;
	max-width: 1120px;
}

.ec-guide-related h2 {
	margin: 0 0 20px;
	font-size: 24px;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.ec-footer {
	flex-shrink: 0;
	border-top: 1px solid var(--ec-border);
	background: rgba(17, 17, 17, 0.6);
	padding: 36px 0;
}

.ec-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.ec-footer .ec-logo__image {
	width: 220px;
}

.ec-footer__menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-footer__menu a {
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
}

.ec-footer__menu a:hover {
	color: var(--ec-green);
}

.ec-footer__support {
	margin: 0;
}

.ec-footer__support a {
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
}

.ec-footer__support a:hover {
	color: var(--ec-green);
}

.ec-footer__directory {
	margin-bottom: 24px;
}

.ec-footer__directory h2 {
	margin: 0 0 12px;
	color: var(--ec-text);
	font-size: var(--ec-fs-small);
}

.ec-footer__directory-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-footer__city-link {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--ec-muted);
	overflow-wrap: anywhere;
}

.ec-footer__city-link:hover {
	color: var(--ec-green);
}

.ec-footer__city-link:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 2px;
}

.ec-footer__directory-guides {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ec-muted);
}

.ec-footer__directory-guides:hover {
	color: var(--ec-green);
}

.ec-footer__directory-guides:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 2px;
}

.ec-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 18px;
	border-top: 1px solid var(--ec-border);
	color: var(--ec-faint);
	font-size: 13px;
}

/* ==========================================================================
   12. Responsive
   ========================================================================== */

@media (min-width: 1025px) {
	.container {
		width: calc(100% - 80px);
		max-width: 1228px;
		padding-inline: 0;
	}

	.main > .showcars-app.showcars-catalogue {
		padding-inline: 40px;
	}
}

@media (max-width: 1100px) {
	.ec-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.ec-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 1024px) {
	.ec-nav,
	.ec-header__controls,
	.ec-header__inner > .ec-header-city {
		display: none;
	}

	.ec-burger {
		display: block;
		margin-left: auto;
	}

	.ec-header__inner {
		display: flex;
	}
}

@media (max-width: 1024px) {
	:root {
		--ec-gap: 18px;
	}

	.ec-guides__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ec-footer__directory-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ec-single__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.ec-single__primary .showcars-gallery {
		position: static;
	}
}

@media (max-width: 860px) {
	.ec-filters {
		grid-template-columns: minmax(0, 1fr);
	}

	.ec-filters__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ec-header__inner {
		justify-content: space-between;
		gap: 12px;
		min-width: 0;
	}

	.ec-logo {
		min-width: 0;
		flex: 1 1 auto;
	}

	.ec-header .ec-logo__image {
		width: 100%;
		max-width: 245px;
		height: auto;
	}

	.ec-burger {
		width: 44px;
		height: 44px;
		min-width: 44px;
		flex: 0 0 44px;
		margin-left: 0;
	}

	.ec-mobile-menu {
		max-height: calc(100vh - var(--ec-header-h));
		max-height: calc(100dvh - var(--ec-header-h));
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.ec-mobile-menu a {
		min-height: 44px;
		overflow-wrap: anywhere;
	}

	body.admin-bar .ec-mobile-menu {
		max-height: calc(100vh - var(--ec-header-h) - 32px);
		max-height: calc(100dvh - var(--ec-header-h) - 32px);
	}
}

@media (max-width: 782px) {
	body.admin-bar .ec-mobile-menu {
		max-height: calc(100vh - var(--ec-header-h) - 46px);
		max-height: calc(100dvh - var(--ec-header-h) - 46px);
	}
}

@media (max-width: 560px) {
	.ec-mobile-menu .ec-mobile-menu__controls {
		padding-right: 16px;
		padding-left: 16px;
	}

	.ec-hero__subtitle {
		margin-top: 20px;
		font-size: 16px;
	}

	.ec-page__title {
		margin-bottom: 14px;
	}

	.ec-page__intro {
		margin-bottom: 18px;
	}

	.ec-page__lead {
		margin-top: -4px;
		font-size: 16px;
	}

	.ec-single {
		padding-top: 20px;
	}

	.ec-filters {
		gap: 12px;
		margin-bottom: 16px;
		padding: 12px;
	}

	.ec-city-selector ul {
		max-width: calc(100vw - 32px);
	}

	.ec-city-selector a {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.ec-card__body,
	.ec-card__head,
	.ec-card__foot,
	.ec-card__title {
		min-width: 0;
	}

	.ec-footer__top > *,
	.ec-footer__bottom > * {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	.ec-theme .showcars-app.showcars-biz-profile .showcars-biz-hero-copy,
	.ec-theme .showcars-app.showcars-biz-profile .showcars-biz-fleet-title {
		min-width: 0;
	}

	.ec-theme .showcars-app.showcars-biz-profile .showcars-actions {
		flex-wrap: wrap;
	}

	.ec-theme .showcars-app.showcars-catalogue .showcars-catalogue-hero > p {
		margin-top: 8px;
		font-size: 16px;
	}

	.ec-theme .showcars-app.showcars-catalogue .showcars-catalogue-filters {
		margin-top: 12px;
		margin-bottom: 16px;
		padding: 12px;
	}

	.ec-theme .showcars-app.showcars-catalogue .showcars-city-selector a {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.ec-theme .showcars-app.showcars-catalogue .showcars-catalogue-agent-intro {
		margin-top: 16px;
	}

	.ec-theme .showcars-app,
	.ec-theme .showcars-app * {
		min-width: 0;
	}

	.ec-guides__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ec-footer__directory-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ec-filters__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.ec-filters__sort {
		margin-left: 0;
		width: 100%;
	}

	.ec-results-head {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
	}

	.ec-filters__sort .ec-select {
		flex: 1 1 auto;
	}

	.ec-footer__top,
	.ec-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	.container {
		padding-right: 16px;
		padding-left: 16px;
	}

	.ec-hero {
		min-height: 470px;
		padding: 42px 0;
		background-position: center, center, 58% 70%;
	}

	.ec-hero .container {
		padding-right: 16px;
		padding-left: 16px;
	}

	.ec-hero__title,
	.ec-page__title,
	.ec-single__title,
	.ec-guide__title {
		font-size: clamp(24px, 8vw, 28px);
		line-height: 1.15;
	}

	.ec-hero__title .accent {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.ec-hero-search {
		margin-top: 28px;
	}

	.ec-hero-search__control {
		min-height: 0;
		flex-wrap: wrap;
		gap: 6px 8px;
		padding: 10px 12px;
		border-radius: 24px;
	}

	.ec-hero-search__icon {
		margin-left: 4px;
	}

	.ec-hero-search__input {
		min-height: 48px;
		flex: 1 1 160px;
		font-size: 16px;
	}

	.ec-hero-search__submit {
		width: 100%;
		min-width: 0;
		min-height: 54px;
		flex: 1 0 100%;
		font-size: 16px;
	}

	.ec-page,
	body.showcars-dark-page .ec-page {
		padding-top: 24px;
		padding-inline: 16px;
	}

	.ec-theme .showcars-app.showcars-catalogue .showcars-catalogue-hero {
		padding: 16px 0 12px;
	}

	.ec-theme .showcars-app.showcars-catalogue .showcars-catalogue-hero h1 {
		font-size: clamp(24px, 8vw, 28px);
		line-height: 1.15;
		overflow-wrap: anywhere;
	}
}

/* ==========================================================================
   13. Accessibility & motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Admin bar offset when visible for privileged users */
body.admin-bar .ec-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .ec-header {
		top: 46px;
	}
}

.ec-input:focus-visible,
.wp-login-form input[type='text']:focus-visible,
.wp-login-form input[type='password']:focus-visible,
.ec-select:focus-visible,
.ec-textarea:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 2px;
}

/* Reference palette and public interactions. */
.ec-theme select {
	color-scheme: dark;
}

.ec-theme select option {
	background: #202020;
	color: #eaeaea;
}

.ec-theme select option:checked {
	background: #3bef76;
	color: #102016;
}

.ec-city-selector a .ec-city-count,
.ec-header-city a .ec-city-count {
	flex: 0 0 auto;
	margin-left: auto;
	color: #aeb3ae;
	font-size: 13px;
	white-space: nowrap;
}

.ec-city-selector a[aria-current="page"] .ec-city-count,
.ec-header-city a[aria-current="page"] .ec-city-count {
	color: rgba(16, 32, 22, .72);
}

.ec-profile__list,
.ec-lang__list {
	padding: 8px;
	border-color: #414441;
	border-radius: 18px;
	background: var(--ec-popup-surface);
	box-shadow: var(--ec-popup-shadow);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.ec-profile__list :is(a, button),
.ec-lang__list a {
	min-height: 44px;
	align-content: center;
	padding: 10px 12px;
	border-radius: 10px;
	color: #f1f3f1;
}

.ec-profile__list :is(a, button):hover,
.ec-profile__list :is(a, button):focus-visible,
.ec-lang__list a:hover,
.ec-lang__list a:focus-visible {
	background: #2b302c;
	color: #fff;
}

.ec-lang__list .current-lang a {
	background: var(--ec-green);
	color: #102016;
}

.ec-hero-search__control {
	border-radius: 22px;
}

.ec-hero-search__control:focus-within {
	outline-color: rgba(59, 239, 118, 0.85);
}

.ec-hero-search__submit {
	background: var(--ec-green);
	color: #102016;
}

.ec-hero-search__submit:hover {
	background: var(--ec-green-strong);
}

.ec-faq {
	margin-top: clamp(48px, 4.5vw, 72px);
	padding: clamp(42px, 4vw, 64px) 0;
	border-block: 1px solid #292929;
	background: #111;
}

.ec-faq__layout {
	display: grid;
	grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(36px, 4vw, 64px);
}

.ec-faq h2 {
	margin: 0;
	color: var(--ec-text);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.ec-faq__item {
	border-bottom: 1px solid #373737;
}

.ec-faq__item summary {
	display: flex;
	min-height: 64px;
	align-items: flex-start;
	justify-content: space-between;
	gap: 22px;
	padding: 20px 0;
	color: var(--ec-text);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
	list-style: none;
	cursor: pointer;
}

.ec-faq__item summary::-webkit-details-marker {
	display: none;
}

.ec-faq__list > .ec-faq__item:first-child summary {
	min-height: 0;
	padding-top: 0;
}

.ec-faq__item summary:hover,
.ec-faq__item[open] summary {
	color: var(--ec-green);
}

.ec-faq__item summary:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 4px;
}

.ec-faq__icon {
	position: relative;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	color: currentColor;
}

.ec-faq__icon::before,
.ec-faq__icon::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	content: '';
	transform: translate(-50%, -50%);
	transition: transform var(--ec-ease);
}

.ec-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.ec-faq__item[open] .ec-faq__icon::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.ec-faq__item[open] .ec-faq__icon::after {
	transform: translate(-50%, -50%) rotate(135deg);
}

.ec-faq__answer {
	padding: 0 34px 22px 0;
	color: var(--ec-muted);
	font-size: 16px;
	line-height: 1.65;
}

.ec-faq__answer p {
	margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
	.ec-faq__extra:not([hidden]) > .ec-faq__item {
		animation: ec-pop-in 220ms ease-out both;
	}

	.ec-faq__extra:not([hidden]) > .ec-faq__item:nth-child(2) {
		animation-delay: 35ms;
	}

	.ec-faq__extra:not([hidden]) > .ec-faq__item:nth-child(3) {
		animation-delay: 70ms;
	}
}

.ec-faq__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 28px;
	padding: 12px 23px;
	border: 1px solid #454545;
	border-radius: 999px;
	background: transparent;
	color: var(--ec-text);
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
}

.ec-faq__more[hidden] {
	display: none;
}

.ec-faq__more:hover {
	border-color: #777;
	background: #202020;
}

.ec-faq__more:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 5px;
}

.ec-faq__more-close,
.ec-faq__more[aria-expanded="true"] .ec-faq__more-open {
	display: none;
}

.ec-faq__more[aria-expanded="true"] .ec-faq__more-close {
	display: inline;
}

.ec-footer {
	border-top-color: #292929;
	background: #111;
	padding: 46px 0 30px;
}

.ec-footer__top {
	display: grid;
	grid-template-columns: minmax(210px, 1.25fr) repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: clamp(24px, 3vw, 34px);
	margin-bottom: 40px;
}

.ec-footer .ec-logo__image {
	width: min(100%, 270px);
}

.ec-footer__brand p {
	max-width: 250px;
	margin: 9px 0 8px;
	color: var(--ec-muted);
	font-size: 12px;
	line-height: 1.6;
}

.ec-footer__column h2 {
	margin: 9px 0 15px;
	color: var(--ec-text);
	font-size: 12px;
	font-weight: 500;
}

.ec-footer__column ul,
.ec-footer__custom-menu ul {
	display: grid;
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ec-footer__column a,
.ec-footer__support {
	display: inline-flex;
	min-height: 18px;
	align-items: center;
	color: var(--ec-muted);
	font-size: 12px;
	line-height: 1.5;
}

.ec-footer__column a:hover,
.ec-footer__support:hover {
	color: var(--ec-green);
}

.ec-footer__custom-menu {
	margin-top: 8px;
}

.ec-footer__custom-menu a {
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
}

.ec-footer__column a:focus-visible,
.ec-footer__support:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 3px;
}

:is(.ec-login-dialog, .ec-password-dialog) {
	position: fixed;
	width: min(520px, calc(100% - 32px));
	max-width: none;
	max-height: min(760px, calc(100dvh - 32px));
	margin: auto;
	padding: 0;
	overflow: auto;
	border: 1px solid var(--ec-popup-border);
	border-radius: 24px;
	background: var(--ec-popup-surface);
	box-shadow: var(--ec-popup-shadow), 0 30px 100px rgba(0, 0, 0, 0.32);
	color: var(--ec-popup-text);
	color-scheme: dark;
}

:is(.ec-login-dialog, .ec-password-dialog)::backdrop {
	background: rgba(0, 0, 0, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.ec-password-dialog__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	border-bottom: 1px solid #414441;
}

.ec-password-dialog__head h2 { margin: 0; font-size: 22px; }

.ec-password-dialog__body { display: grid; gap: 18px; padding: 24px; }
.ec-password-dialog__body label { display: grid; gap: 8px; }
.ec-password-dialog__body input {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #414441;
	border-radius: 10px;
	background: #171817;
	color: #f1f3f1;
	font: inherit;
}

.ec-password-dialog__cancel,
.ec-password-dialog__submit {
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid #414441;
	border-radius: 999px;
	background: transparent;
	color: #f1f3f1;
	font: inherit;
	cursor: pointer;
}

.ec-password-dialog__submit { border: 0; background: var(--ec-green); color: #102016; font-weight: 700; }
.ec-password-dialog__submit:hover { background: var(--ec-green-strong); }
.ec-password-dialog :is(button, input):focus-visible { outline: 2px solid var(--ec-green); outline-offset: 2px; }

.ec-login-dialog__close {
	position: sticky;
	z-index: 1;
	top: 14px;
	float: right;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	margin: 14px 14px -58px 0;
	border: 1px solid var(--ec-popup-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	color: var(--ec-muted);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.ec-login-dialog__close:hover,
.ec-login-dialog__close:focus-visible {
	background: var(--ec-popup-hover);
	color: #fff;
}

.ec-login-dialog__content {
	padding: 32px clamp(20px, 6vw, 34px);
}

.ec-login-dialog .showcars-app {
	padding: 0;
	background: transparent;
	color: var(--ec-popup-text);
}

.ec-login-dialog .showcars-login {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.ec-login-dialog .showcars-login :is(h1, h2) {
	margin: 0 48px 12px 0;
	color: var(--ec-popup-text);
	font-size: var(--ec-fs-title);
	line-height: 1.25;
}

.ec-login-dialog .showcars-login-audience,
.ec-login-dialog .showcars-login-renter {
	color: var(--ec-muted);
	font-size: var(--ec-fs-small);
}

.ec-login-dialog .showcars-login-renter {
	margin: 12px 0 20px;
}

.ec-login-dialog #showcars-login-form > p {
	margin: 0 0 var(--space-3);
}

.ec-login-dialog #showcars-login-form label {
	color: var(--ec-text);
	font-size: var(--ec-fs-small);
}

.ec-login-dialog #showcars-login-form .login-remember label {
	display: flex;
	min-height: 44px;
	margin: 0;
	align-items: center;
	gap: 8px;
	color: var(--ec-muted);
}

.ec-login-dialog .showcars-login-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
	color: var(--ec-muted);
}

.ec-login-dialog .showcars-login-links a,
.ec-login-dialog .showcars-login-links button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 10px 0;
	border: 0;
	background: transparent;
	color: var(--ec-muted);
	font: inherit;
	cursor: pointer;
}

.ec-login-dialog .showcars-login-links a:hover,
.ec-login-dialog .showcars-login-links button:hover {
	color: var(--ec-green);
}

.ec-login-dialog .showcars-password-dialog {
	position: fixed;
	width: min(460px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	overflow: auto;
}

.ec-login-dialog .showcars-password-dialog .showcars-dialog-head {
	margin-bottom: 16px;
}

.ec-login-dialog .showcars-password-dialog .showcars-dialog-copy {
	color: var(--ec-muted);
}

.ec-login-dialog .showcars-password-dialog label {
	display: grid;
	gap: 6px;
	color: var(--ec-text);
	font-size: var(--ec-fs-small);
}

.ec-login-dialog .showcars-password-dialog .showcars-actions {
	margin-top: 16px;
}

.ec-login-dialog :is(a, button, input):focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 3px;
}


/* Browser-local favorites drawer. */
@media (max-width: 1024px) {
	.ec-mobile-menu__quick { display: grid; gap: 8px; padding: 12px 16px 0; }
	.ec-mobile-menu .ec-mobile-menu__city { display: block; width: 100%; white-space: normal; }
	.ec-mobile-menu .ec-pill-select.ec-mobile-menu__city > summary { width: 100%; height: 44px; min-height: 44px; justify-content: space-between; padding: 0 16px; font-size: 16px; }
	.ec-mobile-menu .ec-mobile-menu__city ul { position: static; display: block; box-sizing: border-box; width: 100%; max-width: none; max-height: min(246px, 40dvh); margin-top: 8px; overflow-y: auto; }
	.ec-mobile-menu__city a { min-height: 44px; overflow-wrap: anywhere; }
	.ec-burger:focus-visible { outline: 2px solid var(--ec-green); outline-offset: 3px; }
}
.ec-favorites-dialog {
	position: fixed;
	inset: 16px 16px 16px auto;
	margin: 0;
	box-sizing: border-box;
	width: min(480px, calc(100% - 32px));
	max-width: calc(100% - 32px);
	height: calc(100dvh - 32px);
	max-height: calc(100dvh - 32px);
	padding: 28px 26px;
	border: 1px solid var(--ec-border);
	border-radius: 22px;
	background: var(--ec-popup-surface);
	box-shadow: var(--ec-popup-shadow);
	color: var(--ec-text);
	overflow-y: auto;
}
.ec-favorites-dialog[open] { animation: ec-favorites-enter 220ms ease-out both; }
@keyframes ec-favorites-enter {
	from { transform: translateX(32px); opacity: 0; }
	to { transform: translateX(0); opacity: 1; }
}
.ec-favorites-dialog::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); }
.ec-favorites-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ec-favorites-dialog__head h2 { margin: 0; font-size: 26px; font-weight: 600; }
.ec-favorites-dialog__close, .ec-favorites-dialog__remove { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--ec-border); border-radius: 50%; background: transparent; color: var(--ec-muted); cursor: pointer; }
.ec-favorites-dialog__close:hover { background: #2b302c; color: #fff; }
.ec-favorites-dialog__remove { color: var(--ec-green); border: 0; }
.ec-favorites-dialog__remove svg { width: 23px; height: 23px; }
.ec-favorites-dialog__remove svg path { fill: currentColor; }
.ec-favorites-dialog__item { display: grid; grid-template-columns: 112px minmax(0, 1fr) 44px; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--ec-border); }
.ec-favorites-dialog__image { display: block; width: 112px; aspect-ratio: 1.14; border-radius: 11px; overflow: hidden; background: var(--ec-surface-3); }
.ec-favorites-dialog__image img { width: 100%; height: 100%; object-fit: cover; }
.ec-favorites-dialog__title { display: block; font-weight: 600; overflow-wrap: anywhere; }
.ec-favorites-dialog__item p { margin: 6px 0; color: var(--ec-muted); font-size: 14px; overflow-wrap: anywhere; }
.ec-favorites-dialog__item strong { color: var(--ec-price); font-size: 15px; }
.ec-favorites-dialog__continue { display: flex; width: 100%; justify-content: center; margin-top: 24px; }
.ec-favorites-dialog__note { color: var(--ec-muted); font-size: 14px; line-height: 1.5; }
.ec-favorites-dialog__body > p:first-child { color: var(--ec-muted); line-height: 1.5; }
.ec-favorites-dialog__body > .ec-btn { margin-top: 18px; }
.ec-favorites-dialog :is(a, button):focus-visible { outline: 2px solid var(--ec-green); outline-offset: 3px; }
@media (max-width: 600px) {
	.ec-favorites-dialog { width: calc(100% - 32px); padding: 20px; }
	.ec-favorites-dialog__item { grid-template-columns: 88px minmax(0, 1fr) 44px; gap: 10px; }
	.ec-favorites-dialog__image { width: 88px; }
}
/* Public catalogue follows the supplied compact desktop reference. */
:root {
	--ec-header-h: 62px;
}

.ec-header .container {
	padding-inline: 40px;
}

.ec-header__inner {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto;
	column-gap: clamp(20px, 2.5vw, 48px);
	min-height: 62px;
}

.ec-header .ec-logo__image {
	width: 230px;
	height: auto;
}

.ec-header-city {
	position: relative;
	display: inline-flex;
	min-width: 0;
	height: auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ec-text);
	font-size: 16px;
	font-weight: 500;
	white-space: nowrap;
}

.ec-header-city summary {
	box-sizing: border-box;
	display: flex;
	width: 100%;
	height: 38px;
	min-height: 0;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 7px 16px;
	border: 1px solid #535353;
	border-radius: var(--ec-r-pill);
	background: #202020;
	color: var(--ec-text);
	font: inherit;
	line-height: 1.5;
	list-style: none;
	cursor: pointer;
	transition: border-color var(--ec-ease), background-color var(--ec-ease);
}

.ec-header-city summary::-webkit-details-marker {
	display: none;
}

.ec-header-city summary::after {
	width: 9px;
	height: 9px;
	border-right: 1.7px solid currentColor;
	border-bottom: 1.7px solid currentColor;
	content: '';
	transform: translateY(-2px) rotate(45deg);
	transition: transform var(--ec-ease);
}

.ec-header-city summary:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 3px;
}

.ec-header-city summary:hover,
.ec-header-city summary:focus-visible,
.ec-city-selector summary:hover,
.ec-city-selector summary:focus-visible {
	border-color: #777;
	background: #303030;
}

.ec-city-selector--green summary:is(:hover, :focus-visible) {
	border: 0;
	background: transparent;
}

.ec-header-city[open] summary::after {
	transform: translateY(-1px) rotate(225deg);
}

.ec-header-city ul {
	position: absolute;
	z-index: 30;
	top: calc(100% + 8px);
	left: 0;
	min-width: 160px;
	max-height: 320px;
	margin: 0;
	padding: 6px;
	overflow-y: auto;
	border: 1px solid var(--ec-border);
	border-radius: 14px;
	background: var(--ec-surface);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
	list-style: none;
}

.ec-header-city a {
	display: block;
	padding: 9px 10px;
	border-radius: 8px;
	color: var(--ec-text);
}

.ec-header-city a:hover,
.ec-header-city a:focus-visible,
.ec-header-city a[aria-current="page"] {
	background: transparent;
	color: var(--ec-green);
}

.ec-nav {
	justify-self: center;
}

.ec-nav ul {
	gap: 4px;
}

.ec-nav a {
	height: auto;
	padding: 9px 12px;
	border-radius: var(--ec-r-pill);
	background: transparent;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
}

.ec-nav a:hover,
.ec-nav .current-menu-item > a,
.ec-nav .current_page_item > a {
	background: #202020;
	color: var(--ec-text);
}

.ec-header__controls {
	gap: 8px;
}

.ec-iconbtn {
	position: relative;
	width: 40px;
	height: 40px;
	background: transparent;
}

.ec-iconbtn::before { position: absolute; inset: -2px; border-radius: 50%; content: ''; }

.ec-iconbtn:hover,
.ec-iconbtn.is-active {
	background: var(--ec-green-tint);
}

.ec-header .ec-header__login {
	min-width: 146px;
	height: 44px;
	padding: 0 20px;
	border-radius: var(--ec-r-pill);
	font-size: 11px;
}

.ec-hero {
	min-height: 302px;
	padding: 69px 0 48px;
	background-image: linear-gradient(90deg, rgba(5, 10, 8, .42), rgba(5, 10, 8, .4)), linear-gradient(0deg, rgba(5, 10, 8, .42), rgba(5, 10, 8, .16) 48%, rgba(5, 10, 8, .28)), url('assets/img/catalogue-hero.webp');
	background-position: center, center, center 70%;
	background-size: cover, cover, cover;
}

.ec-hero__title,
.showcars-app .showcars-catalogue-hero.ec-hero h1 {
	font-size: clamp(28px, 2.25vw, 34px);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.ec-hero__subtitle .accent {
	color: var(--ec-green);
}

.ec-city-selector summary::after {
	display: block;
}

.ec-city-selector--green summary::after {
	display: none;
}

.ec-city-selector summary .accent {
	color: inherit;
	text-decoration: none;
}

.ec-hero-search {
	width: min(100%, 884px);
	margin-top: 17px;
}

.ec-hero-search__control {
	min-height: 74px;
	gap: 0;
	padding: 12px;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
}

.ec-hero-search__control:focus-within {
	outline: none;
	box-shadow: 0 0 0 3px var(--ec-green);
}

.ec-hero-search__icon {
	width: 26px;
	height: 26px;
	flex-basis: 26px;
	margin: 0 23px 0 26px;
}

.ec-hero-search__input {
	min-height: 56px;
	font-size: clamp(16px, 1.5vw, 20px);
}

.ec-hero-search__input::placeholder {
	color: #929899 !important;
}

.ec-hero-search__field {
	position: relative;
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	align-items: center;
}

.ec-hero-search__field .ec-hero-search__input {
	position: relative;
	z-index: 1;
}

.ec-hero-search__clear {
	display: inline-flex;
	width: 43px;
	height: 43px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	margin: 0 17px 0 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #222;
	cursor: pointer;
	transition: background var(--ec-ease), color var(--ec-ease);
}

.ec-hero-search__clear[hidden] {
	display: none;
}

.ec-hero-search__clear svg {
	width: 18px;
	height: 18px;
}

.ec-hero-search__clear:hover {
	background: #eceeec;
	color: #111;
}

.ec-hero-search__clear:active {
	background: #dfe3df;
}

.ec-hero-search__clear:focus-visible {
	outline: 2px solid #168345;
	outline-offset: 2px;
}

.ec-hero-search__hint {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	gap: .25em;
	padding-inline: 14px;
	overflow: hidden;
	pointer-events: none;
	color: #929899;
	font: inherit;
	white-space: nowrap;
}

.ec-hero-search__hint[hidden] {
	display: none;
}

.ec-hero-search__hint i {
	width: 1px;
	height: 1.1em;
	background: currentColor;
	animation: ec-search-caret 1s step-end infinite;
}

.ec-hero-search__field.is-animating .ec-hero-search__input::placeholder {
	color: transparent !important;
	opacity: 0 !important;
}

.ec-hero-search__field:focus-within .ec-hero-search__hint {
	display: none;
}

@keyframes ec-search-caret {
	50% { opacity: 0; }
}

.ec-hero-search__submit {
	width: 221px;
	min-width: 0;
	min-height: 56px;
	padding-inline: 16px;
	font-size: 17px;
	font-weight: 600;
}

@keyframes ec-pop-in {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
}

.ec-header-city ul,
.ec-city-selector ul,
.ec-profile__list,
.ec-lang__list,
.showcars-app .showcars-select-panel {
	z-index: 60;
	padding: 8px;
	border-color: #414441;
	border-radius: 18px;
	background: var(--ec-popup-surface);
	box-shadow: var(--ec-popup-shadow);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	scrollbar-color: #576057 transparent;
	scrollbar-width: thin;
}

.showcars-app .showcars-select-panel {
	animation: ec-pop-in 120ms ease;
}

.ec-header-city ul,
.ec-city-selector ul {
	top: calc(100% + 10px);
	width: 280px;
	max-width: calc(100vw - 24px);
	max-height: min(246px, calc(100dvh - 24px));
	overflow-y: auto;
}

@media (max-width: 560px) {
	.ec-header-city {
		position: static;
	}

	.ec-header-city ul {
		top: calc(100% - 5px);
		left: auto;
		right: 12px;
	}

	.ec-hero__title .ec-city-selector ul {
		left: auto;
		right: 0;
	}

	.ec-count .ec-city-selector ul {
		left: 50%;
		transform: translateX(-50%);
	}
}

@media (max-width: 360px) {
	.ec-city-selector ul {
		width: min(280px, calc(100vw - 64px));
	}

	.ec-hero__title .ec-city-selector ul {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
	}
}

@media (min-width: 561px) {
	.ec-filters__sort .showcars-select-panel {
		right: 0;
		left: auto;
		width: 280px;
		max-width: calc(100vw - 24px);
	}
}

.ec-dropdown-heading {
	margin: 10px 12px 11px;
	color: #aeb3ae;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	text-align: left;
}

.showcars-app .showcars-select-control.is-open {
	z-index: 61;
}

.ec-header-city a,
.ec-city-selector a,
.ec-lang__list a,
.showcars-app .showcars-select-option {
	display: flex;
	min-height: 44px;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 10px;
	color: #f1f3f1;
	font-size: 14px;
	line-height: 1.3;
}

.showcars-app .ec-city-selector a {
	color: #f1f3f1 !important;
}

.ec-header-city a:hover,
.ec-header-city a:focus-visible,
.ec-city-selector a:hover,
.ec-city-selector a:focus-visible,
.ec-lang__list a:hover,
.ec-lang__list a:focus-visible,
.showcars-app .showcars-select-option:is(:hover, :focus-visible, .is-active) {
	border-radius: 10px;
	background: #2b302c;
	color: #fff;
}

.showcars-app .ec-city-selector a:is(:hover, :focus-visible) {
	color: #fff !important;
	text-decoration: none !important;
}

.ec-header-city a[aria-current="page"],
.ec-city-selector a[aria-current="page"],
.ec-lang__list .current-lang a,
.showcars-app .showcars-select-option.is-selected {
	background: var(--ec-green);
	color: #102016;
}

.showcars-app .ec-city-selector a[aria-current="page"] {
	color: #102016 !important;
}

.ec-lang__list .current-lang a::after,
.ec-filters__sort .showcars-select-option.is-selected::after {
	width: 14px;
	height: 14px;
	margin-left: auto;
	background: currentColor;
	content: "";
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ec-filters__sort .showcars-select-option:active:not(:disabled, .is-selected) {
	background: #353d36;
}

.ec-filters__sort .showcars-select-option.is-selected {
	background-color: var(--ec-green);
	background-image: linear-gradient(120deg, #ffffff12, transparent);
}

.ec-filters__sort .showcars-select-option.is-selected:hover {
	background-color: var(--ec-green-strong);
}

.ec-filters__sort .showcars-select-option.is-selected:active {
	background-color: #28d862;
}

.showcars-app .showcars-select-trigger,
.showcars-admin-app .showcars-select-trigger {
	border-color: #707074;
	border-radius: var(--ec-r-control);
	background: #111111;
	color: #f1f3f1;
}

.showcars-app .showcars-select-trigger:is(:hover, :focus-visible),
.showcars-app .showcars-select-control.is-open .showcars-select-trigger,
.showcars-admin-app .showcars-select-trigger:is(:hover, :focus-visible),
.showcars-admin-app .showcars-select-control.is-open .showcars-select-trigger {
	border-color: #949498;
	background: #191919;
}

@media (prefers-reduced-motion: reduce) {
	.ec-hero-search__hint {
		display: none;
	}

	.ec-header-city,
	.ec-header-city summary,
	.ec-header-city summary::after,
	.ec-city-selector summary,
	.ec-city-selector summary::after {
		transition: none;
	}

	.ec-header-city ul,
	.ec-city-selector ul {
		animation: none;
	}
}

.ec-hero__subtitle,
.showcars-app .showcars-catalogue-hero.ec-hero > p.ec-hero__subtitle {
	max-width: 430px;
	margin-top: 21px;
	font-size: 15px;
	line-height: 1.35;
}

#ec-catalogue {
	padding-top: 0;
}

#ec-catalogue.container,
.ec-footer > .container {
	padding-inline: 24px;
}

@media (max-width: 767px) {
	#ec-catalogue.container {
		padding-inline: 16px;
	}
}

.ec-filter-disclosure {
	margin: 8px 0 0;
}

.ec-filter-disclosure > summary {
	width: fit-content;
	min-height: 24px;
	margin-left: auto;
	padding: 4px 10px;
	border: 1px solid #303030;
	border-radius: 999px;
	color: var(--ec-muted);
	font-size: 11px;
	line-height: 1.2;
	list-style: none;
	cursor: pointer;
}

.ec-filter-disclosure > summary::-webkit-details-marker {
	display: none;
}

.ec-filter-disclosure > summary:hover,
.ec-filter-disclosure[open] > summary {
	border-color: #515151;
	color: var(--ec-text);
}

.ec-filter-disclosure .ec-filters {
	margin: 10px 0 0;
	padding: 16px;
	border: 1px solid var(--ec-border);
	border-radius: 16px;
	background: var(--ec-surface);
}

.ec-results-head {
	margin: 14px 0 18px;
}

.ec-count {
	color: var(--ec-text);
	font-size: 21px;
	line-height: 1.3;
}

.ec-count strong {
	color: var(--ec-green);
	font-weight: 600;
}

.ec-filters__sort {
	gap: 8px;
	color: var(--ec-text);
	font-size: 11px;
}

.ec-filters__sort .ec-sort-label {
	display: none;
}

.ec-filters__sort .ec-select {
	min-width: 160px;
	min-height: 34px;
	padding: 7px 30px 7px 14px;
	border-color: #373737;
	border-radius: 999px;
	background-color: transparent;
	font-size: 11px;
}

.ec-grid {
	gap: 22px;
	margin-bottom: 0;
}

.ec-card {
	border-color: var(--ec-border);
	border-radius: 25px;
}

.ec-card:hover { border-color: #626262; }
.ec-card:focus-within { border-color: #70bb80; }

.ec-card__media {
	aspect-ratio: 1.145;
}

.ec-card__media::after {
	position: absolute;
	inset: 0;
	background: #000;
	content: '';
	opacity: 0;
	transition: opacity var(--ec-ease);
}

.ec-card__media:hover::after {
	opacity: 0.055;
}

.ec-card__media:active::after {
	opacity: 0.14;
}

.ec-card__media:focus-visible {
	z-index: 1;
}

@supports (interpolate-size: allow-keywords) and (selector(details::details-content)) {
	.ec-faq__item {
		interpolate-size: allow-keywords;
	}

	.ec-faq__item::details-content {
		block-size: 0;
		overflow: clip;
		transition: block-size var(--ec-ease), content-visibility var(--ec-ease) allow-discrete;
	}

	.ec-faq__item[open]::details-content {
		block-size: auto;
	}
}

.ec-favbtn {
	top: 17px;
	right: 16px;
	width: 44px;
	height: 44px;
	border: 1px solid #e2e2e2;
	background: #fafafa;
	color: #252525;
}

.ec-favbtn::before { position: absolute; inset: -2px; border-radius: 50%; content: ''; }
.ec-favbtn:hover { background: #e3ffe8; border-color: #a5e9b0; color: #111; }
.ec-favbtn:active { background: #b9f5c6; }
.ec-favbtn.is-active { background: var(--ec-green); border-color: var(--ec-green); color: #152719; }
.ec-favbtn.is-active:hover { background: var(--ec-green-strong); }

.ec-favbtn svg {
	width: 23px;
	height: 23px;
}

.ec-card__body {
	gap: 12px;
	min-height: 0;
	padding: 21px 22px 18px;
}

.ec-card__title {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.28;
}

.showcars-app .ec-card__title {
	font-size: 22px;
}

.showcars-app .ec-card__title a {
	color: var(--ec-text) !important;
}

.showcars-app .ec-card__title a:hover {
	color: var(--ec-green) !important;
}

.showcars-app .ec-card__provider a {
	color: var(--ec-text) !important;
}

.ec-card__specs {
	margin: -7px 0 0;
	font-size: 14px;
}

#ec-catalogue .ec-card__location {
	display: none;
}

.ec-card__terms {
	gap: 9px 18px;
	margin: 4px 0 0;
}

.ec-card__term {
	gap: 9px;
	font-size: 14px;
	line-height: 1.5;
}

.ec-card__term svg {
	width: 17px;
	height: 17px;
}

.ec-card__provider {
	gap: 12px;
	margin: auto 0 0;
	padding: 14px 0;
	font-size: 14px;
}

.ec-card__provider-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: #111;
	font-size: 10px;
	font-weight: 700;
}

.ec-card__foot {
	gap: 8px;
	padding-top: 6px;
}

.ec-price {
	font-size: 22px;
}

.ec-price-unit {
	font-size: 16px;
}

.ec-card .ec-card__btn {
	min-width: 0;
	min-height: 49px;
	padding: 0 21px;
	border-radius: 999px;
	font-size: 16px;
}

.ec-card .ec-card__btn:not(:disabled) { background: var(--ec-card-green); color: #10200e; }
.ec-card .ec-card__btn:hover:not(:disabled) { background: var(--ec-card-green-hover); }
.ec-card .ec-card__btn:active:not(:disabled) { background: var(--ec-card-green-pressed); }

.ec-card__btn svg {
	width: 15px;
	height: 15px;
}

.ec-card__title,
.ec-card__term span,
.ec-card__provider-name {
	overflow-wrap: anywhere;
}

.ec-card__term {
	min-width: 0;
}

.ec-card__btn:focus-visible,
.ec-card__provider a:focus-visible,
.ec-card__title a:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 3px;
}

@media (max-width: 560px) {
	.ec-card__body {
		padding: 19px 20px;
	}

	.ec-card__specs,
	.ec-card__provider {
		font-size: 13px;
	}

	.ec-card__term {
		font-size: 12px;
	}

	.ec-price-unit {
		font-size: 14px;
	}

	.ec-card .ec-card__btn {
		min-height: 45px;
		padding-inline: 20px;
		font-size: 14px;
	}

	.ec-card__foot {
		align-items: center;
		flex-direction: row;
	}
}

@media (max-width: 370px) {
	.ec-price {
		font-size: 19px;
	}

	.ec-price-unit {
		font-size: 12px;
	}

	.ec-card .ec-card__btn {
		padding-inline: 16px;
		font-size: 13px;
	}
}

.ec-footer__top {
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, .65fr);
}

.ec-footer__directory {
	min-width: 0;
	margin: 0;
}

.ec-footer__directory-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 11px;
}

.ec-footer__city-link,
.ec-footer__directory-guides {
	min-height: 18px;
	font-size: 12px;
	line-height: 1.5;
}

.ec-footer__directory-actions {
	display: none;
}

.ec-footer__more-cities {
	margin-top: 11px;
	color: var(--ec-muted);
	font-size: 12px;
}

.ec-footer__more-cities summary {
	min-height: 18px;
	cursor: pointer;
}

.ec-footer__more-cities ul {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.ec-footer__bottom {
	gap: 15px 22px;
	padding-top: 23px;
	font-size: 11px;
}

@media (max-width: 1024px) {
	.ec-header .container {
		padding-inline: 24px;
	}

	.ec-header__inner {
		grid-template-columns: auto auto minmax(0, 1fr) auto;
	}

	.ec-header-city {
		margin-right: auto;
	}

	.ec-header-city summary {
		font-size: 14px;
	}

	.ec-footer__top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.ec-hero {
		min-height: 320px;
		padding: 60px 0 42px;
	}

	.ec-hero-search {
		width: min(100%, 884px);
	}

	.ec-faq__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.ec-faq h2 br {
		display: none;
	}

	.ec-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ec-header .container {
		padding-inline: 16px;
	}

	.ec-header__inner {
		gap: 10px;
	}

	.ec-header .ec-logo__image {
		width: clamp(150px, 42vw, 190px);
	}

	.ec-header-city {
		min-width: 96px;
	}

	.ec-header-city summary {
		height: auto;
		min-height: 44px;
		padding: 10px 14px;
	}

	.ec-hero {
		min-height: 286px;
		align-items: start;
		padding: 46px 0 65px;
		background-position: center, center, 35% 50%;
		background-size: cover, cover, auto 155%;
	}

	.ec-hero__title,
	.showcars-app .ec-hero__title,
	.showcars-app .showcars-catalogue-hero.ec-hero h1 {
		margin-bottom: 0;
		font-size: clamp(24px, 7vw, 30px);
	}

	.ec-hero-search {
		margin-top: 12px;
	}

	.ec-hero-search__control {
		min-height: 54px;
		flex-wrap: nowrap;
		gap: 0;
		padding: 5px;
	}

	.ec-hero-search__field {
		overflow: hidden;
	}

	.ec-hero-search__hint > span:first-child {
		display: none;
	}

	.ec-hero-search__hint > [data-home-search-hint-text] {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.ec-hero-search__icon {
		width: 19px;
		height: 19px;
		flex-basis: 19px;
		margin: 0 9px;
	}

	.ec-hero-search__input {
		min-height: 40px;
		flex: 1 1 0;
		font-size: 13px;
	}

	.ec-hero-search__clear {
		width: 30px;
		height: 36px;
		margin: 0 3px 0 2px;
	}

	.ec-hero-search__clear svg {
		width: 16px;
		height: 16px;
	}

	.ec-hero-search__submit {
		width: auto;
		min-width: 140px;
		min-height: 49px;
		flex: 0 0 auto;
		padding-inline: 20px;
		font-size: 12px;
	}

	.ec-hero__subtitle,
	.showcars-app .showcars-catalogue-hero.ec-hero > p.ec-hero__subtitle {
		max-width: 360px;
		margin-top: 28px;
		font-size: 13px;
	}

	#ec-catalogue {
		padding-inline: 16px;
	}

	.ec-results-head {
		align-items: center;
		flex-direction: row;
		gap: 8px;
		margin-top: 24px;
	}

	.ec-results-head > .ec-filters__sort {
		width: auto;
		flex: 0 0 auto;
		margin-left: 0;
		margin-bottom: 0;
	}

	.ec-count {
		font-size: 18px;
	}

	.ec-grid {
		gap: 16px;
	}

	.ec-card__media {
		aspect-ratio: 1.3;
	}

	.ec-card__body {
		padding: 19px 20px;
	}

	.ec-card__terms {
		grid-template-columns: minmax(0, 1fr);
	}

	.ec-card__term--minimum {
		grid-column: auto;
	}

	.ec-card__foot {
		align-items: center;
		flex-direction: row;
	}

	.ec-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 16px;
	}

	.ec-footer__brand {
		grid-column: 1 / -1;
	}

	.ec-footer .ec-logo__image {
		width: 185px;
	}

	.ec-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 360px) {
	.ec-hero-search__control {
		flex-wrap: wrap;
		gap: 6px 0;
		border-radius: 24px;
	}

	.ec-hero-search__field {
		flex: 1 1 calc(100% - 50px);
	}

	.ec-hero-search__submit {
		width: 100%;
		min-height: 44px;
		flex: 1 0 100%;
	}
}

@media (max-width: 1024px) {
	.ec-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.ec-faq__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 29px;
	}

	.ec-faq h2 {
		font-size: 23px;
	}
}

@media (max-width: 560px) {
	.ec-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.ec-faq {
		margin-top: 38px;
		padding: 34px 0 38px;
	}

	.ec-faq__layout {
		gap: 27px;
	}

	.ec-faq h2 {
		font-size: 22px;
	}

	.ec-faq__item summary {
		gap: 17px;
		font-size: 18px;
	}

	.ec-faq__answer {
		padding-right: 8px;
		font-size: 14px;
	}

	.ec-faq__more {
		min-height: 42px;
		font-size: 13px;
	}

	.ec-login-dialog__content {
		padding: 28px 20px 22px;
	}
}

@media (min-width: 561px) {
	#ec-catalogue {
		position: relative;
	}

	.ec-filter-disclosure:not([open]) {
		height: 0;
		margin: 0;
	}

	.ec-filter-disclosure:not([open]) > summary {
		position: absolute;
		z-index: 2;
		top: 26px;
		right: 185px;
	}

	.ec-results-head {
		margin-top: 24px;
	}
}

/* Shared pill trigger for city, profile, and catalogue sorting. */
.ec-pill-select > :is(summary, .showcars-select-trigger, select.ec-select) {
	box-sizing: border-box;
	display: inline-flex;
	width: auto;
	height: 38px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 7px 16px;
	border: 1px solid #707074;
	border-radius: var(--ec-r-pill);
	background-color: #111111;
	color: var(--ec-text);
	font-size: var(--ec-fs-base);
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.ec-pill-select > :is(summary, .showcars-select-trigger):not(select)::after {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	border: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 5L8 11L13.5 5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 5L8 11L13.5 5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transform-origin: center;
	transform: none;
}

.ec-pill-select.ec-filters__sort > .showcars-select-trigger::after {
	width: 20px;
	height: 20px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 20V4M3 8l4-4 4 4m6-4v16m-4-4 4 4 4-4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 20V4M3 8l4-4 4 4m6-4v16m-4-4 4 4 4-4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ec-pill-select.ec-filters__sort > .showcars-select-trigger[aria-expanded="true"]::after {
	transform: none;
}

.ec-pill-select.ec-filters__sort > select.ec-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 20V4M3 8l4-4 4 4m6-4v16m-4-4 4 4 4-4' fill='none' stroke='%23eaeaea' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-size: 20px 20px;
}

.ec-pill-select > :is(summary, .showcars-select-trigger, select.ec-select):is(:hover, :focus-visible),
.ec-pill-select[open] > summary,
.ec-pill-select.is-open > .showcars-select-trigger {
	border-color: #949498;
	background-color: #191919;
}

.ec-pill-select > :is(summary, .showcars-select-trigger, select.ec-select):focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 3px;
}

.ec-pill-select.ec-filters__sort > :is(.showcars-select-trigger, select.ec-select) {
	height: 44px;
	min-width: 156px;
	min-height: 44px;
	justify-content: space-between;
	gap: 20px;
	padding: 0 22px;
	border-color: #707074;
	background-color: #111;
	color: #fafafa;
	font-size: 16px;
	font-weight: 400;
	white-space: nowrap;
}

.ec-pill-select.ec-filters__sort > :is(.showcars-select-trigger, select.ec-select):is(:hover, :focus-visible),
.ec-pill-select.ec-filters__sort.is-open > .showcars-select-trigger {
	border-color: #949498;
	background-color: #191919;
}

.ec-pill-select.ec-filters__sort > :is(.showcars-select-trigger, select.ec-select):active {
	border-color: #aaa;
	background-color: #222;
}

.ec-pill-select.ec-filters__sort > :is(.showcars-select-trigger, select.ec-select):focus-visible {
	outline-offset: 4px;
}

.ec-pill-select[open] > summary::after,
.ec-pill-select > .showcars-select-trigger[aria-expanded="true"]::after {
	transform: rotate(180deg);
}

.ec-pill-select.ec-header-city > summary::after {
	display: none;
}

.ec-header-city__chevron {
	display: block;
	flex: 0 0 16px;
	transform-origin: center;
	transition: transform var(--ec-ease);
}

.ec-header-city[open] .ec-header-city__chevron {
	transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
	.ec-header-city__chevron {
		transition: none;
	}
}

@media (max-width: 560px) {
	.ec-pill-select.ec-header-city > summary,
	.ec-pill-select.ec-filters__sort > :is(.showcars-select-trigger, select.ec-select) {
		height: 44px;
	}

	.ec-mobile-menu .ec-pill-select.ec-profile > summary {
		width: 100%;
		justify-content: space-between;
	}
}

@media (max-width: 680px) {
	.ec-pill-select.ec-filters__sort > :is(.showcars-select-trigger, select.ec-select) {
		gap: 12px;
		padding-inline: 13px;
		font-size: 13px;
	}
}

@media (max-width: 360px) {
	.ec-results-head { gap: 6px; }
	.ec-count { font-size: 16px; white-space: nowrap; }
	.ec-pill-select.ec-filters__sort > :is(.showcars-select-trigger, select.ec-select) {
		gap: 6px;
		padding-inline: 7px;
		font-size: 12px;
	}
	.ec-pill-select.ec-filters__sort > .showcars-select-trigger::after {
		width: 16px;
		height: 16px;
	}
}

@media (max-width: 1024px) {
	.ec-header__inner { display: flex; }
	.ec-burger { margin-left: auto; }
	.ec-mobile-menu .ec-mobile-menu__city { margin-right: 0; }
	.ec-mobile-menu .ec-pill-select.ec-mobile-menu__city > summary { width: 100%; justify-content: space-between; }
	.ec-mobile-menu .ec-mobile-menu__controls > .ec-btn,
	.ec-mobile-menu .ec-mobile-menu__controls .ec-profile > summary { height: 44px; min-height: 44px; }
}
/* Match the supplied reference on the public catalogue only. */
@media (min-width: 1025px) {
	html:has(#ec-catalogue) {
		--ec-reference-unit: 1px;
		scroll-padding-top: calc(100 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) {
		--ec-container: calc(1228 * var(--ec-reference-unit));
		--ec-header-h: 64px;
	}

	body:has(#ec-catalogue) .main.showcars-app {
		width: calc(100% - 80px);
		max-width: none;
	}

	body:has(#ec-catalogue) .ec-header__inner {
		min-height: var(--ec-header-h);
		column-gap: calc(40 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-header .ec-logo__image {
		width: 230px;
	}

	body:has(#ec-catalogue) .ec-nav ul {
		gap: 4px;
	}

	body:has(#ec-catalogue) .ec-nav a {
		font-size: 15px;
		padding: 9px 12px;
	}

	body:has(#ec-catalogue) .ec-header__controls {
		gap: 8px;
	}

	body:has(#ec-catalogue) .ec-iconbtn {
		width: calc(40 * var(--ec-reference-unit));
		height: calc(40 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-header .ec-header__login {
		min-width: calc(194 * var(--ec-reference-unit));
		height: calc(44 * var(--ec-reference-unit));
		padding-inline: calc(30 * var(--ec-reference-unit));
		font-size: calc(14 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-header__owner-icon {
		width: calc(22 * var(--ec-reference-unit));
		height: calc(22 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero {
		min-height: calc(410 * var(--ec-reference-unit));
		padding: calc(99 * var(--ec-reference-unit)) 0 calc(48 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero__title,
	body:has(#ec-catalogue) .showcars-app .showcars-catalogue-hero.ec-hero h1 {
		font-size: calc(44 * var(--ec-reference-unit));
		font-weight: 500;
		letter-spacing: calc(-.4 * var(--ec-reference-unit));
		line-height: 1.18;
	}

	body:has(#ec-catalogue) .ec-hero-search {
		width: min(100%, calc(884 * var(--ec-reference-unit)));
		margin-top: calc(25 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero-search__control {
		min-height: calc(74 * var(--ec-reference-unit));
		gap: 0;
		padding: calc(10 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero-search__icon {
		width: calc(26 * var(--ec-reference-unit));
		height: calc(26 * var(--ec-reference-unit));
		flex-basis: calc(26 * var(--ec-reference-unit));
		margin-left: calc(26 * var(--ec-reference-unit));
		margin-right: calc(23 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero-search__input {
		min-height: calc(56 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero-search__input,
	body:has(#ec-catalogue) .ec-hero-search__hint {
		font-size: calc(20 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero-search__submit {
		width: calc(221 * var(--ec-reference-unit));
		min-width: 0;
		min-height: calc(56 * var(--ec-reference-unit));
		padding-inline: calc(16 * var(--ec-reference-unit));
		font-size: calc(17 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero__subtitle,
	body:has(#ec-catalogue) .showcars-app .showcars-catalogue-hero.ec-hero > p.ec-hero__subtitle {
		max-width: calc(620 * var(--ec-reference-unit));
		margin-top: calc(30 * var(--ec-reference-unit));
		font-size: calc(20 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) #ec-catalogue {
		padding-top: calc(54 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) #ec-catalogue.container {
		padding-inline: 0;
	}

	body:has(#ec-catalogue) .ec-footer > .container {
		width: calc(100% - 80px);
		padding-inline: 0;
	}

	body:has(#ec-catalogue) .ec-filter-disclosure > summary {
		min-height: calc(32 * var(--ec-reference-unit));
		padding: calc(6 * var(--ec-reference-unit)) calc(12 * var(--ec-reference-unit));
		font-size: calc(14 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-results-head {
		margin-top: 0;
		margin-bottom: calc(31 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-count {
		font-size: calc(30 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-filters__sort {
		font-size: calc(16 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-grid {
		gap: calc(32 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-favbtn {
		top: calc(17 * var(--ec-reference-unit));
		right: calc(16 * var(--ec-reference-unit));
		width: calc(44 * var(--ec-reference-unit));
		height: calc(44 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-favbtn svg {
		width: calc(23 * var(--ec-reference-unit));
		height: calc(23 * var(--ec-reference-unit));
	}

}

@media (min-width: 1025px) and (max-width: 1350px) {
	body:has(#ec-catalogue) .ec-header .container {
		width: calc(100% - 80px);
	}

	body:has(#ec-catalogue) .ec-header__inner {
		column-gap: 22px;
	}

	body:has(#ec-catalogue) .ec-header .ec-logo__image {
		width: 236px;
	}

	body:has(#ec-catalogue) .ec-nav ul {
		gap: 21px;
	}

	body:has(#ec-catalogue) .ec-header__controls {
		gap: 18px;
	}

	body:has(#ec-catalogue) .ec-header .ec-header__login {
		padding-inline: 18px;
	}
}

@media (min-width: 1025px) and (max-width: 1200px) {
	.ec-header__inner,
	body:has(#ec-catalogue) .ec-header__inner {
		column-gap: 12px;
	}

	.ec-header .ec-logo__image,
	body:has(#ec-catalogue) .ec-header .ec-logo__image {
		width: 170px;
	}

	.ec-header-city,
	body:has(#ec-catalogue) .ec-header-city {
		min-width: 100px;
	}

	.ec-header-city summary {
		padding: 8px 10px;
		font-size: 13px;
	}

	.ec-nav ul,
	body:has(#ec-catalogue) .ec-nav ul {
		gap: 0;
	}

	.ec-nav a,
	body:has(#ec-catalogue) .ec-nav a {
		padding: 8px 6px;
		font-size: 12px;
	}

	.ec-header__controls,
	body:has(#ec-catalogue) .ec-header__controls {
		gap: 6px;
	}

	.ec-header .ec-btn {
		padding: 7px 10px;
		font-size: 12px;
	}

	.ec-iconbtn,
	body:has(#ec-catalogue) .ec-iconbtn,
	.ec-lang summary {
		width: 32px;
		height: 32px;
	}
}

/* Header proportions and controls follow the interactive reference on every page. */
:root { --ec-header-h: 84px; }
.ec-header { background: #111; }
.ec-header .container { max-width: 1797px; padding-inline: 50px; }
.ec-header__inner { min-height: 84px; column-gap: 40px; }
.ec-header .ec-logo__image { width: 345px; height: auto; }
.ec-header .ec-pill-select.ec-header-city > summary { min-width: 164px; height: 44px; justify-content: space-between; gap: 24px; padding: 0 17px 0 23px; font-size: 17px; line-height: 1; }
.ec-header-city__chevron { width: 16px; height: 16px; flex-basis: 16px; }
.ec-header__controls > .ec-btn--ghost,
.ec-header__controls > .ec-profile > summary { height: 44px; padding-inline: 22px; background: #111; border-color: #707074; color: #fafafa; }
.ec-header .ec-pill-select.ec-header-city > summary::after { display: none; content: none; }
.ec-header .ec-pill-select.ec-header-city > summary:is(:hover, :focus-visible),
.ec-header .ec-pill-select.ec-header-city[open] > summary,
.ec-header__controls > .ec-btn--ghost:is(:hover, :focus-visible),
.ec-header__controls > .ec-profile > summary:is(:hover, :focus-visible),
.ec-header__controls > .ec-profile[open] > summary { background: #191919; border-color: #949498; color: #fafafa; }
.ec-header .ec-pill-select.ec-header-city > summary:active,
.ec-header__controls > .ec-btn--ghost:active,
.ec-header__controls > .ec-profile > summary:active { background: #222; border-color: #aaa; color: #fafafa; transform: none; }
.ec-header .ec-pill-select.ec-header-city > summary:focus-visible,
.ec-header__controls > .ec-btn--ghost:focus-visible,
.ec-header__controls > .ec-profile > summary:focus-visible { outline: 2px solid var(--ec-green); outline-offset: 4px; }
.ec-nav { justify-self: end; }
.ec-nav ul { gap: 34px; }
.ec-nav a { padding: 12px 0; font-size: 14px; font-weight: 400; border-radius: 3px; }
.ec-nav a:hover, .ec-nav .current-menu-item > a, .ec-nav .current_page_item > a { color: var(--ec-green); background: transparent; }
.ec-header__controls { gap: 12px; }
.ec-lang summary, .ec-iconbtn { width: 40px; height: 40px; background: transparent; }
.ec-lang__icon, .ec-iconbtn svg { width: 27px; height: 27px; }
.ec-lang summary:hover, .ec-lang[open] summary, .ec-iconbtn:hover, .ec-iconbtn.is-active { color: var(--ec-green); background: #ffffff12; }
.ec-header .ec-header__login { min-width: 0; height: 44px; min-height: 44px; gap: 10px; padding: 0 30px; font-size: 14px; font-weight: 800; color: #111; }
.ec-header__owner-icon { width: 22px; height: 22px; flex: 0 0 22px; }
.ec-header-city ul, .ec-lang__list, .ec-profile__list { border-radius: 18px; }
.ec-header-city a, .ec-lang__list a, .ec-profile__list a { min-height: 44px; border-radius: 10px; }
.ec-header-city a[aria-current="page"]::after { display: none; }
.ec-header-city a[aria-current="page"]:hover, .ec-lang__list .current-lang a:hover { background: var(--ec-green-strong); color: #102016; }
.ec-header-city a:active:not([aria-current="page"]) { background: #353d36; color: #fff; }
.ec-header-city a[aria-current="page"]:active { background: #28d862; color: #102016; }

@media (min-width: 1025px) {
	body:has(#ec-catalogue) { --ec-header-h: 84px; }
	.ec-header .container { width: calc(100% - 100px); max-width: 1697px; padding-inline: 0; }
	body:has(#ec-catalogue) .ec-header__inner { min-height: 84px; }
	body:has(#ec-catalogue) .ec-header .ec-logo__image { width: 345px; }
	body:has(#ec-catalogue) .ec-nav ul { gap: 34px; }
	body:has(#ec-catalogue) .ec-nav a { padding: 12px 0; font-size: 14px; }
	body:has(#ec-catalogue) .ec-header__controls { gap: 12px; }
	body:has(#ec-catalogue) .ec-header .ec-header__login { height: 44px; min-width: 0; padding-inline: 30px; font-size: 14px; }
	body:has(#ec-catalogue) .ec-iconbtn, body:has(#ec-catalogue) .ec-lang summary { width: 40px; height: 40px; }
}

@media (min-width: 1025px) and (max-width: 1350px) {
	.ec-header .container, body:has(#ec-catalogue) .ec-header .container { width: calc(100% - 48px); padding-inline: 0; }
	.ec-header__inner, body:has(#ec-catalogue) .ec-header__inner { column-gap: 22px; }
	.ec-header .ec-logo__image, body:has(#ec-catalogue) .ec-header .ec-logo__image { width: 236px; }
	.ec-nav ul, body:has(#ec-catalogue) .ec-nav ul { gap: 21px; }
	.ec-header__controls, body:has(#ec-catalogue) .ec-header__controls { gap: 12px; }
	.ec-header .ec-header__login, body:has(#ec-catalogue) .ec-header .ec-header__login { padding-inline: 18px; }
}

@media (min-width: 1025px) and (max-width: 1200px) {
	.ec-header__inner, body:has(#ec-catalogue) .ec-header__inner { column-gap: 12px; }
	.ec-header .ec-logo__image, body:has(#ec-catalogue) .ec-header .ec-logo__image { width: 170px; }
	.ec-nav ul, body:has(#ec-catalogue) .ec-nav ul { gap: 0; }
	.ec-nav a, body:has(#ec-catalogue) .ec-nav a { padding: 8px 6px; font-size: 12px; }
	.ec-header__controls, body:has(#ec-catalogue) .ec-header__controls { gap: 6px; }
	.ec-lang summary, .ec-iconbtn { width: 40px; height: 40px; }
	.ec-header .ec-pill-select.ec-header-city > summary { min-width: 126px; padding: 8px 10px; font-size: 13px; }
}

@media (min-width: 681px) and (max-width: 1024px) {
	.ec-header .container { padding-inline: 24px; }
	.ec-header__inner { justify-content: flex-start; gap: 22px; }
	.ec-logo { flex: 0 0 auto; }
	.ec-header__controls { display: flex; }
	.ec-header__controls { margin-left: auto; gap: 14px; }
	.ec-header__controls > .ec-lang summary { width: 40px; height: 40px; }
	.ec-header__controls > .ec-btn--ghost, .ec-header__controls > .ec-profile { display: none; }
	.ec-header__controls > .ec-header__login { display: none; }
	.ec-header .ec-logo__image { width: clamp(170px, 25vw, 236px); }
	.ec-burger { margin-left: 0; }
}

@media (min-width: 1025px) and (max-width: 1080px) {
	.ec-nav { display: none; }
	.ec-burger { display: block; margin-left: 0; }
	.ec-header__controls { margin-left: auto; }
}

@media (max-width: 680px) {
	:root { --ec-header-h: 60px; }
	.ec-header .container { padding-inline: 16px; }
	.ec-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) 40px 40px 40px; grid-template-rows: 60px; gap: 0 12px; min-height: 60px; }
	.ec-logo { grid-column: 1; grid-row: 1; }
	.ec-header .ec-logo__image { width: min(236px, 100%); }
	.ec-header__controls { display: contents; }
	.ec-header__controls > .ec-lang { display: block; grid-column: 3; grid-row: 1; }
	.ec-header__controls > .ec-lang summary { width: 40px; height: 40px; }
	.ec-header__controls > .ec-btn--ghost, .ec-header__controls > .ec-profile { display: none; }
	.ec-header__controls > .ec-iconbtn { grid-column: 2; grid-row: 1; }
	.ec-header__controls > .ec-header__login { display: none; }
	.ec-burger { grid-column: 4; grid-row: 1; justify-self: end; margin-left: 0; }
}

@media (max-width: 1080px) {
	.ec-burger { border: 0; }
}
/* Homepage autocomplete matches the white reference panel and clear control. */
.ec-hero-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.ec-hero-search__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
}

.ec-hero-search__count {
	display: inline-flex;
	min-width: 28px;
	min-height: 28px;
	align-items: center;
	justify-content: center;
	padding: 1px 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.16);
	font: inherit;
	font-size: 15px;
}

.ec-hero-search__suggestions {
	position: absolute;
	z-index: 45;
	top: calc(100% + 12px);
	left: 0;
	right: 0;
	max-height: min(52vh, 360px);
	padding: 9px;
	overflow-y: auto;
	border: 1px solid #e3e7e4;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.08);
	color: #171717;
	color-scheme: light;
	scrollbar-color: #c4cbc6 transparent;
	scrollbar-width: thin;
}

.ec-hero-search__suggestions-label {
	margin: 10px 14px 8px;
	color: #737a75;
	font-size: 12px;
}

.ec-hero-search__suggestion {
	display: flex;
	width: 100%;
	min-height: 44px;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
	padding: 12px 14px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #171717;
	font-size: 16px;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
}

.ec-hero-search__suggestion small {
	flex: 0 0 auto;
	color: #707879;
	font-size: 12px;
}

.ec-hero-search__suggestion:hover,
.ec-hero-search__suggestion[aria-selected="true"],
.ec-hero-search__suggestion:focus-visible {
	background: var(--ec-green);
	color: #102016;
}

.ec-hero-search__empty {
	margin: 0;
	padding: 12px 15px 17px;
	color: #737a75;
	font-size: 14px;
}

.ec-hero-search__suggestion:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: -2px;
}

@media (min-width: 1025px) {
	body:has(#ec-catalogue) .ec-hero-search__clear {
		width: calc(43 * var(--ec-reference-unit));
		height: calc(43 * var(--ec-reference-unit));
		margin: 0 calc(17 * var(--ec-reference-unit)) 0 calc(6 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero-search__clear svg {
		width: calc(18 * var(--ec-reference-unit));
		height: calc(18 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero-search__submit {
		gap: calc(9 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero-search__suggestions {
		top: calc(100% + 12 * var(--ec-reference-unit));
		padding: calc(9 * var(--ec-reference-unit));
		border-radius: calc(20 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero-search__suggestions-label {
		margin: calc(10 * var(--ec-reference-unit)) calc(14 * var(--ec-reference-unit)) calc(8 * var(--ec-reference-unit));
		font-size: calc(12 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero-search__suggestion {
		min-height: calc(44 * var(--ec-reference-unit));
		padding: calc(12 * var(--ec-reference-unit)) calc(14 * var(--ec-reference-unit));
		border-radius: calc(12 * var(--ec-reference-unit));
		font-size: calc(16 * var(--ec-reference-unit));
	}

	body:has(#ec-catalogue) .ec-hero-search__empty {
		padding: calc(12 * var(--ec-reference-unit)) calc(15 * var(--ec-reference-unit)) calc(17 * var(--ec-reference-unit));
		font-size: calc(14 * var(--ec-reference-unit));
	}
}

@media (max-width: 560px) {
	.ec-hero-search__clear {
		width: 30px;
		height: 36px;
		margin: 0 3px 0 2px;
	}

	.ec-hero-search__clear svg {
		width: 16px;
		height: 16px;
	}

	.ec-hero-search__submit {
		gap: 5px;
	}

	.ec-hero-search__count {
		min-width: 22px;
		min-height: 22px;
		padding: 1px 6px;
		font-size: 12px;
	}

	.ec-hero-search__suggestion {
		font-size: 14px;
	}
}
