
/*
CTC Separate Stylesheet
Updated: 2025-03-27 16:05:56
*/
/* PRODUCTO */
.descripcion_contenido {
	position: relative;
	max-height: 350px;
	overflow: hidden;
	transition: all 0.5s ease;
	padding-right:20px;
}

.descripcion_contenido::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 80px;
	background: linear-gradient(to bottom, transparent, #ffffff);
}

.descripcion_contenido.expandido {
	max-height: 400px !important; /* Nueva altura ampliada */
	overflow-y: auto; /* Habilitar scroll vertical */
}

.descripcion_contenido.expandido::after {
	display: none;
}

.btn-view-more {
	cursor: pointer;
}

.btn-view-more.oculto {
	display: none !important;
}

/* Personaliza el scrollbar (opcional, solo para navegadores WebKit) */
.descripcion_contenido::-webkit-scrollbar {
	width: 8px !important; /* Ancho del scrollbar */
	background: #f1f1f1 !important;
}

.descripcion_contenido::-webkit-scrollbar-thumb {
	background: #888 !important;
	border-radius: 4px !important;
}

/* Autplay JetGallery*/
/* Forzar transiciones incluso si el slider está oculto */
.elementor-jet-product-gallery .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* Ocultar flechas de navegación si no se usan */
.elementor-jet-product-gallery .swiper-button-next,
.elementor-jet-product-gallery .swiper-button-prev {
    display: none !important;
}

@media  (max-width: 768px) {
	.descripcion_contenido {
		max-height: 100px;
	}
	
	.descripcion_contenido.expandido {
		max-height: 300px !important; /* Nueva altura ampliada */
  		overflow-y: scroll !important; /* Habilitar scroll vertical */
  		-webkit-overflow-scrolling: touch !important; /* Suaviza el desplazamiento en iOS */
	}
}
