/* ============================================================
   MARCH — Hero Slider CSS
   Fiel a milkbarstore.com:
   - 2 fotos lado a lado (2/3 del ancho)
   - Panel de texto (1/3 del ancho)
   - Fondo BLANCO, sin overlay oscuro
   - Texto puede estar a izq. o der.
   ============================================================ */

.march-hero-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #ffffff;
}

.march-hero-swiper {
	position: relative !important;  /* Necesario para que los dots sean position:absolute dentro */
	width: 100%;
	height: var(--hero-height, 560px);
	overflow: hidden;
}

/* ── Slide: flex row ── */
.march-hero-slide {
	display: flex;
	height: 100%;
	width: 100%;
	background: #ffffff;
}

/* Fotos izquierda / Texto derecha (default) */
.march-hero-slide--right .march-hero-images { order: 1; flex: 2; }
.march-hero-slide--right .march-hero-text   { order: 2; flex: 1; }

/* Texto izquierda / Fotos derecha */
.march-hero-slide--left .march-hero-text   { order: 1; flex: 1; }
.march-hero-slide--left .march-hero-images { order: 2; flex: 2; }

/* ── Bloque de 2 fotos ── */
.march-hero-images {
	display: flex;
	gap: var(--img-gap, 6px);
	height: 100%;
	overflow: hidden;
}

.march-hero-img-col {
	flex: 1;
	height: 100%;
	overflow: hidden;
}

.march-hero-img-col img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.swiper-slide-active .march-hero-img-col img {
	transform: scale(1.02);
}

.march-hero-img-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f0ede8 0%, #ddd9d0 100%);
}

/* ── Panel de texto ── */
.march-hero-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	text-align: left;
	padding: clamp(32px, 4vw, 60px);
	background: #ffffff;
}

/* Centro cuando el texto tiene la proporción de 1/3 */
.march-hero-slide--right .march-hero-text,
.march-hero-slide--left  .march-hero-text {
	align-items: flex-start;
}

/* ── Badge — pequeño, uppercase, sin fondo ── */
.march-hero-badge {
	font-family: 'Outfit', sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: #555555;
	display: block;
	margin-bottom: 14px;
}

/* ── Título — ENORME, Black, uppercase ── */
.march-hero-title {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(28px, 3.5vw, 52px);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.0;
	text-transform: uppercase;
	color: #111111;
	margin: 0 0 20px;
}

/* ── Descripción ── */
.march-hero-desc {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(14px, 1.2vw, 16px);
	font-weight: 400;
	color: #444444;
	line-height: 1.6;
	margin-bottom: 32px;
	max-width: 380px;
}

/* ── Botón — negro, rectangular, uppercase ── */
.march-hero-btn {
	background-color: #111111 !important;
	color: #ffffff !important;
	border: 2px solid #111111 !important;
	border-radius: 0 !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
	padding: 16px 32px !important;
	display: inline-block;
	transition: background-color 0.25s ease, color 0.25s ease !important;
}
.march-hero-btn:hover {
	background-color: #ffffff !important;
	color: #111111 !important;
}

/* ── Animación de entrada del texto ── */
.swiper-slide-active .march-hero-badge {
	animation: marchHeroIn 0.5s ease 0.1s both;
}
.swiper-slide-active .march-hero-title {
	animation: marchHeroIn 0.55s ease 0.2s both;
}
.swiper-slide-active .march-hero-desc {
	animation: marchHeroIn 0.55s ease 0.3s both;
}
.swiper-slide-active .march-hero-btn {
	animation: marchHeroIn 0.55s ease 0.4s both;
}
@keyframes marchHeroIn {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}

/* ── Flechas ── */
.march-hero-prev,
.march-hero-next {
	position: absolute;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 10;
	width: 44px !important;
	height: 44px !important;
	background: none !important;
	border: none !important;
	color: #111111 !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.march-hero-prev { left: 16px !important; }
.march-hero-next { right: 16px !important; }
.march-hero-prev::after,
.march-hero-next::after {
	font-size: 20px !important;
	font-weight: 600 !important;
	color: #111111 !important;
}

/* ── Fila de puntos — debajo del slider, fila propia ── */
.march-hero-pagination-row {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 0;
	background: #ffffff;
}

.march-hero-pagination {
	position: static !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.march-hero-pagination .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	background: #cccccc;
	opacity: 1;
	border-radius: 50%;
	margin: 0 !important;
	transition: all 0.25s ease;
	cursor: pointer;
	display: block;
	flex-shrink: 0;
}
.march-hero-pagination .swiper-pagination-bullet-active {
	background: var(--dot-color, #111111);
	transform: scale(1.3);
}


/* ── Responsive ── */
@media (max-width: 768px) {
	.march-hero-swiper {
		height: auto !important;
	}
	.march-hero-slide {
		flex-direction: column;
		height: auto;
	}
	.march-hero-slide--right .march-hero-images,
	.march-hero-slide--left  .march-hero-images { order: 1; flex: none; height: 300px; }
	.march-hero-slide--right .march-hero-text,
	.march-hero-slide--left  .march-hero-text   { order: 2; flex: none; }
	.march-hero-text { padding: 32px 24px; }
	.march-hero-title { font-size: clamp(26px, 7vw, 36px); }
	.march-hero-prev { left: 8px !important; }
	.march-hero-next { right: 8px !important; }
}

/* ── Modo 1 imagen (banner blog / recetas) ── */
/* Cuando solo hay 1 foto, la proporción es 50/50 en lugar de 66/33 */
.march-hero-images--single {
	flex: 1 !important; /* misma proporción que el texto */
}
.march-hero-images--single .march-hero-img-col {
	flex: 1;
}
/* En modo 1 imagen el slide puede tener altura más cómoda */
.march-hero-slide:has(.march-hero-images--single) .march-hero-swiper {
	height: var(--hero-height, 480px);
}
