/* ============================================================
   MARCH — Card Slider CSS
   Slider horizontal de cards con encabezado coloreado y flechas.
   Fiel al slider de partners/socios de milkbarstore.com.
   ============================================================ */

/* ── Wrapper general ── */
.march-card-slider {
	--cs-link-color: #e8185c;  /* fallback; sobreescrito inline */
	overflow: hidden;
}

/* ── Encabezado: fondo de color + título centrado + flechas ── */
.march-cs-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(18px, 2.5vw, 28px) clamp(24px, 4vw, 64px);
}

.march-cs-title {
	font-family: 'Outfit', sans-serif;
	font-weight: 900;
	font-size: clamp(16px, 2.2vw, 26px);
	letter-spacing: -0.01em;
	line-height: 1.1;
	text-transform: uppercase;
	text-align: center;
	flex: 1;
	margin: 0;
}

/* ── Flechas de navegación ── */
.march-cs-arrow {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 2px solid currentColor;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	color: inherit;
	padding: 0;
}

.march-cs-arrow svg {
	width: 18px;
	height: 18px;
}

.march-cs-arrow:hover {
	background: rgba(255, 255, 255, 0.2);
}

.march-cs-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

/* ── Track del swiper ── */
.march-cs-track {
	padding: clamp(24px, 3vw, 40px) 0 clamp(32px, 4vw, 48px);
}

.march-cs-swiper {
	overflow: visible;
	padding-left: clamp(20px, 4vw, 60px);
	padding-right: clamp(20px, 4vw, 60px);
}

/* ── Card individual ── */
.march-cs-card {
	height: 100%;
	padding: 28px 24px 24px;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.march-cs-card:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
	transform: translateY(-2px);
}

/* ── Logo de la card ── */
.march-cs-card-logo {
	height: 56px;
	display: flex;
	align-items: center;
}

.march-cs-card-logo img {
	max-height: 56px;
	max-width: 140px;
	width: auto;
	object-fit: contain;
	display: block;
}

.march-cs-card-logo--empty {
	height: 56px;
}

/* ── Título de la card ── */
.march-cs-card-title {
	font-family: 'Outfit', sans-serif;
	font-weight: 800;
	font-size: clamp(15px, 1.3vw, 18px);
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: #111111;
	margin: 0;
}

/* ── Descripción ── */
.march-cs-card-desc {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(13px, 1.1vw, 14px);
	font-weight: 400;
	color: #555555;
	line-height: 1.6;
	margin: 0;
	flex: 1;
}

/* ── Enlace ── */
.march-cs-card-link {
	display: inline-block;
	font-family: 'Outfit', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--cs-link-color);
	text-decoration: underline;
	text-underline-offset: 3px;
	word-break: break-all;
	margin-top: auto;
	transition: opacity 0.2s ease;
}

.march-cs-card-link:hover {
	opacity: 0.75;
}

/* ── Swiper: ocultar overflow de slides para el efecto peek ── */
.march-card-slider .swiper {
	overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 991px) {
	.march-cs-title {
		font-size: clamp(14px, 2.5vw, 20px);
	}
}

@media (max-width: 768px) {
	.march-cs-header {
		padding: 18px 20px;
		gap: 16px;
	}
	.march-cs-title {
		font-size: 14px;
	}
	.march-cs-arrow {
		width: 34px;
		height: 34px;
	}
	.march-cs-arrow svg {
		width: 15px;
		height: 15px;
	}
	.march-cs-swiper {
		padding-left: 16px;
		padding-right: 16px;
	}
}
