/* =========================================================
   TWO Product Slider · v1.1.0
   - Clave: NO forzar width:auto en .swiper-slide
   ========================================================= */

body#index .products.tw-product-swiper.swiper,
body.index .products.tw-product-swiper.swiper{
  position: relative;
  overflow: hidden;
}

/* Wrapper */
body#index .products.tw-product-swiper .swiper-wrapper,
body.index .products.tw-product-swiper .swiper-wrapper{
  display: flex;
}

/* Slide:
   - NO tocar width (Swiper lo calcula para 2/3/4/5 exactos)
   - Sí neutralizar gutters/padding de Bootstrap
*/
body#index .products.tw-product-swiper .swiper-slide,
body.index .products.tw-product-swiper .swiper-slide{
  height: auto;
  flex: 0 0 auto !important;

  padding-left: 0 !important;
  padding-right: 0 !important;

  box-sizing: border-box !important;
}

/* Asegura que la card rellena el slide */
body#index .products.tw-product-swiper .swiper-slide article.product-miniature,
body.index .products.tw-product-swiper .swiper-slide article.product-miniature{
  height: 100%;
}

/* Botones */
body#index .products.tw-product-swiper .tw-slider-btn, body.index .products.tw-product-swiper .tw-slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	background: rgba(255,255,255,.90);
	border: 1px solid rgba(0,0,0,.12);
	box-shadow: 0 10px 26px rgba(0,0,0,.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	user-select: none;
	padding: 0;
}
button:focus {
	outline: 0px dotted;
}
body#index .products.tw-product-swiper .tw-slider-btn:hover,
body.index .products.tw-product-swiper .tw-slider-btn:hover{
  background: rgba(255,255,255,.96);
}

body#index .products.tw-product-swiper .tw-slider-btn:focus-visible,
body.index .products.tw-product-swiper .tw-slider-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,210,74,.18), 0 10px 26px rgba(0,0,0,.12);
}

body#index .products.tw-product-swiper .tw-slider-btn[disabled],
body.index .products.tw-product-swiper .tw-slider-btn[disabled]{
  opacity: .35;
  cursor: default;
}

/* Posición botones */
body#index .products.tw-product-swiper .tw-slider-prev,
body.index .products.tw-product-swiper .tw-slider-prev{
  left: 1px;
}

body#index .products.tw-product-swiper .tw-slider-next,
body.index .products.tw-product-swiper .tw-slider-next{
  right: 1px;
}

/* Flechas */
body#index .products.tw-product-swiper .tw-slider-prev::before, body#index .products.tw-product-swiper .tw-slider-next::before, body.index .products.tw-product-swiper .tw-slider-prev::before, body.index .products.tw-product-swiper .tw-slider-next::before {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	border-top: 1px solid rgba(8,15,18,.92);
	border-right: 1px solid rgba(8,15,18,.92);
}

body#index .products.tw-product-swiper .tw-slider-prev::before,
body.index .products.tw-product-swiper .tw-slider-prev::before{
  transform: rotate(-135deg);
  margin-left: 2px;
}

body#index .products.tw-product-swiper .tw-slider-next::before,
body.index .products.tw-product-swiper .tw-slider-next::before{
  transform: rotate(45deg);
  margin-right: 2px;
}

@media (max-width: 575px){
	body#index .products.tw-product-swiper .tw-slider-btn, body.index .products.tw-product-swiper .tw-slider-btn {
		width: 32px;
		height: 32px;
	}	
	body#index .products.tw-product-swiper .tw-slider-btn, body.index .products.tw-product-swiper .tw-slider-btn {
		top: 42%;
	}
}
