/* Estilos para Carrusel Portada Productos */

.portada-productos-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}

.portada-productos-carousel {
	width: 100%;
	position: relative;
}

/* Diapositivas */
.portada-productos-slide {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	padding: 80px 10%;
	min-height: 500px;
	overflow: hidden;
}

/* Fondo difuminado - siempre cubre la altura real del slide */
.portada-productos-slide-bg {
	position: absolute;
	top: -10%;
	left: -10%;
	right: -10%;
	bottom: -10%;
	width: auto;
	height: auto;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
	transform: scale(1.05);
	pointer-events: none;
	transition: background-image 0.5s ease-in-out;
}

/* Superposición oscura */
.portada-productos-slide-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	pointer-events: none;
}

/* Contenido Principal */
.portada-productos-slide-content {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

/* Columnas */
.portada-productos-text-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.portada-productos-image-col {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Tipografías y textos */
.portada-productos-title {
	margin: 0 0 10px 0;
	color: #ffffff;
	font-family: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.portada-productos-subtitle {
	margin: 0 0 20px 0;
	color: #e2e2e2;
	font-family: inherit;
	font-weight: 400;
	line-height: 1.4;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Imagen de producto nítida */
.portada-productos-product-img {
	max-width: 300px;
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	transition: transform 0.5s ease;
	z-index: 4;
}

.portada-productos-slide:hover .portada-productos-product-img {
	transform: scale(1.03);
}

/* Botón Premium */
.portada-productos-btn-wrapper {
	margin-top: 10px;
	display: flex;
	width: 100%;
	justify-content: flex-start;
}

.portada-productos-btn {
	/* Reset explícito de estilos de tema que afectan a <a> */
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	/* Base */
	text-decoration: none;
	line-height: 1 !important;
	vertical-align: middle;
	white-space: nowrap;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	font-weight: 600;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
}

.portada-productos-btn-content {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;
	width: 100%;
	line-height: 1;
}

.portada-productos-btn-text {
	display: inline;
	line-height: 1.2;
	vertical-align: middle;
}

.portada-productos-btn-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1;
	flex-shrink: 0;
	font-size: 1em;
}

/* Icono FontAwesome (<i>) generado por Elementor Icons_Manager */
.portada-productos-btn-icon i {
	display: inline-block !important;
	line-height: 1 !important;
	vertical-align: middle;
	font-size: inherit;
	color: inherit;
}

/* SVG generado por Elementor Icons_Manager */
.portada-productos-btn-icon svg {
	display: block !important;
	width: 1.1em !important;
	height: 1.1em !important;
	fill: currentColor !important;
	color: currentColor !important;
	flex-shrink: 0;
}

.portada-productos-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.portada-productos-btn:active {
	transform: translateY(0);
}


/* Flechas y paginación personalizadas */
.portada-productos-prev,
.portada-productos-next {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	width: 44px !important;
	height: 44px !important;
	border-radius: 50%;
	transition: all 0.3s ease !important;
	z-index: 10;
}

.portada-productos-prev:hover,
.portada-productos-next:hover {
	background: rgba(255, 255, 255, 0.25);
}

.portada-productos-prev::after,
.portada-productos-next::after {
	font-size: 16px !important;
	font-weight: bold;
}

.portada-productos-prev {
	left: 20px !important;
}

.portada-productos-next {
	right: 20px !important;
}

/* Paginación */
.portada-productos-pagination {
	bottom: 15px !important;
	z-index: 10;
}

.portada-productos-pagination .swiper-pagination-bullet {
	background: #ffffff !important;
	opacity: 0.4;
	width: 8px;
	height: 8px;
	margin: 0 5px !important;
	transition: all 0.3s ease;
}

.portada-productos-pagination .swiper-pagination-bullet-active {
	opacity: 1 !important;
	background: #ffffff !important;
	transform: scale(1.25);
}

/* Marca de Agua */
.portada-productos-watermark img {
	display: block;
	max-width: 100%;
}

/* DISEÑO RESPONSIVO (Tabletas y Móviles) */
@media (max-width: 767px) {
	.portada-productos-slide {
		padding: 60px 20px;
		min-height: auto;
	}

	.portada-productos-slide-content {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.portada-productos-text-col {
		align-items: center;
		text-align: center;
	}

	.portada-productos-btn-wrapper {
		justify-content: center;
	}

	.portada-productos-image-col {
		margin-top: 15px;
	}

	.portada-productos-product-img {
		max-width: 240px;
	}

	.portada-productos-prev,
	.portada-productos-next {
		width: 34px !important;
		height: 34px !important;
	}

	.portada-productos-prev::after,
	.portada-productos-next::after {
		font-size: 12px !important;
	}

	.portada-productos-prev {
		left: 8px !important;
	}

	.portada-productos-next {
		right: 8px !important;
	}
}
