/* ==== GRID WRAPPER ==== */
.vdp-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

/* ==== NEW CARD ==== */
.p-relative{
  position: relative;
}
.product-listing .car-grid {
    border: 1px solid #e3e3e3;
    padding: 15px;
    background: #fff;
	width: 100%;
}

.product-listing .car-grid .car-item {
    margin-top: 0;
    min-height: inherit;
    height: auto !important;
    border-bottom: 1px solid #e3e3e3 !important;
}

.all-cars-list-arch .car-grid .car-image, .product-listing .car-grid .car-image {
    min-height: inherit;
    text-align: center;
    vertical-align: top;
}

.car-item .car-image {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    vertical-align: top;
}

.car-item .label {
    position: absolute;
    top: 0;
    left: 8px;
    top: 8px;
    background: #62e006;
    font-size: 11px !important;
    color: #fff;
    font-weight: 600;
    padding: 8px 10px;
    z-index: 4;
    text-transform: uppercase;
}

.play-video .video-info:before, .car-item .car-overlay-banner {
    background: rgba(219, 45, 46, .8) !important;
}

.car-item .car-overlay-banner {
    background: rgba(219, 45, 46, .7);
    position: absolute;
    top: -100%;
    z-index: 8;
    height: 100%;
    width: 100%;
    opacity: 0;
    -webkit-transition: all .5s ease-out 0s;
    -moz-transition: all .5s ease-out 0s;
    -ms-transition: all .5s ease-out 0s;
    -o-transition: all .5s ease-out 0s;
    transition: all .5s ease-out 0s;
}

.car-item:hover .car-overlay-banner {
    opacity: 1;
    top: 0;
}

.product-listing .car-grid .car-item .car-overlay-banner ul {
    top: 50%;
}

.car-item .car-overlay-banner ul {
    position: absolute;
    left: 0;
    right: 0;
    top: 40%;
    z-index: 99;
    padding: 0;
    margin: 0;
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
}

.car-item .car-overlay-banner ul li {
    display: inline-block;
    margin: 0 3px;
}

.car-item .car-overlay-banner ul li a {
    display: inline-block;
    background: 0 0;
    border: 2px solid #fff;
    color: #fff;
    width: 36px;
    height: 36px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
}

.product-listing .car-grid .car-title {
    padding-right: 0;
}

.product-listing .car-grid .car-title>a {
    width: 100%;
    padding-right: 110px;
}

.product-listing .car-grid .car-title p {

    font-size: 17px;
}
.product-listing .car-grid .car-title a {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    color: #363636;
}

.product-listing .car-grid .car-title a:before {
    position: absolute;
    content: "";
    width: 20px;
    height: 2px;
    background: #db2d2e;
    left: 0;
    bottom: 0;
}

.car-grid .car-details .car-price {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.car-grid .car-details .car-price>p {
    display: inline-block;
    align-self: center;
    background: #323232;
    color: #fff;
    padding: 1px 7px;
    border-radius: 2px;
    font-style: italic;
    font-size: 13px;
    margin: 0;
}

.car-grid .car-details a.button {
    padding: 3px 20px;
    position: absolute;
    top: 0;
    right: 15px;
  display: inline-flex
;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    border: 0 solid transparent;
    background: #0067FF;
    color: #fff;
    text-transform: capitalize;
    vertical-align: middle;
    overflow: hidden;
    -ms-transform: perspective(1px) translateZ(0);
    -o-transform: perspective(1px) translateZ(0);
    -moz-transform: perspective(1px) translateZ(0);
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
}

.car-details .car-price .new-price, .car-details .car-price .old-price {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #db2d2e;
}

.product-listing .car-grid .car-list {
    margin-top: 0px;
}

.product-listing .car-grid .car-list ul {
    margin-left: 0;
}

.list-inline {
    padding-left: 0;
    list-style: none;
    margin-left: -5px;
}

.list-inline>li {
    display: inline-block;
    /*padding-left: 5px;
    padding-right: 5px;*/
}

.product-listing .car-grid .car-list ul li {
    /*border: 1px solid #e3e3e3;
    padding: 5px 10px;
    margin-right: 5px;*/
}

.seller-info-title p{
  margin: 0;
  font-weight: 600;
  color: #4b4b4b;
  
}


/* ==== CARD ==== */
.vdp-card {
    width: calc(33.33% - 20px);
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.vdp-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vdp-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.vdp-card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vdp-card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #222;
    line-height: 1.3;
}

.vdp-card-info {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.vdp-card-price {
    font-size: 16px;
    font-weight: bold;
    color: #009688;
    margin-top: auto;
}

/* ==== FILTERS ==== */
#vdp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

#vdp-filters .filter-group {
    flex: 1 1 200px;
    min-width: 200px;
}

#vdp-filters label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
}

#vdp-filters select,
#vdp-filters input[type="text"],
#vdp-filters input[type="number"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    box-sizing: border-box;
}

.filter-price input.vdp-filter {
    width: 46% !important;
}

.list-group{
  margin: 0
}

.list-group li{
  width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: space-between;
}

.list-group li span{
  text-align: right;
}

.position-sticky .gform_fields{
  row-gap: 25px !important;
}

.position-sticky .gform-theme--foundation .gform_fields input{
    padding: 8px 20px; !important;
    border: 1px solid #cccccc;
    height: auto
}

.position-sticky .gform-theme--foundation .gform_button{
    padding: 15px 20px !important;
    height: auto !important;
}

.sidebar-form{
   top: 40px;
}

a.view-dealer {
    display: block;
    max-width: max-content;
}
a.view-dealer:hover{
    background: var(--ast-global-color-0);
    border-color: var(--ast-global-color-0);
}
/* ==== RESPONSIVE ==== */
@media (max-width: 1024px) {
    .vdp-card {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .vdp-card {
        width: calc(50% - 20px);
    }
   .sidebar-form{
      top: 20px;
      position: relative !important;
   }
}

@media (max-width: 480px) {
    .vdp-card {
        width: 100%;
    }

    #vdp-filters1 {
        flex-direction: column;
    }

    #vdp-filters .filter-group {
        width: 100%;
    }
}






.spinner {
   width: 56px;
   height: 56px;
   border-radius: 50%;
   border: 9px solid #1893c2;
   animation: spinner-bulqg1 0.8s infinite linear alternate,
        spinner-oaa3wk 1.6s infinite linear;
}

@keyframes spinner-bulqg1 {
   0% {
      clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
   }

   12.5% {
      clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
   }

   25% {
      clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
   }

   50% {
      clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
   }

   62.5% {
      clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
   }

   75% {
      clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%);
   }

   100% {
      clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%);
   }
}

@keyframes spinner-oaa3wk {
   0% {
      transform: scaleY(1) rotate(0deg);
   }

   49.99% {
      transform: scaleY(1) rotate(135deg);
   }

   50% {
      transform: scaleY(-1) rotate(0deg);
   }

   100% {
      transform: scaleY(-1) rotate(-135deg);
   }
}