:root {
  --bg: #0f1117;
  --bg-soft: #171a22;
  --panel: #ffffff;
  --panel-dark: rgba(27, 30, 39, 0.92);
  --ink: #171a21;
  --muted: #717987;
  --line: #e3e7ed;
  --line-dark: #dfe4eb;
  --ruby: #c51035;
  --ruby-dark: #7d0d23;
  --ruby-hot: #ee3154;
  --ruby-soft: #fae2e7;
  --gold: #d9b46f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #f2f4f7;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--ruby);
}

.hero {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 34px;
  color: #fff;
  background: #12141a;
  border-bottom: 3px solid var(--ruby);
}

.hero-orb {
  display: none;
}

.hero-orb--ruby {
  background: none;
}

.hero-orb--gold {
  background: none;
}

.hero__content,
.hero__panel {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1b1e25;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero__content {
  padding: 30px;
}

.hero__panel {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
}

.hero__panel > span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(197, 16, 53, 0.5);
  font-size: 12px;
  font-weight: 800;
}

.hero__panel strong {
  font-size: 26px;
}

.hero__panel p,
.hero__content p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-block p {
  margin-top: 4px;
  color: #aeb4c0;
  font-size: 13px;
}

.brand-logo {
  width: 136px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.ruby-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ef4768;
  border-radius: 8px;
  color: #fff;
  background: var(--ruby);
  font-size: 24px;
  font-weight: 900;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  font-size: 20px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.quick-links a,
.link-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: #fff;
  background: #20232b;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.quick-links a:hover,
.link-button:hover {
  transform: translateY(-2px);
  border-color: rgba(238, 49, 84, 0.55);
  background: rgba(197, 16, 53, 0.34);
}

.topbar__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.topbar__stats span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #1d2027;
  font-size: 12px;
}

.mode-switch,
.period-switch {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: #1d2027;
}

.mode-switch button,
.period-switch button {
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 5px;
  color: #b7bdc8;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.mode-switch button.is-active,
.period-switch button.is-active {
  color: #fff;
  background: var(--ruby);
}

[data-product-mode="public"] [data-internal-only],
[data-product-mode="public"] .internal-only {
  display: none !important;
}

.signal-stack {
  display: grid;
  gap: 8px;
}

.signal-stack div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.signal-stack b {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-stack i {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-style: normal;
}

.app-shell {
  width: min(1680px, 100%);
  margin: 0 auto;
  padding: 14px 24px 34px;
}

.tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-color: var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
}

.tab,
.button {
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--ruby);
  cursor: pointer;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.tab {
  color: #4b5563;
  background: transparent;
  border: 1px solid transparent;
}

.tab:hover,
.button:hover {
  transform: translateY(-1px);
}

.tab.is-active {
  color: #fff;
  background: var(--ruby);
  box-shadow: none;
}

.button.secondary {
  color: var(--ruby-dark);
  background: var(--ruby-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.view {
  display: none;
  animation: rise 220ms ease both;
}

.view.is-active {
  display: grid;
  gap: 20px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#catalogView {
  grid-template-columns: 310px minmax(0, 1fr);
}

.country-catalogs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.country-catalogs button {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  min-height: 76px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.country-catalogs button:hover {
  transform: translateY(-2px);
  border-color: #c8ced8;
}

.country-catalogs button.is-active {
  border-color: var(--ruby);
  color: #fff;
  background: #171920;
  box-shadow: inset 4px 0 0 var(--ruby);
}

.country-catalogs button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.country-catalogs button.is-loading small::after {
  content: " · загрузка";
  color: var(--gold);
}

.country-catalogs button > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  color: #fff;
  background: var(--ruby);
  font-size: 15px;
  font-weight: 900;
}

.country-catalogs strong {
  font-size: 17px;
}

.country-catalogs small {
  color: var(--muted);
}

.country-catalogs button.is-active small {
  color: #b8bec8;
}

.workspace {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.market-radar,
.client-intelligence,
.selection-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  background: #191c23;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.14);
}

.market-radar h2,
.selection-hero h2 {
  margin: 6px 0 8px;
  font-size: 28px;
}

.market-radar p,
.client-intelligence p,
.selection-hero p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.radar-label,
.client-intelligence span,
.selection-hero span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.radar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
}

.radar-grid a {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 106px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.radar-grid a::after {
  display: none;
}

.radar-grid a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.radar-grid b {
  font-size: 28px;
}

.radar-grid span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.panel,
.empty-state,
.car-card {
  border: 1px solid rgba(17, 21, 30, 0.08);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(14, 17, 24, 0.08);
}

.car-card.is-selected {
  border-color: var(--ruby);
  box-shadow: 0 0 0 2px rgba(197, 16, 53, 0.1);
}

.panel {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.panel:hover {
  box-shadow: 0 22px 58px rgba(14, 17, 24, 0.16);
}

.filters {
  position: sticky;
  top: 90px;
  align-self: start;
  display: grid;
  gap: 14px;
  max-height: calc(100dvh - 112px);
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #c8cbd2 transparent;
  scrollbar-width: thin;
}

.filter-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.filters::-webkit-scrollbar {
  width: 6px;
}

.filters::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c8cbd2;
}

.flow-strip,
.recommendation-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
}

.flow-strip article,
.flow-strip .flow-card,
.recommendation-board article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  background: #20232b;
  box-shadow: 0 8px 18px rgba(14, 17, 24, 0.12);
}

.flow-strip .flow-card {
  position: relative;
  padding-right: 46px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.flow-strip .flow-card > i {
  position: absolute;
  right: 17px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--ruby);
  font-style: normal;
  font-weight: 900;
}

.flow-strip .flow-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 17, 68, 0.3);
  box-shadow: 0 16px 34px rgba(14, 17, 24, 0.14);
}

.flow-strip .flow-card:focus-visible {
  outline: 3px solid rgba(239, 17, 68, 0.3);
  outline-offset: 3px;
}

