.lor-pc {
	--lor-pc-slides-desktop: 3;
	--lor-pc-slides-tablet: 2;
	--lor-pc-slides-mobile: 1;
	--lor-pc-slides: var(--lor-pc-slides-desktop);
	--lor-pc-gap: 24px;
	--lor-pc-button-bg: #1f6872;
	--lor-pc-button-color: #ffffff;
	--lor-pc-arrow-bg: #ffffff;
	--lor-pc-arrow-color: #1f6872;
	--lor-pc-dot-bg: rgba(31, 104, 114, 0.28);
	--lor-pc-dot-active-bg: #1f6872;
	position: relative;
	width: 100%;
}

.lor-pc * {
	box-sizing: border-box;
}

@media (max-width: 1024px) {
	.lor-pc {
		--lor-pc-slides: var(--lor-pc-slides-tablet);
	}
}

@media (max-width: 767px) {
	.lor-pc {
		--lor-pc-slides: var(--lor-pc-slides-mobile);
	}
}

.lor-pc__heading {
	margin: 0 0 28px;
	text-align: center;
}

.lor-pc__viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.lor-pc .lor-pc__track {
	display: flex;
	align-items: stretch;
	gap: var(--lor-pc-gap);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	width: 100%;
	max-width: 100%;
	margin: 0 auto !important;
	padding: 2px 1px 8px !important;
	list-style: none !important;
}

.lor-pc__track::-webkit-scrollbar {
	display: none;
}

.lor-pc .lor-pc__slide {
	display: flex;
	align-self: stretch;
	flex: 0 0 calc((100% - (var(--lor-pc-gap) * (var(--lor-pc-slides) - 1))) / var(--lor-pc-slides));
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	scroll-snap-align: start;
}

.lor-pc__card {
	display: flex;
	width: 100%;
	flex-direction: column;
	height: 100%;
	text-align: center;
	background: transparent;
}

.lor-pc__image-link {
	position: relative;
	display: block;
	width: 100%;
	text-decoration: none;
	line-height: 0;
	overflow: hidden;
}

.lor-pc__image-link img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.lor-pc__image-link > .lorhy-badges-hooked--carousel {
	position: absolute;
	top: 12px;
	right: 12px;
	left: auto;
	z-index: 4;
	width: calc(100% - 24px);
	pointer-events: none;
}

.lor-pc__image-link > .lorhy-badges-hooked--carousel .lorhy-catalog-badges {
	justify-content: flex-end;
	margin: 0;
}

@media (max-width: 767px) {
	.lor-pc__image-link > .lorhy-badges-hooked--carousel {
		top: 10px;
		right: 8px;
		width: calc(100% - 16px);
	}
}


.lor-pc__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	padding: 10px 0 0;
}

.lor-pc .lor-pc__title {
	display: block;
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
}

.lor-pc .lor-pc__title a {
	display: inline;
	color: inherit;
	font: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-decoration: none;
}

.lor-pc .lor-pc__title a:hover,
.lor-pc .lor-pc__title a:focus {
	text-decoration: underline;
}

.lor-pc__price {
	width: 100%;
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.35;
}

.lor-pc__price del {
	opacity: 0.62;
}

.lor-pc__price ins {
	text-decoration: none;
	font-weight: 700;
}

.lor-pc__button,
.lor-pc__button.button,
.woocommerce .lor-pc__button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 42px;
	margin-top: auto;
	padding: 12px 24px;
	border: 1px solid var(--lor-pc-button-bg);
	border-radius: 0;
	background: var(--lor-pc-button-bg);
	color: var(--lor-pc-button-color);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.lor-pc__button:hover,
.lor-pc__button:focus,
.lor-pc__button.button:hover,
.lor-pc__button.button:focus,
.woocommerce .lor-pc__button.button:hover,
.woocommerce .lor-pc__button.button:focus {
	background: var(--lor-pc-button-bg);
	color: var(--lor-pc-button-color);
	text-decoration: none;
	transform: translateY(-1px);
}

.lor-pc__nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	background: var(--lor-pc-arrow-bg);
	color: var(--lor-pc-arrow-color);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	font-size: 32px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.lor-pc__nav:hover,
.lor-pc__nav:focus {
	transform: translateY(-50%) scale(1.04);
}

.lor-pc__nav--prev {
	left: -18px;
}

.lor-pc__nav--next {
	right: -18px;
}

.lor-pc__nav[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
	transform: translateY(-50%);
}

.lor-pc__dots[hidden] {
	display: none !important;
}

.lor-pc__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.lor-pc__dot {
	display: block;
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--lor-pc-dot-bg);
	cursor: pointer;
	transition: width 0.18s ease, background-color 0.18s ease;
}

.lor-pc__dot.is-active {
	width: 22px;
	background: var(--lor-pc-dot-active-bg);
}

.lor-pc__empty {
	padding: 18px;
	border: 1px dashed #c9c9c9;
	background: #fafafa;
	color: #555555;
	text-align: center;
}


@media (max-width: 767px) {
	.lor-pc__body {
		min-height: 0;
	}

	.lor-pc .lor-pc__title {
		display: flex;
		align-items: flex-start;
		justify-content: center;
		min-height: 2.5em;
	}

	.lor-pc .lor-pc__title a {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.lor-pc__price {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0 0.35em;
		min-height: 2.7em;
		flex-wrap: wrap;
	}
}

@media (max-width: 767px) {
	.lor-pc__nav {
		width: 36px;
		height: 36px;
		font-size: 28px;
	}

	.lor-pc__nav--prev {
		left: 2px;
	}

	.lor-pc__nav--next {
		right: 2px;
	}
}


/* Modo móvil seguro: grilla estática sin comportamiento de carrusel en mobile. */
@media (max-width: 767px) {
	.lor-pc.lor-pc--mobile-static .lor-pc__viewport {
		overflow: visible;
	}

	.lor-pc.lor-pc--mobile-static .lor-pc__track {
		display: grid;
		grid-template-columns: repeat(var(--lor-pc-mobile-static-columns, 2), minmax(0, 1fr));
		justify-content: center;
		width: 100%;
		max-width: 100%;
		gap: var(--lor-pc-gap);
		overflow: visible;
		scroll-behavior: auto;
		scroll-snap-type: none;
		margin-left: auto !important;
		margin-right: auto !important;
		padding: 0 !important;
	}

	.lor-pc.lor-pc--mobile-static .lor-pc__slide {
		display: flex;
		flex: none;
		min-width: 0;
		width: 100%;
		margin: 0 !important;
		padding: 0 !important;
		scroll-snap-align: none;
	}

	.lor-pc.lor-pc--mobile-static-hide-controls .lor-pc__nav,
	.lor-pc.lor-pc--mobile-static-hide-controls .lor-pc__dots {
		display: none !important;
	}
}
