.sp_carrusel_elementor {
  width: calc(100% - 56px) !important;
  margin: auto;
  text-transform: uppercase;
}

.sp_carrusel_elementor .sp_diapositiva {
  width: 100% !important;
  height: 100%;
}

.sp_carrusel_elementor .sp_diapositiva * {
  height: 100%;
}

.sp_carrusel_elementor .sp_diapositiva a .elementor-button-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .sp_carrusel_elementor {
    width: calc(100%) !important;
  }

  .sp_carrusel_elementor > .splide__arrows {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .sp_carrusel_elementor > .splide__track:before,
  .sp_carrusel_elementor > .splide__track:after {
    content: "";
    position: absolute;
    top: -2px;
    width: 20px;
    height: calc(100% + 4px);
    z-index: 100;
  }

  .sp_carrusel_elementor > .splide__track:before {
    left: -2px;
    background: linear-gradient(to right, #fff, #fff0);
  }

  .sp_carrusel_elementor > .splide__track:after {
    right: -2px;
    background: linear-gradient(to left, #fff, #fff0);
  }

  .sp_carrusel_elementor > .splide__arrows .splide__arrow.splide__arrow--next,
  .sp_carrusel_elementor > .splide__arrows .splide__arrow.splide__arrow--prev {
    background-color: transparent;
    padding: 12px;
    display: flex;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    border: 0px;
  }

  .sp_carrusel_elementor > .splide__arrows .splide__arrow.splide__arrow--prev {
    left: -48px;
  }
  .sp_carrusel_elementor > .splide__arrows .splide__arrow.splide__arrow--next {
    right: -48px;
  }

  .sp_carrusel_elementor .splide__arrow svg {
    fill: #cbbba0;
    height: 34px;
    width: 34px;
  }

  .sp_carrusel_elementor .splide__arrow [type="button"]:focus,
  .sp_carrusel_elementor .splide__arrow [type="submit"]:focus,
  .sp_carrusel_elementor .splide__arrow button:focus {
    outline: none !important;
  }
}

@media (max-width: 767px) {
  .sp_carrusel_elementor {
    width: calc(100% - 84px) !important;
  }
  .sp_carrusel_elementor > .splide__arrows .splide__arrow.splide__arrow--next {
    right: -52px;
  }
  .sp_carrusel_elementor > .splide__arrows .splide__arrow.splide__arrow--prev {
    left: -52px;
  }
}

.carrusel_ficha_producto_custom .flex-viewport {
  height: calc(100vh - 86px - 174px) !important;
  min-height: 480px;
}

.carrusel_ficha_producto_custom
  .woocommerce-product-gallery--without-images
  img {
  height: calc(100vh - 86px) !important;
  object-fit: cover;
}

.carrusel_ficha_producto_custom .woocommerce-product-gallery__wrapper,
.carrusel_ficha_producto_custom
  .woocommerce-product-gallery__wrapper
  .woocommerce-product-gallery__image,
.carrusel_ficha_producto_custom
  .woocommerce-product-gallery__wrapper
  .woocommerce-product-gallery__image
  a,
.carrusel_ficha_producto_custom
  .woocommerce-product-gallery__wrapper
  .woocommerce-product-gallery__image
  a
  img {
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.carrusel_ficha_producto_custom .splide__arrow {
  display: none;
}

.carrusel_ficha_producto_custom .splide__slide,
.carrusel_ficha_producto_custom .splide__slide img {
  height: 176px !important;
  object-fit: cover !important;
}

@media (max-width: 767px) {
  .carrusel_ficha_producto_custom .flex-viewport {
    height: calc(70vh - 174px) !important;
    min-height: 480px;
  }

  .carrusel_ficha_producto_custom
    .woocommerce-product-gallery--without-images
    img {
    height: calc(70vh - 86px) !important;
  }
  .carrusel_ficha_producto_custom .splide__slide,
  .carrusel_ficha_producto_custom .splide__slide img {
    height: 105px !important;
  }
}
