/* Se activa solo en el frontal: en Elementor los contenedores siguen editables. */
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready {
  position: relative;
  --cc-gap: 20px;
  --cc-per-view: 3;
  --cc-arrow-bg: #ffffff;
  --cc-arrow-color: #333333;
}
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: var(--cc-gap) !important;
  overflow-x: auto !important;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-width: 0;
  width: 100%;
}
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-track::-webkit-scrollbar { display: none; }
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-track > .cc-slide {
  flex: 0 0 calc((100% - (var(--cc-per-view) - 1) * var(--cc-gap)) / var(--cc-per-view)) !important;
  min-width: 0;
  max-width: none !important;
  scroll-snap-align: start;
  box-sizing: border-box;
  height: auto;
}
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-arrow {
  position: absolute;
  z-index: 5;
  top: 45%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 100%;
  background: var(--cc-arrow-bg);
  color: var(--cc-arrow-color);
  box-shadow: 0 3px 12px rgb(0 0 0 / 8%);
  cursor: pointer;
  padding: 0;
  font: inherit;
  line-height: 1;
}
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-arrow svg { width: 19px; height: 19px; }
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-prev { left: -12px; }
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-next { right: -12px; }
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-arrow:disabled { opacity: .3; cursor: default; }
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-dots { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 18px; width: 100%; }
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-dot { width: 8px; height: 8px; flex: 0 0 8px; border: 0; padding: 0; border-radius: 50%; background: #c9d5d8; cursor: pointer; }
body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-dot[aria-current="true"] { background: #00aeb5; }
@media (max-width: 1024px) { body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready { --cc-per-view: 2; } }
@media (max-width: 767px) { body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready { --cc-per-view: 1; --cc-gap: 14px; } body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-prev { left: 2px; } body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-next { right: 2px; } }
@media (prefers-reduced-motion: reduce) { body:not(.elementor-editor-active) .contenedor-carrusel.cc-ready .cc-track { scroll-behavior: auto; } }
