
/* Showcase slider (shortcode [vehicle_showcase]) */
/* Scoped to .vgcc-showcase so it won't affect the existing grid/pagination */

.vgcc-showcase{
  width:100%;
  margin: 20px 0 30px;
}

.vgcc-showcase__title{
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 18px;
  text-align: center;
}

.vgcc-showcase__viewport{
  overflow:hidden;
}

.vgcc-showcase__track{
  display:flex;
  gap: 22px;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 10px;
  scrollbar-width: none;
}
.vgcc-showcase__track::-webkit-scrollbar{ display:none; }

.vgcc-showcase__card{
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 44px) / 3);
  background: #f2f2f2;
  border-radius: 2px;
  min-height: 420px;
  display:flex;
}
@media (max-width: 1024px){
  .vgcc-showcase__card{ flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 640px){
  .vgcc-showcase__card{ flex-basis: 85%; }
}

.vgcc-showcase__link{
  display:flex;
  flex-direction: column;
  width:100%;
  padding: 28px 28px 18px;
  text-decoration:none;
  color: inherit;
}

.vgcc-showcase__card-title{
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
}

.vgcc-showcase__image-wrap{
  flex: 1 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}

.vgcc-showcase__image{
  max-width: 100%;
  height: auto;
  display:block;
}

.vgcc-showcase__prices{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  align-items: baseline;
}

.vgcc-showcase__price{
  font-weight:700;
}
.vgcc-showcase__price2{
  opacity:.75;
  text-decoration: line-through;
}

.vgcc-showcase__btn{
  margin-top: 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,.25);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  width: fit-content;
}

/* Controls row: arrows at far left/right, progress in the middle (like your screenshot) */
.vgcc-showcase__controls{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-top: 16px;
}

.vgcc-showcase__arrow{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #f2f2f2;
  border: 1px solid rgba(0,0,0,.25);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.vgcc-showcase__arrow span{
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
}

.vgcc-showcase__progress{
  position: relative;
  height: 3px;
  background: rgba(0,0,0,.12);
  flex: 1 1 auto;
  border-radius: 999px;
  overflow:hidden;
}
.vgcc-showcase__progress span{
  position:absolute;
  left:0; top:0; bottom:0;
  width: 0%;
  background: #0aa3b8;
}

