slider-component {
  display: block;
  width: 100%;
  height: 100%;
  /* ─── Contenedor principal ───────────────────────────────────────── */
  & .slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100%;
  }
  & .container_track {
    transition: padding 0.5s ease;
    height: 100%;
  }
  /* ─── Pista de slides (track) ─────────────────────────────────────── */
  & .track {
    display: flex;
    transition: transform 0.5s ease; /* equivalente a `transition-transform ease-in-out duration-500` */
    will-change: transform;
    height: 100%;
  }

  /* ─── Botones de navegación ───────────────────────────────────────── */
  & .button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
  }

  /* Posición del botón “Anterior” */
  & .button.prev {
    left: 0.25rem; /* equivalente a Tailwind “left-1” */
    z-index: 10;
  }

  /* Posición del botón “Siguiente” */
  & .button.next {
    right: 0.25rem; /* equivalente a Tailwind “right-1” */
    z-index: 10;
  }

  /* ─── Iconos (SVG) dentro de botones ───────────────────────────────── */
  /* Aquí solo aseguras que el SVG se escale ligeramente al pasar el mouse */
  & .button .icon {
    transition: transform 0.2s ease;
  }
  & .button:hover .icon {
    transform: scale(1.1);
  }

  /* ─── Utilidad para centrar contenido dentro de un div (si hace falta) ─ */
  & .center-content {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ─── Cada slide (wrapper de <slides-component>) ─────────────────── */
  & .track > * {
    flex: 1;
    width: 100%; /* para luego sobreescribir en JS según count */
  }

  /* ─── Estado deshabilitado de botones ────────────────────────────── */
  & .button[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
  }
  & .button[aria-disabled="true"] {
    opacity: 0.4;
    cursor: not-allowed;
  }
}
