
.header-wrapper.static-header, .header-wrapper {
  position: relative;
 
}
.header-wrapper.static-header.header-small {
  position: fixed;
}

@media (max-width: 991px) {
  .mini-add-banner {
    display: none;
  }
}

.listing-title .title-sm {
  font-family: var(--base-font);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

@media (max-width: 991px) {
  .listing-title .title-sm {
    font-size: 0.75rem;
  }
}

@media (max-width: 991px) {
  .listing-title {
    margin-left: -5vw;
    margin-right: -5vw;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.search-bar-wrapper {
  position: relative;
  max-width: 100%;
  border-radius: 0.5rem;
  border-radius: 0.5rem;
  background: var(--light);
  border: 1px solid #aaa;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.search-bar-wrapper .btn-outline-secondary {
  background-color: transparent;
  padding: 1.25rem 1rem;
  border: 0px;
}

@media (max-width: 991px) {
  .search-bar-wrapper .btn-outline-secondary {
    padding: 0.625rem 0.5rem;
  }
}

.search-bar-wrapper .btn-outline-secondary img {
  width: 2.75rem;
  height: auto;
  max-height: none;
}

@media (max-width: 991px) {
  .search-bar-wrapper .btn-outline-secondary img {
    width: 1.625rem;
  }
}

.search-bar-wrapper .form-control {
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  line-height: 1.5rem;
  text-align: left;
  padding-left: 0;
  color: #9a9a9a;
  background-color: transparent;
}

@media (max-width: 991px) {
  .search-bar-wrapper .form-control {
    font-size: 1rem;
  }
}

.search-bar-wrapper .input-group-lg>.form-control,
.search-bar-wrapper .input-group-lg>.form-select,
.search-bar-wrapper .input-group-lg>.btn-outline-secondary,
.search-bar-wrapper .input-group-lg>.btn {
  border-radius: 0px;
  border: 0;
}

.filter-block {
  display: flex;
  gap: 0.75rem;
  position: relative;
}

.filter-block .dropdown {
  flex: 1 1 auto;
  position: unset;
}

.filter-block-mobile {
  display: none;
}

@media (max-width: 991px) {
  .filter-block-mobile {
    display: flex;
    column-gap: 0.25rem;
    justify-content: space-between;
    margin-left: -5vw;
    margin-right: -5vw;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .filter-block-mobile>* {
    flex-grow: 1;
  }

  .filter-block {
    display: none;
  }

  .switch-block {
    display: none;
  }
}

.filter-block .dropdown .btn-default {
  border-radius: 0.5rem;
  background: var(--white);
  border: 1px solid #aaa;
  justify-content: space-between;
  padding: 1.125rem 1rem;
  display: flex;
  width: 100%;
  font-size: 0.9375rem;
  letter-spacing: 0.02rem;
  line-height: 0.9375rem;
  text-align: left;
  color: var(--black);
  transition: all 0.2s ease-in-out;
  font-family: var(--base-font);
}

.filter-block .dropdown .btn-default.show {
  border-color: var(--white);
  border-radius: 0.5rem 0.5rem 0px 0px;
  background: var(--white);
  box-shadow: 3px 3px 9px rgba(0, 0, 0, 0.19);
}

.filter-block .dropdown .btn-default.show::before {
  content: "";
  background-color: var(--white);
  left: 0;
  bottom: -2px;
  height: 0.625rem;
  width: 100%;
  position: absolute;
  z-index: 99999;
}

.filter-block .dropdown .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid var(--theme);
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.filter-block .dropdown .dropdown-menu {
  border: 1px solid var(--white);
  border-radius: 0px 0px 0.5rem 0.5rem;
  background: var(--white);
  box-shadow: 3px 3px 9px rgba(0, 0, 0, 0.19);
  z-index: 9999;
  padding: 2.25rem 26px;
}

.filter-block .dropdown .dropdown-menu {
  width: 100%;
  left: 0;
  top: 3rem !important;
  inset: 3rem auto auto 0px !important;
  margin: 0px;
  transform: none !important;
}

.filter-block .dropdown .dropdown-menu .search-bar-wrapper {
  margin-bottom: 1.25rem;
}

.filter-block .dropdown .dropdown-menu .search-bar-wrapper .btn-outline-secondary {
  background-color: transparent;
  padding: 8px 0.625rem;
}

.filter-block .dropdown .dropdown-menu .search-bar-wrapper .btn-outline-secondary .icon {
  display: flex;
  font-size: 1.75rem;
  color: #c1c1c1;
}

@media (max-width: 991px) {
  .filter-block .dropdown .dropdown-menu .search-bar-wrapper .btn-outline-secondary .icon {
    font-size: 1.5rem;
  }
}

.filter-block .dropdown .dropdown-menu .search-bar-wrapper .form-control {
  padding-left: 0.625rem;
  font-weight: 300;
  font-size: 1.375rem;
  letter-spacing: 0.01em;
  color: #9a9a9a;
}

@media (max-width: 991px) {
  .filter-block .dropdown .dropdown-menu .search-bar-wrapper .form-control {
    font-size: 1rem;
  }
}

.filter-block .dropdown .dropdown-menu .search-bar-wrapper .input-group>.form-control,
.filter-block .dropdown .dropdown-menu .search-bar-wrapper .input-group>.form-select,
.filter-block .dropdown .dropdown-menu .search-bar-wrapper .input-group>.btn-outline-secondary,
.filter-block .dropdown .dropdown-menu .search-bar-wrapper .input-group>.btn {
  border-radius: 0px;
  border: 0;
}

.vehicle-grid {
  display: grid;
  row-gap: 1.25rem;
  column-gap: 1rem;
  flex-wrap: wrap;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
}

@media (max-width: 1199.98px) {
  .vehicle-grid {
    grid-template-columns: repeat(3, minmax(21.25rem, 1fr));
  }
}

@media (max-width: 991px) {
  .vehicle-grid {
    grid-template-columns: repeat(1, minmax(260px, 1fr));
  }
}

.vehicle-item {
  background-color: var(--white);
  border: 1px solid #d0d0d0;
  overflow: hidden;
  border-radius: 0.625rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vehicle-item .vehicle-image {
  position: relative;
  height: 17.1rem;
}

/* @media (max-width: 991px) {
    .vehicle-item .vehicle-image {
        height: 254px;
    }
} */

.vehicle-item .vehicle-image>a {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
}

.vehicle-item .vehicle-image>a img {
  object-fit: scale-down;
  /* height: 100%; */
  /* width: 100%; */
  max-height: 100%;
  object-position: center center;
  background-color: var(--white);
}

@media (max-width: 1599.98px) {
  .vehicle-item .vehicle-image {
    height: 234px;
  }
}

@media (max-width: 991.98px) {
  .vehicle-item .vehicle-image {
    height: 224px;
  }
}

@media (max-width: 767.98px) {
  .vehicle-item .vehicle-image {
    height: 278px;
  }
}

.vehicle-item .favorite-vehicle {
  position: absolute;
  right: 0.625rem;
  top: 0.625rem;
  background-color: transparent;
  z-index: 99;
}

.vehicle-item .vehicle-info {
  position: relative;
  flex-grow: 1;
}

.vehicle-item .vehicle-info-details {
  padding: 1.25rem 0.75rem;
  padding-bottom: 0px;
  position: relative;
  z-index: 1;
  min-height: 13.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vehicle-item .vehicle-info-details>a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.vehicle-item .vehicle-info .dropdown {
  position: unset;
}

/* .vehicle-item .vehicle-info .dropdown .list-group {
  justify-content: space-between;
} */

.vehicle-item .vehicle-info .dropdown-menu {
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 0;
  border: 0;
  z-index: 9;
  transform: translate(0, 0) !important;
}

.vehicle-item .vehicle-info .dropdown-menu .list-group {
  border-radius: 0;
  border: 0;
  overflow-y: auto;
  height: 100%;
}

.vehicle-item .vehicle-info .dropdown-menu .list-group-item {
  display: flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  padding-right: 4.25rem;
  font-weight: normal;
  font-size: 0.825rem;
  letter-spacing: 0.02rem;
  line-height: 1.25rem;
  text-align: left;
  color: #343434;
  border: 0;
  gap: 1rem;
}

.vehicle-item .vehicle-info .dropdown-menu .list-group-item .icon {
  font-size: 1.5rem;
  width: 1.75rem;
  color: var(--theme);
  text-align: center;
  flex: 0 0 auto;
}

.vehicle-item .vehicle-info .dropdown-menu .list-group-item.active,
.vehicle-item .vehicle-info .dropdown-menu .list-group-item:hover {
  background-color: var(--theme);
  border-color: var(--white);
  color: var(--white);
  font-weight: 700;
}

.vehicle-item .vehicle-info .dropdown-menu .list-group-item.active .icon,
.vehicle-item .vehicle-info .dropdown-menu .list-group-item:hover .icon {
  color: var(--white);
}

.vehicle-item .vehicle-info .action-btn {
  position: absolute;
  top: -1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  border: 1px solid #d0d0d0;
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d0d0d0;
  transition: all 0.2s ease-in-out;
  z-index: 99;
  font-size: 1.25rem;
}

.vehicle-item .vehicle-info .action-btn::after {
  content: none;
}

.vehicle-item .vehicle-info .action-btn:hover {
  border: 1px solid var(--theme);
  color: var(--theme);
}

.vehicle-item .inventory-type {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.02rem;
  line-height: 1.25rem;
  text-align: left;
  color: #939393;
  text-transform: uppercase;
}

.vehicle-item .make-model {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25rem;
  text-align: left;
  color: #0d0d0d;
}

.vehicle-item .price {
  margin-top: auto;
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.75rem;
}

.vehicle-item .price-est-section {
  display: flex;
  align-items: baseline;
  font-family: var(--alt-font);
  font-weight: bold;
  font-size: 1.875rem;
  line-height: 1.25rem;
  color: var(--theme);
}

a .price-est-section {
  color: var(--theme);
}

.vehicle-item .price-est {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.02rem;
  line-height: 0.825rem;
  text-align: left;
  color: #555;
  font-family: var(--base-font);
}

.vehicle-item .info-link {
  display: flex;
  align-self: flex-start;
}

.vehicle-item .price-main {
  font-weight: bold;
  font-size: 1.125rem;
  letter-spacing: 0.02rem;
  line-height: 1.25rem;
  text-align: right;
  color: #939393;
  margin-bottom: 2px;
}

.vehicle-item .price-down-payment {
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.02rem;
  line-height: 0.75rem;
  text-align: right;
  color: #939393;
  margin-bottom: 0;
}

.vehicle-item .vehicle-milage {
  font-weight: 300;
  font-size: 0.825rem;
  letter-spacing: 0.02rem;
  line-height: 1.25rem;
  text-align: left;
  color: #0d0d0d;
}

.vehicle-item .vehicle-milage-item {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.vehicle-item .vehicle-milage-item li {
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.25rem;
  text-align: left;
  color: #343434;
}

.vehicle-item .vehicle-milage-item li:not(:first-child)::before {
  content: "\2022";
  color: var(--theme);
  margin: auto 0.25rem;
}

.vehicle-item .delivery-info {
  border-top: 1px solid #d9dde9;
  line-height: normal;
  padding: 0.75rem 0;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.02rem;
  line-height: 0.825rem;
  text-align: left;
  color: #555;
}

.vehicle-item .delivery-info small {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #242424;
}

.vehicle-item .delivery-info strong {
  color: var(--white);
  font-weight: 900;
}

.results-count {
  font-size: 0.75rem;
  line-height: 0.825rem;
  text-align: left;
  color: #707070;
  font-family: var(--base-font);
}

@media (max-width: 1200px) {
  .vehicle-item .price-est-section {
    font-size: 1.625rem;
    line-height: 1.25rem;
  }
}

@media (max-width: 991px) {
  .vehicle-item .vehicle-info .action-btn {
    color: var(--theme);
  }

  .results-count {
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1.5rem;
    text-align: right;
    color: #797b89;
  }
}

.results-count span {
  font-weight: 900;
  /* color: var(--theme) */
}

@media (max-width: 991px) {
  .results-count span {
    color: #797b89;
  }
}

.finance-item .icon-block {
  width: 198px;
  height: 198px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-top: -99px;
  margin-bottom: 0.25rem;
}

.finance-item .icon-block img {
  width: 130px;
  height: auto;
}

.finance-item .sub-title {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-align: center;
  color: #939393;
}

.finance-header {
  height: 188px;
  background-color: #f0f0f0;
}

.finance-body {
  padding: 1.25rem;
  padding-top: 0;
}

.finance-body .btn-theme {
  padding: 0.75rem 2.125rem;
  border-radius: 0;
  margin: auto;
}

.finance-title {
  font-weight: 900;
  font-size: 2rem;
  line-height: 2rem;
  text-align: center;
  color: #343434;
  margin-bottom: 2rem;
}

.price-filter {
  position: relative;
}

@media (max-width: 991px) {
  .price-filter {
    width: 100%;
  }

  .price-filter::after {
    content: "";
    height: 1px;
    background-color: #aaa;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -3.125rem;
    right: -3.125rem;
  }

  .search-tools-wrapper {
    margin-top: 0.75rem;
  }
}

.select-wrap {
  display: flex;
  align-items: center;
  width: 270px;
  position: relative;
  border: 1px solid #aaa;
  padding: 0.625rem 1rem;
  border-radius: 3.125rem;
  z-index: 999;
}

@media (max-width: 991px) {
  .select-wrap {
    width: 100%;
    margin: auto;
    border: 0;
    border-radius: 0.25rem;
    background: var(--theme);
    color: var(--white);
  }
}

.select-wrap .icon {
  margin-right: 0.75rem;
  color: var(--theme);
}

@media (max-width: 991px) {
  .select-wrap .icon {
    color: var(--white);
  }
}

.select-wrap .select-label {
  margin-right: 5px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--base-color);
  line-height: 0.875rem;
}

@media (max-width: 991px) {
  .select-wrap .select-label {
    color: var(--white);
    margin-left: auto;
  }
}

.custom-select {
  display: inline-block;
  width: 100%;
}

.custom-select-wrapper {
  display: inline-block;
  user-select: none;
  width: 100%;
}

.custom-select-wrapper select {
  display: none;
}

.custom-select-trigger {
  display: block;
  width: 100%;
  padding: 0;
  font-size: 1rem;
  font-weight: 300;
  color: #707070;
  border-radius: 0px;
  cursor: pointer;
}

select.custom-select {
  border: 0;
  background-color: transparent;
  outline: 0;
  color: inherit;
}

select.custom-select option {
  color: var(--black);
}

select.custom-select option:hover,
select.custom-select option:focus,
select.custom-select option:active {
  background-color: var(--theme);
  color: var(--black);
}

@media (max-width: 991px) {
  .custom-select-trigger {
    color: var(--white);
    font-size: 0.875rem;
  }

  .custom-select-wrapper {
    width: auto;
  }
}

.custom-select.opened .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.custom-select.sources .custon-options-wrap {
  top: -2px;
}

.custom-select.sources.opened .custon-options-wrap {
  top: -1px;
}

.custom-options {
  position: absolute;
  display: block;
  top: 100%;
  /* left: 0; */
  right: 0;
  width: 100%;
  min-width: 206px;
  margin: 0;
  border-radius: 0px;
  box-sizing: border-box;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  margin-top: 1rem;
  border-top: 3px solid var(--theme);
  padding: 1.875rem 0;
  box-shadow: 2px 3px 9px rgba(0, 0, 0, 0.16);
}

.custom-options::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 0.625rem solid transparent;
  border-right: 0.625rem solid transparent;
  border-bottom: 0.625rem solid var(--theme);
  position: absolute;
  left: 70%;
  transform: translateX(-50%);
  top: -0.625rem;
}

.custom-option {
  position: relative;
  display: block;
  padding: 1rem 1.5rem;
  border-bottom: none;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  text-align: left;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: #343434;
}

.custom-option::before {
  content: "\e988";
  font-family: "icomoon" !important;
  display: inline-flex;
  margin-right: 0.625rem;
  align-self: center;
  color: var(--white);
  transition: all 0.4s ease-in-out;
}

.custom-option:first-of-type {
  display: none;
}

.custom-option:hover {
  color: var(--theme);
}

.custom-option:hover::before {
  color: var(--theme);
}

.custom-option.selection {
  color: var(--theme);
}

.custom-option.selection::before {
  color: var(--theme);
}

.custon-options-wrap {
  height: auto;
  width: 100%;
  top: -1px;
  display: none;
}

.fixed-search {
  position: relative;
}

@media (max-width: 991px) {
  .fixed-search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 0.75rem;
    z-index: 9999;
    box-shadow: 0 0.25rem 2px 0 rgba(119, 119, 119, 0.12);
  }
}

.filter-btn {
  border-radius: 0.25rem;
  background: var(--light);
  border: 1px solid #aaa;
  display: flex;
  align-items: center;
  font-family: var(--base-font);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  line-height: 1.125rem;
  text-align: left;
  color: #343434;
  padding: 1rem 0.625rem;
  justify-content: space-between;
  font-weight: 700;
}

.filter-btn::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.5em solid var(--theme);
  border-right: 0.5em solid transparent;
  border-bottom: 0;
  border-left: 0.5em solid transparent;
}

.mobile-filter .filter-block-mobile .filter-btn::after {
  content: none;
}

.more-btn {
  padding: 1rem 0.625rem;
  background-color: var(--theme);
  color: var(--white);
  display: flex;
  align-items: center;
  border-radius: 0.25rem;
  justify-content: center;
  border: 1px solid var(--theme);
}

/*.modal {
  z-index: 9999;
}

.modal-title {
  margin-left: auto;
  padding-left:2rem;
}

.modal-content .modal-title {
  margin-right: auto;
}*/

.mobile-filter {
  position: absolute;
  top: -2px;
  left: -1rem;
  right: -1rem;
  background-color: var(--white);
  z-index: 9999;
}

.mobile-filter .filter-block-mobile {
  padding: 0.5rem 1rem;
  margin-left: 0;
  margin-right: 0;
  background-color: var(--white);
}

@media (min-width:992px) {

  .mobile-filter {

    display: none;

  }

}

.mobile-filter .search-bar-wrapper {
  display: flex;
}

.mobile-filter .search-bar-wrapper .form-control {
  padding-left: 0;
}

.mobile-filter .filter-btn {
  background-color: #aaaaaa;
  padding: 1rem 0.875rem;
  width: 3.125rem;
  height: 3.125rem;
  justify-content: center;
}

.mobile-filter .filter-btn .icon {
  margin-left: 0;
  font-size: 1.25rem;
  color: var(--white);
}

.mobile-filter .filter-close-btn {
  font-size: 1.25rem;
  background-color: transparent;
  color: var(--white);
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mobile-filter .filter-close-btn .icon {
  font-size: 1.25rem;
}

.mobile-filter .filter-close-btn:hover {
  color: var(--base-color);
}

.mobile-filter .more-btn {
  padding: 1rem 0.625rem;
  height: 3.125rem;
}

.mobile-filter-container {
  background-color: var(--white);
  margin-top: 0.75rem;
  border-bottom: 1px solid #aaa;
}

.mobile-filter-header {
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
  padding: 1.25rem 1.875rem;
  padding-right: 1.25rem;
  position: relative;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-filter-header-title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--base-color);
  text-transform: uppercase;
  margin-bottom: 0;
}

.mobile-filter-footer {
  padding: 1.125rem;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #aaa;
}

.filter-overlay {
  position: fixed;
  top: 160px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.89);
  z-index: -1;
  transition: all 0.2s ease-in-out;
}

.filter-overlay-fixed-top {
  top: 0;
}

.custom-drop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.5rem;
  width: 1.5rem;
  font-size: 1.375rem;
  color: var(--white);
  transition: all 0.2s ease-in-out;

  background-color: transparent;
  border: 0;
  outline: 0;
}

.custom-drop-btn:hover {
  color: var(--theme);
}

/* 
.custom-drop-btn::before {
  font-family: "icomoon" !important;
  content: "\e973";
} */

.custom-drop-btn:not(.collapsed) {
  color: var(--white);
}

/* .custom-drop-btn:not(.collapsed)::before {
  content: "\e994";
} */

.custom-drop-container {
  position: absolute;
  right: -0.625rem;
  top: 2.25rem;
  background: var(--white);
  box-shadow: 2px 3px 9px rgba(0, 0, 0, 0.16);
  min-width: 280px;
  border-top: 0.5rem solid var(--white);
  padding: 1.5rem;
}

.custom-drop-container::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 0.625rem solid transparent;
  border-right: 0.625rem solid transparent;
  border-bottom: 0.625rem solid var(--white);
  position: absolute;
  right: 2px;
  transform: translateX(-50%);
  top: -1rem;
}