.flow-strip span,
.recommendation-board span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-strip p,
.recommendation-board p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.recommendation-board {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.client-intelligence {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.client-intelligence article {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.client-intelligence strong {
  font-size: 22px;
}

.selection-hero {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.offer-card {
  display: grid;
  gap: 10px;
  align-content: center;
  min-height: 180px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #262a33;
}

.offer-card b {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-card strong {
  font-size: 24px;
}

.offer-card small {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.section-head,
.form-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 20px;
}

.section-head p,
.form-header p {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.actions,
.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ruby);
  box-shadow: 0 0 0 3px rgba(184, 16, 47, 0.12);
}

.form-grid {
  display: grid;
  gap: 18px;
  padding-bottom: 20px;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin: 0 20px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

legend {
  padding: 0 8px;
  color: var(--ruby-dark);
  font-weight: 900;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 16px;
}

.load-more {
  justify-self: center;
  min-width: 220px;
}

.car-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  overflow: hidden;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.car-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(14, 17, 24, 0.18);
}

.car-card__photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background: #20232b;
}

.car-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-card__photo span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.photo-placeholder {
  display: grid;
  gap: 7px;
  place-items: center;
  color: #fff;
  text-align: center;
}

.car-card__photo .photo-placeholder img,
.vehicle-dialog__photo .photo-placeholder img {
  width: 150px;
  height: 58px;
  object-fit: cover;
  object-position: center;
}

.photo-placeholder b {
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-id {
  position: absolute;
  top: 8px;
  left: 8px;
  right: auto;
  padding: 5px 7px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 10px !important;
  z-index: 4;
}

.car-card__photo--empty {
  border: 1px dashed rgba(255, 255, 255, 0.22);
}

.car-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.car-card h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.car-card__meta,
.recommendation {
  color: var(--muted);
  font-size: 13px;
}

.car-card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.car-card__price > div {
  display: grid;
  gap: 4px;
}

.car-card__price > div:last-child {
  justify-items: end;
  text-align: right;
}

.car-card__price span,
.specs span {
  color: var(--muted);
  font-size: 11px;
}

.car-card__price strong {
  color: var(--ink);
  font-size: 18px;
}

.car-card__price span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.badge {
  align-self: start;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--ruby-dark);
  background: var(--ruby-soft);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.specs div {
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: 6px;
  background: #f4f6f8;
}

.specs b {
  color: var(--ink);
  font-size: 13px;
}

.car-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.car-card__actions .button {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 12px;
}

.selection-button[aria-pressed="true"] {
  background: #20232b;
}

.vehicle-warning {
  padding: 9px 10px;
  border-left: 3px solid #d69e2e;
  border-radius: 4px;
  color: #7a4d00;
  background: #fff7df;
  font-size: 12px;
  line-height: 1.4;
}

.dialog-warning {
  margin-top: 12px;
}

.source-link {
  color: var(--ruby);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.empty-state {
  display: grid;
  gap: 12px;
  padding: 42px;
  color: var(--muted);
  text-align: center;
}

.empty-state strong {
  color: var(--ink);
  font-size: 22px;
}

.empty-actions {
  justify-content: center;
}

.calculation-result {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  margin: 0 20px;
}

.calculation-result div,
.sources-grid article {
  display: grid;
  gap: 7px;
  padding: 16px;
  border-radius: 8px;
  background: #f5f6f8;
}

.calculation-result span,
.sources-grid span {
  color: var(--muted);
  font-size: 13px;
}

.calculation-result strong {
  font-size: 22px;
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  padding: 18px;
}

.sources-grid article {
  min-height: 150px;
  background: #f6f7f9;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.sources-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(17, 20, 29, 0.13);
}

.sources-grid b {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--ruby-dark);
  background: var(--ruby-soft);
  font-size: 12px;
}

.sources-grid a {
  color: var(--ruby);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: #20232b;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

.vehicle-dialog {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 24px;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.vehicle-dialog::backdrop {
  background: rgba(11, 13, 18, 0.72);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #20232b;
  cursor: pointer;
  font-size: 22px;
}

.vehicle-dialog__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-right: 38px;
}

.vehicle-dialog__header h2 {
  margin: 5px 0;
  font-size: 28px;
}

.vehicle-dialog__header p {
  color: var(--muted);
}

.dialog-eyebrow {
  color: var(--ruby);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.vehicle-dialog__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: 16px;
  margin-top: 20px;
}

.vehicle-dialog__gallery {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.vehicle-dialog__photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 300px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #20232b;
}

button.vehicle-dialog__photo {
  cursor: zoom-in;
}

.vehicle-dialog__zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 14, 19, 0.76);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  font-weight: 750;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

button.vehicle-dialog__photo:hover .vehicle-dialog__zoom-hint,
button.vehicle-dialog__photo:focus-visible .vehicle-dialog__zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

button.vehicle-dialog__photo:focus-visible {
  outline: 3px solid var(--ruby);
  outline-offset: 3px;
}

.dialog-thumbnails {
  display: flex;
  gap: 7px;
  max-width: 100%;
  padding: 2px 0 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.dialog-thumbnails button {
  width: 86px;
  height: 58px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 5px;
  background: #20232b;
  cursor: pointer;
}

.dialog-thumbnails button.is-active {
  border-color: var(--ruby);
}

.dialog-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: rgba(8, 9, 13, 0.97);
}

.photo-lightbox::backdrop {
  background: rgba(8, 9, 13, 0.88);
}

.photo-lightbox__stage {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 24px;
}

.photo-lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  min-width: 0;
  height: 100%;
  margin: 0;
  place-items: center;
}

.photo-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 84px);
  object-fit: contain;
  border-radius: 7px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.photo-lightbox figcaption {
  position: absolute;
  bottom: 18px;
  left: 50%;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 13px;
  font-weight: 800;
  transform: translateX(-50%);
}

.photo-lightbox__close,
.photo-lightbox__nav {
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.photo-lightbox__close:hover,
.photo-lightbox__nav:hover {
  background: var(--ruby);
}

.photo-lightbox__close:focus-visible,
.photo-lightbox__nav:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.photo-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 28px;
}

.photo-lightbox__nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 24px;
}

.photo-lightbox__nav--previous {
  grid-column: 1;
}

.photo-lightbox__nav--next {
  grid-column: 3;
}

.photo-lightbox__nav[hidden] {
  visibility: hidden;
}

.section-title-row,
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.section-title-row h2,
.news-header h2 {
  margin-top: 5px;
}

.purchase-tops,
.news-header {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(14, 17, 24, 0.08);
}

.period-switch {
  border-color: var(--line);
  background: #f2f4f7;
}

.period-switch button {
  color: #596171;
}

.purchase-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.purchase-top-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.purchase-top-card__image {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #171920;
}

.purchase-top-card__image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.purchase-top-card__image > .purchase-top-card__logo {
  width: 70%;
  margin: 0 15%;
  object-fit: cover;
  object-position: center;
}

.purchase-top-card__empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #aeb4c0;
  font-size: 12px;
}

.purchase-rank {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 6px;
  color: #fff;
  background: var(--ruby);
  font-size: 12px;
  font-weight: 900;
}

.purchase-top-card > div:last-child {
  display: grid;
  gap: 5px;
  padding: 13px;
}

.purchase-top-card > div:last-child > span,
.purchase-top-card small {
  color: var(--muted);
  font-size: 11px;
}

.purchase-top-card strong {
  font-size: 17px;
}

.data-empty {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 22px;
  border: 1px dashed #cdd2db;
  border-radius: 7px;
  color: var(--muted);
  background: #f7f8fa;
  text-align: center;
}

.data-empty strong {
  color: var(--ink);
}

.news-header {
  align-items: center;
  color: #fff;
  background: #191c23;
}

.news-header p {
  max-width: 760px;
  margin-top: 8px;
  color: #b8bec8;
  line-height: 1.5;
}

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

.news-empty-state {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 180px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(14, 17, 24, 0.08);
}

.news-empty-state__mark {
  display: grid;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--ruby);
  box-shadow: 0 12px 28px rgba(226, 10, 65, 0.24);
  font-size: 24px;
  font-weight: 900;
}

.news-empty-state__eyebrow {
  color: var(--ruby);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.news-empty-state h3 {
  margin: 5px 0 4px;
  color: var(--ink);
  font-size: 24px;
}

.news-empty-state p {
  margin: 0;
  color: var(--muted);
}

.news-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(14, 17, 24, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 10, 65, 0.3);
  box-shadow: 0 16px 32px rgba(14, 17, 24, 0.12);
}

.news-card--featured {
  grid-column: 1 / -1;
  min-height: 310px;
}

.news-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #15171d;
}

.news-card__visual::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 6px;
  height: 72%;
  background: var(--ruby);
}

.news-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-card__brand {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: radial-gradient(circle at 20% 20%, rgba(226, 10, 65, 0.25), transparent 42%), #15171d;
}

.news-card__brand img {
  width: 70%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
}

.news-card__visual span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.news-card__body {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
}

.news-card__body > span {
  color: var(--ruby);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  font-size: 20px;
}

.news-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.news-card small {
  color: #8a919d;
}

.news-card__body footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.news-card__body button,
.news-card__body a[data-open-article] {
  padding: 0;
  border: 0;
  color: var(--ruby);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.article-dialog {
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 34px 90px rgba(8, 10, 16, 0.42);
}

.article-dialog::backdrop {
  background: rgba(8, 10, 16, 0.78);
  backdrop-filter: blur(10px);
}

.article-dialog__close {
  position: fixed;
  z-index: 4;
  width: 42px;
  height: 42px;
  margin: 18px 0 0 min(918px, calc(100vw - 92px));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 14, 19, 0.82);
  font-size: 24px;
  cursor: pointer;
}

.article-dialog__hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  min-height: 360px;
  color: #fff;
  background: #16181e;
}

.article-dialog__hero > img,
.article-dialog__brand {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.article-dialog__brand {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 20%, rgba(226, 10, 65, 0.34), transparent 40%), #111319;
}

.article-dialog__brand img {
  width: 70%;
  max-width: 260px;
}

.article-dialog__heading {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 58px 54px;
}

.article-dialog__heading > span {
  color: #ff5b82;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-dialog__heading h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 0.98;
}

.article-dialog__heading p,
.article-dialog__heading small {
  margin: 0;
  color: #c4c9d2;
  line-height: 1.6;
}

.article-dialog__prose {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0;
}

.article-dialog__prose h2 {
  margin: 46px 0 16px;
  font-size: 30px;
}

.article-dialog__prose p,
.article-dialog__prose li {
  color: #444b57;
  font-size: 17px;
  line-height: 1.82;
}

