/* =========================================================
   VSCL SINGLE LISTING CSS — CLEAN FINAL v57
   Fixed:
   1) Main gallery full-width preserved
   2) Search Results desktop flexible for all desktop widths
   3) Search Results cards wide / not squeezed / not cut
   4) Mobile top action buttons fit text like before
   5) Empty vehicle detail rows hidden when JS adds .is-vscl-empty
   6) Desktop vehicle detail text slightly smaller to avoid ugly breaks
   7) Tablet + mobile preserved
========================================================= */

.vscl-single-v3,
.vscl-single-v3 *{
  box-sizing:border-box;
}

.vscl-single-v3{
  max-width:1440px;
  width:100%;
  margin:28px auto 56px;
  padding:0 20px;
  color:#141414;
  overflow:visible;
}

/* =========================
   TOP / TITLE / ACTIONS
========================= */

.vscl-single-v3__top{
  margin-bottom:22px;
}

.vscl-single-v3__title-block h1{
  margin:0;
  font-size:40px;
  line-height:1.08;
  letter-spacing:-.03em;
  font-weight:800;
  color:#111;
}

.vscl-single-v3__added{
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#4b5563;
  font-size:13px;
  font-weight:700;
  letter-spacing:.1em;
}

.vscl-single-v3__added-icon,
.vscl-single-v3__added-icon svg,
.vscl-single-v3__added-icon img{
  width:20px;
  height:20px;
  color:#d71920;
  display:block;
}

.vscl-single-v3__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
  position:relative;
  z-index:40;
  overflow:visible;
}

.vscl-single-v3 .vscl-single-pill-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:0 18px;
  border-radius:999px !important;
  border:1.5px solid #d71920 !important;
  background:#fff !important;
  color:#d71920 !important;
  font-size:15px !important;
  font-weight:700 !important;
  cursor:pointer;
  transition:.2s ease;
  text-decoration:none !important;
  box-shadow:none !important;
  white-space:nowrap;
}

.vscl-single-v3 .vscl-single-pill-btn:hover,
.vscl-single-v3 .vscl-single-pill-btn.is-active{
  background:#d71920 !important;
  color:#fff !important;
  border-color:#d71920 !important;
}

.vscl-single-pill-btn__icon,
.vscl-single-pill-btn__icon svg,
.vscl-single-pill-btn__icon img{
  width:18px;
  height:18px;
  display:block;
  color:currentColor;
  filter:none !important;
}

/* =========================
   SHARE MENU
========================= */

.vscl-single-share-wrap{
  position:relative;
  z-index:120;
  overflow:visible;
}

.vscl-single-share-menu{
  position:absolute;
  left:0;
  top:calc(100% + 12px);
  background:#fff;
  border:1px solid #eceff3;
  box-shadow:0 18px 48px rgba(16,24,40,.08);
  border-radius:16px;
  padding:12px;
  display:grid;
  grid-template-columns:repeat(2,64px);
  gap:12px;
  z-index:99999;
}

.vscl-single-share-menu[hidden]{
  display:none !important;
}

.vscl-single-share-menu a,
.vscl-single-share-menu button{
  width:64px;
  height:64px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid #d71920;
  color:#d71920;
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
  padding:0;
}

.vscl-single-share-menu a:hover,
.vscl-single-share-menu button:hover{
  background:#d71920;
  color:#fff;
}

.vscl-share-ico{
  display:flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  font-size:26px;
  line-height:1;
}

.vscl-share-ico svg{
  width:28px;
  height:28px;
  display:block;
}

.vscl-share-ico--more{
  font-size:34px;
  font-weight:700;
  line-height:1;
}

/* =========================
   MAIN GALLERY FULL WIDTH
========================= */

.vscl-single-v3__gallery{
  position:relative;
  left:50%;
  width:100vw;
  max-width:none;
  margin-left:-50vw;
  margin-right:0;
  margin-top:22px;
  padding:0;
  overflow:hidden;
}

.vscl-single-v3__gallery-viewport{
  width:100vw;
  max-width:100vw;
  overflow:hidden;
}

.vscl-single-v3__gallery-track{
  display:flex;
  width:100%;
  gap:0;
  transition:transform .28s ease;
  will-change:transform;
}

.vscl-single-v3__gallery-item{
  flex:0 0 25%;
  max-width:25%;
  padding:0;
  margin:0;
  min-width:0;
}

