html:not([data-vehicle-page]) .catalog-page{max-width:none;padding-inline:clamp(16px,3vw,40px)}
.catalog-grid{display:grid;grid-template-columns:repeat(var(--catalog-columns,1),minmax(0,1fr));gap:16px;align-items:stretch}
.catalog-grid>.vehicle{margin:0!important;min-width:0;display:flex!important;flex-direction:column;overflow:hidden}
.catalog-grid>.vehicle[hidden]{display:none!important}
.catalog-grid>.vehicle{cursor:pointer}
.catalog-grid>.vehicle{border:1px solid var(--card-border-colour,#a4bbae);border-radius:12px}
.catalog-grid .vehicle-photo{min-width:0;width:100%}.catalog-grid .gallery-stage{min-height:0!important}
.catalog-grid .vehicle-copy{padding:16px;min-width:0;display:flex;flex-direction:column;flex:1}
.catalog-grid .vehicle-actions{margin-top:auto;padding-top:12px;gap:8px}.catalog-grid .vehicle-actions a{text-align:center;justify-content:center}
.catalog-grid .vehicle-title-row h2{font-size:22px;letter-spacing:-.4px}.catalog-grid .vehicle-title-row .price{font-size:22px!important;letter-spacing:-.4px}
.catalog-grid .vehicle-copy .location,.catalog-grid .vehicle-copy .vehicle-facts{font-size:16px}
.catalog-grid .vehicle-title-row{grid-template-columns:minmax(0,1fr) 28px max-content!important;gap:5px 8px!important}
.catalog-grid .vehicle-favorite-button{width:28px;height:28px}.catalog-grid .vehicle-title-row .title-location{font-size:16px!important;white-space:normal}
.catalog-grid .vehicle-price-block{max-width:100%}.catalog-grid .price-import-total{white-space:normal}
.catalog-layout-button{height:36px;width:36px;min-width:36px;position:relative;display:inline-flex;align-items:center;justify-content:center;padding:0!important;flex-shrink:0}
.catalog-layout-button svg{width:27px;height:27px;stroke:currentColor;stroke-width:1.4;fill:none;opacity:.45}.catalog-layout-button span{position:absolute;font-size:12px;font-weight:700;line-height:1;background:var(--paper);padding:2px;border-radius:3px}
.catalog-layout-button.needs-fit{color:#bd323b!important;border-color:#bd323b!important;background:#fff0ef!important}.catalog-layout-button.needs-fit span{background:#fff0ef}
.catalog-toolbar .catalog-filter-actions,.catalog-toolbar .compact-filter-actions{align-items:center}
.catalog-toolbar.is-compact .catalog-layout-button{height:29px;width:29px;min-width:29px}
@container(max-width:300px){.catalog-grid .vehicle-title-row .vehicle-name{grid-column:1/-1;grid-row:1!important}.catalog-grid .vehicle-title-row .vehicle-favorite-button{grid-column:1;grid-row:2;justify-self:start}.catalog-grid .vehicle-title-row .vehicle-price-block,.catalog-grid .vehicle-title-row .price{grid-column:2/4;grid-row:2}.catalog-grid .vehicle-title-row .title-location{grid-row:3}.catalog-grid .vehicle-title-row h2{font-size:18px}.catalog-grid .vehicle-title-row .price{font-size:18px!important}.catalog-grid .vehicle-copy .location,.catalog-grid .vehicle-copy .vehicle-facts{font-size:14px}.catalog-grid .vehicle-actions{flex-wrap:wrap}.catalog-grid .vehicle-actions>*{width:100%;flex:auto}.catalog-grid .vehicle-copy{padding:10px}.catalog-grid .card-identifier{font-size:9px;padding:4px 6px}}

.catalog-layout-button{border-radius:6px!important}.catalog-layout-button:disabled{opacity:.55;cursor:default}

/* Compact actions directly beneath the interior colour, without a divider. */
.catalog-grid .vehicle-facts{border-bottom:0;padding-bottom:0;margin-bottom:0}
.catalog-grid .vehicle-actions{margin-top:4px;padding-top:0;gap:4px;align-items:flex-start}
.catalog-grid .vehicle-actions :is(.details-button,.vehicle-share){height:24px;min-height:24px;padding:2px 10px;border:0;border-radius:5px;font-size:13px;font-weight:600;line-height:20px;display:inline-flex;align-items:center;justify-content:center}
.catalog-grid .vehicle-actions .details-button{background:#254b38;color:#fff}
.catalog-grid .vehicle-actions .details-button:hover{background:#34664b;color:#fff}
.catalog-grid .vehicle-actions .vehicle-share{background:#465057;color:#fff}
.catalog-grid .vehicle-actions .vehicle-share:hover{background:#5b6770;color:#fff}
.catalog-grid .vehicle-actions{display:grid;grid-template-columns:1fr 1fr;flex-wrap:nowrap}
.catalog-grid .vehicle-actions>*{width:100%;min-width:0}
@media(max-width:600px){
 .catalog-toolbar:not(.is-compact) .model-filter-row:nth-child(2){flex-wrap:wrap!important}
 .catalog-toolbar:not(.is-compact) .catalog-filter-actions{flex-basis:100%;justify-content:flex-end;margin-left:0!important;margin-top:3px}
 .catalog-toolbar:not(.is-compact) .catalog-filter-actions .filter{font-size:12px;padding:7px 10px}
 .catalog-toolbar:not(.is-compact) .catalog-filter-actions .catalog-layout-button{padding:0!important}
 .catalog-toolbar.is-compact .catalog-xiaomi-brand{display:none!important}
 .catalog-toolbar.is-compact{grid-template-columns:minmax(0,1fr) auto!important}
 .catalog-toolbar.is-compact.is-two-row .model-filter-row{grid-column:1!important}
 .catalog-toolbar.is-compact .langs,.catalog-toolbar.is-compact .compact-filter-actions{grid-column:2!important}
}