.article-dialog__prose ul {
  padding-left: 24px;
}

.article-dialog__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 48px;
  color: #fff;
  background: linear-gradient(120deg, #17191f, #42101e);
}

.article-dialog__footer div {
  display: grid;
  gap: 5px;
}

.article-dialog__footer span {
  color: #ff8aa6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.vehicle-dialog__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-dialog__photo.is-empty {
  align-content: center;
  gap: 8px;
  padding: 30px;
  text-align: center;
}

.vehicle-dialog__photo.is-empty b {
  font-size: 34px;
}

.vehicle-dialog__photo.is-empty span {
  max-width: 380px;
  color: #b9bec8;
}

.dialog-price {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fa;
}

.dialog-price span,
.dialog-price small {
  color: var(--muted);
}

.dialog-price strong {
  color: var(--ruby-dark);
  font-size: 28px;
}

.dialog-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.dialog-specs div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.dialog-specs span {
  color: var(--muted);
  font-size: 11px;
}

.price-history {
  margin-top: 20px;
}

.price-history h3 {
  margin: 0 0 10px;
}

.price-history > div {
  display: grid;
  grid-template-columns: 130px 1fr 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.price-history span {
  color: var(--muted);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

@media (max-width: 1120px) {
  .hero,
  #catalogView,
  .market-radar,
  .client-intelligence,
  .selection-hero,
  fieldset,
  .calculation-result,
  .cars-grid,
  .sources-grid,
  .flow-strip,
  .recommendation-board,
  .purchase-top-grid,
  .news-grid,
  .country-catalogs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters {
    position: static;
  }
}

@media (max-width: 720px) {
  .article-dialog__hero {
    grid-template-columns: 1fr;
  }

  .article-dialog__hero > img,
  .article-dialog__brand {
    min-height: 230px;
    max-height: 280px;
  }

  .article-dialog__heading {
    padding: 34px 24px 42px;
  }

  .article-dialog__footer {
    align-items: stretch;
    flex-direction: column;
    padding: 26px 24px;
  }

  .news-card--featured {
    min-height: 0;
  }
  .photo-lightbox__stage {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    padding: 12px;
  }

  .photo-lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .photo-lightbox__close {
    top: 12px;
    right: 12px;
  }

  .vehicle-dialog__zoom-hint {
    opacity: 1;
    transform: none;
  }

  .hero,
  .market-radar,
  .client-intelligence,
  .selection-hero,
  .topbar,
  .section-head,
  .form-header {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .brand-block {
    min-width: 0;
  }

  .brand-logo {
    width: 112px;
  }

  .hero {
    padding: 16px 14px;
  }

  .app-shell {
    padding: 8px 14px 20px;
  }

  #catalogView,
  fieldset,
  .calculation-result,
  .cars-grid,
  .sources-grid,
  .flow-strip,
  .recommendation-board,
  .radar-grid,
  .specs,
  .vehicle-dialog__layout,
  .dialog-specs {
    grid-template-columns: 1fr;
  }

  .country-catalogs {
    grid-template-columns: 1fr;
  }

  .purchase-top-grid,
  .news-grid,
  .news-card {
    grid-template-columns: 1fr;
  }

  .section-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .period-switch {
    width: 100%;
  }

  .period-switch button {
    width: 100%;
  }

  .news-card__visual {
    min-height: 170px;
  }

  .topbar__stats {
    justify-content: flex-start;
  }

  .quick-links {
    width: 100%;
  }

  .quick-links a {
    flex: 1;
    justify-content: center;
  }

  .vehicle-dialog {
    padding: 18px;
  }

  .vehicle-dialog__photo {
    min-height: 220px;
  }
}

/* Ruby Market client experience — premium digital showroom */

:root {
  --bg: #08090d;
  --bg-soft: #11131a;
  --panel: #ffffff;
  --panel-soft: #f7f7f9;
  --ink: #12141a;
  --muted: #69707d;
  --line: #e6e7eb;
  --line-dark: #d7d9df;
  --ruby: #d40835;
  --ruby-dark: #8f0926;
  --ruby-hot: #ff315d;
  --ruby-soft: #fff0f3;
  --gold: #e4be7d;
  --success: #35c48d;
  --shadow: 0 28px 80px rgba(7, 9, 14, 0.16);
  --shadow-soft: 0 14px 40px rgba(15, 18, 27, 0.09);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  background: #eef0f4;
}

body {
  min-width: 320px;
  padding-bottom: 94px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 28%, rgba(212, 8, 53, 0.06), transparent 28rem),
    radial-gradient(circle at 94% 52%, rgba(228, 190, 125, 0.08), transparent 24rem),
    #f2f3f6;
  font-family: Inter, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 49, 93, 0.34);
  outline-offset: 3px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-height: 610px;
  padding: 24px 40px 74px;
  overflow: hidden;
  border: 0;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(212, 8, 53, 0.15), transparent 36%),
    linear-gradient(180deg, #090a0f 0%, #11131a 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero::after {
  position: absolute;
  right: -12%;
  bottom: -58%;
  z-index: -1;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.02),
    0 0 0 150px rgba(255, 255, 255, 0.015);
  content: "";
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero-glow--ruby {
  top: -220px;
  left: -160px;
  width: 520px;
  height: 520px;
  opacity: 0.33;
  background: radial-gradient(circle, rgba(255, 35, 79, 0.75), transparent 68%);
}

.hero-glow--silver {
  right: 12%;
  bottom: -260px;
  width: 620px;
  height: 620px;
  opacity: 0.14;
  background: radial-gradient(circle, #fff, transparent 68%);
}

.hero__topline,
.hero__stage {
  width: min(1600px, 100%);
  margin-inline: auto;
}

.hero__topline {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-block {
  display: flex;
  min-width: 0;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.brand-logo {
  width: 184px;
  height: 70px;
  border: 0;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
  filter:
    brightness(1.08)
    contrast(1.06)
    saturate(1.08)
    drop-shadow(0 0 16px rgba(255, 27, 72, 0.28));
  transition: filter 180ms ease, transform 180ms var(--ease-out);
}

.brand-block:hover .brand-logo {
  filter:
    brightness(1.16)
    contrast(1.08)
    saturate(1.14)
    drop-shadow(0 0 22px rgba(255, 27, 72, 0.42));
  transform: translateY(-1px);
}

.brand-copy {
  display: grid;
  align-content: center;
  gap: 1px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.brand-copy .eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.mode-switch {
  gap: 4px;
  padding: 5px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.mode-switch button {
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
}

.mode-switch button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--ruby-hot), var(--ruby));
  box-shadow: 0 8px 24px rgba(212, 8, 53, 0.3);
}

.topline-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 7px 8px 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  backdrop-filter: blur(18px);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.topline-cta i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ruby-hot), var(--ruby));
  box-shadow: 0 8px 22px rgba(212, 8, 53, 0.3);
  font-style: normal;
}

.topline-cta:hover {
  border-color: rgba(255, 49, 93, 0.4);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero__stage {
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.68fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-top: 58px;
}

.hero__content,
.hero__panel {
  border: 0;
  box-shadow: none;
}

.hero__content {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-kicker i,
.hero__panel-head i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(53, 196, 141, 0.12);
  animation: livePulse 2.2s ease-in-out infinite;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(52px, 6.7vw, 104px);
  font-weight: 760;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(110deg, #fff 10%, #f89caf 50%, #ff315d 100%);
  background-clip: text;
  font-style: normal;
}

.hero__content > p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button--hero,
.button--ghost {
  min-height: 56px;
  gap: 24px;
  padding: 14px 22px;
  border-radius: 14px;
}

.button--hero {
  justify-content: space-between;
  min-width: 245px;
  background: linear-gradient(135deg, var(--ruby-hot), var(--ruby));
  box-shadow: 0 16px 40px rgba(212, 8, 53, 0.3);
}

.button--hero span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, 0.26);
  text-underline-offset: 5px;
  transition: color 160ms ease, transform 160ms ease;
}

.hero-secondary-link:hover {
  color: #fff;
  transform: translateY(-1px);
}

.hero-secondary-link span {
  color: var(--ruby-hot);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 4px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.trust-row b {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hero__panel {
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(26px);
}

.hero__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__panel-head > span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.05);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero__panel > strong {
  max-width: 330px;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero__panel > p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.55;
}

.topbar__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  gap: 8px;
}