.vscl-single-v3__gallery-item img,
.vscl-single-v3__gallery-item .vscl-placeholder{
  display:block;
  width:100%;
  height:440px;
  object-fit:cover;
  background:#edf1f5;
  border-radius:0;
  margin:0;
}

/* =========================
   ARROWS GLOBAL
========================= */

.vscl-single-v3__gallery-arrow,
.vscl-single-v3__mini-arrow,
.vscl-single-v3__lightbox-nav,
.vscl-single-v3__lightbox-close{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  box-sizing:border-box !important;
  line-height:1 !important;
  text-align:center !important;
  aspect-ratio:1 / 1 !important;
  overflow:hidden !important;
  flex-shrink:0 !important;
}

.vscl-single-v3__gallery-arrow{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  min-height:48px !important;
  background:rgba(59,65,75,.82) !important;
  backdrop-filter:blur(4px);
  color:#fff !important;
  cursor:pointer;
  z-index:10 !important;
  font-size:0 !important;
}

.vscl-single-v3__gallery-arrow.is-prev{
  left:14px !important;
}

.vscl-single-v3__gallery-arrow.is-next{
  right:14px !important;
}

.vscl-single-v3__gallery-arrow::before,
.vscl-single-v3__mini-arrow::before{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  position:static;
  transform:none;
  line-height:1;
  color:#fff;
  font-weight:400;
  font-size:28px;
}

.vscl-single-v3__gallery-arrow.is-prev::before,
.vscl-single-v3__mini-arrow.is-prev::before{
  content:'‹';
}

.vscl-single-v3__gallery-arrow.is-next::before,
.vscl-single-v3__mini-arrow.is-next::before{
  content:'›';
}

.vscl-single-v3__gallery-arrow:hover,
.vscl-single-v3__gallery-arrow:focus,
.vscl-single-v3__mini-arrow:hover,
.vscl-single-v3__mini-arrow:focus{
  background:#d71920 !important;
  color:#fff !important;
  outline:none !important;
}

@media (min-width:1181px){
  .vscl-single-v3__gallery[data-vscl-gallery-count="1"] .vscl-single-v3__gallery-item{
    flex:0 0 100% !important;
    max-width:100% !important;
  }

  .vscl-single-v3__gallery[data-vscl-gallery-count="2"] .vscl-single-v3__gallery-item{
    flex:0 0 50% !important;
    max-width:50% !important;
  }

  .vscl-single-v3__gallery[data-vscl-gallery-count="3"] .vscl-single-v3__gallery-item{
    flex:0 0 33.333333% !important;
    max-width:33.333333% !important;
  }
}

/* =========================
   CONTENT LAYOUT
========================= */

.vscl-single-v3__content-row{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(320px,.8fr);
  gap:34px;
  align-items:start;
  margin-top:34px;
  overflow:visible;
}

.vscl-single-v3__main-col,
.vscl-single-v3__side-col{
  min-width:0;
  overflow:visible;
}

.vscl-single-v3__side-col{
  display:grid;
  gap:24px;
  align-content:start;
}

.vscl-single-v3__section{
  margin-top:48px;
  margin-bottom:40px;
}

.vscl-single-v3__section h2,
.vscl-single-v3__similar h2{
  margin:0 0 18px;
  font-size:30px;
  line-height:1.1;
  letter-spacing:-.03em;
  color:#111;
}

/* =========================
   DETAILS
========================= */

.vscl-single-v3__details-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.vscl-single-v3__detail-col{
  border-top:1px solid #e7ebef;
}

.vscl-single-v3__detail-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:18px 0;
  border-bottom:1px solid #e7ebef;
  font-size:15px;
  min-width:0;
}

.vscl-single-v3__detail-row.is-vscl-empty,
.vscl-single-v3__detail-row.is-empty,
.vscl-single-v3__detail-row[data-empty="1"]{
  display:none !important;
}

.vscl-single-v3__detail-col.is-vscl-empty,
.vscl-single-v3__detail-col.is-empty,
.vscl-single-v3__detail-col[data-empty="1"]{
  display:none !important;
}

.vscl-single-v3__detail-label{
  display:flex;
  align-items:center;
  gap:10px;
  color:#5c6673;
  font-weight:600;
  min-width:0;
}

.vscl-single-v3__detail-icon,
.vscl-single-v3__detail-icon svg,
.vscl-single-v3__detail-icon img{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#d71920 !important;
}

