.ficha-coche {
  display: flex;
  flex-wrap: wrap;
  gap: 3em;
  margin: 2em 0 0 0;
  width: 100%;
  padding: 1em;
  font-family: 'Lato', sans-serif;
  flex-direction: row;
  justify-content: center;
}

.ficha-coche__left {
  width: 35%;
}

.ficha-coche__right {
  min-width: 280px;
  display: flex;
  flex-direction: column;
  width: 25%
}

/* Swiper */




.swiper-principal {
  width: 100%;
  height: auto;
  margin: 0;
}

.swiper-principal img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 0;
}

.swiper-miniaturas {
    width: 100%;
    padding: 0.5em 0;
    box-sizing: border-box;
  }

.swiper-miniaturas .swiper-slide {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.swiper-miniaturas .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.swiper-miniaturas .swiper-slide:hover {
  border: 2px solid #0071c2;
}


.swiper-button-prev, .swiper-button-next,
.mini-prev, .mini-next {
  color: black;
}

.swiper-principal .swiper-button-prev,
.swiper-principal .swiper-button-next {
  width: 4em;
  height: 4em;
  top: 45%;
  color: black;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  background-color: white;
  border-radius: 50%;
}

.swiper-principal .swiper-button-prev {
  left: 2%;
  right: auto;
}

.swiper-principal .swiper-button-next {
  right: 2%;
  left: auto;
}

.swiper-principal .swiper-button-prev:hover,
.swiper-principal .swiper-button-next:hover {
  opacity: 1;
}



.titulo {
  font-size: 2em;
  font-weight: bold;
  color: #000000;
  margin-bottom: 0.2em;
  width: 100%;
}

.version {
  font-size: 1.5em;
  font-weight: bold;
  color: gray;
}


.datos-coche {
  border: 1px solid gray;
  width: 100%;
}
.subinfo {
  font-size: 1.2em;
  color: #555;
}

.precios {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.financiado {
  font-size: 1em;
  display: flex;
  flex-wrap: row;
  justify-content: space-around;
  color: white;
  background: black;
  align-items: center;
  padding: 0.75em;
  margin: 0;
}

.financiado span {
  font-size: 2em;
  font-weight: bolder;
}

.cuota {
  color: #655555;
  font-weight: 900;
  text-align: left;
  font-size: 1.3em;
  padding: 0 0 0 1em;
  margin: 0 0 0 0;
}

.contado {
  background: #ffd700;
  font-weight: bold;
  color: #000;
  padding: 0.5em 0 0.5em 1.3em;
}

.lista ul {
  list-style: none;
}

.linea-lista {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.check-lista {
  width: 30px;
}

.linea-lista p {
  padding: 0 0 0 1em;
  margin: 0;
  width: 80%;
}

.botonera {
  margin-top: 1em;
  display: flex;
  flex-direction: column;
}

.btn-interesa {
  background: #00c78c;
  color: white;
  font-weight: 899;
  padding: 0.2em 0em;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-size: 2em;
  margin: 0 1em 1em 1em;
  cursor: pointer;
  transition: transform 0.3s ease, border-radius 0.3s ease;
}

.btn-interesa:hover {
  color: white;
  transform: scale(1.1);
  border-radius: 20px;
}

.ayuda {
  text-align: center;
  font-size: 1.5em;
  margin: 0.7em 0;
  color: #5b5a5a;
}

.botonera-contacto {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.botonera-contacto a:hover {
  color: black;
}

.btn-contacto {
  padding: 0.6em 2em;
  margin: 0 0 1em 0px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: 1em;
  width: 45%;
  min-width: 200px;
}

.btn-llama {
  color: black;
  border: 1px solid black;
  
}

.btn-whatsapp {
  color: white;
  background-color: #0df5af;
  font-weight: 900;
}

.btn-whatsapp:hover {
  color: white;
}

.btn-icon {
  width: 1em;
}

.equipamiento {
  display: flex;
  justify-content: start;
  width: 50%;
  min-width: 500px;
  flex-direction: column;
  margin: auto;
}

.equipamiento ul {
  display: flex;
  justify-content: start;
  width: 50%;
  min-width: 500px;
  flex-direction: column;
  margin: auto;
}

.equipamiento li {
  margin-bottom: 0.3em;
}

.lista-equipamiento li::marker {
  content: none;
}

/* Modal */
.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.8);
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
}

.modal.oculto {
  display: none;
}

.modal img {
  width: 100vh;
  max-height: 100%;
}

#modal-cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2em;
  color: white;
  cursor: pointer;
}


.equipamiento-desplegable {
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  width: 50%;
  margin: 2em auto
}

.equipamiento-desplegable summary {
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1em;
  list-style: none;
}

.equipamiento-desplegable[open] summary {
  margin-bottom: 1em;
}

.lista-equipamiento {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-weight: 600;
}

.lista-equipamiento li {
  padding: 0.3em 0;
}



/* @media screen and (min-width: 1024px) {
    .swiper-principal {
  width: 100%;
  height: auto;
  margin: 0;
}

  .swiper-principal img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 0;
}

  .swiper-miniaturas {
    width: 1000px;
    padding: 0.5em 0;
    box-sizing: border-box;
  }
} */




@media (max-width: 768px) {
  .ficha-coche {
    flex-direction: column;
    gap: 2em;
    margin: auto;
    align-items: center;
  }

  
  .ficha-coche__left {
    width: 100% !important;
  }
  
  .ficha-coche__right {
    width: 100% !important;
    align-items: center;
  }

  

  .galeria-coche {
    width: 100%;
    max-width: 100%;
  }

  .swiper-principal {
  width: 100%;
  height: auto;
  margin: 0;
}

  .swiper-principal .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-principal img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 0;
}

  .swiper-button-next,
  .swiper-button-prev {
    top: 50% !important;
    transform: translateY(-50%);
  }

  .swiper-miniaturas {
    padding: 1em 0;
  }

  .swiper-miniaturas .swiper-slide {
    width: auto !important;
    margin-right: 10px;
  }

  .swiper-miniaturas .swiper-slide img {
    width: clamp(60px, 20vw, 90px);
    height: auto;
    object-fit: cover;
  }

  .datos-coche {
    width: 100%;
    max-width: 300px;
  }

  .titulo {
    max-width: 90%;
    text-align: center
  }

  .lista ul {
  list-style: none;
  padding: 0;
  margin-left: 0.2em;
}

.linea-lista p {
  padding: 0 0 0 1em;
  margin: 0;
  width: 80%;
}

.equipamiento-desplegable {
  width: 67%;
}

.tag-encuentralo {
  margin: 1em 0;
}

.encuentralo.desktop {
  display: none;
}

.encuentralo.mobile {
  display: block !important;
}

.mapa {
  width: 55% !important;
  margin: 1em auto;
  display: flex;
  justify-content: center;
  align-items: center
}

.formulario-interior{
  padding: 2vh !important;
}

.modal-contacto {
  padding: 1rem 1rem 7rem 1rem;
}

}



