/* Catalog filters, translated card polish and unified icon geometry. */

.ui-arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-button .ui-arrow {
  width: 19px;
  height: 19px;
}

.photo-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.photo-count svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toolbar {
  grid-template-columns: minmax(280px, 1fr) 190px 240px;
  align-items: stretch;
}

.filter-trigger {
  height: 54px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(12, 21, 44, .12);
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(12, 21, 44, .08);
  font-size: 13px;
  font-weight: 700;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.filter-trigger > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.filter-trigger:hover,
.filter-trigger.is-active {
  background: var(--green);
  box-shadow: 0 10px 26px rgba(226, 34, 54, .2);
}

.filter-trigger:active {
  transform: translateY(1px);
}

.filter-trigger:focus-visible {
  outline: 3px solid rgba(226, 34, 54, .2);
  outline-offset: 3px;
}

.filter-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.sort-control select {
  font-weight: 600;
}

.active-filters {
  margin: -24px 0 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-chip {
  min-height: 34px;
  padding: 7px 9px 7px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(12, 21, 44, .09);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 4px 14px rgba(12, 21, 44, .035);
  font-size: 11px;
  font-weight: 650;
}

.filter-chip > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.filter-chip svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.filter-chip:hover {
  border-color: rgba(226, 34, 54, .28);
  background: #fff7f8;
}

body.filter-open {
  overflow: hidden !important;
}

.filter-dialog {
  width: min(940px, calc(100vw - 28px));
  max-width: none;
  max-height: min(840px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 34px 110px rgba(7, 14, 30, .36);
}

.filter-dialog::backdrop {
  background: rgba(7, 14, 30, .7);
  backdrop-filter: blur(8px);
}

.filter-panel {
  max-height: min(840px, calc(100dvh - 28px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 4px solid var(--green);
}

.filter-header {
  position: relative;
  padding: 26px 76px 23px 30px;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 10%, rgba(226, 34, 54, .08), transparent 28%),
    #fff;
}

.filter-header p {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.filter-header h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.filter-header > div > span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.filter-close {
  position: absolute;
  top: 24px;
  right: 26px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(12, 21, 44, .12);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(12, 21, 44, .08);
  transition: color .16s ease, border-color .16s ease, transform .16s ease;
}

.filter-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.filter-close:hover {
  color: var(--green);
  border-color: rgba(226, 34, 54, .3);
  transform: rotate(4deg);
}

.filter-content {
  min-height: 0;
  padding: 8px 30px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #c6cbd3 transparent;
  scrollbar-width: thin;
}

.filter-content::-webkit-scrollbar {
  width: 7px;
}

.filter-content::-webkit-scrollbar-thumb {
  background: #c6cbd3;
  border: 2px solid #fff;
  border-radius: 999px;
}

.filter-group {
  padding: 25px 0 27px;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
  border-bottom: 0;
}

.filter-group-title {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group-title > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 9px;
  font-weight: 800;
}

.filter-group-title h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.filter-fields {
  display: grid;
  gap: 17px 12px;
}

.filter-fields-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.filter-field,
.filter-range {
  min-width: 0;
}

.filter-field > span,
.filter-range > span {
  display: block;
  margin: 0 0 8px;
  color: #596273;
  font-size: 10px;
  font-weight: 700;
}

.filter-field input,
.filter-field select,
.filter-range input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #dfe2e8;
  border-radius: 11px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.filter-field select {
  padding-right: 42px;
  appearance: none;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23687083' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 14px center;
}

.filter-field input::placeholder,
.filter-range input::placeholder {
  color: #a2a9b5;
}

.filter-field input:hover,
.filter-field select:hover,
.filter-range input:hover {
  border-color: #c7ccd5;
  background-color: #fcfcfd;
}

.filter-field input:focus,
.filter-field select:focus,
.filter-range input:focus {
  border-color: rgba(226, 34, 54, .62);
  box-shadow: 0 0 0 4px rgba(226, 34, 54, .075);
  background-color: #fff;
}

.filter-field input::-webkit-inner-spin-button,
.filter-range input::-webkit-inner-spin-button {
  appearance: none;
}

.filter-range > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.filter-range label {
  min-width: 0;
}

.filter-range i {
  width: 14px;
  height: 1px;
  display: block;
  background: #aab0ba;
}

.filter-footer {
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -12px 32px rgba(12, 21, 44, .035);
}

.filter-reset,
.filter-submit {
  min-height: 50px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 750;
}

.filter-reset {
  border: 1px solid #dfe2e8;
  color: #535c6d;
  background: #fff;
}

.filter-reset svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filter-reset:hover {
  border-color: #bec4ce;
  color: var(--ink);
}

.filter-submit {
  min-width: 230px;
  border: 0;
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 25px rgba(226, 34, 54, .2);
}

.filter-submit:hover {
  background: #c91e30;
}

.filter-submit .ui-arrow {
  width: 18px;
  height: 18px;
}

.gallery-nav .ui-arrow,
.lightbox-nav .ui-arrow {
  width: 23px;
  height: 23px;
}

.detail-arrow .ui-arrow {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .search {
    grid-column: 1 / -1;
  }

  .active-filters {
    margin-top: -20px;
  }

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

  .filter-range {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    margin-bottom: 26px;
  }

  .search {
    grid-column: 1 / -1;
  }

  .filter-trigger,
  .sort-control select {
    height: 50px;
  }

  .filter-trigger {
    padding: 0 11px;
  }

  .sort-control select {
    padding-left: 12px;
    padding-right: 34px;
    background-position: right 10px center;
    font-size: 11px;
  }

  .active-filters {
    margin: -14px 0 28px;
    gap: 6px;
  }

  .filter-chip {
    min-height: 32px;
    max-width: 100%;
  }

  .filter-dialog {
    width: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .filter-panel {
    height: 100dvh;
    max-height: none;
  }

  .filter-header {
    padding: max(19px, env(safe-area-inset-top)) 65px 18px 18px;
  }

  .filter-header h2 {
    font-size: 23px;
  }

  .filter-header > div > span {
    max-width: 270px;
    font-size: 11px;
  }

  .filter-close {
    top: max(16px, env(safe-area-inset-top));
    right: 15px;
    width: 42px;
    height: 42px;
  }

  .filter-content {
    padding: 3px 18px 22px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-group {
    padding: 21px 0 23px;
  }

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

  .filter-range {
    grid-column: auto;
  }

  .filter-footer {
    padding: 13px 15px max(13px, env(safe-area-inset-bottom));
  }

  .filter-reset {
    width: 50px;
    min-width: 50px;
    padding: 0;
    font-size: 0;
  }

  .filter-reset svg {
    width: 20px;
    height: 20px;
  }

  .filter-submit {
    min-width: 0;
    flex: 1;
    padding: 0 14px;
  }
}

@media (max-width: 370px) {
  .toolbar {
    grid-template-columns: 1fr;
  }

  .search {
    grid-column: auto;
  }

  .filter-footer {
    gap: 9px;
  }

  .filter-submit {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .filter-trigger,
  .filter-close,
  .filter-field input,
  .filter-field select,
  .filter-range input {
    transition: none;
  }
}
/* Card framing and navigation between catalog vehicles. */

.car-image {
  aspect-ratio: 3 / 2;
}

.car-image > img {
  object-position: center bottom;
}

.car-switch {
  position: fixed;
  z-index: 7;
  top: max(18px, calc((100dvh - min(820px, calc(100dvh - 24px))) / 2 + 13px));
  width: 43px;
  height: 43px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px solid rgba(12, 21, 44, .12);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 26px rgba(7, 14, 30, .14);
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.car-switch-prev {
  right: max(122px, calc((100vw - min(1180px, calc(100vw - 24px))) / 2 + 118px));
}

.car-switch-next {
  right: max(71px, calc((100vw - min(1180px, calc(100vw - 24px))) / 2 + 67px));
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.car-switch .ui-arrow {
  width: 20px;
  height: 20px;
}

.car-switch:hover {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
  transform: translateY(-2px);
}

.car-switch:active {
  transform: translateY(0) scale(.94);
}

.car-switch:focus-visible {
  outline: 3px solid rgba(226, 34, 54, .22);
  outline-offset: 3px;
}

.car-switch-copy {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  padding: 11px 13px;
  border: 1px solid rgba(12, 21, 44, .09);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 14px 36px rgba(7, 14, 30, .16);
  text-align: left;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.car-switch-copy small,
.car-switch-copy strong {
  display: block;
}

.car-switch-copy small {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.car-switch-copy strong {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.car-switch:hover .car-switch-copy,
.car-switch:focus-visible .car-switch-copy {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1600px) {
  .car-switch {
    top: max(20px, calc((100dvh - min(920px, calc(100dvh - 32px))) / 2 + 14px));
  }

  .car-switch-prev {
    right: max(122px, calc((100vw - min(1540px, calc(100vw - 32px))) / 2 + 119px));
  }

  .car-switch-next {
    right: max(71px, calc((100vw - min(1540px, calc(100vw - 32px))) / 2 + 68px));
  }
}

@media (max-width: 900px) {
  .car-switch {
    top: max(14px, env(safe-area-inset-top));
    width: 41px;
    height: 41px;
  }

  .car-switch-prev {
    right: 115px;
  }

  .car-switch-next {
    right: 66px;
  }

  .car-switch-copy {
    display: none;
  }
}

@media (max-width: 380px) {
  .car-switch-prev {
    right: 108px;
  }

  .car-switch-next {
    right: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .car-switch,
  .car-switch-copy {
    transition: none;
  }
}
/* Synchronized thumbnail rail and vehicle enquiry experience. */

.thumbs {
  scroll-behavior: smooth;
  scroll-padding-inline: calc(50% - 46px);
}

.thumb {
  background: #f4f5f5;
}

.thumb img {
  object-fit: cover;
  object-position: center 58%;
  transform: translateY(-3px);
}

.detail-lead-card {
  margin: 2px 0 22px;
  padding: 17px;
  border: 1px solid rgba(12, 21, 44, .1);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0, rgba(226, 34, 54, .08), transparent 42%),
    #fff;
  box-shadow: 0 10px 30px rgba(12, 21, 44, .06);
}

.detail-lead-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  margin-bottom: 15px;
}

.detail-lead-summary > div:first-child {
  min-width: 0;
}

.detail-lead-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.detail-lead-summary strong,
.detail-lead-summary small {
  display: block;
}

.detail-lead-summary strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-lead-summary small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.detail-lead-price {
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.6px;
  white-space: nowrap;
}

.detail-lead-primary {
  width: 100%;
  min-height: 46px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 9px 22px rgba(226, 34, 54, .2);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.detail-lead-primary .ui-arrow {
  width: 19px;
  height: 19px;
}

.detail-lead-primary:hover {
  background: #c9192b;
  box-shadow: 0 12px 27px rgba(226, 34, 54, .26);
  transform: translateY(-1px);
}

.detail-lead-actions {
  margin-top: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.detail-lead-actions :is(a, button) {
  min-height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(12, 21, 44, .12);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.detail-lead-actions :is(a, button):hover {
  color: var(--green);
  border-color: rgba(226, 34, 54, .35);
  background: rgba(226, 34, 54, .035);
}

.detail-lead-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-lead-card > p {
  margin: 11px 0 0;
  color: #858b99;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.lead-dialog {
  width: min(560px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 90px rgba(7, 14, 30, .34);
}

.lead-dialog[open] {
  display: block;
  animation: lead-enter .2s cubic-bezier(.2, .8, .2, 1);
}

.lead-dialog::backdrop {
  background: rgba(7, 14, 30, .66);
  backdrop-filter: blur(8px);
  animation: lead-backdrop .18s ease-out;
}

.lead-panel {
  max-height: calc(100dvh - 28px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.lead-header {
  min-width: 0;
  padding: 25px 72px 20px 25px;
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 0 0, rgba(226, 34, 54, .08), transparent 48%),
    #fff;
}

.lead-header > div {
  min-width: 0;
}

.lead-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lead-header h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.7px;
}

.lead-header p {
  max-width: 100%;
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-close {
  position: absolute;
  top: 20px;
  right: 21px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(12, 21, 44, .14);
  border-radius: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, .86);
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.lead-close:hover {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.lead-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.lead-body {
  padding: 20px 25px 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.lead-vehicle {
  margin-bottom: 18px;
  padding: 14px 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
}

.lead-vehicle > div {
  min-width: 0;
}

.lead-vehicle small,
.lead-vehicle strong,
.lead-vehicle span {
  display: block;
}

.lead-vehicle small {
  margin-bottom: 4px;
  color: #aeb9cd;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.lead-vehicle > div > strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-vehicle span {
  margin-top: 4px;
  overflow: hidden;
  color: #b8c1d2;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lead-vehicle > strong {
  font-size: 18px;
  white-space: nowrap;
}

.lead-field {
  display: block;
  margin-bottom: 14px;
}

.lead-field > span {
  display: block;
  margin: 0 0 7px 2px;
  font-size: 10px;
  font-weight: 700;
}

.lead-field > span small {
  color: #969ba7;
  font-size: inherit;
  font-weight: 500;
}

.lead-field input,
.lead-field textarea {
  width: 100%;
  border: 1px solid #dfe2e8;
  border-radius: 10px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 12px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.lead-field input {
  height: 49px;
  padding: 0 14px;
}

.lead-field textarea {
  min-height: 86px;
  padding: 13px 14px;
  line-height: 1.5;
  resize: vertical;
}

.lead-field input::placeholder,
.lead-field textarea::placeholder {
  color: #9ba0ab;
}

.lead-field input:hover,
.lead-field textarea:hover {
  border-color: #c5cad4;
}

.lead-field input:focus,
.lead-field textarea:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(226, 34, 54, .1);
}

.lead-form-status {
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.lead-form-status:not(:empty) {
  min-height: 34px;
  margin: -2px 0 12px;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f2f4f7;
}

.lead-form-status.is-success {
  color: #155d45;
  background: #e9f6f1;
}

.lead-footer {
  padding: 14px 25px 19px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.lead-submit {
  width: 100%;
  min-height: 49px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 9px 24px rgba(226, 34, 54, .21);
  transition: transform .16s ease, background .16s ease, opacity .16s ease;
}

.lead-submit:hover {
  background: #c9192b;
  transform: translateY(-1px);
}

.lead-submit:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.lead-submit .ui-arrow {
  width: 18px;
  height: 18px;
}

.lead-footer p {
  margin: 10px 0 0;
  color: #9298a5;
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}

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

@keyframes lead-backdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .thumbs {
    scroll-padding-inline: calc(50% - 39px);
  }

  .thumb img {
    transform: translateY(-2px);
  }

  .detail-lead-card {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 14px;
  }

  .detail-lead-summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-lead-price {
    font-size: 23px;
  }

  .detail-lead-primary {
    min-height: 49px;
  }

  .detail-lead-actions :is(a, button) {
    min-height: 44px;
  }

  .lead-dialog {
    width: 100%;
    max-height: calc(100dvh - 12px);
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }

  .lead-panel {
    max-height: calc(100dvh - 12px);
  }

  .lead-header {
    padding: 22px 68px 17px 18px;
  }

  .lead-header h2 {
    font-size: 23px;
  }

  .lead-close {
    top: 17px;
    right: 16px;
    width: 41px;
    height: 41px;
  }

  .lead-body {
    padding: 17px 18px 5px;
    -webkit-overflow-scrolling: touch;
  }

  .lead-vehicle {
    margin-bottom: 16px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lead-vehicle > strong {
    font-size: 20px;
  }

  .lead-field input {
    height: 50px;
    font-size: 16px;
  }

  .lead-field textarea {
    font-size: 16px;
  }

  .lead-footer {
    padding: 13px 18px max(15px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 370px) {
  .detail-lead-actions {
    grid-template-columns: 1fr;
  }

  .lead-header p {
    display: none;
  }

  .lead-vehicle {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thumbs {
    scroll-behavior: auto;
  }

  .detail-lead-primary,
  .detail-lead-actions :is(a, button),
  .lead-dialog[open],
  .lead-dialog::backdrop,
  .lead-close,
  .lead-field input,
  .lead-field textarea,
  .lead-submit {
    animation: none;
    transition: none;
  }
}

@media (max-width: 600px) {
  .lead-dialog::backdrop {
    backdrop-filter: none;
  }
}

/* Compact contact form, refined dialog scroll rail, and clean hero cutout. */

@media (min-width: 901px) {
  .detail-dialog {
    scrollbar-gutter: stable;
    scrollbar-color: #9ba4b2 transparent;
    scrollbar-width: thin;
  }

  .detail-dialog::-webkit-scrollbar {
    width: 10px;
  }

  .detail-dialog::-webkit-scrollbar-track {
    margin-block: 18px;
    background: transparent;
  }

  .detail-dialog::-webkit-scrollbar-thumb {
    min-height: 72px;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #9ba4b2;
  }

  .detail-dialog::-webkit-scrollbar-thumb:hover {
    background: var(--green);
  }
}

.detail-lead-actions :is(a, button) {
  padding: 0 12px;
  font-family: inherit;
}

.lead-dialog {
  width: min(480px, calc(100vw - 28px));
}

.lead-header {
  padding-top: 23px;
  border-top: 4px solid var(--green);
  background:
    radial-gradient(circle at 100% 0, rgba(226, 34, 54, .07), transparent 44%),
    #fff;
}

.lead-header h2 {
  font-size: 23px;
}

.lead-body {
  padding-top: 19px;
}

.hero-visual > img {
  -webkit-mask-image:
    linear-gradient(to bottom, #000 0%, #000 67%, rgba(0, 0, 0, .96) 70%, transparent 75%),
    radial-gradient(circle at 35% 69%, #000 0%, #000 14.5%, transparent 15.5%),
    radial-gradient(circle at 84% 65%, #000 0%, #000 13.5%, transparent 14.5%);
  mask-image:
    linear-gradient(to bottom, #000 0%, #000 67%, rgba(0, 0, 0, .96) 70%, transparent 75%),
    radial-gradient(circle at 35% 69%, #000 0%, #000 14.5%, transparent 15.5%),
    radial-gradient(circle at 84% 65%, #000 0%, #000 13.5%, transparent 14.5%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter: drop-shadow(0 20px 22px rgba(12, 21, 44, .17));
}

@media (max-width: 600px) {
  .lead-dialog {
    width: 100%;
  }

  .lead-header {
    padding-top: 19px;
  }
}

/* Project-styled sort menu and restored natural hero base. */

.hero-visual > img {
  -webkit-mask-image: none;
  mask-image: none;
  filter:
    contrast(1.025)
    brightness(.985)
    drop-shadow(0 20px 18px rgba(12, 21, 44, .18));
}

.sort-menu {
  position: relative;
  min-width: 0;
  z-index: 12;
}

.sort-control .sort-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0 !important;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.sort-trigger {
  width: 100%;
  height: 54px;
  padding: 0 15px 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(12, 21, 44, .12);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 7px 22px rgba(12, 21, 44, .045);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.sort-trigger:hover,
.sort-menu.is-open .sort-trigger {
  border-color: rgba(226, 34, 54, .42);
  box-shadow: 0 0 0 4px rgba(226, 34, 54, .075), 0 10px 25px rgba(12, 21, 44, .07);
}

.sort-trigger:focus-visible {
  outline: 3px solid rgba(226, 34, 54, .18);
  outline-offset: 2px;
}

.sort-chevron,
.sort-check {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sort-chevron {
  width: 18px;
  height: 18px;
  color: #747d8d;
  transition: transform .16s ease, color .16s ease;
}

.sort-menu.is-open .sort-chevron {
  color: var(--green);
  transform: rotate(180deg);
}

.sort-options {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  width: max(100%, 240px);
  padding: 7px;
  border: 1px solid rgba(12, 21, 44, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 20px 48px rgba(7, 14, 30, .17);
  backdrop-filter: blur(12px);
  animation: sort-menu-enter .14s cubic-bezier(.2, .8, .2, 1);
}

.sort-options[hidden] {
  display: none;
}

.sort-option {
  width: 100%;
  min-height: 43px;
  padding: 0 11px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  transition: color .14s ease, background .14s ease;
}

.sort-option:hover,
.sort-option:focus-visible {
  outline: 0;
  color: var(--green);
  background: rgba(226, 34, 54, .065);
}

.sort-option.is-selected {
  color: #fff;
  background: var(--ink);
}

.sort-option.is-selected:hover,
.sort-option.is-selected:focus-visible {
  color: #fff;
  background: var(--green);
}

.sort-check {
  width: 17px;
  height: 17px;
  opacity: 0;
  transform: scale(.75);
  transition: opacity .14s ease, transform .14s ease;
}

.sort-option.is-selected .sort-check {
  opacity: 1;
  transform: scale(1);
}

@keyframes sort-menu-enter {
  from { opacity: 0; transform: translateY(-5px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
  .sort-trigger {
    height: 50px;
    padding: 0 11px 0 12px;
    font-size: 11px;
  }

  .sort-options {
    width: min(270px, calc(100vw - 30px));
    padding: 6px;
    border-radius: 13px;
    backdrop-filter: none;
  }

  .sort-option {
    min-height: 45px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sort-trigger,
  .sort-chevron,
  .sort-options,
  .sort-option,
  .sort-check {
    animation: none;
    transition: none;
  }
}

/* Dense two-column phone catalog, safe mobile controls, and slightly larger hero car. */

.hero-visual > img {
  width: min(720px, 62vw);
  max-height: 430px;
}

@media (min-width: 1600px) {
  .hero-visual > img {
    width: min(850px, 52vw);
    max-height: 500px;
  }
}

@media (max-width: 600px) {
  .catalog {
    padding-right: 10px;
    padding-left: 10px;
  }

  .catalog-head {
    align-items: center;
    gap: 9px;
  }

  .catalog-head h3 {
    font-size: 18px;
    letter-spacing: -.5px;
  }

  .catalog-head span {
    font-size: 9px;
    white-space: nowrap;
  }

  .car-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
    align-items: stretch;
  }

  .car-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    contain-intrinsic-size: 292px;
    border-radius: 13px;
    box-shadow: 0 5px 16px rgba(12, 21, 44, .055);
  }

  .car-image {
    flex: 0 0 auto;
    aspect-ratio: 3 / 2;
  }

  .available {
    top: 7px;
    left: 7px;
    padding: 5px 7px;
    border-radius: 6px;
    font-size: 7.5px;
    letter-spacing: -.1px;
    white-space: nowrap;
  }

  .photo-count {
    right: 6px;
    bottom: 6px;
    gap: 3px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 7.5px;
    white-space: nowrap;
  }

  .photo-count svg {
    width: 10px;
    height: 10px;
  }

  .card-body {
    min-width: 0;
    flex: 1;
    padding: 11px 11px 12px;
    display: flex;
    flex-direction: column;
  }

  .car-brand {
    margin-bottom: 5px;
    overflow: hidden;
    font-size: 8px;
    letter-spacing: .6px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .car-title {
    min-height: 34px;
    display: -webkit-box;
    overflow: hidden;
    font-size: 13.5px;
    line-height: 1.27;
    letter-spacing: -.35px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .card-specs {
    min-height: 25px;
    margin: 9px 0;
    gap: 3px 8px;
    align-content: flex-start;
    font-size: 7.5px;
    line-height: 1.4;
  }

  .card-specs span + span::before {
    left: -6px;
  }

  .price-row {
    margin-top: auto;
    gap: 6px;
    padding-top: 9px;
    align-items: center;
  }

  .price {
    min-width: 0;
  }

  .price small {
    margin-bottom: 2px;
    overflow: hidden;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .price strong {
    display: block;
    font-size: clamp(15px, 4.5vw, 18px);
    letter-spacing: -.55px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .detail-arrow {
    width: 29px;
    height: 29px;
  }

  .detail-arrow .ui-arrow {
    width: 15px;
    height: 15px;
  }

  .skeleton {
    height: 292px;
    border-radius: 13px;
  }

  .detail-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    overflow-x: hidden;
    border-radius: 0;
  }

  #detail-content,
  .detail-layout,
  .gallery,
  .detail-info {
    width: 100%;
    min-width: 0;
  }

  .dialog-close,
  .car-switch {
    top: max(10px, env(safe-area-inset-top));
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(7, 14, 30, .19);
  }

  .dialog-close {
    z-index: 9;
    right: max(9px, env(safe-area-inset-right));
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    background: rgba(12, 21, 44, .92);
    font-size: 24px;
    line-height: 1;
  }

  .car-switch {
    z-index: 9;
    border: 1px solid rgba(12, 21, 44, .1);
    background: rgba(255, 255, 255, .96);
  }

  .car-switch-prev {
    right: calc(max(9px, env(safe-area-inset-right)) + 100px);
  }

  .car-switch-next {
    right: calc(max(9px, env(safe-area-inset-right)) + 50px);
    color: #fff;
    border-color: var(--green);
    background: var(--green);
  }

  .car-switch .ui-arrow {
    width: 19px;
    height: 19px;
  }

  .gallery-nav {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(12, 21, 44, .08);
    color: var(--ink);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 24px rgba(7, 14, 30, .17);
  }

  .gallery-nav .ui-arrow {
    width: 21px;
    height: 21px;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-position {
    right: 10px;
    bottom: 10px;
  }

  .hero-visual {
    min-height: 270px;
  }

  .hero-visual > img {
    width: 118%;
    max-width: none;
    max-height: 282px;
  }
}

@media (max-width: 380px) {
  .catalog {
    padding-right: 8px;
    padding-left: 8px;
  }

  .car-grid {
    gap: 8px 6px;
  }

  .card-body {
    padding: 10px 9px 11px;
  }

  .car-title {
    min-height: 32px;
    font-size: 12.5px;
  }

  .price strong {
    font-size: 14.5px;
  }

  .detail-arrow {
    width: 27px;
    height: 27px;
  }

  .dialog-close,
  .car-switch {
    width: 40px;
    height: 40px;
  }

  .dialog-close {
    right: max(7px, env(safe-area-inset-right));
  }

  .car-switch-next {
    right: calc(max(7px, env(safe-area-inset-right)) + 46px);
  }

  .car-switch-prev {
    right: calc(max(7px, env(safe-area-inset-right)) + 92px);
  }

  .gallery-nav {
    width: 42px;
    height: 42px;
  }

  .hero-visual {
    min-height: 235px;
  }

  .hero-visual > img {
    max-height: 252px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .car-card,
  .gallery-nav,
  .dialog-close,
  .car-switch {
    transition: none;
  }
}

/* Compact first-screen hero on phones. */

@media (max-width: 600px) {
  .hero {
    min-height: 0;
    padding: 24px 15px 4px;
    gap: 0;
    background: linear-gradient(160deg, #fff 0 64%, #e5e8ed 64%);
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 9px;
    letter-spacing: 1.25px;
  }

  .hero h1 {
    font-size: clamp(28px, 8.1vw, 33px);
    line-height: 1.04;
    letter-spacing: -1.35px;
  }

  .hero-text {
    margin-top: 12px;
    font-size: 11.5px;
    line-height: 1.5;
  }

  .hero-button {
    min-height: 46px;
    margin-top: 14px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 12px;
  }

  .hero-button .ui-arrow {
    width: 18px;
    height: 18px;
  }

  .hero-visual {
    height: 210px;
    min-height: 210px;
    align-items: flex-end;
  }

  .hero-visual > img {
    width: auto;
    height: 250px;
    max-width: none;
    max-height: none;
  }

  .hero-stamp {
    top: 8px;
    right: 2px;
    width: 72px;
    height: 72px;
    gap: 4px;
  }

  .hero-stamp strong {
    font-size: 20px;
  }

  .hero-stamp span {
    font-size: 6px;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-top: 21px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-visual {
    height: 196px;
    min-height: 196px;
  }

  .hero-visual > img {
    height: 235px;
  }

  .hero-stamp {
    width: 68px;
    height: 68px;
  }
}

/* Compact phone filters, advantages, and vehicle details. */

@media (max-width: 600px) {
  .filter-header {
    padding: max(13px, env(safe-area-inset-top)) 56px 11px 14px;
  }

  .filter-header p {
    margin-bottom: 4px;
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  .filter-header h2 {
    font-size: 20px;
    letter-spacing: -.65px;
  }

  .filter-header > div > span {
    max-width: 285px;
    margin-top: 5px;
    font-size: 9.5px;
    line-height: 1.35;
  }

  .filter-close {
    top: max(11px, env(safe-area-inset-top));
    right: 11px;
    width: 36px;
    height: 36px;
  }

  .filter-close svg {
    width: 17px;
    height: 17px;
  }

  .filter-content {
    padding: 0 14px 12px;
  }

  .filter-group {
    padding: 14px 0 16px;
  }

  .filter-group-title {
    margin-bottom: 12px;
    gap: 8px;
  }

  .filter-group-title > span {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 8px;
  }

  .filter-group-title h3 {
    font-size: 10px;
    letter-spacing: .65px;
  }

  .filter-fields {
    gap: 11px 8px;
  }

  .filter-group:first-child .filter-fields-three {
    grid-template-columns: 1fr;
  }

  .filter-group:nth-child(2) .filter-fields-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-group:nth-child(2) .filter-range {
    grid-column: 1 / -1;
  }

  .filter-field > span,
  .filter-range > span {
    margin-bottom: 5px;
    font-size: 8.5px;
  }

  .filter-field input,
  .filter-field select,
  .filter-range input {
    height: 42px;
    padding: 0 11px;
    border-radius: 9px;
    font-size: 16px;
  }

  .filter-field input::placeholder,
  .filter-range input::placeholder {
    font-size: 11px;
  }

  .filter-field select {
    padding-right: 34px;
    background-position: right 9px center;
    background-size: 16px 16px;
  }

  .filter-range > div {
    gap: 6px;
  }

  .filter-footer {
    min-height: 64px;
    padding: 9px 11px max(9px, env(safe-area-inset-bottom));
    flex-direction: row;
    align-items: center;
    justify-content: stretch;
    gap: 8px;
  }

  .filter-reset,
  .filter-submit {
    min-height: 42px;
    border-radius: 9px;
    font-size: 10px;
  }

  .filter-reset {
    width: auto;
    min-width: 92px;
    padding: 0 11px;
    gap: 7px;
    font-size: 10px;
  }

  .filter-reset svg {
    width: 15px;
    height: 15px;
  }

  .filter-submit {
    min-width: 0;
    flex: 1;
    padding: 0 10px;
    gap: 7px;
    white-space: nowrap;
  }

  .filter-submit .ui-arrow {
    width: 15px;
    height: 15px;
  }

  .advantages {
    padding: 4px 14px;
  }

  .advantages div {
    min-height: 46px;
    padding: 9px 3px;
    gap: 11px;
  }

  .advantages strong {
    min-width: 22px;
    font-size: 10px;
  }

  .advantages span {
    font-size: 10px;
    line-height: 1.3;
  }

  .dialog-close,
  .car-switch {
    width: 36px;
    height: 36px;
  }

  .dialog-close {
    right: max(8px, env(safe-area-inset-right));
    font-size: 21px;
  }

  .car-switch-next {
    right: calc(max(8px, env(safe-area-inset-right)) + 42px);
  }

  .car-switch-prev {
    right: calc(max(8px, env(safe-area-inset-right)) + 84px);
  }

  .car-switch .ui-arrow {
    width: 17px;
    height: 17px;
  }

  .gallery-stage {
    aspect-ratio: 16 / 11;
  }

  .gallery-nav {
    width: 38px;
    height: 38px;
  }

  .gallery-nav .ui-arrow {
    width: 18px;
    height: 18px;
  }

  .gallery-prev {
    left: 8px;
  }

  .gallery-next {
    right: 8px;
  }

  .gallery-open-hint {
    padding: 6px 9px;
    font-size: 9px;
  }

  .gallery-position {
    right: 8px;
    bottom: 8px;
    padding: 6px 8px;
    font-size: 9px;
  }

  .thumbs {
    gap: 6px;
    padding: 7px 8px 1px;
  }

  .thumb {
    width: 68px;
    min-width: 68px;
    height: 51px;
    flex-basis: 68px;
  }

  .detail-info {
    padding: 17px 13px calc(30px + env(safe-area-inset-bottom));
  }

  .detail-status {
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 9px;
  }

  .detail-info h2 {
    margin: 11px 0 6px;
    font-size: 21px;
    letter-spacing: -.55px;
  }

  .detail-model {
    margin-bottom: 13px;
    font-size: 11px;
    line-height: 1.45;
  }

  .detail-price {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .detail-price small {
    margin-top: 3px;
    font-size: 10px;
  }

  .quick-specs {
    gap: 6px;
    margin-bottom: 17px;
  }

  .quick-spec {
    padding: 9px 7px;
    border-radius: 9px;
  }

  .quick-spec small {
    font-size: 7.5px;
  }

  .quick-spec strong {
    margin-top: 4px;
    font-size: 10px;
  }

  .detail-lead-card {
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 12px;
  }

  .detail-lead-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 9px;
    margin-bottom: 11px;
  }

  .detail-lead-kicker {
    margin-bottom: 4px;
    font-size: 7.5px;
  }

  .detail-lead-summary strong {
    font-size: 13px;
  }

  .detail-lead-summary small {
    margin-top: 3px;
    font-size: 8px;
  }

  .detail-lead-price {
    font-size: 18px;
  }

  .detail-lead-primary {
    min-height: 42px;
    padding: 0 13px;
    font-size: 10px;
  }

  .detail-lead-primary .ui-arrow {
    width: 16px;
    height: 16px;
  }

  .detail-lead-actions {
    margin-top: 7px;
    gap: 7px;
  }

  .detail-lead-actions :is(a, button) {
    min-height: 38px;
    border-radius: 9px;
    font-size: 9px;
  }

  .detail-lead-card > p {
    margin-top: 8px;
    font-size: 7.5px;
  }

  .vin {
    padding: 11px 12px;
    font-size: 10px;
  }

  .detail-section {
    margin-top: 19px;
  }

  .detail-section h3 {
    margin-bottom: 10px;
    font-size: 14px;
  }
}

@media (max-width: 370px) {
  .filter-reset {
    min-width: 84px;
    padding: 0 8px;
  }

  .filter-submit {
    font-size: 9px;
  }

  .dialog-close,
  .car-switch {
    width: 34px;
    height: 34px;
  }

  .car-switch-next {
    right: calc(max(7px, env(safe-area-inset-right)) + 39px);
  }

  .car-switch-prev {
    right: calc(max(7px, env(safe-area-inset-right)) + 78px);
  }

  .gallery-nav {
    width: 36px;
    height: 36px;
  }

  .detail-info {
    padding-right: 11px;
    padding-left: 11px;
  }
}


/* Refined premium filter, mobile hero flow, and compact phone cards. */
.hero-button-mobile {
  display: none;
}

@media (min-width: 601px) {
  .filter-dialog {
    width: min(860px, calc(100vw - 40px));
    max-height: min(720px, calc(100dvh - 40px));
    border: 1px solid rgba(12, 21, 44, .08);
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(7, 14, 30, .28);
  }

  .filter-panel {
    max-height: min(720px, calc(100dvh - 40px));
    border-top-width: 3px;
  }

  .filter-header {
    padding: 20px 66px 17px 26px;
    background:
      radial-gradient(circle at 96% 0%, rgba(226, 34, 54, .055), transparent 32%),
      linear-gradient(180deg, #fff 0%, #fdfdfe 100%);
  }

  .filter-header p { margin-bottom: 5px; font-size: 9px; letter-spacing: 1.35px; }
  .filter-header h2 { font-size: 24px; letter-spacing: -.8px; }
  .filter-header > div > span { margin-top: 5px; font-size: 11px; }

  .filter-close {
    top: 18px;
    right: 20px;
    width: 38px;
    height: 38px;
    box-shadow: 0 6px 18px rgba(12, 21, 44, .065);
  }

  .filter-close svg { width: 18px; height: 18px; }
  .filter-content { padding: 3px 26px 15px; }
  .filter-group { padding: 18px 0 19px; }
  .filter-group-title { margin-bottom: 14px; gap: 9px; }
  .filter-group-title > span { width: 25px; height: 25px; border-radius: 7px; }
  .filter-group-title h3 { font-size: 11px; letter-spacing: .7px; }
  .filter-fields { gap: 13px 11px; }

  .filter-field > span,
  .filter-range > span { margin-bottom: 6px; font-size: 9.5px; }

  .filter-field input,
  .filter-field select,
  .filter-range input {
    height: 44px;
    border-color: #e1e5eb;
    border-radius: 10px;
    background-color: #fbfcfd;
    font-size: 11.5px;
  }

  .filter-footer {
    padding: 13px 26px;
    background: rgba(255, 255, 255, .985);
    box-shadow: 0 -10px 28px rgba(12, 21, 44, .025);
  }

  .filter-reset,
  .filter-submit { min-height: 44px; border-radius: 10px; font-size: 11px; }
  .filter-reset { padding: 0 16px; background: #fbfcfd; }
  .filter-submit { min-width: 218px; box-shadow: 0 9px 22px rgba(226, 34, 54, .16); }
}

@media (max-width: 600px) {
  .hero { padding-bottom: 13px; }
  .hero-copy > .hero-button { display: none; }

  .hero-button-mobile {
    width: 100%;
    min-height: 43px;
    margin: 5px 0 0;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    border-radius: 9px;
    font-size: 11px;
    box-shadow: 0 9px 22px rgba(226, 34, 54, .16);
  }

  .hero-button-mobile .ui-arrow { width: 17px; height: 17px; }
  .filter-panel { border-top-width: 2px; }

  .filter-header {
    padding: max(11px, env(safe-area-inset-top)) 49px 9px 12px;
    background:
      radial-gradient(circle at 100% 0%, rgba(226, 34, 54, .045), transparent 34%),
      #fff;
  }

  .filter-header p { margin-bottom: 3px; font-size: 7px; letter-spacing: 1.15px; }
  .filter-header h2 { font-size: 18px; letter-spacing: -.55px; }

  .filter-header > div > span {
    max-width: 270px;
    margin-top: 4px;
    font-size: 8.5px;
    line-height: 1.3;
  }

  .filter-close {
    top: max(9px, env(safe-area-inset-top));
    right: 9px;
    width: 32px;
    height: 32px;
    box-shadow: 0 5px 15px rgba(12, 21, 44, .055);
  }

  .filter-close svg { width: 15px; height: 15px; }
  .filter-content { padding: 0 12px 9px; }
  .filter-group { padding: 11px 0 13px; }
  .filter-group-title { margin-bottom: 9px; gap: 7px; }

  .filter-group-title > span {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 7px;
  }

  .filter-group-title h3 { font-size: 9px; letter-spacing: .55px; }
  .filter-fields { gap: 8px 7px; }

  .filter-group:first-child .filter-fields-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-group:first-child .filter-field:first-child { grid-column: 1 / -1; }

  .filter-field > span,
  .filter-range > span { margin-bottom: 4px; font-size: 7.5px; }

  .filter-field input,
  .filter-field select,
  .filter-range input {
    height: 38px;
    padding: 0 10px;
    border-color: #e2e6ec;
    border-radius: 8px;
    background-color: #fbfcfd;
    font-size: 16px;
  }

  .filter-field input::placeholder,
  .filter-range input::placeholder { font-size: 10px; }

  .filter-field select {
    padding-right: 29px;
    background-position: right 7px center;
    background-size: 14px 14px;
  }

  .filter-range > div {
    grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr);
    gap: 4px;
  }

  .filter-range i { width: 10px; }

  .filter-footer {
    min-height: 56px;
    padding: 7px 9px max(7px, env(safe-area-inset-bottom));
    gap: 7px;
    box-shadow: 0 -8px 24px rgba(12, 21, 44, .03);
  }

  .filter-reset,
  .filter-submit { min-height: 38px; border-radius: 8px; font-size: 9px; }

  .filter-reset {
    min-width: 80px;
    padding: 0 8px;
    gap: 5px;
    color: #596273;
    background: #f8f9fb;
  }

  .filter-reset svg { width: 13px; height: 13px; }

  .filter-submit {
    padding: 0 9px;
    gap: 5px;
    box-shadow: 0 7px 18px rgba(226, 34, 54, .14);
  }

  .filter-submit .ui-arrow { width: 13px; height: 13px; }
  .car-grid { align-items: start; }

  .car-card {
    height: auto;
    display: block;
  }

  .card-body {
    min-height: 0;
    padding: 9px 9px 10px;
    display: block;
  }

  .car-brand { margin-bottom: 4px; font-size: 7.5px; }

  .car-title {
    min-height: 0;
    display: block;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-specs {
    min-height: 0;
    margin: 7px 0 8px;
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    overflow: hidden;
    font-size: clamp(6.5px, 1.9vw, 7.5px);
    line-height: 1.3;
    white-space: nowrap;
  }

  .card-specs span { flex: 0 0 auto; }

  .price-row {
    margin-top: 0;
    padding-top: 7px;
  }

  .price small { font-size: 6.5px; }
  .price strong { font-size: clamp(14.5px, 4.25vw, 17px); }
  .detail-arrow { width: 27px; height: 27px; }
  .detail-arrow .ui-arrow { width: 14px; height: 14px; }
}

@media (max-width: 370px) {
  .filter-reset {
    min-width: 74px;
    padding: 0 6px;
    font-size: 8.5px;
  }

  .filter-submit { font-size: 8.5px; }
  .card-body { padding-right: 8px; padding-left: 8px; }
  .car-title { font-size: 12px; }
}


/* Centered lead CTA label with an independently aligned arrow. */
.detail-lead-primary {
  position: relative;
  justify-content: center;
  padding-right: 48px;
  padding-left: 48px;
  text-align: center;
}

.detail-lead-primary .ui-arrow {
  position: absolute;
  right: 17px;
}

@media (max-width: 600px) {
  .detail-lead-primary {
    padding-right: 42px;
    padding-left: 42px;
  }

  .detail-lead-primary .ui-arrow {
    right: 13px;
  }
}


/* Tighter desktop catalog card typography and vertical rhythm. */
@media (min-width: 601px) {
  .card-body {
    padding: 18px 20px;
  }

  .car-brand {
    margin-bottom: 5px;
  }

  .car-title {
    min-height: 28px;
    line-height: 1.3;
  }

  .card-specs {
    margin: 10px 0 13px;
  }

  .price-row {
    padding-top: 13px;
  }
}



/* Responsive manufacturer logos in catalog cards. */
.car-brand {
  min-height: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  overflow: visible;
  margin-bottom: 3px;
}

.car-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 128px;
  max-height: 26px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) saturate(100%);
  transform-origin: left center;
}

/* The Chevrolet source has a square canvas around a very wide emblem. */
.car-brand[data-brand-logo="chevrolet"] .car-brand-logo {
  width: 70px;
  height: 27px;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.car-brand-fallback {
  display: none;
  overflow: hidden;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.car-brand.is-missing .car-brand-logo { display: none; }
.car-brand.is-missing .car-brand-fallback { display: block; }

@media (max-width: 600px) {
  .car-brand {
    min-height: 21px;
    height: 21px;
    margin-bottom: 3px;
  }

  .car-brand-logo {
    max-width: 92px;
    max-height: 20px;
  }

  .car-brand[data-brand-logo="chevrolet"] .car-brand-logo {
    width: 52px;
    height: 20px;
  }

  .car-brand-fallback {
    font-size: 8px;
    letter-spacing: .55px;
  }
}



/* Catalog pagination: 32 cars per page. */
.catalog-head { scroll-margin-top: 24px; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 34px auto 0;
}

.pagination[hidden] { display: none; }

.pagination-pages {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid #e2e5eb;
  border-radius: 17px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 32px rgba(12, 21, 44, .08);
}

.pagination button {
  height: 42px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.pagination button:not(:disabled):hover {
  transform: translateY(-1px);
}

.pagination-page {
  min-width: 42px;
  padding: 0 12px;
}

.pagination-page.is-active {
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 20px rgba(226, 34, 54, .24);
}

.pagination-nav {
  min-width: 112px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: #e2e5eb !important;
  background: #fff !important;
}

.pagination-nav .ui-arrow {
  width: 17px;
  height: 17px;
}

.pagination-nav:disabled {
  opacity: .38;
  cursor: default;
}

@media (max-width: 600px) {
  .catalog-head { scroll-margin-top: 12px; }

  .pagination {
    gap: 7px;
    margin-top: 22px;
  }

  .pagination-pages {
    gap: 3px;
    padding: 4px;
    border-radius: 14px;
  }

  .pagination button {
    height: 36px;
    border-radius: 10px;
    font-size: 11px;
  }

  .pagination-page {
    min-width: 36px;
    padding: 0 9px;
  }

  .pagination-nav {
    min-width: 36px;
    width: 36px;
    padding: 0;
  }

  .pagination-nav span { display: none; }
  .pagination-nav .ui-arrow { width: 16px; height: 16px; }
}


/* Optical normalization for manufacturer marks (2026-08-22). */
.car-brand {
  --brand-logo-height: 24px;
  --brand-logo-max-width: 104px;
  width: 112px;
  min-height: 28px;
  height: 28px;
  margin-bottom: 4px;
  overflow: hidden;
}

.car-brand-logo {
  width: auto !important;
  height: var(--brand-logo-height) !important;
  max-width: var(--brand-logo-max-width) !important;
  max-height: var(--brand-logo-height) !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
  opacity: 1;
  transform: none !important;
}

/* Wide wordmarks receive the same optical weight as compact emblems. */
.car-brand:is(
  [data-brand-logo="gac"],
  [data-brand-logo="kia"]
) {
  --brand-logo-height: 20px;
  --brand-logo-max-width: 94px;
}

.car-brand:is(
  [data-brand-logo="chery"],
  [data-brand-logo="geely"],
  [data-brand-logo="haval"],
  [data-brand-logo="jetour"]
) {
  --brand-logo-height: 19px;
  --brand-logo-max-width: 100px;
}

.car-brand:is(
  [data-brand-logo="audi"],
  [data-brand-logo="mini"]
) {
  --brand-logo-height: 20px;
  --brand-logo-max-width: 82px;
}

/* The Chevrolet asset contains a compact emblem inside a square canvas. */
.car-brand[data-brand-logo="chevrolet"] .car-brand-logo {
  width: 68px !important;
  height: 24px !important;
  max-width: 68px !important;
  max-height: 24px !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (max-width: 600px) {
  .car-brand {
    --brand-logo-height: 19px;
    --brand-logo-max-width: 76px;
    width: 82px;
    min-height: 22px;
    height: 22px;
    margin-bottom: 3px;
  }

  .car-brand:is(
    [data-brand-logo="gac"],
    [data-brand-logo="kia"]
  ) {
    --brand-logo-height: 15px;
    --brand-logo-max-width: 72px;
  }

  .car-brand:is(
    [data-brand-logo="chery"],
    [data-brand-logo="geely"],
    [data-brand-logo="haval"],
    [data-brand-logo="jetour"]
  ) {
    --brand-logo-height: 14px;
    --brand-logo-max-width: 72px;
  }

  .car-brand:is(
    [data-brand-logo="audi"],
    [data-brand-logo="mini"]
  ) {
    --brand-logo-height: 16px;
    --brand-logo-max-width: 64px;
  }

  .car-brand[data-brand-logo="chevrolet"] .car-brand-logo {
    width: 52px !important;
    height: 19px !important;
    max-width: 52px !important;
    max-height: 19px !important;
  }
}


/* Glass gallery controls and rounded-dialog scroll containment (2026-08-22). */
.gallery-nav {
  border: 1px solid rgba(255, 255, 255, .72) !important;
  color: #0c152c !important;
  background: rgba(255, 255, 255, .64) !important;
  box-shadow: 0 9px 24px rgba(7, 14, 30, .13) !important;
  opacity: .9;
  transition: opacity .16s ease, background .16s ease, transform .16s ease,
    box-shadow .16s ease !important;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  color: #0c152c !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 11px 28px rgba(7, 14, 30, .17) !important;
  opacity: 1;
}

.gallery-nav:active {
  background: rgba(255, 255, 255, .76) !important;
  transform: translateY(-50%) scale(.94) !important;
}

@media (min-width: 601px) {
  .detail-dialog {
    overflow: hidden !important;
    scrollbar-gutter: auto !important;
  }

  #detail-content {
    max-height: inherit;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-color: #9ba4b2 transparent;
    scrollbar-width: thin;
  }

  #detail-content::-webkit-scrollbar {
    width: 10px;
  }

  #detail-content::-webkit-scrollbar-track {
    margin-block: 18px;
    background: transparent;
  }

  #detail-content::-webkit-scrollbar-thumb {
    min-height: 72px;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #9ba4b2;
  }

  #detail-content::-webkit-scrollbar-thumb:hover {
    background: #e22236;
  }
}


/* Compact synchronized pagination above and below the catalog (2026-08-22). */
.pagination {
  gap: 6px;
  margin: 22px auto 0;
}

.pagination-top {
  margin: 0 auto 17px;
}

.pagination-pages {
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(12, 21, 44, .055);
}

.pagination button {
  height: 34px;
  border-radius: 9px;
  font-size: 11px;
}

.pagination-page {
  min-width: 34px;
  padding: 0 8px;
}

.pagination-page.is-active {
  box-shadow: 0 5px 13px rgba(226, 34, 54, .2);
}

.pagination-nav {
  min-width: 88px;
  padding: 0 12px;
  gap: 6px;
}

.pagination-nav .ui-arrow {
  width: 14px;
  height: 14px;
}

.pagination-ellipsis {
  width: 18px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #8b93a3;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 600px) {
  .pagination {
    gap: 5px;
    margin-top: 17px;
  }

  .pagination-top {
    margin: 0 auto 12px;
  }

  .pagination-pages {
    gap: 1px;
    padding: 2px;
    border-radius: 10px;
    box-shadow: 0 5px 14px rgba(12, 21, 44, .05);
  }

  .pagination button {
    height: 30px;
    border-radius: 8px;
    font-size: 10px;
  }

  .pagination-page {
    min-width: 30px;
    padding: 0 6px;
  }

  .pagination-nav {
    min-width: 30px;
    width: 30px;
    height: 30px;
  }

  .pagination-nav .ui-arrow {
    width: 14px;
    height: 14px;
  }

  .pagination-ellipsis {
    width: 14px;
    height: 30px;
    font-size: 11px;
  }
}

/* Neutral thumbnail selection and fully visible media rail (2026-08-22). */
.thumb {
  border-color: rgba(123, 133, 148, .16);
  box-shadow: none;
}

.thumb.active {
  border-color: #8f99a8 !important;
  box-shadow: 0 0 0 1px rgba(143, 153, 168, .18) !important;
}

.thumb:focus-visible {
  outline: 2px solid rgba(112, 123, 139, .42);
  outline-offset: 1px;
}

.thumbs {
  align-items: flex-start;
  scrollbar-color: #9ba4b2 #dfe3e8;
  scrollbar-width: thin;
}

.thumbs::-webkit-scrollbar {
  height: 6px;
}

.thumbs::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #dfe3e8;
}

.thumbs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #9ba4b2;
}

@media (min-width: 901px) {
  .gallery {
    grid-template-rows: minmax(0, 1fr) 82px;
  }

  .thumbs {
    padding: 2px 2px 10px;
  }
}

@media (max-width: 600px) {
  .thumbs {
    padding: 6px 8px 8px;
    scrollbar-width: none;
  }

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

/* Cool neutral enquiry surface: keep red only for actions and status. */
.detail-lead-card {
  border-color: rgba(80, 92, 110, .14);
  background: #f5f6f8 !important;
  box-shadow: 0 9px 26px rgba(12, 21, 44, .055);
}

/* Keep compact specification labels optically centered and unclipped. */
.quick-spec {
  min-height: 58px;
  padding-top: 13px;
  padding-bottom: 11px;
}

.quick-spec small {
  padding-top: 1px;
  line-height: 1.35;
}

.quick-spec strong {
  line-height: 1.25;
}

@media (max-width: 600px) {
  .quick-spec {
    min-height: 52px;
    padding: 10px 8px 9px;
  }

  .quick-spec small {
    line-height: 1.4;
  }
}

/* Mobile detail flow: overview, gallery, enquiry, then full specifications. */
.detail-overview-mobile {
  display: none;
}

@media (max-width: 600px) {
  .detail-overview-mobile {
    width: 100%;
    padding: max(54px, calc(env(safe-area-inset-top) + 50px)) 15px 11px;
    display: block;
    border-bottom: 1px solid rgba(12, 21, 44, .07);
    background: #fff;
  }

  .detail-info > .detail-status,
  .detail-info > h2,
  .detail-info > .detail-model,
  .detail-info > .detail-price,
  .detail-info > .quick-specs {
    display: none;
  }

  .detail-overview-mobile .detail-status {
    padding: 6px 9px;
    font-size: 9px;
  }

  .detail-overview-mobile h2 {
    margin: 9px 0 4px;
    font-size: 23px;
    line-height: 1.16;
    letter-spacing: -.65px;
  }

  .detail-overview-mobile .detail-model {
    margin: 0 0 10px;
    font-size: 11px;
    line-height: 1.4;
  }

  .detail-overview-mobile .detail-price {
    margin-bottom: 11px;
    font-size: 24px;
    line-height: 1.12;
  }

  .detail-overview-mobile .quick-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px;
    margin-bottom: 0;
  }

  .detail-overview-mobile .quick-spec {
    min-width: 0;
    min-height: 44px;
    padding: 6px 7px 6px;
    display: block;
    overflow: hidden;
  }

  .detail-overview-mobile .quick-spec small,
  .detail-overview-mobile .quick-spec strong {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
  }

  .detail-overview-mobile .quick-spec small {
    font-size: 6.8px;
    line-height: 1.25;
  }

  .detail-overview-mobile .quick-spec strong {
    margin-top: 3px;
    font-size: 9.3px;
    line-height: 1.2;
  }

  .detail-overview-mobile + .gallery .gallery-stage {
    aspect-ratio: 8 / 5;
  }

  .detail-info {
    padding-top: 12px;
  }
}

/* Responsive, low-jank gallery interactions and native-feeling media rail. */
.gallery-stage {
  touch-action: pan-y pinch-zoom;
  overscroll-behavior: contain;
}

.gallery-main {
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.gallery-stage.is-loading .gallery-main {
  opacity: .82;
}

.thumbs {
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.thumb {
  scroll-snap-align: center;
  scroll-snap-stop: normal;
}

.thumb img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .thumbs {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}

/* Mobile gallery: preserve the complete 4:3 source frame and keep fullscreen
   controls quiet enough that they never cover the vehicle. */
@media (max-width: 600px) {
  .detail-overview-mobile + .gallery,
  .detail-overview-mobile + .gallery .gallery-stage,
  .detail-overview-mobile + .gallery .gallery-open {
    touch-action: pan-y !important;
    overscroll-behavior-y: auto;
  }

  .detail-overview-mobile + .gallery .gallery-stage {
    aspect-ratio: 4 / 3;
    background: #edf0f2;
  }

  .detail-overview-mobile + .gallery .gallery-main {
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 700px) {
  .lightbox-nav {
    width: 36px;
    height: 36px;
    border-color: rgba(255, 255, 255, .16) !important;
    color: rgba(255, 255, 255, .78) !important;
    background: rgba(18, 25, 42, .08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .07) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .lightbox-nav .ui-arrow {
    width: 18px;
    height: 18px;
  }
}

/* Compact business-style catalog counter in the hero. */
.hero-stamp {
  position: absolute;
  z-index: 3;
  top: 26px;
  right: 8px;
  width: 210px;
  height: auto;
  min-height: 104px;
  padding: 17px 18px 16px 21px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "label label"
    "number caption";
  align-items: end;
  justify-content: initial;
  column-gap: 12px;
  row-gap: 8px;
  overflow: hidden;
  pointer-events: none;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(12, 21, 44, .11);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(12, 21, 44, .14);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-stamp::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--green);
}

.hero-stamp::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(226, 34, 54, .08);
}

.hero-stamp .hero-stamp-label {
  grid-area: label;
  padding-right: 22px;
  color: #6f788b;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1.45px;
  text-transform: uppercase;
}

.hero-stamp strong {
  grid-area: number;
  color: var(--ink);
  font-size: 38px;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -1.8px;
  font-variant-numeric: tabular-nums;
}

.hero-stamp .hero-stamp-caption {
  grid-area: caption;
  align-self: end;
  padding: 0;
  color: #4f586b;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .15px;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .hero-stamp {
    top: 8px;
    right: 5px;
    width: 142px;
    min-height: 66px;
    padding: 11px 11px 10px 14px;
    column-gap: 8px;
    row-gap: 5px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(12, 21, 44, .12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .hero-stamp::before {
    width: 3px;
  }

  .hero-stamp::after {
    top: 10px;
    right: 10px;
    width: 5px;
    height: 5px;
    box-shadow: 0 0 0 4px rgba(226, 34, 54, .07);
  }

  .hero-stamp .hero-stamp-label {
    padding-right: 16px;
    font-size: 6px;
    letter-spacing: .9px;
  }

  .hero-stamp strong {
    font-size: 25px;
    letter-spacing: -1px;
  }

  .hero-stamp .hero-stamp-caption {
    font-size: 6px;
    line-height: 1.25;
  }
}

@media (max-width: 380px) {
  .hero-stamp {
    top: 6px;
    width: 132px;
    min-height: 62px;
    padding: 10px 10px 9px 13px;
  }

  .hero-stamp strong {
    font-size: 23px;
  }
}

/* Optical corrections for emblems whose SVG canvas contains large inner margins. */
.car-brand[data-brand-logo="bmw"] {
  --brand-logo-height: 27px;
  --brand-logo-max-width: 30px;
}

.car-brand[data-brand-logo="honda"] {
  --brand-logo-height: 46px;
  --brand-logo-max-width: 52px;
}

.car-brand[data-brand-logo="subaru"] {
  --brand-logo-height: 54px;
  --brand-logo-max-width: 60px;
}

.car-brand[data-brand-logo="ford"] {
  --brand-logo-height: 66px;
  --brand-logo-max-width: 68px;
}

.car-brand[data-brand-logo="mazda"] {
  --brand-logo-height: 28px;
  --brand-logo-max-width: 40px;
}

.car-brand[data-brand-logo="lexus"] {
  --brand-logo-height: 48px;
  --brand-logo-max-width: 58px;
}

@media (max-width: 600px) {
  .car-brand[data-brand-logo="bmw"] {
    --brand-logo-height: 22px;
    --brand-logo-max-width: 24px;
  }

  .car-brand[data-brand-logo="honda"] {
    --brand-logo-height: 39px;
    --brand-logo-max-width: 44px;
  }

  .car-brand[data-brand-logo="subaru"] {
    --brand-logo-height: 44px;
    --brand-logo-max-width: 50px;
  }

  .car-brand[data-brand-logo="ford"] {
    --brand-logo-height: 55px;
    --brand-logo-max-width: 58px;
  }

  .car-brand[data-brand-logo="mazda"] {
    --brand-logo-height: 22px;
    --brand-logo-max-width: 32px;
  }

  .car-brand[data-brand-logo="lexus"] {
    --brand-logo-height: 39px;
    --brand-logo-max-width: 48px;
  }

  .hero-stamp {
    top: 7px;
    right: 6px;
    width: 100px;
    min-height: 40px;
    padding: 7px 8px 7px 11px;
    grid-template-columns: auto 1fr;
    grid-template-areas: "number caption";
    column-gap: 6px;
    row-gap: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .86);
    border-color: rgba(12, 21, 44, .1);
    box-shadow: 0 7px 18px rgba(12, 21, 44, .1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .hero-stamp::before {
    width: 2px;
  }

  .hero-stamp::after,
  .hero-stamp .hero-stamp-label {
    display: none;
  }

  .hero-stamp strong {
    align-self: center;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -.7px;
  }

  .hero-stamp .hero-stamp-caption {
    align-self: center;
    font-size: 5.4px;
    line-height: 1.15;
    letter-spacing: .08px;
  }
}

@media (max-width: 380px) {
  .hero-stamp {
    top: 6px;
    right: 5px;
    width: 94px;
    min-height: 37px;
    padding: 6px 7px 6px 10px;
    column-gap: 5px;
    border-radius: 9px;
  }

  .hero-stamp strong {
    font-size: 19px;
  }

  .hero-stamp .hero-stamp-caption {
    font-size: 5px;
  }
}

/* Final translucent catalog counter: restrained frosted-glass treatment. */
.hero-stamp {
  top: 30px;
  right: 10px;
  width: 184px;
  min-height: 80px;
  padding: 14px 15px 13px 17px;
  column-gap: 10px;
  row-gap: 7px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(244, 247, 252, .08));
  box-shadow:
    0 14px 34px rgba(12, 21, 44, .1),
    inset 0 1px 0 rgba(255, 255, 255, .64);
  -webkit-backdrop-filter: blur(15px) saturate(125%) brightness(1.04);
  backdrop-filter: blur(15px) saturate(125%) brightness(1.04);
}

.hero-stamp::before {
  inset: auto;
  top: 0;
  left: 17px;
  width: 34px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, rgba(226, 34, 54, .88), rgba(226, 34, 54, .18));
}

.hero-stamp::after {
  top: 14px;
  right: 14px;
  width: 5px;
  height: 5px;
  background: rgba(226, 34, 54, .72);
  box-shadow: none;
}

.hero-stamp .hero-stamp-label {
  padding-right: 16px;
  color: rgba(12, 21, 44, .58);
  font-size: 7.5px;
  letter-spacing: 1.3px;
}

.hero-stamp strong {
  font-size: 35px;
  letter-spacing: -1.5px;
}

.hero-stamp .hero-stamp-caption {
  color: rgba(12, 21, 44, .66);
  font-size: 7.2px;
  line-height: 1.22;
}

@media (max-width: 600px) {
  .hero-stamp {
    top: 8px;
    right: 7px;
    width: 88px;
    min-height: 34px;
    padding: 6px 8px 6px 10px;
    column-gap: 5px;
    border-color: rgba(255, 255, 255, .62);
    border-radius: 999px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(244, 247, 252, .06));
    box-shadow:
      0 6px 16px rgba(12, 21, 44, .09),
      inset 0 1px 0 rgba(255, 255, 255, .58);
    -webkit-backdrop-filter: blur(12px) saturate(120%) brightness(1.04);
    backdrop-filter: blur(12px) saturate(120%) brightness(1.04);
  }

  .hero-stamp::before {
    top: 0;
    left: 12px;
    width: 20px;
    height: 1px;
  }

  .hero-stamp::after,
  .hero-stamp .hero-stamp-label {
    display: none;
  }

  .hero-stamp strong {
    font-size: 19px;
    letter-spacing: -.65px;
  }

  .hero-stamp .hero-stamp-caption {
    font-size: 4.8px;
    line-height: 1.12;
  }
}

@media (max-width: 380px) {
  .hero-stamp {
    top: 7px;
    right: 6px;
    width: 84px;
    min-height: 32px;
    padding: 5px 7px 5px 9px;
  }

  .hero-stamp strong {
    font-size: 18px;
  }

  .hero-stamp .hero-stamp-caption {
    font-size: 4.6px;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hero-stamp {
    background: rgba(245, 247, 251, .74);
  }
}

/* Mobile catalog count: compact dark glass chip in the free lower corner. */
@media (max-width: 600px) {
  .hero-stamp {
    top: auto;
    right: 10px;
    bottom: 11px;
    width: auto;
    min-width: 70px;
    min-height: 30px;
    padding: 5px 9px 5px 10px;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: "number caption";
    align-items: center;
    justify-content: center;
    column-gap: 5px;
    row-gap: 0;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(12, 21, 44, .62);
    box-shadow:
      0 7px 18px rgba(12, 21, 44, .13),
      inset 0 1px 0 rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    backdrop-filter: blur(10px) saturate(115%);
  }

  .hero-stamp::before {
    display: none;
  }

  .hero-stamp::after {
    content: "авто";
    position: static;
    display: block;
    grid-area: caption;
    width: auto;
    height: auto;
    color: rgba(255, 255, 255, .8);
    background: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 6.2px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .55px;
    text-transform: uppercase;
  }

  .hero-stamp .hero-stamp-label,
  .hero-stamp .hero-stamp-caption {
    display: none;
  }

  .hero-stamp strong {
    grid-area: number;
    align-self: center;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -.5px;
  }
}

@media (max-width: 380px) {
  .hero-stamp {
    right: 8px;
    bottom: 9px;
    width: auto;
    min-width: 66px;
    min-height: 28px;
    padding: 4px 8px 4px 9px;
    column-gap: 4px;
  }

  .hero-stamp strong {
    font-size: 17px;
  }

  .hero-stamp::after {
    font-size: 5.8px;
  }
}

/* Neutral focus and shadow treatment for enquiry controls. */
.detail-lead-primary,
.lead-submit {
  border: 1px solid rgba(80, 92, 110, .28);
  box-shadow: none;
}

.detail-lead-primary:hover,
.lead-submit:hover {
  box-shadow: none;
}

.detail-lead-primary:focus,
.lead-submit:focus {
  outline: none;
}

.detail-lead-primary:focus-visible,
.lead-submit:focus-visible {
  outline: 2px solid #929cab;
  outline-offset: 2px;
  box-shadow: none;
}

.lead-field input:focus,
.lead-field textarea:focus {
  border-color: #929cab;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(80, 92, 110, .10);
}

.detail-lead-actions :is(a, button):hover,
.detail-lead-actions :is(a, button):focus-visible {
  color: var(--ink);
  border-color: rgba(80, 92, 110, .34);
  background: #f7f8fa;
}

.detail-lead-actions :is(a, button):focus-visible {
  outline: 2px solid rgba(80, 92, 110, .40);
  outline-offset: 2px;
}

/* Keep compact specification labels fully visible at every breakpoint. */
.quick-spec small {
  min-height: 14px;
  padding: 2px 0 0;
  display: block;
  color: #788294;
  font-weight: 500;
  line-height: 12px;
  overflow: visible;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.quick-spec strong {
  margin-top: 3px;
}

@media (max-width: 600px) {
  .detail-overview-mobile .quick-spec {
    padding-top: 8px;
  }

  .detail-overview-mobile .quick-spec small {
    min-height: 11px;
    padding: 1px 0 0;
    font-size: 7px;
    line-height: 9px;
    overflow: visible;
    text-overflow: clip;
  }

  .detail-overview-mobile .quick-spec strong {
    margin-top: 2px;
  }
}

/* Compact sticky header on desktop and mobile. */
html {
  scroll-padding-top: 72px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  height: 64px;
  min-height: 64px;
  box-shadow: 0 5px 18px rgba(7, 14, 30, .14);
  isolation: isolate;
}

.site-header .brand img {
  width: 172px;
}

.site-header .main-nav {
  gap: 26px;
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: calc(64px + env(safe-area-inset-top));
  }

  .site-header {
    height: calc(58px + env(safe-area-inset-top));
    min-height: calc(58px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 14px 0;
    gap: 10px;
  }

  .site-header .brand img {
    width: min(144px, 45vw);
  }

  .site-header .header-phone {
    width: 38px;
    height: 38px;
  }
}

/* Keep the compact header permanently attached to the viewport. */
body {
  padding-top: 64px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
}

@media (max-width: 600px) {
  body {
    padding-top: calc(58px + env(safe-area-inset-top));
  }
}

/* Soft media backdrops fill unused space around portrait and narrow photos.
   Only the currently opened gallery creates these layers. */
.gallery-backdrop,
.lightbox-backdrop {
  position: absolute;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-backdrop {
  z-index: 0;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  object-fit: cover;
  object-position: center;
  opacity: .34;
  filter: blur(22px) saturate(.82) brightness(.92);
  transform: scale(1.06);
}

.gallery-open {
  z-index: 1;
}

.lightbox-backdrop {
  z-index: 0;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  object-fit: cover;
  object-position: center;
  opacity: .52;
  filter: blur(34px) saturate(.82) brightness(.46);
  transform: scale(1.08);
}

.lightbox-image {
  z-index: 1;
}

.lightbox-loader {
  z-index: 2;
}

@media (max-width: 600px) {
  .gallery-backdrop {
    opacity: .4;
    filter: blur(18px) saturate(.8) brightness(.94);
  }
}

/* Sticky desktop catalog filters with a compact collapsible rail. */
.filter-field select:disabled {
  color: #9aa1ad;
  background-color: #f5f6f8;
  cursor: not-allowed;
}

.catalog-results {
  min-width: 0;
}

.filter-sidebar {
  min-width: 0;
}

@media (min-width: 1180px) {
  .catalog {
    max-width: 1780px;
  }

  .toolbar {
    grid-template-columns: minmax(420px, 1fr) 250px;
    margin-bottom: 30px;
  }

  .filter-trigger {
    display: none;
  }

  .catalog-layout {
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    align-items: start;
    gap: 22px;
    transition: grid-template-columns .34s cubic-bezier(.22, 1, .36, 1), gap .34s cubic-bezier(.22, 1, .36, 1);
  }

  .catalog-layout.is-filter-collapsed {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 18px;
  }

  .filter-sidebar {
    position: sticky;
    top: 78px;
    z-index: 10;
    align-self: start;
    width: 286px;
    max-height: calc(100dvh - 94px);
    transition: width .34s cubic-bezier(.22, 1, .36, 1);
  }

  .catalog-layout.is-filter-collapsed .filter-sidebar {
    width: 50px;
  }

  .filter-dialog,
  .filter-dialog[open] {
    position: relative;
    inset: auto;
    top: auto;
    width: 286px;
    max-width: none;
    max-height: calc(100dvh - 102px);
    margin: 0;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(12, 21, 44, .1);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(12, 21, 44, .075);
    transition: width .34s cubic-bezier(.22, 1, .36, 1), border-radius .34s ease, box-shadow .24s ease;
  }

  .filter-dialog::backdrop {
    display: none;
  }

  .filter-panel {
    width: 286px;
    max-height: calc(100dvh - 94px);
    border-top: 0;
    background: #fff;
    transition: width .34s cubic-bezier(.22, 1, .36, 1), min-height .34s cubic-bezier(.22, 1, .36, 1);
  }

  .filter-panel::after {
    content: "ФИЛЬТРЫ";
    position: absolute;
    top: 66px;
    left: 50%;
    color: #7d8697;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
    writing-mode: vertical-rl;
    transform: translateX(-50%) rotate(180deg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .16s ease .03s, visibility .16s ease;
  }

  .filter-header {
    min-height: 104px;
    padding: 21px 58px 17px 21px;
    background: linear-gradient(145deg, #fff 0%, #f6f7f9 100%);
  }

  .filter-header p {
    margin-bottom: 5px;
    font-size: 8px;
    letter-spacing: 1.25px;
  }

  .filter-header h2 {
    font-size: 21px;
    letter-spacing: -.65px;
  }

  .filter-header > div > span {
    max-width: 205px;
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.45;
  }

  .filter-close {
    top: 20px;
    right: 17px;
    width: 32px;
    height: 32px;
    border-color: rgba(12, 21, 44, .11);
    box-shadow: 0 6px 18px rgba(12, 21, 44, .06);
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .34s cubic-bezier(.22, 1, .36, 1);
  }

  .filter-close:hover {
    color: var(--ink);
    border-color: rgba(12, 21, 44, .22);
    background: #f2f4f7;
    transform: translateX(-1px);
  }

  .filter-close:focus-visible {
    outline: 3px solid rgba(12, 21, 44, .12);
    outline-offset: 3px;
  }

  .filter-close svg {
    width: 16px;
    height: 16px;
  }

  .filter-content {
    padding: 0 19px 14px;
    scrollbar-gutter: stable;
    transition: opacity .15s ease .12s, visibility .15s ease .12s;
  }

  .filter-group {
    padding: 18px 0 19px;
  }

  .filter-group-title {
    margin-bottom: 14px;
    gap: 9px;
  }

  .filter-group-title > span {
    width: 25px;
    height: 25px;
    border-radius: 7px;
    font-size: 8px;
  }

  .filter-group-title h3 {
    font-size: 10px;
    letter-spacing: .65px;
  }

  .filter-fields,
  .filter-fields-three {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .filter-range {
    grid-column: auto;
  }

  .filter-field > span,
  .filter-range > span {
    margin-bottom: 6px;
    font-size: 9px;
  }

  .filter-field input,
  .filter-field select,
  .filter-range input {
    height: 43px;
    padding-right: 12px;
    padding-left: 12px;
    border-radius: 10px;
    font-size: 11px;
  }

  .filter-field select {
    padding-right: 36px;
    background-position: right 10px center;
  }

  .filter-footer {
    padding: 13px 17px 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    transition: opacity .15s ease .12s, visibility .15s ease .12s;
  }

  .filter-reset,
  .filter-submit {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 0 13px;
    border-radius: 10px;
    font-size: 10px;
  }

  .filter-submit {
    grid-row: 1;
    box-shadow: 0 8px 19px rgba(226, 34, 54, .14);
  }

  .catalog-results .active-filters {
    margin: 0 0 17px;
  }

  .catalog-results .catalog-head {
    min-height: 40px;
    margin-bottom: 15px;
  }

  .catalog-results .catalog-head h3 {
    font-size: 21px;
  }

  .catalog-results .car-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .catalog-layout.is-filter-collapsed .filter-dialog {
    width: 50px;
    min-height: 168px;
    border-radius: 15px;
    box-shadow: 0 9px 28px rgba(12, 21, 44, .055);
  }

  .catalog-layout.is-filter-collapsed .filter-panel {
    width: 50px;
    min-height: 168px;
    max-height: 168px;
  }

  .catalog-layout.is-filter-collapsed .filter-header {
    min-height: 168px;
    padding: 0;
    border-bottom: 0;
  }

  .catalog-layout.is-filter-collapsed .filter-header > div,
  .catalog-layout.is-filter-collapsed .filter-content,
  .catalog-layout.is-filter-collapsed .filter-footer {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition-delay: 0s;
  }

  .catalog-layout.is-filter-collapsed .filter-close {
    top: 12px;
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
  }

  .catalog-layout.is-filter-collapsed .filter-close:hover {
    transform: translateX(-50%) rotate(180deg) translateX(-1px);
  }

  .catalog-layout.is-filter-collapsed .filter-panel::after {
    opacity: 1;
    visibility: visible;
    transition-delay: .18s;
  }

  .catalog-layout.is-filter-collapsed .filter-dialog.has-active-filters::before {
    content: attr(data-filter-count);
    position: absolute;
    z-index: 3;
    top: 48px;
    left: 15px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
    font-size: 8px;
    font-weight: 800;
  }
}

@media (min-width: 1380px) and (max-width: 1599px) {
  .catalog-layout.is-filter-collapsed .car-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .catalog-results .car-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1179px) {
  .catalog-layout {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-layout,
  .filter-dialog,
  .filter-sidebar,
  .filter-panel,
  .filter-panel::after,
  .filter-header > div,
  .filter-content,
  .filter-footer {
    transition: none !important;
  }
}