.vscl-single-v3__detail-icon img{
  object-fit:contain;
  filter:brightness(0) saturate(100%) invert(18%) sepia(95%) saturate(4227%) hue-rotate(345deg) brightness(84%) contrast(99%) !important;
}

.vscl-single-v3__detail-value{
  font-weight:600;
  color:#20252c;
  text-align:right;
  min-width:0;
  word-break:break-word;
}

/* =========================
   PRICE CARD
========================= */

.vscl-single-v3__price-card{
  overflow:hidden;
  border-radius:20px;
  box-shadow:0 18px 48px rgba(16,24,40,.08);
  margin-top:0;
}

.vscl-single-v3__price-top{
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#111;
  color:#fff;
}

.vscl-single-v3__price-left,
.vscl-single-v3__price-right{
  padding:18px 20px;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.vscl-single-v3__price-left{
  border-right:1px solid rgba(255,255,255,.15);
}

.vscl-single-v3__price-kicker{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  color:#f4d4d6;
}

.vscl-single-v3__price-old{
  text-decoration:line-through;
  color:#fff;
  font-weight:700;
  font-size:18px;
  opacity:.85;
}

.vscl-single-v3__price-small{
  font-size:15px;
  color:#fff;
  opacity:.92;
}

.vscl-single-v3__price-main{
  font-size:34px;
  line-height:1;
  font-weight:900;
  color:#fff;
}

.vscl-single-v3__price-savings{
  display:flex;
  justify-content:center;
  gap:8px;
  align-items:center;
  background:#d71920;
  color:#fff;
  padding:12px 18px;
  font-weight:800;
}

/* =========================
   SIDE ACTIONS
========================= */

.vscl-single-v3__side-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:0;
}

.vscl-single-v3__ghost-btn,
.vscl-single-v3__ghost-btn:visited,
.vscl-single-v3__ghost-btn:focus,
.vscl-single-v3__ghost-btn:active{
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  border:1px solid #cfd6de !important;
  background:#fff !important;
  color:#111 !important;
  text-decoration:none;
  font-weight:700;
}

.vscl-single-v3__ghost-btn-icon{
  color:#d71920 !important;
}

.vscl-single-v3__ghost-btn:hover,
.vscl-single-v3__ghost-btn.is-active{
  background:#d71920 !important;
  color:#fff !important;
  border-color:#d71920 !important;
}

.vscl-single-v3__ghost-btn:hover .vscl-single-v3__ghost-btn-icon,
.vscl-single-v3__ghost-btn.is-active .vscl-single-v3__ghost-btn-icon{
  color:#fff !important;
}

/* =========================
   FEATURES / NOTES
========================= */

.vscl-single-v3__feature-groups{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.vscl-single-v3__feature-group{
  border:1px solid #eceff3;
  border-radius:18px;
  padding:18px 18px 14px;
  background:#fff;
}

.vscl-single-v3__feature-group h3{
  margin:0 0 12px;
  font-size:21px;
  color:#111;
  font-weight:800;
}

.vscl-single-v3__feature-list{
  display:grid;
  gap:10px;
}

.vscl-single-v3__feature-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:400;
  color:#374151;
}

.vscl-single-v3__feature-check{
  width:20px;
  height:20px;
  border-radius:6px;
  background:#d71920;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  flex:0 0 20px;
  line-height:1;
}

.vscl-single-v3__notes{
  font-size:17px;
  color:#374151;
  line-height:1.75;
}

/* =========================
   FORM
========================= */

