/* CODE · Lenis + scroll nativo en cajas interiores (diciembre 2026) · La Industrial */
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Barra de la página: el aspecto que daba nicescroll (cursor negro fino, sin carril), solo escritorio */
@media (min-width: 1000px) {
	html::-webkit-scrollbar, body::-webkit-scrollbar { width: 6px; }
	html::-webkit-scrollbar-track, body::-webkit-scrollbar-track { background: transparent; }
	html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb { background: #000; border: 0; border-radius: 5px; }
}

/* Cajas que antes usaban mCustomScrollbar (desplegables .cdropsc) */
.code-native-scroll {
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
}
.code-native-scroll::-webkit-scrollbar { width: 4px; }
.code-native-scroll::-webkit-scrollbar-track { background: var(--lightgray); border-radius: 0; }
.code-native-scroll::-webkit-scrollbar-thumb { background: var(--color1); border: 0; border-radius: 0; }

/* Firefox no entiende ::-webkit-scrollbar */
@supports (-moz-appearance: none) {
	html { scrollbar-width: thin; scrollbar-color: #000 transparent; }
	.code-native-scroll { scrollbar-width: thin; scrollbar-color: var(--color1) var(--lightgray); }
}
