/* ==========================================================================
   Lo propio del carrusel: Swiper y flechas. La tarjeta vive en card.css.
   ========================================================================== */
/* Acá NO van valores por defecto de las variables, y es a propósito.
   Una variable declarada en .lpc-carousel le gana a la heredada de :root,
   así que declararlas acá haría que el estilo general del sitio nunca
   llegara a los carruseles. Los respaldos viven en el segundo argumento de
   cada var(), en card.css.

   .lpc-carousel sigue siendo el lugar donde Elementor escribe las suyas
   cuando el widget tiene prendido "Personalizar esta instancia": ahí la
   declaración local es justamente lo que se busca. */
.lpc-carousel {
	position: relative;
	width: 100%;
}

.lpc-swiper {
	overflow: hidden;
}

.lpc-slide {
	height: auto;
	display: flex;
}

/* --- Flechas --- */
.lpc-carousel .lpc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;

	/* Tamaño blindado contra estilos de botón del tema */
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	min-width: 40px;
	max-width: 40px;
	min-height: 40px;
	max-height: 40px;
	flex: 0 0 auto;
	padding: 0;
	margin: 0;
	line-height: 1;
	font-size: 0;
	letter-spacing: normal;
	text-transform: none;

	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #e8722c;
	border: 1px solid #e5e5e5;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
	appearance: none;
	-webkit-appearance: none;
	transition: background .15s ease, opacity .15s ease;
}

.lpc-carousel .lpc-arrow:focus,
.lpc-carousel .lpc-arrow:active {
	background: #fff;
	color: #e8722c;
	outline: none;
}

.lpc-carousel .lpc-arrow:focus-visible {
	outline: 2px solid #e8722c;
	outline-offset: 2px;
}

/* El SVG no debe estirarse ni heredar tamaños del tema */
.lpc-carousel .lpc-arrow svg {
	width: 20px;
	height: 20px;
	display: block;
	flex: 0 0 auto;
	fill: currentColor;
	pointer-events: none;
}

.lpc-carousel .lpc-arrow:hover {
	background: #f6f6f6;
	color: #e8722c;
}

.lpc-carousel .lpc-prev {
	left: -6px;
}

.lpc-carousel .lpc-next {
	right: -6px;
}

.lpc-carousel .lpc-arrow.swiper-button-disabled {
	opacity: .35;
	cursor: default;
	pointer-events: none;
}

/* --- Vacío --- */
.lpc-empty {
	padding: 24px;
	text-align: center;
	color: #777;
	border: 1px dashed #ddd;
	border-radius: 8px;
}

@media (max-width: 1024px) {
	.lpc-carousel .lpc-prev { left: 2px; }
	.lpc-carousel .lpc-next { right: 2px; }
}

/* --- Encabezado de la fila ------------------------------------------------ */
/* Lo manda el panel (título de la sección). Hereda del tema a propósito: el
   tamaño y la tipografía los define la web, no este plugin.

   `font-family: inherit` explícito y no implícito: el encabezado puede
   dibujarse dentro de un widget de Elementor que le imponga otra familia
   al contenedor, y heredar "lo de arriba" no siempre es heredar el tema.
   Sin !important, para que el control de tipografía del widget gane. */
.lpc-heading {
	display: flex;
	font-family: inherit;
	align-items: center;
	gap: var(--lpc-heading-gap, 16px);
	margin: 0 0 var(--lpc-heading-space, 20px);
	font-size: var(--lpc-heading-size, 1.4em);
	font-weight: var(--lpc-heading-weight, 700);
	color: var(--lpc-heading-color, inherit);
	line-height: 1.2;
}

.lpc-heading::after {
	content: "";
	display: var(--lpc-heading-line, block);
	flex: 1 1 auto;
	height: var(--lpc-heading-line-size, 2px);
	background: var(--lpc-heading-line-color, currentColor);
	opacity: var(--lpc-heading-line-opacity, .15);
}