.vscl-single-v3__message-form{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.vscl-single-v3__message-form label{
  display:grid;
  gap:8px;
  font-weight:700;
  color:#111;
}

.vscl-single-v3__message-form .is-full{
  grid-column:1/-1;
}

.vscl-single-v3__message-form textarea,
.vscl-single-v3__message-form input{
  border:1px solid #d6dce3;
  border-radius:14px;
  background:#fff;
  min-height:52px;
  padding:14px 16px;
  font-size:15px;
  color:#111;
}

.vscl-single-v3__message-form textarea{
  min-height:130px;
  resize:vertical;
}

.vscl-single-v3__agree{
  display:flex !important;
  align-items:center !important;
  gap:10px;
}

.vscl-single-v3__agree input{
  appearance:none;
  -webkit-appearance:none;
  width:18px;
  height:18px;
  min-width:18px;
  min-height:18px;
  border-radius:4px;
  border:1px solid #cfd6de;
  position:relative;
  padding:0;
  display:grid;
  place-items:center;
  flex:0 0 18px;
  margin:0;
}

.vscl-single-v3__agree input:checked{
  background:#d71920 !important;
  border-color:#d71920 !important;
}

.vscl-single-v3__agree input:checked:after{
  content:"✓";
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:12px;
  line-height:1;
}

.vscl-single-v3__agree-note em,
.vscl-single-v3__agree-note a,
.vscl-single-v3__agree-note em a{
  color:#d71920 !important;
  font-style:normal;
  font-weight:700;
}

.vscl-single-v3__submit{
  min-height:54px;
  border-radius:14px;
  background:#111;
  color:#d71920;
  font-weight:800;
  border:0;
  cursor:pointer;
}

.vscl-single-v3__submit:hover{
  background:#1a1a1a;
}

/* =========================
   SIMILAR
========================= */

.vscl-single-v3__similar{
  margin-top:0;
}

.vscl-single-v3__similar h2{
  margin-top:26px;
}

.vscl-single-v3__similar-list{
  display:grid;
  gap:12px;
}

.vscl-single-v3__similar-item{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:12px;
  align-items:center;
  text-decoration:none;
  padding:12px;
  border:1px solid #eceff3;
  border-radius:16px;
  background:#fff;
}

.vscl-single-v3__similar-thumb img,
.vscl-single-v3__similar-thumb .vscl-placeholder{
  width:92px;
  height:72px;
  border-radius:12px;
  object-fit:cover;
  display:block;
  background:#edf1f5;
}

.vscl-single-v3__similar-copy strong{
  display:block;
  color:#111;
  font-size:15px;
  line-height:1.35;
}

.vscl-single-v3__similar-copy em{
  display:block;
  color:#d71920;
  font-style:normal;
  font-weight:800;
  margin-top:6px;
}

/* =========================================================
   SEARCH RESULTS — DESKTOP FLEXIBLE FIX
========================================================= */

.vscl-single-v3__search-full{
  position:relative !important;
  width:100%;
  max-width:100%;
  margin:52px 0 0;
  padding:0;
  overflow:visible !important;
  box-sizing:border-box;
}

@media (min-width:1181px){
  html,
  body{
    overflow-x:hidden !important;
  }

  .single-vscl_listing .vscl-single-v3,
  .single-vscl_listing .vscl-single-v3__content-row,
  .single-vscl_listing .vscl-single-v3__main-col,
  .single-vscl_listing .vscl-single-v3__search-full{
    overflow:visible !important;
  }

  .single-vscl_listing .vscl-single-v3__search-full,
  .vscl-single-v3__search-full{
    left:auto !important;
    right:auto !important;
    transform:none !important;
    width:min(calc(100vw - 40px), calc(150% + 28px)) !important;
    max-width:min(calc(100vw - 40px), calc(150% + 28px)) !important;
    margin:56px 0 0 0 !important;
    padding:0 !important;
  }
}

.vscl-single-v3__search-results-link,
.vscl-single-v3__search-results-link:visited,
.vscl-single-v3__search-results-link:focus,
.vscl-single-v3__search-results-link:active{
  display:inline-flex !important;
  align-items:center !important;
  gap:12px !important;
  margin:0 0 18px 0 !important;
  padding:0 !important;
  color:#111 !important;
  text-decoration:none !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  font-size:28px !important;
  line-height:1.12 !important;
  font-weight:800 !important;
  white-space:normal !important;
}

.vscl-single-v3__search-results-link:hover{
  color:#d71920 !important;
}

.vscl-single-v3__search-results-icon,
.vscl-single-v3__search-results-icon svg,
.vscl-single-v3__search-results-icon img{
  width:24px !important;
  height:24px !important;
  flex:0 0 24px !important;
  display:block !important;
  color:currentColor !important;
}

.vscl-single-v3__mini-slider{
  position:relative !important;
  width:100% !important;
  max-width:100% !important;
  padding:0 64px !important;
  margin:0 !important;
  box-sizing:border-box !important;
  overflow:visible !important;
}

.vscl-single-v3__mini-viewport{
  width:100% !important;
  max-width:100% !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}

.vscl-single-v3__mini-track{
  display:flex !important;
  width:100% !important;
  max-width:none !important;
  gap:0 !important;
  transition:transform .28s ease !important;
  will-change:transform !important;
  box-sizing:border-box !important;
}

.vscl-single-v3__mini-card{
  flex:0 0 25% !important;
  max-width:25% !important;
  min-width:0 !important;
  padding:0 12px !important;
  margin:0 !important;
  box-sizing:border-box !important;
  color:inherit !important;
  text-decoration:none !important;
}

.vscl-single-v3__mini-card-inner{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
  border:1px solid #d8dde5 !important;
  border-radius:16px !important;
  overflow:hidden !important;
  background:#fff !important;
  box-sizing:border-box !important;
}

.vscl-single-v3__mini-media{
  display:block !important;
  position:relative !important;
  width:100% !important;
  overflow:hidden !important;
  border-radius:0 !important;
  background:#edf1f5 !important;
}

.vscl-single-v3__mini-media img,
.vscl-single-v3__mini-media .vscl-placeholder{
  display:block !important;
  width:100% !important;
  height:250px !important;
  object-fit:cover !important;
  border-radius:0 !important;
  background:#edf1f5 !important;
}

.vscl-single-v3__mini-meta{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  min-width:0 !important;
  min-height:92px !important;
  padding:14px 18px !important;
  background:#fff !important;
  box-sizing:border-box !important;
}

.vscl-single-v3__mini-brand,
.vscl-single-v3__mini-meta img{
  width:42px !important;
  height:42px !important;
  flex:0 0 42px !important;
  object-fit:contain !important;
  border-radius:0 !important;
}

.vscl-single-v3__mini-title,
.vscl-single-v3__mini-meta span:last-child{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  min-width:0 !important;
  max-width:100% !important;
  font-size:17px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
  white-space:normal !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  color:#111 !important;
}

.vscl-single-v3__mini-pricebox{
  position:absolute !important;
  left:14px !important;
  bottom:14px !important;
  max-width:calc(100% - 28px) !important;
  background:rgba(28,32,39,.68) !important;
  backdrop-filter:blur(5px) !important;
  border-radius:14px !important;
  padding:10px 12px !important;
  color:#fff !important;
  display:grid !important;
  gap:3px !important;
}

.vscl-single-v3__mini-pricebox small{
  font-size:11px !important;
  line-height:1.2 !important;
  opacity:.95 !important;
}

.vscl-single-v3__mini-pricebox small s{
  text-decoration:line-through;
  opacity:.9;
}

.vscl-single-v3__mini-pricebox strong{
  font-size:18px !important;
  line-height:1.15 !important;
}

.vscl-single-v3__mini-arrow{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  min-height:48px !important;
  background:rgba(59,65,75,.82) !important;
  color:#fff !important;
  z-index:20 !important;
  font-size:0 !important;
  cursor:pointer !important;
  backdrop-filter:blur(4px);
}

.vscl-single-v3__mini-arrow.is-prev{
  left:0 !important;
}

.vscl-single-v3__mini-arrow.is-next{
  right:0 !important;
}

/* =========================
   LIGHTBOX / THUMBS
========================= */

.vscl-single-v3__desktop-thumbs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin:18px 0 8px;
}

