/* Featured vehicles carousel shortcode — layout + nav (card visuals from mitchmarket-sync.css) */

.mm-featured-vehicles-section {
  --mm-fv-navy: #092053;
  max-width: 1320px;
  margin: 2rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.mm-featured-vehicles-section *,
.mm-featured-vehicles-section *::before,
.mm-featured-vehicles-section *::after {
  box-sizing: border-box;
}

.mm-featured-vehicles__header {
  margin-bottom: 1.35rem;
}

.mm-featured-vehicles__title {
  margin: 0;
  font-family: var(--mm-font-heading, 'Roboto Slab', Georgia, serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--mm-dark, var(--mm-fv-navy));
  line-height: 1.2;
}

.mm-featured-vehicles__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  margin: 0 auto;
  padding: 0.35rem 0.15rem 0.5rem;
}

.mm-featured-vehicles__viewport::-webkit-scrollbar {
  height: 6px;
}

.mm-featured-vehicles__viewport::-webkit-scrollbar-thumb {
  background: rgba(9, 32, 83, 0.18);
  border-radius: 4px;
}

.mm-featured-vehicles__track {
  display: flex;
  align-items: stretch;
  gap: 1.15rem;
  padding-bottom: 0.15rem;
}

/* Horizontal strip: fixed card width (listing grid styles stay inside .mm-card) */
.mm-featured-vehicles-section .mm-card {
  flex: 0 0 300px;
  width: 300px;
  max-width: none;
  margin: 0;
  height: auto;
  display: flex;
  flex-direction: column;
}

@media (max-width: 520px) {
  .mm-featured-vehicles-section .mm-card {
    flex: 0 0 min(calc(100vw - 2.5rem), 320px);
    width: min(calc(100vw - 2.5rem), 320px);
  }
}

.mm-featured-vehicles-section .mm-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mm-featured-vehicles-section .mm-card-actions {
  margin-top: auto;
}

.mm-featured-vehicles__nav {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.mm-featured-vehicles__nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50% !important;
  border: none;
  background: var(--mm-fv-navy) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(9, 32, 83, 0.28);
  font-size: 1.35rem !important;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease, transform 0.15s ease;
  padding: 0px !important;
}

.mm-featured-vehicles__nav-btn:hover:not(:disabled) {
  /*transform: translateY(-1px);*/
  opacity: 0.92;
}

.mm-featured-vehicles__nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
/*.mm-featured-vehicles__viewport {*/
/*    overflow: hidden;*/
/*}*/
/*
section.mm-featured-vehicles-section,
section.mm-dealers-slider-section{
    position: relative;
}

section.mm-featured-vehicles-section .mm-featured-vehicles__nav button,
section.mm-dealers-slider-section .mm-dealers-slider__nav button{
    position: absolute;
    top: 50%;
    transform: translateX(-50%);
}
section.mm-featured-vehicles-section .mm-featured-vehicles__nav button.mm-featured-vehicles__nav--prev,
section.mm-dealers-slider-section .mm-dealers-slider__nav button.mm-dealers-slider__nav--prev{
    left: 12px;
}
section.mm-featured-vehicles-section .mm-featured-vehicles__nav button.mm-featured-vehicles__nav--next,
section.mm-dealers-slider-section .mm-dealers-slider__nav button.mm-dealers-slider__nav--next{
    right: -32px;
}
*/
.mm-card-actions {
    margin-top: 20px !important;
}
