/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 20 2025 | 12:21:57 */
/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 


@import url("https://unpkg.com/photoswipe@5/dist/photoswipe.css");

.fixed{position:fixed!important;z-index:999}


.vehicle-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.vehicle-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    text-align: center;
    background: #fff;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

.vehicle-item img {
    width: 100%;
    max-width: 250px;
    border-radius: 5px;
}

.vehicle-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.vehicle-item p {
    font-size: 14px;
    color: #666;
}






/* Grid container */
.vehicles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start; /* or center */
}



/* Vehicle image at top */
.vehicle-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Card content below the image */
.vehicle-card-content {
  padding: 20px;
}

/* Title (make/model/body) */
.vehicle-title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
}
.vehicle-title a {
  text-decoration: none;
  color: #333;
}

/* Price in bold orange */
.vehicle-price {
  color: #F36B25;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Meta row (year, transmission, fuel) */
.vehicle-meta {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;flex-wrap:wrap;
}
.vehicle-meta span {
  background: #f0f0f0;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #666;
}
.vehicle-meta span.vehicle-year{background:#f47637;color:#fff}

.vehicle-location{border-bottom: 1px solid rgba(52, 59, 74, 0.1);
	margin-bottom: 20px;padding-bottom:10px}




/* ================ Vehicle Gallery ================ */
.vehicle-gallery-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; /* for arrow positioning */
  max-width: 800px; /* optional, adjust to suit */
  margin: 0 auto;   /* center in container */
}

.vehicle-main-image img {
  max-width: 100%;
  border-radius: 8px;
}

.vehicle-thumbnails {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.vehicle-thumb {
  width: 80px;
  cursor: pointer;
  border-radius: 4px;
}

/* Arrow buttons for manual navigation */
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  color: #333;
  transform: translateY(-50%);
}
.gallery-prev {
  left: 10px;
}
.gallery-next {
  right: 10px;
}

/* ================ Features List ================ */
.vehicle-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.feature-item {
  width: 32%;
  display: flex;
  align-items: center;
}
.checkmark {
  margin-right: 5px;
  color: green;
}
.feature-text {
  /* text styling if desired */
}
/* =============================
   ADVANCED VEHICLE GALLERY
   For [vehicle_gallery]
============================= */
.advanced-vehicle-gallery {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
	border-radius:20px
}
.avg-main-slider {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}
.avg-slide {
  min-width: 100%;
  box-sizing: border-box;
}
.avg-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
	border-radius:20px;
}
/* Arrows, centered vertically on the main image */
.avg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.4);
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  z-index: 5;
}
.avg-arrow-left {
  left: 10px;
}
.avg-arrow-right {
  right: 10px;
}
.avg-arrow:hover {
  background: rgba(0,0,0,0.6);
}