.topbar__stats > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.17);
}

.topbar__stats small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.topbar__stats b {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-links {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 4px;
}

.quick-links__label {
  margin-right: auto;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-links a {
  min-height: 30px;
  padding: 7px 9px;
  border: 0;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.05);
  font-size: 10px;
}

.quick-links a:hover {
  color: #fff;
  background: rgba(212, 8, 53, 0.26);
}

.app-shell {
  width: min(1640px, 100%);
  margin: -34px auto 0;
  padding: 0 28px 48px;
}

.tabs {
  top: 14px;
  z-index: 20;
  flex-wrap: nowrap;
  gap: 5px;
  margin-bottom: 24px;
  padding: 7px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 50px rgba(18, 20, 28, 0.12);
  backdrop-filter: blur(22px);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 1 0 max-content;
  gap: 8px;
  min-height: 47px;
  padding: 10px 15px;
  border-radius: 14px;
  color: #686e7a;
}

.tab span {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  color: #9a9faa;
  font-size: 16px;
}

.tab:hover {
  color: var(--ink);
  background: #f3f4f6;
}

.tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #1c1f27, #0d0e13);
  box-shadow: 0 9px 24px rgba(11, 13, 19, 0.2);
}

.tab.is-active span {
  color: var(--ruby-hot);
}

.view {
  animation: viewReveal 380ms var(--ease-out) both;
}

#catalogView {
  grid-template-columns: 300px minmax(0, 1fr);
}

.country-catalogs {
  gap: 12px;
}

.country-catalogs button {
  position: relative;
  min-height: 92px;
  padding: 15px 18px;
  overflow: hidden;
  border-color: rgba(19, 21, 28, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.country-catalogs button::after {
  position: absolute;
  right: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #8b909a;
  background: #f1f2f5;
  content: "→";
  transition: transform 180ms var(--ease-out);
}

.country-catalogs button:hover::after {
  transform: translateX(3px);
}

.country-catalogs button > span {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--ruby-hot), var(--ruby-dark));
  box-shadow: 0 10px 25px rgba(212, 8, 53, 0.22);
}

.country-catalogs button.is-active {
  border-color: #1a1c23;
  color: #fff;
  background:
    radial-gradient(circle at 82% 0, rgba(212, 8, 53, 0.24), transparent 45%),
    #171920;
  box-shadow: 0 20px 48px rgba(12, 14, 20, 0.18);
}

.country-catalogs button.is-active::after {
  color: #fff;
  background: var(--ruby);
}

.panel,
.empty-state,
.car-card,
.purchase-tops,
.news-header {
  border-color: rgba(18, 20, 27, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.filters {
  top: 91px;
  gap: 10px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.filters input,
.filters select {
  min-height: 42px;
  padding: 9px 11px;
}

.filters h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
}

.filters h2::after {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--ruby);
  background: var(--ruby-soft);
  content: "точный поиск";
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

label {
  color: #777d89;
  font-size: 12px;
}

input,
select,
textarea {
  min-height: 46px;
  padding: 11px 13px;
  border-color: #e1e3e8;
  border-radius: 12px;
  background: #fafbfc;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #cfd2d9;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(212, 8, 53, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(212, 8, 53, 0.09);
}

.market-radar,
.client-intelligence,
.selection-hero {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 0, rgba(212, 8, 53, 0.28), transparent 40%),
    linear-gradient(135deg, #171920, #0d0f14);
  box-shadow: 0 24px 64px rgba(10, 12, 18, 0.2);
}

.market-radar::before,
.selection-hero::before {
  position: absolute;
  top: -100px;
  right: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.025);
  content: "";
}

.market-radar h2,
.selection-hero h2 {
  position: relative;
  margin: 8px 0 10px;
  max-width: 700px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
}

.market-radar p,
.client-intelligence p,
.selection-hero p {
  position: relative;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.6);
}

.radar-grid {
  position: relative;
}

.radar-grid a {
  min-height: 116px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.radar-grid a::after {
  position: absolute;
  right: 13px;
  bottom: 12px;
  display: block;
  color: rgba(255, 255, 255, 0.36);
  content: "↗";
  font-size: 16px;
}

.radar-grid a:hover {
  border-color: rgba(255, 49, 93, 0.4);
  background: rgba(212, 8, 53, 0.13);
}

.client-promise {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.client-promise__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.client-promise__copy > p {
  max-width: 650px;
  font-size: 15px;
  line-height: 1.65;
}

.client-promise__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: auto;
  padding-top: 26px;
}

.button--promise {
  min-height: 50px;
  gap: 20px;
  padding: 12px 16px 12px 19px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ruby-hot), var(--ruby));
  box-shadow: 0 14px 34px rgba(212, 8, 53, 0.28);
}

.button--promise span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.promise-link {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.promise-link:hover {
  color: #fff;
}

.client-promise__benefits {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.client-promise__benefits article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 92px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.client-promise__benefits article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 49, 93, 0.26);
  border-radius: 14px;
  color: #ff6686;
  background: rgba(212, 8, 53, 0.12);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.client-promise__benefits article > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.client-promise__benefits strong {
  color: #fff;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.client-promise__benefits p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.45;
}

.flow-strip {
  gap: 10px;
}

.flow-strip article,
.flow-strip .flow-card,
.recommendation-board article {
  min-height: 134px;
  border-color: rgba(17, 19, 26, 0.08);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.flow-strip span,
.recommendation-board span {
  color: var(--ruby);
}

.flow-strip p,
.recommendation-board p {
  color: var(--muted);
}

.section-head,
.form-header {
  padding: 22px 24px;
}

.section-head h2,
.form-header h2 {
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: -0.03em;
}

.button {
  min-height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ruby-hot), var(--ruby));
  box-shadow: 0 9px 22px rgba(212, 8, 53, 0.16);
}

.button:hover {
  box-shadow: 0 14px 30px rgba(212, 8, 53, 0.24);
}

.button.secondary {
  color: var(--ruby-dark);
  background: var(--ruby-soft);
  box-shadow: none;
}

.cars-grid {
  gap: 18px;
}

.car-card {
  gap: 15px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 42px rgba(17, 20, 28, 0.09);
  transition:
    transform 260ms var(--ease-out),
    box-shadow 260ms var(--ease-out),
    border-color 260ms ease;
}

.car-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(12, 15, 22, 0.16);
}

.car-card.is-selected {
  border-color: rgba(212, 8, 53, 0.54);
  box-shadow:
    0 0 0 3px rgba(212, 8, 53, 0.08),
    0 25px 70px rgba(12, 15, 22, 0.14);
}

.car-card__photo {
  border-radius: 18px;
}

.car-card__photo-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 19, 25, 0.78);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.cars-grid.is-refreshing {
  pointer-events: none;
  opacity: 0.58;
  filter: saturate(0.72);
  transition: opacity 180ms ease, filter 180ms ease;
}

.car-card__photo img {
  transition: transform 560ms var(--ease-out);
}

.car-card:hover .car-card__photo > img {
  transform: scale(1.035);
}

.car-card__top,
.specs,
.car-card__price,
.car-card__actions,
.car-card > .vehicle-warning,
.car-card > .source-link {
  margin-inline: 5px;
}

.car-card h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
}

.badge {
  color: #fff;
  background: #171920;
}

.specs {
  gap: 7px;
}

.specs div {
  padding: 9px 10px;
  border: 1px solid #eef0f3;
  border-radius: 11px;
  background: #f8f9fa;
}

.car-card__price {
  padding: 14px 2px;
}

.car-card__price strong {
  font-size: 19px;
  letter-spacing: -0.025em;
}

.car-card__actions .button {
  min-height: 42px;
  border-radius: 11px;
}

