.containerCar{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 40px;
}

/* Flechas del carousel o botones */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  background-color: #604abd;
  width: 2.5rem;
  height: 2.5rem;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  mask-size: cover;
  mask-repeat: no-repeat;
}
.carousel-control-next-icon {
  transform: rotate(180deg);
}

.carousel-borde {
  width: 700px;
  border: 4px solid #ffbd59;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .carousel-borde {
    height: auto;
    max-height: 400px;
    width: 320px;
    border: 4px solid #ffbd59;
    aspect-ratio: auto;
  }

  .carousel-item img {
    width: 300px;
    height: 400px;
    max-height: 450px;
    object-fit: contain;
  }
}

.carousel-item {
  height: 100%;
}

.carousel-item img {
  max-height: 90vh; /* adapta a la pantalla sin desbordarse */
  width: auto;
  object-fit: contain;
  background-color: rgb(253, 249, 249);
  transition: transform 0.3s ease-in-out;
}

.loge {
    width: 70%; 
    height: 30%;
    border-radius: 30%; 
}
@media screen and (max-width: 1000px) {
    .loge.ocultar {
      display: none !important;
    }
}

.centrar-boton {
  display: flex;
  justify-content: center;
}

.buttonIns1 {
  background-color: #fff;
  border: 1px solid #25D366;
  padding: 5px;
  position: relative;
  width: 6.2em;
  height: 2em;
  transition: 0.5s;
  font-size: 17px;
  border-radius: 0.4em;
}

.buttonIns1 p {
  position: absolute;
  top: 0.4em;
  left: 1.15em;
  margin: 0;
  padding: 0;
  transition: .5s;
  color: #25D366;
}

.buttonIns1 svg {
  position: absolute;
  top: 0.45em;
  right: 0.5em;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: 0.5s;
  height: 1em;
  fill: #fff
}

.buttonIns1:hover p {
  left: 0.5em;
  color: #fff
}

.buttonIns1:hover svg {
  opacity: 1;
}

.buttonIns1:hover {
  background-color: #25D366;
}