/* Thumbnails row */
.avg-thumbs-wrapper {
  overflow: hidden;
  margin-top: 1rem;
  text-align: center;
}
.avg-thumbs {
  display: inline-flex;
  gap: 5px;
}
.avg-thumb {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.avg-thumb img {
  display: block;
  width: 80px;
  border-radius: 4px;
}
/* Active thumb highlight */
.avg-thumb-active {
  opacity: 1.0!important;
}

/* =============================
   FEATURES LIST (2 columns)
   For [vehicle_features]
============================= */
.vehicle-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.feature-item {
  width: 32%;
  display: flex;
  align-items: center;
}
.checkmark {
  margin-right: 5px;
  color: green;
}
.feature-text {
  /* optional text styling */
}


/* Thumbnails container */
.avg-thumbs-wrapper {
  overflow-x: auto; /* Allows horizontal scrolling */
  overflow-y: hidden; /* Hide any vertical scrollbar */
  white-space: nowrap; /* Prevents thumbs from wrapping to next line */
  margin-top: 1rem;
  padding-bottom: 0.5rem; /* Add a little space for the scrollbar area */
}

/* Thumbnails row */
.avg-thumbs {
  display: inline-flex;
  gap: 5px; /* space between thumbs */
  min-width: max-content; /* Ensures the row is only as wide as needed */
}

/* Each thumbnail */
.avg-thumb {
  display: inline-block;
  width: 80px; /* or min-width: 80px if you prefer */
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.avg-thumb:hover {
  opacity: 1.0;
}
.avg-thumb img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

/* Optional: If you want a custom scrollbar style (WebKit only) */
.avg-thumbs-wrapper::-webkit-scrollbar {
  height: 8px; /* scrollbar thickness */
}
.avg-thumbs-wrapper::-webkit-scrollbar-track {
  background: #f0f0f0; /* track color */
}
.avg-thumbs-wrapper::-webkit-scrollbar-thumb {
  background: #ccc; /* scrollbar thumb color */
  border-radius: 4px;
}
.avg-thumbs-wrapper::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}



/* =========================
   Vehicles Filter Form Styles
========================= */
/*.vehicles-filter-form {
  margin: 20px 0;
  padding: 20px;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: Arial, sans-serif;
}*/

.vehicles-filter-form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.vehicles-filter-form select,
.vehicles-filter-form input[type="number"], .filter-bottom-row select {
  width: 100%;
  box-shadow: 1px 1px 0 0 rgba(196, 196, 196, 0.24);
    background: #fff;
    border-radius: 10px;
    position: relative;
    padding: 10px 20px;
    min-height: 51px;
    margin: 0;
    font-size: 14px;
    line-height: 16px;
    width: 100%;
    color: #2f3b48;
    border: 1px solid #e7e7e7;
  box-sizing: border-box;
	font-family: 'Muli', Arial, Helvetica, sans-serif !important;
}

.vehicles-filter-form .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.vehicles-filter-form .filter-row > div {
  flex: 1 1 250px; 
}

.vehicles-filter-form button[type="submit"] {
  background: #F36B25;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.vehicles-filter-form button[type="submit"]:hover {
  background: #d9551e;
}

/* Multi-select fields */
.vehicles-filter-form select[multiple] {
  min-height: 100px;
}

/* =========================
   Vehicles Grid Styles
========================= */
.vehicles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.vehicle-card {
  background: #fff;
  border: 1px solid #e7edf3;
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
	flex: 1 1 calc(25% - 22px);
	transition:0.3s!important;max-width:341px;
}

.vehicle-card img.vehicle-image {
  width: 100%;
  display: block;
}

.vehicle-card-content {
  padding: 10px 22px 22px 22px;
  text-align: start;
}

.vehicle-title {
  font-size: 20px;
	text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.vehicle-price {
  font-size: 20px;
    font-weight: 800;
    padding-bottom: 10px;
    line-height: 24px;
    margin-left: auto;
    color: #0f141e;
}

.vehicle-meta span {
  background: #f0f0f0;
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 14px;
  margin-right: 5px;
}
.filter-toggle-btn{display:none;width: 100%;
    background: #fff;
    height: 53px;
    text-align: center;
    color: #2f3b48;
    font-size: 15px;
    line-height: 19px;
    border-radius: 10px;
    box-shadow: 1px 1px 0 0 rgba(196, 196, 196, 0.24);
    border: 1px solid #e7edf3;}

.vehicle-price .original-price{font-size:18px!important}

.vehicle-price .sale-price{font-weight:800!important}




/* Style for custom select dropdown caret */
.vehicles-filter-form select, .filter-bottom-row select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  padding-right: 2em; /* space for the caret */
  border: 1px solid #ccc; /* default border */
  border-radius: 10px;
}

/* Highlight select fields when a selection is made */
.vehicles-filter-form select.has-selection, .filter-bottom-row select.has-selection {
  border: 1px solid #f47637;font-weight:700;color:#f47637;font-family:'Muli', Arial, Helvetica, sans-serif !important;
}

/* Custom caret style */
.custom-caret {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* allows click on the select */
  font-size: 1em;
  color: #555;
}

/* When a select has a value, hide the custom caret (handled via jQuery) */
.vehicles-filter-form select.has-selection + .custom-caret {
  display: none;
}

/* Style for the reset icon */
.reset-filter {
  cursor: pointer;
  color: #f47637; /* example color for the reset icon */
  margin-left: 5px;
  font-weight: bold;
}

/* Optional: Adjust positioning for the reset icon if needed */
.vehicles-filter-form select.has-selection + .reset-filter {
  display: inline;
}

/* Additional styles for the filter form layout */
.vehicles-filter-form {
  position: relative;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-row > div {
  position: relative;
  flex: 1;
  min-width: 100px;
}



.filter-container{background: #f2f5fb;
    border-bottom: 1px solid #e7e9ee;display: flex;justify-content: center;padding:50px 5%}
.filtered-vehicles{display:flex;justify-content:center;padding: 50px 5%}
.filter-container form, .vehicles-grid{max-width:1428px!important}

.vehicle-card:hover{border-color:#f47637!important}

/*Bottom Row CSS*/
.filter-bottom-row{padding: 20px 0px;display: flex;justify-content: space-between;border-bottom: 1px solid #e7e7e7;align-items:center;margin:auto;max-width:1428px!important}

.search-field {
    position: relative;display:flex;align-items:center
}
.search-field input {
    padding-right: 35px;
}
.search-field .search-icon {
    position: absolute;
    right: 17px;
    color: #000;
}

.search-field .search-icon .fas.fa-search{font-size:17px}

.results-count{font-weight:900;font-size:30px}
.search-field input{border: 1px solid #fff;
    border-radius: 10px;
    background: #fff;
    color: #2f3b48;
    height: 51px;
    padding-left: 26px;
font-size: 17px;border:1px solid #e7e7e7;width:400px}

.icon-fix .elementor-icon-box-icon{margin-top:8px!important}

.vehicle-card {
  position: relative; /* needed for absolutely positioned ribbons */
  overflow: hidden;   /* if you want to clip the ribbon edges */
}

/* Common ribbon styles */
.ribbon {
  position: absolute;
  top: 15px; 
  left: -45px; 
  width: 150px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 5px 0;
  transform: rotate(-45deg);
  z-index: 5;
}

/* Orange background for "In Transit" */
.ribbon-transit {
  background-color: #f47637;
}

/* Blue background for "Sale" */
.ribbon-sale {
  background-color: #ff0000;
}

/* If you need to show both ribbons at once, 
   you might want to offset them so they don't overlap. */
.ribbon-transit {
  top: 15px; 
}
.ribbon-sale {
  top: 15px; /* Move down a bit so it doesn't overlap the transit ribbon */
}

.vehicle-badge {
  padding: 6px 20px;
    font-weight: bold;
    color: #fff;
    margin: 5px;
  text-transform: uppercase;
	position: absolute;
    z-index: 99;
    border-radius: 14px;
    border: 1px solid #fff;
    left: 10px;
    top: 10px;
}
.vehicle-badge-transit {
  background-color: #f47637; /* Orange */
}
.vehicle-badge-sale {
  background-color: #2980b9; /* Blue */
}

.vehicle-safety-stars i {
  color: #f4c150; /* gold star color */
  margin-right: 2px;
}
.original-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 5px;
}
.sale-price {
  color: red;
  font-weight: bold;
}

.whatsapp-button {
    background-color: #25D366;
    transition: background-color 0.3s ease;
    position: relative;
    width: 100%;
    display: inline-block;
    font-size: 17px;
    line-height: 21px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    cursor: pointer;
    padding: 16px 25px 16px 25px;
    overflow: hidden;
    vertical-align: top;
    border-radius: 10px;
}

.whatsapp-button i {
    margin-right: 8px;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
	color:#fff!important
}


.hidden-cancel .elementor-hidden-phone{display:block!important}

.hide-button .vehica-button--menu-submit{display:none!important}

.original-price{font-size:24px!important}


.my-call-button i {
  margin-right: 5px; /* small gap between icon and text */
}

/* If you need a hover effect, e.g.: */
.my-call-button:hover {
  background-color: #F47637;
  color: #fff;
}





.search-and-sort{display:flex;align-items:center;gap:20px;flex-direction:row-reverse}
	
	
	.sort-field{display:flex;position:relative;align-items:center;}
	.sort-field label{width:80px}
	.sort-field select{width:200px}

.vehica-menu__wrapper .vehica-menu > .menu-item{margin: 0px 15px!important}
.vehica-menu__wrapper .vehica-menu > .menu-item-has-children > .vehica-menu__link:after{margin-left:10px!important}

/* ——————————————————————————————— */
/* Make the entire overlay black */
.pswp,
.pswp__bg,
.pswp__scroll-wrap {
  background-color: #000 !important;
}

/* Ensure the image never stretches and always fits inside the viewport */
.pswp img {
  object-fit: contain !important;
  /*.width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100vh !important;
  margin: 0 auto !important;  /* centre it horizontally */
}*/

.pswp__img--placeholder{display:none!important;opacity:0!important}




@media (max-width: 1500px){
	.filter-bottom-row{margin: 0px 5%}
	.filtered-vehicles-grid{justify-content:space-evenly}
	.vehica-menu__wrapper .vehica-menu > .menu-item{margin: 0px 15px!important}
}

.lightbox .lb-image{border-radius:20px!important;border:none!important}



@media (max-width: 1224px){
	.vehica-mobile-menu__hamburger{align-items:end}
	.vehica-mobile-menu__hamburger svg{width: 100%;
    height: 40px;padding: 10px;
    background: #fff;
    border-radius: 10px;}
	
	.my-call-button {
  background-color: #F4763700; /* or #F47637 if you want a solid color */
  border: 1px solid var(--e-global-color-primary);
  display: inline-block;
  font-size: 14px;
  line-height: 21px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 10px;
  margin-right: 10px; /* space before the hamburger, if desired */
  text-decoration: none; /* remove link underline */
		position: absolute;
    right: 70px;margin-top:-5px
}
	
	.vehicle-card{flex:1 1 calc(33% - 22px)}
}


/* Responsive adjustments */
@media (max-width: 1024px) {
	.filter-bottom-row{flex-direction: column-reverse; gap: 20px; margin-top: 20px;}
	.search-and-sort{flex-direction:column-reverse;width:100%}
	.search-field input{width:100%}
	.search-field{width:100%}
	
}



	
@media (max-width: 768px) {
  .vehicle-card {
    width: 100%;
  }
	.filter-container{background:#fff}
	.vehicles-filter-form .filter-row > div {
    flex: 1 1 100%;
  }
	.filter-container {
    display: none; /* or keep the default 'none' for all devices */
  }
	.filter-toggle-btn{display:block;margin: 50px auto 0px;}
	.vehicle-card{flex:0 1 auto;max-width:100%}
	.vehicles-grid{width:100%}
	.vehica-swiper-slide{width:100%!important}
	
	
	.top-listings-home .filtered-vehicles-grid{flex-wrap:wrap!important}
	.feature-item{width:48%!important}
	.cstm-calc .finance-calc-terms{justify-content:space-between;gap:15px}
	.cstm-calc .finance-calc-terms button{min-width:155px}
	
	
	
}