.selection-button[aria-pressed="true"] {
  background: linear-gradient(135deg, #252832, #111319);
  box-shadow: none;
}

fieldset {
  border-radius: 18px;
  background: #fafbfc;
}

.calculation-result div,
.sources-grid article {
  border: 1px solid #eceef1;
  border-radius: 16px;
}

.news-card,
.purchase-top-card {
  border-radius: 20px;
}

.vehicle-dialog {
  padding: 28px;
  border-radius: 28px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
}

.vehicle-dialog::backdrop {
  background: rgba(7, 8, 12, 0.76);
  backdrop-filter: blur(10px);
}

.dialog-close {
  border-radius: 50%;
  background: #171920;
}

.vehicle-dialog__photo,
.dialog-price,
.dialog-specs div {
  border-radius: 16px;
}

.toast {
  right: 24px;
  bottom: 102px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: min(390px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: #fff;
  background: rgba(18, 20, 27, 0.94);
  box-shadow: 0 24px 70px rgba(6, 8, 12, 0.3);
  backdrop-filter: blur(20px);
  transform: translateY(18px) scale(0.97);
}

.toast.is-visible {
  transform: translateY(0) scale(1);
}

.toast__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #072218;
  background: var(--success);
  font-weight: 950;
}

.toast[data-tone="neutral"] .toast__icon {
  color: #fff;
  background: #59606e;
}

.toast[data-tone="error"] .toast__icon {
  color: #fff;
  background: var(--ruby);
}

.client-dock {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 31;
  display: none;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 5px;
  width: min(390px, calc(100vw - 32px));
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(13, 15, 20, 0.92);
  box-shadow: 0 20px 65px rgba(5, 7, 11, 0.3);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.client-dock a {
  position: relative;
  display: grid;
  grid-template-columns: 22px auto;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.client-dock a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.client-dock a.is-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ruby-hot), var(--ruby));
}

.client-dock a > span {
  font-size: 17px;
}

.client-dock em {
  position: absolute;
  top: 5px;
  right: 8px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  border-radius: 999px;
  color: #1a1c23;
  background: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.client-dock em[data-has-items] {
  color: #fff;
  background: var(--ruby-hot);
}

.concierge-toggle {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 33;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  color: #fff;
  background: rgba(13, 15, 20, 0.94);
  box-shadow: 0 20px 65px rgba(5, 7, 11, 0.3);
  cursor: pointer;
  backdrop-filter: blur(20px);
}

.concierge-toggle__pulse {
  display: grid;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ruby-hot);
  box-shadow: 0 0 0 6px rgba(255, 49, 93, 0.13);
}

.concierge-toggle > span:not(.concierge-toggle__pulse) {
  display: grid;
  gap: 1px;
  text-align: left;
}

.concierge-toggle small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.concierge-toggle b {
  font-size: 12px;
}

.concierge-toggle i {
  color: rgba(255, 255, 255, 0.48);
  font-style: normal;
}

.concierge-panel {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 41;
  width: min(420px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(212, 8, 53, 0.27), transparent 42%),
    rgba(16, 18, 24, 0.98);
  box-shadow: 0 35px 100px rgba(4, 6, 10, 0.44);
  opacity: 0;
  backdrop-filter: blur(26px);
  transform: translateY(18px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 220ms ease, transform 260ms var(--ease-out);
}

.concierge-panel.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.concierge-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.concierge-panel__head > div > span,
.welcome-popover > div > span {
  color: var(--ruby-hot);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.concierge-panel h2,
.welcome-popover h2 {
  margin-top: 4px;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.concierge-panel__head button,
.welcome-popover > button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 20px;
}

.concierge-panel > p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.5;
}

.concierge-routes {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.concierge-routes a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 11px;
  min-height: 67px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.concierge-routes a:hover {
  transform: translateX(-3px);
  border-color: rgba(255, 49, 93, 0.38);
  background: rgba(212, 8, 53, 0.1);
}

.concierge-routes a > b {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.concierge-routes a > span {
  display: grid;
  gap: 3px;
}

.concierge-routes strong {
  font-size: 13px;
}

.concierge-routes small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.concierge-routes i {
  color: rgba(255, 255, 255, 0.42);
  font-style: normal;
}

.concierge-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  margin-top: 15px;
  padding: 12px;
  border-radius: 15px;
  background: rgba(53, 196, 141, 0.09);
}

.concierge-note > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #072218;
  background: var(--success);
  font-weight: 950;
}

.concierge-note p {
  color: rgba(255, 255, 255, 0.57);
  font-size: 11px;
  line-height: 1.45;
}

.concierge-note b {
  color: #fff;
}

.concierge-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  background: rgba(7, 8, 11, 0.28);
  opacity: 0;
  cursor: default;
  backdrop-filter: blur(3px);
  transition: opacity 200ms ease;
}

.concierge-backdrop.is-visible {
  opacity: 1;
}

.welcome-popover {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 35;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 15px;
  width: min(430px, calc(100vw - 32px));
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: #fff;
  background: rgba(17, 19, 25, 0.96);
  box-shadow: 0 28px 90px rgba(5, 7, 11, 0.35);
  opacity: 0;
  backdrop-filter: blur(24px);
  transform: translateY(-16px) scale(0.97);
  transition: opacity 240ms ease, transform 300ms var(--ease-out);
}

.welcome-popover.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.welcome-popover > button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  font-size: 0;
  line-height: 0;
}

.welcome-popover > button::before,
.welcome-popover > button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.welcome-popover > button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.welcome-popover > button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.welcome-popover__mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, var(--ruby-hot), var(--ruby-dark));
  box-shadow: 0 12px 30px rgba(212, 8, 53, 0.3);
  font-size: 24px;
  font-weight: 950;
}

.welcome-popover > div {
  padding-right: 24px;
}

.welcome-popover h2 {
  font-size: 19px;
}

.welcome-popover p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.45;
}

.welcome-popover a {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

[data-product-mode="internal"] .client-dock,
[data-product-mode="internal"] .concierge-toggle {
  display: none;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.85);
  }
}