.custom-drop-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-drop-list li:not(:last-child) {
  margin-bottom: 0.875rem;
}

.custom-drop-items {
  display: flex;
  align-items: center;
  transition: all 0.2s ease-in-out;
  font-weight: bold;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1.25rem;
  text-align: left;
  color: #343434;
  text-transform: uppercase;
}

.custom-drop-items:hover {
  color: var(--white);
}

.custom-drop-items .icon {
  font-size: 1.875rem;
  color: var(--white);
  height: 1.875rem;
  width: 1.875rem;
  display: flex;
  margin-right: 1rem;
}

.sold-overlay {
  position: absolute;
  top: 0;
  right: 0;
  height: 98%;
}

.sold-overlay img {
  width: auto;
  height: 100%;
}

.vehicle-list-box {
  margin-top: 1.5rem;
  border-top: 1px solid #ccc;
  background: #fafafa;
  padding: 2rem;
  padding-bottom: 1.5rem;
}

.filter-dropdown {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 0.825rem;
  display: flex;

  align-items: center;
}

.sort-dropdown {
  display: flex;
  align-items: center;
}

.sort-dropdown select {
  appearance: none;
  padding: 5px;
  font-weight: 700;
  color: var(--theme);
  border: 0;
  padding-right: 0.6rem;
  position: relative;
  z-index: 2;
  background-color: transparent;
}

