body {
  margin: 0;
  background: #fff;
  font-family: sans-serif;
}
.swiper {
  width: 100%;
  padding: 20px 0;
  position: relative;
  background-color: #fff;
  /* Puedes ajustar altura si quieres */
  /* min-height: 300px; */
}

.swiper-slide {
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  margin-bottom: 20px;
  padding: 15px;
}

.swiper-slide:not(.swiper-slide-active) {
  opacity: 0.3;
  transform: scale(1) !important;
}

.swiper-slide-active {
  transform: scale(1.1) !important;
  opacity: 1;
  position: relative !important;
}

.swiper-wrapper {
  padding-bottom: 30px !important;
}

/* Contenedor flechas centrado verticalmente */
.swiper-buttons-wrapper {
  position: absolute;
  top: 0;
  bottom: 65%;
  left: 0;
  right: 0;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none; /* para que el click pase a los botones hijos */
  z-index: 10; /* para estar encima de todo */
  transform: none; /* quitamos transform para que alinee con flexbox */
}

.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  pointer-events: all; /* permitir clic */
  display: flex;
  align-items: center;
  justify-content: center;
  /*background-color: rgba(255, 255, 255, 0.9);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);*/
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
  font-weight: normal;
  color: #d81e05;
}

.descubrir-mas {
  text-decoration: underline;
  color: #d81e05;
  font-weight: bold;
  font-size: 12px;
  margin-top: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.swiper-slide-active .descubrir-mas {
  opacity: 1;
  pointer-events: auto;
}

.container {
  background: #fff;
}

.bloque-texto {
  text-align: center;
  padding: 60px 20px 40px;
  background-color: #fff;
}

.bloque-texto h2 {
  font-size: 70px;
  font-weight: 600;
  margin-bottom: 50px;
  color: #353332;
}

.bloque-texto p {
  font-size: 20px;
  line-height: 140%;
  margin-bottom: 30px;
  color: #353332;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}

.bloque-texto-2,
.bloque-texto-3 {
  text-align: center;
  padding: 60px 20px 40px;
  background-color: #fff;
  margin: 0 auto;
}

.bloque-texto-2 h1 {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 15px;
  margin-top: 20px;
  color: #353332;
}

.bloque-texto-2 p,
.bloque-texto-3 p {
  font-size: 20px;
  line-height: 140%;
  margin-bottom: 30px;
  color: #353332;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}

.botones-colecciones {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 65px;
  flex-wrap: wrap;
}

.boton {
  color: #d81e05;
  padding: 12px 24px;
  text-decoration: underline;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.imagen-centro {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.imagen-centro-2 {
  max-width: 100%;
  height: auto;
  display: block;
  padding-top: 90px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .bloque-texto h2 {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 35px;
  }

  .bloque-texto p {
    font-size: 15px;
  }

  .bloque-texto {
    padding: 15px;
  }
  .swiper-buttons-wrapper {
  position: absolute;
  top: 0;
  bottom: -75%;
  left: 0;
  right: 0;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none; /* para que el click pase a los botones hijos */
  z-index: 10; /* para estar encima de todo */
  transform: none; /* quitamos transform para que alinee con flexbox */
}

}

/* === MEDIA QUERIES LIMPIAS PARA SWIPER === */

@media screen and (max-width: 316px) {
  .swiper-buttons-wrapper {
    bottom: 65%;
  }
}

@media screen and (min-width: 316px) and (max-width: 455px) {
  .swiper-buttons-wrapper {
    bottom: 65%;
  }
}

/* Móviles pequeños: hasta 499px */
@media screen and (min-width: 455px) and (max-width: 550px) {
  .swiper-buttons-wrapper {
    bottom: 65%;
  }
}

/* Móviles grandes: 500px a 767px */
@media screen and (min-width: 550px) and (max-width: 768px) {
  .swiper-buttons-wrapper {
    bottom: 65%;
    padding: 0 10px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 32px;
    height: 32px;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 16px;
  }
}

/* Tablets: 768px a 991px */
@media screen and (min-width: 768px) and (max-width: 900px) {
  .swiper-buttons-wrapper {
    bottom: 60%;
    padding: 0 15px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 35px;
    height: 35px;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 18px;
  }
}

/* Desktop pequeño: 992px a 1199px */
@media screen and (min-width: 900px) and (max-width: 990px) {
  .swiper-buttons-wrapper {
    bottom: 65%;
    padding: 0 20px;
  }
}
@media screen and (min-width: 991px) and (max-width: 1200px) {
  .swiper-buttons-wrapper {
    bottom: 65%;
    padding: 0 20px;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1799px) {
  .swiper-buttons-wrapper {
    bottom: 65%;
    padding: 0 20px;
  }
}