.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}


.modal-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2em;
  padding: 0.2em 0.6em;
  cursor: pointer;
  z-index: 10000;
}

#modal-prev {
  left: 20px;
}

#modal-next {
  right: 20px;
}


.modal-contacto {
  display: none !important;
  position: fixed !important;
  top: 0 !important; left: 0 !important;
  width: 100vw !important; height: 100vh !important;
  background: rgba(0,0,0,0.7) !important;
  z-index: 9999 !important;
  justify-content: center !important;
  align-items: center !important;
}

.modal-contacto.activo {
  display: flex !important;
}

.formulario-interior {
  background: white !important;
  padding: 2em;
  max-width: 500px !important;
  width: 90% !important;
  position: relative !important;
  box-shadow: 0 0 30px rgba(0,0,0,0.4) !important;
}

.formulario-interior input {
  padding: 0.8em !important;
  margin-bottom: 1em !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid rgb(89, 245, 162) !important;
  font-size: 1em !important;
}

#formulario-cerrar {
  position: absolute !important;
  top: 10px !important;
  right: 15px !important;
  font-size: 1.5em !important;
  cursor: pointer !important;
}

.linea-radio, .linea-check {
  display: flex !important;
  flex-direction: row !important;
  justify-content: start !important;
  align-items: center !important;
  height: 1em !important;
  gap: 0.5em !important;
}

.linea-check {
  margin: 2em 0 1em 0 !important;
  gap: 1em !important;
}

.radio-class, .check-class {
  width: 5% !important;
  margin: 0 !important; 
}

.check-class {
  min-height: 25px !important;
}

.requeridos {
  font-size: 0.9em !important;
  text-align: end !important;
  width: 90% !important;
  margin-bottom: 2em !important;
}

.botonera-formulario {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2em !important;
  margin: auto !important;
}

.btn-form {
  min-width: 130px !important;
  font-size: 1.2em !important;
  padding: 0.3em !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.2em !important;
}

.enviar-form {
  background-color: black !important;
  color: white !important;
  border: none !important;
}

.llamar-form {
  background-color: rgb(255, 213, 0) !important;
  text-decoration: none !important;
  color: black !important;
  display: none !important;
}

.llamar-form:hover {
  color: inherit !important;
}



.skeleton-loader {
  width: 100%;
  aspect-ratio: 3 / 2; 
  background-image:
    linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 70%),
    url('http://ginestarocasion.com/wp-content/uploads/2025/06/ChatGPT-Image-Jun-30-2025-11_43_16-AM.png');
  background-size: 200% 100%, contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 1em;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

summary {
  width: 100%;
  display: flex !important;
  flex-direction: row;
  justify-content: space-between;
}

summary > img {
  width: 2em;
}

.flecha-toggle {
  transition: transform 0.3s ease;
}

.equipamiento-desplegable[open] .flecha-toggle {
  transform: rotate(180deg);
}

.icon-ubi {
  width: 1.3em;
}


.encuentralo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tag-encuentralo {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding-top: 2em;
  gap: 1em;
  flex-wrap: wrap;
}

.tag-encuentralo > p {
  margin: 0;
  font-size: 1.3em;
  text-align: center;
}

.encuentralo > a:active, .encuenralo >  a:hover, .encuentralo > a, .encuentralo > p, .encuentralo {
  color: black !important;
}

.encuentralo:hover {
  transform: scale(1.1);
}


.encuentralo {
  transition: ease-in-out 0.5s transform;
}

.encuentralo a {
  color: black !important ;
}

.mapa {
  width: 100%;
  border-radius: 10px;
}

.encuentralo.mobile {
  display: none;
}

.info-legal {
  font-size: 0.8em;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  column-gap: 0;
  margin-top: 0.5em;
}

.info-legal > p {
  line-height: 1em;
  margin: 0.2em 0;
}