@keyframes viewReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .hero {
    min-height: auto;
  }

  .hero__stage {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.65fr);
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(52px, 7vw, 78px);
  }

  #catalogView {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .cars-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }

  .concierge-toggle > span:not(.concierge-toggle__pulse),
  .concierge-toggle > i {
    display: none;
  }

  .concierge-toggle {
    width: 58px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 20px 24px 68px;
  }

  .hero__stage {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
  }

  .hero__content {
    max-width: 780px;
  }

  .hero__panel {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    align-items: center;
  }

  .hero__panel-head,
  .hero__panel > strong,
  .hero__panel > p {
    grid-column: 1;
  }

  .hero__panel .topbar__stats,
  .hero__panel .quick-links {
    grid-column: 2;
  }

  .hero__panel .topbar__stats {
    grid-row: 1 / 4;
  }

  .hero__panel .quick-links {
    grid-row: 4;
  }

  .quick-links__label {
    display: none;
  }

  #catalogView {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
  }

  .filters h2,
  .filters .filter-range,
  .filters #resetFilters {
    grid-column: 1 / -1;
  }

  .client-promise {
    grid-template-columns: 1fr;
  }

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

  .client-promise__benefits article {
    grid-template-columns: 1fr;
    align-content: start;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 86px;
  }

  .hero {
    display: grid;
    padding: 16px 14px 66px;
  }

  .hero__topline {
    align-items: flex-start;
    gap: 12px;
  }

  .brand-logo {
    width: 132px;
    height: 54px;
  }

  .brand-copy {
    display: none;
  }

  .hero__stage {
    padding-top: 34px;
  }

  .hero-kicker {
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(43px, 14vw, 65px);
    line-height: 0.94;
  }

  .hero__content {
    gap: 19px;
  }

  .hero__content > p {
    font-size: 14px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button--hero,
  .button--ghost {
    width: 100%;
  }

  .hero-secondary-link {
    justify-content: center;
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .trust-row span {
    display: grid;
    gap: 3px;
    font-size: 9px;
  }

  .hero__panel {
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .hero__panel-head,
  .hero__panel > strong,
  .hero__panel > p,
  .hero__panel .topbar__stats,
  .hero__panel .quick-links {
    grid-column: 1;
    grid-row: auto;
  }

  .hero__panel > strong {
    font-size: 27px;
  }

  .quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-links a {
    justify-content: center;
  }

  .app-shell {
    margin-top: -28px;
    padding: 0 12px 30px;
  }

  .tabs {
    top: 6px;
    margin-bottom: 18px;
    border-radius: 17px;
  }

  .tab {
    flex: 0 0 auto;
  }

  .country-catalogs {
    display: flex;
    grid-template-columns: none;
    gap: 9px;
    margin-inline: -12px;
    padding: 2px 12px 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .country-catalogs button {
    min-width: 235px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .filters h2,
  .filters .filter-range,
  .filters #resetFilters {
    grid-column: auto;
  }

  .filter-range {
    grid-template-columns: 1fr;
  }

  .market-radar,
  .client-intelligence,
  .selection-hero {
    padding: 22px;
    border-radius: 24px;
  }

  .market-radar,
  .client-intelligence,
  .selection-hero,
  .radar-grid,
  .flow-strip,
  .recommendation-board,
  .cars-grid,
  fieldset,
  .calculation-result {
    grid-template-columns: 1fr;
  }

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

  .client-promise__actions {
    display: grid;
    width: 100%;
    padding-top: 22px;
  }

  .button--promise {
    justify-content: space-between;
    width: 100%;
  }

  .promise-link {
    width: fit-content;
  }

  .client-promise__benefits {
    grid-template-columns: 1fr;
  }

  .client-promise__benefits article {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .flow-strip {
    display: flex;
    margin-inline: -12px;
    padding: 0 12px 12px;
    overflow-x: auto;
  }

  .flow-strip article,
  .flow-strip .flow-card {
    min-width: 230px;
  }

  .section-head,
  .form-header {
    align-items: stretch;
  }

  .toast {
    right: 12px;
    bottom: 86px;
    min-width: calc(100vw - 24px);
  }

  .client-dock {
    display: grid;
    bottom: 10px;
    width: calc(100vw - 24px);
  }

  .concierge-toggle {
    right: 14px;
    bottom: 82px;
    width: 52px;
    height: 52px;
    min-height: 52px;
  }

  .concierge-panel {
    right: 12px;
    bottom: 78px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .welcome-popover {
    top: auto;
    right: 12px;
    bottom: 82px;
    width: calc(100vw - 24px);
  }

  .vehicle-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    padding: 18px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .hero,
  .hero__panel,
  .market-radar,
  .selection-hero,
  .client-dock,
  .concierge-panel,
  .welcome-popover {
    border: 1px solid CanvasText;
  }
}

/* Ruby Car contact, legal and commercial-offer controls */
.car-card__actions,
.car-card__actions--grouped {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.want-car-button {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #ff2759 0%, #dc0038 100%);
  box-shadow: 0 10px 24px rgba(228, 0, 59, 0.22);
}

.want-car-button:hover {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #ff3d6b 0%, #ee0044 100%);
  transform: translateY(-1px);
}

.pdf-button {
  border: 1px solid #dfe2e8;
  color: #21242c;
  background: #f4f5f7;
}

.pdf-button::before {
  content: "↓";
  margin-right: 6px;
  color: var(--ruby);
  font-weight: 950;
}

.dialog-actions .want-car-button {
  min-width: 190px;
}

.contact-dialog {
  width: min(560px, calc(100vw - 28px));
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  color: #fff;
  background: #12141a;
  box-shadow: 0 32px 100px rgba(3, 4, 8, 0.5);
}

.contact-dialog::backdrop {
  background: rgba(8, 9, 13, 0.72);
  backdrop-filter: blur(9px);
}

.contact-dialog[open] {
  animation: contactDialogIn 180ms ease-out both;
}

.contact-dialog__glow {
  position: absolute;
  inset: -180px -100px auto auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(228, 0, 59, 0.42), transparent 68%);
}

.contact-dialog__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.contact-dialog > header,
.contact-dialog > p,
.contact-dialog__phones,
.contact-dialog > small {
  position: relative;
  z-index: 1;
}

.contact-dialog > header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 34px 72px 8px 34px;
}

.contact-dialog__mark {
  display: grid;
  flex: 0 0 50px;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: linear-gradient(145deg, #ff315f, #b90030);
  box-shadow: 0 12px 32px rgba(228, 0, 59, 0.3);
  font-size: 23px;
  font-weight: 950;
}

.contact-dialog > header div {
  display: grid;
  gap: 3px;
}

.contact-dialog > header div > span {
  color: #ff6d8f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-dialog h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.contact-dialog > p {
  margin: 16px 34px 22px;
  color: #b9bdc7;
  font-size: 14px;
  line-height: 1.55;
}

.contact-dialog__phones {
  display: grid;
  gap: 10px;
  padding: 0 34px;
}

.contact-dialog__phones a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 14px;
  align-items: center;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 17px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(228, 0, 59, 0.13));
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.contact-dialog__phones a:hover {
  border-color: rgba(255, 70, 111, 0.68);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.11), rgba(228, 0, 59, 0.24));
  transform: translateY(-1px);
}

.contact-dialog__phones span {
  color: #9da2ad;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-dialog__phones strong {
  grid-column: 1;
  font-size: 20px;
  letter-spacing: -.02em;
}

.contact-dialog__phones i {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ruby);
  font-style: normal;
}

.contact-dialog > small {
  display: block;
  padding: 18px 34px 30px;
  color: #8f949f;
  font-size: 11px;
  line-height: 1.5;
}

.legal-consents {
  display: grid;
  gap: 10px;
  padding: 17px 19px;
  border: 1px solid #e1e4ea;
  border-radius: 17px;
  background: #f7f8fa;
}

.legal-consent {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: #535a67;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
}

.legal-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ruby);
}

.legal-consent a {
  color: #9d0d2e;
  font-weight: 750;
  text-underline-offset: 2px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(230px, 1fr) minmax(190px, .8fr);
  gap: 34px;
  width: min(1184px, calc(100% - 40px));
  margin: 36px auto 110px;
  padding: 32px;
  border: 1px solid #252833;
  border-radius: 24px;
  color: #c1c5ce;
  background: #11131a;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.site-footer__brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ruby);
  font-weight: 950;
}

.site-footer p {
  max-width: 360px;
  margin: 14px 0 0;
  color: #898f9c;
  font-size: 12px;
  line-height: 1.55;
}

.site-footer nav,
.site-footer__contacts {
  display: grid;
  align-content: start;
  gap: 9px;
}

.site-footer nav a,
.site-footer__contacts a {
  color: #e5e7ec;
  font-size: 12px;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer__contacts a:hover {
  color: #ff527a;
}

.site-footer__contacts span {
  margin-bottom: 2px;
  color: #767d89;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.site-footer__contacts a {
  font-size: 15px;
  font-weight: 850;
}

@keyframes contactDialogIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 780px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .car-card__actions,
  .car-card__actions--grouped {
    grid-template-columns: 1fr 1fr;
  }

  .contact-dialog > header {
    padding: 26px 58px 6px 22px;
  }

  .contact-dialog > p {
    margin: 15px 22px 20px;
  }

  .contact-dialog__phones {
    padding: 0 22px;
  }

  .contact-dialog > small {
    padding: 17px 22px 24px;
  }

  .site-footer {
    width: calc(100% - 28px);
    padding: 25px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-dialog[open] { animation: none; }
}

/* Price guide */
.price-guide {
  width: min(1080px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  color: #fff;
  background: #111319;
  box-shadow: 0 42px 140px rgba(4, 5, 8, 0.62);
  overflow: hidden;
}

.price-guide::backdrop {
  background: rgba(5, 6, 9, 0.76);
  backdrop-filter: blur(12px);
}

.price-guide[open] {
  animation: priceGuideIn 260ms var(--ease-out);
}

.price-guide__scroll {
  max-height: calc(100vh - 34px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.price-guide__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.price-guide__close::before,
.price-guide__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.price-guide__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.price-guide__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.price-guide__close:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(4deg);
}

.price-guide__close:focus-visible {
  outline: 3px solid rgba(238, 49, 84, 0.42);
  outline-offset: 3px;
}

.price-guide__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 42px;
  align-items: end;
  padding: 44px 46px 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(197, 16, 53, 0.48), transparent 37%),
    radial-gradient(circle at 100% 100%, rgba(217, 180, 111, 0.13), transparent 42%),
    #0d0f14;
}

.price-guide__hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.018), 0 0 0 110px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

.price-guide__intro,
.price-guide__fee {
  position: relative;
  z-index: 1;
}

