/* Bestcars custom theme overrides */
.bc-card-props-native {
  display: none;
}

.ls-item-in .bc-card-props-native {
  display: block;
}

.ls-item-in .bc-card-props {
  display: none;
}

.bc-card-props {
  display: grid;
  grid-template-rows: repeat(4, 17px);
  grid-auto-rows: 17px;
  height: 68px;
  margin-top: 6px;
  margin-bottom: 7px;
  overflow: hidden;
  font-size: 11px;
  line-height: 17px;
}

.bc-card-props__row {
  display: grid;
  grid-template-columns: 15px auto minmax(18px, 1fr) auto;
  align-items: center;
  column-gap: 4px;
  min-width: 0;
  min-height: 17px;
  color: #999;
}

.bc-card-props__row:after {
  content: "";
  grid-column: 3;
  grid-row: 1;
  min-width: 10px;
  height: 1px;
  border-bottom: 1px dashed #d7d7d7;
  transform: translateY(2px);
}

.bc-card-props__icon {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: #aaa;
}

.bc-card-props__icon .ico,
.bc-card-props__icon img,
.bc-card-props__icon svg {
  width: 13px;
  height: 13px;
  margin: 0;
}

.bc-card-props__label,
.bc-card-props__value {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bc-card-props__label {
  grid-column: 2;
  grid-row: 1;
  color: #9f9f9f;
}

.bc-card-props__value {
  grid-column: 4;
  grid-row: 1;
  color: #686868;
  text-align: right;
}

.bc-price-status-exchange {
  color: #4571e0;
}

@media (max-width: 575px) {
  .bc-card-props {
    grid-template-rows: repeat(4, 18px);
    grid-auto-rows: 18px;
    height: 72px;
    font-size: 12px;
    line-height: 18px;
  }

  .bc-card-props__row {
    grid-template-columns: 14px auto minmax(12px, 1fr) auto;
    min-height: 18px;
  }

  .rp-it-grid-item .badge {
    font-size: 12px;
  }
}
/* Reserve the mobile gallery before LightSlider initializes to prevent CLS. */
@media (max-width: 767px) {
  .rp-vw-slider-box { min-height: 240px; }
  .rp-vw-slider-box.rp-vw-slider-box-has-pager { min-height: 314px; }
  .rp-vw-slider-box > .vw-slider { height: 240px; overflow: hidden; }
}

@media (max-width: 359px) {
  .rp-vw-slider-box { min-height: 220px; }
  .rp-vw-slider-box.rp-vw-slider-box-has-pager { min-height: 294px; }
  .rp-vw-slider-box > .vw-slider { height: 220px; }
}
