.mapa_nuevo {
  position: relative;
  margin: 0 7%;
}

#plano {
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

#plano svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Filas de tabla */
table tr.highlight {
  background-color: #e7d6bab3;
  transition: background-color 0.35s ease;
}

/* Solo sectores interactivos */
#plano .sector {
  cursor: pointer;
  transition: opacity 0.25s ease, filter 0.25s ease;
  transform-box: fill-box;
  transform-origin: center;
}

#plano .sector:hover {
  opacity: 1;
  filter: brightness(1.08);
}

#plano .sector.dimmed {
  opacity: 0.25;
  filter: grayscale(35%);
}

#plano .sector.active {
  opacity: 1;
  filter: brightness(1.12);
}

/* Tooltip */
.mapa-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.86);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.2s ease;
  white-space: nowrap;
  z-index: 20;
  text-transform: uppercase;
  font-family: 'Oswald', Arial, sans-serif;
}

/* Opcional: sectores agotados desde tabla */
#plano .sector.agotado {
  opacity: 0.35 !important;
}