.price-guide__eyebrow,
.price-step__label,
.price-guide__fee > span,
.price-guide__footer > div > span {
  color: #efc47b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-guide__intro h2 {
  max-width: 680px;
  margin: 10px 0 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.price-guide__intro p {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.65;
}

.price-guide__fee {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.price-guide__fee strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.price-guide__fee p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.5;
}

.price-guide__content {
  padding: 34px 46px 42px;
  background: #f2f3f5;
}

.price-guide__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.price-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-content: start;
  padding: 25px;
  border: 1px solid #e0e3e8;
  border-radius: 22px;
  color: #171920;
  background: #fff;
  box-shadow: 0 16px 40px rgba(29, 32, 41, 0.06);
}

.price-step--wide {
  grid-column: 1 / -1;
}

.price-step__number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(197, 16, 53, 0.18);
  border-radius: 15px;
  color: var(--ruby);
  background: #fff1f4;
  font-size: 12px;
  font-weight: 950;
}

.price-step__label {
  color: var(--ruby);
}

.price-step h3 {
  margin: 5px 0 0;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.price-step p {
  margin: 10px 0 0;
  color: #68707f;
  font-size: 13px;
  line-height: 1.55;
}

.price-step ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.price-step li {
  position: relative;
  padding-left: 19px;
  color: #515968;
  font-size: 13px;
  line-height: 1.48;
}

.price-step li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ruby-hot);
  box-shadow: 0 0 0 4px #ffedf1;
}

.price-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.price-routes section {
  padding: 14px;
  border-radius: 15px;
  color: #fff;
  background: #171920;
}

.price-routes section > span {
  color: #efc47b;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.price-routes strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}

.price-routes p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.45;
}

.price-step__note {
  padding: 12px 14px;
  border-radius: 13px;
  color: #6c5635 !important;
  background: #fff7e8;
}

.price-step--service {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #23151b, #7d0d23 72%, #bd1034);
  box-shadow: 0 18px 46px rgba(125, 13, 35, 0.22);
}

.price-step--service .price-step__number {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.price-step--service .price-step__label {
  color: #efc47b;
}

.price-step--service p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.65);
}

.price-step__fixed {
  padding-left: 26px;
  color: #fff;
  font-size: 25px;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.price-guide__footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 23px 25px;
  border: 1px solid #dde1e7;
  border-radius: 20px;
  background: #fff;
}

.price-guide__footer > div {
  display: grid;
  gap: 6px;
}

.price-guide__footer > div > span {
  color: var(--ruby);
}

.price-guide__footer > div > strong {
  color: #171920;
  font-size: 15px;
}

.price-guide__footer .button {
  flex: 0 0 auto;
}

@keyframes priceGuideIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 820px) {
  .price-guide__hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 28px 30px;
  }

  .price-guide__fee {
    max-width: 420px;
  }

  .price-guide__content {
    padding: 24px 28px 32px;
  }

  .price-guide__steps {
    grid-template-columns: 1fr;
  }

  .price-step--wide {
    grid-column: auto;
  }

  .price-step--service {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .price-step__fixed {
    grid-column: 2;
    padding: 6px 0 0;
  }

  .price-guide__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .price-guide__footer .button {
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .price-guide {
    width: calc(100vw - 12px);
    max-height: calc(100vh - 12px);
    border-radius: 23px;
  }

  .price-guide__scroll {
    max-height: calc(100vh - 14px);
  }

  .price-guide__close {
    top: 12px;
    right: 12px;
  }

  .price-guide__hero {
    padding: 54px 18px 24px;
  }

  .price-guide__intro h2 {
    font-size: 34px;
  }

  .price-guide__content {
    padding: 16px 12px 22px;
  }

  .price-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 19px 16px;
    border-radius: 18px;
  }

  .price-step__number {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .price-step h3 {
    font-size: 20px;
  }

  .price-routes {
    grid-template-columns: 1fr;
  }

  .price-step--service {
    grid-template-columns: 40px minmax(0, 1fr);
  }

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

  .price-guide__footer {
    padding: 19px 16px;
  }
}

@media (forced-colors: active) {
  .price-guide,
  .price-step,
  .price-guide__footer {
    border: 1px solid CanvasText;
  }
}

/* Ruby Car vehicle welcome */
.vehicle-dialog {
  width: min(1060px, calc(100vw - 32px));
}

.vehicle-dialog__header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  padding: 24px;
  padding-right: 58px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 5% 0%, rgba(197, 16, 53, 0.48), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(217, 180, 111, 0.12), transparent 40%),
    #12141a;
  overflow: hidden;
}

.vehicle-dialog__header::after {
  content: "";
  position: absolute;
  right: -82px;
  bottom: -124px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.014), 0 0 0 76px rgba(255, 255, 255, 0.01);
  pointer-events: none;
}

.vehicle-dialog__brandline,
.vehicle-dialog__headline,
.vehicle-dialog__quick-facts,
.vehicle-dialog__assurance,
.vehicle-dialog__header > .badge {
  position: relative;
  z-index: 1;
}

.vehicle-dialog__brandline {
  display: flex;
  align-items: center;
  gap: 11px;
}

.vehicle-dialog__brandmark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--ruby-hot), var(--ruby-dark));
  box-shadow: 0 10px 28px rgba(197, 16, 53, 0.32);
  font-size: 18px;
  font-weight: 950;
}

.vehicle-dialog__brandline > span:last-child {
  display: grid;
  gap: 2px;
}

.vehicle-dialog__brandline b {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vehicle-dialog__brandline small {
  color: #efc47b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.vehicle-dialog__header > .badge {
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.vehicle-dialog__headline {
  grid-column: 1 / -1;
  max-width: 760px;
}

.vehicle-dialog__headline .dialog-eyebrow {
  color: #ff5777;
  letter-spacing: 0.11em;
}

.vehicle-dialog__header .vehicle-dialog__headline h2 {
  margin: 7px 0 0;
  color: #fff;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.vehicle-dialog__headline > strong {
  display: block;
  margin-top: 12px;
  color: #ffbdca;
  font-size: 16px;
  line-height: 1.4;
}

.vehicle-dialog__header .vehicle-dialog__headline > p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 12px;
}

.vehicle-dialog__quick-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.vehicle-dialog__quick-facts > span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.vehicle-dialog__quick-facts small {
  color: rgba(255, 255, 255, 0.43);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vehicle-dialog__quick-facts b {
  color: #fff;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vehicle-dialog__assurance {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 !important;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 11px !important;
  line-height: 1.5;
}

.vehicle-dialog__assurance > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #08291e;
  background: var(--success);
  font-weight: 950;
}

.vehicle-dialog__assurance b {
  color: #fff;
}

.vehicle-dialog > .dialog-close {
  top: 40px;
  right: 40px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(17, 19, 25, 0.78);
  backdrop-filter: blur(10px);
}

.dialog-price {
  align-content: start;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(160deg, #f8f9fb, #fff);
}

.dialog-price > span {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.dialog-price > strong {
  margin: 2px 0 3px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.04em;
}

.dialog-price > small {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

.dialog-price__commission {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0 2px;
}

.dialog-price__commission span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.dialog-price__commission b {
  color: var(--ruby-dark);
  font-size: 15px;
  white-space: nowrap;
}

.dialog-price > p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.vehicle-data-section,
.vehicle-insurance,
.vehicle-insights,
.price-history {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.vehicle-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.vehicle-section-heading > div > span,
.ruby-check-section__intro > span {
  color: var(--ruby);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.vehicle-section-heading h3,
.ruby-check-section__intro h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.vehicle-section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.vehicle-data-section .dialog-specs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 17px;
}

.vehicle-data-section .dialog-specs > div {
  position: relative;
  gap: 5px;
  min-height: 92px;
  padding: 14px;
  border-radius: 13px;
  background: #fafbfc;
}

.vehicle-data-section .dialog-specs > div::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(57, 196, 140, 0.12);
}

.vehicle-data-section .dialog-specs > div.needs-check::before {
  background: #e0ae5f;
  box-shadow: 0 0 0 4px rgba(224, 174, 95, 0.13);
}

.vehicle-data-section .dialog-specs span {
  padding-right: 18px;
  font-size: 10px;
}

.vehicle-data-section .dialog-specs b {
  align-self: center;
  font-size: 14px;
  line-height: 1.3;
}

.vehicle-data-section .dialog-specs small {
  align-self: end;
  color: #859080;
  font-size: 9px;
}

.vehicle-data-section .dialog-specs .needs-check small {
  color: #9b6a1b;
}

.vehicle-insurance {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(197, 16, 53, 0.14);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, #fff7f9 100%);
}

.vehicle-insurance__verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 17px;
  padding: 16px 18px;
  border-radius: 14px;
  color: #fff;
  background: #171920;
}

.vehicle-insurance__verdict > div {
  display: grid;
  gap: 3px;
}

.vehicle-insurance__verdict span {
  color: #efc47b;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vehicle-insurance__verdict strong,
.vehicle-insurance__verdict b {
  font-size: 13px;
}

.vehicle-insurance__verdict.is-clear {
  background: #123d31;
}

.vehicle-insurance__verdict.has-records {
  background: linear-gradient(135deg, #58152a, #1b1b22);
}

.vehicle-insurance__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.vehicle-insurance__grid > div {
  display: grid;
  gap: 7px;
  min-height: 74px;
  align-content: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.vehicle-insurance__grid span {
  color: var(--muted);
  font-size: 9px;
}

.vehicle-insurance__grid b {
  color: var(--ink);
  font-size: 12px;
}

.vehicle-insurance__note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.vehicle-insights {
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(197, 16, 53, 0.34), transparent 38%),
    #171920;
}

.vehicle-insights .vehicle-section-heading h3 {
  color: #fff;
}

.vehicle-insights .vehicle-section-heading > div > span {
  color: #efc47b;
}

.vehicle-insights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
}

.vehicle-insights__grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  padding: 17px;
  background: rgba(13, 15, 20, 0.76);
}

.vehicle-insights__grid article > span {
  color: #ff4c70;
  font-size: 10px;
  font-weight: 950;
}

.vehicle-insights__grid b {
  color: #fff;
  font-size: 13px;
}

.vehicle-insights__grid p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 11px;
  line-height: 1.5;
}

.ruby-check-section {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(0, 2.25fr);
  gap: 22px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(197, 16, 53, 0.14);
  border-radius: 18px;
  background: #fff8fa;
}

.ruby-check-section__intro p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.ruby-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 16px;
}

.ruby-check-list > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 9px;
  align-content: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(197, 16, 53, 0.1);
}

