/* =============================================================
   Moiksys – Carrusel de Productos
   Estilos base (los colores/tipografía son sobreescritos
   por los controles de Elementor via selectores {{WRAPPER}})
   ============================================================= */

/* ---- Wrapper ---- */
.mpc-carousel-wrapper {
	position: relative;
	padding: 0 30px; /* espacio para las flechas laterales */
}

/* ---- Swiper container ---- */
.mpc-carousel-wrapper .mpc-swiper {
	overflow: hidden;
}

/* Necesario para que swiper-wrapper sea flex */
.mpc-carousel-wrapper .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

.mpc-carousel-wrapper .swiper-slide {
	height: auto; /* permite que las tarjetas se estiren igual */
	box-sizing: border-box;
}

/* ---- Tarjeta ---- */
.mpc-card {
	background: #ffffff;
	border: 1px solid #C8F0ED;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.mpc-card:hover {
	transform: translateY(-3px);
}

/* ---- Imagen ---- */
.mpc-card__image-wrap {
	position: relative;
	height: 220px;
	overflow: hidden;
	border-radius: 16px 16px 0 0;
	flex-shrink: 0;
	background: #F0FFFE;
}

.mpc-card__image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.mpc-card:hover .mpc-card__image-wrap img {
	transform: scale(1.04);
}

/* ---- Badge ---- */
.mpc-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background-color: #FFFFFF;
	color: #333333;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 100px;
	white-space: nowrap;
	line-height: 1;
	z-index: 2;
}

/* ---- Body ---- */
.mpc-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0;
}

.mpc-card__category {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #00C1B5;
	margin-bottom: 6px;
}

.mpc-card__title {
	font-size: 18px;
	font-weight: 700;
	color: #0D3B38;
	margin: 0 0 10px;
	line-height: 1.3;
}

.mpc-card__desc {
	font-size: 14px;
	color: #4A6460;
	line-height: 1.6;
	margin: 0;
	flex: 1; /* empuja el footer hacia abajo */
}

/* ---- Separador ---- */
.mpc-card__divider {
	border: none;
	border-top: 1px solid #C8F0ED;
	margin: 16px 0;
}

/* ---- Footer: precio + botón ---- */
.mpc-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: nowrap;
}

.mpc-card__price-wrap {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.mpc-card__prefix {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #6B8F8B;
	line-height: 1;
}

.mpc-card__price {
	font-size: 20px;
	font-weight: 800;
	color: #0D3B38;
	line-height: 1.1;
	white-space: nowrap;
}

/* ---- Botón CTA ---- */
.mpc-card__btn {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	flex-shrink: 0;
	padding: 8px 18px;
	border: 1px solid #00C1B5;
	border-radius: 100px;
	color: #00C1B5;
	background-color: transparent;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mpc-card__btn:hover {
	background-color: #00C1B5;
	color: #ffffff;
	border-color: #00C1B5;
}

.mpc-btn-icon {
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	margin-left: 6px;
	line-height: 1;
}

.mpc-btn-icon svg {
	width: 13px;
	height: 13px;
}

/* ---- Flechas de navegación ---- */
.mpc-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #00C1B5;
	color: #00C1B5;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	padding: 0;
}

.mpc-carousel__arrow:hover {
	background-color: #00C1B5;
	color: #ffffff;
}

.mpc-carousel__arrow--prev {
	left: -22px;
}

.mpc-carousel__arrow--next {
	right: -22px;
}

.mpc-carousel__arrow.swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.mpc-carousel__arrow .eicon-chevron-left,
.mpc-carousel__arrow .eicon-chevron-right {
	font-size: inherit;
	line-height: 1;
}

/* ---- Paginación (dots) ---- */
.mpc-carousel__dots {
	position: relative !important;
	bottom: auto !important;
	left: auto !important;
	margin-top: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
}

.mpc-carousel__dots .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #C8F0ED;
	opacity: 1;
	border-radius: 50%;
	display: inline-block;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
	margin: 0 !important;
}

.mpc-carousel__dots .swiper-pagination-bullet-active {
	background: #00C1B5;
	transform: scale(1.4);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.mpc-carousel-wrapper {
		padding: 0 20px;
	}
	.mpc-carousel__arrow--prev { left: -16px; }
	.mpc-carousel__arrow--next { right: -16px; }
}

@media (max-width: 767px) {
	.mpc-carousel-wrapper {
		padding: 0; /* sin flechas en móvil */
	}
	.mpc-carousel__arrow {
		display: none;
	}
	.mpc-card__price {
		font-size: 18px;
	}
}
