.hero-carousel {
  margin: 0 !important;
  padding: 0;
  background: #f8f9fa;
  position: relative;
}

.hero-carousel__inner {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.hero-carousel__swiper {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #0b0b0b;
}

.hero-carousel__slide {
  position: relative;
}

.hero-carousel__link {
  display: block;
  position: relative;
}

.hero-carousel__picture,
.hero-carousel__img {
  display: block;
  width: 100%;
}

.hero-carousel__img {
  height: auto;
  max-width: 100%;
}

.hero-carousel__img,
.hero-carousel__overlay-link {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero-carousel__overlay-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  text-decoration: none;
  background: transparent;
  pointer-events: none;
}

/* =========================
   OVERLAY DE TEXTO
========================= */
.hero-carousel__overlay {
  position: absolute;
  left: 64px;
  top: 42%;
  transform: translateY(-50%);
  z-index: 6;
  max-width: 560px;
  pointer-events: none;
}

.hero-carousel__subtitle {
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 8px 20px;
}

.hero-carousel__overlay {
  left: 64px;
  transform: translateY(-50%);
}

.hero-carousel__model {
  font-family: var(--font-geely);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 24px;
  background: linear-gradient(90deg, #182FD7 0%, #86DFBD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-carousel__prices {
  margin-bottom: 24px;
  margin-left: 20px;
}

.hero-carousel__price-label {
  font-family: var(--font-inter);
  font-size: 14px;
  color: #fff;
  margin: 0 0 16px;
}

.hero-carousel__price-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-carousel__price-usd,
.hero-carousel__price-local {
  font-family: var(--font-geely);
  font-weight: 700;
  font-size: 36px;
  color: #fff;
}

.hero-carousel__price-sep {
  color: #476FFF;
  font-size: 36px;
  font-weight: 300;
}

.hero-carousel__btns {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  margin-left: 20px;
  pointer-events: auto;
}

.hero-carousel__btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 5px 5px 5px 5px;
  background: transparent;
  color: #fff;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 16px;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.hero-carousel__btn--outline:hover {
    background: rgba(25, 75, 255, 1);
  border-color: rgba(25, 75, 255, 1);
  color: #fff;
}

.hero-carousel__btn--solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 5px 5px 5px 5px;
  background: #fff;
  color: #000;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 16px;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.hero-carousel__btn--solid:hover {
 background: rgba(25, 75, 255, 1);
  border-color: rgba(25, 75, 255, 1);
  color: #fff;
}

/* =========================
   NAV
========================= */
.hero-carousel__nav {
  display: none;
}

/* =========================
   PAGINATION
========================= */
.hero-carousel__pagination {
  position: absolute;
  z-index: 6;
}

.hero-carousel__pagination--v {
  display: none;
}

/* Wrap línea + bullets */
.hero-carousel__pagination-wrap {
  position: absolute;
  left: 84px;
  bottom: 225px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.hero-carousel__pagination-line {
  width: 400px;
  height: 2px;
  background: linear-gradient(90deg, #182FD7 0%, #86DFBD 100%);
  border-radius: 999px;
}

.hero-carousel__pagination--h {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 10px;
  max-width: 150px;
  border-radius: 25px;
  margin-top: 5px;
}

.hero-carousel__pagination--h .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 3px !important;
  opacity: 1;
  background: rgba(198, 210, 255, 1);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.hero-carousel__pagination--h .swiper-pagination-bullet-active {
  width: 20px;
  opacity: 1;
  background: #027bff;
  border-radius: 999px;
}

.hero-carousel__swiper,
.hero-carousel__swiper .swiper-wrapper,
.hero-carousel__swiper .swiper-slide,
.hero-carousel__slide,
.hero-carousel__link,
.hero-carousel__picture {
 // height: 800px !important;
}


.hero-carousel__img {
  width: 100%;
  height: 800px !important;
  object-fit: cover;
  object-position: 5% center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
 .hero-carousel {
   // padding-bottom: 40px;
  }

  /* Forzar altura fija en toda la cadena de Swiper */
  .hero-carousel__swiper,
  .hero-carousel__swiper .swiper-wrapper,
  .hero-carousel__swiper .swiper-slide,
  .hero-carousel__slide,
  .hero-carousel__link,
  .hero-carousel__picture {
    //height: 750px !important;
    //max-height: 750px !important;
    position: relative;
    //overflow: hidden;
    height: 100vh;
  }

  .hero-carousel__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none;
  }

  .hero-carousel__swiper {
    //border-radius: 0 0 32px 32px;
    overflow: hidden !important;
  }

  .mg-card__usd{
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-geely)
  }

  .hero-carousel__subtitle {
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
  }
  .hero-carousel__pagination-line{
     width: 250px;
  height: 2px;
  background: linear-gradient(90deg, #182FD7 0%, #86DFBD 100%);
  border-radius: 999px;
  }

  .hero-carousel__overlay {
    left: 0;
    right: 0;
    top: auto;
    bottom: 120px;
    transform: none;
    padding: 0 24px;
    text-align: center;
    max-width: 100%;
  }

  .hero-carousel__prices{
    margin-bottom: 1px;
  }

  .hero-carousel__price-row {
    justify-content: center;
  }

  .hero-carousel__model {
    font-size: 40px;
  }

  .hero-carousel__price-usd,
  .hero-carousel__price-local {
    font-size: 24px;
  }

  .hero-carousel__btns {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .hero-carousel__btn--outline {
    width: 100%;
  } 

  .hero-carousel__btn--solid {
    width: 100%;
  }

  .hero-carousel__pagination-wrap {
    bottom: 40px;
    align-items: center;
    margin-left: 80px;
    margin-right: 80px;
    left: 40px;
    right: 40px;
  }

  .hero-carousel__pagination--h {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 0;
}
}

.hero-carousel__model-img-wrap {
  margin: 0 0 10px;
}

.hero-carousel__model-img {
  height: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .hero-carousel__model-img {
    margin: 0 auto;
    max-width: 280px;
  }
}

/* Fix slides clonados con loop: true */
.swiper-slide-duplicate .hero-carousel__link,
.swiper-slide-duplicate .hero-carousel__picture,
.swiper-slide-duplicate .hero-carousel__img {
  height: 100% !important;
}

@media (max-width: 768px) {
  .swiper-slide-duplicate {
    height: 100vh !important;
  }
  
  .swiper-slide-duplicate .hero-carousel__link,
  .swiper-slide-duplicate .hero-carousel__picture {
    height: 100% !important;
    overflow: hidden;
  }

  .swiper-slide-duplicate .hero-carousel__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }
}
@media (max-width: 768px) {
  .hero-carousel__link,
  .hero-carousel__picture {
    height: 100% !important;
  }
}