/* ==========================================================================
   REINPE PRODUCTOS DE LA CATEGORÍA - WIDGET STYLES
   ========================================================================== */

.reinpe-catalogo-section {
	width: 100%;
	padding: 40px 0;
	box-sizing: border-box;
}

.reinpe-catalogo-carousel-wrapper {
	position: relative;
	width: 100%;
	overflow: visible;
}

.reinpe-catalogo-carousel {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 4px 0 12px 0;
	box-sizing: border-box;
}

.reinpe-catalogo-carousel::-webkit-scrollbar {
	display: none;
}

/* CARDS DE PRODUCTO */
.reinpe-producto-card {
	min-width: 280px;
	max-width: 280px;
	flex-shrink: 0;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	border: 1px solid #EDEFF2;
	scroll-snap-align: start;
	position: relative;
	box-sizing: border-box;
}

.reinpe-producto-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	border-color: #D0D5DD;
}

.reinpe-producto-card .img-wrapper {
	width: 100%;
	height: 200px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

.reinpe-producto-card img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 20px;
	transition: transform 0.4s ease;
	box-sizing: border-box;
}

.reinpe-producto-card:hover img {
	transform: scale(1.04);
}

.reinpe-producto-card .img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #D1D5DB;
	padding: 20px;
	background: #FAFAFA;
	box-sizing: border-box;
}

.reinpe-producto-card .img-placeholder svg {
	width: 40px;
	height: 40px;
	opacity: 0.35;
}

.reinpe-producto-card .img-placeholder span {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 11px;
	font-weight: 500;
	color: #C5CAD3;
}

/* PILL DE CATEGORÍA */
.reinpe-producto-card .categoria-pill {
	position: absolute;
	bottom: 10px;
	left: 10px;
	background: #ffffff;
	color: #0065FE;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 50px;
	letter-spacing: 0.3px;
	z-index: 2;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	border: 1px solid #EDEFF2;
	white-space: nowrap;
}

/* INFO */
.reinpe-producto-card .info {
	padding: 14px 16px 16px 16px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: #ffffff;
}

.reinpe-producto-card h3 {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	margin: 0;
	color: #0C1830;
	font-weight: 700;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.reinpe-producto-card .descripcion {
	font-size: 12px;
	color: #7A8499;
	margin: 0;
	line-height: 1.45;
	flex-grow: 1;
}

/* PRECIO + CTA ROW */
.reinpe-producto-card .precio-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 4px;
	gap: 8px;
}

.reinpe-producto-card .precio {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: #0C1830;
	margin: 0;
	letter-spacing: -0.3px;
}

.reinpe-producto-card .precio ins {
	text-decoration: none;
}

.reinpe-producto-card .precio del {
	font-size: 13px;
	opacity: 0.6;
	margin-right: 4px;
}

.reinpe-producto-card .ver-mas {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #0065FE;
	display: flex;
	align-items: center;
	gap: 4px;
	transition: gap 0.25s ease, color 0.25s ease;
	white-space: nowrap;
}

.reinpe-producto-card:hover .ver-mas {
	gap: 6px;
}

.reinpe-producto-card .ver-mas svg {
	width: 14px;
	height: 14px;
}

/* DOTS DE NAVEGACIÓN */
.reinpe-catalogo-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
}

.reinpe-catalogo-dots .reinpe-catalogo-dot {
	width: 8px !important;
	height: 8px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: none !important;
	max-height: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 50px !important;
	background: #DDE1E7 !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
	cursor: pointer;
	flex: 0 0 auto !important;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease;
}

.reinpe-catalogo-dots .reinpe-catalogo-dot:hover {
	background: #B0B8C1 !important;
}

.reinpe-catalogo-dots .reinpe-catalogo-dot.activo {
	width: 28px !important;
	background: #0065FE !important;
}

@media (max-width: 767px) {
	.reinpe-catalogo-section {
		padding: 32px 0;
	}

	.reinpe-producto-card {
		min-width: 260px;
		max-width: 260px;
	}
}

/* ==========================================================================
   FLECHAS DE NAVEGACIÓN
   ==========================================================================
   Los valores por defecto viven en variables para que los controles de
   Elementor puedan sobrescribirlos sin pelearse con la especificidad. */

.reinpe-catalogo-section {
	--reinpe-arrow-size: 46px;
	--reinpe-arrow-icon: 18px;
	--reinpe-arrow-radius: 50%;
	--reinpe-arrow-offset: -20px;
	--reinpe-arrow-color: #0B1B33;
	--reinpe-arrow-bg: #FFFFFF;
	--reinpe-arrow-border: rgba(11, 27, 51, 0.08);
	--reinpe-arrow-border-width: 1px;
	--reinpe-arrow-shadow: 0 6px 18px rgba(11, 27, 51, 0.12);
	--reinpe-arrow-color-hover: #FFFFFF;
	--reinpe-arrow-bg-hover: #0065FE;
	--reinpe-arrow-border-hover: #0065FE;
	--reinpe-arrow-shadow-hover: 0 10px 24px rgba(0, 101, 254, 0.32);
}

.reinpe-catalogo-arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--reinpe-arrow-size) !important;
	height: var(--reinpe-arrow-size) !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: var(--reinpe-arrow-border-width) solid var(--reinpe-arrow-border) !important;
	border-radius: var(--reinpe-arrow-radius) !important;
	background: var(--reinpe-arrow-bg) !important;
	background-image: none !important;
	color: var(--reinpe-arrow-color) !important;
	box-shadow: var(--reinpe-arrow-shadow);
	cursor: pointer;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	opacity: 1;
	transform: translateY(-50%);
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.reinpe-catalogo-arrow--prev {
	left: var(--reinpe-arrow-offset);
}

.reinpe-catalogo-arrow--next {
	right: var(--reinpe-arrow-offset);
}

.reinpe-catalogo-arrow svg {
	width: var(--reinpe-arrow-icon);
	height: var(--reinpe-arrow-icon);
	display: block;
	pointer-events: none;
}

.reinpe-catalogo-arrow:hover,
.reinpe-catalogo-arrow:focus-visible {
	background: var(--reinpe-arrow-bg-hover) !important;
	border-color: var(--reinpe-arrow-border-hover) !important;
	color: var(--reinpe-arrow-color-hover) !important;
	box-shadow: var(--reinpe-arrow-shadow-hover);
	outline: none;
}

.reinpe-catalogo-arrow:hover {
	transform: translateY(-50%) scale(1.06);
}

.reinpe-catalogo-arrow:active {
	transform: translateY(-50%) scale(0.96);
}

/* El JS marca las flechas como ocultas cuando no hay nada que desplazar. */
.reinpe-catalogo-arrow[hidden] {
	display: none !important;
}

/* Las flechas aparecen al pasar por encima del carrusel. */
.reinpe-catalogo-section.flechas-al-hover .reinpe-catalogo-arrow {
	opacity: 0;
	pointer-events: none;
}

.reinpe-catalogo-section.flechas-al-hover:hover .reinpe-catalogo-arrow,
.reinpe-catalogo-section.flechas-al-hover .reinpe-catalogo-arrow:focus-visible {
	opacity: 1;
	pointer-events: auto;
}

@media (max-width: 1024px) {
	/* Fuera del carrusel no caben en pantallas estrechas: se meten dentro. */
	.reinpe-catalogo-section {
		--reinpe-arrow-offset: 6px;
	}
}

@media (max-width: 767px) {
	.reinpe-catalogo-section {
		--reinpe-arrow-size: 38px;
		--reinpe-arrow-icon: 15px;
	}
}
