html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
}

/* Color principal */
.bg-principal {
  background-color: var(--color-principal, #0f50d2);
}

/* Rotación del primer palito del menú de hamburguesa */
.hamburger-open span:nth-child(1) {
  transform: rotate(47deg) translateY(5px) translateX(6px);
}

/* Ocultamiento del segundo palito del menú de hamburguesa */
.hamburger-open span:nth-child(2) {
  opacity: 0;
}

/* Rotación del tercer palito del menú de hamburguesa */
.hamburger-open span:nth-child(3) {
  transform: rotate(-47deg) translateY(-5px) translateX(6px);
}

/* Estilo del header al hacer scroll */
.scrolled-header {
  background-color: var(--color-principal, #0f50d2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  backdrop-filter: none !important;
}

/* Clase para expandir altura del header */
.header-expanded {
  height: 150px !important; 
  transition: height 0.3s ease;
}

.focus-custom {
  transition: border-color 0.3s ease;
}

.seleccionada {
  border-width: 3px !important;
  border-color: var(--color-secundario, #E47426) !important;
  box-shadow: none !important;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.focus-custom:focus {
  border-color: var(--color-secundario);
}

.btn-custom {
  background-color: var(--color-secundario);
  color: white;
}

.btn-custom:hover {
  background-color: color-mix(in srgb, var(--color-secundario) 60%, black);
}

.text-highlight {
  color: var(--color-terciario);
}

.header {
  background-color: var(--color-primario);
}

.text-principal {
  color: var(--color-principal);
}

/* Efecto categoría desacticada */
.categoria-desactivada {
  opacity: 0.5;
  pointer-events: none; 
  user-select: none;   
  cursor: not-allowed;
}

/* Efecto producto desacticado */
.producto-desactivado {
  opacity: 0.5;
  pointer-events: none; 
  user-select: none;   
  cursor: not-allowed;
}

/* Aplica a cualquier scroll dentro del modal */
.scroll-custom ::-webkit-scrollbar {
  width: 6px;
}

.scroll-custom ::-webkit-scrollbar-track {
  background: #d4d3d3; /* Fondo de la pista */
}

.scroll-custom ::-webkit-scrollbar-thumb {
  background-color: #7c7b7b; /* Color del scroll */
  border-radius: 6px;
}

/* mantén input accesible pero fuera de vista: mejor que display:none para accesibilidad */ 
.presentacion-item input[type="checkbox"] { 
  position: absolute; 
  left: -9999px; 
} 

/* indicador circular (por defecto) */ 
.presentacion-item::after { 
  content: '◯'; 
  position: absolute; 
  right: 16px; 
  top: 16px; 
  font-size: 18px; 
  color: #9ca3af; 
  transition: transform .18s ease, color .18s ease; 
} 

/* cuando la fila está seleccionada */ 
.presentacion-item.selected::after { 
  content: '✔'; 
  color: #2563eb; 
  transform: scale(1.2); 
} 

/* aplicar animación y estilo visible al seleccionar */ 
.presentacion-item.selected { 
  animation: selectFlash 320ms ease; 
  border-color: #2563eb; 
  background-color: #eff6ff;
} 

/* hover más pronunciado para que se entienda que es clickeable */ 
.presentacion-item.hoverable:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 30px rgba(2,6,23,0.08); 
}

.presentacion-item {
  position: relative; /* ya lo tenías */
}

.presentacion-item .estado-inactivo {
  /* queda abajo a la derecha */
  position: absolute;
  bottom: 12px;
  right: 12px;
}