.ruby-check-list > div > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: var(--ruby);
  background: #ffe9ee;
  font-size: 9px;
  font-weight: 950;
}

.ruby-check-list b {
  font-size: 12px;
}

.ruby-check-list p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.price-history {
  margin-top: 18px;
}

.price-history > div:not(.vehicle-section-heading) {
  grid-template-columns: 130px minmax(160px, 1fr) minmax(180px, 1fr);
  align-items: center;
}

.price-history > div:not(.vehicle-section-heading) b {
  color: var(--ink);
  font-size: 12px;
}

.price-history > div:not(.vehicle-section-heading) strong {
  color: var(--ruby-dark);
  text-align: right;
}

.price-history__row > span,
.price-history__row > b,
.price-history__row > strong {
  display: grid;
  gap: 5px;
}

.price-history__row small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-history__row > strong small {
  text-align: right;
}

@media (max-width: 680px) {
  .vehicle-dialog__header {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 18px;
    border-radius: 18px;
  }

  .vehicle-dialog__brandline {
    padding-right: 40px;
  }

  .vehicle-dialog__header > .badge {
    justify-self: start;
  }

  .vehicle-dialog__brandmark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .vehicle-dialog__header .vehicle-dialog__headline h2 {
    font-size: 31px;
  }

  .vehicle-dialog__headline > strong {
    font-size: 14px;
  }

  .vehicle-dialog__quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-dialog__assurance {
    align-items: flex-start;
  }

  .vehicle-dialog > .dialog-close {
    top: 28px;
    right: 28px;
  }

  .vehicle-data-section,
  .vehicle-insurance,
  .vehicle-insights,
  .ruby-check-section,
  .price-history {
    padding: 17px;
    border-radius: 15px;
  }

  .vehicle-section-heading {
    display: grid;
    align-items: start;
  }

  .vehicle-section-heading > p {
    max-width: none;
    text-align: left;
  }

  .vehicle-data-section .dialog-specs,
  .vehicle-insurance__grid,
  .vehicle-insights__grid,
  .ruby-check-list {
    grid-template-columns: 1fr;
  }

  .vehicle-data-section .dialog-specs > div {
    min-height: 82px;
  }

  .vehicle-insurance__verdict {
    display: grid;
  }

  .ruby-check-section {
    grid-template-columns: 1fr;
  }

  .price-history > div:not(.vehicle-section-heading) {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .price-history > div:not(.vehicle-section-heading) strong {
    text-align: left;
  }

  .price-history__row > strong small {
    text-align: left;
  }
}

@media (forced-colors: active) {
  .vehicle-dialog__header,
  .vehicle-dialog__quick-facts > span {
    border: 1px solid CanvasText;
  }
}

.selection-profile {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(212, 8, 53, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(212, 8, 53, 0.08), transparent 34%),
    #fff;
  box-shadow: var(--shadow-soft);
}

.selection-profile[hidden] {
  display: none;
}

.selection-profile__mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--ruby-hot), var(--ruby-dark));
  box-shadow: 0 14px 28px rgba(212, 8, 53, 0.26);
  font-size: 26px;
  font-weight: 900;
}

.selection-profile__content > span {
  color: var(--ruby);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.selection-profile__content h2 {
  margin: 5px 0 7px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.selection-profile__content p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.selection-profile__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.selection-profile__chips b {
  padding: 8px 11px;
  border: 1px solid rgba(212, 8, 53, 0.12);
  border-radius: 999px;
  color: #771026;
  background: var(--ruby-soft);
  font-size: 11px;
}

/* Catalog taxonomy, grouped models and share-ready content */
.filters select:disabled {
  color: #989eaa;
  cursor: not-allowed;
  background-color: #f1f2f4;
}

.car-card__offer-count {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(206, 8, 51, 0.9);
  box-shadow: 0 7px 22px rgba(85, 0, 20, 0.28);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.car-card__actions--grouped {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-offers-button {
  color: #fff;
  background: linear-gradient(135deg, #22252d, #111319);
  box-shadow: none;
}

.selection-grid {
  display: block;
}

.selection-body-group {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.selection-body-group > header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 10px;
  padding: 0 4px 12px;
  border-bottom: 1px solid rgba(17, 20, 28, 0.12);
}

.selection-body-group > header span,
.selection-body-group > header small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selection-body-group > header h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.selection-body-group__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-inline-image {
  margin: 40px -72px;
}

.article-inline-image img {
  display: block;
  width: 100%;
  max-height: 620px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(16, 18, 25, 0.15);
}

.article-inline-image figcaption {
  margin-top: 12px;
  color: #737a87;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.seo-intro {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(212, 8, 53, 0.12);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff 0%, #fff8fa 100%);
  box-shadow: 0 18px 52px rgba(19, 22, 30, 0.08);
}

.seo-intro > span {
  color: var(--ruby);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-intro h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.seo-intro p {
  max-width: 850px;
  margin: 0;
  color: #5d6471;
  font-size: 16px;
  line-height: 1.75;
}

.seo-intro div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.seo-intro a {
  color: var(--ruby-dark);
  font-weight: 850;
}

@media (max-width: 900px) {
  .selection-body-group__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-inline-image {
    margin-inline: 0;
  }
}

@media (max-width: 620px) {
  .selection-body-group__grid,
  .car-card__actions--grouped {
    grid-template-columns: 1fr;
  }

  .selection-body-group > header {
    grid-template-columns: 1fr auto;
  }

  .selection-body-group > header span {
    grid-column: 1 / -1;
  }

  .seo-intro div {
    display: grid;
  }
}

@media (max-width: 720px) {
  .selection-profile {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
  }

  .selection-profile__mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 20px;
  }
}
.catalog-highlights {
  display: inline-flex;
  margin: 12px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(233, 24, 80, 0.16);
  border-radius: 999px;
  background: rgba(233, 24, 80, 0.07);
  color: #9d1235;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.catalog-highlights[hidden] {
  display: none;
}

/* Final action layout: keep identical on grouped and individual listings. */
.car-card__actions,
.car-card__actions--grouped {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.car-card__actions .want-car-button,
.car-card__actions .pdf-button {
  grid-column: 1 / -1;
}
