/* 
 * CSS para la plantilla Landing-Image
 */

.md-landing-image-content {
	width: 100%;
	max-width: 600px; /* Ancho típico optimizado para móvil */
	margin: 0 auto;
	background: #fff;
	overflow: hidden;
}

.md-li-block {
	width: 100%;
	margin: 0;
	padding: 0;
	position: relative;
}

/* Remover espacios nativos de WooCommerce si existen */
.md-product--landing-image .woocommerce-notices-wrapper {
	max-width: 600px;
	margin: 0 auto;
}
.md-product--landing-image .md-landing-image-sequence {
	display: flex;
	flex-direction: column;
}

/* CTA */
.md-li-cta-container {
	padding: 15px 20px;
	background: #fff;
}

.md-li-cta-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
}

.md-li-cta-btn {
	display: block;
	width: 100%;
	padding: 18px 24px;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.md-li-cta-btn:hover, .md-li-cta-btn:active {
	transform: scale(0.98);
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Scroll-Snap Slider para Testimonios */
.md-li-slider-container {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.md-li-slider-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch; /* iOS fluido */
	scrollbar-width: none; /* Ocultar scrollbar Firefox */
	gap: 15px;
	padding: 20px;
}

.md-li-slider-track::-webkit-scrollbar {
	display: none; /* Ocultar scrollbar Chrome/Safari */
}

.md-li-slide {
	flex: 0 0 85%; /* Muestra el 85% para indicar que hay más */
	scroll-snap-align: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	border-radius: 8px;
}

/* Flechas de navegación */
.md-li-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	color: #333;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
	z-index: 10;
	transition: background 0.2s, transform 0.2s;
}

.md-li-slider-arrow:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.05);
}

.md-li-prev {
	left: 10px;
}

.md-li-next {
	right: 10px;
}

/* Ocultar flechas en mobile si se prefiere solo swipe (opcional, pero las dejaremos para mayor usabilidad) */
@media (max-width: 768px) {
	.md-li-slider-arrow {
		width: 35px;
		height: 35px;
		font-size: 16px;
	}
}
