﻿.content-slider{
padding:0;
}
.carousel-container {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.slider {
	overflow: hidden;
}

.carousel-inner-products {
	display: flex;
	transition: transform 0.4s ease;
}

.carousel-item-products {
	flex: 0 0 33.3333%;
	padding: 10px;
	box-sizing: border-box;
}

@media (max-width: 480px) {
	.carousel-item-products {
		flex: 0 0 50%;
		padding: 5px;
	}
}

.card {
	background: #fff;
	border-radius: 8px;
	padding: 10px;
	text-align: center;
	overflow: hidden;
	position: relative;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
	.card .product-img .product-label {
		position: absolute;
		top: 2px;
		right: 2px;
		z-index: 1;
	}
.card .product-img .product-label .new {
	background-color: #ff0000;
	border-color: #ff0000;
	color: #FFF;
	border: 2px solid;
	padding: 2px 2px;
	font-size: 12px;
}
.card .product-img a {
	width: 100%;
	display: flex;
	justify-content: center;
}
.card .product-img .img-item1 {
	transform: translateX(0%);
}
.card .product-img .img-item2 {
	position: absolute;
	transform: translateX(180%);
	width: auto;
	height: 200px;
}

.card:hover .product-img .img-item2 {
	position: relative;
	transform: translateX(-50%);
}

.card:hover .product-img .img-item1 {
	position: relative;
	transform: translateX(180%);
}
.product-body {
	text-align: center;
	background-color: white;
	position: relative;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.card:hover .product-body {
	margin-top: -20px;
}


.card .product-img a img {
	width: 90%;
	object-fit: cover;
	border-radius: 6px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}



.card:hover .product-img a img {
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.card .product-body .product-category {
	text-transform: uppercase;
	font-size: 12px;
	color: #8D99AE;
}
.card .product-body .product-name {
	margin: 0 0 10px;
	text-transform: uppercase;
	line-height: 0.5;
	color: #2B2D42;
	font-weight: 700;
}
.card .product-body .product-name > a {
	font-weight: 700;
	color: #2B2D42;
	font-size: 14px;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.5em;
	max-height: 4.5em;
}
.card .product-body .product-price {
	color: #D10024;
	font-size: 18px;
}
@media (max-width: 480px) {
	.card .product-body .product-price {
		color: #D10024;
		font-size: 14px;
	}
}
.card .product-body .product-price .product-old-price {
	font-size: 70%;
	font-weight: 400;
	color: #8D99AE;
}
.card .add-to-cart {
	visibility: hidden;
}
.card:hover .add-to-cart {
	visibility: visible;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
@media (max-width: 480px) {
	.card .add-to-cart {
		visibility: visible;
		margin-top: 2em;
	}
	.card:hover .product-img .img-item1 {
		transform: translateX(0%);
	}

	.card:hover .product-img .img-item2 {
		position: absolute;
		transform: translateX(180%);
	}

}
.card .add-to-cart .add-to-cart-btn {
	position: relative;
	border: 2px solid transparent;
	height: 40px;
	padding: 0 30px;
	background-color: #ef233c;
	color: #FFF;
	text-transform: uppercase;
	font-weight: 700;
	border-radius: 40px;
	-webkit-transition: 0.2s all;
	transition: 0.2s all;
	font-size: 11px;
	width: 100%;
}
@media (max-width: 480px) {

		.card .add-to-cart .add-to-cart-btn {
			font-size: 9px;
			padding: 0 5px;
		}
}
.card:hover .product-img .product-label {
	z-index: 1;
}
/* Botones */
.content-btn-slider {
	display: flex;
	justify-content: flex-end;
	padding-top: 2em;
}
@media (max-width: 480px) {
	.content-btn-slider {
		display: none;
	}
}
.carousel-btn {
	/*	position: absolute;*/
	/*	top: 50%;*/
	transform: translateY(-50%);
	background: #000;
	color: #fff;
	border: none;
	padding: 8px 12px;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
}

/*.prev {
	left: 0;
}

.next {
	right: 0;
}*/

.prev, .next {
	font-size: 15px;
	margin: 0 10px;
	cursor: pointer;
	border: 0;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	background-color: red;
	color: #ffffff;
}