.sort-dropdown select:focus,
.sort-dropdown select:hover {
  outline: 0;
}

.sort-dropdown::after {
  display: inline-block;
  vertical-align: 0.255em;
  content: "";
  margin-left: -0.3rem;
  width: 0.3rem;
  height: 0.3rem;
  border-top: 0.3em solid var(--theme);
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  position: relative;
  z-index: 1;
}

.sort-dropdown-btn .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  background: var(--theme);
  color: var(--white);
  font-size: 1.125rem;
  padding: 0.625rem;
}

.sort-dropdown-btn .btn::after {
  content: none;
}

.vehicle-item.promotion-item {
  border: 1px solid #d0d0d0;
  box-shadow: none;
  max-width: none !important;
}

.vehicle-item.promotion-item.without-image .card-img img {
  opacity: 1 !important;
}

.vehicle-item.promotion-item .card-name {
  font-family: var(--base-font);
  font-weight: 900;
  font-size: 2rem;
  line-height: 2rem;
  text-align: center;
  color: #343434;
}

.vehicle-item.promotion-item .sub-title {
  font-weight: bold;
  font-size: 0.75rem;
  letter-spacing: 0.02rem;
  line-height: 1.25rem;
  text-align: center;
  color: #939393;
  margin-bottom: 0;
}