.vscl-single-v3__thumb{
  width:88px;
  height:88px;
  padding:0;
  border:2px solid rgba(17,17,17,.1);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  cursor:pointer;
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.vscl-single-v3__thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.vscl-single-v3__thumb:hover,
.vscl-single-v3__thumb.is-active{
  border-color:#d71920;
  box-shadow:0 8px 20px rgba(215,25,32,.14);
  transform:translateY(-1px);
}

.vscl-single-v3__lightbox{
  position:fixed;
  inset:0;
  z-index:999999;
  background:rgba(8,10,14,.82);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:36px;
}

.vscl-single-v3__lightbox[hidden]{
  display:none !important;
}

.vscl-single-v3__lightbox-image{
  max-width:min(92vw,1400px);
  max-height:88vh;
  width:auto;
  height:auto;
  display:block;
  border-radius:18px;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
  background:#fff;
}

.vscl-single-v3__lightbox-close{
  position:absolute !important;
  top:18px !important;
  right:18px !important;
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  min-height:52px !important;
  background:#d71920 !important;
  color:#fff !important;
  font-size:30px !important;
  z-index:13 !important;
  box-shadow:none !important;
  cursor:pointer;
}

.vscl-single-v3__lightbox-close:hover,
.vscl-single-v3__lightbox-close:focus{
  background:#b91117 !important;
  color:#fff !important;
  outline:none !important;
}

.vscl-single-v3__lightbox-nav{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:58px !important;
  height:58px !important;
  min-width:58px !important;
  min-height:58px !important;
  background:#d71920 !important;
  color:#fff !important;
  font-size:44px !important;
  z-index:12 !important;
  box-shadow:0 18px 40px rgba(0,0,0,.25) !important;
  cursor:pointer;
}

.vscl-single-v3__lightbox-nav.is-prev{
  left:22px !important;
}

.vscl-single-v3__lightbox-nav.is-next{
  right:22px !important;
}

.vscl-single-v3__lightbox-nav:hover,
.vscl-single-v3__lightbox-nav:focus{
  background:#b91117 !important;
  color:#fff !important;
  outline:none !important;
}

body.vscl-lightbox-open{
  overflow:hidden;
}

body.vscl-lightbox-open .vscl-single-v3__gallery,
body.vscl-lightbox-open .vscl-single-v3__desktop-thumbs{
  pointer-events:none;
}

/* =========================================================
   SMALL DESKTOP / LAPTOP
========================================================= */

@media (min-width:1181px) and (max-width:1360px){
  .vscl-single-v3{
    padding-left:18px;
    padding-right:18px;
  }

  .single-vscl_listing .vscl-single-v3__search-full,
  .vscl-single-v3__search-full{
    width:min(calc(100vw - 36px), calc(150% + 24px)) !important;
    max-width:min(calc(100vw - 36px), calc(150% + 24px)) !important;
  }

  .vscl-single-v3__mini-slider{
    padding:0 54px !important;
  }

  .vscl-single-v3__mini-card{
    padding:0 10px !important;
  }

  .vscl-single-v3__mini-media img,
  .vscl-single-v3__mini-media .vscl-placeholder{
    height:230px !important;
  }

  .vscl-single-v3__mini-title,
  .vscl-single-v3__mini-meta span:last-child{
    font-size:15px !important;
  }
}

/* =========================================================
   VEHICLE DETAILS DESKTOP TEXT FIX
========================================================= */

@media (min-width:1181px){
  .vscl-single-v3__vehicle-details .vscl-single-v3__details-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:24px 30px !important;
  }

  .vscl-single-v3__vehicle-details .vscl-single-v3__detail-row{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:12px !important;
    padding:15px 0 !important;
    min-width:0 !important;
  }

  .vscl-single-v3__vehicle-details .vscl-single-v3__detail-row.is-vscl-empty,
  .vscl-single-v3__vehicle-details .vscl-single-v3__detail-row.is-empty,
  .vscl-single-v3__vehicle-details .vscl-single-v3__detail-row[data-empty="1"]{
    display:none !important;
  }

  .vscl-single-v3__vehicle-details .vscl-single-v3__detail-label{
    min-width:0 !important;
    max-width:100% !important;
    gap:9px !important;
    font-size:14px !important;
    line-height:1.28 !important;
    font-weight:700 !important;
    color:#5c6673 !important;
  }

  .vscl-single-v3__vehicle-details .vscl-single-v3__detail-value{
    min-width:0 !important;
    max-width:145px !important;
    font-size:14px !important;
    line-height:1.22 !important;
    font-weight:800 !important;
    text-align:right !important;
    color:#111827 !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
    hyphens:none !important;
  }

  .vscl-single-v3__vehicle-details .vscl-single-v3__detail-icon,
  .vscl-single-v3__vehicle-details .vscl-single-v3__detail-icon svg,
  .vscl-single-v3__vehicle-details .vscl-single-v3__detail-icon img{
    width:24px !important;
    height:24px !important;
    flex:0 0 24px !important;
  }

  .vscl-single-v3__vehicle-details .vscl-single-v3__detail-icon img{
    object-fit:contain !important;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width:768px) and (max-width:1180px){
  html,
  body{
    overflow-x:hidden !important;
    max-width:100%;
  }

  .vscl-single-v3{
    max-width:100%;
    padding:0 !important;
    overflow-x:hidden !important;
  }

  .vscl-single-v3__top,
  .vscl-single-v3__content-row,
  .vscl-single-v3__section,
  .vscl-single-v3__vehicle-details,
  .vscl-single-v3__car-features,
  .vscl-single-v3__seller-notes,
  .vscl-single-v3__message-section,
  .vscl-single-v3__similar{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .vscl-single-v3__title-block h1{
    font-size:34px;
  }

  .vscl-single-v3__actions{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px !important;
    align-items:center !important;
    overflow:visible !important;
  }

  .vscl-single-v3__actions > *,
  .vscl-single-v3__actions .vscl-single-share-wrap,
  .vscl-single-v3__actions .vscl-single-pill-btn{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
  }

  .vscl-single-v3 .vscl-single-pill-btn{
    width:auto !important;
    min-height:46px;
    padding:0 12px !important;
    font-size:12.5px !important;
    gap:7px;
  }

  .vscl-single-v3__gallery{
    left:50% !important;
    width:100vw !important;
    max-width:100vw !important;
    min-width:100vw !important;
    margin-left:-50vw !important;
    overflow:hidden !important;
  }

  .vscl-single-v3__gallery-viewport{
    width:100vw !important;
    max-width:100vw !important;
  }

  .vscl-single-v3__gallery-item{
    flex:0 0 33.333333% !important;
    max-width:33.333333% !important;
  }

  .vscl-single-v3__gallery[data-vscl-gallery-count="1"] .vscl-single-v3__gallery-item{
    flex:0 0 100% !important;
    max-width:100% !important;
  }

  .vscl-single-v3__gallery[data-vscl-gallery-count="2"] .vscl-single-v3__gallery-item{
    flex:0 0 50% !important;
    max-width:50% !important;
  }

  .vscl-single-v3__gallery-item img,
  .vscl-single-v3__gallery-item .vscl-placeholder{
    height:300px !important;
  }

  .vscl-single-v3__gallery-arrow{
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;
  }

  .vscl-single-v3__gallery-arrow.is-prev{
    left:10px !important;
  }

  .vscl-single-v3__gallery-arrow.is-next{
    right:10px !important;
  }

  .vscl-single-v3__gallery-arrow::before,
  .vscl-single-v3__mini-arrow::before{
    font-size:24px !important;
  }

  .vscl-single-v3__desktop-thumbs{
    display:flex !important;
    justify-content:center;
    gap:10px;
    margin:16px 0 8px;
  }

  .vscl-single-v3__thumb{
    width:72px;
    height:72px;
    border-radius:12px;
  }

  .vscl-single-v3__content-row{
    display:block !important;
    margin-top:26px;
  }

  .vscl-single-v3__price-card{
    width:min(100%,560px) !important;
    max-width:560px !important;
    margin:36px auto 18px !important;
    border-radius:16px !important;
  }

  .vscl-single-v3__details-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:0 22px !important;
  }

  .vscl-single-v3__detail-col{
    display:contents !important;
    border-top:0 !important;
  }

  .vscl-single-v3__feature-groups{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px 20px !important;
  }

  .vscl-single-v3__feature-group{
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    border-radius:0 !important;
  }

  .vscl-single-v3__side-actions{
    grid-template-columns:1fr !important;
    gap:10px !important;
    margin:18px 16px !important;
  }

  .vscl-single-v3__message-form{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:14px !important;
  }

  .vscl-single-v3__search-full{
    position:relative !important;
    left:auto !important;
    transform:none !important;
    width:100% !important;
    max-width:100% !important;
    margin:44px 0 0 !important;
    padding:0 16px !important;
    overflow:visible !important;
  }

  .vscl-single-v3__search-results-link{
    font-size:25px !important;
  }

  .vscl-single-v3__mini-slider{
    padding:0 48px !important;
  }

  .vscl-single-v3__mini-card{
    flex:0 0 50% !important;
    max-width:50% !important;
    padding:0 8px !important;
  }

  .vscl-single-v3__mini-media img,
  .vscl-single-v3__mini-media .vscl-placeholder{
    height:210px !important;
  }

  .vscl-single-v3__mini-title,
  .vscl-single-v3__mini-meta span:last-child{
    font-size:14px !important;
  }

  .vscl-single-v3__mini-arrow{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    min-height:40px !important;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:767px){
  html,
  body{
    overflow-x:hidden !important;
    max-width:100%;
  }

  .vscl-single-v3{
    max-width:100%;
    padding:0 16px;
    overflow-x:hidden;
  }

  .vscl-single-v3__title-block h1{
    font-size:30px;
  }

  .vscl-single-v3__actions{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    overflow:visible !important;
  }

  .vscl-single-pill-btn--testdrive{order:1;}
  .vscl-single-pill-btn--share{order:2;}
  .vscl-single-pill-btn--favorite{order:3;}
  .vscl-single-pill-btn--print{order:4;}

  .vscl-single-v3__actions > *,
  .vscl-single-v3__actions .vscl-single-share-wrap,
  .vscl-single-v3__actions .vscl-single-pill-btn{
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    flex:0 0 auto !important;
  }

  .vscl-single-v3 .vscl-single-pill-btn,
  .vscl-single-v3__actions .vscl-single-share-wrap .vscl-single-pill-btn{
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:44px !important;
    padding:0 12px !important;
    gap:6px !important;
    font-size:11.5px !important;
    white-space:nowrap !important;
  }

  .vscl-single-pill-btn__icon,
  .vscl-single-pill-btn__icon svg,
  .vscl-single-pill-btn__icon img{
    width:15px !important;
    height:15px !important;
    flex:0 0 15px !important;
  }

  .vscl-single-v3__gallery{
    left:50% !important;
    width:100vw !important;
    max-width:100vw !important;
    min-width:100vw !important;
    margin-left:-50vw !important;
    overflow:hidden !important;
  }

  .vscl-single-v3__gallery-viewport{
    width:100vw !important;
    max-width:100vw !important;
  }

  .vscl-single-v3__gallery-item{
    flex:0 0 100% !important;
    max-width:100% !important;
  }

  .vscl-single-v3__gallery-item img,
  .vscl-single-v3__gallery-item .vscl-placeholder{
    height:300px !important;
  }

  .vscl-single-v3__gallery-arrow{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    min-height:42px !important;
  }

  .vscl-single-v3__gallery-arrow.is-prev{
    left:8px !important;
  }

  .vscl-single-v3__gallery-arrow.is-next{
    right:8px !important;
  }

  .vscl-single-v3__desktop-thumbs{
    display:none !important;
  }

  .vscl-single-v3__price-card{
    width:100%;
    max-width:100%;
    border-radius:16px;
    margin:18px 0;
  }

  .vscl-single-v3__content-row{
    display:block;
    margin-top:24px;
  }

  .vscl-single-v3__details-grid{
    display:flex;
    flex-direction:column;
    gap:0;
  }

  .vscl-single-v3__detail-col{
    display:contents;
    border-top:0;
  }

  .vscl-single-v3__feature-groups{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 16px;
  }

  .vscl-single-v3__feature-group{
    padding:0;
    border:0;
    background:transparent;
    border-radius:0;
  }

  .vscl-single-v3__side-actions{
    grid-template-columns:1fr;
    gap:10px;
    margin:20px 0;
  }

  .vscl-single-v3__message-form{
    grid-template-columns:1fr;
    gap:14px;
  }

  .vscl-single-v3__search-full{
    position:relative !important;
    left:auto !important;
    transform:none !important;
    width:100% !important;
    max-width:100% !important;
    margin:40px 0 0 !important;
    padding:0 !important;
  }

  .vscl-single-v3__search-results-link{
    font-size:22px !important;
  }

  .vscl-single-v3__mini-slider{
    padding:0 42px !important;
  }

  .vscl-single-v3__mini-card{
    flex:0 0 100% !important;
    max-width:100% !important;
    padding:0 !important;
  }

  .vscl-single-v3__mini-card-inner{
    border-radius:18px !important;
  }

  .vscl-single-v3__mini-media{
    border-radius:18px 18px 0 0 !important;
  }

  .vscl-single-v3__mini-media img,
  .vscl-single-v3__mini-media .vscl-placeholder{
    height:240px !important;
  }

  .vscl-single-v3__mini-title,
  .vscl-single-v3__mini-meta span:last-child{
    white-space:normal !important;
    font-size:14px !important;
    -webkit-line-clamp:2 !important;
  }

  .vscl-single-v3__mini-arrow{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    min-height:40px !important;
  }

  .vscl-single-v3__lightbox-nav{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    min-height:48px !important;
    font-size:34px !important;
  }

  .vscl-single-v3__lightbox-nav.is-prev{
    left:12px !important;
  }

  .vscl-single-v3__lightbox-nav.is-next{
    right:12px !important;
  }

  .vscl-single-v3__lightbox-close{
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;
    top:12px !important;
    right:12px !important;
    font-size:24px !important;
  }
}