.vehicle-item.promotion-item .btn {
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.5rem;
  text-align: center;
  padding: 0.3125rem 1.5rem;
}

@media (max-width: 991px) {
  .vehicle-list-box {
    margin-top: 0.75rem;
    border-top: 0px solid #ccc;
    padding: 0;
    padding-bottom: 4rem;
    background: #f0f0f0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 220px,
        #f0f0f0 220px,
        #f0f0f0 100%);
    margin-left: -0.8rem;
    margin-right: -0.8rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
}

.price {
  display: flex;
  justify-content: space-between;
}

.finance-price {
  color: var(--theme);
}

.pricing-section {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.pricing-section .estimation {
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 0.875rem;
  text-align: left;
  color: #939393;
}

.pricing-section .estimation a {
  color: var(--theme);
}

.price-amt {
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  font-size: 2.375rem;
  text-align: left;
  /* color: var(--black); */
}

.make-model a {
  color: #343434;
}

.delivery-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.was-price,
.disc-price {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 0.75rem;
  text-align: left;
  color: #aaa;
}

.was-price {
  text-decoration: line-through;
}

.was-label,
.disc-lable {
  text-transform: uppercase;
}

.was-amt,
.disc-amt {
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  line-height: 1.25rem;
  text-align: left;
  color: #707070;
}

.your-price {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.25rem;
  text-align: right;
  color: #aaa;
}

.your-price-amt {
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  font-size: 1.75rem;
  letter-spacing: 0em;
  line-height: 1.25rem;
  text-align: right;
  color: #707070;
}

.delivery-info-alt {
  display: flex;
  align-items: flex-start;
}

.delivery-info-alt>* {
  flex: 1 1 auto;
}

.delivery-info-alt .was-price,
.delivery-info-alt .disc-price,
.delivery-info-alt .your-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.delivery-info-alt .was-label,
.delivery-info-alt .disc-label,
.delivery-info-alt .your-price-label {
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 0.75rem;
  text-align: center;
  color: #343434;
}

.delivery-info-alt .was-amt,
.delivery-info-alt .disc-amt,
.delivery-info-alt .your-price-amt {
  font-family: var(--base-font);
  font-weight: bold;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  line-height: 1.25rem;
  text-align: center;
  color: #aaa;
}

.delivery-info-alt .your-price-amt {
  color: var(--theme);
}

.switch-btn {
  border-radius: 0.5rem;
  background: var(--theme);
  padding: 0.25rem;
  min-width: 370px;
  width: 100%;
}

.switch-btn .btn {
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  line-height: 1.125rem;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow-x: hidden;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

.switch-btn .btn .btn-icon {
  transition: all 0.2s ease-in-out;
  opacity: 0;
  width: 0;
  margin-left: -1rem;
}

.switch-btn>.btn:not(:last-child):not(.dropdown-toggle),
.switch-btn>.btn.dropdown-toggle-split:first-child,
.switch-btn>.switch-btn:not(:last-child)>.btn {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.switch-btn>.btn:nth-child(n + 3),
.switch-btn> :not(.btn-check)+.btn,
.switch-btn>.switch-btn:not(:first-child)>.btn {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.switch-btn>.btn:not(:first-child),
.switch-btn>.btn-group:not(:first-child) {
  margin-left: 0;
}

.switch-btn .btn-check:checked+.btn, 
.switch-btn .btn-check:active+.btn, 
.switch-btn .btn:active, 
.switch-btn .btn.active, 
.switch-btn .btn.show {
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  color: #555;
}

.switch-btn .btn-check:checked+.btn:hover,
.switch-btn .btn-check:active+.btn:hover,
.switch-btn .btn:active:hover,
.switch-btn .btn.active:hover,
.switch-btn .btn.show:hover {
  color: var(--theme);
  opacity: 1;
}

.switch-btn .btn-check:checked+.btn .btn-icon,
.switch-btn .btn-check:active+.btn .btn-icon,
.switch-btn .btn:active .btn-icon,
.switch-btn .btn.active .btn-icon,
.switch-btn .btn.show .btn-icon {
  opacity: 1;
  margin-left: auto;
  width: auto;
}

.filter-btn-blocks {
  display: flex;
  justify-content: center;
}

@media (max-width: 991px) {
  .switch-btn {
    min-width: 280px;
    width: 100%;
  }

  .switch-btn .btn {
    font-size: 0.937rem;
    line-height: 0.937rem;
    padding: 0.625rem 1rem;
    gap: 1.25rem;
  }
}

.btn-dropdown {
  padding: 0.75rem 0.75rem;
  font-size: 1.25rem;
  border-radius: 4px;
  background: var(--theme);
  color: var(--white);
}

.btn-dropdown::after {
  content: none;
}

.sort-filter .form-label,
.sort-label {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #555555;
  padding: 0;
  padding-bottom: 0px;
}

.sort-filter .form-select {
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--theme);
  border-radius: 0;
  padding: 0.25rem;
  padding-right: 1.25rem;
  background-image: none;
  background-color: transparent;
  position: relative;
}

.sort-result {
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--theme);
}

.sort-filter .cust-dropdown {
  position: relative;
}

.sort-filter .cust-dropdown::after {
  content: "\e96c";
  font-family: "icomoon" !important;
  display: block;
  position: absolute;
  font-size: 0.5rem;
  right: 0.5rem;
  top: calc(50% - 1px);
  transform: translateY(-50%);
  align-self: center;
  color: var(--theme);
  transition: all 0.4s ease-in-out;
  width: 0.5rem;
  height: 0.5rem;
}

.sort-filter-mobile {
  display: none;
  width: 100%;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

@media (max-width: 991px) {
  .sort-filter {
    display: none;
  }

  .sort-filter-mobile {
    display: flex;
  }
}

.alert.bootstrap-alert-top.alert-dismissible.alert-success p {
  margin-bottom: 0;
}

.custom-select-trigger {
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--theme);
  border-radius: 0;
  padding: 0.25rem;
  /* padding-right: 1rem; */
  background-image: none;
  background-color: transparent;
  position: relative;
}
